kipp%netscape.com
bf3fa605eb
Latest snapshot using linux version of the tools
1999-02-23 19:38:50 +00:00
warren%netscape.com
01f7011acc
Added forgotten initialization.
1999-02-23 08:01:02 +00:00
mcafee%netscape.com
9c01a49a9a
C++ comments in C file.
1999-02-23 05:04:56 +00:00
kmcclusk%netscape.com
cc41ac096d
Added support for creating a postscript device context for printing under GTK.
...
Sanitized the GTK nsDeviceContextSpecFactoryG, nsRenderingContextPS, nsDeviceContextPS,
and nsDeviceContextSpecG by removing WIN32 dependencies.
Added checks for null widgets in nsWidget and nsScrollbar GTK implementations.
1999-02-22 18:56:54 +00:00
dcone%netscape.com
a5a9edc3d6
Added fixes to get it to compile under UNIX
1999-02-22 15:00:59 +00:00
pavlov%pavlov.net
11111cc945
minor code cleanups
1999-02-21 17:40:00 +00:00
dcone%netscape.com
913c087dee
Added the printer support files for GTK
1999-02-18 22:35:11 +00:00
michaelp%netscape.com
5d4c7f34d2
made GetClipRegion comply with new API definition.
1999-02-18 22:34:19 +00:00
kipp%netscape.com
c6d06e2e44
Compute subscript/super-script offsets; support (disabled) scalable fonts
1999-02-18 03:32:29 +00:00
harishd%netscape.com
288eb59701
Added FontMetrics for regression testing.
...
Will be wired up later
1999-02-17 18:21:51 +00:00
mjudge%netscape.com
c95550b563
fix for nsCOMPtr Carpool change
1999-02-17 02:56:26 +00:00
michaelp%netscape.com
9332f17d3e
made nsRenderingContextWin::GetClipRegion() work.
1999-02-16 00:50:32 +00:00
troy%netscape.com
612cd01861
Added some "const" to code that was retrieving a pointer to the internal
...
buffer managed by nsString
1999-02-14 05:56:15 +00:00
kipp%netscape.com
4477965d94
Added IID static method
1999-02-12 17:13:30 +00:00
dcone%netscape.com
3be8aecf3c
fixed clipping, added ellipse and arc support
1999-02-12 16:12:15 +00:00
pierre%netscape.com
a7cbc355e7
GetHints() returns NS_RENDERING_HINT_FAST_8BIT_TEXT
1999-02-12 05:56:56 +00:00
pierre%netscape.com
1b903e62bb
Fixed GetClipRegion/SetClipRegion to work with the actual region instead of its bounding box
1999-02-11 23:51:15 +00:00
pierre%netscape.com
e2f88ae014
Added SetNativeRegion() + fixed 2 small bugs
1999-02-11 23:50:12 +00:00
sfraser%netscape.com
df155f75ba
Added an assert in GetWidth, which fires if you try to measure width on a longer string than you really have. (May be triggered by selection code.)
1999-02-11 04:37:41 +00:00
kipp%netscape.com
a974c955ce
Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine
1999-02-11 02:21:48 +00:00
michaelp%netscape.com
e39ba40fc7
made GetRects() and FreeRects() work. killed ForEachRect().
1999-02-11 01:54:01 +00:00
michaelp%netscape.com
dfd4a7b87e
killed ForEachRect().
1999-02-11 01:53:42 +00:00
kipp%netscape.com
5bc85299cc
Implement support for the spacing array for DrawString; fixed bug - didn't init mDrawStringBuf in ctor
1999-02-10 22:23:16 +00:00
kipp%netscape.com
72979eb40b
Use a growable buffer to translate unicode to GdkWChar's instead of mallocing for every draw/measure
1999-02-10 17:58:43 +00:00
kipp%netscape.com
25ae173d9f
Eliminate a compiler warning
1999-02-10 17:58:16 +00:00
pierre%netscape.com
7a849a7a02
backed out ftang's changes from version 1.72
1999-02-10 10:24:57 +00:00
alecf%netscape.com
30cbc8d51b
fix casting for strict compilers
1999-02-10 08:24:04 +00:00
michaelp%netscape.com
a8d07f7697
added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
...
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
mcafee%netscape.com
9d2cbf6a48
More portable Makefile, and this one builds
1999-02-10 01:50:29 +00:00
mcafee%netscape.com
34b2b77be6
Wrapping tests up in ENABLE_TESTS
1999-02-10 01:21:39 +00:00
michaelp%netscape.com
ab4ddd5d5b
fleshed out rect enumeration method.
1999-02-10 00:35:04 +00:00
michaelp%netscape.com
2100aab591
added xregion.h (formerly known as region.h in the old xfe).
...
added support for enumerating over the rects of an XRegion.
1999-02-09 19:22:33 +00:00
dcone%netscape.com
622882d224
Fixed bug
1999-02-08 17:23:59 +00:00
dcone%netscape.com
ba7a2c46d3
Took out an method not used, that broke build
1999-02-08 17:13:33 +00:00
dcone%netscape.com
c551b32606
cleanup of nsIImage class. There were routines and methods no longer used or needed.
1999-02-08 16:34:56 +00:00
pavlov%pavlov.net
fe54bfc647
remove some unused code
1999-02-06 03:40:50 +00:00
pavlov%pavlov.net
59ac1def38
and they said, "let there be toolbars"
1999-02-05 08:10:08 +00:00
pavlov%pavlov.net
2926c80732
redo the entire region handling in nsRenderingContext -- not quite finished
1999-02-04 19:17:40 +00:00
pavlov%pavlov.net
a7ca8c1e5b
fix big endian image stuff
1999-02-04 18:57:54 +00:00
dcone%netscape.com
e6d64f4cd8
Fixed typo
1999-02-04 15:54:34 +00:00
dcone%netscape.com
bab2192635
Added image support to the postscript
1999-02-04 15:17:42 +00:00
pavlov%pavlov.net
fe7505fb67
some work on SetClipRectInPixels and some warnings cleanups
1999-02-03 19:17:46 +00:00
dcone%netscape.com
b4bc6a1e00
Rewrote postscript stuff into a nsPostScriptObj class
1999-02-03 18:21:33 +00:00
davidm%netscape.com
307ec6dc29
2439 [PP] Links are not underlined correctly
1999-02-01 23:50:25 +00:00
ftang%netscape.com
98bbad344e
turn on ATSUI and use it in the case of non-ASCII characters so we can start testing Japanese pages such as http://home.netscape.com/ja
1999-02-01 22:32:40 +00:00
dcone%netscape.com
c737f445e8
Added the Transparency for the GIF.
1999-02-01 15:38:31 +00:00
pavlov%pavlov.net
5e3703bd09
make the underline a bit closer
1999-01-30 00:25:26 +00:00
ftang%netscape.com
68581e4546
fix non-ASCII font face cannot be found problem
1999-01-29 18:06:42 +00:00
dcone%netscape.com
9363ec90a2
Fixed the font information, added some postscript drawing routines.
1999-01-29 17:00:46 +00:00
michaelp%netscape.com
21085a9bdf
fixed build bustage.
1999-01-28 05:46:05 +00:00
michaelp%netscape.com
b6e5b908e0
removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth().
1999-01-28 05:03:05 +00:00
harishd%netscape.com
664193cfb9
Changing the variable aElementColor to aBorderColor.
...
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:29:54 +00:00
harishd%netscape.com
804d46de03
Changing the varible name aElementColor to aBordercolor.
...
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.
1999-01-28 00:29:00 +00:00
slamm%netscape.com
58fb46e06b
Use TK_CFLAGS instead of TK_GTK_FLAGS. Put each CPPSRC on its own line
1999-01-27 19:52:30 +00:00
michaelp%netscape.com
bb1bc3026c
fix build bustage.
1999-01-25 23:40:01 +00:00
michaelp%netscape.com
2fdbb0c53b
apparently this needs to be exported too...
1999-01-25 23:06:55 +00:00
michaelp%netscape.com
1b121f5a72
moving headers from src to public. added support for dib sections to windows
...
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
pinkerton%netscape.com
97f94ab95b
Fix bug 2535 (memory leak) with nsCOMPtr
1999-01-25 17:44:21 +00:00
sudu%netscape.com
6624efe2b9
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
d349eb9a9f
compute the scrollbar width/height instead of using a constant number
1999-01-24 07:53:30 +00:00
pavlov%pavlov.net
cb0fa1ddcf
use some funky calculations to figure out the underline offset and the
...
underlining size
1999-01-24 06:55:17 +00:00
pavlov%pavlov.net
4aa2d8dda4
clean up some font code
1999-01-23 03:29:50 +00:00
wtc%netscape.com
f66584ab9a
Avoid string literals that span multiple lines because some compilers
...
don't like line endings in string literals.
1999-01-23 02:04:40 +00:00
wtc%netscape.com
5210c5cd6b
Text after #endif should be put inside a comment.
1999-01-23 02:02:42 +00:00
harishd%netscape.com
af31f3fd40
Added method to display CSS 3D borders.
1999-01-22 22:20:11 +00:00
harishd%netscape.com
667a2eddc7
Added method to display CSS 3D borders.
...
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com
261d0f0c9b
Combined files so 3 were deleted, one added. The Rendering and Device contexts
...
no longer need deligates, so they were removed. Cleaned up alot of code no
longer needed
1999-01-22 16:21:58 +00:00
pavlov%pavlov.net
d1ef13df42
fix rods's broken code
1999-01-22 00:45:56 +00:00
rods%netscape.com
87c958fab8
I removed the error.
1999-01-22 00:41:18 +00:00
rods%netscape.com
57251495aa
Added new Method for getting System Attributes (colors, fonts, sizes)
...
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
mcafee%netscape.com
4f3741123d
Comment: No output = test passed
1999-01-21 22:10:57 +00:00
pierre%netscape.com
698b0c7465
initialize the Rendering Context from a GrafPort to fix a crash on print
1999-01-21 08:41:21 +00:00
jfrancis%netscape.com
12ce9c8c0d
adding checks for null mContext member in a couple of places - fixes bug #2200
1999-01-19 02:05:53 +00:00
pierre%netscape.com
434b3ec6d6
Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort.
1999-01-19 00:02:15 +00:00
pavlov%pavlov.net
a22e76b95a
use the right visual when we create the pixmaps
1999-01-17 22:48:27 +00:00
pavlov%pavlov.net
6240573521
fix for crashing.
1999-01-17 17:51:02 +00:00
pierre%netscape.com
5fbcc14dbb
#2439 : Links are not underlined correctly
1999-01-16 07:09:59 +00:00
dcone%netscape.com
dd089a67f5
Added new postscript fontmetric code, and update the Device and Rendering context to use them
1999-01-15 22:44:32 +00:00
pierre%netscape.com
ae8c0fabc5
fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface().
1999-01-15 22:35:41 +00:00
sfraser%netscape.com
dddd2e1412
Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works.
1999-01-15 18:18:02 +00:00
sfraser%netscape.com
f2404607f8
Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used.
1999-01-15 18:15:21 +00:00
sfraser%netscape.com
fa33a30db5
Fix font selection when using ATSUI (part of bug 2411)
1999-01-15 05:23:23 +00:00
jfrancis%netscape.com
d6323fbd09
Fixing leaking of GraphioStates in nsRenderingContextMac destructor
1999-01-15 05:14:51 +00:00
peterl%netscape.com
781a155121
finally removed compatibility emulation of Nav font rounding bug
...
Let the games begin
Checkin during red tree approved by sar
1999-01-15 01:52:03 +00:00
davidm%netscape.com
b8287a15a4
2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman
2155 Proportional font spacing issues using metrics ( fix for nonATSUI drawing case )
1999-01-14 23:51:17 +00:00
pierre%netscape.com
8cf6ca1f0b
fixed build breakage
1999-01-14 07:30:02 +00:00
sfraser%netscape.com
83c0407709
Fix build bustage (adding method CreateFontAliasTable())
1999-01-14 07:14:24 +00:00
pierre%netscape.com
6702d70f61
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 07:12:07 +00:00
pierre%netscape.com
8c245d6692
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 06:54:21 +00:00
sfraser%netscape.com
23d3ce9f51
Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library.
1999-01-14 05:49:51 +00:00
sfraser%netscape.com
54acb0fee9
Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it.
1999-01-14 05:47:20 +00:00
sfraser%netscape.com
b3f733e464
Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num.
1999-01-14 05:44:50 +00:00
sfraser%netscape.com
217f980483
Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo
1999-01-14 05:43:18 +00:00
davidm%netscape.com
0e90b29e67
Bugzilla [PP] Font mapping is wrong
1999-01-13 02:14:10 +00:00
pierre%netscape.com
6c895ae8a1
Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project.
1999-01-12 11:35:49 +00:00
pavlov%pavlov.net
776e6c6161
strikethrough now shows...
1999-01-11 00:54:15 +00:00
pavlov%pavlov.net
70fd3c99ef
remove unused code. fixed underlining.
1999-01-08 15:51:46 +00:00
sfraser%netscape.com
20c8b9f23a
Fix the damn asserts
1999-01-08 03:15:15 +00:00
ftang%netscape.com
0e18fe6c32
add ATSUI hack. This hack could be turn off by comment out the
#define USE_ATSUI_HACK
line.
1999-01-07 18:27:09 +00:00
ftang%netscape.com
0cb361150e
add weak link to ATSUnicodeLib
1999-01-07 18:24:42 +00:00