Commit Graph

841 Commits

Author SHA1 Message Date
jdunn%netscape.com
424be13edf Include prenv to get PR_GetEnv prototype 1999-03-31 22:55:29 +00:00
erik%netscape.com
ed4845ef75 Fixed a compiler warning. 1999-03-31 22:52:51 +00:00
syd%netscape.com
f9bd5b0725 Fix for AIX build bustage. 1999-03-31 20:18:54 +00:00
syd%netscape.com
9a4f6a4898 Fix for AIX compatibility 1999-03-31 20:18:11 +00:00
syd%netscape.com
c8989121cb Replace getenv with NSPR function, remove stdlib.h include. Partially done
for AIX build.
1999-03-31 20:17:01 +00:00
mcafee%netscape.com
8f86ec98c0 Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC. 1999-03-31 09:14:07 +00:00
ramiro%netscape.com
402796bcd0 Take gtk specific blender code out. Its not needed. All blender code is
fully XP now.
Also, turn off manufacturing of blender objects until unix speicifc issues
can be resolved.  Otherwise, stuff like demo4 breaks.
1999-03-31 06:21:07 +00:00
michaelp%netscape.com
871efe1e70 now vends nsBlender rather than nsBlenderWin. 1999-03-31 06:07:12 +00:00
michaelp%netscape.com
4840a74963 made blender fully XP. 1999-03-31 04:54:06 +00:00
michaelp%netscape.com
c9e134f2cd kill nsBlenderWin 1999-03-31 04:53:25 +00:00
michaelp%netscape.com
7aaf980b75 killed 1999-03-31 04:53:11 +00:00
ramiro%netscape.com
532f507e84 delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
pavlov%pavlov.net
63c416f00b more work on Lock() and Unlock() 1999-03-30 01:52:05 +00:00
michaelp%netscape.com
4c6288cc8a fixed problem of gImageManager becoming a dnagling reference to a dead object
by adding an additional reference to the global image manager when it is
created. current solution is that suggested by adam locke, but this really needs
to be a service so that we don't leak memory. also made destructor virtual
to correct warning pointed out by bruce@cybersight.com.
1999-03-30 01:43:32 +00:00
syd%netscape.com
90145235d4 Fix typo. 1999-03-30 01:42:08 +00:00
michaelp%netscape.com
13bac238a8 added virtual destructors where necessary as pointed out by bruce@cybersight.com. 1999-03-30 01:41:13 +00:00
syd%netscape.com
cbd76a9123 Fixed misspell of virtual. 1999-03-30 01:33:40 +00:00
syd%netscape.com
0c079f1687 Initialize mIsTopToBottom to PR_TRUE 1999-03-30 01:20:16 +00:00
syd%netscape.com
a587103068 Initialize mIsTopToBottom to PR_FALSE. 1999-03-30 01:04:48 +00:00
syd%netscape.com
7f001fd3f1 Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable. 1999-03-30 01:04:13 +00:00
syd%netscape.com
ce6300523c 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.
1999-03-30 01:02:46 +00:00
syd%netscape.com
778190028f Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable 1999-03-30 01:00:32 +00:00
syd%netscape.com
7ae2664dc2 Implement GetBytesPix. Declare mIsTopToBottom member variable. 1999-03-30 00:59:16 +00:00
syd%netscape.com
61b887f85d Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix 1999-03-30 00:58:04 +00:00
syd%netscape.com
dbc46c529c Get whether rows are organized top to bottom, or bottom to top in images. 1999-03-30 00:56:35 +00:00
ramiro%netscape.com
f1c8f56b98 Comment was messed up causing compiler to spew dumb messages. 1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
b1e881dadb build nsBlender.cpp under unix. this fixes builds. 1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
2aebb787e7 add nsBlender to unix 1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
19bd3ecb44 make file end with a newline 1999-03-27 23:14:38 +00:00
michaelp%netscape.com
15e558e715 added for guys from Nexware. 1999-03-27 00:25:26 +00:00
ramiro%netscape.com
131a03a4c1 Opps, forgot a debug abort(). 1999-03-26 10:40:44 +00:00
ramiro%netscape.com
baf417e684 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.
1999-03-26 09:53:13 +00:00
ramiro%netscape.com
ff9b98f856 noisy fonts only on debug build. 1999-03-26 09:46:28 +00:00
ramiro%netscape.com
71089e6f15 print depth on debug printf 1999-03-26 09:43:57 +00:00
erik%netscape.com
7d226e6cb9 Unicode support for fonts on Windows. Reviewed by Michael Plitkins. 1999-03-25 23:41:36 +00:00
kipp%netscape.com
298c50d12a Put my changes back in that don cone accidently removed 1999-03-24 15:57:24 +00:00
michaelp%netscape.com
c5ee58a5d6 fixed rect containment test. 1999-03-23 22:37:50 +00:00
michaelp%netscape.com
8e2a688d1c fixed docs for ContainsRect(). 1999-03-23 22:37:20 +00:00
dcone%netscape.com
2390d3883a Took out nsOldDrawingSurfaceGTK.h, this was lost between checkins 1999-03-22 23:16:42 +00:00
dcone%netscape.com
8af2ed8eee Include files added for default fonts 1999-03-22 21:48:16 +00:00
dcone%netscape.com
eba66ca1ff 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.
1999-03-22 21:45:00 +00:00
kipp%netscape.com
fe12184d66 DIsabled a free of stack memory 1999-03-22 15:42:07 +00:00
pavlov%pavlov.net
517966a1f9 fix crash 1999-03-22 03:48:51 +00:00
pavlov%pavlov.net
6833c52f90 fix up some more ugly memory leaks. 1999-03-22 02:36:41 +00:00
pavlov%pavlov.net
3f592003a4 fix up some mem leaks caused by Push/PopState() 1999-03-22 01:50:34 +00:00
pavlov%pavlov.net
eb63856c74 fix a memory leak. 1999-03-21 21:50:59 +00:00
pavlov%pavlov.net
1d2ade1398 stomp a few more bugs from my previous checkin. 1999-03-21 21:31:58 +00:00
pavlov%pavlov.net
c0a1d36335 fix refcounting. 1999-03-21 21:01:21 +00:00
pavlov%pavlov.net
bf5cd32705 nsRenderingContextGTK now uses nsDrawingSurfaceGTK 1999-03-21 20:42:01 +00:00
pavlov%pavlov.net
3087f7a8a0 code cleanup and internal gtk refcounting changes. 1999-03-21 06:25:34 +00:00
ramiro%netscape.com
441fadfc9f Wrapped in PR_BEGIN_EXTERN_C and PR_END_EXTERN_C to fix c++/c linkage problem. 1999-03-18 23:29:50 +00:00
mcafee%netscape.com
f594b18d78 Added prototype for UnixPrDialog(). r=syd@netscape.com 1999-03-18 22:33:04 +00:00
kipp%netscape.com
b7efbda709 Eliminate some GDK warning messages by only freeing valid pixmaps 1999-03-18 21:19:30 +00:00
kipp%netscape.com
933781165a Revised the font matching algorithm to work somewhat better; allow for font-scaling in debug builds with an environment variable 1999-03-18 21:19:10 +00:00
kipp%netscape.com
db724a0ad5 Fudge the dpi into something that makes for more rational scaling to twips 1999-03-18 21:18:40 +00:00
leaf%mozilla.org
20c21e775b backing out change that clearly has destabilized the tree. 1999-03-18 04:43:38 +00:00
pavlov%pavlov.net
e81a3c4b24 fix for hpux and aix build bustage. approved by leaf. 1999-03-18 03:16:44 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
pavlov%pavlov.net
842e21ca2f fix mem leak for real this time. 1999-03-14 23:15:35 +00:00
pavlov%pavlov.net
18ef74edf5 minor cleanups. 1999-03-14 23:03:34 +00:00
pavlov%pavlov.net
295aa188aa fix bug #3564 1999-03-14 18:06:18 +00:00
mcafee%netscape.com
c386912e01 getenv() needs a prototype for Solaris. 1999-03-14 09:00:38 +00:00
syd%netscape.com
f216949dfc 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...)
1999-03-13 05:25:31 +00:00
syd%netscape.com
a48ae7a6fe Declare mPrData 1999-03-13 03:39:38 +00:00
syd%netscape.com
d9451d58d2 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.
1999-03-13 03:21:16 +00:00
syd%netscape.com
e422b28ff0 Add nsPrintdGTK.c to build. 1999-03-13 03:19:58 +00:00
syd%netscape.com
f3ab242375 Print dialog for Gtk. Needs to be wired by Done Cone, currently stubbed out
in caller.
1999-03-13 03:19:28 +00:00
ftang%netscape.com
6b58cc3d80 change the macroman converter to a better shape.... reviewed by pierre 1999-03-12 21:58:28 +00:00
ramiro%netscape.com
8ce50ad7cf Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
mjudge%netscape.com
343558ec19 backing out fix 1999-03-12 01:35:13 +00:00
mjudge%netscape.com
5bd9ac0bd9 fixing libs phase to make the windows lib to be used by \widget 1999-03-12 01:29:31 +00:00
ftang%netscape.com
4ffd0da95f Add atsui work for non ASCII text. Reviewed and approved by pierre. Need more work to convert more text into MacRoman. 1999-03-12 01:15:52 +00:00
dcone%netscape.com
95f754b2d7 added the nsdrawingsurfacemac to project 1999-03-11 15:02:42 +00:00
dcone%netscape.com
a508f88056 update to use the nsDrawingSurfaceMac object for its onscreen on offscreen drawing. 1999-03-11 14:42:11 +00:00
michaelp%netscape.com
71043daca6 factored code. 1999-03-10 01:03:03 +00:00
michaelp%netscape.com
423c436a70 added blender method that takes rendering contexts.
added LockDrawingSurface() and UnlockDrawingSurface() to rendering
context.
fixed state maintenance errors in rendering context win.
added IsReleaseDCDestructive() to drawingsurfacewin.
1999-03-09 22:07:06 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
cls%seawood.org
202df19f2e Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables. 1999-03-07 05:18:45 +00:00
pavlov%pavlov.net
82aab682c1 more work 1999-03-07 00:58:11 +00:00
pavlov%pavlov.net
d57e32a249 add a few comments in here on how a few things should be done. 1999-03-07 00:40:08 +00:00
cyeh%netscape.com
b27fdb082f fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
dcone%netscape.com
a9007127b9 Update the surfaces to include graphics state 1999-03-05 14:48:44 +00:00
mcafee%netscape.com
87892281ff Uninitialized variables 1999-03-05 04:40:14 +00:00
kipp%netscape.com
f85c648277 Use proper new/delete operators 1999-03-05 04:36:00 +00:00
kipp%netscape.com
e4f95f00ec Stop linking with other libraries to avoid finding symbols with dlsym that we don't want to find 1999-03-05 04:35:49 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
dcone%netscape.com
9de07ff0de First Checked In. 1999-03-03 15:46:43 +00:00
dcone%netscape.com
9ef4b33465 Update some functions, and formating 1999-03-02 16:47:16 +00:00
brade%netscape.com
0e163f8674 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
alecf%netscape.com
76bb417ff1 fix const-ness problem that was plaguing AIX and Linux -pedantic 1999-03-02 01:39:23 +00:00
dcone%netscape.com
54dc3f0968 Fixed up postscript stuff, now prints on Unix 1999-03-01 16:23:36 +00:00
ramiro%netscape.com
6cdb01afcd gcc 2.7.x portability fixes. 1999-03-01 12:25:24 +00:00
michaelp%netscape.com
4e5500c519 added fix for GetRects(). not currently called by anything but the new
compositor which is not yet enabled. approved by sar.
1999-02-26 20:16:50 +00:00
kmcclusk%netscape.com
64da0a0c5c Added support to read Adobe Font Metric files to get the correct font metrics
for printing.
1999-02-26 20:03:35 +00:00
kipp%netscape.com
c463305e81 Cleaned up all of the operator new/delete usage 1999-02-26 19:40:22 +00:00
alecf%netscape.com
683a48a72c fix HPUX bustage - HP already has MIN, MAX, TRUE, and FALSE defined 1999-02-26 17:27:02 +00:00
alecf%netscape.com
cbe84d0855 fix HPUX bustage: font should be const 1999-02-26 17:26:25 +00:00
ebina%netscape.com
38b464566c Changing RegisterFactory to use the new API. 1999-02-26 17:19:00 +00:00
kipp%netscape.com
d41f8a2e5f Cache alpha-clip pixmap across rendering calls so that transparent gifs render faster; flush cache when bits are updated so that transparent animated gifs don't break 1999-02-26 16:59:18 +00:00