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
kipp%netscape.com
a8a5b4e4bc
Removed inline virtuals - a no-no
1999-02-26 16:58:18 +00:00
kipp%netscape.com
6890be3ab5
Get alpha line stride so that we don't produce the wrong alpha mask
1999-02-26 16:57:54 +00:00
pavlov%pavlov.net
e1bed4ee70
began work on nsDrawingSurfaceGTK.cpp. it isn't built yet, as it doens't
...
compile though. renamed the nsDrawingSurfaceGTK.h to nsOldDrawingSurfaceGTK.h
to avoid name conflicts for now.
1999-02-26 15:26:02 +00:00
warren%netscape.com
44cae3cd3f
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
sfraser%netscape.com
3a123c982b
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
michaelp%netscape.com
99c3ddd186
added nsIDrawingSurface, a windows specific counterpart and a windows
...
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.
1999-02-25 18:53:31 +00:00
kipp%netscape.com
2a07efa26c
Eliminate global constuctor dependency
1999-02-25 16:41:54 +00:00
kipp%netscape.com
2c87753eba
new
1999-02-25 16:41:09 +00:00
mcafee%netscape.com
712cd3b28f
Removing unused rules, cleaning this up.
1999-02-24 08:39:19 +00:00
kipp%netscape.com
b78d70a3c9
Removed some off by one rendering errors (not a perfect fix!)
1999-02-23 19:39:11 +00:00
kipp%netscape.com
bb34e891d8
Latest snapshot using linux version of the tools
1999-02-23 19:38:50 +00:00
warren%netscape.com
42f3ca6943
Added forgotten initialization.
1999-02-23 08:01:02 +00:00
mcafee%netscape.com
ac6cce1267
C++ comments in C file.
1999-02-23 05:04:56 +00:00
kmcclusk%netscape.com
59fd81ffb1
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
0420f51df2
Added fixes to get it to compile under UNIX
1999-02-22 15:00:59 +00:00
pavlov%pavlov.net
4dad708332
minor code cleanups
1999-02-21 17:40:00 +00:00
dcone%netscape.com
3a17d6e7b2
Added the printer support files for GTK
1999-02-18 22:35:11 +00:00
michaelp%netscape.com
b77ccaf0d7
made GetClipRegion comply with new API definition.
1999-02-18 22:34:19 +00:00
kipp%netscape.com
2f7dd04fb2
Compute subscript/super-script offsets; support (disabled) scalable fonts
1999-02-18 03:32:29 +00:00
harishd%netscape.com
373be6c94f
Added FontMetrics for regression testing.
...
Will be wired up later
1999-02-17 18:21:51 +00:00
mjudge%netscape.com
2ef45d2a26
fix for nsCOMPtr Carpool change
1999-02-17 02:56:26 +00:00
michaelp%netscape.com
82897ea6a1
made nsRenderingContextWin::GetClipRegion() work.
1999-02-16 00:50:32 +00:00
troy%netscape.com
17c6b3b2fb
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
a833c5681f
Added IID static method
1999-02-12 17:13:30 +00:00
dcone%netscape.com
2c1dc84a2f
fixed clipping, added ellipse and arc support
1999-02-12 16:12:15 +00:00
pierre%netscape.com
09720ba83b
GetHints() returns NS_RENDERING_HINT_FAST_8BIT_TEXT
1999-02-12 05:56:56 +00:00
pierre%netscape.com
de15158c26
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
b808081b1b
Added SetNativeRegion() + fixed 2 small bugs
1999-02-11 23:50:12 +00:00
sfraser%netscape.com
4603623ab0
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
876354c311
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
be9736e664
made GetRects() and FreeRects() work. killed ForEachRect().
1999-02-11 01:54:01 +00:00
michaelp%netscape.com
069d8d1fb1
killed ForEachRect().
1999-02-11 01:53:42 +00:00
kipp%netscape.com
fda34aff2c
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
5babe185ea
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
c00c0708e0
Eliminate a compiler warning
1999-02-10 17:58:16 +00:00
pierre%netscape.com
98ebfc2a64
backed out ftang's changes from version 1.72
1999-02-10 10:24:57 +00:00
alecf%netscape.com
10e074cdeb
fix casting for strict compilers
1999-02-10 08:24:04 +00:00
michaelp%netscape.com
f92bfd0fa2
added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
...
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
mcafee%netscape.com
2e8171db9e
More portable Makefile, and this one builds
1999-02-10 01:50:29 +00:00
mcafee%netscape.com
3c40254edd
Wrapping tests up in ENABLE_TESTS
1999-02-10 01:21:39 +00:00
michaelp%netscape.com
db932c1eb9
fleshed out rect enumeration method.
1999-02-10 00:35:04 +00:00
michaelp%netscape.com
83d39be7ba
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
ca82fa4359
Fixed bug
1999-02-08 17:23:59 +00:00
dcone%netscape.com
e7dcf70b50
Took out an method not used, that broke build
1999-02-08 17:13:33 +00:00
dcone%netscape.com
c04cbe9bf0
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
bc177d49b3
remove some unused code
1999-02-06 03:40:50 +00:00
pavlov%pavlov.net
d7353b57d1
and they said, "let there be toolbars"
1999-02-05 08:10:08 +00:00
pavlov%pavlov.net
83d4111203
redo the entire region handling in nsRenderingContext -- not quite finished
1999-02-04 19:17:40 +00:00
pavlov%pavlov.net
d9caf48649
fix big endian image stuff
1999-02-04 18:57:54 +00:00
dcone%netscape.com
a91550956e
Fixed typo
1999-02-04 15:54:34 +00:00
dcone%netscape.com
0f03d8276c
Added image support to the postscript
1999-02-04 15:17:42 +00:00
pavlov%pavlov.net
4cadf5bcd7
some work on SetClipRectInPixels and some warnings cleanups
1999-02-03 19:17:46 +00:00
dcone%netscape.com
a356eac368
Rewrote postscript stuff into a nsPostScriptObj class
1999-02-03 18:21:33 +00:00
davidm%netscape.com
4217faf63a
2439 [PP] Links are not underlined correctly
1999-02-01 23:50:25 +00:00
ftang%netscape.com
cd89a87e7f
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
62cacbd42a
Added the Transparency for the GIF.
1999-02-01 15:38:31 +00:00
pavlov%pavlov.net
ad31345ef2
make the underline a bit closer
1999-01-30 00:25:26 +00:00
ftang%netscape.com
a603db7c59
fix non-ASCII font face cannot be found problem
1999-01-29 18:06:42 +00:00
dcone%netscape.com
3f77479aa3
Fixed the font information, added some postscript drawing routines.
1999-01-29 17:00:46 +00:00
michaelp%netscape.com
c3fd79deda
fixed build bustage.
1999-01-28 05:46:05 +00:00
michaelp%netscape.com
b4c034f217
removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth().
1999-01-28 05:03:05 +00:00
harishd%netscape.com
20f53a1081
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
457b3e5601
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
dfa2b3d4b3
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
6bb1a8eddd
fix build bustage.
1999-01-25 23:40:01 +00:00
michaelp%netscape.com
46c7a932ae
apparently this needs to be exported too...
1999-01-25 23:06:55 +00:00
michaelp%netscape.com
c8e0ba6a08
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
f7d44a90e1
Fix bug 2535 (memory leak) with nsCOMPtr
1999-01-25 17:44:21 +00:00
sudu%netscape.com
c94385ee94
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
da53ba8c8d
compute the scrollbar width/height instead of using a constant number
1999-01-24 07:53:30 +00:00
pavlov%pavlov.net
0eea3374ec
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
b7fad535ab
clean up some font code
1999-01-23 03:29:50 +00:00
wtc%netscape.com
05ce7e7e53
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
2de1b2d2fe
Text after #endif should be put inside a comment.
1999-01-23 02:02:42 +00:00
harishd%netscape.com
c9dfc3c404
Added method to display CSS 3D borders.
1999-01-22 22:20:11 +00:00
harishd%netscape.com
f3769e9866
Added method to display CSS 3D borders.
...
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com
320f9f1215
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
1b7b8f39fb
fix rods's broken code
1999-01-22 00:45:56 +00:00
rods%netscape.com
fc15c1f574
I removed the error.
1999-01-22 00:41:18 +00:00
rods%netscape.com
c6309515c4
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
221ee99f04
Comment: No output = test passed
1999-01-21 22:10:57 +00:00
pierre%netscape.com
abd275880c
initialize the Rendering Context from a GrafPort to fix a crash on print
1999-01-21 08:41:21 +00:00
jfrancis%netscape.com
4ad8140c73
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
07e5135d18
Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort.
1999-01-19 00:02:15 +00:00
pavlov%pavlov.net
a917178521
use the right visual when we create the pixmaps
1999-01-17 22:48:27 +00:00
pavlov%pavlov.net
c2804dc7b3
fix for crashing.
1999-01-17 17:51:02 +00:00
pierre%netscape.com
fca58a3d4d
#2439 : Links are not underlined correctly
1999-01-16 07:09:59 +00:00
dcone%netscape.com
91a37ba797
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
cabf7ef087
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
7fc6513bbe
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
3a2fcc0cdc
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