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

182 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com 87bdc43443 Export nsIPrintingContext.h for osx r=saari/sr=hyatt, bug# 75653 2001-04-16 22:47:33 +00:00
erik%netscape.com f143fa8a5b bug 75068; author=simon@softel.co.il; r=kmcclusk, ftang; sr=erik; patches
from IBM bidi project (e.g. Arabic, Hebrew)
2001-04-11 23:02:32 +00:00
pavlov%netscape.com 4aaf421123 adding the gfx changes, that arn't part of bug 37779, needed for the new imagelib (ifdef'd) r=saari, sr=sfraser 2001-03-22 04:45:42 +00:00
rbs%maths.uq.edu.au 33a0f9d7c8 remove unused code. b=69313 r=bstell sr=erik 2001-03-21 01:53:52 +00:00
pavlov%netscape.com 2fc149e1f3 make getRect pass out an nsrect& 2001-03-14 01:14:23 +00:00
pavlov%netscape.com d714532feb minor api changes/indentation and spacing fixes, etc 2001-03-14 00:35:27 +00:00
saari%netscape.com efb83a3987 Updates for libimg2 2001-03-13 23:25:59 +00:00
pavlov%netscape.com 1240857af8 removing lots of stuff (like all the platform specific code) moving gfxIImageContainer* into new image library 2001-03-10 01:10:05 +00:00
dcone%netscape.com aa8c76796c Changed the int size from 8 to16. r=mcclusky sr=attinasi 2001-03-05 15:25:23 +00:00
pavlov%netscape.com eea8eb56d8 merging from IMGLIB2_20010126_BRANCH 2001-02-20 22:41:47 +00:00
pavlov%netscape.com 7b303f9b28 removing gfx2 stuff on head in prep for merge from branch 2001-02-20 22:27:56 +00:00
dcone%netscape.com b32af00f17 Changed BeginDocument API call.. added parameter. r=rods sr=attinasi 2001-02-15 03:49:44 +00:00
dcone%netscape.com 638e4ced91 r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget. 2001-01-30 21:22:16 +00:00
pavlov%netscape.com 2e3f144240 fix some build problems 2001-01-12 03:54:43 +00:00
pavlov%netscape.com 7f4743c7a3 move the typedef of nscolor to gfx_color in to gfxcompat.h. change the typedef of gfx_color to PRUint32 from unsigned long just to make it explicit 2001-01-08 03:11:58 +00:00
pavlov%netscape.com e5332662cb merging the base and image parts of gfx2 to HEAD, renaming nsMargin, nsPoint, nsRect to whatever2 to avoid header name conflicts with gfx
still need to resolve issue with gfx2's nsIImage wanting to use nsIDrawable, since there arn't any ifdefs in idl...
2001-01-07 01:40:18 +00:00
mkaply%us.ibm.com c49620f93f OS/2 TB breakage
Uh duh. It would help if I put the XP_OS2 in the header file.
2001-01-03 03:05:09 +00:00
tor%cs.brown.edu b0070e9f0a #51179 blending calculations were incorrect (dividing by 256 instead of 255).
r=brendan, sr=roc
2001-01-02 23:41:07 +00:00
beard%netscape.com cb60d16d0f [not part of build] generalized printing support. 2000-12-16 03:38:21 +00:00
koehler%mythrium.com e6f8b4f26e bug #55450: New gfx implementation more in synch with linux/gtk version. r=cls
r=blizzard (no sr has blizzard give me a go ahead for BeOS only stuff)
2000-11-02 00:47:12 +00:00
pnunn%netscape.com 279ba5b1e5 bug#51249: add ability to flush chrome. pnunn r: syd. 2000-09-14 23:00:59 +00:00
sfraser%netscape.com 4af1765061 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov 2000-09-13 07:02:30 +00:00
dcone%netscape.com 4a44a28c21 Stray Semicolon taken out. 2000-09-12 14:31:10 +00:00
pnunn%netscape.com 99dd0f44ed bug#13718: add hooks for natural dimensions on images. pnunn. r: cmanske, kmcclusk. 2000-09-01 01:12:39 +00:00
jband%netscape.com bcfbbc4573 - !missed a file! - Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 07:05:00 +00:00
pnunn%netscape.com 38ed05f47f fix for bug#30852.(nsbeta2+). Image reloads not using necko reload attributes. pnunn.
rev:neeti; and tested on win/mac/linux.
2000-07-20 01:52:35 +00:00
erik%netscape.com 7416f242ae bug 39570; we were using the Western font to determine the height of the
URL bar, and this caused the Japanese text to be truncated; we now use the
locale's language group when the caller does not pass us the correct one;
r=nhotta
2000-07-13 21:13:13 +00:00
cls%seawood.org bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
dcone%netscape.com 4dc6776f9c new CID's for the PrintOptions class. r=kmmclusky b=36796 2000-06-23 14:28:54 +00:00
dcone%netscape.com f06ae87cf7 Need to implement LineStyle for Mac. r=buster b=34870 2000-05-23 19:46:45 +00:00
pierre%netscape.com c390bbd41c enabled the NEW_FONT_HEIGHT_APIS for the Mac 2000-05-12 12:04:07 +00:00
bryner%uiuc.edu e5c3adbd79 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.
2000-05-12 06:29:37 +00:00
dcone%netscape.com 25178094e4 Added some rasterization of polygons, moved some point definitions to correct locations. 2000-05-11 03:58:58 +00:00
dcone%netscape.com d5bc728091 Moved a point structure to nsPoint.. 2000-05-09 14:23:27 +00:00
erik%netscape.com 1a27e590f5 bug 27164; need to use em square height to compute line-height; added new
APIs for this purpose; this is the Windows implementation; r=kmcclusk
2000-05-08 21:59:23 +00:00
dcone%netscape.com 0875c88ec5 Added the FillPath call. 2000-05-08 14:25:51 +00:00
erik%netscape.com fa503f288a bug 27164; added new GetNormalLineHeight API for proper line-height 2000-05-04 21:46:22 +00:00
dcone%netscape.com 52e88bcad4 Working on the Curve stroking and filling. 2000-05-04 13:35:54 +00:00
dcone%netscape.com a15ebee0dc Added FillStdPoly() call to the nsRenderingContext for drawing post tranformation. 2000-05-04 04:03:10 +00:00
dcone%netscape.com 4f0cf14145 Added some API's for the curve drawing code 2000-05-02 14:24:08 +00:00
dcone%netscape.com 2f712d777f Moving the curve drawing into the nsRenderingContextImpl class. 2000-04-28 20:46:40 +00:00
erik%netscape.com 7d711b423d bug 27164; added new font height APIs, currently only on Unix; will be
added to other platforms later
2000-04-26 21:53:26 +00:00
dcone%netscape.com 2d436119b0 Added a DrawPath method to nsRenderingContext, currenly does nothing. 2000-04-25 13:51:46 +00:00
pinkerton%netscape.com b067edf867 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
troy%netscape.com b2bf96d0c6 b=34731 Fixed bug in Unicode version of GetWidth() that takes a line break array.
Also added an ascii version of function
2000-04-12 14:49:46 +00:00
erik%netscape.com 1a0cae1f6c bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only;
r=pierre,troy; will do Unix next; someone will take care of the Mac
2000-04-02 21:47:15 +00:00
troy%netscape.com 04d42a3503 Added new GetWidth() function that takes as additional arguments an
array of break points and an available width and then returns how many
characters fit in the available width. This allows the text frame code
to measure in chunks instead of just a single word at a time
2000-03-31 03:34:05 +00:00
dcone%netscape.com dedad8ce7c Put nsRenderingContextImpl in Manifest. 2000-03-30 15:09:03 +00:00
dcone%netscape.com c7825191f2 Added some methods for tiling. 2000-03-30 15:00:45 +00:00
waqar%netscape.com 71fb271a55 r=dcone@netscape.com
d=Cross platform addition to the Rendering context.
2000-03-30 00:50:05 +00:00
dcone%netscape.com d93b9829a3 Added a new class.. which will be a cross platform implementation for the
RenderingContext.  r = kmmclusk
2000-03-29 15:49:25 +00:00
troy%netscape.com 4e2ec77d3b Added GetAveCharWidth() function 2000-03-29 01:26:08 +00:00
erik%netscape.com 43a65f0fca lang group table has been added to proper location under mozilla/intl;
removing the redundant table here; minor change; r=none
2000-03-27 04:55:35 +00:00
pierre%netscape.com 924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
dcone%netscape.com 63dae09a9e Added a new interface for the tiling of backgrounds. r=rods 2000-03-20 15:53:17 +00:00
sfraser%netscape.com 89642093ed Changes to nsRepeater to allow it to handle idlers as well as repeaters. bug 904. r=pinkerton 2000-03-16 23:01:56 +00:00
pinkerton%netscape.com 3898cef2b9 adding screen manager r=scc 2000-03-16 04:55:46 +00:00
rickg%netscape.com 62e292619d removed references to nsStr 2000-03-12 08:58:33 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
mscott%netscape.com 23a00a46c6 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.
2000-02-15 04:49:32 +00:00
pavlov%netscape.com a77bec64b2 add GetNumRects() to nsIRegion to return the number of rects making up the region. make two XChangeGC calls in to 1 to reduce X server traffic. inline a few methods that are used internally in the gtk implimentations. remove some code cruft. r=bryner@uiuc.edu 2000-02-07 03:39:21 +00:00
erik%netscape.com 50247b2f4a fixing Solaris build bustage 2000-02-05 05:04:09 +00:00
erik%netscape.com 54a5a9aff7 bug 8801; temporary fix for a bad performance problem with font prefs;
r=troy
2000-02-05 03:31:39 +00:00
pnunn%netscape.com 4b387cfa79 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
dcone%netscape.com b11158d941 Added a member for the Canonical pixel scale - cross platform. r=rods b=24405 2000-01-24 14:52:12 +00:00
erik%netscape.com ebccc58538 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
rbs%maths.uq.edu.au e1fd5b686c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
rbs%maths.uq.edu.au 0f95730da9 [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation 2000-01-07 14:16:02 +00:00
ftang%netscape.com 003999a676 implement Mac GFX w/ langGroup. From now we will use the correct CJK font depend on the document charset. Howerver, it have not listen to the pref yet. r=erik. a=chofmann 1999-12-09 22:44:34 +00:00
erik%netscape.com f329f5e894 bug 8801; adding font prefs implementation for Windows initially; r=ftang 1999-12-07 23:27:17 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
neeti%netscape.com cd72e89586 fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp 1999-11-24 03:41:48 +00:00
erik%netscape.com b9bc3d0cf6 bug 8801; CID for new font enumerator for font prefs UI; r=ftang 1999-11-22 19:34:31 +00:00
dcone%netscape.com 75ff68cca8 Fixed the MoveTo to move to the x and y instead of the y and y. R=rods 1999-11-12 15:10:40 +00:00
rbs%maths.uq.edu.au b357f84d41 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for public: API of the GetBoundingMetrics() method for accurate measurements of a string in order to allow precise positionning when processing MathML. review: Erik, Shyjan. 1999-11-11 04:24:51 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sfraser%netscape.com 13525c0af2 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
beard%netscape.com f39012960d added NS_SCRIPTABLE_REGION_CID. r=pavlov 1999-10-31 02:25:59 +00:00
pnunn%netscape.com 498ae50fdc bug#16785: forgot to checkin the include file change. Removing old, obsolete get image type call.
pnunn.
1999-10-22 21:46:56 +00:00
dcone%netscape.com 312a183d53 fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk. 1999-10-12 13:32:34 +00:00
ramiro%netscape.com 3849c0fcb8 Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.
1999-10-11 03:48:21 +00:00
dcone%netscape.com 85be43853c Took out a pure virtual function CreateRenderingContext() that was declared in the interface 1999-10-07 20:43:03 +00:00
kipp%netscape.com cdc696924a Added in a way to shutdown the image manager 1999-10-05 14:48:44 +00:00
kipp%netscape.com a43ad60044 Remove some compiler warnings 1999-10-05 14:48:01 +00:00
kipp%netscape.com a024d42d15 Added FlushCache method 1999-09-25 20:04:54 +00:00
pavlov%netscape.com 66e73b18eb make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method 1999-09-13 03:42:37 +00:00
briano%netscape.com dc485a3dc0 General cleanup. 1999-09-10 01:48:51 +00:00
ramiro%netscape.com 3e8b0f31f1 Remove timer stuff which long ago moved to another place. 1999-09-09 09:40:40 +00:00
danm%netscape.com b78875c8f5 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
kipp%netscape.com c565dcc0a2 Removed obsolete header from export list 1999-09-01 20:56:18 +00:00
kipp%netscape.com a824a98378 Excised nsIDOMRenderingContext 1999-09-01 01:03:10 +00:00
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
kmcclusk%netscape.com c73496735f added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away 1999-08-19 22:34:22 +00:00
ramiro%netscape.com 12f5c30340 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
peterl%netscape.com 73515f0ad4 switch to preprocessor for code generation 1999-07-18 00:07:55 +00:00
peterl%netscape.com ed8cd49c87 changed api to be string based
switch to using preprocessor for color enums
1999-07-18 00:07:20 +00:00
peterl%netscape.com 9ad4e38dde change color string apis to use nsString 1999-07-18 00:06:12 +00:00
ramiro%netscape.com ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
pnunn%netscape.com d7505bd04a added to image mime type list. pnunn. ok'd by chofmann. 1999-07-08 01:33:22 +00:00