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

755 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com 10e074cdeb fix casting for strict compilers 1999-02-10 08:24:04 +00:00
michaelp%netscape.com f92bfd0fa2 added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
mcafee%netscape.com 2e8171db9e More portable Makefile, and this one builds 1999-02-10 01:50:29 +00:00
mcafee%netscape.com 3c40254edd Wrapping tests up in ENABLE_TESTS 1999-02-10 01:21:39 +00:00
michaelp%netscape.com db932c1eb9 fleshed out rect enumeration method. 1999-02-10 00:35:04 +00:00
michaelp%netscape.com 83d39be7ba added xregion.h (formerly known as region.h in the old xfe).
added support for enumerating over the rects of an XRegion.
1999-02-09 19:22:33 +00:00
dcone%netscape.com ca82fa4359 Fixed bug 1999-02-08 17:23:59 +00:00
dcone%netscape.com e7dcf70b50 Took out an method not used, that broke build 1999-02-08 17:13:33 +00:00
dcone%netscape.com c04cbe9bf0 cleanup of nsIImage class. There were routines and methods no longer used or needed. 1999-02-08 16:34:56 +00:00
pavlov%pavlov.net bc177d49b3 remove some unused code 1999-02-06 03:40:50 +00:00
pavlov%pavlov.net d7353b57d1 and they said, "let there be toolbars" 1999-02-05 08:10:08 +00:00
pavlov%pavlov.net 83d4111203 redo the entire region handling in nsRenderingContext -- not quite finished 1999-02-04 19:17:40 +00:00
pavlov%pavlov.net d9caf48649 fix big endian image stuff 1999-02-04 18:57:54 +00:00
dcone%netscape.com a91550956e Fixed typo 1999-02-04 15:54:34 +00:00
dcone%netscape.com 0f03d8276c Added image support to the postscript 1999-02-04 15:17:42 +00:00
pavlov%pavlov.net 4cadf5bcd7 some work on SetClipRectInPixels and some warnings cleanups 1999-02-03 19:17:46 +00:00
dcone%netscape.com a356eac368 Rewrote postscript stuff into a nsPostScriptObj class 1999-02-03 18:21:33 +00:00
davidm%netscape.com 4217faf63a 2439 [PP] Links are not underlined correctly 1999-02-01 23:50:25 +00:00
ftang%netscape.com cd89a87e7f turn on ATSUI and use it in the case of non-ASCII characters so we can start testing Japanese pages such as http://home.netscape.com/ja 1999-02-01 22:32:40 +00:00
dcone%netscape.com 62cacbd42a Added the Transparency for the GIF. 1999-02-01 15:38:31 +00:00
pavlov%pavlov.net ad31345ef2 make the underline a bit closer 1999-01-30 00:25:26 +00:00
ftang%netscape.com a603db7c59 fix non-ASCII font face cannot be found problem 1999-01-29 18:06:42 +00:00
dcone%netscape.com 3f77479aa3 Fixed the font information, added some postscript drawing routines. 1999-01-29 17:00:46 +00:00
michaelp%netscape.com c3fd79deda fixed build bustage. 1999-01-28 05:46:05 +00:00
michaelp%netscape.com b4c034f217 removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth(). 1999-01-28 05:03:05 +00:00
harishd%netscape.com 20f53a1081 Changing the variable aElementColor to aBorderColor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:29:54 +00:00
harishd%netscape.com 457b3e5601 Changing the varible name aElementColor to aBordercolor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.
1999-01-28 00:29:00 +00:00
slamm%netscape.com dfa2b3d4b3 Use TK_CFLAGS instead of TK_GTK_FLAGS. Put each CPPSRC on its own line 1999-01-27 19:52:30 +00:00
michaelp%netscape.com 6bb1a8eddd fix build bustage. 1999-01-25 23:40:01 +00:00
michaelp%netscape.com 46c7a932ae apparently this needs to be exported too... 1999-01-25 23:06:55 +00:00
michaelp%netscape.com c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
pinkerton%netscape.com f7d44a90e1 Fix bug 2535 (memory leak) with nsCOMPtr 1999-01-25 17:44:21 +00:00
sudu%netscape.com c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
pavlov%pavlov.net da53ba8c8d compute the scrollbar width/height instead of using a constant number 1999-01-24 07:53:30 +00:00
pavlov%pavlov.net 0eea3374ec use some funky calculations to figure out the underline offset and the
underlining size
1999-01-24 06:55:17 +00:00
pavlov%pavlov.net b7fad535ab clean up some font code 1999-01-23 03:29:50 +00:00
wtc%netscape.com 05ce7e7e53 Avoid string literals that span multiple lines because some compilers
don't like line endings in string literals.
1999-01-23 02:04:40 +00:00
wtc%netscape.com 2de1b2d2fe Text after #endif should be put inside a comment. 1999-01-23 02:02:42 +00:00
harishd%netscape.com c9dfc3c404 Added method to display CSS 3D borders. 1999-01-22 22:20:11 +00:00
harishd%netscape.com f3769e9866 Added method to display CSS 3D borders.
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com 320f9f1215 Combined files so 3 were deleted, one added. The Rendering and Device contexts
no longer need deligates, so they were removed.  Cleaned up alot of code no
longer needed
1999-01-22 16:21:58 +00:00
pavlov%pavlov.net 1b7b8f39fb fix rods's broken code 1999-01-22 00:45:56 +00:00
rods%netscape.com fc15c1f574 I removed the error. 1999-01-22 00:41:18 +00:00
rods%netscape.com c6309515c4 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
mcafee%netscape.com 221ee99f04 Comment: No output = test passed 1999-01-21 22:10:57 +00:00
pierre%netscape.com abd275880c initialize the Rendering Context from a GrafPort to fix a crash on print 1999-01-21 08:41:21 +00:00
jfrancis%netscape.com 4ad8140c73 adding checks for null mContext member in a couple of places - fixes bug #2200 1999-01-19 02:05:53 +00:00
pierre%netscape.com 07e5135d18 Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort. 1999-01-19 00:02:15 +00:00
pavlov%pavlov.net a917178521 use the right visual when we create the pixmaps 1999-01-17 22:48:27 +00:00
pavlov%pavlov.net c2804dc7b3 fix for crashing. 1999-01-17 17:51:02 +00:00
pierre%netscape.com fca58a3d4d #2439: Links are not underlined correctly 1999-01-16 07:09:59 +00:00
dcone%netscape.com 91a37ba797 Added new postscript fontmetric code, and update the Device and Rendering context to use them 1999-01-15 22:44:32 +00:00
pierre%netscape.com cabf7ef087 fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface(). 1999-01-15 22:35:41 +00:00
sfraser%netscape.com 7fc6513bbe Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works. 1999-01-15 18:18:02 +00:00
sfraser%netscape.com 3a2fcc0cdc Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used. 1999-01-15 18:15:21 +00:00
sfraser%netscape.com ff65ca818e Fix font selection when using ATSUI (part of bug 2411) 1999-01-15 05:23:23 +00:00
jfrancis%netscape.com 9de778d6ae Fixing leaking of GraphioStates in nsRenderingContextMac destructor 1999-01-15 05:14:51 +00:00
peterl%netscape.com a7838d1aaa finally removed compatibility emulation of Nav font rounding bug
Let the games begin

