Commit Graph

1185 Commits

Author SHA1 Message Date
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
mscott%netscape.com
25a6e7c788 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:43:28 +00:00
warren%netscape.com
e87f3dfecd Fixed necko ifdef. 1999-06-28 20:23:22 +00:00
warren%netscape.com
99d39258c9 Removed necko ifdef. 1999-06-28 20:19:48 +00:00
Jerry.Kirk%Nexwarecorp.com
d24488bf64 - Worked on RetrieveCurrentNativeGraphicData method for Photon UI 1999-06-28 12:22:09 +00:00
valeski%netscape.com
e16554ea83 NECKO build issue (nsILoadAttrib got loose on us) 1999-06-28 12:20:08 +00:00
warren%netscape.com
fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
av%netscape.com
e20b61431e Fixing build redness 1999-06-26 22:31:41 +00:00
av%netscape.com
a0da09e3ed Adding stub for new method 1999-06-26 22:02:37 +00:00
av%netscape.com
e0ff6551d7 Implementing getting native drawing data 1999-06-26 21:55:12 +00:00
av%netscape.com
076a0e2e7e Adding a method to retrieve native drawing data 1999-06-26 21:53:07 +00:00
blizzard%redhat.com
eabc86f66b increase the size of the scroll bars 1999-06-25 20:10:51 +00:00
mcafee%netscape.com
3796c95019 Return an error for LoadIconImage() for BeOS because netlib is running in the UI thread. Thanks to Duncan Wilcox (duncan@be.com) for this fix. 1999-06-25 12:54:16 +00:00
ramiro%netscape.com
7a3fb22e02 gfxps update. 1999-06-25 11:46:11 +00:00
mcafee%netscape.com
610a92ba97 BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:39:03 +00:00
ramiro%netscape.com
c6944b28dd Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:46:59 +00:00
ramiro%netscape.com
773e34ec7d Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:38:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
83e2275608 Swapped args to NS_OpenURI. 1999-06-25 00:08:05 +00:00
warren%netscape.com
79d37bdc6c More necko changes. 1999-06-24 23:23:23 +00:00
blizzard%redhat.com
bb107e9417 fixes for font sizes - thanks tor 1999-06-24 20:10:30 +00:00
zuperdee%penguinpowered.com
d4c9c63cea Fix for nsRenderingContextMotif.cpp. This should enable viewer to work now! 1999-06-24 08:32:31 +00:00
blizzard%redhat.com
533e108b45 Fix origins on alpha pixmaps - thanks tor. Images on toolbars and other places shag, baby! 1999-06-23 11:12:13 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
pnunn%netscape.com
2ae131ed77 Prepwork for alphachannel. pnunn. 1999-06-22 20:13:05 +00:00
peterl%netscape.com
8d8b5e3350 Added '-moz-fixed' generic font name.
This is an extension to indicate the user's fixed font choice
1999-06-22 19:14:51 +00:00
Jerry.Kirk%Nexwarecorp.com
c0797f7733 - Beginning to add support for printing for Neutrino 1999-06-21 21:32:30 +00:00
Michael.Kedl%Nexwarecorp.com
ef534e959e fixed double buffering for Don's tiling background 1999-06-21 20:10:58 +00:00
Jerry.Kirk%Nexwarecorp.com
d3ed880418 - Fixed Neutrino timers to handler a timer with 0 delay 1999-06-21 20:06:25 +00:00
blizzard%redhat.com
d069fe11e4 fix backwards colors 1999-06-19 20:25:06 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
erik%netscape.com
5accb2e576 Fix for bug 7841. Some fonts return bad glyph IDs. Now checking for these.
It turns out that GulimChe is one of those bad fonts.
1999-06-16 03:57:55 +00:00
pierre%netscape.com
849596767d #8264 "[PP] Mac GFX draws lines one pixel too long" 1999-06-16 01:18:15 +00:00
blizzard%redhat.com
491cc36d07 use PR_LOG for debugging 1999-06-16 00:37:57 +00:00
blizzard%redhat.com
47a4c1cc91 use PR_LOG for debugging messages 1999-06-16 00:25:10 +00:00
blizzard%redhat.com
7754d8da97 more gfx work 1999-06-15 04:19:11 +00:00
blizzard%redhat.com
b66da08ef0 merge erik's changes 1999-06-14 23:20:51 +00:00
erik%netscape.com
a0c4a683fe Added support for CP 1251 and KOI8-R fonts (Cyrillic). 1999-06-14 22:55:39 +00:00
bruce%cybersight.com
1e47eb8696 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations. 1999-06-14 06:16:08 +00:00
blizzard%redhat.com
66bc260f9c a slightly more sane nsDrawingSurface 1999-06-14 00:47:37 +00:00
blizzard%redhat.com
988e27bab4 merge in Erik's changes to gtk fonts 1999-06-13 20:34:56 +00:00
erik%netscape.com
3391461f38 Started using Frank's 64K bit array code and the Unicode converters.
The euro now displays on Linux.
1999-06-13 18:33:37 +00:00
Dale.Stansberry%Nexwarecorp.com
10e699ffeb - Put in buffer "zeroing" code 1999-06-11 19:56:14 +00:00
Jerry.Kirk%Nexwarecorp.com
58b5675cf2 - Fixes for test12.html 1999-06-10 21:07:11 +00:00
dcone%netscape.com
e20ee57836 Fixed a solaris bug, took out a URL call until I can find the real cause
of the problem
1999-06-10 13:53:14 +00:00
ramiro%netscape.com
c4c2d1d42d Add #ifdef use of graphics state pool. 1999-06-10 13:11:22 +00:00
ramiro%netscape.com
b4d5277467 Factor out the graphics state struct into its own header and implementation
files.
1999-06-10 12:45:14 +00:00
Jerry.Kirk%Nexwarecorp.com
3c09a31379 - Set an uninitialized variable that was breaking test08 + other rips 1999-06-09 19:24:25 +00:00
ramiro%netscape.com
d330f1ae61 Motif Ressurection. Thanks to Daniel Roberts <zuperdee@yahoo.com> for
doing the painful job of identifying everything that is missing and
stubbing it out.
1999-06-09 11:35:26 +00:00
ramiro%netscape.com
1b4d1715e2 Port to KCC. 1999-06-09 10:09:47 +00:00
ftang%netscape.com
3cae9693d3 change the fake lang string to null to improve performance 1999-06-08 21:13:06 +00:00
ftang%netscape.com
3a0135d848 do bit compar before do string compare to imporve performance 1999-06-08 21:12:20 +00:00
blizzard%redhat.com
2e58ba7bae port performance enhancements from gtk fonts 1999-06-08 02:40:24 +00:00
kmcclusk%netscape.com
3fd7b914d3 Added code to nsFontMetricsGTK to cache the width of a single space.
Modifed nsRenderingContextGTK::GetWidth to detect when a single space
is passed in and pass back the cached value, rather than re-measuring
a space.
1999-06-07 22:48:19 +00:00
kmcclusk%netscape.com
1ea246a1a1 Added method and member variable to Cache the width of a space in nsFontMetricsWin.cpp.
Added code to nsRenderingContextWin::GetWidth to use the cached width to optimize the
common case of measuring the width of a single character.
1999-06-04 23:09:27 +00:00
erik%netscape.com
fd4ed60abc Bug 7427. Need to convert enumerated font names from system code page to
Unicode, and then convert Unicode font names back to system code page when
loading font.
1999-06-04 00:08:56 +00:00
ramiro%netscape.com
6784919f78 Comment out debug code that is making it impossible to have timeouts
greater than 10 seconds.
1999-06-03 21:31:38 +00:00
kmcclusk%netscape.com
8be1cd6761 Fix for bug #1177. Added a new method ConditionRect which is used to fix coordinate
overflow problems under WIN95. Condition rect converts nsRect to a RECT with cooordinates
modified to acceptable ranges for WIN95.
1999-06-03 20:19:32 +00:00
pinkerton%netscape.com
c35d3c5907 More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com). 1999-06-03 18:55:40 +00:00
dcone%netscape.com
3a09e85b99 Put braces in to get rid of many compiler warnings. 1999-06-03 13:48:20 +00:00