Commit Graph

576 Commits

Author SHA1 Message Date
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