Commit Graph

1521 Commits

Author SHA1 Message Date
syd%netscape.com
6d6c55e38e Initialize mIsTopToBottom to PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@25545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:20:16 +00:00
syd%netscape.com
5ecdf634aa Initialize mIsTopToBottom to PR_FALSE.
git-svn-id: svn://10.0.0.236/trunk@25535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:04:48 +00:00
syd%netscape.com
884633bc61 Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
git-svn-id: svn://10.0.0.236/trunk@25534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:04:13 +00:00
syd%netscape.com
ae77a0a47f Postscript colorimage code now queries platform to determine if image
rows are organized top to bottom, or bottom to top, and processes image
bytes depending on this order.


git-svn-id: svn://10.0.0.236/trunk@25533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:02:46 +00:00
syd%netscape.com
4434fae9bc Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
git-svn-id: svn://10.0.0.236/trunk@25531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:00:32 +00:00
syd%netscape.com
91a6cc7819 Implement GetBytesPix. Declare mIsTopToBottom member variable.
git-svn-id: svn://10.0.0.236/trunk@25530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:59:16 +00:00
syd%netscape.com
9135de49e7 Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
git-svn-id: svn://10.0.0.236/trunk@25528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:58:04 +00:00
syd%netscape.com
03dde7e4b0 Get whether rows are organized top to bottom, or bottom to top in images.
git-svn-id: svn://10.0.0.236/trunk@25527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:56:35 +00:00
ramiro%netscape.com
22aba723c7 Comment was messed up causing compiler to spew dumb messages.
git-svn-id: svn://10.0.0.236/trunk@25451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
572f1df8b8 build nsBlender.cpp under unix. this fixes builds.
git-svn-id: svn://10.0.0.236/trunk@25339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
c08472540d add nsBlender to unix
git-svn-id: svn://10.0.0.236/trunk@25338 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
e5d4a98b19 make file end with a newline
git-svn-id: svn://10.0.0.236/trunk@25337 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 23:14:38 +00:00
michaelp%netscape.com
399f2dd9ac added for guys from Nexware.
git-svn-id: svn://10.0.0.236/trunk@25269 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:25:26 +00:00
ramiro%netscape.com
3d01980649 Opps, forgot a debug abort().
git-svn-id: svn://10.0.0.236/trunk@25207 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
d1119bae4b Fix 2 things.
1) dont do the RGB -> BGR conversion.  Its not needed thanks
to a IMGLIB workaround i just checked in.

2) create a pixmap from the image data only ONCE for unique image bits and
re paint that, instead of doing this every single time we render.


git-svn-id: svn://10.0.0.236/trunk@25206 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:53:13 +00:00
ramiro%netscape.com
078023d916 noisy fonts only on debug build.
git-svn-id: svn://10.0.0.236/trunk@25204 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:46:28 +00:00
ramiro%netscape.com
f527873bd8 print depth on debug printf
git-svn-id: svn://10.0.0.236/trunk@25203 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:43:57 +00:00
erik%netscape.com
0625fdcb29 Unicode support for fonts on Windows. Reviewed by Michael Plitkins.
git-svn-id: svn://10.0.0.236/trunk@25142 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:41:36 +00:00
kipp%netscape.com
7444f81a69 Put my changes back in that don cone accidently removed
git-svn-id: svn://10.0.0.236/trunk@24994 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:57:24 +00:00
michaelp%netscape.com
c8bb417838 fixed rect containment test.
git-svn-id: svn://10.0.0.236/trunk@24899 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:37:50 +00:00
michaelp%netscape.com
140a738b50 fixed docs for ContainsRect().
git-svn-id: svn://10.0.0.236/trunk@24898 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:37:20 +00:00
dcone%netscape.com
24ee0651b8 Took out nsOldDrawingSurfaceGTK.h, this was lost between checkins
git-svn-id: svn://10.0.0.236/trunk@24723 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:16:42 +00:00
dcone%netscape.com
940480dc67 Include files added for default fonts
git-svn-id: svn://10.0.0.236/trunk@24700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:48:16 +00:00
dcone%netscape.com
72b8d7d874 Added UNIX support for postscript printing, fixed many bugs.
Added nsIDeviceContextSpecPS interface so we can do PS on any platoform, get
information from the print dialog.


