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

875 Коммитов

Автор SHA1 Сообщение Дата
dcone%netscape.com 913c087dee Added the printer support files for GTK 1999-02-18 22:35:11 +00:00
michaelp%netscape.com 5d4c7f34d2 made GetClipRegion comply with new API definition. 1999-02-18 22:34:19 +00:00
kipp%netscape.com c6d06e2e44 Compute subscript/super-script offsets; support (disabled) scalable fonts 1999-02-18 03:32:29 +00:00
harishd%netscape.com 288eb59701 Added FontMetrics for regression testing.
Will be wired up later
1999-02-17 18:21:51 +00:00
mjudge%netscape.com c95550b563 fix for nsCOMPtr Carpool change 1999-02-17 02:56:26 +00:00
michaelp%netscape.com 9332f17d3e made nsRenderingContextWin::GetClipRegion() work. 1999-02-16 00:50:32 +00:00
troy%netscape.com 612cd01861 Added some "const" to code that was retrieving a pointer to the internal
buffer managed by nsString
1999-02-14 05:56:15 +00:00
kipp%netscape.com 4477965d94 Added IID static method 1999-02-12 17:13:30 +00:00
dcone%netscape.com 3be8aecf3c fixed clipping, added ellipse and arc support 1999-02-12 16:12:15 +00:00
pierre%netscape.com a7cbc355e7 GetHints() returns NS_RENDERING_HINT_FAST_8BIT_TEXT 1999-02-12 05:56:56 +00:00
pierre%netscape.com 1b903e62bb Fixed GetClipRegion/SetClipRegion to work with the actual region instead of its bounding box 1999-02-11 23:51:15 +00:00
pierre%netscape.com e2f88ae014 Added SetNativeRegion() + fixed 2 small bugs 1999-02-11 23:50:12 +00:00
sfraser%netscape.com df155f75ba Added an assert in GetWidth, which fires if you try to measure width on a longer string than you really have. (May be triggered by selection code.) 1999-02-11 04:37:41 +00:00
kipp%netscape.com a974c955ce Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine 1999-02-11 02:21:48 +00:00
michaelp%netscape.com e39ba40fc7 made GetRects() and FreeRects() work. killed ForEachRect(). 1999-02-11 01:54:01 +00:00
michaelp%netscape.com dfd4a7b87e killed ForEachRect(). 1999-02-11 01:53:42 +00:00
kipp%netscape.com 5bc85299cc Implement support for the spacing array for DrawString; fixed bug - didn't init mDrawStringBuf in ctor 1999-02-10 22:23:16 +00:00
kipp%netscape.com 72979eb40b Use a growable buffer to translate unicode to GdkWChar's instead of mallocing for every draw/measure 1999-02-10 17:58:43 +00:00
kipp%netscape.com 25ae173d9f Eliminate a compiler warning 1999-02-10 17:58:16 +00:00
pierre%netscape.com 7a849a7a02 backed out ftang's changes from version 1.72 1999-02-10 10:24:57 +00:00
alecf%netscape.com 30cbc8d51b fix casting for strict compilers 1999-02-10 08:24:04 +00:00
michaelp%netscape.com a8d07f7697 added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
mcafee%netscape.com 9d2cbf6a48 More portable Makefile, and this one builds 1999-02-10 01:50:29 +00:00
mcafee%netscape.com 34b2b77be6 Wrapping tests up in ENABLE_TESTS 1999-02-10 01:21:39 +00:00
michaelp%netscape.com ab4ddd5d5b fleshed out rect enumeration method. 1999-02-10 00:35:04 +00:00
michaelp%netscape.com 2100aab591 added xregion.h (formerly known as region.h in the old xfe).
added support for enumerating over the rects of an XRegion.
1999-02-09 19:22:33 +00:00
dcone%netscape.com 622882d224 Fixed bug 1999-02-08 17:23:59 +00:00
dcone%netscape.com ba7a2c46d3 Took out an method not used, that broke build 1999-02-08 17:13:33 +00:00
dcone%netscape.com c551b32606 cleanup of nsIImage class. There were routines and methods no longer used or needed. 1999-02-08 16:34:56 +00:00
pavlov%pavlov.net fe54bfc647 remove some unused code 1999-02-06 03:40:50 +00:00
pavlov%pavlov.net 59ac1def38 and they said, "let there be toolbars" 1999-02-05 08:10:08 +00:00
pavlov%pavlov.net 2926c80732 redo the entire region handling in nsRenderingContext -- not quite finished 1999-02-04 19:17:40 +00:00
pavlov%pavlov.net a7ca8c1e5b fix big endian image stuff 1999-02-04 18:57:54 +00:00
dcone%netscape.com e6d64f4cd8 Fixed typo 1999-02-04 15:54:34 +00:00
dcone%netscape.com bab2192635 Added image support to the postscript 1999-02-04 15:17:42 +00:00
pavlov%pavlov.net fe7505fb67 some work on SetClipRectInPixels and some warnings cleanups 1999-02-03 19:17:46 +00:00
dcone%netscape.com b4bc6a1e00 Rewrote postscript stuff into a nsPostScriptObj class 1999-02-03 18:21:33 +00:00
davidm%netscape.com 307ec6dc29 2439 [PP] Links are not underlined correctly 1999-02-01 23:50:25 +00:00
ftang%netscape.com 98bbad344e turn on ATSUI and use it in the case of non-ASCII characters so we can start testing Japanese pages such as http://home.netscape.com/ja 1999-02-01 22:32:40 +00:00
dcone%netscape.com c737f445e8 Added the Transparency for the GIF. 1999-02-01 15:38:31 +00:00
pavlov%pavlov.net 5e3703bd09 make the underline a bit closer 1999-01-30 00:25:26 +00:00
ftang%netscape.com 68581e4546 fix non-ASCII font face cannot be found problem 1999-01-29 18:06:42 +00:00
dcone%netscape.com 9363ec90a2 Fixed the font information, added some postscript drawing routines. 1999-01-29 17:00:46 +00:00
michaelp%netscape.com 21085a9bdf fixed build bustage. 1999-01-28 05:46:05 +00:00
michaelp%netscape.com b6e5b908e0 removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth(). 1999-01-28 05:03:05 +00:00
harishd%netscape.com 664193cfb9 Changing the variable aElementColor to aBorderColor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:29:54 +00:00
harishd%netscape.com 804d46de03 Changing the varible name aElementColor to aBordercolor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.
1999-01-28 00:29:00 +00:00
slamm%netscape.com 58fb46e06b Use TK_CFLAGS instead of TK_GTK_FLAGS. Put each CPPSRC on its own line 1999-01-27 19:52:30 +00:00
michaelp%netscape.com bb1bc3026c fix build bustage. 1999-01-25 23:40:01 +00:00
michaelp%netscape.com 2fdbb0c53b apparently this needs to be exported too... 1999-01-25 23:06:55 +00:00
michaelp%netscape.com 1b121f5a72 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
pinkerton%netscape.com 97f94ab95b Fix bug 2535 (memory leak) with nsCOMPtr 1999-01-25 17:44:21 +00:00
sudu%netscape.com 6624efe2b9 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
pavlov%pavlov.net d349eb9a9f compute the scrollbar width/height instead of using a constant number 1999-01-24 07:53:30 +00:00
pavlov%pavlov.net cb0fa1ddcf use some funky calculations to figure out the underline offset and the
underlining size
1999-01-24 06:55:17 +00:00
pavlov%pavlov.net 4aa2d8dda4 clean up some font code 1999-01-23 03:29:50 +00:00
wtc%netscape.com f66584ab9a Avoid string literals that span multiple lines because some compilers
don't like line endings in string literals.
1999-01-23 02:04:40 +00:00
wtc%netscape.com 5210c5cd6b Text after #endif should be put inside a comment. 1999-01-23 02:02:42 +00:00
harishd%netscape.com af31f3fd40 Added method to display CSS 3D borders. 1999-01-22 22:20:11 +00:00
harishd%netscape.com 667a2eddc7 Added method to display CSS 3D borders.
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com 261d0f0c9b Combined files so 3 were deleted, one added. The Rendering and Device contexts
no longer need deligates, so they were removed.  Cleaned up alot of code no
longer needed
1999-01-22 16:21:58 +00:00
pavlov%pavlov.net d1ef13df42 fix rods's broken code 1999-01-22 00:45:56 +00:00
rods%netscape.com 87c958fab8 I removed the error. 1999-01-22 00:41:18 +00:00
rods%netscape.com 57251495aa Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
mcafee%netscape.com 4f3741123d Comment: No output = test passed 1999-01-21 22:10:57 +00:00
pierre%netscape.com 698b0c7465 initialize the Rendering Context from a GrafPort to fix a crash on print 1999-01-21 08:41:21 +00:00
jfrancis%netscape.com 12ce9c8c0d adding checks for null mContext member in a couple of places - fixes bug #2200 1999-01-19 02:05:53 +00:00
pierre%netscape.com 434b3ec6d6 Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort. 1999-01-19 00:02:15 +00:00
pavlov%pavlov.net a22e76b95a use the right visual when we create the pixmaps 1999-01-17 22:48:27 +00:00
pavlov%pavlov.net 6240573521 fix for crashing. 1999-01-17 17:51:02 +00:00
pierre%netscape.com 5fbcc14dbb #2439: Links are not underlined correctly 1999-01-16 07:09:59 +00:00
dcone%netscape.com dd089a67f5 Added new postscript fontmetric code, and update the Device and Rendering context to use them 1999-01-15 22:44:32 +00:00
pierre%netscape.com ae8c0fabc5 fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface(). 1999-01-15 22:35:41 +00:00
sfraser%netscape.com dddd2e1412 Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works. 1999-01-15 18:18:02 +00:00
sfraser%netscape.com f2404607f8 Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used. 1999-01-15 18:15:21 +00:00
sfraser%netscape.com fa33a30db5 Fix font selection when using ATSUI (part of bug 2411) 1999-01-15 05:23:23 +00:00
jfrancis%netscape.com d6323fbd09 Fixing leaking of GraphioStates in nsRenderingContextMac destructor 1999-01-15 05:14:51 +00:00
peterl%netscape.com 781a155121 finally removed compatibility emulation of Nav font rounding bug
Let the games begin

