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

731 Коммитов

Автор SHA1 Сообщение Дата
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