Граф коммитов

1244 Коммитов

Автор SHA1 Сообщение Дата
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com 557c3f3eaa Remove an old global variable hack i added in a moment of weakness. 1999-08-21 08:14:14 +00:00
beard%netscape.com 7b6579c1f2 Added helper class StRegionFromPool to make it useable from multiple source files. 1999-08-20 23:16:53 +00:00
kmcclusk%netscape.com 59cf499e7f Removed secondary drawing surface used when CopyOffScreenBits passing the NS_COPYBITS_TO_BACK_BUFFER flag
NS_COPYBITS_TO_BACK_BUFFER  is obsolete.
1999-08-20 22:50:24 +00:00
Dale.Stansberry%Nexwarecorp.com 0b85cb4b6f - Fixed a DrawingSurface destruction problem 1999-08-20 14:17:08 +00:00
blizzard%redhat.com 0e492c652b do proper endian detection for rgb code. this should fix sparc. 1999-08-20 13:18:55 +00:00
kmcclusk%netscape.com c73496735f added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away 1999-08-19 22:34:22 +00:00
kmcclusk%netscape.com 70bcedc4e3 bug #5403 Added code to properly release NetService and IOServices 1999-08-19 22:33:09 +00:00
pnunn%netscape.com f155098808 Put in check for error return. pnunn. 1999-08-19 22:23:48 +00:00
pnunn%netscape.com 6ba09ec55a Cleaning up returns across api. pnunn@netscape.com 1999-08-19 22:17:21 +00:00
ramiro%netscape.com 02a4b4ec8a Fix dumb mistake that was breaking BEOS. 1999-08-19 14:07:29 +00:00
ftang%netscape.com 47f17b7308 fix mapping getter problem 1999-08-18 07:34:00 +00:00
ramiro%netscape.com 6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com 2835075ab2 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

