Граф коммитов

842 Коммитов

Автор SHA1 Сообщение Дата
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com 497aa2b9d1 base/src/nscore.h 1998-12-04 21:36:23 +00:00
dcone%netscape.com 5be9da2b88 added the nsDeviceContextSpec and factory support for printing support 1998-12-04 15:04:30 +00:00
dcone%netscape.com 80fa21d0cd Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support 1998-12-04 15:03:41 +00:00
dcone%netscape.com 4c67f97482 Added printing support 1998-12-04 15:02:57 +00:00
dcone%netscape.com 1f60f3fa1a First Checked In. 1998-12-04 15:02:26 +00:00
wtc%netscape.com 29c86a6abf 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 74c6d2c0d6 Mac only hackery to make rendering better. 1998-12-03 04:24:54 +00:00
dcone%netscape.com 950a5280a9 Changed the name so the file can be used on the Mac 1998-12-02 16:06:31 +00:00
saari%netscape.com a808658ccc Fixing build breakage. nsRegionMac API changed on me. 1998-12-02 04:26:16 +00:00
saari%netscape.com 5c25f41f7d fixed hand merge error 1998-12-02 02:51:48 +00:00
saari%netscape.com 28cb5213a1 ---------------------------------------- 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 6f81511f6c fixed build bustage. 1998-12-02 01:08:43 +00:00
michaelp%netscape.com 95b847f98b added GetNativeRegion() and GetRegionComplexity() methods. 1998-12-02 00:36:56 +00:00
michaelp%netscape.com 9fef332a02 added FlushFontCache() method. 1998-12-02 00:36:08 +00:00
michaelp%netscape.com dc929b5daa fixed build bustage. 1998-12-01 03:20:31 +00:00
michaelp%netscape.com 2f03a0e858 revised blending APIs. 1998-12-01 02:15:44 +00:00
beard%netscape.com c62b49cafc Mac shared library migration. 1998-11-30 22:15:00 +00:00
michaelp%netscape.com d9abc55f33 fixed resource leak. 1998-11-28 04:24:15 +00:00
michaelp%netscape.com 5672308e65 fixed duplicate resource free. 1998-11-28 04:23:23 +00:00
michaelp%netscape.com e8689abce9 added missing NS_INIT_REFCNT(). 1998-11-28 04:21:40 +00:00
peterl%netscape.com bd8aff99bb fixed bug in font family enumeration 1998-11-26 01:22:04 +00:00
peterl%netscape.com 42de75e7c8 made text decorations minimum size of 1 pixel 1998-11-26 01:21:22 +00:00
pavlov%pavlov.net 0f9c52e150 fix twipstopixels and got the scrollbars being sized correctly. 1998-11-25 02:35:59 +00:00
pavlov%pavlov.net 2700bd9553 fixed my assertions 1998-11-24 02:43:07 +00:00
pavlov%pavlov.net 07ebf09540 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 f151795800 added STRICT to list of preprocessor macros. 1998-11-23 19:00:08 +00:00
danm%netscape.com 474e21dcf7 tweak change from last rev, which was close, but misbehaved. 1998-11-23 17:34:50 +00:00
troy%netscape.com f27f459041 Added some casts to make the 6.0 compiler happy 1998-11-23 03:43:49 +00:00
michaelp%netscape.com 1261cf624b 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 d38a87a984 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 f6b1106639 changed for drawing surface HDC ownership setting. 1998-11-23 03:11:16 +00:00
michaelp%netscape.com e553c87cd1 added data member to drawing surface to determine HDC ownership. 1998-11-23 03:10:10 +00:00
msw%gimp.org d8b598b7e6 A _horrible_ hack to make fonts readable. Needs much work here. 1998-11-22 04:48:47 +00:00
cyeh%netscape.com e9d3c67427 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 21a3ef6dd1 Another small fix, to take out unnessasary code. 1998-11-20 19:26:06 +00:00
dcone%netscape.com 4b38899109 deleted duplicate from nsIImage.h - no longer needed 1998-11-20 18:55:50 +00:00
dcone%netscape.com 208b3aa288 Took out all blending code, and updated to coding standards, general cleanup 1998-11-20 17:37:18 +00:00
pavlov%pavlov.net 8a1a6e728a make sure we return a value for all of the NS_IMETHODIMP methods 1998-11-20 03:30:49 +00:00
pavlov%pavlov.net bf153d6a2f Impliment SetLineStyle and DrawPolyline 1998-11-18 03:56:41 +00:00
jfrancis%netscape.com f2babd8ddd more shared lib conversion work. 1998-11-18 02:44:02 +00:00
jfrancis%netscape.com 4d38cea30e more shared lib conversion work 1998-11-18 02:43:45 +00:00
peterl%netscape.com 9c7ff59c0d tweaked x-height guess for true-type fonts 1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com c8afe530dc 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 6f230c4eff 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 ae09eecf3c Added shared lib targets 1998-11-17 05:38:30 +00:00
jfrancis%netscape.com e09bf9f6db Shared Lib conversion 1998-11-17 05:37:42 +00:00
jfrancis%netscape.com e9d0485cfc First Checked In. 1998-11-17 05:26:28 +00:00
pinkerton%netscape.com 00c7772c6f 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 d37064bb7b removed some debugging messages 1998-11-15 19:32:54 +00:00
pavlov%pavlov.net a45f04456d Remove debugging message and set the scrollbar size 1998-11-15 00:57:21 +00:00
pavlov%pavlov.net 692ecddcfe 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 558b7ddede 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 b2dcc33009 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 c78ce8959c 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 6d9614e80e Draw directly onto windows, not on a pixmap 1998-11-14 06:35:25 +00:00
michaelp%netscape.com 52a93d39fd fixed build bustage. 1998-11-14 02:58:09 +00:00
kipp%netscape.com 1c24060a87 Fixed typo 1998-11-14 02:31:29 +00:00
michaelp%netscape.com 71145c6585 changes to support printing architecture and actual printing under windows. 1998-11-14 02:05:13 +00:00
pavlov%pavlov.net 2124bc7e7b 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 7b272ff255 add nsRegionGTK to the factory. this fixes some major region related
problems.
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net 49588adf07 implimentation for DrawString for PRUnichar characters. 1998-11-11 23:08:19 +00:00
rpotts%netscape.com 045173d28e Fixed random crash... 1998-11-11 10:04:57 +00:00
pierre%netscape.com e0bf1c0c94 Set the scroll bar dimensions to 16 pixels instead of 10. 1998-11-11 01:41:44 +00:00
pavlov%pavlov.net b6da782354 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 b3bb7da32f have GetFontMetrics return a sane value. this fixes crash 1998-11-09 22:59:14 +00:00
pavlov%pavlov.net e44103d2a5 remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
nsDeviceContextGTK
1998-11-09 15:47:45 +00:00
rpotts%netscape.com cd26939253 propagate abnormal stream termination correctly... 1998-11-08 09:03:02 +00:00
pavlov%pavlov.net 00aab88d53 yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
nsFontMetricsGTK
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net 1a5889d130 patch that impliments nsRenderingContextGTK from Owen Taylor
<otaylor@redhat.com>
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net fd44f1a692 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 91f01223d3 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 46a3f20413 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 0e4d103bf8 updated inverse colormap code, now blend works at 4 bit resolution 1998-11-04 22:38:37 +00:00
michaelp%netscape.com 7020110f4e xpcom'ed blender. 1998-11-04 19:03:37 +00:00
dcone%netscape.com 13fc916361 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 d09053f2cb save and restore the colors in CopyOffScreenBits() 1998-11-04 06:55:50 +00:00
pierre%netscape.com 9362ebb11d 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 44c1e39b49 Cache data to improve performance in GetMacFontNumber() 1998-11-04 06:49:14 +00:00
cls%seawood.org c14d1dd8a3 Removed hardcoded 'gtk-config' 1998-11-03 16:16:37 +00:00
cls%seawood.org f50c938b76 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 052c88b77e Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits() 1998-11-02 22:42:15 +00:00
pavlov%pavlov.net d0ab75d674 apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk> 1998-11-02 22:29:22 +00:00
shaver%netscape.com 474a38c01c add Frank Visser's nsRegionGTK 1998-11-02 14:17:06 +00:00
ramiro%netscape.com a307948fc5 Add support for gtk. 1998-11-02 13:56:59 +00:00
ramiro%netscape.com aeb5b540fb Changed 'unix' to 'motif' to deal with toolkit confusion. 1998-11-02 12:24:05 +00:00
ramiro%netscape.com 7f40f4d761 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 0b3b5d2ed5 more work on making this stuff work. 1998-11-01 19:30:03 +00:00
shaver%netscape.com 6785862efa use gtk-config to find proper CFLAGS 1998-11-01 07:49:23 +00:00
shaver%netscape.com f8df112cb4 add --enable-nglayout=gtk to build with GTK and not motif 1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com bad644b8ca fixes to get building and linking. 1998-10-31 23:17:57 +00:00
shaver%netscape.com e594a3292e gtklayout.c needs to be in widgets, not gfx 1998-10-31 21:42:02 +00:00
shaver%netscape.com 6760a95c49 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 2e89bacb8d libgfxunix.a -> libgfxmotif.a. r=ramiro@netscape.com, spider@netscape.com 1998-10-31 07:05:37 +00:00
blizzard%appliedtheory.com f7515907d7 Skel code for gtk/gdk gfx library. This compiles and does nothing else. 1998-10-31 04:12:39 +00:00
michaelp%netscape.com db6d0a9b2f fixed build bustage. 1998-10-30 05:04:39 +00:00
michaelp%netscape.com 76d7af112d fixed build bustage. 1998-10-30 04:27:48 +00:00
michaelp%netscape.com d5bc5c040a again. 1998-10-30 04:13:34 +00:00
michaelp%netscape.com a34aafb053 fixed build bustage. 1998-10-30 04:13:33 +00:00
michaelp%netscape.com 5038e52d5d fixed build bustage. 1998-10-30 03:52:25 +00:00
michaelp%netscape.com e0b8b49efb fixed build bustage. 1998-10-30 03:16:17 +00:00
michaelp%netscape.com fc0727c594 fixed build bustage. 1998-10-30 02:51:08 +00:00
michaelp%netscape.com 10921d7b0b changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
pinkerton%netscape.com 1e0c02b534 Don't use the offscreen pixmap if it is null (low memory situations) 1998-10-29 20:03:57 +00:00
dcone%netscape.com 67147736d8 Abstracted the nsBlender class 1998-10-29 19:22:42 +00:00
pinkerton%netscape.com f832502d5d 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 31f637015d 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 ee97d83327 Landing MacWidgets... 1998-10-29 14:06:26 +00:00
cls%seawood.org 33e91415ef Added $XLDFLAGS & $XLIBS to EXTRA_DSO_LDOPTS 1998-10-28 05:38:12 +00:00
cls%seawood.org 609f087498 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
kipp%netscape.com 0b91be74a6 Support high accuracy rendering (slowly) 1998-10-27 16:49:40 +00:00
shaver%netscape.com c5221defb4 ancient GTK port, as starting point 1998-10-27 15:43:49 +00:00
michaelp%netscape.com efb2190cda fixed bug in ref counting on drawing surfaces in the rendering context. 1998-10-27 00:09:44 +00:00
peterl%netscape.com c84d919a40 fixed usage of grey vs gray, now we support both 1998-10-26 23:11:07 +00:00
dcone%netscape.com 92323a6c0d fixed a parameter for spacing 1998-10-26 18:05:45 +00:00
kipp%netscape.com 90b89a29b3 Revised DrawString API to take a spacing array for character spacing control 1998-10-26 17:12:39 +00:00
mcafee%netscape.com 95140cb2e7 Fixing Solaris bustage, this file needs an EOL character on the last line 1998-10-26 05:39:12 +00:00
michaelp%netscape.com ba8b08f2dd fixed build bustage. 1998-10-23 20:17:36 +00:00
michaelp%netscape.com bbb16c5c68 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 92c5909dd2 Removed debug statements 1998-10-16 22:36:43 +00:00
rods%netscape.com 0d4c77a5ce 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 123e01ce9a Added a lot of error check for a null mRenderingSurface 1998-10-16 19:31:25 +00:00
rpotts%netscape.com 027d384585 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 765e42d9f9 Raptor only change. Providing method definitions for IsURLInCache when NU_CACHE is defined. 1998-10-14 22:39:16 +00:00
peterl%netscape.com 929cb288c5 guess at x-height since text metrics is unreliable on windows 1998-10-13 19:08:43 +00:00
dcone%netscape.com a914eb16bb First Checked In. 1998-10-12 13:50:27 +00:00
michaelp%netscape.com db6fc02f13 fixed leak of regions in state cloning. 1998-10-11 00:40:10 +00:00
troy%netscape.com d96e11b883 Added back public 1998-10-11 00:35:55 +00:00
troy%netscape.com c1589a2b3d 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 bdc0f5655a build in public directory too 1998-10-10 05:01:52 +00:00
kipp%netscape.com eec8bfa692 Fixed unix build (hopefully) 1998-10-10 04:38:19 +00:00
kipp%netscape.com 4d310c7857 new 1998-10-10 04:36:27 +00:00
rpotts%netscape.com 9f05f39692 Added support for loading images as background URLs... 1998-10-10 04:35:59 +00:00
kipp%netscape.com f5d46b23b8 Added nsJSRenderingContext to the build 1998-10-10 03:23:52 +00:00
kipp%netscape.com 358b4425b4 new 1998-10-10 03:23:12 +00:00
kipp%netscape.com 8a19cbb3b3 Lame support for nsIDOMRenderingContext API 1998-10-09 22:57:36 +00:00
peterl%netscape.com 4aa37727a0 added loose hex to rgb conversion (more NAV compliant) 1998-10-08 01:24:38 +00:00
kmcclusk%netscape.com ae95299bfb Removed debug printf 1998-10-08 00:30:21 +00:00
dcone%netscape.com 37455b570b small offset problem fixed 1998-10-07 15:14:48 +00:00
dcone%netscape.com 29885999f2 fixed an offset bug, setting the orgin setting for the correct grafports 1998-10-06 13:30:46 +00:00
michaelp%netscape.com f670f192a8 improved documentation. made font handling more robust in the case of
unspecified font.
1998-10-02 18:19:30 +00:00
pierre%netscape.com fdf14600b7 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 1f928b00d9 a little cleanup (removed the commented-out unix code etc...) 1998-10-02 09:44:51 +00:00
michaelp%netscape.com ff0d0cdbe2 moved GetWidth() APIs from fontmetrics to the renderingcontext. 1998-10-02 01:07:56 +00:00
rpotts%netscape.com 0a6ae1fbe9 Pass a null nsIURLGroup into the ImageGroup initialize method... 1998-10-01 21:46:24 +00:00
rpotts%netscape.com 34bd9f42da 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 0490bda98f fixed GetWidth for italic strings fixed GetMaxAdvance, strikeout, underline, superscript etc... 1998-10-01 19:20:09 +00:00
rods%netscape.com ee641024df Added {} block in switch statement to make it compile on Linux 1998-10-01 19:19:45 +00:00
spider%netscape.com f617b8c800 Making LineDDA Much Much Faster ... 1998-10-01 17:00:10 +00:00
dcone%netscape.com d564440834 Took out obsolete file (nsFontsache) 1998-10-01 14:30:47 +00:00
dcone%netscape.com cac19206cd fixed a compile error in the stubbed setfont. 1998-10-01 14:30:07 +00:00
michaelp%netscape.com bdfb4dd156 added new SetFont() that takes fontmetrics. 1998-10-01 03:36:06 +00:00
spider%netscape.com 11e393b6f0 Implemented LineStyle's in RenderingContext 1998-09-30 22:24:46 +00:00
michaelp%netscape.com 43f8c27af3 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 4f159801a4 made alias font use static strings 1998-09-29 23:38:50 +00:00
pinkerton%netscape.com 7c640d6f80 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 830f6550c0 fix drawing over other apps' windows 1998-09-29 00:20:50 +00:00
dcone%netscape.com 436f897a1e fixed double buffer stuff 1998-09-28 17:02:32 +00:00
dcone%netscape.com 4fd75068d5 fixed some double buffer things 1998-09-28 17:02:08 +00:00
michaelp%netscape.com b0f12986cf now supports direct draw using MSVC 5.0. 1998-09-27 22:35:54 +00:00
dcone%netscape.com 39e02c3de4 Added setorigin to init and destructor 1998-09-25 22:19:54 +00:00
pierre%netscape.com 92ef4c5aae added SetFont + call it before calculating the Width or Height 1998-09-23 09:29:51 +00:00
pierre%netscape.com d7f11ac498 added SetFont 1998-09-23 09:28:54 +00:00
pierre%netscape.com 695d397e3f moved SetFont guts to nsFontMetricsMac 1998-09-23 09:28:05 +00:00
rpotts%netscape.com ce153056de Changed the order for deleting nsImageRequsts and the ImageGroupContext... 1998-09-22 00:27:12 +00:00
dcone%netscape.com 9c5598ba8c Fixed alpha layer 1998-09-21 21:46:39 +00:00
dcone%netscape.com b17f3006a6 *** empty log message *** 1998-09-21 21:43:58 +00:00
rpotts%netscape.com 6092b872d4 Added missing NS_RELEASE(...) 1998-09-20 05:28:25 +00:00
mcafee%netscape.com c1be74898d Adding support for Rhapsody 1998-09-19 08:51:59 +00:00
mcafee%netscape.com 1db8f5d05c Initial stub version for Rhapsody 1998-09-19 07:31:47 +00:00
pierre%netscape.com 172fc22a17 use UnitConversion macros + some cleanup in DrawString 1998-09-19 01:38:51 +00:00
pierre%netscape.com dfda02dd64 use UnitConversion macros + some cleanup in GetWidth 1998-09-19 01:38:10 +00:00
troy%netscape.com 5b0d05a0ab Changed some code to use NS_NEWPCOM and NS_DELETEXPCOM 1998-09-17 20:25:26 +00:00
troy%netscape.com fe99bfc38d Changed some AddRef() and Release() calls to use the XP-COM macros 1998-09-17 19:49:10 +00:00
pierre%netscape.com 1a62c251c8 SetFont supports styles. Drawstring doesn't draw the 0's in Unicode strings. 1998-09-17 08:08:26 +00:00
pierre%netscape.com 7c490e27eb minor cleanup in GetXHeight, GetSuperscriptOffset and GetSubscriptOffset 1998-09-17 08:07:02 +00:00
pierre%netscape.com cca994b352 added GetMacFontNumber and CheckFontExistence 1998-09-17 07:51:12 +00:00
valeski%netscape.com 81cdcbe581 ? 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 5e92530c1c added decoration metrics api 1998-09-17 00:17:43 +00:00
peterl%netscape.com 42375700ab connected outline metrics 1998-09-17 00:17:23 +00:00
peterl%netscape.com 09156dd508 changed overline code to use font metrics 1998-09-17 00:15:56 +00:00
peterl%netscape.com 16322ead39 change scaling to be based on y pixel size 1998-09-17 00:15:22 +00:00
peterl%netscape.com f942c8b44c added api for decoration metrics 1998-09-17 00:14:45 +00:00
peterl%netscape.com bd1cdfcc4e added decoration_none 1998-09-17 00:13:15 +00:00
pierre%netscape.com e54ead3fe1 add refcount in GetFontMetrics + fix TextSize 1998-09-17 00:07:31 +00:00
pierre%netscape.com d99b65ef17 fix FontMetrics (getting better but still temporary code) 1998-09-16 22:49:36 +00:00
pierre%netscape.com 95fd651ee8 fix SetFont (still temporary code) 1998-09-16 22:46:36 +00:00
dcone%netscape.com 790c630dbb fixed some image bugs 1998-09-16 16:28:33 +00:00
dcone%netscape.com e97de84044 Fixed a few image bugs 1998-09-16 16:28:07 +00:00
dcone%netscape.com 1ef77d25e1 fixed colorspace stuff 1998-09-16 16:27:36 +00:00
kostello%netscape.com 53b69d0c33 Changed to match new Widget interfaces. 1998-09-14 20:56:27 +00:00
kmcclusk%netscape.com 83d7601292 Fix for Irix build bustage. 1998-09-12 00:53:57 +00:00
thom%netscape.com 4a611f590f Added return value to GetHints method to make compiler happy 1998-09-12 00:08:31 +00:00
kmcclusk%netscape.com 1108a9e3f8 Added 8bit visual support. 1998-09-11 23:27:22 +00:00
pierre%netscape.com 913d8ebc65 fix SetClipRegion + FillRect / added a temp SetFont / dispose mMainRegion 1998-09-11 10:37:36 +00:00
pierre%netscape.com 9a1f28cfd5 in the works / return hard-coded values instead of 0's 1998-09-11 09:12:37 +00:00
thom%netscape.com 2afa57f537 added new version of getWidth 1998-09-11 01:46:45 +00:00
thom%netscape.com c977956af0 Added new version of getWidth 1998-09-11 01:44:43 +00:00
kipp%netscape.com 522aa705cc Added new font intropsection methods to nsIFontMetrics 1998-09-10 23:41:25 +00:00
spider%netscape.com 6c31539133 Fix to return app units instead of twips in GetWidth API call 1998-09-10 02:08:20 +00:00
kipp%netscape.com d442f918ae Support reconnect callback 1998-09-09 16:17:55 +00:00
kipp%netscape.com a8950630a1 Added GetImageFromStream 1998-09-09 16:15:40 +00:00
kipp%netscape.com 68f793b460 Added Reconnect call-back to NS_NewImageNetContext 1998-09-09 16:14:49 +00:00
kipp%netscape.com b89024eb00 whitespace fixup 1998-09-09 16:14:16 +00:00
kipp%netscape.com a34e251a86 Set fast-8bit-text hint on x windows 1998-09-09 01:04:29 +00:00
kipp%netscape.com 41476cda74 Use a buffer to translate unichar's into XChar2b's 1998-09-08 23:52:29 +00:00
kipp%netscape.com 2ff277cf50 Added a buffer used by DrawString 1998-09-08 23:52:10 +00:00
kipp%netscape.com a827c6c939 Whitespace tidy up 1998-09-08 23:51:54 +00:00
kipp%netscape.com 9f06443629 Fixed unix compile bugs 1998-09-08 23:17:12 +00:00
kipp%netscape.com 0aa9d83435 Implement revised font metrics API 1998-09-08 22:32:07 +00:00
kipp%netscape.com 95e3ecef7e Revised API 1998-09-08 22:31:51 +00:00
kipp%netscape.com 0de5f78a4d Destroy font metrics before releasing it 1998-09-08 22:31:28 +00:00
dcone%netscape.com 47e55feecc added a routine gethints() needed by the interface. 1998-09-08 22:13:10 +00:00
kipp%netscape.com 14f368b295 Added GetHints to nsIRenderingContext API 1998-09-07 19:12:44 +00:00
pierre%netscape.com b29370f34b 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 5b83b85e52 added __initialize and __terminate 1998-09-05 08:03:28 +00:00
dcone%netscape.com 672e91ed2d fixed clipping 1998-09-04 21:12:49 +00:00
dcone%netscape.com f016c2af39 fixed the offscreen buffer mac things 1998-09-04 17:57:36 +00:00
dcone%netscape.com bd4fcb0006 Mac Implementation 1998-09-04 17:57:04 +00:00
pierre%netscape.com 11f99fbfc6 fix a crash in the destructor (don't delete mFrontBuffer) 1998-09-04 00:33:49 +00:00
mcafee%netscape.com 9a4b4f1a2c More solaris breakage, nsImageUnix::BuildImage() needs to return status. 1998-09-03 10:51:54 +00:00
thom%netscape.com 4484ae3e9b Copy and paste error (SomethingClassWin needed to change to somethingClassMac) 1998-09-03 02:54:11 +00:00
rods%netscape.com 4ff4006b6b Fixed a bug in ConvertPixel 1998-09-02 19:51:32 +00:00
rods%netscape.com 84106de27a Implemented ConvertPixel 1998-09-02 19:33:01 +00:00
rods%netscape.com c4c7020588 Implemented ConvertPixel 1998-09-02 19:26:43 +00:00
rods%netscape.com b565caf5f2 Added ConvertPixel to nsIDeviceContext 1998-09-02 19:24:05 +00:00
kmcclusk%netscape.com a4c1282a98 More 8BIT visual support. 1998-09-01 23:22:49 +00:00
rods%netscape.com a4835c7144 Cast mWidget to Widget 1998-09-01 23:21:38 +00:00
rods%netscape.com cd8b62858f Added InstallColormap call to ConvertPixel 1998-09-01 22:44:17 +00:00
rods%netscape.com d5b257923a Exported nsDeviceContentUnix.h its needed by nsWindow for SetForegroundColor
and SetBackgroundColor
1998-09-01 22:43:38 +00:00
kmcclusk%netscape.com 591fc90098 Add some 8-bit color support + removed bit conversion in nsImageUnix.cpp Draw. 1998-09-01 21:24:32 +00:00
kmcclusk%netscape.com 782a703e5d Added support for 16-bit visuals. 1998-09-01 20:30:42 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
warren%netscape.com 5624832f7d Added closure argument to nsHashtable::Enumerate. Renamed NSRepository to nsRepository. 1998-09-01 00:23:47 +00:00
spider%netscape.com 996065efff Updates for new XPCOM interface changes to the font metrics 1998-08-31 20:11:08 +00:00
kostello%netscape.com 7911194465 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 0d446f724a fixed some updating problems 1998-08-31 15:14:48 +00:00
troy%netscape.com 715766b02f Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
rpotts%netscape.com 0e1ddd6c9c Added casts to allow building with STRICT defined... 1998-08-29 06:19:23 +00:00
rpotts%netscape.com 961c335953 Added specific GDI casts to allow building when STRICT is defined 1998-08-29 06:18:17 +00:00
troy%netscape.com 7de93dccde Added some comments 1998-08-29 03:26:33 +00:00
troy%netscape.com 6a2fa61df2 Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
troy%netscape.com 5d0cbacdc8 Interface change 1998-08-28 15:19:44 +00:00
troy%netscape.com fa44b729c9 Changed nsIFontCache to conform to XPCOM standards 1998-08-28 05:16:41 +00:00
troy%netscape.com f3b72c4103 Turned off gamma correction 1998-08-28 02:50:19 +00:00
troy%netscape.com 1131b9bc4f nsIDeviceContext API change 1998-08-28 01:58:02 +00:00
thom%netscape.com bc62a4d201 got the file in sync with troy's fontCache changes 1998-08-28 00:28:10 +00:00
troy%netscape.com 11cf46a83d More changes to nsIDeviceContext interface 1998-08-27 22:45:35 +00:00
troy%netscape.com 904307572c Fixed build bustage 1998-08-27 22:12:26 +00:00
troy%netscape.com 45f4b12a38 Change to GetRenderingContext 1998-08-27 21:09:25 +00:00
troy%netscape.com fc4394bce5 More API changes to nsIDeviceContext 1998-08-27 20:43:04 +00:00
troy%netscape.com 3ab67ce19b More changes to nsIDeviceContext API 1998-08-27 18:47:22 +00:00
troy%netscape.com d4b941191f Fixed build bustage 1998-08-27 18:46:51 +00:00
troy%netscape.com 361707b894 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
dcone%netscape.com e09924f871 Fixed some small bugs. 1998-08-27 18:03:15 +00:00
dcone%netscape.com e90a67c980 updated some routines 1998-08-27 17:46:58 +00:00
dcone%netscape.com 16f3d2d4cc Updated to use regions 1998-08-27 17:36:13 +00:00
dcone%netscape.com eb63a0a754 updated some routines 1998-08-27 17:35:49 +00:00
troy%netscape.com aa775156da Fixed some bustage I intriduced 1998-08-27 17:26:48 +00:00
mcafee%netscape.com 8f9b1df741 Fixing compile warnings on Linux 1998-08-27 07:13:15 +00:00
mcafee%netscape.com 4748127ee5 Fixing Solaris warning, native compiler 1998-08-27 07:02:04 +00:00
troy%netscape.com 7ad15a2022 Changes to nsIDeviceContext API 1998-08-27 05:14:35 +00:00
troy%netscape.com a2942cd289 Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
dcone%netscape.com 42267c9e5b fixed some port bugs 1998-08-26 14:13:36 +00:00
troy%netscape.com 76a0ad4b29 Changed ImageUpdated() to only do gamma correction if the gamma value
is not 1.0
1998-08-26 03:27:54 +00:00
dcone%netscape.com 0d5cb121b9 Finished the first pass at implementation 1998-08-24 20:10:57 +00:00
dcone%netscape.com 125a0c023a Updated to the correct way the DeviceContext should work, added the twips calculation 1998-08-21 17:11:15 +00:00
michaelp%netscape.com d349a5180f tiny change to get things to work under the 4.1 compiler. 1998-08-19 20:56:27 +00:00
dcone%netscape.com a5b7779ff7 *** empty log message *** 1998-08-19 17:24:14 +00:00
dcone%netscape.com e5f4711280 Re wrote these files to reflect the correct way of building Devicecontexts 1998-08-19 17:24:13 +00:00
dcone%netscape.com acbd812aea Added some project info, files 1998-08-19 17:21:53 +00:00
troy%netscape.com e99c5477d9 Changed CopyOffScreenBits() to make sure the logical palette is selected
into the screen DC.
1998-08-19 04:41:48 +00:00
troy%netscape.com 15a302865d Changed to realize the palette in the background 1998-08-19 01:58:17 +00:00
troy%netscape.com 590beb1f4b Added GetPaletteInfo() 1998-08-19 00:37:05 +00:00
kostello%netscape.com a046eaf5fc Fix mac build 1998-08-18 17:24:55 +00:00
troy%netscape.com 8a7eaeee86 Added GetLogicalPalette() to nsDeviceContextWin 1998-08-18 04:11:01 +00:00
kostello%netscape.com df8860d839 Fix mac build 1998-08-18 00:09:48 +00:00
troy%netscape.com a608953ee7 Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code
1998-08-17 23:20:42 +00:00
rpotts%netscape.com 7fd551001c Checking in changes from the branch rev 1.7.2.2... 1998-08-13 22:18:57 +00:00
michaelp%netscape.com 1dab7a45a1 fixed really nasty allocation error. 1998-08-13 20:39:30 +00:00
kmcclusk%netscape.com 2d69ecb7d1 Save the alpha buffer in a member variable. 1998-08-12 19:57:05 +00:00
michaelp%netscape.com 5d169479f1 fixed *massive* memory leak. 1998-08-12 19:50:13 +00:00
vidur%netscape.com fd1da39664 null check before we release a stream in the failure case. 1998-08-12 17:14:54 +00:00
troy%netscape.com d5bc060d08 Fixed potential leak of alpha bits if image is destroyed before
being optimized
1998-08-12 05:40:03 +00:00
michaelp%netscape.com 4195f69119 added changes for using directx draw with msvc 5.0. 1998-08-12 02:21:06 +00:00
michaelp%netscape.com 5ece139ccc fixed nasty DeleteDC() in destructor. 1998-08-12 01:05:40 +00:00
michaelp%netscape.com 66377e407e changes to support use of DirectDraw. 1998-08-12 00:59:00 +00:00
peterl%netscape.com e9d47824a6 re-enable non-truetype fonts 1998-08-11 23:54:29 +00:00
peterl%netscape.com 92f4b1b608 force aliasing of courier font 1998-08-11 23:54:04 +00:00
peterl%netscape.com 86f2b94eae made check font existence ignore non-truetype fonts 1998-08-10 23:29:21 +00:00
kmcclusk%netscape.com 9ef7f93f84 Added back commented out destruction of XImages and buffers 1998-08-10 23:27:32 +00:00
troy%netscape.com 232404cd73 Added a NS_RELEASE of the URL reader in OnStartBinding() 1998-08-10 22:21:18 +00:00
spider%netscape.com 41a8841d97 Fix build bustage 1998-08-10 18:50:59 +00:00
troy%netscape.com 796ff3b199 Stopped allocating array of size 0... 1998-08-10 17:44:54 +00:00
troy%netscape.com 045207fdac Removed an extra NS_ADDREF call that was keeping the timer object from
ever getting freed
1998-08-10 17:32:57 +00:00
troy%netscape.com 359bfac72c Fixed ClearTimeout() to free the timer closure struct 1998-08-10 17:25:35 +00:00
troy%netscape.com 9e6c9e9a29 Added memset of lfFaceName array to 0 for debug builds. This eliminates
a Purify warning
1998-08-10 16:53:14 +00:00
troy%netscape.com f798df9ec4 Fixed leak of an IL color space in NewPixmap() 1998-08-10 04:25:35 +00:00
troy%netscape.com a1ddf26c8b Fixed leak of async net context. Now there's only one net context used
for all image requests and its released when the image group is
destroyed
1998-08-10 03:33:49 +00:00
troy%netscape.com 3b0cf0d519 Stopped holding a reference to the device context, because the device context
holds a reference to the font cache and this was causing a circular reference
1998-08-10 02:34:00 +00:00
troy%netscape.com 7c078d1211 Changed destructor to release reference to image request observer objects. This
fixes a memory leak
1998-08-09 16:53:24 +00:00
kostello%netscape.com ec33bc0eb4 Fix mac build 1998-08-07 18:34:13 +00:00
kmcclusk%netscape.com afff9ec900 Changed nsFontMetrixWin to nsFontMetrixUnix for GetWidth member function. 1998-08-07 16:43:52 +00:00
peterl%netscape.com cffcce9711 IRIX build fix 1998-08-07 06:24:38 +00:00
peterl%netscape.com adf03a4281 fix build 1998-08-07 03:43:20 +00:00
peterl%netscape.com c14c9f35ba changed nsFont to contain face lists in name 1998-08-07 02:12:34 +00:00
rods%netscape.com 709fe148e0 Removed debug statement 1998-08-05 22:39:02 +00:00
rods%netscape.com 44e8fd30d4 Added a new GetWidth that take a nsIDeviceContext 1998-08-05 22:21:21 +00:00
kostello%netscape.com 3a6891de46 Added GetDepth 1998-08-05 18:14:16 +00:00
kostello%netscape.com 0a696b8301 Added GetDepth method 1998-08-05 18:12:41 +00:00
michaelp%netscape.com 881455e332 we now set the correct stretchblt mode. as a result scaled images look a lot sweeter. 1998-08-05 18:06:19 +00:00
kmcclusk%netscape.com 7cfad3b90f Fix for animated gifs. 1998-08-05 17:06:00 +00:00
troy%netscape.com 3fb6bfcdd6 Changed 8 bit images to use DIB_PAL_COLORS. Also changed it so that
8-bit images aren't dithered to the color cube on a true color device
1998-08-05 15:51:31 +00:00
troy%netscape.com a25f58bfc6 Added GetDepth() member function 1998-08-05 15:26:15 +00:00
pierre%netscape.com ceedef256c added the "mac" group 1998-08-05 08:27:38 +00:00
pierre%netscape.com 9fc96345cc fix build on Mac 1998-08-05 08:23:13 +00:00
pierre%netscape.com 2453445149 added dozens of missing pure virtual functions 1998-08-05 08:21:01 +00:00
pierre%netscape.com 9106a8152f On Mac only, explicitly create the ImageManagerInit 1998-08-05 08:20:01 +00:00
pierre%netscape.com 4036ac81f1 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
pierre%netscape.com 26e3be487b added declaration of pure virtual functions to fix build on Mac 1998-08-05 08:11:01 +00:00
kipp%netscape.com 317a9ff089 Use flexible library naming 1998-08-05 01:40:20 +00:00
troy%netscape.com c223336a7d Fixed memory leak (mObservers wasn't being freed) 1998-08-04 20:46:00 +00:00
troy%netscape.com e9866e9ec6 Fixed Win95 transparent image problem 1998-08-04 05:24:14 +00:00
michaelp%netscape.com 908c2db807 hacks to get the build going on IRIX. 1998-08-04 04:57:24 +00:00
michaelp%netscape.com 1a761fdd21 fix for unix build. 1998-08-04 04:07:59 +00:00
kmcclusk%netscape.com 3e68a0dbca Derive nsDeviceContextUnix from nsDeviceContext and removed redudant methods
and fields
1998-08-03 23:06:05 +00:00
kmcclusk%netscape.com 53c78a0726 Derived nsDeviceContextUnix from nsDeviceContextImpl and removed redudant
methods + fields.
1998-08-03 23:05:13 +00:00
troy%netscape.com 2cad98dbf2 Changed rendering context to use stock black brush (this reduces our GDI
usage ever so slightly), and added some XXX comments
1998-08-03 22:56:16 +00:00
troy%netscape.com f9fe147c7a Fixed reference counting of singleton image manager 1998-08-03 21:05:36 +00:00
troy%netscape.com f8fefb3ff1 Added #include of "ns_util.h" 1998-08-03 05:34:28 +00:00
troy%netscape.com f9df8c333d More work in progress for palette support 1998-08-03 05:32:52 +00:00
troy%netscape.com 60067becf4 Work in progress for Windows palette support 1998-08-03 05:24:59 +00:00
troy%netscape.com c30e0e4b2c API changes to how an image group context is created 1998-08-03 05:10:14 +00:00
troy%netscape.com 09b678312a Image group now holds a reference to a nsIDeviceContext and not a
nsIRenderingContext. Optimize() member function of nsIImage changed
to take a nsIDeviceContext
1998-08-03 04:53:25 +00:00
troy%netscape.com 2e20bc81cc Fixed some ref counting problems with the nsIImage 1998-08-02 17:04:53 +00:00
michaelp%netscape.com 700f709fee added CheckFontExistence(). 1998-08-01 22:29:55 +00:00
michaelp%netscape.com e1337dd252 added docs for function. 1998-08-01 21:37:40 +00:00
michaelp%netscape.com 47a3195271 added font existence API. 1998-08-01 21:36:05 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
kmcclusk%netscape.com 3eb30c6b4c Removed debug output. 1998-07-31 21:37:51 +00:00
peterl%netscape.com f404d84fe9 improved font rounding when app units aren't twips 1998-07-31 05:53:55 +00:00
kmcclusk%netscape.com 8e8c2b8763 Build XImage on each draw only if Optimize has not been called. 1998-07-30 20:42:15 +00:00
hardts%netscape.com 028eed743b add more stub functions to ImageURLImpl to deal with changes in nsIURL 1998-07-29 22:39:28 +00:00
kipp%netscape.com 7c75833777 Fixed GetFontMetrics API to AddRef 1998-07-29 03:57:27 +00:00
troy%netscape.com 2bd2a4e70e Added LoadIconImage() for Unix 1998-07-29 01:31:59 +00:00
troy%netscape.com e727476fb9 Added LoadIconImage member function to nsIDeviceContext, and added new
network context for doing sync load (used when loading icons)
1998-07-29 00:42:50 +00:00
troy%netscape.com 4be6e7ed4c Added dependency on raptorgfx_s.lib 1998-07-28 05:09:31 +00:00
michaelp%netscape.com f9397cea67 made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
troy%netscape.com ef1dfe9b6c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
michaelp%netscape.com 9540be647f fixed troy's bustage. 1998-07-26 23:25:05 +00:00