git-svn-id: svn://10.0.0.236/trunk@24698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:45:00 +00:00
kipp%netscape.com
a943a32678 DIsabled a free of stack memory
git-svn-id: svn://10.0.0.236/trunk@24669 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 15:42:07 +00:00
pavlov%pavlov.net
f49cdc71d0 fix crash
git-svn-id: svn://10.0.0.236/trunk@24648 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 03:48:51 +00:00
pavlov%pavlov.net
92d87fd9ca fix up some more ugly memory leaks.
git-svn-id: svn://10.0.0.236/trunk@24645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 02:36:41 +00:00
pavlov%pavlov.net
694a70148e fix up some mem leaks caused by Push/PopState()
git-svn-id: svn://10.0.0.236/trunk@24641 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 01:50:34 +00:00
pavlov%pavlov.net
5aba2d2a38 fix a memory leak.
git-svn-id: svn://10.0.0.236/trunk@24634 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:50:59 +00:00
pavlov%pavlov.net
e1557c7628 stomp a few more bugs from my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@24633 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:31:58 +00:00
pavlov%pavlov.net
ff8805032f fix refcounting.
git-svn-id: svn://10.0.0.236/trunk@24631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:01:21 +00:00
pavlov%pavlov.net
616ab48de1 nsRenderingContextGTK now uses nsDrawingSurfaceGTK
git-svn-id: svn://10.0.0.236/trunk@24628 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 20:42:01 +00:00
pavlov%pavlov.net
fc61d119f6 code cleanup and internal gtk refcounting changes.
git-svn-id: svn://10.0.0.236/trunk@24613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:25:34 +00:00
ramiro%netscape.com
aa125ee2a3 Wrapped in PR_BEGIN_EXTERN_C and PR_END_EXTERN_C to fix c++/c linkage problem.
git-svn-id: svn://10.0.0.236/trunk@24364 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 23:29:50 +00:00
mcafee%netscape.com
f288fcb962 Added prototype for UnixPrDialog(). r=syd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@24352 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:33:04 +00:00
kipp%netscape.com
dd99c16187 Eliminate some GDK warning messages by only freeing valid pixmaps
git-svn-id: svn://10.0.0.236/trunk@24327 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:19:30 +00:00
kipp%netscape.com
3592c099da Revised the font matching algorithm to work somewhat better; allow for font-scaling in debug builds with an environment variable
git-svn-id: svn://10.0.0.236/trunk@24326 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:19:10 +00:00
kipp%netscape.com
f34b27ae16 Fudge the dpi into something that makes for more rational scaling to twips
git-svn-id: svn://10.0.0.236/trunk@24325 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:18:40 +00:00
leaf%mozilla.org
a94d7b2ad4 backing out change that clearly has destabilized the tree.
git-svn-id: svn://10.0.0.236/trunk@24293 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 04:43:38 +00:00
pavlov%pavlov.net
fe7d95bc7a fix for hpux and aix build bustage. approved by leaf.
git-svn-id: svn://10.0.0.236/trunk@24292 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 03:16:44 +00:00
leaf%mozilla.org
8fadf11677 Landing nspr library name change, and plevent function call change.
git-svn-id: svn://10.0.0.236/trunk@24276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:03 +00:00
pavlov%pavlov.net
5bad3fe9c7 fix mem leak for real this time.
git-svn-id: svn://10.0.0.236/trunk@24146 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:15:35 +00:00
pavlov%pavlov.net
093fc1914e minor cleanups.
git-svn-id: svn://10.0.0.236/trunk@24144 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:03:34 +00:00
pavlov%pavlov.net
1d5e39fcc9 fix bug #3564
git-svn-id: svn://10.0.0.236/trunk@24119 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:06:18 +00:00
mcafee%netscape.com
688621eb3f getenv() needs a prototype for Solaris.
git-svn-id: svn://10.0.0.236/trunk@24110 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 09:00:38 +00:00
syd%netscape.com
e2edc000af gtk_toggle_button_get_active() is an API newer than Gtk+ 1.1.13. Replaced it
with legacy code that just looks at active field of widget directly (I could
use the GtkObject interfaces, but those are kludgy and the reason that the
newer API was introduced). Eventually (hopefully soon) we'll migrate to Gtk+
1.2 (which will fix some rendering bugs as well...)


git-svn-id: svn://10.0.0.236/trunk@24056 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 05:25:31 +00:00
syd%netscape.com
2e269a53c6 Declare mPrData
git-svn-id: svn://10.0.0.236/trunk@24049 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:39:38 +00:00
syd%netscape.com
3a9c39025c Call GTK print dialog. Currently, Init routine returns FAILURE, effectively
stubbing out this functionality. Done Cone will turn it on at a later time.

Gtk+ print menu crashes will temporarily disappear because of this change.


git-svn-id: svn://10.0.0.236/trunk@24046 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:21:16 +00:00
syd%netscape.com
c86a5bb085 Add nsPrintdGTK.c to build.
git-svn-id: svn://10.0.0.236/trunk@24045 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:19:58 +00:00
syd%netscape.com
57ff622ee2 Print dialog for Gtk. Needs to be wired by Done Cone, currently stubbed out
in caller.


git-svn-id: svn://10.0.0.236/trunk@24044 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:19:28 +00:00