sspitzer%netscape.com
0fb97f329d
ignore the generated Makefile
1999-07-01 05:22:27 +00:00
zuperdee%penguinpowered.com
163589ca35
Fixed some compiler warnings (mostly virtual functions w/ non-virtual destructors).
1999-06-30 22:36:04 +00:00
erik%netscape.com
2caa5e1d28
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
023e035db6
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
ea526cbf58
fix Solaris build bustage
1999-06-29 16:20:58 +00:00
shaver%netscape.com
057ed773cd
no longer need to link against libgfxps.so -- necko merge regression?
1999-06-29 03:12:31 +00:00
syd%netscape.com
bbbd403eaf
Fixed compiler warning
1999-06-29 00:39:10 +00:00
gagan%netscape.com
a78cd1e21b
Necko changes (from Andreas)
1999-06-29 00:26:25 +00:00
mcafee%netscape.com
78235616b4
Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca)
1999-06-28 23:39:35 +00:00
warren%netscape.com
e7268ec217
Added group stuff back for necko.
1999-06-28 22:34:20 +00:00
warren%netscape.com
6798220302
Removed necko ifdef.
1999-06-28 22:07:07 +00:00
briano%netscape.com
1f887a6597
Fix for build problem on Solaris.
1999-06-28 21:10:11 +00:00
mscott%netscape.com
19e27ea0e4
necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
1999-06-28 20:43:28 +00:00
warren%netscape.com
de403f2a0e
Fixed necko ifdef.
1999-06-28 20:23:22 +00:00
warren%netscape.com
f912adb468
Removed necko ifdef.
1999-06-28 20:19:48 +00:00
Jerry.Kirk%Nexwarecorp.com
e1683d5baf
- Worked on RetrieveCurrentNativeGraphicData method for Photon UI
1999-06-28 12:22:09 +00:00
valeski%netscape.com
af1b7b7cf4
NECKO build issue (nsILoadAttrib got loose on us)
1999-06-28 12:20:08 +00:00
warren%netscape.com
f5e1196f42
Last of the necko ifdefs. Now we link with necko.
1999-06-28 10:35:57 +00:00
av%netscape.com
8d4d69ae06
Fixing build redness
1999-06-26 22:31:41 +00:00
av%netscape.com
a05bca42d2
Adding stub for new method
1999-06-26 22:02:37 +00:00
av%netscape.com
26123491e7
Implementing getting native drawing data
1999-06-26 21:55:12 +00:00
av%netscape.com
73ae0e8778
Adding a method to retrieve native drawing data
1999-06-26 21:53:07 +00:00
blizzard%redhat.com
83c361fec5
increase the size of the scroll bars
1999-06-25 20:10:51 +00:00
mcafee%netscape.com
1f76b61bd9
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
259faac2a6
gfxps update.
1999-06-25 11:46:11 +00:00
mcafee%netscape.com
5f89e36e17
BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes.
1999-06-25 10:39:03 +00:00
ramiro%netscape.com
962bba7c73
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
05ae9c3868
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
2f5289766d
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
warren%netscape.com
284a2825df
Swapped args to NS_OpenURI.
1999-06-25 00:08:05 +00:00
warren%netscape.com
bb0e44480b
More necko changes.
1999-06-24 23:23:23 +00:00
blizzard%redhat.com
d3852eaca9
fixes for font sizes - thanks tor
1999-06-24 20:10:30 +00:00
zuperdee%penguinpowered.com
28219eacdf
Fix for nsRenderingContextMotif.cpp. This should enable viewer to work now!
1999-06-24 08:32:31 +00:00
blizzard%redhat.com
4c867c5570
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
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
pnunn%netscape.com
46f8b3278b
Prepwork for alphachannel. pnunn.
1999-06-22 20:13:05 +00:00
peterl%netscape.com
c9dede3f47
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
57e1d69347
- Beginning to add support for printing for Neutrino
1999-06-21 21:32:30 +00:00
Michael.Kedl%Nexwarecorp.com
60245e6171
fixed double buffering for Don's tiling background
1999-06-21 20:10:58 +00:00
Jerry.Kirk%Nexwarecorp.com
5b2049b422
- Fixed Neutrino timers to handler a timer with 0 delay
1999-06-21 20:06:25 +00:00
blizzard%redhat.com
d6d7acd471
fix backwards colors
1999-06-19 20:25:06 +00:00
valeski%netscape.com
487d9ea921
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
15179a0b0c
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
731fce2c37
#8264 "[PP] Mac GFX draws lines one pixel too long"
1999-06-16 01:18:15 +00:00
blizzard%redhat.com
425e1115ca
use PR_LOG for debugging
1999-06-16 00:37:57 +00:00
blizzard%redhat.com
0129afe82b
use PR_LOG for debugging messages
1999-06-16 00:25:10 +00:00
blizzard%redhat.com
376f18e08f
more gfx work
1999-06-15 04:19:11 +00:00
blizzard%redhat.com
8fc5ef0b41
merge erik's changes
1999-06-14 23:20:51 +00:00
erik%netscape.com
83c0d69bd6
Added support for CP 1251 and KOI8-R fonts (Cyrillic).
1999-06-14 22:55:39 +00:00
bruce%cybersight.com
6667f00852
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
3a85b927d7
a slightly more sane nsDrawingSurface
1999-06-14 00:47:37 +00:00
blizzard%redhat.com
c1cc3f5434
merge in Erik's changes to gtk fonts
1999-06-13 20:34:56 +00:00
erik%netscape.com
cb5e985c74
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
6ce8bb2aab
- Put in buffer "zeroing" code
1999-06-11 19:56:14 +00:00
Jerry.Kirk%Nexwarecorp.com
19db8074ed
- Fixes for test12.html
1999-06-10 21:07:11 +00:00
dcone%netscape.com
9d63bef007
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
0721726701
Add #ifdef use of graphics state pool.
1999-06-10 13:11:22 +00:00
ramiro%netscape.com
39a4bcb7e0
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
261188931d
- Set an uninitialized variable that was breaking test08 + other rips
1999-06-09 19:24:25 +00:00
ramiro%netscape.com
3e8c2fcd3e
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
b0fc5efcc9
Port to KCC.
1999-06-09 10:09:47 +00:00
ftang%netscape.com
8e21a09223
change the fake lang string to null to improve performance
1999-06-08 21:13:06 +00:00
ftang%netscape.com
063b816ac8
do bit compar before do string compare to imporve performance
1999-06-08 21:12:20 +00:00
blizzard%redhat.com
d46a7df85f
port performance enhancements from gtk fonts
1999-06-08 02:40:24 +00:00
kmcclusk%netscape.com
31bee26128
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
b827241cfb
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
96f002fcd8
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
4e3def4157
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
3e59519814
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
f42f9d66d5
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
0f168a2a88
Put braces in to get rid of many compiler warnings.
1999-06-03 13:48:20 +00:00
Jerry.Kirk%Nexwarecorp.com
e41f620a62
- These files update the GFX portion of the Photon UI
...
- They still include lots of debug and not implemented functions.
1999-06-03 01:15:23 +00:00
beard%netscape.com
1137aa10de
added more pre-flight checks, added more coordinate range checks to rectangle based primitives.
1999-06-03 00:57:34 +00:00
beard%netscape.com
89eeafa6c2
fixed potential memory problems.
1999-06-03 00:56:32 +00:00
blizzard%redhat.com
075f74d4c4
consistent debugging output
1999-06-02 02:55:23 +00:00
blizzard%redhat.com
f7aa287462
more work in initialization code
1999-06-02 01:48:21 +00:00
blizzard%redhat.com
6fcfcb1150
fix implementation of the creation of DrawingSurfaces
1999-06-02 01:18:05 +00:00
blizzard%redhat.com
6f132b7fd3
fix call signature for XCopyArea()
1999-06-02 01:16:56 +00:00
blizzard%redhat.com
233c1e1374
more drawing work
1999-05-31 23:34:13 +00:00
blizzard%redhat.com
6538e03be8
set up the offscreen surface correctly
1999-05-31 22:48:01 +00:00
blizzard%redhat.com
5d76f4f061
more work to complete the rendering context code
1999-05-31 21:52:16 +00:00
blizzard%redhat.com
f728de5880
the beginnings of popstate()/pushstate()
1999-05-31 21:01:51 +00:00
blizzard%redhat.com
b5ee3526e7
fix bugs in region code
1999-05-31 03:01:39 +00:00
beard%netscape.com
4fc583d196
workaround for bug #6529 , don't read the first buffer until at least 4 bytes are available, otherwise the image decoder library can't tell what kind of image it is. this is a blatant hack.
1999-05-31 02:33:31 +00:00
beard%netscape.com
45ee39f9a4
nsGraphicState->mTMatrix is now an object rather than a pointer. added #include "nsFontMetricsMac.h", and "nsGraphicState.h".
1999-05-31 01:31:08 +00:00
beard%netscape.com
c4b98608e5
added kClippingChanged bit, and kEverythingChanged to GraphicStateChanges enum. Increased mChanges field to from 8-bit to 32-bit mask. added additional "aChanges" argument to SelectDrawingSurface() to indicate what graphics states have to be reset.
1999-05-31 01:31:06 +00:00
beard%netscape.com
7cb713cf31
SelectDrawingSurface() now selectively restores color, clipping, and font metrics, according to the bitmask passed in the "aChanges" parameter. PushState() saves the current changes in the pushed nsGraphicState, and PopState() restores it.
1999-05-31 01:31:02 +00:00
beard%netscape.com
e908055bc0
added mChanges, bitmask indicating differences between graphics states, made mTMatrix a member object to reduce allocations, added mNext link field to support recycling. Changed nsGraphicsStatePool to just keep a free list of nsGraphicState objects rather than an array.
1999-05-31 01:30:59 +00:00
beard%netscape.com
8b189adb4a
nsGraphicStatePool now just keeps a free list of nsGraphicState objects. nsGraphicState::Clear() sets the matrix to the identify matrix rather than deallocating it. nsGraphicState::Duplicate() no longer calls Clear(), instead it just copies all fields. DuplicateRgn() now takes an optional region to copy into, to avoid redundant allocate/recycle steps.
1999-05-31 01:30:58 +00:00
beard%netscape.com
5ee86859b1
forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary.
1999-05-31 01:30:56 +00:00
blizzard%redhat.com
0cea408abb
Apply build patches from Tim Rowley <tor@cs.brown.edu> to get working
...
with native solaris compiler
1999-05-30 16:58:31 +00:00
beard%netscape.com
0ffc2cc2af
changed region pool to use 2 linked lists of slots instead of an array, for constant time allocation and recycling. no longer allocates a fixed size pool, and regions are truly owned by the caller until recycled.
1999-05-30 00:48:01 +00:00
blizzard%redhat.com
9e9bb45ea1
make sure that globals are defined here for display properties. also, make sure that the gfx module for xlib is linked explicitly with the xlib libraries so that the tests link
1999-05-28 15:11:21 +00:00
dcone%netscape.com
76a0a344b2
Fixed RealizeFont() to use a screen DC when printing for a few windows calls
1999-05-28 14:13:53 +00:00
bruce%cybersight.com
1091145a3a
Fix a shadowed variable.
1999-05-28 06:13:00 +00:00
pierre%netscape.com
5ef37ba3c0
#7143 "Subscript element not properly supported"
1999-05-28 00:32:12 +00:00
dcone%netscape.com
3280f2c2e9
Fixed bug 4904 -- converted to DIB, then printed..
1999-05-27 14:48:15 +00:00
blizzard%redhat.com
357d68f2d4
more xlib work
1999-05-26 21:52:58 +00:00
dp%netscape.com
a597f8f5b6
Adding gfxMOZ_TOOLKIT and gfxps to get NS_NewTimer()
1999-05-26 07:30:34 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren%netscape.com
f6958ce67a
Added timer stuff from base.
1999-05-24 09:17:05 +00:00
blizzard%redhat.com
80bdd72934
remove these files
1999-05-22 06:16:21 +00:00
pierre%netscape.com
97450f230f
#6246 "Styled text is offset leftwards, only on Mac OS", a=cyeh, r=sfraser
1999-05-21 00:58:27 +00:00
blizzard%redhat.com
4ffc153de7
bpp stands for bytes per pixel, not bits per pixel in certian circumstances. make sure that the image data buffer is allocated properly.
1999-05-19 03:04:03 +00:00
blizzard%redhat.com
dffdeec978
catch up with changes to GTK font code
1999-05-18 15:39:41 +00:00
blizzard%redhat.com
ce51c10e2d
squelch warnings
1999-05-18 15:28:36 +00:00
pierre%netscape.com
e404475eb5
#5949 "Frequent resizing of window causes apprunner to stop drawing"
1999-05-18 13:14:46 +00:00
blizzard%redhat.com
f88e5467c3
add xlibrgb to the build
1999-05-17 03:42:30 +00:00
blizzard%redhat.com
b8f91d6f89
add gdkrgb port to straight xlib
1999-05-17 03:32:22 +00:00
erik%netscape.com
da7b92a375
Fixed a compiler warning. Added a few new font charset names, and a weight
...
name.
1999-05-16 20:32:51 +00:00
sspitzer%netscape.com
b6ae38dae6
cvs ignorage
1999-05-13 03:53:42 +00:00
ftang%netscape.com
ea415dbb4c
add unicode
1999-05-12 23:19:12 +00:00
pnunn%netscape.com
458379ac82
Pass reload policy through to netlib. This may help the
...
various bugs related to animations (#2148,#1865,#5030,#3958,#4350).
-pnunn
1999-05-12 22:30:52 +00:00
ftang%netscape.com
871e92f836
check in performance improved unicode rendering for mac. Use TEC convert to script code before calling ATSUI to improve peroformance
1999-05-12 22:30:10 +00:00
briano%netscape.com
ddccc52490
Fix for Motif builds.
1999-05-12 22:23:04 +00:00
pierre%netscape.com
9fce556ee9
renamed GraphicState "nsGraphicState", put it in a sepate file, added memory pools for GraphicStates and native regions.
1999-05-12 07:27:31 +00:00
pierre%netscape.com
6bd3c71c5c
First Checked In.
1999-05-12 06:57:52 +00:00
pinkerton%netscape.com
9779143a4f
using accessor functions for opaque data structs where necessary for carbon.
1999-05-11 21:47:03 +00:00
pinkerton%netscape.com
c62d553166
FetchFontInfo not yet in Carbon. This will be fixed, but is hacked around for now.
1999-05-11 21:43:54 +00:00
pinkerton%netscape.com
73942f0575
ask for the grafPort, not the window, since they are different in Carbon.
1999-05-11 21:41:03 +00:00
pinkerton%netscape.com
52f87501bd
moved the ifdefs around the printing code to be more correct.
1999-05-11 21:40:25 +00:00
pinkerton%netscape.com
56c1beaf0e
old printing api's obsoleted in carbon.
1999-05-11 21:40:01 +00:00
pinkerton%netscape.com
fe672a64e7
comment out printing under Carbon. api's have been obsoleted and need to be redone.
1999-05-11 21:36:39 +00:00
pinkerton%netscape.com
1f9b97b2d4
comment out printing code under carbon. The api's have all been obsoleted and we need to rework them. Also font/encoding stuff is messed up in WWDC builds so some hacks are in here to work around. That code should all go away when Carbon is fixed.
1999-05-11 21:36:19 +00:00
pinkerton%netscape.com
555d2fe279
using accessors for Regions when building under Carbon.
1999-05-10 23:41:03 +00:00
pinkerton%netscape.com
b78c13cac4
under Carbon, use the accessors.
1999-05-10 23:11:50 +00:00
mcafee%netscape.com
fabaa074ad
Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com
1999-05-10 06:47:04 +00:00
blizzard%redhat.com
747c487c5e
port of gtk's font code to xlib
1999-05-09 21:56:46 +00:00
blizzard%redhat.com
82484e5aed
make sure to return NS_OK from Init()
1999-05-09 19:52:11 +00:00
blizzard%redhat.com
3b8b97854b
more debugging output, start of some renderingcontext functions
1999-05-08 22:54:03 +00:00
blizzard%redhat.com
5fef11efde
enough debugging output to make a dozen squid omlets
1999-05-08 21:42:39 +00:00
beard%netscape.com
6bae4c409d
Fixes bug #1177 , where text gets drawn over itself in long documents.
1999-05-07 19:29:59 +00:00
pierre%netscape.com
78190756bd
Performance: use GetSpaceWidth() / removed mOriginalClipRegion and replaced it with mMainRegion.
Cleanup: merged SetClipRectInPixels() into SetClipRect() and removed one of the GraphicState constructors.
1999-05-07 04:10:38 +00:00
pierre%netscape.com
f6a730da57
Removed mOriginalClipRegion: it was in fact equivalent to mMainRegion.
1999-05-07 04:10:04 +00:00
pierre%netscape.com
11a10f9046
Performance improvement: added GetSpaceWidth()
1999-05-07 04:02:59 +00:00
dcone%netscape.com
985214ab32
fixed a bug with using mString to use the unicode value
1999-05-06 06:57:24 +00:00
ftang%netscape.com
11a4d1c2e8
First Checked In.
1999-05-05 23:55:50 +00:00
erik%netscape.com
6d9cc7d528
Fix for one of the memory leaks found by The Mighty Bruce.
1999-05-05 23:18:38 +00:00
kipp%netscape.com
0cda769d64
Fix small bug in DrawRect and added a comment to help
1999-05-03 20:48:35 +00:00
erik%netscape.com
6762727318
Fix for bug 5778. I forgot to release the prefs service. Approved chofmann.
1999-04-30 18:28:47 +00:00
erik%netscape.com
3f10e7bfd4
Fix for bugs 4800 and 4810. I forgot to free a font handle, which led to
...
system resource exhaustion and machine shutdown (on Win95).
1999-04-30 18:23:20 +00:00
pierre%netscape.com
61aa2df5d0
Landing framesets changes. Added mOriginalClipRegion. Approved: choffmann
1999-04-30 13:52:45 +00:00
pinkerton%netscape.com
7b8852653a
added GetIID() method.
1999-04-30 08:59:11 +00:00
briano%netscape.com
35d8e41e33
Fix for the BSD/OS build (virtual memory exhausted).
1999-04-30 03:01:13 +00:00
briano%netscape.com
ffc1865b04
Moved ns_observer_proc() to as close to the beginning of the file as possible to get rid of the static prototype that seemed to be confusing as and ld on FreeBSD 2.2. Okay'd by kipp and troy.
1999-04-30 01:58:44 +00:00
bruce%cybersight.com
b375ec7b75
Remove -lnetlib from link lines. Not needed.
1999-04-28 05:30:09 +00:00
pierre%netscape.com
7bcb35c379
end of the debate? changing the defaults back to 96 dpi and do display small fonts
1999-04-28 05:06:41 +00:00
erik%netscape.com
354f5cd649
Fix related to bug 5599. We now look at the "browser.screen_resolution"
...
pref for the dpi value. If it is not set, we use the default of 96.
If it is set to zero (0), we use the X server's dpi value. Otherwise,
we use whatever dpi value was set in the pref.
1999-04-28 04:35:34 +00:00
pierre%netscape.com
c760c127d2
fixed a syntax error in DisplayVerySmallFonts(): the first time only we were returning a wrong value
1999-04-28 03:32:52 +00:00
pierre%netscape.com
bda4b11e44
added the "browser.display_very_small_fonts" pref
changed the default dpi to 72
1999-04-28 02:45:49 +00:00
peterl%netscape.com
c8b57920d0
allow letter O to be treated as zero in color hex values, egads
1999-04-28 01:41:23 +00:00
pierre%netscape.com
38586e088b
#5000 : added "browser.screen_resolution" pref
1999-04-28 00:20:58 +00:00
erik%netscape.com
90ed979b75
Fixes for bugs 4800 and 4810. Was crashing on Japanese Windows 95 because
...
GetTextExtentPoint32W and ExtTextOutW are not properly implemented on that
version of Windows. This is a workaround.
1999-04-27 21:44:20 +00:00
pierre%netscape.com
e732383034
#5000 "GFX changes required to assume 96 dpi default scaling": enabled the 96 dpi checked in earlier
1999-04-27 08:20:49 +00:00
pierre%netscape.com
cc14f63658
#5000 "GFX changes required to assume 96 dpi default scaling"
1999-04-27 06:45:09 +00:00
pierre%netscape.com
7d83b6caa3
optimized SetClipRectInPixels for the 'kReplace' case.
added some error checking after allocating new regions.
1999-04-27 05:33:16 +00:00
dcone%netscape.com
3959254621
Fixed bug that causes the Mac to crash in background.
The pixelType of the Pixmap was set wrong.
1999-04-26 17:25:46 +00:00
dcone%netscape.com
34e7c3f783
fixed bug so refcount is inited
1999-04-26 17:25:00 +00:00
blizzard%redhat.com
e34ab4441f
little more xlib work
1999-04-25 02:58:15 +00:00
ftang%netscape.com
2c53d70289
First Checked In.
1999-04-23 20:53:49 +00:00
pavlov%pavlov.net
99260f74b0
revert my last changes. i'm moving speed ups into a branch
1999-04-22 02:07:03 +00:00
pierre%netscape.com
0976ce8bd9
replaced mOriginalSurface with mSavePort
on delete, restore the grafPort origin
fixed a regression leak of the offscreen buffer
1999-04-22 01:27:12 +00:00
pavlov%pavlov.net
0aadfa5537
beginning work on making mozilla fast...
1999-04-22 00:07:40 +00:00
rickg%netscape.com
3b55b0615c
sync with new nsString2 API
1999-04-21 22:55:35 +00:00
erik%netscape.com
32d98077c3
Bug 5304 -- we now assume 96dpi (we ignore the X server).
...
Also fixed problem with fonts when no font containing the requested glyph
could be found. (Thanks to Kipp for discovering this.)
1999-04-21 18:53:35 +00:00
dcone%netscape.com
4200140c35
Implemented the DrawPolyline method.
1999-04-20 13:36:11 +00:00
pavlov%pavlov.net
4802b5acf1
add some code that was accedentally removed last time
1999-04-18 20:07:31 +00:00
pavlov%pavlov.net
42dd281b9e
code cleanups
1999-04-18 19:31:16 +00:00
erik%netscape.com
9a3a5c2115
Fixed bugs 2522 and 4875. Switched from FONTSIGNATURE to cmap to figure
...
out which glyphs are available. Removed FONT_SWITCHING ifdef.
1999-04-16 20:01:12 +00:00
kipp%netscape.com
6090e32c75
Fixed to handle destroy callbacks better to unwind connections to image lib
1999-04-15 20:34:44 +00:00
toshok%hungry.com
2c0db3ec84
add ::'s
1999-04-15 08:56:14 +00:00
toshok%hungry.com
b8acb06566
steal some drawing guts from ../motif
1999-04-15 08:54:51 +00:00
toshok%hungry.com
46003e27fb
region code for xlib gfx.
1999-04-15 08:04:37 +00:00
alecf%netscape.com
584044398e
use new nsQuickSort rather than old XP_QSORT
1999-04-15 02:48:00 +00:00
kipp%netscape.com
3b358633dd
Fix a memory corrupting issue with dangling references to nsImageRequests's
1999-04-13 21:55:11 +00:00
kipp%netscape.com
6ca78ea2e2
Disable icon loading on unix and mac until netlib can cope
1999-04-13 21:54:43 +00:00
erik%netscape.com
32e817a9f3
Win95's font enumerator returns less info (smaller structs). Added code
...
to get the info via another method. Also enlarged the Unicode range array
to prevent reading off the end. Added printf's for debugging the Unicode
ranges.
1999-04-13 20:04:51 +00:00
sspitzer%netscape.com
f1e1d10f96
some more cvs ignore work
1999-04-10 21:22:31 +00:00
pavlov%pavlov.net
2983e18ba0
use shared images where available for blending
1999-04-10 20:57:50 +00:00
pavlov%pavlov.net
9e8a282b8d
oops, ifdef'd out a tad too much code.
1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
9fbd39f894
code cleanups. begin work on using xshm
1999-04-10 19:36:40 +00:00
blizzard%redhat.com
01bc21fcd5
xlib based gfx skeleton code
1999-04-10 15:23:47 +00:00
briano%netscape.com
a0959bed09
It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
1999-04-10 01:05:53 +00:00
pinkerton%netscape.com
3a6a48bf99
Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
1999-04-10 00:15:14 +00:00
michaelp%netscape.com
361cc1877f
flush the font cache after setting a new zoom value.
1999-04-08 22:41:17 +00:00
michaelp%netscape.com
2ee150b32a
cleaned.
1999-04-08 22:40:20 +00:00
ftang%netscape.com
b1b7a9c212
fix bug 4694. Change the Hangul block to the Unicode 2.0 Hangul rnage from 1.1 rnage
1999-04-08 21:38:07 +00:00
erik%netscape.com
3b6cad2fdf
Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh.
1999-04-08 17:12:12 +00:00
ramiro%netscape.com
efe0b61826
Comment out a annoying printf. Approved by cyeh.
1999-04-07 07:04:35 +00:00
pavlov%pavlov.net
06d3b32566
fix for double freeing
1999-04-07 06:36:38 +00:00
pavlov%pavlov.net
c4cb34dacd
rot13'd all the files to make them appear much prettier, and in the process fixed some bugs i believe.
1999-04-07 04:02:44 +00:00
pierre%netscape.com
27fb1501c0
added nsATSUIUtils.cpp
moved the ATSUI code out of nsRenderingContextMac
1999-04-07 03:18:53 +00:00
pierre%netscape.com
7f8be9bafe
made the destructor public
1999-04-07 03:17:03 +00:00
pierre%netscape.com
23f5f16590
First Checked In.
1999-04-07 03:16:22 +00:00
erik%netscape.com
b8e3a6dfc9
Bug 4573. Was not dealing with the case where only a scalable font was
...
available (no bitmap fonts). Fixed.
1999-04-06 19:45:38 +00:00
ramiro%netscape.com
7f7b389476
Add SetClip{Rect,Region} tracing debug code.
1999-04-06 13:22:21 +00:00
ramiro%netscape.com
7039ea67c8
Add #ifdef copy flag debug printfs.
1999-04-06 12:48:46 +00:00
michaelp%netscape.com
28ac77c295
enabled creation of blender objects.
1999-04-05 22:49:18 +00:00
erik%netscape.com
a3adbdb65d
Got rid of some tabs.
1999-04-05 22:31:58 +00:00
syd%netscape.com
3edfeff5dd
Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
1999-04-05 21:45:08 +00:00
erik%netscape.com
8c2abbadfb
Added font scaling. It will try to scale the font if it's available, and
...
the desired size is more than 20% larger or smaller than an available
bitmap font.
1999-04-05 21:30:07 +00:00
ftang%netscape.com
26362bcce3
Fix breakage. Add #include <Resources.h>
1999-04-05 18:38:27 +00:00
erik%netscape.com
6f2df38bda
Add some space beneath East Asian characters for the underline. Also,
...
adjust their baseline to sit above the underline.
1999-04-05 18:30:12 +00:00
ftang%netscape.com
fe360b2913
Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre
1999-04-05 18:06:55 +00:00
ftang%netscape.com
6d82ed3756
Add TextCommon and TextEncodingConverter lib
1999-04-05 18:05:12 +00:00
erik%netscape.com
5b7a609d90
Adding Japanese support to the Unix/GTK font code.
1999-04-02 23:06:19 +00:00
erik%netscape.com
9104d8320e
AIX's compiler is strict. Fixed my code.
1999-04-02 20:34:14 +00:00
erik%netscape.com
a1e0dcc7d6
Need to check for dummy font family, and ignore. Corrected.
1999-04-02 19:40:11 +00:00
erik%netscape.com
4427a09acb
Bold Japanese text was not working, since there are no bold Japanese fonts
...
on Linux. So I re-arranged the font tree to allow normal Japanese fonts to
be used instead.
1999-04-02 19:10:38 +00:00
erik%netscape.com
8084d2183c
Free the loaded fonts array. Start the loaded fonts array at size 1.
1999-04-02 15:52:29 +00:00
erik%netscape.com
b36b571f63
Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
...
code is now live.
1999-04-02 15:36:01 +00:00
erik%netscape.com
d3c8326505
Fixed uninitialized memory problem, and added DrawString routine for new
...
FONT_SWITCHING code (for Unicode). To be enabled (ifdeffed) tomorrow AM.
1999-04-02 07:20:13 +00:00
ramiro%netscape.com
ff452fe61e
Tweak code to allow blending to work on unix. It will currently work only
...
on certain depths and images. Demo10 works on 16 bit depths.
1999-04-01 22:29:44 +00:00
ramiro%netscape.com
74df2deb9c
Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
1999-04-01 21:58:46 +00:00
erik%netscape.com
6b3ee2d93d
Initial check-in of new X/GTK font code. Improved font-weight "bolder"
...
and "lighter", more accurate font-size (max ascent and max descent),
better speed.
However, ifdeffed for now to try on various platforms.
1999-04-01 00:04:36 +00:00
jdunn%netscape.com
ab5bde421e
Include prenv to get PR_GetEnv prototype
1999-03-31 22:55:29 +00:00
erik%netscape.com
a6d5903901
Fixed a compiler warning.
1999-03-31 22:52:51 +00:00
syd%netscape.com
ca263b2c48
Fix for AIX build bustage.
1999-03-31 20:18:54 +00:00
syd%netscape.com
98bf9f6e28
Fix for AIX compatibility
1999-03-31 20:18:11 +00:00
syd%netscape.com
2d0c4a5cbf
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
b5007d4bb3
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
936366514e
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
af46e48278
now vends nsBlender rather than nsBlenderWin.
1999-03-31 06:07:12 +00:00
michaelp%netscape.com
fe7e53d1be
made blender fully XP.
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
2c64e2a9e2
kill nsBlenderWin
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
5bceeddf6c
killed
1999-03-31 04:53:11 +00:00
ramiro%netscape.com
de0f3f737c
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
a8fdb7be3a
more work on Lock() and Unlock()
1999-03-30 01:52:05 +00:00
michaelp%netscape.com
7e66c9a28e
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
c6f2006ddc
Fix typo.
1999-03-30 01:42:08 +00:00
michaelp%netscape.com
c6f76c4d7a
added virtual destructors where necessary as pointed out by bruce@cybersight.com.
1999-03-30 01:41:13 +00:00
syd%netscape.com
058dd1c863
Fixed misspell of virtual.
1999-03-30 01:33:40 +00:00
syd%netscape.com
ba9bd482be
Initialize mIsTopToBottom to PR_TRUE
1999-03-30 01:20:16 +00:00
syd%netscape.com
74f9123328
Initialize mIsTopToBottom to PR_FALSE.
1999-03-30 01:04:48 +00:00
syd%netscape.com
aed6f1a81c
Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
1999-03-30 01:04:13 +00:00
syd%netscape.com
f1dcc1f109
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
2850b6e828
Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
1999-03-30 01:00:32 +00:00
syd%netscape.com
cc415051ed
Implement GetBytesPix. Declare mIsTopToBottom member variable.
1999-03-30 00:59:16 +00:00
syd%netscape.com
d4d63c9b67
Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
1999-03-30 00:58:04 +00:00
syd%netscape.com
652c0fd774
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
c1771d6c75
Comment was messed up causing compiler to spew dumb messages.
1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
0116c5f559
build nsBlender.cpp under unix. this fixes builds.
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
1cccf298e0
add nsBlender to unix
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
946d040350
make file end with a newline
1999-03-27 23:14:38 +00:00
michaelp%netscape.com
4a22776591
added for guys from Nexware.
1999-03-27 00:25:26 +00:00
ramiro%netscape.com
ef24e6bc53
Opps, forgot a debug abort().
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
bb74a84005
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
39fb8151db
noisy fonts only on debug build.
1999-03-26 09:46:28 +00:00
ramiro%netscape.com
3504870212
print depth on debug printf
1999-03-26 09:43:57 +00:00
erik%netscape.com
14101060a0
Unicode support for fonts on Windows. Reviewed by Michael Plitkins.
1999-03-25 23:41:36 +00:00