Commit Graph

1845 Commits

Author SHA1 Message Date
neeti%netscape.com
fea487ad05 *** empty log message *** 1999-11-24 03:49:11 +00:00
neeti%netscape.com
cd72e89586 fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp 1999-11-24 03:41:48 +00:00
sfraser%netscape.com
164130eb60 Make the image manager a service, part of neeti's checkin that follows. r=neeti. 1999-11-24 03:39:30 +00:00
Jerry.Kirk%Nexwarecorp.com
844c3ae92b Changed some logging to be more helpful in tracking down graphic rips.
r=kedl
1999-11-23 13:06:27 +00:00
Jerry.Kirk%Nexwarecorp.com
d2b79c1047 Increased size of static Font List buffer to support new fonts
being released.  This should really be dynamic.
r=kedl
1999-11-23 13:02:21 +00:00
erik%netscape.com
2bca015847 bug 8801; new font enumerator for GTK for font prefs UI; r=ftang 1999-11-23 00:43:41 +00:00
erik%netscape.com
32cdb216fc bug 8801; better error handling for new font enumerator; r=ftang 1999-11-23 00:12:36 +00:00
erik%netscape.com
679218d2f4 bug 8801; new font enumerator for font prefs UI; r=ftang 1999-11-22 19:39:13 +00:00
erik%netscape.com
b9bc3d0cf6 bug 8801; CID for new font enumerator for font prefs UI; r=ftang 1999-11-22 19:34:31 +00:00
erik%netscape.com
6e6a7ea520 bug 8801; new font enumeration API for font prefs UI; r=ftang 1999-11-22 19:33:25 +00:00
neeti%netscape.com
0d088c00a3 bug 15821. r=sfraser. Fixed memory leaks in ImageRequestImpl. 1999-11-22 14:27:04 +00:00
danm%netscape.com
0c12e35c43 older and wiser, making previous attempt to return correct clientrect actually work. r:saari@netscape.com 1999-11-19 07:56:12 +00:00
ftang%netscape.com
47a0cc489f change the charset name to correct case for ISO-8859-x 1999-11-19 01:18:32 +00:00
danm%netscape.com
562593f8b3 windows device context now reports ClientRect in twips, like everyone else. fixes bug 13392. r:saari@netscape.com. 1999-11-19 01:15:46 +00:00
Jerry.Kirk%Nexwarecorp.com
97ac13763b Added a few comments to remind me whats going on.
r=kedl
1999-11-18 13:03:16 +00:00
Jerry.Kirk%Nexwarecorp.com
c62b7e52d6 turning off automatic generation of BMP files for each image drawn.
r=kedl
1999-11-18 13:02:21 +00:00
rbs%maths.uq.edu.au
e21954fcca Ensure all the control paths return value 1999-11-18 03:56:38 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com
814300bbf7 finish unresolved symbols checkin
r dp@netscape.com
# 18896
1999-11-16 23:24:44 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
slamm%netscape.com
f66b0b874e Simple warning fix. Change loop index to unsigned (It starts at zero and is always incremented.) 1999-11-16 02:02:59 +00:00
Jerry.Kirk%Nexwarecorp.com
51615a8567 Fixes for on screen drawing in viewer.
r=kedl
1999-11-15 22:05:16 +00:00
dcone%netscape.com
75ff68cca8 Fixed the MoveTo to move to the x and y instead of the y and y. R=rods 1999-11-12 15:10:40 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
Jerry.Kirk%Nexwarecorp.com
190fc8d241 A re-write of Rendering and Drawing Surface to fix a lot of
inherent bugs that became apparent when the new Chrome was applied.
r=kedl
1999-11-12 02:18:36 +00:00
syd%netscape.com
e7eb8f50e5 Wire up margin settings from dialog. r=dcone 1999-11-11 14:20:19 +00:00
rbs%maths.uq.edu.au
b357f84d41 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for public: API of the GetBoundingMetrics() method for accurate measurements of a string in order to allow precise positionning when processing MathML. review: Erik, Shyjan. 1999-11-11 04:24:51 +00:00
rbs%maths.uq.edu.au
53c224df12 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for windows: Erik van der Poel erik@netscape.com's code for the support of the Symbol font. review: Shyjan, rbs. My changes to DrawString to use the baseline as the reference point and changes aimed at computing the bounding metrics. review: Erik, Shyjan. 1999-11-11 04:19:25 +00:00
rbs%maths.uq.edu.au
d603ad91be [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for gtk: Shyjan Mahamud mahamud@cs.cmu.edu's changes to enable the symbol font on Linux, as well as the fix for the CSS font-family bug, and the computation of the bounding metrics. review: Erik, rbs. 1999-11-11 04:16:54 +00:00
rbs%maths.uq.edu.au
54da332bc0 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for ps: Empty hooks to make the code compile while awaiting implementation. 1999-11-11 04:12:33 +00:00
pavlov%netscape.com
18ae612fa0 remove #ifdef DEBUG_pavlov #define NOISY FONTS blah blah r=paulmac,mcafee 1999-11-10 07:31:01 +00:00
bienvenu%netscape.com
1952aa4e87 fix build bustage, use PR_MAX instead of MAX 1999-11-10 01:02:30 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
297dabc11c updated license boilerplated to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:24:22 +00:00
dmose%mozilla.org
71da3735b3 updated license boilerplated to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:11:51 +00:00
dmose%mozilla.org
2270b25a3c updated license boilerplated to xPL 1.1, a=chofmann 1999-11-06 02:06:26 +00:00
sfraser%netscape.com
9269552e73 Fixes for 16723 -- fix error handling so that errors from image allocation are propogated back to imglib.. r=pnunn, a=chofmann. 1999-11-04 22:47:24 +00:00
sfraser%netscape.com
93d9d9b39c Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. Pass a real nsDrawingSurface to the image, instead oif a cast GrafPtr. r=pnunn, a=chofmann. 1999-11-04 22:36:21 +00:00
sfraser%netscape.com
4c3161dbe8 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:32:22 +00:00
sfraser%netscape.com
13525c0af2 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
neeti%netscape.com
b6a832c952 fix for MLK bug 15818, every ImageURLImpl leaks.r=pnunn, a=chofmann. 1999-11-04 20:24:25 +00:00
kmcclusk%netscape.com
851297a2ac nsIScriptableRegion instances can now be created on WIN32.
nsbug=12465; r=beard@netscape.com
1999-11-03 01:37:12 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
pavlov%netscape.com
903f9af6c0 add scriptable region to unix factory fixes bug 12465 r=slamm 1999-11-02 21:57:14 +00:00
kipp%netscape.com
97eece8bc4 r=ftang; Fixed regression in linux font rendering caused by case sensitivity being required for the character set lookups 1999-11-02 18:20:05 +00:00
pavlov%netscape.com
07dff78103 clamp down sizes < 2^15 r=dbaron@fas.harvard.edu r=paulmac ;) fixes bug 2564 1999-11-02 03:38:23 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
beard%netscape.com
59efe8a337 switched to NS_IMPL_ISUPPORTS1, no longer supports QI to nsIRegion. r=pavlov 1999-10-31 02:26:10 +00:00
beard%netscape.com
98f50c9632 removed scriptable region hackery, switched to NS_IMPLE_ISUPPORTS1. r=pavlov 1999-10-31 02:26:06 +00:00
beard%netscape.com
b1eae55163 cleaned up factory to use nsCOMPtrs, modern NS_IMPL* macros, support for creating scriptable regions. r=pavlov 1999-10-31 02:26:03 +00:00
beard%netscape.com
f39012960d added NS_SCRIPTABLE_REGION_CID. r=pavlov 1999-10-31 02:25:59 +00:00
pavlov%netscape.com
bd5ef3dfd1 better fix for twips rounding problems patch_from=dbaron@fas.harvard.edu r=me 1999-10-31 00:09:52 +00:00
beard%netscape.com
c7eb9b3163 MLK: fix device context leak, bug=15380, r=scc 1999-10-30 20:18:31 +00:00
Jerry.Kirk%Nexwarecorp.com
e0efca4c1d Fixing FillPolygon code in nsRenderingPh.cpp
Adding debug code in nsDrawingSurfacePh  to find the crash.
r=kedl
1999-10-29 23:18:16 +00:00
Jerry.Kirk%Nexwarecorp.com
f299efce70 Fixes for drawing the new Chrome. Had to explicitly call PgFlush
to flush the draw stream from the memory context into the off screen
buffer. I think this is a bug in Photon, but for now this is the fix.
r=kedl
1999-10-29 12:53:58 +00:00
pavlov%netscape.com
e2212a0323 fix for 15942 and some performance tests/code r=syd 1999-10-29 08:24:09 +00:00
nisheeth%netscape.com
74dc9a0cf4 r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations. 1999-10-27 22:45:05 +00:00
pavlov%netscape.com
4e07d5df57 check for null r=alecf 1999-10-27 05:51:05 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
scc%netscape.com
c84b487139 Don't |delete| interface pointers. Use |AddRef()| and |Release()| instead. Bug #16762, r=pinkerton. 1999-10-26 00:49:33 +00:00
Jerry.Kirk%Nexwarecorp.com
88adb975b9 Fixing problem with &nbsp; being put into empty text fields
This is relly more of a hack, not a fix.
Bug 16886	r=kedl
1999-10-26 00:45:24 +00:00
dp%netscape.com
e4b3bffbde bug#16742 Fixing delete on nsISupports. Thanks for patch from
<heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing
operating on refcnt directly. r=dp
1999-10-23 05:45:41 +00:00
pnunn%netscape.com
498ae50fdc bug#16785: forgot to checkin the include file change. Removing old, obsolete get image type call.
pnunn.
1999-10-22 21:46:56 +00:00
pnunn%netscape.com
be747bfa82 bug#16785. r:neeti@netscape.com. Clean up after changing mime handling in imglib. 1999-10-22 21:06:28 +00:00
dcone%netscape.com
df6c11149c Fixed the rounding on some transform math. r=kmkclusky 1999-10-22 13:28:22 +00:00
pnunn%netscape.com
ba5f434f1b bug#13505. Replacing str functions with nsCRT functions, nspr functions.
pnunn@netscape.com  r:jfrancis@netscape.com
1999-10-21 22:23:24 +00:00
pnunn%netscape.com
caab8220a0 bug# 16785. r: dp, valeski, neeti. Send mimetype info from channel to imglib.
If no decoder, sniff data stream for mime info.
1999-10-19 21:49:20 +00:00
Jerry.Kirk%Nexwarecorp.com
0641cceb0c Fixes to correct lots of extra drawing because of incorrectly clipped regions
Bug #16698 r=kedl
1999-10-19 20:50:17 +00:00
Jerry.Kirk%Nexwarecorp.com
b7acabf1e5 Various fixes to correct bugs in nsRegionPh and to correct clipping
done by the double buffer routines.
Bug# 16698 r=Michael.Kedl@Nexwarecorp.com
1999-10-19 00:27:56 +00:00
warren%netscape.com
73b153a156 Made it implement nsIURL as well as nsIURI. 1999-10-18 19:07:16 +00:00
warren%netscape.com
d707c11a4e Cleanup to use nsCOMPtrs. 1999-10-18 19:06:57 +00:00
pavlov%netscape.com
a9baa2ba22 take 2 static CID's out of two different functions and combine them into 1 r=alecf fixes bug #15776 1999-10-13 05:42:05 +00:00
pavlov%netscape.com
89811a5e3e build nsScriptableRegion.cpp on windows and linux r=pinkerton ********* WORK TO FIX BUG 12465 ********* 1999-10-12 22:53:41 +00:00
dcone%netscape.com
312a183d53 fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk. 1999-10-12 13:32:34 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
pavlov%netscape.com
2a8a990380 fix cursor blinking on linux r=ramiro 1999-10-12 00:44:07 +00:00
kmcclusk%netscape.com
a8d827542e Implemented nsRenderingContextWin::CopyClipRegion. bug 13913; r=rods@netscape.com 1999-10-12 00:05:04 +00:00
ramiro%netscape.com
06980d0827 Fix for bug 13522. Duplicate nsTimer.cpp files. Removing the old ones.
r=pavlov@netscape.com,sfraser@netscape.com.
1999-10-11 04:01:35 +00:00
ramiro%netscape.com
3849c0fcb8 Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.
1999-10-11 03:48:21 +00:00
pavlov%netscape.com
f2d1718e03 Do not draw images if we have an empty clip region r=syd fixes bug #11086 1999-10-11 03:04:59 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
dcone%netscape.com
85be43853c Took out a pure virtual function CreateRenderingContext() that was declared in the interface 1999-10-07 20:43:03 +00:00
warren%netscape.com
1df0904cc1 Fixed build warnings. 1999-10-06 08:51:48 +00:00
kipp%netscape.com
de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com
c8568cd162 Whitespace tweak 1999-10-05 14:48:58 +00:00
kipp%netscape.com
cdc696924a Added in a way to shutdown the image manager 1999-10-05 14:48:44 +00:00
kipp%netscape.com
a43ad60044 Remove some compiler warnings 1999-10-05 14:48:01 +00:00
rpotts%netscape.com
adf7433a4c bug #14181. Reviewed by pnunn. Fixed crash when loading large (or slow) animated GIF images on linux. 1999-10-05 08:36:43 +00:00
kipp%netscape.com
be1c67e0e0 r=ramiro; fix uninitialized refcnt bug that triggers an assertion when you're lucky 1999-10-05 00:31:55 +00:00
kipp%netscape.com
b45407f465 r=ramiro; fixed memory leak of a font-metrics object; also added in ctor/dtor counting for leak debugging 1999-10-04 23:48:55 +00:00
troy%netscape.com
da1cf6530f Performance optimizations. r=kmcclusk@netscape.com
I made the commonly accessed stock objects global, and I optimized the
SetupSolidPen() code
1999-10-04 23:42:28 +00:00
beard%netscape.com
0a7a3c72b6 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:23:01 +00:00
troy%netscape.com
cbc35e0c2d Optimized rendering context setup and solid brush handling 1999-10-01 14:19:36 +00:00
Jerry.Kirk%Nexwarecorp.com
9baf9f953d Added nsGraphicState and made changes in nsRenderingContext to use it.
General clean-up of code for Photon.
1999-09-30 12:21:33 +00:00
mcafee%netscape.com
20253a4208 Checking for null pointer. r=pavlov 1999-09-28 01:46:58 +00:00
sfraser%netscape.com
50971ff0c1 Bug 14877 -- lib/xp removal; removed unneeded files. r sdagley, a chofmann. 1999-09-26 00:41:31 +00:00
kipp%netscape.com
a024d42d15 Added FlushCache method 1999-09-25 20:04:54 +00:00
ftang%netscape.com
a5c53d33fa turn off the very-slow-in-worst-cases ATSUI fallback 1999-09-22 06:22:43 +00:00
kmcclusk%netscape.com
3c8c73a581 Added support for font weights 1999-09-20 21:02:01 +00:00
rpotts%netscape.com
578e2e3580 The mLoadGroup is now a weak reference. This prevents the loadgroup from leaking if the ImageNetContext is not released... The lifetime of the loadgroup should always be greater than that of the imagenetcontext... 1999-09-20 05:29:28 +00:00
beard%netscape.com
4305f02f91 implemented CopyClipRegion(). 1999-09-18 19:54:48 +00:00
rpotts%netscape.com
b1b8bfd489 removed ifdef preventing the loadgroup from being released. 1999-09-18 07:00:39 +00:00
dcone%netscape.com
d3c0415f25 Added 16 bit support for the DIB conversion 1999-09-17 14:14:17 +00:00
troy%netscape.com
bdcb6263e6 Changed GetWidth() and DrawString() to reduce the number of SelectObject()
calls
1999-09-17 05:06:40 +00:00
kipp%netscape.com
a18ab4f352 Tweaked strike-out position to be more appropriate 1999-09-17 00:37:15 +00:00
Jerry.Kirk%Nexwarecorp.com
8b6a7c86f7 Added some error checking 1999-09-16 19:17:12 +00:00
cls%seawood.org
8c1b2dd30b Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 18:48:12 +00:00
cls%seawood.org
26a4d6dc7d Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:54:18 +00:00
dcone%netscape.com
11fb5455d7 Mac Support 1999-09-16 14:17:39 +00:00
dcone%netscape.com
cbc0b9a8bb First Checked In. 1999-09-16 14:08:26 +00:00
pavlov%netscape.com
1d7b2630a8 fix runtime brokenness on unix 1999-09-16 07:54:59 +00:00
pavlov%netscape.com
80d5267c63 remove some excess code 1999-09-16 05:46:52 +00:00
pnunn%netscape.com
710a4d4eaf Change net/gfx/imglib buffer size. pnunn. 1999-09-16 01:22:44 +00:00
cls%seawood.org
4a6f88ab32 Reorder gtk headers to remove MIN redefined warnings 1999-09-16 00:21:18 +00:00
mcafee%netscape.com
ac4aed8628 Commenting out an annoying printf on unix. Unix-only. 1999-09-15 23:54:52 +00:00
pavlov%netscape.com
5df666c73e fix for 4290 1999-09-15 20:12:10 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
dcone%netscape.com
a9e471fe56 Use tempmemory if the first NewGWorld() call fails. 1999-09-14 21:35:58 +00:00
ftang%netscape.com
f259e4dd80 Check in Arabic/Hebrew rendering code from the net. 1999-09-14 07:06:54 +00:00
pierre%netscape.com
12060d673b #11862 "[PP] 'ex' length measurement is smaller on Mac": changed the ratio of lowercase/uppercase to 5/7 = 0.71. 1999-09-14 01:17:47 +00:00
ftang%netscape.com
360a618df5 Unicode 3.0 tweak 1999-09-13 23:30:06 +00:00
kmcclusk%netscape.com
1d54e30b10 bug #6553. Removed #ifdef XP_UNIX in DeviceContextImpl::LoadIconImage which prevented
it from loading an icon under Unix.
1999-09-13 20:45:23 +00:00
ramiro%netscape.com
9dfda74d16 stub. 1999-09-13 09:00:55 +00:00
cls%seawood.org
ea33748c0d Add -D_BSD_SOURCE to defines for linux until prinet.h includes __STRICT_ANSI__ patch 1999-09-13 06:10:18 +00:00
cls%seawood.org
9403bee785 Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h> 1999-09-13 05:09:53 +00:00
pavlov%netscape.com
aba82a000c remove debugging code 1999-09-13 04:22:43 +00:00
pavlov%netscape.com
a364af92cc fix for bug 9828 1999-09-13 04:21:02 +00:00
pavlov%netscape.com
8d83bdd6f4 CopyClipRegion code for other platforms 1999-09-13 03:53:47 +00:00
pavlov%netscape.com
66e73b18eb make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method 1999-09-13 03:42:37 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
cls%seawood.org
adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
colin%theblakes.com
0b912d4466 Add MOZ_TIMER_LIBS to EXTRA_DSO_LDOPTS 1999-09-12 12:43:19 +00:00
pierre%netscape.com
d4ecac9123 Partial fix for #3412 "GWorld allocations should be smarter": the offscreen world is now allocated with 'useTempMem'. 1999-09-11 01:15:57 +00:00
blizzard%redhat.com
99bebb7a60 increase default DPI to 100. a=leaf 1999-09-10 16:00:31 +00:00
cls%seawood.org
9dcd65881b gfx is built before widget, which contains the timers, so it cannot link against MOZ_TIMER_LIBS in a clobber build. 1999-09-10 12:50:22 +00:00
alecf%netscape.com
8caaebb956 fully resolve library symbols for xpcshell 1999-09-10 09:27:22 +00:00
peterl%netscape.com
8a922097dd changing font weight to step counter of 1 (vs 101) 1999-09-10 05:49:17 +00:00
briano%netscape.com
dc485a3dc0 General cleanup. 1999-09-10 01:48:51 +00:00
warren%netscape.com
40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
colin%theblakes.com
a28a7e6198 Back out last change 1999-09-09 13:43:45 +00:00
colin%theblakes.com
2288a30a75 Add MOZ_TIMER_LIBS to EXTRA_DSO_LDOPTS 1999-09-09 12:57:34 +00:00
ramiro%netscape.com
3e8b0f31f1 Remove timer stuff which long ago moved to another place. 1999-09-09 09:40:40 +00:00
briano%netscape.com
817ba95486 Removed the obsolete non-NECKO leftovers. 1999-09-08 23:12:13 +00:00
colin%theblakes.com
c5fa4d4517 Define EXTRA_DSO_LDOPTS as -limg_s and -lmozutil_s 1999-09-08 11:40:35 +00:00
kmcclusk%netscape.com
4379949d91 Added gfx pixel coverage test to repository. Not added to build yet. 1999-09-08 00:03:25 +00:00
beard%netscape.com
5a8592a19f added nsScriptableRegion.cpp 1999-09-05 18:45:34 +00:00
beard%netscape.com
25883254da bug #12465: QueryInterface now creates an nsScriptableRegion instance, when queried for nsIScriptableRegion. 1999-09-05 18:44:56 +00:00
beard%netscape.com
9cecbfb42e XP adapter class for scriptable regions. 1999-09-05 18:36:36 +00:00
pavlov%netscape.com
195848b693 use the macros for NS_IMPL_ISUPPORTS[0-3]
make nsImageGTK a bit happier when it gets 8bit images
remove excess code
1999-09-04 01:33:47 +00:00
bruce%cybersight.com
64a22d4ee2 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 14:08:47 +00:00
Jerry.Kirk%Nexwarecorp.com
7f966df66f More changes to enable Printing under Photon 1999-09-02 19:11:01 +00:00
dcone%netscape.com
247c36781e Added a grayscale image output method 1999-09-02 13:48:51 +00:00
danm%netscape.com
b78875c8f5 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
Jerry.Kirk%Nexwarecorp.com
799ba9aeb2 Removed PR_LOG hack. 1999-09-02 01:03:09 +00:00
Jerry.Kirk%Nexwarecorp.com
04140ca9a0 Fixed a problem where fontname was declared "static" from some leftover
debugging effort. This was causing major horkage for us for the last
2 weeks. Who woulda thunk it!
1999-09-02 01:01:31 +00:00
ftang%netscape.com
6c8dbe79f4 fix problem for contextual languages. 1999-09-01 23:06:03 +00:00
kmcclusk%netscape.com
06c27914cf bug#8590 Commented out code which clears the image buffer, so performance will not suffer. 1999-09-01 22:00:14 +00:00
kipp%netscape.com
c565dcc0a2 Removed obsolete header from export list 1999-09-01 20:56:18 +00:00
kipp%netscape.com
085619fdc8 removed files: mozilla/gfx/src/nsJSRenderingContext.cpp 1999-09-01 01:03:56 +00:00
kipp%netscape.com
a824a98378 Excised nsIDOMRenderingContext 1999-09-01 01:03:10 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
ramiro%netscape.com
18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
pavlov%netscape.com
34d12a0dec change the default dpi from 96 to 100 so that we get readable fonts 1999-08-31 07:27:06 +00:00
kmcclusk%netscape.com
4a79834ac3 bug #8590 Modified nsImageWin::Init to call memset after allocating buffer for bits. 1999-08-30 22:35:10 +00:00
ftang%netscape.com
b3d760cfd9 add X11Johab so we can render precomposed hangul by using hanterm fonts 1999-08-30 22:11:16 +00:00
ftang%netscape.com
7a9f256f38 add cns11643 plan 3-7, TIS-620. Also make the HIISO-8859-8 render from right to left 1999-08-30 06:39:26 +00:00
shawnp%earthling.net
b58322d0a2 Replaced calls to GetPixmap() to GetPaintDevice(). Now pass in a
QPaintDevice into nsDrawingSurface instead of a QPixmap. No longer output
bogus characters when printing debug in DrawString(). Now display Unicode
strings properly.
1999-08-30 02:26:59 +00:00
shawnp%earthling.net
2796dafb02 Changed the type of one parameter in Init() to be more generic. 1999-08-30 02:22:33 +00:00
shawnp%earthling.net
79924b2d77 Replaced QPixmap member variable with a more generic QPaintDevice. Renamed
GetPixmap() to GetPaintDevice().
1999-08-30 02:21:32 +00:00
shawnp%earthling.net
b71d315004 Replaced QPixmap member variable with a more generic QPaintDevice. Renamed
GetGC() to GetPaintDevice().
1999-08-30 02:19:47 +00:00
blizzard%redhat.com
3998e0c126 clean up a couple of leaks 1999-08-30 00:43:08 +00:00
sspitzer%netscape.com
733ebc7ce7 ignore generated Makefile 1999-08-28 18:22:06 +00:00
pinkerton%netscape.com
d86c3bd1c4 Enabling gfx idl 1999-08-27 21:00:35 +00:00
pinkerton%netscape.com
d143275b34 turning on gfx idl 1999-08-27 20:58:59 +00:00
dcone%netscape.com
9c92709baa Fixed a conversion of decimal to comma 1999-08-27 20:55:16 +00:00
dcone%netscape.com
2a2df6fd34 Fixed GetDeviceSurfaceDimensions() so the width and height are in appunits, and the routines who use them will convert properly. 1999-08-27 14:22:14 +00:00
Jerry.Kirk%Nexwarecorp.com
b0c37033b5 -Removed the ostream_hack, because now we link in libstdc++ 1999-08-27 13:30:09 +00:00
syd%netscape.com
338c9f9e6d Remove leading space from XLFD string. 1999-08-27 08:13:10 +00:00
pinkerton%netscape.com
f4c6555b98 doing the right thing for xpidl. 1999-08-27 03:52:51 +00:00
pinkerton%netscape.com
1157b24fc7 First Checked In. 1999-08-27 03:52:38 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
blizzard%redhat.com
81b78327a2 merge font changes from gtk 1999-08-26 13:29:26 +00:00
pavlov%netscape.com
481a9ee3bd patch from Alexander Larsson so we display true type fonts from xfstt properly 1999-08-26 08:58:07 +00:00
pavlov%netscape.com
04dd952104 fix for bug #4290 1999-08-26 03:51:33 +00:00
dcone%netscape.com
d768ee5389 Fixed warnings 1999-08-25 22:03:04 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
blizzard%redhat.com
3561c6cd61 fix endian detection problems for sparc 1999-08-25 13:20:59 +00:00
blizzard%redhat.com
3691902f5c make sure that prototypes match in the header file and the implementation 1999-08-25 01:56:41 +00:00
pnunn%netscape.com
b701efead0 Modifications needed for Necko and cleaning up api to imglib. pnunn. 1999-08-24 19:44:45 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com
b77416df71 backout back buffer cleanup for now. 1999-08-24 01:48:15 +00:00
leaf%mozilla.org
d87d853804 Backing out changes that are causing massive leaks till the changes
can be fixed.
1999-08-24 00:22:31 +00:00
Dale.Stansberry%Nexwarecorp.com
30cff6641f - Fixed a DrawingSurface destructor problem
- Added fail-safe in CheckFont...
1999-08-23 13:53:43 +00:00
cls%seawood.org
08c63660b7 Removed checks for unused headers, libs and functions.
Added --enable-x11-shm option for gfx-gtk shm support.
1999-08-22 20:25:26 +00:00
ramiro%netscape.com
346c270368 workaround build issue 1999-08-22 16:08:36 +00:00
ramiro%netscape.com
4dbdb000c7 Removed handling of NS_COPYBITS_TO_BACK_BUFFER in CopyOffScreenBits().
Remove usage of secondary offscreeen buffer.
1999-08-22 14:48:12 +00:00
mccabe%netscape.com
17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
beard%netscape.com
1a1827f778 Workaround for non-optimal port management, cleaned up some TARGET_CARBON #ifdefs, which could leak regions, or at share port-owned clip regions with the global pool. 1999-08-21 23:41:34 +00:00
ramiro%netscape.com
b65f2abbfc Link in neckoutil. 1999-08-21 17:03:07 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com
557c3f3eaa Remove an old global variable hack i added in a moment of weakness. 1999-08-21 08:14:14 +00:00
beard%netscape.com
7b6579c1f2 Added helper class StRegionFromPool to make it useable from multiple source files. 1999-08-20 23:16:53 +00:00
kmcclusk%netscape.com
59cf499e7f Removed secondary drawing surface used when CopyOffScreenBits passing the NS_COPYBITS_TO_BACK_BUFFER flag
NS_COPYBITS_TO_BACK_BUFFER  is obsolete.
1999-08-20 22:50:24 +00:00
Dale.Stansberry%Nexwarecorp.com
0b85cb4b6f - Fixed a DrawingSurface destruction problem 1999-08-20 14:17:08 +00:00
blizzard%redhat.com
0e492c652b do proper endian detection for rgb code. this should fix sparc. 1999-08-20 13:18:55 +00:00
kmcclusk%netscape.com
c73496735f added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away 1999-08-19 22:34:22 +00:00
kmcclusk%netscape.com
70bcedc4e3 bug #5403 Added code to properly release NetService and IOServices 1999-08-19 22:33:09 +00:00
pnunn%netscape.com
f155098808 Put in check for error return. pnunn. 1999-08-19 22:23:48 +00:00
pnunn%netscape.com
6ba09ec55a Cleaning up returns across api. pnunn@netscape.com 1999-08-19 22:17:21 +00:00
ramiro%netscape.com
02a4b4ec8a Fix dumb mistake that was breaking BEOS. 1999-08-19 14:07:29 +00:00
ftang%netscape.com
47f17b7308 fix mapping getter problem 1999-08-18 07:34:00 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
2835075ab2 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

