dcone%netscape.com
eba66ca1ff
Added UNIX support for postscript printing, fixed many bugs.
...
Added nsIDeviceContextSpecPS interface so we can do PS on any platoform, get
information from the print dialog.
1999-03-22 21:45:00 +00:00
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
sfraser%netscape.com
ff65ca818e
Fix font selection when using ATSUI (part of bug 2411)
1999-01-15 05:23:23 +00:00
jfrancis%netscape.com
9de778d6ae
Fixing leaking of GraphioStates in nsRenderingContextMac destructor
1999-01-15 05:14:51 +00:00
peterl%netscape.com
a7838d1aaa
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
55e7b9323f
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
5c29b5f5e9
fixed build breakage
1999-01-14 07:30:02 +00:00
sfraser%netscape.com
2686e6ba4e
Fix build bustage (adding method CreateFontAliasTable())
1999-01-14 07:14:24 +00:00
pierre%netscape.com
1ace30709f
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 07:12:07 +00:00
pierre%netscape.com
81bed3109b
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 06:54:21 +00:00
sfraser%netscape.com
08e4e851b4
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
96503f181b
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
9a281cb29a
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
f1856da182
Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo
1999-01-14 05:43:18 +00:00
davidm%netscape.com
c37a50331a
Bugzilla [PP] Font mapping is wrong
1999-01-13 02:14:10 +00:00
pierre%netscape.com
9e0eaf62a8
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
2d3d50a130
strikethrough now shows...
1999-01-11 00:54:15 +00:00
pavlov%pavlov.net
39384f2578
remove unused code. fixed underlining.
1999-01-08 15:51:46 +00:00
sfraser%netscape.com
6ff885142e
Fix the damn asserts
1999-01-08 03:15:15 +00:00
ftang%netscape.com
b455e672a8
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
0fbb98d2c0
add weak link to ATSUnicodeLib
1999-01-07 18:24:42 +00:00
dcone%netscape.com
0a2a9de92c
Continued work on the Postscript Device and RenderingContexts.
...
Removed unessisary file, factory is not needed.
1999-01-07 14:50:53 +00:00
pavlov%pavlov.net
83607f1f5d
remove debugging comment
1999-01-06 02:06:00 +00:00
pierre%netscape.com
2a1a1341f0
removed the handle locking/unlocking in Init()
1999-01-05 04:07:23 +00:00
pierre%netscape.com
ac05cfa842
commented out an annoying assert
1999-01-05 03:51:17 +00:00
pavlov%pavlov.net
3d01f1583c
we now underline things.
1999-01-05 03:25:55 +00:00
blizzard%appliedtheory.com
1f45aecfb1
patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
...
better.
1998-12-29 21:08:11 +00:00
dcone%netscape.com
17b9100eae
Cleanup of the ps directory, incremental changes
1998-12-24 15:25:04 +00:00
dcone%netscape.com
2e243d1ebe
Took out files no longer needed for ps, updated all the files for postscript support
1998-12-21 22:13:04 +00:00
peterl%netscape.com
9cf2d5b9a3
rename string key to make buggy unix compilers happy
1998-12-21 05:55:44 +00:00
pavlov%pavlov.net
8e130a59d7
s/ :: /::/
1998-12-19 18:01:17 +00:00
dcone%netscape.com
9eadd75926
Renamed files for the Postscript directory in GFX
1998-12-18 16:36:47 +00:00
pierre%netscape.com
e49a493536
Fixed/implemented offscreen drawings - numerous changes
1998-12-18 13:33:31 +00:00
pierre%netscape.com
55d8e8308c
Call DeviceContextImpl::Init() just because Windows does it
1998-12-18 13:29:06 +00:00
waterson%netscape.com
dc46b0d605
Added IID() method to fix build bustage.
1998-12-18 01:33:04 +00:00
pinkerton%netscape.com
68d610b7dc
inserted IID() method for use with nsCOMPtr.
1998-12-17 22:13:41 +00:00
kmcclusk%netscape.com
bf68ccdd6e
Added files to do postscript output.
1998-12-16 18:30:12 +00:00
dcone%netscape.com
f12f16d7ca
fixed resoluton problem for printing.
1998-12-16 18:02:38 +00:00
warren%netscape.com
0580a8e5c4
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
sfraser%netscape.com
e9e844fade
Make sure the port is initialized before being used.
1998-12-16 01:59:31 +00:00
michaelp%netscape.com
361c8080ab
we now call GetNearestColor() in 16bpp when creating brushes and pens.
1998-12-15 23:13:59 +00:00
dcone%netscape.com
031b91086c
fixed the scaling bug
1998-12-15 22:22:40 +00:00
dcone%netscape.com
b8ac234783
fixed some scaling issues for the mac, more to come
1998-12-15 16:56:53 +00:00
michaelp%netscape.com
56739d78ed
added ability to create a drawing surface from an HDC under windows.
1998-12-15 05:51:30 +00:00
beard%netscape.com
3cb1e6a525
Regenerated with GenToc.
1998-12-13 18:15:37 +00:00
beard%netscape.com
18984e5a80
First Checked In.
1998-12-13 05:01:04 +00:00
dcone%netscape.com
4a72bbc421
Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null.
1998-12-11 16:04:23 +00:00
dcone%netscape.com
dbbc7656e0
Update routines for creating a rendering context, and fixed the printer routines.
1998-12-11 16:03:10 +00:00
sfraser%netscape.com
4dd86fa679
Convert AppleSingle -> binary
1998-12-09 20:48:54 +00:00
pierre%netscape.com
444722da26
removed saari's hack
1998-12-09 10:17:31 +00:00
pierre%netscape.com
8511ddd1bf
A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc)
1998-12-09 10:17:06 +00:00
pierre%netscape.com
6a2a819850
Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt).
1998-12-09 10:15:44 +00:00
pierre%netscape.com
8ad023962d
Removed some include files
1998-12-09 10:14:46 +00:00
pierre%netscape.com
9d05ec1948
optimized and cleaned up
1998-12-08 01:47:04 +00:00
pierre%netscape.com
f05cc800e4
rewrote the GraphicState handling
1998-12-07 03:38:58 +00:00
pavlov%pavlov.net
98d8b3260b
set the horizontal scrollbars to the same size size as the verticle ones
1998-12-06 03:48:00 +00:00
pierre%netscape.com
7286b17e0d
Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon.
1998-12-06 00:37:00 +00:00
pierre%netscape.com
9e32e43c56
added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon.
1998-12-06 00:36:35 +00:00
ramiro%netscape.com
e06da2636b
Add a return to a function which is supposed to return a value,
...
to keep the Solaris native compiler happy.
Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:50:32 +00:00
ramiro%netscape.com
9de953c38c
Have cvs ignore generated files.
1998-12-05 11:07:45 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
akkana%netscape.com
5da3c4fcdf
base/src/nscore.h
1998-12-04 21:36:23 +00:00
dcone%netscape.com
62ebba6112
added the nsDeviceContextSpec and factory support for printing support
1998-12-04 15:04:30 +00:00
dcone%netscape.com
26823e00ba
Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support
1998-12-04 15:03:41 +00:00
dcone%netscape.com
88115c192c
Added printing support
1998-12-04 15:02:57 +00:00
dcone%netscape.com
67bb22ffd2
First Checked In.
1998-12-04 15:02:26 +00:00
wtc%netscape.com
a8634da8db
The GetFont method of nsIFontMetrics takes a const pointer reference
...
as argument, so we must pass a const pointer reference to it.
1998-12-03 06:29:56 +00:00
saari%netscape.com
a07f36d7a3
Mac only hackery to make rendering better.
1998-12-03 04:24:54 +00:00
dcone%netscape.com
26ca8b6da1
Changed the name so the file can be used on the Mac
1998-12-02 16:06:31 +00:00
saari%netscape.com
b27c30186d
Fixing build breakage.
nsRegionMac API changed on me.
1998-12-02 04:26:16 +00:00
saari%netscape.com
bc42ed5311
fixed hand merge error
1998-12-02 02:51:48 +00:00
saari%netscape.com
78e6d81792
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
1998-12-02 02:45:08 +00:00
michaelp%netscape.com
0a0eebced5
fixed build bustage.
1998-12-02 01:08:43 +00:00
michaelp%netscape.com
6cfbcd06d4
added GetNativeRegion() and GetRegionComplexity() methods.
1998-12-02 00:36:56 +00:00
michaelp%netscape.com
65c80dd46c
added FlushFontCache() method.
1998-12-02 00:36:08 +00:00
michaelp%netscape.com
1ee9c1329d
fixed build bustage.
1998-12-01 03:20:31 +00:00
michaelp%netscape.com
cf6649b654
revised blending APIs.
1998-12-01 02:15:44 +00:00
beard%netscape.com
c0c7bc482d
Mac shared library migration.
1998-11-30 22:15:00 +00:00
michaelp%netscape.com
337fdd7b1a
fixed resource leak.
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
b90db6870e
fixed duplicate resource free.
1998-11-28 04:23:23 +00:00
michaelp%netscape.com
6458aae507
added missing NS_INIT_REFCNT().
1998-11-28 04:21:40 +00:00
peterl%netscape.com
69e3d48a66
fixed bug in font family enumeration
1998-11-26 01:22:04 +00:00
peterl%netscape.com
67259ff2eb
made text decorations minimum size of 1 pixel
1998-11-26 01:21:22 +00:00
pavlov%pavlov.net
284b625465
fix twipstopixels and got the scrollbars being sized correctly.
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
af40821be2
fixed my assertions
1998-11-24 02:43:07 +00:00
pavlov%pavlov.net
cb493acde9
Added assertions to the gfx code so that we can find xp bugs easier
1998-11-24 01:32:12 +00:00
michaelp%netscape.com
7daa228fcb
added STRICT to list of preprocessor macros.
1998-11-23 19:00:08 +00:00
danm%netscape.com
a6c31bb67b
tweak change from last rev, which was close, but misbehaved.
1998-11-23 17:34:50 +00:00
troy%netscape.com
941d378fe1
Added some casts to make the 6.0 compiler happy
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
8a584e6cef
changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
...
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.
1998-11-23 03:14:38 +00:00
michaelp%netscape.com
bdeb783286
fixed a bunch of resource leaks exposed by the xpviewer and made
...
HDC state propagation in SetupDC() more complete.
1998-11-23 03:12:16 +00:00
michaelp%netscape.com
4b838b50a8
changed for drawing surface HDC ownership setting.
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
4f12e7519f
added data member to drawing surface to determine HDC ownership.
1998-11-23 03:10:10 +00:00
msw%gimp.org
3cdb3eefd1
A _horrible_ hack to make fonts readable. Needs much work here.
1998-11-22 04:48:47 +00:00
cyeh%netscape.com
65038e9551
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
dcone%netscape.com
cd511096b1
Another small fix, to take out unnessasary code.
1998-11-20 19:26:06 +00:00
dcone%netscape.com
86b548ad37
deleted duplicate from nsIImage.h - no longer needed
1998-11-20 18:55:50 +00:00
dcone%netscape.com
cff6d69a99
Took out all blending code, and updated to coding standards, general cleanup
1998-11-20 17:37:18 +00:00
pavlov%pavlov.net
10f11b0cca
make sure we return a value for all of the NS_IMETHODIMP methods
1998-11-20 03:30:49 +00:00
pavlov%pavlov.net
9f635e44ef
Impliment SetLineStyle and DrawPolyline
1998-11-18 03:56:41 +00:00
jfrancis%netscape.com
150af5ea50
more shared lib conversion work.
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
cd1419e599
more shared lib conversion work
1998-11-18 02:43:45 +00:00
peterl%netscape.com
bcb947be7e
tweaked x-height guess for true-type fonts
1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com
a87dd1063b
clean up transparent image rendering. Also, make sure that the XImage is
...
free'ed after rendering and that the gc is placed back into a sane state.
1998-11-17 15:32:13 +00:00
msw%gimp.org
5633be113a
First pass of alpha support in images by Chris Blizzard, fixed for endian
...
problems. There is still a little work left to do on this.
1998-11-17 09:08:10 +00:00
jfrancis%netscape.com
bd93f104b0
Added shared lib targets
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
798674dd4a
Shared Lib conversion
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
9b5e605ed6
First Checked In.
1998-11-17 05:26:28 +00:00
pinkerton%netscape.com
75adbe82f7
fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
1998-11-17 01:08:01 +00:00
pavlov%pavlov.net
b163c102f9
removed some debugging messages
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
6d4f1d1b64
Remove debugging message and set the scrollbar size
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
0cb2e3c66d
patch from Owen Taylor <otaylor@redhat.com> to fix fix the GBR->RGB conversion
...
for images.
1998-11-15 00:53:10 +00:00
kipp%netscape.com
4f708b1231
Repaired Get3DColors code to work properly; added in extra code to make sure we never return the passed in color as one of the output colors
1998-11-15 00:20:27 +00:00
pavlov%pavlov.net
551a9f0ab8
convert BGR colors to RGB for tables and such. We now draw images, text, etc
...
correctly, and we don't crash (at least not usually). Images are not
converted from BGR to RGB yet, but they will be shortly.
1998-11-14 23:47:41 +00:00
pavlov%pavlov.net
d76a646548
use NS_TO_X to convert the pixel to gdkrgb type. this may not be what we want
...
to do here though.
1998-11-14 19:39:04 +00:00
msw%gimp.org
2ae2b3babd
Draw directly onto windows, not on a pixmap
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
0647ee3c40
fixed build bustage.
1998-11-14 02:58:09 +00:00
kipp%netscape.com
5ee9e214aa
Fixed typo
1998-11-14 02:31:29 +00:00
michaelp%netscape.com
b731d5dc2c
changes to support printing architecture and actual printing under windows.
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
5f6f52a7b2
Fix the Font methods. This allows the pages to be rendered.. under something
...
so we still can't see it.. i'm looking
1998-11-14 01:43:27 +00:00
pavlov%pavlov.net
07e457eaf1
add nsRegionGTK to the factory. this fixes some major region related
...
problems.
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net
4894032ac0
implimentation for DrawString for PRUnichar characters.
1998-11-11 23:08:19 +00:00
rpotts%netscape.com
c71fa4e0f4
Fixed random crash...
1998-11-11 10:04:57 +00:00
pierre%netscape.com
efc32562aa
Set the scroll bar dimensions to 16 pixels instead of 10.
1998-11-11 01:41:44 +00:00
pavlov%pavlov.net
2f4620b9b4
Removed some old debugging messages and redid some font initialization which
...
seems to work a tad better, though it has plenty room to be improved.
1998-11-10 04:28:00 +00:00
pavlov%pavlov.net
fde80a386c
have GetFontMetrics return a sane value. this fixes crash
1998-11-09 22:59:14 +00:00
pavlov%pavlov.net
b2e38fec66
remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
...
nsDeviceContextGTK
1998-11-09 15:47:45 +00:00
rpotts%netscape.com
23f93aa1da
propagate abnormal stream termination correctly...
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
a8799e5126
yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
...
nsFontMetricsGTK
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
0ae3117b58
patch that impliments nsRenderingContextGTK from Owen Taylor
...
<otaylor@redhat.com>
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net
32eb4e8c99
Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
...
way.
1998-11-07 19:54:14 +00:00
pavlov%pavlov.net
733e8c1795
Implimented nsImageGTK. Fixed some compling problems in the other files due
...
to headers needed in nsImageGTK
1998-11-07 17:24:46 +00:00
saari%netscape.com
e4bd0c3b01
Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.
1998-11-07 01:45:03 +00:00
dcone%netscape.com
f392b64628
updated inverse colormap code, now blend works at 4 bit resolution
1998-11-04 22:38:37 +00:00
michaelp%netscape.com
64f26ac7f0
xpcom'ed blender.
1998-11-04 19:03:37 +00:00
dcone%netscape.com
3c44a29c2c
updated the blending, fixed 8 bit blending, and fixed a leak in the blender
1998-11-04 16:02:50 +00:00
pierre%netscape.com
28d3382df3
save and restore the colors in CopyOffScreenBits()
1998-11-04 06:55:50 +00:00
pierre%netscape.com
8086c5e22a
Use GetFontHandle() to return the fontNum because we don't have font handles on Mac
1998-11-04 06:51:20 +00:00
pierre%netscape.com
a6268eee92
Cache data to improve performance in GetMacFontNumber()
1998-11-04 06:49:14 +00:00
cls%seawood.org
bc6ca3753f
Removed hardcoded 'gtk-config'
1998-11-03 16:16:37 +00:00
cls%seawood.org
f70174e61a
Removed classic build Makefiles from configure.in
...
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
jfrancis%netscape.com
f8cc315185
Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits()
1998-11-02 22:42:15 +00:00
pavlov%pavlov.net
187da7572d
apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk>
1998-11-02 22:29:22 +00:00
shaver%netscape.com
3b5f798561
add Frank Visser's nsRegionGTK
1998-11-02 14:17:06 +00:00
ramiro%netscape.com
4f83e7be8b
Add support for gtk.
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
4803da0b22
Changed 'unix' to 'motif' to deal with toolkit confusion.
1998-11-02 12:24:05 +00:00
ramiro%netscape.com
c7abdd319f
Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
...
makes more unix linker happy.
1998-11-02 12:20:07 +00:00
pavlov%pavlov.net
c22ce85418
more work on making this stuff work.
1998-11-01 19:30:03 +00:00
shaver%netscape.com
d83fbd627e
use gtk-config to find proper CFLAGS
1998-11-01 07:49:23 +00:00
shaver%netscape.com
8427d0db3e
add --enable-nglayout=gtk to build with GTK and not motif
1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com
ef969a30e6
fixes to get building and linking.
1998-10-31 23:17:57 +00:00
shaver%netscape.com
504eea4df4
gtklayout.c needs to be in widgets, not gfx
1998-10-31 21:42:02 +00:00
shaver%netscape.com
3bbd8557f1
add gtklayout.* to local build, since we'll need it for the drawing context, and we don't want all of gnome-libs
1998-10-31 16:17:21 +00:00
mcafee%netscape.com
a6f9ad1357
libgfxunix.a -> libgfxmotif.a. r=ramiro@netscape.com, spider@netscape.com
1998-10-31 07:05:37 +00:00
blizzard%appliedtheory.com
b20766e1cf
Skel code for gtk/gdk gfx library. This compiles and does nothing else.
1998-10-31 04:12:39 +00:00
michaelp%netscape.com
b078cd272e
fixed build bustage.
1998-10-30 05:04:39 +00:00
michaelp%netscape.com
e2c0081f9f
fixed build bustage.
1998-10-30 04:27:48 +00:00
michaelp%netscape.com
9eaa3fb70d
again.
1998-10-30 04:13:34 +00:00
michaelp%netscape.com
2b227e4108
fixed build bustage.
1998-10-30 04:13:33 +00:00
michaelp%netscape.com
f85c3fa2a1
fixed build bustage.
1998-10-30 03:52:25 +00:00
michaelp%netscape.com
42bb7d7f21
fixed build bustage.
1998-10-30 03:16:17 +00:00
michaelp%netscape.com
02692c7c64
fixed build bustage.
1998-10-30 02:51:08 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
pinkerton%netscape.com
d2e881143e
Don't use the offscreen pixmap if it is null (low memory situations)
1998-10-29 20:03:57 +00:00
dcone%netscape.com
3d66397f2a
Abstracted the nsBlender class
1998-10-29 19:22:42 +00:00
pinkerton%netscape.com
82e3dddcc8
default constructor initializes position/size to 0 so people don't have to call Empty() any more.
1998-10-29 18:06:45 +00:00
pinkerton%netscape.com
690dc03bc0
Turn on xSYM generation for both targets and enable debugging to touch the right prefs.
1998-10-29 17:44:13 +00:00
pierre%netscape.com
f740ba45f7
Landing MacWidgets...
1998-10-29 14:06:26 +00:00
cls%seawood.org
ddf746506e
Added $XLDFLAGS & $XLIBS to EXTRA_DSO_LDOPTS
1998-10-28 05:38:12 +00:00
cls%seawood.org
411ab80ce3
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
kipp%netscape.com
780cf0470a
Support high accuracy rendering (slowly)
1998-10-27 16:49:40 +00:00
shaver%netscape.com
575453b254
ancient GTK port, as starting point
1998-10-27 15:43:49 +00:00
michaelp%netscape.com
c68614adc1
fixed bug in ref counting on drawing surfaces in the rendering context.
1998-10-27 00:09:44 +00:00
peterl%netscape.com
7ab51700bd
fixed usage of grey vs gray, now we support both
1998-10-26 23:11:07 +00:00
dcone%netscape.com
eaf7731727
fixed a parameter for spacing
1998-10-26 18:05:45 +00:00
kipp%netscape.com
859cceb62f
Revised DrawString API to take a spacing array for character spacing control
1998-10-26 17:12:39 +00:00
mcafee%netscape.com
4c30201be5
Fixing Solaris bustage, this file needs an EOL character on the last line
1998-10-26 05:39:12 +00:00
michaelp%netscape.com
236e6a4a24
fixed build bustage.
1998-10-23 20:17:36 +00:00
michaelp%netscape.com
2812cd80c1
made CopyBits() more flexible. added better ddraw support for windows rendering
...
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.
1998-10-23 17:58:18 +00:00
rods%netscape.com
3dae4d6469
Removed debug statements
1998-10-16 22:36:43 +00:00
rods%netscape.com
2e7ee2f9e5
GetWidget was not creating enough memory to hold the string for text
...
measurement. This was causing it to write off into memory.
1998-10-16 22:27:27 +00:00
rods%netscape.com
fcfb7952b9
Added a lot of error check for a null mRenderingSurface
1998-10-16 19:31:25 +00:00
rpotts%netscape.com
a536953437
zero the pointer to the IL_ImageRequest being held by the ImageRequestImpl when the IL_ImageRequest is destroyed. The IL_imageRequest can be destroyed by either the ImageRequestImpl *or* the IL_ImageGroup...
1998-10-14 23:56:33 +00:00
valeski%netscape.com
cee140ae96
Raptor only change. Providing method definitions for IsURLInCache when NU_CACHE is defined.
1998-10-14 22:39:16 +00:00
peterl%netscape.com
8d52e15ff1
guess at x-height since text metrics is unreliable on windows
1998-10-13 19:08:43 +00:00
dcone%netscape.com
37a98400aa
First Checked In.
1998-10-12 13:50:27 +00:00
michaelp%netscape.com
125493c236
fixed leak of regions in state cloning.
1998-10-11 00:40:10 +00:00
troy%netscape.com
59e4c486fe
Added back public
1998-10-11 00:35:55 +00:00
troy%netscape.com
3c81e9a6d2
Removed public from list of source directories, because there isn't one,
...
and this was causing clobber to fail
1998-10-11 00:05:39 +00:00
kipp%netscape.com
b1019aff1b
build in public directory too
1998-10-10 05:01:52 +00:00
kipp%netscape.com
ed7a1cfd77
Fixed unix build (hopefully)
1998-10-10 04:38:19 +00:00
kipp%netscape.com
511b63fd8a
new
1998-10-10 04:36:27 +00:00
rpotts%netscape.com
6545833099
Added support for loading images as background URLs...
1998-10-10 04:35:59 +00:00
kipp%netscape.com
55209f7385
Added nsJSRenderingContext to the build
1998-10-10 03:23:52 +00:00
kipp%netscape.com
4c0cfcb101
new
1998-10-10 03:23:12 +00:00
kipp%netscape.com
068caa63c9
Lame support for nsIDOMRenderingContext API
1998-10-09 22:57:36 +00:00
peterl%netscape.com
29a4f81412
added loose hex to rgb conversion (more NAV compliant)
1998-10-08 01:24:38 +00:00
kmcclusk%netscape.com
57c2e37a18
Removed debug printf
1998-10-08 00:30:21 +00:00
dcone%netscape.com
e75f5217d6
small offset problem fixed
1998-10-07 15:14:48 +00:00
dcone%netscape.com
2ac2debd51
fixed an offset bug, setting the orgin setting for the correct grafports
1998-10-06 13:30:46 +00:00
michaelp%netscape.com
c8b0ce6be3
improved documentation. made font handling more robust in the case of
...
unspecified font.
1998-10-02 18:19:30 +00:00
pierre%netscape.com
e6afa1f0e3
as reported by michaelp: set the native font in GetWidth() or DrawString(), not in SetFont().
1998-10-02 09:48:30 +00:00
pierre%netscape.com
577887e723
a little cleanup (removed the commented-out unix code etc...)
1998-10-02 09:44:51 +00:00
michaelp%netscape.com
85317fe4bd
moved GetWidth() APIs from fontmetrics to the renderingcontext.
1998-10-02 01:07:56 +00:00
rpotts%netscape.com
bb182e3b79
Pass a null nsIURLGroup into the ImageGroup initialize method...
1998-10-01 21:46:24 +00:00
rpotts%netscape.com
31b8dfe190
Added a nsIURLGroup to image URL creation. This allows the URLs to be loaded via the same document loader and use the same load attributes...
1998-10-01 21:40:58 +00:00
pierre%netscape.com
d9305ffa14
fixed GetWidth for italic strings
fixed GetMaxAdvance, strikeout, underline, superscript etc...
1998-10-01 19:20:09 +00:00
rods%netscape.com
94edeb4e9f
Added {} block in switch statement to make it compile on Linux
1998-10-01 19:19:45 +00:00
spider%netscape.com
32102604c7
Making LineDDA Much Much Faster ...
1998-10-01 17:00:10 +00:00
dcone%netscape.com
7d64db4775
Took out obsolete file (nsFontsache)
1998-10-01 14:30:47 +00:00
dcone%netscape.com
9ca1c7cbcc
fixed a compile error in the stubbed setfont.
1998-10-01 14:30:07 +00:00
michaelp%netscape.com
4429ccc2df
added new SetFont() that takes fontmetrics.
1998-10-01 03:36:06 +00:00
spider%netscape.com
732d035c7c
Implemented LineStyle's in RenderingContext
1998-09-30 22:24:46 +00:00
michaelp%netscape.com
451b9b2a18
we no longer have a public font cache. removed circular refs between font cache
...
and device context.
1998-09-30 18:58:24 +00:00
peterl%netscape.com
1581380361
made alias font use static strings
1998-09-29 23:38:50 +00:00
pinkerton%netscape.com
1fff0d4271
Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
1998-09-29 17:11:00 +00:00
pierre%netscape.com
18a827d6b3
fix drawing over other apps' windows
1998-09-29 00:20:50 +00:00
dcone%netscape.com
72b9b9f720
fixed double buffer stuff
1998-09-28 17:02:32 +00:00
dcone%netscape.com
31dd51f1e7
fixed some double buffer things
1998-09-28 17:02:08 +00:00
michaelp%netscape.com
bde88858f3
now supports direct draw using MSVC 5.0.
1998-09-27 22:35:54 +00:00
dcone%netscape.com
f4633cbf9b
Added setorigin to init and destructor
1998-09-25 22:19:54 +00:00
pierre%netscape.com
daa9039400
added SetFont + call it before calculating the Width or Height
1998-09-23 09:29:51 +00:00
pierre%netscape.com
ba412395ad
added SetFont
1998-09-23 09:28:54 +00:00
pierre%netscape.com
93a16ac7a9
moved SetFont guts to nsFontMetricsMac
1998-09-23 09:28:05 +00:00
rpotts%netscape.com
f4ce9643d0
Changed the order for deleting nsImageRequsts and the ImageGroupContext...
1998-09-22 00:27:12 +00:00
dcone%netscape.com
d4cca3a958
Fixed alpha layer
1998-09-21 21:46:39 +00:00
dcone%netscape.com
aef6edd3ff
*** empty log message ***
1998-09-21 21:43:58 +00:00
rpotts%netscape.com
11c373c6f3
Added missing NS_RELEASE(...)
1998-09-20 05:28:25 +00:00
mcafee%netscape.com
649d65040d
Adding support for Rhapsody
1998-09-19 08:51:59 +00:00
mcafee%netscape.com
ef1b1b183a
Initial stub version for Rhapsody
1998-09-19 07:31:47 +00:00
pierre%netscape.com
2476c7de27
use UnitConversion macros + some cleanup in DrawString
1998-09-19 01:38:51 +00:00
pierre%netscape.com
07bad234d9
use UnitConversion macros + some cleanup in GetWidth
1998-09-19 01:38:10 +00:00
troy%netscape.com
49ec74342f
Changed some code to use NS_NEWPCOM and NS_DELETEXPCOM
1998-09-17 20:25:26 +00:00
troy%netscape.com
3fda711eb9
Changed some AddRef() and Release() calls to use the XP-COM macros
1998-09-17 19:49:10 +00:00
pierre%netscape.com
30dc76d33f
SetFont supports styles.
Drawstring doesn't draw the 0's in Unicode strings.
1998-09-17 08:08:26 +00:00
pierre%netscape.com
a328dab241
minor cleanup in GetXHeight, GetSuperscriptOffset and GetSubscriptOffset
1998-09-17 08:07:02 +00:00
pierre%netscape.com
3b172e673a
added GetMacFontNumber and CheckFontExistence
1998-09-17 07:51:12 +00:00
valeski%netscape.com
bab22077b8
? network/module/nsNetFactory.cpp
...
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.
M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.
M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.
M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.
M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.
M network/module/nsNetFile.cpp
Fixed memory leak.
M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.
M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID
M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
peterl%netscape.com
a934377cc0
added decoration metrics api
1998-09-17 00:17:43 +00:00
peterl%netscape.com
4a06f95f5d
connected outline metrics
1998-09-17 00:17:23 +00:00
peterl%netscape.com
4fef07a869
changed overline code to use font metrics
1998-09-17 00:15:56 +00:00
peterl%netscape.com
9338d3341a
change scaling to be based on y pixel size
1998-09-17 00:15:22 +00:00
peterl%netscape.com
f512946077
added api for decoration metrics
1998-09-17 00:14:45 +00:00
peterl%netscape.com
bf2982d411
added decoration_none
1998-09-17 00:13:15 +00:00
pierre%netscape.com
128a5d4022
add refcount in GetFontMetrics + fix TextSize
1998-09-17 00:07:31 +00:00
pierre%netscape.com
22a9f5b2d7
fix FontMetrics (getting better but still temporary code)
1998-09-16 22:49:36 +00:00
pierre%netscape.com
65606bb822
fix SetFont (still temporary code)
1998-09-16 22:46:36 +00:00
dcone%netscape.com
9761f1f6d2
fixed some image bugs
1998-09-16 16:28:33 +00:00
dcone%netscape.com
3b6d9904a7
Fixed a few image bugs
1998-09-16 16:28:07 +00:00
dcone%netscape.com
d41e8e7875
fixed colorspace stuff
1998-09-16 16:27:36 +00:00
kostello%netscape.com
8c37a3839d
Changed to match new Widget interfaces.
1998-09-14 20:56:27 +00:00
kmcclusk%netscape.com
014baf696e
Fix for Irix build bustage.
1998-09-12 00:53:57 +00:00
thom%netscape.com
054b76f8f1
Added return value to GetHints method to make compiler happy
1998-09-12 00:08:31 +00:00
kmcclusk%netscape.com
ef16b5c2da
Added 8bit visual support.
1998-09-11 23:27:22 +00:00
pierre%netscape.com
502a96beeb
fix SetClipRegion + FillRect / added a temp SetFont / dispose mMainRegion
1998-09-11 10:37:36 +00:00
pierre%netscape.com
9938e484a0
in the works / return hard-coded values instead of 0's
1998-09-11 09:12:37 +00:00
thom%netscape.com
15836e1fc2
added new version of getWidth
1998-09-11 01:46:45 +00:00
thom%netscape.com
d03c80d4b8
Added new version of getWidth
1998-09-11 01:44:43 +00:00
kipp%netscape.com
00188db105
Added new font intropsection methods to nsIFontMetrics
1998-09-10 23:41:25 +00:00
spider%netscape.com
2b382cbdf3
Fix to return app units instead of twips in GetWidth API call
1998-09-10 02:08:20 +00:00
kipp%netscape.com
d91cabd909
Support reconnect callback
1998-09-09 16:17:55 +00:00
kipp%netscape.com
9faa9b5100
Added GetImageFromStream
1998-09-09 16:15:40 +00:00
kipp%netscape.com
b24ecad217
Added Reconnect call-back to NS_NewImageNetContext
1998-09-09 16:14:49 +00:00
kipp%netscape.com
67d0797006
whitespace fixup
1998-09-09 16:14:16 +00:00
kipp%netscape.com
1503b1eb54
Set fast-8bit-text hint on x windows
1998-09-09 01:04:29 +00:00
kipp%netscape.com
89eb6a93d1
Use a buffer to translate unichar's into XChar2b's
1998-09-08 23:52:29 +00:00
kipp%netscape.com
d22f51e6c1
Added a buffer used by DrawString
1998-09-08 23:52:10 +00:00
kipp%netscape.com
b2bb8099f6
Whitespace tidy up
1998-09-08 23:51:54 +00:00
kipp%netscape.com
aa00e6c88e
Fixed unix compile bugs
1998-09-08 23:17:12 +00:00
kipp%netscape.com
56d75edefe
Implement revised font metrics API
1998-09-08 22:32:07 +00:00
kipp%netscape.com
081ea6d3e8
Revised API
1998-09-08 22:31:51 +00:00
kipp%netscape.com
eec208e30b
Destroy font metrics before releasing it
1998-09-08 22:31:28 +00:00
dcone%netscape.com
7c2b0e72a1
added a routine gethints() needed by the interface.
1998-09-08 22:13:10 +00:00
kipp%netscape.com
40af4d3fae
Added GetHints to nsIRenderingContext API
1998-09-07 19:12:44 +00:00
pierre%netscape.com
58347eeda0
removed explicit creation of static object ImageManagerInit because "__initialize" was added to the project
1998-09-05 08:12:08 +00:00
pierre%netscape.com
f546442fdd
added __initialize and __terminate
1998-09-05 08:03:28 +00:00
dcone%netscape.com
d8f5092802
fixed clipping
1998-09-04 21:12:49 +00:00
dcone%netscape.com
8a94023c17
fixed the offscreen buffer mac things
1998-09-04 17:57:36 +00:00
dcone%netscape.com
faa39583ca
Mac Implementation
1998-09-04 17:57:04 +00:00
pierre%netscape.com
4689aa292a
fix a crash in the destructor (don't delete mFrontBuffer)
1998-09-04 00:33:49 +00:00
mcafee%netscape.com
3bc9c90870
More solaris breakage, nsImageUnix::BuildImage() needs to return status.
1998-09-03 10:51:54 +00:00
thom%netscape.com
72329b649a
Copy and paste error (SomethingClassWin needed to change to somethingClassMac)
1998-09-03 02:54:11 +00:00
rods%netscape.com
7a0083eb26
Fixed a bug in ConvertPixel
1998-09-02 19:51:32 +00:00
rods%netscape.com
cb6aa13f10
Implemented ConvertPixel
1998-09-02 19:33:01 +00:00
rods%netscape.com
242186fc6a
Implemented ConvertPixel
1998-09-02 19:26:43 +00:00
rods%netscape.com
31602cb8a5
Added ConvertPixel to nsIDeviceContext
1998-09-02 19:24:05 +00:00
kmcclusk%netscape.com
2dcc8bf3de
More 8BIT visual support.
1998-09-01 23:22:49 +00:00
rods%netscape.com
ea7109122d
Cast mWidget to Widget
1998-09-01 23:21:38 +00:00
rods%netscape.com
c5913cbbd1
Added InstallColormap call to ConvertPixel
1998-09-01 22:44:17 +00:00
rods%netscape.com
02b7d244c0
Exported nsDeviceContentUnix.h its needed by nsWindow for SetForegroundColor
...
and SetBackgroundColor
1998-09-01 22:43:38 +00:00
kmcclusk%netscape.com
b3d916497c
Add some 8-bit color support + removed bit conversion in nsImageUnix.cpp Draw.
1998-09-01 21:24:32 +00:00
kmcclusk%netscape.com
7fd790749f
Added support for 16-bit visuals.
1998-09-01 20:30:42 +00:00
warren%netscape.com
b89e7efaca
Renamed NSRepository to nsRepository.
1998-09-01 00:26:28 +00:00
warren%netscape.com
4dbedbd8ce
Added closure argument to nsHashtable::Enumerate. Renamed NSRepository to nsRepository.
1998-09-01 00:23:47 +00:00
spider%netscape.com
89e25f98f6
Updates for new XPCOM interface changes to the font metrics
1998-08-31 20:11:08 +00:00
kostello%netscape.com
f86a9e9223
These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value.
1998-08-31 19:09:55 +00:00
dcone%netscape.com
8144e02ebc
fixed some updating problems
1998-08-31 15:14:48 +00:00
troy%netscape.com
ad9a20da0b
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
rpotts%netscape.com
4a9aac62bf
Added casts to allow building with STRICT defined...
1998-08-29 06:19:23 +00:00
rpotts%netscape.com
9c9e610c96
Added specific GDI casts to allow building when STRICT is defined
1998-08-29 06:18:17 +00:00
troy%netscape.com
2882214b81
Added some comments
1998-08-29 03:26:33 +00:00