Checkin during red tree approved by sar
1999-01-15 01:52:03 +00:00
davidm%netscape.com 55e7b9323f 2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman 2155 Proportional font spacing issues using metrics ( fix for nonATSUI drawing case ) 1999-01-14 23:51:17 +00:00
pierre%netscape.com 5c29b5f5e9 fixed build breakage 1999-01-14 07:30:02 +00:00
sfraser%netscape.com 2686e6ba4e Fix build bustage (adding method CreateFontAliasTable()) 1999-01-14 07:14:24 +00:00
pierre%netscape.com 1ace30709f Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 07:12:07 +00:00
pierre%netscape.com 81bed3109b Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 06:54:21 +00:00
sfraser%netscape.com 08e4e851b4 Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library. 1999-01-14 05:49:51 +00:00
sfraser%netscape.com 96503f181b Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it. 1999-01-14 05:47:20 +00:00
sfraser%netscape.com 9a281cb29a Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num. 1999-01-14 05:44:50 +00:00
sfraser%netscape.com f1856da182 Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo 1999-01-14 05:43:18 +00:00
davidm%netscape.com c37a50331a Bugzilla [PP] Font mapping is wrong 1999-01-13 02:14:10 +00:00
pierre%netscape.com 9e0eaf62a8 Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project. 1999-01-12 11:35:49 +00:00
pavlov%pavlov.net 2d3d50a130 strikethrough now shows... 1999-01-11 00:54:15 +00:00
pavlov%pavlov.net 39384f2578 remove unused code. fixed underlining. 1999-01-08 15:51:46 +00:00
sfraser%netscape.com 6ff885142e Fix the damn asserts 1999-01-08 03:15:15 +00:00
ftang%netscape.com b455e672a8 add ATSUI hack. This hack could be turn off by comment out the #define USE_ATSUI_HACK line. 1999-01-07 18:27:09 +00:00
ftang%netscape.com 0fbb98d2c0 add weak link to ATSUnicodeLib 1999-01-07 18:24:42 +00:00
dcone%netscape.com 0a2a9de92c Continued work on the Postscript Device and RenderingContexts.
Removed unessisary file, factory is not needed.
1999-01-07 14:50:53 +00:00
pavlov%pavlov.net 83607f1f5d remove debugging comment 1999-01-06 02:06:00 +00:00
pierre%netscape.com 2a1a1341f0 removed the handle locking/unlocking in Init() 1999-01-05 04:07:23 +00:00
pierre%netscape.com ac05cfa842 commented out an annoying assert 1999-01-05 03:51:17 +00:00
pavlov%pavlov.net 3d01f1583c we now underline things. 1999-01-05 03:25:55 +00:00
blizzard%appliedtheory.com 1f45aecfb1 patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
better.
1998-12-29 21:08:11 +00:00
dcone%netscape.com 17b9100eae Cleanup of the ps directory, incremental changes 1998-12-24 15:25:04 +00:00
dcone%netscape.com 2e243d1ebe Took out files no longer needed for ps, updated all the files for postscript support 1998-12-21 22:13:04 +00:00
peterl%netscape.com 9cf2d5b9a3 rename string key to make buggy unix compilers happy 1998-12-21 05:55:44 +00:00
pavlov%pavlov.net 8e130a59d7 s/ :: /::/ 1998-12-19 18:01:17 +00:00
dcone%netscape.com 9eadd75926 Renamed files for the Postscript directory in GFX 1998-12-18 16:36:47 +00:00
pierre%netscape.com e49a493536 Fixed/implemented offscreen drawings - numerous changes 1998-12-18 13:33:31 +00:00
pierre%netscape.com 55d8e8308c Call DeviceContextImpl::Init() just because Windows does it 1998-12-18 13:29:06 +00:00
waterson%netscape.com dc46b0d605 Added IID() method to fix build bustage. 1998-12-18 01:33:04 +00:00
pinkerton%netscape.com 68d610b7dc inserted IID() method for use with nsCOMPtr. 1998-12-17 22:13:41 +00:00
kmcclusk%netscape.com bf68ccdd6e Added files to do postscript output. 1998-12-16 18:30:12 +00:00
dcone%netscape.com f12f16d7ca fixed resoluton problem for printing. 1998-12-16 18:02:38 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
sfraser%netscape.com e9e844fade Make sure the port is initialized before being used. 1998-12-16 01:59:31 +00:00
michaelp%netscape.com 361c8080ab we now call GetNearestColor() in 16bpp when creating brushes and pens. 1998-12-15 23:13:59 +00:00
dcone%netscape.com 031b91086c fixed the scaling bug 1998-12-15 22:22:40 +00:00
dcone%netscape.com b8ac234783 fixed some scaling issues for the mac, more to come 1998-12-15 16:56:53 +00:00
michaelp%netscape.com 56739d78ed added ability to create a drawing surface from an HDC under windows. 1998-12-15 05:51:30 +00:00
beard%netscape.com 3cb1e6a525 Regenerated with GenToc. 1998-12-13 18:15:37 +00:00
beard%netscape.com 18984e5a80 First Checked In. 1998-12-13 05:01:04 +00:00
dcone%netscape.com 4a72bbc421 Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null. 1998-12-11 16:04:23 +00:00
dcone%netscape.com dbbc7656e0 Update routines for creating a rendering context, and fixed the printer routines. 1998-12-11 16:03:10 +00:00
sfraser%netscape.com 4dd86fa679 Convert AppleSingle -> binary 1998-12-09 20:48:54 +00:00
pierre%netscape.com 444722da26 removed saari's hack 1998-12-09 10:17:31 +00:00
pierre%netscape.com 8511ddd1bf A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc) 1998-12-09 10:17:06 +00:00
pierre%netscape.com 6a2a819850 Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt). 1998-12-09 10:15:44 +00:00
pierre%netscape.com 8ad023962d Removed some include files 1998-12-09 10:14:46 +00:00
pierre%netscape.com 9d05ec1948 optimized and cleaned up 1998-12-08 01:47:04 +00:00
pierre%netscape.com f05cc800e4 rewrote the GraphicState handling 1998-12-07 03:38:58 +00:00
pavlov%pavlov.net 98d8b3260b set the horizontal scrollbars to the same size size as the verticle ones 1998-12-06 03:48:00 +00:00
pierre%netscape.com 7286b17e0d Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon. 1998-12-06 00:37:00 +00:00
pierre%netscape.com 9e32e43c56 added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon. 1998-12-06 00:36:35 +00:00
ramiro%netscape.com e06da2636b Add a return to a function which is supposed to return a value,
to keep the Solaris native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:50:32 +00:00
ramiro%netscape.com 9de953c38c Have cvs ignore generated files. 1998-12-05 11:07:45 +00:00
ramiro%netscape.com e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com 5da3c4fcdf base/src/nscore.h 1998-12-04 21:36:23 +00:00
dcone%netscape.com 62ebba6112 added the nsDeviceContextSpec and factory support for printing support 1998-12-04 15:04:30 +00:00
dcone%netscape.com 26823e00ba Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support 1998-12-04 15:03:41 +00:00
dcone%netscape.com 88115c192c Added printing support 1998-12-04 15:02:57 +00:00
dcone%netscape.com 67bb22ffd2 First Checked In. 1998-12-04 15:02:26 +00:00
wtc%netscape.com a8634da8db The GetFont method of nsIFontMetrics takes a const pointer reference
as argument, so we must pass a const pointer reference to it.
1998-12-03 06:29:56 +00:00
saari%netscape.com a07f36d7a3 Mac only hackery to make rendering better. 1998-12-03 04:24:54 +00:00
dcone%netscape.com 26ca8b6da1 Changed the name so the file can be used on the Mac 1998-12-02 16:06:31 +00:00
saari%netscape.com b27c30186d Fixing build breakage. nsRegionMac API changed on me. 1998-12-02 04:26:16 +00:00
saari%netscape.com bc42ed5311 fixed hand merge error 1998-12-02 02:51:48 +00:00
saari%netscape.com 78e6d81792 ---------------------------------------- mozilla/widget/public/nsIWidget.h - Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP. 1998-12-02 02:45:08 +00:00
michaelp%netscape.com 0a0eebced5 fixed build bustage. 1998-12-02 01:08:43 +00:00
michaelp%netscape.com 6cfbcd06d4 added GetNativeRegion() and GetRegionComplexity() methods. 1998-12-02 00:36:56 +00:00
michaelp%netscape.com 65c80dd46c added FlushFontCache() method. 1998-12-02 00:36:08 +00:00
michaelp%netscape.com 1ee9c1329d fixed build bustage. 1998-12-01 03:20:31 +00:00
michaelp%netscape.com cf6649b654 revised blending APIs. 1998-12-01 02:15:44 +00:00
beard%netscape.com c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
michaelp%netscape.com 337fdd7b1a fixed resource leak. 1998-11-28 04:24:15 +00:00
michaelp%netscape.com b90db6870e fixed duplicate resource free. 1998-11-28 04:23:23 +00:00
michaelp%netscape.com 6458aae507 added missing NS_INIT_REFCNT(). 1998-11-28 04:21:40 +00:00
peterl%netscape.com 69e3d48a66 fixed bug in font family enumeration 1998-11-26 01:22:04 +00:00
peterl%netscape.com 67259ff2eb made text decorations minimum size of 1 pixel 1998-11-26 01:21:22 +00:00
pavlov%pavlov.net 284b625465 fix twipstopixels and got the scrollbars being sized correctly. 1998-11-25 02:35:59 +00:00
pavlov%pavlov.net af40821be2 fixed my assertions 1998-11-24 02:43:07 +00:00
pavlov%pavlov.net cb493acde9 Added assertions to the gfx code so that we can find xp bugs easier 1998-11-24 01:32:12 +00:00
michaelp%netscape.com 7daa228fcb added STRICT to list of preprocessor macros. 1998-11-23 19:00:08 +00:00
danm%netscape.com a6c31bb67b tweak change from last rev, which was close, but misbehaved. 1998-11-23 17:34:50 +00:00
troy%netscape.com 941d378fe1 Added some casts to make the 6.0 compiler happy 1998-11-23 03:43:49 +00:00
michaelp%netscape.com 8a584e6cef changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.
1998-11-23 03:14:38 +00:00
michaelp%netscape.com bdeb783286 fixed a bunch of resource leaks exposed by the xpviewer and made
HDC state propagation in SetupDC() more complete.
1998-11-23 03:12:16 +00:00
michaelp%netscape.com 4b838b50a8 changed for drawing surface HDC ownership setting. 1998-11-23 03:11:16 +00:00
michaelp%netscape.com 4f12e7519f added data member to drawing surface to determine HDC ownership. 1998-11-23 03:10:10 +00:00
msw%gimp.org 3cdb3eefd1 A _horrible_ hack to make fonts readable. Needs much work here. 1998-11-22 04:48:47 +00:00
cyeh%netscape.com 65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
dcone%netscape.com cd511096b1 Another small fix, to take out unnessasary code. 1998-11-20 19:26:06 +00:00
dcone%netscape.com 86b548ad37 deleted duplicate from nsIImage.h - no longer needed 1998-11-20 18:55:50 +00:00