Also landed the remainder of Shawn Packwood's qt port.
1999-08-17 09:33:48 +00:00
ramiro%netscape.com
598cf733d9 Comment out broken code. Ignore generated files. 1999-08-17 06:59:45 +00:00
shawnp%earthling.net
f951f1f9e3 Initial version of Qt gfx files. Still pretty raw in most places. 1999-08-12 01:52:44 +00:00
shawnp%earthling.net
45b641de24 Initial checkin of Qt gfx files. Still pretty raw in a lot of places. 1999-08-12 01:51:25 +00:00
dcone%netscape.com
9ea877130d fixed image printing -- with a non-printer hdc 1999-08-10 21:58:06 +00:00
pnunn%netscape.com
9b5314bc61 Added test for error. pnunn. 1999-08-09 21:25:39 +00:00
pinkerton%netscape.com
209904a249 Fix for bug 8292. MacGFX now understands underline in CSS. 1999-08-06 22:16:33 +00:00
dcone%netscape.com
141a80e0c8 Cleared out the memory after it was allocated 1999-08-06 17:39:32 +00:00
mcafee%netscape.com
a605ba0feb Fix warnings 1999-08-05 06:04:28 +00:00
ramiro%netscape.com
692e429935 Add support for building more than one toolkit at once. Currently #ifdefed
off as part of the toolkit link time exorcism.
1999-08-05 05:12:56 +00:00
briano%netscape.com
642438c467 Now it should compile properly on all platforms. Fixes the SunOS Motif build. 1999-08-05 03:04:06 +00:00
pinkerton%netscape.com
ff7be90535 exporting the region pool stuff so it can be accessed from Widget. 1999-08-04 20:14:54 +00:00
Jerry.Kirk%Nexwarecorp.com
d953d51eba Added checks for NULL after mallocs 1999-08-03 20:39:51 +00:00
gagan%netscape.com
d540ac2701 Fixed the crash on a page in Necko. #10342 1999-08-03 03:21:50 +00:00
ramiro%netscape.com
e560b3661b Landing unix toolkit exorcism changes. #ifdef-ed OFF for now. 1999-08-02 13:53:49 +00:00
Jerry.Kirk%Nexwarecorp.com
61c363178b Fixing bugs to allow printing to work under Photon 1999-08-01 16:58:36 +00:00
pnunn%netscape.com
bbf125de9c Implemented 8 bit mask depth. Not used until switch turned on in imglib. pnunn. 1999-07-30 23:39:36 +00:00
mscott%netscape.com
2210e49fef fix build breakage...include config.mak 1999-07-29 03:37:35 +00:00
briano%netscape.com
5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
blizzard%redhat.com
aedae6cc5e fix memory leak in xlibrgb code. 1999-07-28 02:20:53 +00:00
ftang%netscape.com
a71748f63e fix bug 7899 by setup correct value in the init 1999-07-28 02:00:18 +00:00
briano%netscape.com
007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
warren%netscape.com
a52cc18406 Added test for null load group. 1999-07-27 20:33:36 +00:00
warren%netscape.com
69762de65d Fixed images to load in proper group. Should fix page timing problem. 1999-07-27 08:50:23 +00:00
Jerry.Kirk%Nexwarecorp.com
4e5a57990c Clean-up code, fixed a memory leak, removed dead code 1999-07-26 13:05:20 +00:00
sspitzer%netscape.com
81c50c02d1 fix warnings by making the dest/cntr public, not private 1999-07-26 01:36:59 +00:00
sspitzer%netscape.com
b85d17600f fix warning 1999-07-26 01:35:34 +00:00
peterl%netscape.com
53d60d8dba remove warning 1999-07-24 18:58:48 +00:00
ramiro%netscape.com
a6fbc4aece Remove obsolote files. 1999-07-23 12:30:26 +00:00
beard%netscape.com
54afcac248 LMGetGrayRgn() -> GetGrayRgn(), to be Carbon compliant. 1999-07-23 02:45:42 +00:00
beard%netscape.com
eb513d087c bug #7796: changed nsDeviceContextMac::GetDeviceSurfaceDimensions() to return the dimensions of the entire Mac desktop using LMGetGrayRgn(). 1999-07-23 01:59:18 +00:00
Dale.Stansberry%Nexwarecorp.com
898032e6d1 - Fixed IsEmpty()
- Fixed width/height = 0 problems
1999-07-21 20:33:09 +00:00
Michael.Kedl%Nexwarecorp.com
28ca1635ee fixed problems with InvertRect 1999-07-21 19:11:01 +00:00
gagan%netscape.com
14c1cb2c49 Replaced resource:// with resource:/ to be more compliant with our parsing rules. 1999-07-21 11:48:56 +00:00
brade%netscape.com
0621f4050e Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
Jerry.Kirk%Nexwarecorp.com
87d6ac3575 Fix DrawString problem when there is a multibyte character
at the end of the line.
1999-07-20 19:41:57 +00:00
Jerry.Kirk%Nexwarecorp.com
42aba4fc38 General Cleanup 1999-07-20 19:37:08 +00:00
Michael.Kedl%Nexwarecorp.com
6a747a1b32 added invert_rect handling 1999-07-20 19:36:57 +00:00
rods%netscape.com
c8b75c3279 Added impls of new methods ramiro added to nsIRenderingContext 1999-07-20 13:40:51 +00:00
ramiro%netscape.com
8457b2ad17 Add missing prototype. 1999-07-20 11:26:35 +00:00
ramiro%netscape.com
ee3e1ed4e7 A better fix for the previous checkin. 1999-07-20 10:59:43 +00:00
ramiro%netscape.com
a33aa62ba2 add and evil app context hack. 1999-07-20 10:46:18 +00:00
ramiro%netscape.com
07f05f08dc Always build xlibrgb to make my life easier. 1999-07-20 10:36:06 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
ramiro%netscape.com
4aee50d7bb Fix a dumb comment. 1999-07-20 08:20:28 +00:00
ramiro%netscape.com
12f5c30340 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
ramiro%netscape.com
10b1f3c22c Rect drawing wxh were off by one. 1999-07-19 19:12:20 +00:00
zuperdee%penguinpowered.com
4edfdb00a7 Fixes to get the Motif port to compile on Solaris 7 with native compiler (5.0). Special thanks to Tomi Leppikangas (tomilepp@ousrvr2.oulu.fi) for this patch. 1999-07-19 02:23:52 +00:00
ramiro%netscape.com
93962d36fc I goofed the names. Since this is platform specific code, they should be
indeed hard coded to the toolkit name.
1999-07-18 03:54:43 +00:00
zuperdee%penguinpowered.com
b3be1b4389 Fixing the Motif part of bug #9828. 1999-07-18 02:26:34 +00:00
peterl%netscape.com
223b3d7794 update to new color apis 1999-07-18 00:42:28 +00:00
peterl%netscape.com
e2cf60152f removed files: mozilla/gfx/src/nsColorNamesRGB.cpp 1999-07-18 00:41:52 +00:00
peterl%netscape.com
b76f16233c change color name lookup api to use nsString 1999-07-18 00:10:59 +00:00
peterl%netscape.com
1b4242aa26 removed 1999-07-18 00:10:33 +00:00
peterl%netscape.com
977920666d removed nsColorNamesRGB 1999-07-18 00:09:58 +00:00
peterl%netscape.com
b9acbc3908 use preprocessor to generate color names instead of perl 1999-07-18 00:09:20 +00:00
peterl%netscape.com
71b618d524 switch color string apis to nsString 1999-07-18 00:08:45 +00:00
peterl%netscape.com
73515f0ad4 switch to preprocessor for code generation 1999-07-18 00:07:55 +00:00
peterl%netscape.com
ed8cd49c87 changed api to be string based
switch to using preprocessor for color enums
1999-07-18 00:07:20 +00:00
peterl%netscape.com
9ad4e38dde change color string apis to use nsString 1999-07-18 00:06:12 +00:00
ramiro%netscape.com
f26f7f5fa2 Step 2 of cleaning up link time toolkit dependencies. Change the names of
the gfx and widget dsos to be readable by normal human beings that expect
some kind of spacer between cryptic acronyms.  Thank you.
1999-07-17 22:24:49 +00:00
ramiro%netscape.com
ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
mcafee%netscape.com
778e0ee800 Fixing unused variable warnings 1999-07-17 03:06:14 +00:00
bienvenu%netscape.com
7e03acb008 fix build bustage with cast 1999-07-16 18:55:51 +00:00
kipp%netscape.com
a274469ecf Removed 2 compiler warnings 1999-07-16 17:36:31 +00:00
Dale.Stansberry%Nexwarecorp.com
f4d6984856 - Added line style support 1999-07-16 14:11:15 +00:00
warren%netscape.com
84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
sfraser%netscape.com
fe4ad01c0e Remove the nsTimer and nsRepeater.cpp files, because they also live in Netlib. a cyeh, r a bunch of folks. 1999-07-15 22:08:21 +00:00
duncan%be.com
0800fc8374 Clean up BeOS timers. Among other things there now is a single thread to do
the job. Also I now cache the references to the native GUI queue, burning
fewer CPU cycles. Thanks to Attila Lendvai <101@inf.bme.hu> for contributions
and ideas.
1999-07-15 15:32:44 +00:00
blizzard%redhat.com
16dd8fa66f fix xlib build bustage 1999-07-14 23:44:13 +00:00
gordon%netscape.com
d0bf92109d Export Repeater class. Classes dependent on Repeater should probably be weaned off of it in the long term. Patrick Beard has some creative ideas regarding this. 1999-07-14 22:52:28 +00:00
gordon%netscape.com
0da0c841ef Add access path to search :mozilla:gfx:src:mac: first. 1999-07-14 22:34:31 +00:00
gordon%netscape.com
d486e2dfc8 Added nsRepeater.cpp and nsTimer.cpp. 1999-07-14 21:29:59 +00:00
blizzard%redhat.com
c2698131bd add list of copyright holders 1999-07-14 19:30:19 +00:00
Jerry.Kirk%Nexwarecorp.com
aeb86789cf - Bug 9830 Checking for "Out Of Memory" conditions in PushState 1999-07-14 18:37:02 +00:00
blizzard%redhat.com
a1bb8d9691 Check memory allocation. Closes bug 9833. 1999-07-14 17:50:19 +00:00
Jerry.Kirk%Nexwarecorp.com
4388374114 - Adding more printing support, long way from finished 1999-07-14 17:12:41 +00:00
blizzard%redhat.com
2739f83b22 Merge in erik's font code changes. This is not part of the build. 1999-07-13 14:29:53 +00:00
duncan%be.com
c4f937000c Reimplement a region method correctly.
BeOS only change authorized by cyeh.
1999-07-11 09:18:27 +00:00
warren%netscape.com
61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
rods%netscape.com
8e6348a7e2 Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-09 19:37:09 +00:00
Michael.Kedl%Nexwarecorp.com
955cb0dcbe took out some printfs 1999-07-09 18:59:55 +00:00
Michael.Kedl%Nexwarecorp.com
f31ebc948a Cleaned up clip rects for apprunner. 1999-07-09 18:47:23 +00:00
pnunn%netscape.com
a6941a096e added to image mimetype list. pnunn. ok'd by chofmann. 1999-07-08 01:34:19 +00:00
pnunn%netscape.com
d7505bd04a added to image mime type list. pnunn. ok'd by chofmann. 1999-07-08 01:33:22 +00:00
ramiro%netscape.com
961fb5e42c Fix for bug #7797. JS screen property not implemented in gtk widgetry. 1999-07-07 18:12:18 +00:00
mcafee%netscape.com
57b42a502c Solaris/CC needs a cast here 1999-07-07 10:09:40 +00:00
ramiro%netscape.com
68a4834ba5 Fix class exports declaration. 1999-07-07 08:58:15 +00:00
warren%netscape.com
9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
ramiro%netscape.com
7612a810e6 Fix a dumb typo. 1999-07-07 07:27:44 +00:00
pavlov%pavlov.net
0f2ac3ddee resize changes/fixes/whatever_you_want_to_call_them_part_2 1999-07-07 05:31:01 +00:00
ramiro%netscape.com
5cdb03367b Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
ramiro%netscape.com
a44729a0f6 Put xlibrgb first. 1999-07-07 04:23:23 +00:00
erik%netscape.com
4dc3f15df3 Added support for *-iso10646-1 fonts. Variable width only for now, fixed
width will be supported later through font property.
1999-07-07 02:32:16 +00:00
ramiro%netscape.com
5b2b8782b2 Factor out xlibrgb. 1999-07-07 02:12:44 +00:00
ramiro%netscape.com
65385eb4f7 Final global variable exorcism. 1999-07-07 02:11:22 +00:00
ramiro%netscape.com
fff433ac18 Add xlib_rgb_get_depth() xlib_rgb_get_display() xlib_rgb_get_screen()
Initialize only once.
1999-07-07 01:54:26 +00:00
ramiro%netscape.com
9886a6f45f Factor out xlibrgb. 1999-07-07 01:53:41 +00:00
ramiro%netscape.com
c375f83ddb Factor out xlibrgb. 1999-07-07 01:36:25 +00:00
peterl%netscape.com
c93821d97e made color parsing more strict in strict mode, just like nav in quirk mode 1999-07-07 01:18:11 +00:00
ramiro%netscape.com
2ac057aad6 Exorcise gVisualInfo. 1999-07-07 00:47:29 +00:00
ramiro%netscape.com
e34bd30b19 xorcise gScreenNum. 1999-07-07 00:15:22 +00:00
ramiro%netscape.com
3f553a27b7 Fix a dumb typo. 1999-07-07 00:06:57 +00:00
ramiro%netscape.com
a8e4c3ea58 Exorcism of global shift, mask and count flags. 1999-07-07 00:05:19 +00:00
ramiro%netscape.com
c7c7dedd51 Put noisy code in an ifdef. 1999-07-07 00:03:52 +00:00
ramiro%netscape.com
38b203c169 Add xlib_rgb_get_visual_info rename struct member form visual to x_visual_info
to make it easier to debug.
1999-07-07 00:02:55 +00:00
ramiro%netscape.com
5180239f72 Timers are toolkit specific. 1999-07-06 23:33:48 +00:00
ramiro%netscape.com
6e0b142f15 Add a debug printf. 1999-07-06 23:32:20 +00:00
ramiro%netscape.com
b9d9e64b07 Cleanup the widget api some. Move initialization of evil stuff to the gfx
end.  Dont leak the widget name.  Carry around Display* and friends in the
appshell.
1999-07-06 23:28:58 +00:00
Michael.Kedl%Nexwarecorp.com
0d97ef274d Fixed alpha blending for gifs with transparency masks. 1999-07-06 22:55:05 +00:00
ramiro%netscape.com
19dafdfd94 Add a useful debug statement. 1999-07-06 14:08:30 +00:00
Jerry.Kirk%Nexwarecorp.com
4b1ba6e6ff - Changes to support Alpha Blending and other odds and ends under Photon 1999-07-06 11:44:22 +00:00
erik%netscape.com
61cd270d46 Fix for bug 5308. We now ignore vertical fonts (whose names start with @)
in the global font enumerator, so that we don't pick those up for Japanese.
1999-07-03 05:20:35 +00:00
erik%netscape.com
962cb10bb5 Fix for bug 4760. We were drawing smart quotes really large, because they
were being taken from a large Asian font. Disabled those characters for
now. The CP1252 problem will be addressed by bug 454.
1999-07-03 04:35:17 +00:00
troy%netscape.com
6f3d67cf06 Fixed compiler warning 1999-07-02 22:44:00 +00:00
ramiro%netscape.com
43295086e9 Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.
All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.
1999-07-02 14:59:36 +00:00
dveditz%netscape.com
9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
ramiro%netscape.com
f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
ramiro%netscape.com
1323992254 Exorcism of global variables: part 1.
Have only one access point to the global vars - in nsDeviceContextXlib.
Next step will be to invent an interface that can be queried for this
stuff to remove the link time dependancy between this gfx lib and the widget
lib.  Global variables are EVIL.
1999-07-02 11:31:58 +00:00
gagan%netscape.com
db42a7e810 Reordered netlib libs to link correctly. NECKO only. 1999-07-01 21:29:08 +00:00
warren%netscape.com
bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
duncan%be.com
f1ccc9ea73 Get gfx to build under BeOS (BeOS specific changes) 1999-07-01 16:26:43 +00:00
sspitzer%netscape.com
11fab808ae ignore the generated Makefile 1999-07-01 05:22:27 +00:00
zuperdee%penguinpowered.com
6472891394 Fixed some compiler warnings (mostly virtual functions w/ non-virtual destructors). 1999-06-30 22:36:04 +00:00
erik%netscape.com
506cb84154 Need to check all of the XLFD scalable fields for 0 since sometimes only
one of them is set to 0 (e.g. average width). Also changed upper limit
for size ratio for font scaling so as to avoid scaling Japanese fonts
(ugly).
1999-06-30 22:12:50 +00:00
slamm%netscape.com
7917f38d4f Better fix for build bustage. Use ZLIB_LIBS instead of -z. r=ramiro,shaver 1999-06-29 16:51:46 +00:00
shaver%netscape.com
fc7ca1baa5 fix Solaris build bustage 1999-06-29 16:20:58 +00:00
shaver%netscape.com
6f90532000 no longer need to link against libgfxps.so -- necko merge regression? 1999-06-29 03:12:31 +00:00
syd%netscape.com
60370ebd9c Fixed compiler warning 1999-06-29 00:39:10 +00:00
gagan%netscape.com
dc1680b25c Necko changes (from Andreas) 1999-06-29 00:26:25 +00:00
mcafee%netscape.com
a6d03dd33a Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca) 1999-06-28 23:39:35 +00:00
warren%netscape.com
bc7c1d7503 Added group stuff back for necko. 1999-06-28 22:34:20 +00:00
warren%netscape.com
f1826b64cd Removed necko ifdef. 1999-06-28 22:07:07 +00:00
briano%netscape.com
cea3e5da56 Fix for build problem on Solaris. 1999-06-28 21:10:11 +00:00
mscott%netscape.com
25a6e7c788 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:43:28 +00:00
warren%netscape.com
e87f3dfecd Fixed necko ifdef. 1999-06-28 20:23:22 +00:00
warren%netscape.com
99d39258c9 Removed necko ifdef. 1999-06-28 20:19:48 +00:00
Jerry.Kirk%Nexwarecorp.com
d24488bf64 - Worked on RetrieveCurrentNativeGraphicData method for Photon UI 1999-06-28 12:22:09 +00:00
valeski%netscape.com
e16554ea83 NECKO build issue (nsILoadAttrib got loose on us) 1999-06-28 12:20:08 +00:00
warren%netscape.com
fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
av%netscape.com
e20b61431e Fixing build redness 1999-06-26 22:31:41 +00:00
av%netscape.com
a0da09e3ed Adding stub for new method 1999-06-26 22:02:37 +00:00
av%netscape.com
e0ff6551d7 Implementing getting native drawing data 1999-06-26 21:55:12 +00:00
av%netscape.com
076a0e2e7e Adding a method to retrieve native drawing data 1999-06-26 21:53:07 +00:00
blizzard%redhat.com
eabc86f66b increase the size of the scroll bars 1999-06-25 20:10:51 +00:00
mcafee%netscape.com
3796c95019 Return an error for LoadIconImage() for BeOS because netlib is running in the UI thread. Thanks to Duncan Wilcox (duncan@be.com) for this fix. 1999-06-25 12:54:16 +00:00
ramiro%netscape.com
7a3fb22e02 gfxps update. 1999-06-25 11:46:11 +00:00
mcafee%netscape.com
610a92ba97 BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:39:03 +00:00
ramiro%netscape.com
c6944b28dd Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:46:59 +00:00
ramiro%netscape.com
773e34ec7d Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:38:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
83e2275608 Swapped args to NS_OpenURI. 1999-06-25 00:08:05 +00:00
warren%netscape.com
79d37bdc6c More necko changes. 1999-06-24 23:23:23 +00:00
blizzard%redhat.com
bb107e9417 fixes for font sizes - thanks tor 1999-06-24 20:10:30 +00:00
zuperdee%penguinpowered.com
d4c9c63cea Fix for nsRenderingContextMotif.cpp. This should enable viewer to work now! 1999-06-24 08:32:31 +00:00
blizzard%redhat.com
533e108b45 Fix origins on alpha pixmaps - thanks tor. Images on toolbars and other places shag, baby! 1999-06-23 11:12:13 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
pnunn%netscape.com
2ae131ed77 Prepwork for alphachannel. pnunn. 1999-06-22 20:13:05 +00:00
peterl%netscape.com
8d8b5e3350 Added '-moz-fixed' generic font name.
This is an extension to indicate the user's fixed font choice
1999-06-22 19:14:51 +00:00
Jerry.Kirk%Nexwarecorp.com
c0797f7733 - Beginning to add support for printing for Neutrino 1999-06-21 21:32:30 +00:00
Michael.Kedl%Nexwarecorp.com
ef534e959e fixed double buffering for Don's tiling background 1999-06-21 20:10:58 +00:00
Jerry.Kirk%Nexwarecorp.com
d3ed880418 - Fixed Neutrino timers to handler a timer with 0 delay 1999-06-21 20:06:25 +00:00
blizzard%redhat.com
d069fe11e4 fix backwards colors 1999-06-19 20:25:06 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
erik%netscape.com
5accb2e576 Fix for bug 7841. Some fonts return bad glyph IDs. Now checking for these.
It turns out that GulimChe is one of those bad fonts.
1999-06-16 03:57:55 +00:00
pierre%netscape.com
849596767d #8264 "[PP] Mac GFX draws lines one pixel too long" 1999-06-16 01:18:15 +00:00
blizzard%redhat.com
491cc36d07 use PR_LOG for debugging 1999-06-16 00:37:57 +00:00
blizzard%redhat.com
47a4c1cc91 use PR_LOG for debugging messages 1999-06-16 00:25:10 +00:00
blizzard%redhat.com
7754d8da97 more gfx work 1999-06-15 04:19:11 +00:00
blizzard%redhat.com
b66da08ef0 merge erik's changes 1999-06-14 23:20:51 +00:00
erik%netscape.com
a0c4a683fe Added support for CP 1251 and KOI8-R fonts (Cyrillic). 1999-06-14 22:55:39 +00:00
bruce%cybersight.com
1e47eb8696 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations. 1999-06-14 06:16:08 +00:00
blizzard%redhat.com
66bc260f9c a slightly more sane nsDrawingSurface 1999-06-14 00:47:37 +00:00
blizzard%redhat.com
988e27bab4 merge in Erik's changes to gtk fonts 1999-06-13 20:34:56 +00:00
erik%netscape.com
3391461f38 Started using Frank's 64K bit array code and the Unicode converters.
The euro now displays on Linux.
1999-06-13 18:33:37 +00:00
Dale.Stansberry%Nexwarecorp.com
10e699ffeb - Put in buffer "zeroing" code 1999-06-11 19:56:14 +00:00
Jerry.Kirk%Nexwarecorp.com
58b5675cf2 - Fixes for test12.html 1999-06-10 21:07:11 +00:00
dcone%netscape.com
e20ee57836 Fixed a solaris bug, took out a URL call until I can find the real cause
of the problem
1999-06-10 13:53:14 +00:00
ramiro%netscape.com
c4c2d1d42d Add #ifdef use of graphics state pool. 1999-06-10 13:11:22 +00:00
ramiro%netscape.com
b4d5277467 Factor out the graphics state struct into its own header and implementation
files.
1999-06-10 12:45:14 +00:00
Jerry.Kirk%Nexwarecorp.com
3c09a31379 - Set an uninitialized variable that was breaking test08 + other rips 1999-06-09 19:24:25 +00:00
ramiro%netscape.com
d330f1ae61 Motif Ressurection. Thanks to Daniel Roberts <zuperdee@yahoo.com> for
doing the painful job of identifying everything that is missing and
stubbing it out.
1999-06-09 11:35:26 +00:00
ramiro%netscape.com
1b4d1715e2 Port to KCC. 1999-06-09 10:09:47 +00:00
ftang%netscape.com
3cae9693d3 change the fake lang string to null to improve performance 1999-06-08 21:13:06 +00:00
ftang%netscape.com
3a0135d848 do bit compar before do string compare to imporve performance 1999-06-08 21:12:20 +00:00
blizzard%redhat.com
2e58ba7bae port performance enhancements from gtk fonts 1999-06-08 02:40:24 +00:00
kmcclusk%netscape.com
3fd7b914d3 Added code to nsFontMetricsGTK to cache the width of a single space.
Modifed nsRenderingContextGTK::GetWidth to detect when a single space
is passed in and pass back the cached value, rather than re-measuring
a space.
1999-06-07 22:48:19 +00:00
kmcclusk%netscape.com
1ea246a1a1 Added method and member variable to Cache the width of a space in nsFontMetricsWin.cpp.
Added code to nsRenderingContextWin::GetWidth to use the cached width to optimize the
common case of measuring the width of a single character.
1999-06-04 23:09:27 +00:00
erik%netscape.com
fd4ed60abc Bug 7427. Need to convert enumerated font names from system code page to
Unicode, and then convert Unicode font names back to system code page when
loading font.
1999-06-04 00:08:56 +00:00
ramiro%netscape.com
6784919f78 Comment out debug code that is making it impossible to have timeouts
greater than 10 seconds.
1999-06-03 21:31:38 +00:00
kmcclusk%netscape.com
8be1cd6761 Fix for bug #1177. Added a new method ConditionRect which is used to fix coordinate
overflow problems under WIN95. Condition rect converts nsRect to a RECT with cooordinates
modified to acceptable ranges for WIN95.
1999-06-03 20:19:32 +00:00
pinkerton%netscape.com
c35d3c5907 More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com). 1999-06-03 18:55:40 +00:00
dcone%netscape.com
3a09e85b99 Put braces in to get rid of many compiler warnings. 1999-06-03 13:48:20 +00:00
Jerry.Kirk%Nexwarecorp.com
f82d11285f - 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
062c4626ab 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
fa957816e2 fixed potential memory problems. 1999-06-03 00:56:32 +00:00
blizzard%redhat.com
b99fba6098 consistent debugging output 1999-06-02 02:55:23 +00:00
blizzard%redhat.com
9e860bf8cb more work in initialization code 1999-06-02 01:48:21 +00:00
blizzard%redhat.com
88a9c86123 fix implementation of the creation of DrawingSurfaces 1999-06-02 01:18:05 +00:00
blizzard%redhat.com
e7e05cc9fa fix call signature for XCopyArea() 1999-06-02 01:16:56 +00:00
blizzard%redhat.com
c7e50c22d9 more drawing work 1999-05-31 23:34:13 +00:00
blizzard%redhat.com
88abd6195f set up the offscreen surface correctly 1999-05-31 22:48:01 +00:00
blizzard%redhat.com
85a6b16337 more work to complete the rendering context code 1999-05-31 21:52:16 +00:00
blizzard%redhat.com
ad9060c9ac the beginnings of popstate()/pushstate() 1999-05-31 21:01:51 +00:00
blizzard%redhat.com
912e80f4a7 fix bugs in region code 1999-05-31 03:01:39 +00:00
beard%netscape.com
28c1747a2f 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
649fc7265e 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
224d268517 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
c80ce47928 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
512fff1d90 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
f4dd292891 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
37f837b575 forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary. 1999-05-31 01:30:56 +00:00
blizzard%redhat.com
8bb6118056 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
557679458c 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
e4fa0248e5 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
2b55666b45 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
267ab43f21 Fix a shadowed variable. 1999-05-28 06:13:00 +00:00
pierre%netscape.com
4ac2c0d6f8 #7143 "Subscript element not properly supported" 1999-05-28 00:32:12 +00:00
dcone%netscape.com
1927ab2861 Fixed bug 4904 -- converted to DIB, then printed.. 1999-05-27 14:48:15 +00:00
blizzard%redhat.com
8516c1bfbe more xlib work 1999-05-26 21:52:58 +00:00
dp%netscape.com
300a021a82 Adding gfxMOZ_TOOLKIT and gfxps to get NS_NewTimer() 1999-05-26 07:30:34 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com
d99c6c3ced Added timer stuff from base. 1999-05-24 09:17:05 +00:00
blizzard%redhat.com
e295c42677 remove these files 1999-05-22 06:16:21 +00:00
pierre%netscape.com
0e110cfb2e #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
7d5390bed0 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
d74cbdd300 catch up with changes to GTK font code 1999-05-18 15:39:41 +00:00
blizzard%redhat.com
fe65cf1f6b squelch warnings 1999-05-18 15:28:36 +00:00
pierre%netscape.com
df0af65e2d #5949 "Frequent resizing of window causes apprunner to stop drawing" 1999-05-18 13:14:46 +00:00
blizzard%redhat.com
abe959a382 add xlibrgb to the build 1999-05-17 03:42:30 +00:00
blizzard%redhat.com
31e8868caa add gdkrgb port to straight xlib 1999-05-17 03:32:22 +00:00
erik%netscape.com
a6758a1ac1 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
8fbd48d85f cvs ignorage 1999-05-13 03:53:42 +00:00
ftang%netscape.com
b81e19d906 add unicode 1999-05-12 23:19:12 +00:00
pnunn%netscape.com
7a79349193 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
6339be6419 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
93de5f390e Fix for Motif builds. 1999-05-12 22:23:04 +00:00
pierre%netscape.com
afda55620b 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
991eac0d10 First Checked In. 1999-05-12 06:57:52 +00:00
pinkerton%netscape.com
63c8215e0f using accessor functions for opaque data structs where necessary for carbon. 1999-05-11 21:47:03 +00:00
pinkerton%netscape.com
40796f98f3 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
84e6a2d3eb ask for the grafPort, not the window, since they are different in Carbon. 1999-05-11 21:41:03 +00:00
pinkerton%netscape.com
66b7154dab moved the ifdefs around the printing code to be more correct. 1999-05-11 21:40:25 +00:00
pinkerton%netscape.com
39b883dab7 old printing api's obsoleted in carbon. 1999-05-11 21:40:01 +00:00
pinkerton%netscape.com
23c0314a49 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
cf909d0bf5 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
6dfab15c08 using accessors for Regions when building under Carbon. 1999-05-10 23:41:03 +00:00
pinkerton%netscape.com
8c9d556798 under Carbon, use the accessors. 1999-05-10 23:11:50 +00:00
mcafee%netscape.com
492b4cef0f 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
c7e68db0fb port of gtk's font code to xlib 1999-05-09 21:56:46 +00:00
blizzard%redhat.com
1db0b313e5 make sure to return NS_OK from Init() 1999-05-09 19:52:11 +00:00
blizzard%redhat.com
8a4735e3dc more debugging output, start of some renderingcontext functions 1999-05-08 22:54:03 +00:00
blizzard%redhat.com
9f9c778dbd enough debugging output to make a dozen squid omlets 1999-05-08 21:42:39 +00:00
beard%netscape.com
ff604e7392 Fixes bug #1177, where text gets drawn over itself in long documents. 1999-05-07 19:29:59 +00:00
pierre%netscape.com
4dbe1bf66f 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
1630737a9e Removed mOriginalClipRegion: it was in fact equivalent to mMainRegion. 1999-05-07 04:10:04 +00:00
pierre%netscape.com
90d53738fc Performance improvement: added GetSpaceWidth() 1999-05-07 04:02:59 +00:00
dcone%netscape.com
1aaa43ccfe fixed a bug with using mString to use the unicode value 1999-05-06 06:57:24 +00:00
ftang%netscape.com
d53e2d0843 First Checked In. 1999-05-05 23:55:50 +00:00
erik%netscape.com
97d2aa77b7 Fix for one of the memory leaks found by The Mighty Bruce. 1999-05-05 23:18:38 +00:00
kipp%netscape.com
0afac13714 Fix small bug in DrawRect and added a comment to help 1999-05-03 20:48:35 +00:00
erik%netscape.com
616680954a Fix for bug 5778. I forgot to release the prefs service. Approved chofmann. 1999-04-30 18:28:47 +00:00
erik%netscape.com
022f96ee8f 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
f60f4a56ed Landing framesets changes. Added mOriginalClipRegion. Approved: choffmann 1999-04-30 13:52:45 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
briano%netscape.com
5e31c45c1d Fix for the BSD/OS build (virtual memory exhausted). 1999-04-30 03:01:13 +00:00
briano%netscape.com
dd73c8f62a 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
25345b7651 Remove -lnetlib from link lines. Not needed. 1999-04-28 05:30:09 +00:00
pierre%netscape.com
a812bf19e0 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
ace9cac55e 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
71681e7913 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
59a39b08ae 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
5ed654ef40 allow letter O to be treated as zero in color hex values, egads 1999-04-28 01:41:23 +00:00
pierre%netscape.com
710dd4f29d #5000: added "browser.screen_resolution" pref 1999-04-28 00:20:58 +00:00
erik%netscape.com
32b1be8ffc 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
9644229c74 #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
78e941dc79 #5000 "GFX changes required to assume 96 dpi default scaling" 1999-04-27 06:45:09 +00:00
pierre%netscape.com
8563904a23 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
7329aa7675 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
9543883d6e fixed bug so refcount is inited 1999-04-26 17:25:00 +00:00
blizzard%redhat.com
ac88c0c3d6 little more xlib work 1999-04-25 02:58:15 +00:00
ftang%netscape.com
4d7b91a1a0 First Checked In. 1999-04-23 20:53:49 +00:00
pavlov%pavlov.net
dcf8147e08 revert my last changes. i'm moving speed ups into a branch 1999-04-22 02:07:03 +00:00
pierre%netscape.com
5748361124 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
2733bb0b80 beginning work on making mozilla fast... 1999-04-22 00:07:40 +00:00
rickg%netscape.com
69afbec822 sync with new nsString2 API 1999-04-21 22:55:35 +00:00
erik%netscape.com
3ed143ee6b 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
45a30465ea Implemented the DrawPolyline method. 1999-04-20 13:36:11 +00:00
pavlov%pavlov.net
27b574ed57 add some code that was accedentally removed last time 1999-04-18 20:07:31 +00:00
pavlov%pavlov.net
bd72acdf48 code cleanups 1999-04-18 19:31:16 +00:00
erik%netscape.com
1a70e1f12d 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
b556d2e592 Fixed to handle destroy callbacks better to unwind connections to image lib 1999-04-15 20:34:44 +00:00
toshok%hungry.com
077f6b4dd4 add ::'s 1999-04-15 08:56:14 +00:00
toshok%hungry.com
1a9104f53c steal some drawing guts from ../motif 1999-04-15 08:54:51 +00:00
toshok%hungry.com
627cff7157 region code for xlib gfx. 1999-04-15 08:04:37 +00:00
alecf%netscape.com
6e4cee51d0 use new nsQuickSort rather than old XP_QSORT 1999-04-15 02:48:00 +00:00
kipp%netscape.com
47684f4950 Fix a memory corrupting issue with dangling references to nsImageRequests's 1999-04-13 21:55:11 +00:00
kipp%netscape.com
d8a3eab6db Disable icon loading on unix and mac until netlib can cope 1999-04-13 21:54:43 +00:00
erik%netscape.com
5447721bb7 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
8b08c06722 some more cvs ignore work 1999-04-10 21:22:31 +00:00
pavlov%pavlov.net
4fd02bd7ee use shared images where available for blending 1999-04-10 20:57:50 +00:00
pavlov%pavlov.net
9967d9730a oops, ifdef'd out a tad too much code. 1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
95b8cdff6f code cleanups. begin work on using xshm 1999-04-10 19:36:40 +00:00
blizzard%redhat.com
249efebd9d xlib based gfx skeleton code 1999-04-10 15:23:47 +00:00
briano%netscape.com
95083e0ab1 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
fc0abb60de 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
3aaca7efd2 flush the font cache after setting a new zoom value. 1999-04-08 22:41:17 +00:00
michaelp%netscape.com
5d2820f0f1 cleaned. 1999-04-08 22:40:20 +00:00
ftang%netscape.com
7bfbfc5401 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
0170e093e7 Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh. 1999-04-08 17:12:12 +00:00
ramiro%netscape.com
9bc8eac86b Comment out a annoying printf. Approved by cyeh. 1999-04-07 07:04:35 +00:00
pavlov%pavlov.net
b860a7b544 fix for double freeing 1999-04-07 06:36:38 +00:00
pavlov%pavlov.net
ed3de3ccfe 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
c23b749174 added nsATSUIUtils.cpp moved the ATSUI code out of nsRenderingContextMac 1999-04-07 03:18:53 +00:00
pierre%netscape.com
76bdb5ffcb made the destructor public 1999-04-07 03:17:03 +00:00
pierre%netscape.com
bd50da1008 First Checked In. 1999-04-07 03:16:22 +00:00
erik%netscape.com
b2c378b19c 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
67a963d871 Add SetClip{Rect,Region} tracing debug code. 1999-04-06 13:22:21 +00:00
ramiro%netscape.com
f161d44deb Add #ifdef copy flag debug printfs. 1999-04-06 12:48:46 +00:00
michaelp%netscape.com
9a556422fd enabled creation of blender objects. 1999-04-05 22:49:18 +00:00
erik%netscape.com
c51b1e3ce3 Got rid of some tabs. 1999-04-05 22:31:58 +00:00
syd%netscape.com
91ce66fe70 Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI). 1999-04-05 21:45:08 +00:00
erik%netscape.com
1134e864ad 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
c006f4fb85 Fix breakage. Add #include <Resources.h> 1999-04-05 18:38:27 +00:00
erik%netscape.com
dc492e0ddd 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
d5b29173d7 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
4a84b0cc13 Add TextCommon and TextEncodingConverter lib 1999-04-05 18:05:12 +00:00
erik%netscape.com
edd1495b91 Adding Japanese support to the Unix/GTK font code. 1999-04-02 23:06:19 +00:00
erik%netscape.com
a6965d6ff2 AIX's compiler is strict. Fixed my code. 1999-04-02 20:34:14 +00:00
erik%netscape.com
d7565d3153 Need to check for dummy font family, and ignore. Corrected. 1999-04-02 19:40:11 +00:00
erik%netscape.com
11b9048ac7 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
d131bf9840 Free the loaded fonts array. Start the loaded fonts array at size 1. 1999-04-02 15:52:29 +00:00
erik%netscape.com
17e03e568b Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
code is now live.
1999-04-02 15:36:01 +00:00