Checkin during red tree approved by sar
1999-01-15 01:52:03 +00:00
davidm%netscape.com b8287a15a4 2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman 2155 Proportional font spacing issues using metrics ( fix for nonATSUI drawing case ) 1999-01-14 23:51:17 +00:00
pierre%netscape.com 8cf6ca1f0b fixed build breakage 1999-01-14 07:30:02 +00:00
sfraser%netscape.com 83c0407709 Fix build bustage (adding method CreateFontAliasTable()) 1999-01-14 07:14:24 +00:00
pierre%netscape.com 6702d70f61 Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 07:12:07 +00:00
pierre%netscape.com 8c245d6692 Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 06:54:21 +00:00
sfraser%netscape.com 23d3ce9f51 Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library. 1999-01-14 05:49:51 +00:00
sfraser%netscape.com 54acb0fee9 Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it. 1999-01-14 05:47:20 +00:00
sfraser%netscape.com b3f733e464 Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num. 1999-01-14 05:44:50 +00:00
sfraser%netscape.com 217f980483 Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo 1999-01-14 05:43:18 +00:00
davidm%netscape.com 0e90b29e67 Bugzilla [PP] Font mapping is wrong 1999-01-13 02:14:10 +00:00
pierre%netscape.com 6c895ae8a1 Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project. 1999-01-12 11:35:49 +00:00
pavlov%pavlov.net 776e6c6161 strikethrough now shows... 1999-01-11 00:54:15 +00:00
pavlov%pavlov.net 70fd3c99ef remove unused code. fixed underlining. 1999-01-08 15:51:46 +00:00
sfraser%netscape.com 20c8b9f23a Fix the damn asserts 1999-01-08 03:15:15 +00:00
ftang%netscape.com 0e18fe6c32 add ATSUI hack. This hack could be turn off by comment out the #define USE_ATSUI_HACK line. 1999-01-07 18:27:09 +00:00
ftang%netscape.com 0cb361150e add weak link to ATSUnicodeLib 1999-01-07 18:24:42 +00:00
dcone%netscape.com c72183a22a Continued work on the Postscript Device and RenderingContexts.
Removed unessisary file, factory is not needed.
1999-01-07 14:50:53 +00:00
pavlov%pavlov.net d4978b9108 remove debugging comment 1999-01-06 02:06:00 +00:00
pierre%netscape.com f8c62f1334 removed the handle locking/unlocking in Init() 1999-01-05 04:07:23 +00:00
pierre%netscape.com bee6ae8584 commented out an annoying assert 1999-01-05 03:51:17 +00:00
pavlov%pavlov.net 34526ffae5 we now underline things. 1999-01-05 03:25:55 +00:00
blizzard%appliedtheory.com 7546120993 patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
better.
1998-12-29 21:08:11 +00:00
dcone%netscape.com 28d21b3691 Cleanup of the ps directory, incremental changes 1998-12-24 15:25:04 +00:00
dcone%netscape.com 53d344fffa Took out files no longer needed for ps, updated all the files for postscript support 1998-12-21 22:13:04 +00:00
peterl%netscape.com 47275b4933 rename string key to make buggy unix compilers happy 1998-12-21 05:55:44 +00:00
pavlov%pavlov.net 0a03230a26 s/ :: /::/ 1998-12-19 18:01:17 +00:00
dcone%netscape.com 1045fc091b Renamed files for the Postscript directory in GFX 1998-12-18 16:36:47 +00:00
pierre%netscape.com ef366cc40b Fixed/implemented offscreen drawings - numerous changes 1998-12-18 13:33:31 +00:00
pierre%netscape.com ed9efc3407 Call DeviceContextImpl::Init() just because Windows does it 1998-12-18 13:29:06 +00:00
waterson%netscape.com 5e4eb205b5 Added IID() method to fix build bustage. 1998-12-18 01:33:04 +00:00
pinkerton%netscape.com f5c9eca872 inserted IID() method for use with nsCOMPtr. 1998-12-17 22:13:41 +00:00
kmcclusk%netscape.com bda828779a Added files to do postscript output. 1998-12-16 18:30:12 +00:00
dcone%netscape.com 8c984661d6 fixed resoluton problem for printing. 1998-12-16 18:02:38 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
sfraser%netscape.com 59e4e80c3d Make sure the port is initialized before being used. 1998-12-16 01:59:31 +00:00
michaelp%netscape.com cc6547db1b we now call GetNearestColor() in 16bpp when creating brushes and pens. 1998-12-15 23:13:59 +00:00
dcone%netscape.com ce63f20492 fixed the scaling bug 1998-12-15 22:22:40 +00:00
dcone%netscape.com 6c691b667d fixed some scaling issues for the mac, more to come 1998-12-15 16:56:53 +00:00
michaelp%netscape.com 2f04ba48dc added ability to create a drawing surface from an HDC under windows. 1998-12-15 05:51:30 +00:00
beard%netscape.com c8acfa93a2 Regenerated with GenToc. 1998-12-13 18:15:37 +00:00
beard%netscape.com 48c16d8ad3 First Checked In. 1998-12-13 05:01:04 +00:00
dcone%netscape.com 2eeca3714d Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null. 1998-12-11 16:04:23 +00:00
dcone%netscape.com 02171add6c Update routines for creating a rendering context, and fixed the printer routines. 1998-12-11 16:03:10 +00:00
sfraser%netscape.com f7e4e7b7b9 Convert AppleSingle -> binary 1998-12-09 20:48:54 +00:00
pierre%netscape.com 14a4e6ffe4 removed saari's hack 1998-12-09 10:17:31 +00:00
pierre%netscape.com 34de93e57a A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc) 1998-12-09 10:17:06 +00:00
pierre%netscape.com a7f5371e86 Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt). 1998-12-09 10:15:44 +00:00
pierre%netscape.com ae7da3b28a Removed some include files 1998-12-09 10:14:46 +00:00
pierre%netscape.com 52293d7973 optimized and cleaned up 1998-12-08 01:47:04 +00:00
pierre%netscape.com 219e03195f rewrote the GraphicState handling 1998-12-07 03:38:58 +00:00
pavlov%pavlov.net 74f4b9c9a4 set the horizontal scrollbars to the same size size as the verticle ones 1998-12-06 03:48:00 +00:00
pierre%netscape.com 7e910ae537 Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon. 1998-12-06 00:37:00 +00:00
pierre%netscape.com 2361e037c2 added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon. 1998-12-06 00:36:35 +00:00
ramiro%netscape.com 558ca75430 Add a return to a function which is supposed to return a value,
to keep the Solaris native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:50:32 +00:00
ramiro%netscape.com b67e714e27 Have cvs ignore generated files. 1998-12-05 11:07:45 +00:00
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