Also landed the remainder of Shawn Packwood's qt port.
1999-08-17 09:33:48 +00:00
ramiro%netscape.com 598cf733d9 Comment out broken code. Ignore generated files. 1999-08-17 06:59:45 +00:00
shawnp%earthling.net f951f1f9e3 Initial version of Qt gfx files. Still pretty raw in most places. 1999-08-12 01:52:44 +00:00
shawnp%earthling.net 45b641de24 Initial checkin of Qt gfx files. Still pretty raw in a lot of places. 1999-08-12 01:51:25 +00:00
dcone%netscape.com 9ea877130d fixed image printing -- with a non-printer hdc 1999-08-10 21:58:06 +00:00
pnunn%netscape.com 9b5314bc61 Added test for error. pnunn. 1999-08-09 21:25:39 +00:00
pinkerton%netscape.com 209904a249 Fix for bug 8292. MacGFX now understands underline in CSS. 1999-08-06 22:16:33 +00:00
dcone%netscape.com 141a80e0c8 Cleared out the memory after it was allocated 1999-08-06 17:39:32 +00:00
mcafee%netscape.com a605ba0feb Fix warnings 1999-08-05 06:04:28 +00:00
ramiro%netscape.com 692e429935 Add support for building more than one toolkit at once. Currently #ifdefed
off as part of the toolkit link time exorcism.
1999-08-05 05:12:56 +00:00
briano%netscape.com 642438c467 Now it should compile properly on all platforms. Fixes the SunOS Motif build. 1999-08-05 03:04:06 +00:00
pinkerton%netscape.com ff7be90535 exporting the region pool stuff so it can be accessed from Widget. 1999-08-04 20:14:54 +00:00
Jerry.Kirk%Nexwarecorp.com d953d51eba Added checks for NULL after mallocs 1999-08-03 20:39:51 +00:00
gagan%netscape.com d540ac2701 Fixed the crash on a page in Necko. #10342 1999-08-03 03:21:50 +00:00
ramiro%netscape.com e560b3661b Landing unix toolkit exorcism changes. #ifdef-ed OFF for now. 1999-08-02 13:53:49 +00:00
Jerry.Kirk%Nexwarecorp.com 61c363178b Fixing bugs to allow printing to work under Photon 1999-08-01 16:58:36 +00:00
pnunn%netscape.com bbf125de9c Implemented 8 bit mask depth. Not used until switch turned on in imglib. pnunn. 1999-07-30 23:39:36 +00:00
mscott%netscape.com 2210e49fef fix build breakage...include config.mak 1999-07-29 03:37:35 +00:00
briano%netscape.com 5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
blizzard%redhat.com aedae6cc5e fix memory leak in xlibrgb code. 1999-07-28 02:20:53 +00:00
ftang%netscape.com a71748f63e fix bug 7899 by setup correct value in the init 1999-07-28 02:00:18 +00:00
briano%netscape.com 007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
warren%netscape.com a52cc18406 Added test for null load group. 1999-07-27 20:33:36 +00:00
warren%netscape.com 69762de65d Fixed images to load in proper group. Should fix page timing problem. 1999-07-27 08:50:23 +00:00
Jerry.Kirk%Nexwarecorp.com 4e5a57990c Clean-up code, fixed a memory leak, removed dead code 1999-07-26 13:05:20 +00:00
sspitzer%netscape.com 81c50c02d1 fix warnings by making the dest/cntr public, not private 1999-07-26 01:36:59 +00:00
sspitzer%netscape.com b85d17600f fix warning 1999-07-26 01:35:34 +00:00
peterl%netscape.com 53d60d8dba remove warning 1999-07-24 18:58:48 +00:00
ramiro%netscape.com a6fbc4aece Remove obsolote files. 1999-07-23 12:30:26 +00:00
beard%netscape.com 54afcac248 LMGetGrayRgn() -> GetGrayRgn(), to be Carbon compliant. 1999-07-23 02:45:42 +00:00
beard%netscape.com eb513d087c bug #7796: changed nsDeviceContextMac::GetDeviceSurfaceDimensions() to return the dimensions of the entire Mac desktop using LMGetGrayRgn(). 1999-07-23 01:59:18 +00:00
Dale.Stansberry%Nexwarecorp.com 898032e6d1 - Fixed IsEmpty()
- Fixed width/height = 0 problems
1999-07-21 20:33:09 +00:00
Michael.Kedl%Nexwarecorp.com 28ca1635ee fixed problems with InvertRect 1999-07-21 19:11:01 +00:00
gagan%netscape.com 14c1cb2c49 Replaced resource:// with resource:/ to be more compliant with our parsing rules. 1999-07-21 11:48:56 +00:00
brade%netscape.com 0621f4050e Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
Jerry.Kirk%Nexwarecorp.com 87d6ac3575 Fix DrawString problem when there is a multibyte character
at the end of the line.
1999-07-20 19:41:57 +00:00
Jerry.Kirk%Nexwarecorp.com 42aba4fc38 General Cleanup 1999-07-20 19:37:08 +00:00
Michael.Kedl%Nexwarecorp.com 6a747a1b32 added invert_rect handling 1999-07-20 19:36:57 +00:00
rods%netscape.com c8b75c3279 Added impls of new methods ramiro added to nsIRenderingContext 1999-07-20 13:40:51 +00:00
ramiro%netscape.com 8457b2ad17 Add missing prototype. 1999-07-20 11:26:35 +00:00
ramiro%netscape.com ee3e1ed4e7 A better fix for the previous checkin. 1999-07-20 10:59:43 +00:00
ramiro%netscape.com a33aa62ba2 add and evil app context hack. 1999-07-20 10:46:18 +00:00
ramiro%netscape.com 07f05f08dc Always build xlibrgb to make my life easier. 1999-07-20 10:36:06 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
ramiro%netscape.com 4aee50d7bb Fix a dumb comment. 1999-07-20 08:20:28 +00:00
ramiro%netscape.com 12f5c30340 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
ramiro%netscape.com 10b1f3c22c Rect drawing wxh were off by one. 1999-07-19 19:12:20 +00:00
zuperdee%penguinpowered.com 4edfdb00a7 Fixes to get the Motif port to compile on Solaris 7 with native compiler (5.0). Special thanks to Tomi Leppikangas (tomilepp@ousrvr2.oulu.fi) for this patch. 1999-07-19 02:23:52 +00:00
ramiro%netscape.com 93962d36fc I goofed the names. Since this is platform specific code, they should be
indeed hard coded to the toolkit name.
1999-07-18 03:54:43 +00:00
zuperdee%penguinpowered.com b3be1b4389 Fixing the Motif part of bug #9828. 1999-07-18 02:26:34 +00:00
peterl%netscape.com 223b3d7794 update to new color apis 1999-07-18 00:42:28 +00:00
peterl%netscape.com e2cf60152f removed files: mozilla/gfx/src/nsColorNamesRGB.cpp 1999-07-18 00:41:52 +00:00
peterl%netscape.com b76f16233c change color name lookup api to use nsString 1999-07-18 00:10:59 +00:00
peterl%netscape.com 1b4242aa26 removed 1999-07-18 00:10:33 +00:00
peterl%netscape.com 977920666d removed nsColorNamesRGB 1999-07-18 00:09:58 +00:00
peterl%netscape.com b9acbc3908 use preprocessor to generate color names instead of perl 1999-07-18 00:09:20 +00:00
peterl%netscape.com 71b618d524 switch color string apis to nsString 1999-07-18 00:08:45 +00:00
peterl%netscape.com 73515f0ad4 switch to preprocessor for code generation 1999-07-18 00:07:55 +00:00
peterl%netscape.com ed8cd49c87 changed api to be string based
switch to using preprocessor for color enums
1999-07-18 00:07:20 +00:00
peterl%netscape.com 9ad4e38dde change color string apis to use nsString 1999-07-18 00:06:12 +00:00
ramiro%netscape.com f26f7f5fa2 Step 2 of cleaning up link time toolkit dependencies. Change the names of
the gfx and widget dsos to be readable by normal human beings that expect
some kind of spacer between cryptic acronyms.  Thank you.
1999-07-17 22:24:49 +00:00
ramiro%netscape.com ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
mcafee%netscape.com 778e0ee800 Fixing unused variable warnings 1999-07-17 03:06:14 +00:00
bienvenu%netscape.com 7e03acb008 fix build bustage with cast 1999-07-16 18:55:51 +00:00
kipp%netscape.com a274469ecf Removed 2 compiler warnings 1999-07-16 17:36:31 +00:00
Dale.Stansberry%Nexwarecorp.com f4d6984856 - Added line style support 1999-07-16 14:11:15 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
sfraser%netscape.com fe4ad01c0e Remove the nsTimer and nsRepeater.cpp files, because they also live in Netlib. a cyeh, r a bunch of folks. 1999-07-15 22:08:21 +00:00
duncan%be.com 0800fc8374 Clean up BeOS timers. Among other things there now is a single thread to do
the job. Also I now cache the references to the native GUI queue, burning
fewer CPU cycles. Thanks to Attila Lendvai <101@inf.bme.hu> for contributions
and ideas.
1999-07-15 15:32:44 +00:00
blizzard%redhat.com 16dd8fa66f fix xlib build bustage 1999-07-14 23:44:13 +00:00
gordon%netscape.com d0bf92109d Export Repeater class. Classes dependent on Repeater should probably be weaned off of it in the long term. Patrick Beard has some creative ideas regarding this. 1999-07-14 22:52:28 +00:00
gordon%netscape.com 0da0c841ef Add access path to search :mozilla:gfx:src:mac: first. 1999-07-14 22:34:31 +00:00
gordon%netscape.com d486e2dfc8 Added nsRepeater.cpp and nsTimer.cpp. 1999-07-14 21:29:59 +00:00
blizzard%redhat.com c2698131bd add list of copyright holders 1999-07-14 19:30:19 +00:00
Jerry.Kirk%Nexwarecorp.com aeb86789cf - Bug 9830 Checking for "Out Of Memory" conditions in PushState 1999-07-14 18:37:02 +00:00
blizzard%redhat.com a1bb8d9691 Check memory allocation. Closes bug 9833. 1999-07-14 17:50:19 +00:00
Jerry.Kirk%Nexwarecorp.com 4388374114 - Adding more printing support, long way from finished 1999-07-14 17:12:41 +00:00
blizzard%redhat.com 2739f83b22 Merge in erik's font code changes. This is not part of the build. 1999-07-13 14:29:53 +00:00
duncan%be.com c4f937000c Reimplement a region method correctly.
BeOS only change authorized by cyeh.
1999-07-11 09:18:27 +00:00
warren%netscape.com 61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
rods%netscape.com 8e6348a7e2 Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-09 19:37:09 +00:00
Michael.Kedl%Nexwarecorp.com 955cb0dcbe took out some printfs 1999-07-09 18:59:55 +00:00
Michael.Kedl%Nexwarecorp.com f31ebc948a Cleaned up clip rects for apprunner. 1999-07-09 18:47:23 +00:00
pnunn%netscape.com a6941a096e added to image mimetype list. pnunn. ok'd by chofmann. 1999-07-08 01:34:19 +00:00
pnunn%netscape.com d7505bd04a added to image mime type list. pnunn. ok'd by chofmann. 1999-07-08 01:33:22 +00:00
ramiro%netscape.com 961fb5e42c Fix for bug #7797. JS screen property not implemented in gtk widgetry. 1999-07-07 18:12:18 +00:00
mcafee%netscape.com 57b42a502c Solaris/CC needs a cast here 1999-07-07 10:09:40 +00:00
ramiro%netscape.com 68a4834ba5 Fix class exports declaration. 1999-07-07 08:58:15 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
ramiro%netscape.com 7612a810e6 Fix a dumb typo. 1999-07-07 07:27:44 +00:00
pavlov%pavlov.net 0f2ac3ddee resize changes/fixes/whatever_you_want_to_call_them_part_2 1999-07-07 05:31:01 +00:00
ramiro%netscape.com 5cdb03367b Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
ramiro%netscape.com a44729a0f6 Put xlibrgb first. 1999-07-07 04:23:23 +00:00
erik%netscape.com 4dc3f15df3 Added support for *-iso10646-1 fonts. Variable width only for now, fixed
width will be supported later through font property.
1999-07-07 02:32:16 +00:00
ramiro%netscape.com 5b2b8782b2 Factor out xlibrgb. 1999-07-07 02:12:44 +00:00
ramiro%netscape.com 65385eb4f7 Final global variable exorcism. 1999-07-07 02:11:22 +00:00
ramiro%netscape.com fff433ac18 Add xlib_rgb_get_depth() xlib_rgb_get_display() xlib_rgb_get_screen()
Initialize only once.
1999-07-07 01:54:26 +00:00
ramiro%netscape.com 9886a6f45f Factor out xlibrgb. 1999-07-07 01:53:41 +00:00
ramiro%netscape.com c375f83ddb Factor out xlibrgb. 1999-07-07 01:36:25 +00:00
peterl%netscape.com c93821d97e made color parsing more strict in strict mode, just like nav in quirk mode 1999-07-07 01:18:11 +00:00
ramiro%netscape.com 2ac057aad6 Exorcise gVisualInfo. 1999-07-07 00:47:29 +00:00
ramiro%netscape.com e34bd30b19 xorcise gScreenNum. 1999-07-07 00:15:22 +00:00
ramiro%netscape.com 3f553a27b7 Fix a dumb typo. 1999-07-07 00:06:57 +00:00
ramiro%netscape.com a8e4c3ea58 Exorcism of global shift, mask and count flags. 1999-07-07 00:05:19 +00:00
ramiro%netscape.com c7c7dedd51 Put noisy code in an ifdef. 1999-07-07 00:03:52 +00:00
ramiro%netscape.com 38b203c169 Add xlib_rgb_get_visual_info rename struct member form visual to x_visual_info
to make it easier to debug.
1999-07-07 00:02:55 +00:00
ramiro%netscape.com 5180239f72 Timers are toolkit specific. 1999-07-06 23:33:48 +00:00
ramiro%netscape.com 6e0b142f15 Add a debug printf. 1999-07-06 23:32:20 +00:00
ramiro%netscape.com b9d9e64b07 Cleanup the widget api some. Move initialization of evil stuff to the gfx
end.  Dont leak the widget name.  Carry around Display* and friends in the
appshell.
1999-07-06 23:28:58 +00:00
Michael.Kedl%Nexwarecorp.com 0d97ef274d Fixed alpha blending for gifs with transparency masks. 1999-07-06 22:55:05 +00:00
ramiro%netscape.com 19dafdfd94 Add a useful debug statement. 1999-07-06 14:08:30 +00:00
Jerry.Kirk%Nexwarecorp.com 4b1ba6e6ff - Changes to support Alpha Blending and other odds and ends under Photon 1999-07-06 11:44:22 +00:00
erik%netscape.com 61cd270d46 Fix for bug 5308. We now ignore vertical fonts (whose names start with @)
in the global font enumerator, so that we don't pick those up for Japanese.
1999-07-03 05:20:35 +00:00
erik%netscape.com 962cb10bb5 Fix for bug 4760. We were drawing smart quotes really large, because they
were being taken from a large Asian font. Disabled those characters for
now. The CP1252 problem will be addressed by bug 454.
1999-07-03 04:35:17 +00:00
troy%netscape.com 6f3d67cf06 Fixed compiler warning 1999-07-02 22:44:00 +00:00
ramiro%netscape.com 43295086e9 Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.
All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.
1999-07-02 14:59:36 +00:00
dveditz%netscape.com 9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
ramiro%netscape.com f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com 17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
ramiro%netscape.com 1323992254 Exorcism of global variables: part 1.
Have only one access point to the global vars - in nsDeviceContextXlib.
Next step will be to invent an interface that can be queried for this
stuff to remove the link time dependancy between this gfx lib and the widget
lib.  Global variables are EVIL.
1999-07-02 11:31:58 +00:00
gagan%netscape.com db42a7e810 Reordered netlib libs to link correctly. NECKO only. 1999-07-01 21:29:08 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
duncan%be.com f1ccc9ea73 Get gfx to build under BeOS (BeOS specific changes) 1999-07-01 16:26:43 +00:00
sspitzer%netscape.com 11fab808ae ignore the generated Makefile 1999-07-01 05:22:27 +00:00
zuperdee%penguinpowered.com 6472891394 Fixed some compiler warnings (mostly virtual functions w/ non-virtual destructors). 1999-06-30 22:36:04 +00:00
erik%netscape.com 506cb84154 Need to check all of the XLFD scalable fields for 0 since sometimes only
one of them is set to 0 (e.g. average width). Also changed upper limit
for size ratio for font scaling so as to avoid scaling Japanese fonts
(ugly).
1999-06-30 22:12:50 +00:00
slamm%netscape.com 7917f38d4f Better fix for build bustage. Use ZLIB_LIBS instead of -z. r=ramiro,shaver 1999-06-29 16:51:46 +00:00
shaver%netscape.com fc7ca1baa5 fix Solaris build bustage 1999-06-29 16:20:58 +00:00
shaver%netscape.com 6f90532000 no longer need to link against libgfxps.so -- necko merge regression? 1999-06-29 03:12:31 +00:00
syd%netscape.com 60370ebd9c Fixed compiler warning 1999-06-29 00:39:10 +00:00
gagan%netscape.com dc1680b25c Necko changes (from Andreas) 1999-06-29 00:26:25 +00:00
mcafee%netscape.com a6d03dd33a Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca) 1999-06-28 23:39:35 +00:00
warren%netscape.com bc7c1d7503 Added group stuff back for necko. 1999-06-28 22:34:20 +00:00
warren%netscape.com f1826b64cd Removed necko ifdef. 1999-06-28 22:07:07 +00:00
briano%netscape.com cea3e5da56 Fix for build problem on Solaris. 1999-06-28 21:10:11 +00:00