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

405 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 369f0ad4fd Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
jkeiser%netscape.com 9246ecc230 Make nsIFontMetrics::GetAveCharWidth() on all platforms (Rick.Ju@sun.com's patch, bug 50998), r=cbiesinger@web.de, sr=rbs@maths.uq.edu.au 2002-09-19 01:47:14 +00:00
shanjian%netscape.com ddbc15fc76 #130091 should we get rid of "NEW_FONT_HEIGHT_APIS"
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=rbs
2002-09-18 19:37:31 +00:00
alecf%netscape.com bab99a09b0 fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
alecf%netscape.com 36523af10b cvs remove these files which I accidentally had leaf put in the wrong directory
(not part of the build)
2002-09-10 18:01:31 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
smontagu%netscape.com a36822981f GetWidth optimizations for Unix. Bug 36146. Authors Tomi.Leppikangas@oulu.fi, Roland.Mainz@informatik.med.uni-giessen.de; r=shanjian,smontagu; sr=rbs, darin 2002-08-09 00:13:11 +00:00
bzbarsky%mit.edu 9e99f1e330 Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc
2002-08-06 03:27:05 +00:00
ccarlen%netscape.com d7ec787895 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa 2002-07-13 00:18:46 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
shanjian%netscape.com 7f123711f0 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
rods%netscape.com b45d33216e This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
rods%netscape.com b850da33e8 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
ccarlen%netscape.com 407aafc817 Fixing bustage on Planetoid. 2002-05-02 16:48:51 +00:00
rods%netscape.com 60409e0a8c Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:02:57 +00:00
rods%netscape.com 4e26312e92 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 13:47:53 +00:00
rods%netscape.com 04c750b94d backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com a1f21a54d5 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
dbaron%fas.harvard.edu 814b3d3030 Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
tor%cs.brown.edu 0685ca316e Bug 53597: gamma correction backout. r=dbaron, sr=brendan 2002-04-30 23:15:52 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
mkaply%us.ibm.com 50e62276c9 #124164
r=mkaply, sr=attinasi
OS/2 only - we suppor the new leading API
2002-04-24 03:56:07 +00:00
tor%cs.brown.edu 05fc1659e2 Bug 53597 - another attempt to fix win32. 2002-04-13 16:42:26 +00:00
tor%cs.brown.edu 14ac5de934 Bug 53597 - win32 temporary patch. 2002-04-13 15:29:36 +00:00
tor%cs.brown.edu 6457db966a Bug 53597 - attempt to fix macos and os2 bustage. 2002-04-13 11:54:38 +00:00
tor%cs.brown.edu c5d399ffb4 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
pinkerton%netscape.com 888c3040e4 fix bustage 2002-04-12 15:26:36 +00:00
dcone%netscape.com aac8242bea b=135208 r=kmcclusk sr=attinasi a=asa. Fix darkening of light color text when we print. 2002-04-12 14:19:38 +00:00
pinkerton%netscape.com 8498242ad8 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764 2002-04-12 13:56:53 +00:00
hyatt%netscape.com 05ff2775f2 Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
rods%netscape.com b7a00df00f The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
shanjian%netscape.com fb58cfeda5 #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,
2002-04-11 00:00:40 +00:00
rods%netscape.com 5cfb5352b0 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +00:00
rods%netscape.com cb4cf429c0 Backing out changes for Bug 131174 2002-03-22 00:42:48 +00:00
rods%netscape.com 4f8a15dd9c This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron
2002-03-20 22:50:42 +00:00
cbiesinger%web.de 298c3f5da7 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/
2002-02-23 15:32:03 +00:00
shanjian%netscape.com d3269fdb4c #117522 gfx/src/nsCompressedCharMap.cpp doesn't build: too many Ls in nsCompressedCharMap.h
r=bstell, sr=brendan
(thanks to timp@clarityconnect.com for test and verify the patch.)
2002-02-19 03:29:43 +00:00
bstell%ix.netcom.com 1967969869 fix OS/2 bustage for bug 116149
r=dbaron
2002-02-16 20:04:30 +00:00
dbaron%fas.harvard.edu f3b0f6c470 Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt 2002-02-16 16:24:25 +00:00
bstell%ix.netcom.com b3e9de2a76 bug 116149: simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org
2002-02-16 08:11:25 +00:00
bstell%ix.netcom.com 0839760747 simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org
2002-02-16 08:07:44 +00:00
rbs%maths.uq.edu.au cbff0857fe [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced> 2002-02-15 14:39:50 +00:00
rods%netscape.com 7d1713b7f6 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
shanjian%netscape.com ab29096262 #120348 crash in macro CCMAP_HAS_CHAR_EXT
rewrite CCMAP_HAS_CHAR_EXT macro
r=ftang, sr=attinasi
2002-02-12 05:01:42 +00:00
shanjian%netscape.com 5adcad4348 Reverse my last checkin because the comment is not there. (cvs ci does not
allow me abort, while I copy-n-paste, it accidentally copied a carriage return.)
2002-02-12 04:59:15 +00:00
shanjian%netscape.com b1ecc45245 *** empty log message *** 2002-02-12 04:54:24 +00:00
bryner%netscape.com ad68814ac4 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt. 2002-02-12 00:44:36 +00:00
bryner%netscape.com 8abfc25a17 Fixing bustage on Sun WS6 update 2, it apparently doesn't like the forward declaration of gfxIImageFrame just before it's defined. r=seawood, sr=jst. 2002-02-08 22:59:53 +00:00
pinkerton%netscape.com 5c704d79f2 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser. 2002-01-29 21:10:57 +00:00
timeless%mac.com cdb05eb90a Bug 95986 remove references to nsImageManager
patch by cbiesinger@web.de r=pavlov sr=tor
2002-01-29 15:01:33 +00:00
timeless%mac.com c68ef8c76d Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
pinkerton%netscape.com 30c642c36e allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
shanjian%netscape.com a29625f963 #118000 support unicode plane 1 characters
r=ftang, sr=attinasi
nsCompressCharMap was modified to take ucs4 directly.
nsFontMetricsWin was modified to handle surrogate pair.
2002-01-16 00:15:58 +00:00
pinkerton%netscape.com a799df64b7 nsITheme impl on mac. r=sfraser/sr=hyatt. bugs 115731, 115733, 115735, 115737, 115740, 115749, 115760, 115763 2002-01-15 14:59:21 +00:00
bryner%netscape.com fe3e849d35 Bug 119837 - add a parameter to nsITheme::GetMinimumWidgetSize to specify if CSS is allowed to override the min size. r=bzbarsky, sr=hyatt. 2002-01-14 05:40:37 +00:00
rods%netscape.com 68e2a5beb1 This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi
2002-01-12 12:58:46 +00:00
rods%netscape.com 92367f8431 reflow was using the wrong DC to rendering context for PP
BUg 117745 r=dcone sr=attinasi
2002-01-11 11:56:10 +00:00
shanjian%netscape.com 57f0373d07 #118606 support opentype format 12 CMAP table
r=rbs, sr=attinasi
2002-01-10 22:06:58 +00:00
bstell%ix.netcom.com 7baafbeb9b bug 116150 add NextNonEmptyCCMapPage and SetChars(PRUint16* aCCMap)
for FreeType2 font code
r=shanjian, sr=brendan
2002-01-10 00:01:38 +00:00
hyatt%netscape.com c4a5008a0d Fix for hover/active feedback on radio/checkbox/menulist in WinXP theme. r=hewitt, sr=ben 2002-01-09 01:26:16 +00:00
rods%netscape.com 00844c5ebf Improves error codes for printing and fixes selection printing by making sure the margins are initialized when no prefs are there
Bugs 86378 & 118637 r=dcone sr=attinasi
2002-01-08 01:15:25 +00:00
hyatt%netscape.com 976fbdfaa5 Fix for 115767, dropdown list support for WinXP, r=hixie, sr=blake 2002-01-08 00:43:20 +00:00
hyatt%netscape.com 602406dd66 Fixing 115750, support for tabpanels and tabs in WinXP, r=bryner, sr=blake 2002-01-06 00:22:24 +00:00
hyatt%netscape.com d7bc9b0652 Fix for 115750, WinXP tab support. r=bryner, sr=blake 2002-01-05 23:44:39 +00:00
hyatt%netscape.com 93abe6b742 Fix for 115748, r=bryner, sr=sspitzer 2002-01-05 00:15:48 +00:00
hyatt%netscape.com d4326b49d1 Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
rods%netscape.com 1fde5f13f3 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
hyatt%netscape.com d4065d8e54 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
bbaetz%cs.mcgill.ca f4143b4da1 Backing out bug 95383 because of tbox redness. 2001-12-12 07:16:39 +00:00
bbaetz%cs.mcgill.ca 8feaeae579 Bug 95383 - implement nsDrawingSurfaceMac::GetPixelFormat
Patch by james.turner@crocodile-clips.com, r=pink, sr=sfraser
2001-12-12 06:19:29 +00:00
kmcclusk%netscape.com f4417f337e Move management of the backbuffer from the viewmanager to the rendering context and make the backbuffer transient on WIN32 and GTK. bug 95952 sr=attinasi r=karnaze 2001-12-12 01:35:31 +00:00
shanjian%netscape.com 7bdc78192b #110843 support unicode beyond BMP plane in Compressed charmap
r=bstell sr=brendan
2001-12-06 23:10:32 +00:00
dbaron%fas.harvard.edu 60dae22732 Backing out shanjian at his request to fix Linux orange. 2001-11-30 01:57:24 +00:00
shanjian%netscape.com 22a8021ff9 #support unicode beyond BMP plane in Compressed charmap
r=bstell,  sr=brendan
2001-11-30 00:41:20 +00:00
rbs%maths.uq.edu.au 9a411fc188 Bug 111069: don't initialize the device context twice in GfxWin & OS2 (also left in the debugging code used to catch that), r=rods, sr=waterson. Bug 109974: re-enable a consolidated memory-pressure observer to compact font resources in low-memory situations, r=shanjian, sr=waterson. 2001-11-29 00:34:07 +00:00
mkaply%us.ibm.com 4b6c52a56b #108280
r=mkaply, sr=blizzard
OS/2 only - code from Javier Pedemonte to get our fonts back after 99010
2001-11-27 22:58:37 +00:00
alecf%netscape.com b54ba5fc69 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
rods%netscape.com 62ea38dd3c Add PrintBGColors, PRINBGImages and Scaling
Bug 108345 r=dcone sr=attinasi
2001-11-26 12:48:41 +00:00
kaie%netscape.com 21b3e32ba6 b=84947 New print dialog for Unix and OS/2
r=cls/rods/mkaply/pchen sr=roc+moz
Checking in for Roland.Mainz@informatik.med.uni-giessen.de
2001-11-22 10:00:44 +00:00
bbaetz%cs.mcgill.ca 514a4635b2 Bug 83517 - add a setTranslation method. patch by
alex.fritze@crocodile-clips.com, r=pavlov, sr=jst
2001-11-21 04:10:31 +00:00
rbs%maths.uq.edu.au 7017b91e8a Compact the font cache in low-memory situations or when font handles are running out. b=109974, r=shanjian, sr=waterson 2001-11-20 19:47:28 +00:00
bzbarsky%mit.edu 0dce65ed23 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
bstell%netscape.com f681efff7a follow up for bug 102113, per Brendan's request
change the name from dummy to align, no other change
2001-11-13 07:36:38 +00:00
bstell%netscape.com a9cc400a76 bug 102133: fix 64 bit solaris crash
r=shanjian@netscape.com, sr=brendan@mozilla.org
2001-11-10 04:20:55 +00:00
sfraser%netscape.com cde6848940 Change to convert Widget and Gfx into component DLLs on Mac, bug 94434. r=pchen, sr=beard/darin 2001-11-10 01:05:03 +00:00
mkaply%us.ibm.com 44d863204d #95106
r=pavlov, sr=waterson
Get 256 colors working again - step 1 - add back palette API to nsDeviceContext
2001-11-07 04:36:47 +00:00
attinasi%netscape.com 145628aba2 Reversed the order that width and height are checked in IsEmpty since it is more common to have a height of 0. b=103266 r=rbs sr=hyatt 2001-11-06 01:48:36 +00:00
rods%netscape.com 760f64245a Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
rbs%maths.uq.edu.au f67bb3c2d5 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi 2001-10-30 22:58:00 +00:00
roc+%cs.cmu.edu a91280e360 Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi 2001-10-23 01:37:29 +00:00
shanjian%netscape.com c0114a1447 #102706 change nsFontMetricsWin.cpp to use nsCompressedCharMap
r=rbs sr=attinasi

Most of the charmap were replaced by compressed charmap, only very few
left for direct operation. Some optimization also get in as problem
found when testing this patch.
2001-10-22 23:20:24 +00:00
pavlov%netscape.com 5cd2a46ec3 first of many patches to come for bug 104999 r=timeless sr=hyatt 2001-10-18 09:43:22 +00:00
seawood%netscape.com a5172dd3da Export imgScaler.h always to avoid bustage when building only alternative toolkits. 2001-10-12 04:33:13 +00:00
dbaron%fas.harvard.edu 4021e7798d Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson 2001-10-02 03:10:56 +00:00
pavlov%netscape.com 883c91c685 adding uuid r=me,biesi sr=waterson bug 77354 2001-09-29 14:05:14 +00:00
rbs%maths.uq.edu.au 443291acc1 bug 99010 - font changes. r=shanjian@netscape.com, sr=waterson@netscape.com 2001-09-27 18:29:17 +00:00
gerv%gerv.net 1d745f3019 License changes, take 2. Bug 98089. mozilla/gfx/. 2001-09-26 00:16:04 +00:00
rjesup%wgate.com b3f93c53a1 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com 03d586b49f Bustage fix attempt #2. NS_GFX was there before, but gcc didn't care. I
didn't add it back in when I went back to a struct.  (Bug 97299)
2001-09-24 09:07:53 +00:00
rjesup%wgate.com da59a01b0a Bustage fix for bug 97299 checking: Win32 compiler doesn't like class and
struct mixed.  Reverted nsFont to struct.
2001-09-24 08:14:17 +00:00
rjesup%wgate.com 9c4abfe094 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
mkaply%us.ibm.com abd36c131c #97907
r=kaie, r=dcone, sr=jst
Checkin for Roland.Mainz@informatik.med.uni-giessen.de - add error codes to printing
2001-09-21 13:52:39 +00:00
bstell%netscape.com 92aa7f5139 bug 95518, r=yokoyama@netscape.com,r=Roland.Mainz@informatik.med.uni-giessen.de,
sr=brendan@mozilla.org,

Compress font char maps by folding the empty spaces on top of each other.
2001-09-19 02:52:30 +00:00
alecf%netscape.com 3a7172b12f fix for bug 100310 r=jag, sr=blizzard - remove gfx dependency on string bundles, move into windows-specific module 2001-09-18 22:02:30 +00:00
jaggernaut%netscape.com efc8c209fb Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
alecf%netscape.com 898cb5872f add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
rjesup%wgate.com 8411c76033 bug 97480: missing virtual in destructor in nsFontCache. r=bstell, sr=kin 2001-09-06 19:27:38 +00:00
cls%seawood.org 6b17b22e4a Adding getter for mAlphaDepth to nsIImage.
Thanks to lordpixel@mac.com for the patch.
Bug #81353 r=pavlov sr=sfraser a=roc+moz
2001-08-28 10:04:59 +00:00
jdunn%netscape.com 683519be50 fixing dcone's checkin
in a enum, certain compilers don't like when the
last item has a ',' so I removed it

Fixing messina's tbox bustage
2001-08-22 01:10:21 +00:00
dcone%netscape.com 9a2b63ff04 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00
pavlov%netscape.com 23ee360eb3 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:35:08 +00:00
pavlov%netscape.com b72c324af1 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
timeless%mac.com a3f465733d bustage fix, sorry 2001-08-09 09:15:55 +00:00
timeless%mac.com 5954ad483b fix Bugzilla Bug 81311 nsFontCache cannot be shared between multiple toolkits
by Roland.Mainz@informatik.med.uni-giessen.de r=dbaron sr=blizzard
2001-08-09 08:08:39 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
tor%cs.brown.edu f4fe96a940 Fix static build bustage (comet). Rename scale.{h,cpp} to
imgScaler.{h,cpp} to avoid collision with libimg's scale.cpp.
2001-06-29 02:48:56 +00:00
tor%cs.brown.edu 6d2963fb11 Bug 88326 - move generic image scaling code from gtk to gfx so that other
ports can share it.  Exported and compiled only where needed.  r=cls
2001-06-29 01:48:11 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dcone%netscape.com 131e09e66b bug=78319 Checkin for Rods a=Blizzard sr=waterson r=kmcclusk. Improvement for localization of the printer dialog. 2001-05-26 15:49:43 +00:00
bstell%netscape.com 079694f0dc bug 78273, r=ftang/jbetak, sr=blizzard
For the embedding API add "get font list". Used to fill the font pref panel
2001-05-18 21:50:47 +00:00
jelwell%netscape.com 6b2f79c601 Fix for bug 73978 "transparent animating gif problems", r=pavlov sr=hyatt.
Module owners are on vacation so Asa asked me to check this into the trunk to bake, for possible branch landing.
2001-04-26 07:11:52 +00:00
pinkerton%netscape.com 61719a4567 Export nsIPrintingContext.h for osx r=saari/sr=hyatt, bug# 75653 2001-04-16 22:47:33 +00:00
erik%netscape.com 8d42ec8e4b 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 401e70f6eb 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 9d6e30a591 remove unused code. b=69313 r=bstell sr=erik 2001-03-21 01:53:52 +00:00
pavlov%netscape.com ad2bec8cb3 make getRect pass out an nsrect& 2001-03-14 01:14:23 +00:00
pavlov%netscape.com e195d427e3 minor api changes/indentation and spacing fixes, etc 2001-03-14 00:35:27 +00:00
saari%netscape.com 73815a99a6 Updates for libimg2 2001-03-13 23:25:59 +00:00
pavlov%netscape.com 43be50d7ae 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 930bdb838b Changed the int size from 8 to16. r=mcclusky sr=attinasi 2001-03-05 15:25:23 +00:00
pavlov%netscape.com 533fafde72 merging from IMGLIB2_20010126_BRANCH 2001-02-20 22:41:47 +00:00
pavlov%netscape.com 258da94da8 removing gfx2 stuff on head in prep for merge from branch 2001-02-20 22:27:56 +00:00
dcone%netscape.com 775b629f96 Changed BeginDocument API call.. added parameter. r=rods sr=attinasi 2001-02-15 03:49:44 +00:00
dcone%netscape.com cb6c4ab666 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 7387013541 fix some build problems 2001-01-12 03:54:43 +00:00
pavlov%netscape.com 9fcad2ca77 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 adfe5c9931 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 4ae85b25f8 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 30513bad4f #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 09830db8d4 [not part of build] generalized printing support. 2000-12-16 03:38:21 +00:00
koehler%mythrium.com 2801f9b49f 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 452e8586e8 bug#51249: add ability to flush chrome. pnunn r: syd. 2000-09-14 23:00:59 +00:00
sfraser%netscape.com 1d6f955c39 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 c122f26c11 Stray Semicolon taken out. 2000-09-12 14:31:10 +00:00
pnunn%netscape.com 8d5a6f8804 bug#13718: add hooks for natural dimensions on images. pnunn. r: cmanske, kmcclusk. 2000-09-01 01:12:39 +00:00
jband%netscape.com 691d63e78e - !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 31c3fa63dd 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 9123e803c0 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 33938e6100 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 2db2c61685 new CID's for the PrintOptions class. r=kmmclusky b=36796 2000-06-23 14:28:54 +00:00
dcone%netscape.com 5ea5b10213 Need to implement LineStyle for Mac. r=buster b=34870 2000-05-23 19:46:45 +00:00
pierre%netscape.com c10afe08dd enabled the NEW_FONT_HEIGHT_APIS for the Mac 2000-05-12 12:04:07 +00:00
bryner%uiuc.edu 9b93a8bfc6 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 5719df758b Added some rasterization of polygons, moved some point definitions to correct locations. 2000-05-11 03:58:58 +00:00
dcone%netscape.com 6a2ec4c780 Moved a point structure to nsPoint.. 2000-05-09 14:23:27 +00:00
erik%netscape.com 48bf04c76e 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 0e7b35b9e4 Added the FillPath call. 2000-05-08 14:25:51 +00:00
erik%netscape.com e23e391d2f bug 27164; added new GetNormalLineHeight API for proper line-height 2000-05-04 21:46:22 +00:00
dcone%netscape.com 9240d74e27 Working on the Curve stroking and filling. 2000-05-04 13:35:54 +00:00
dcone%netscape.com 028290b2eb Added FillStdPoly() call to the nsRenderingContext for drawing post tranformation. 2000-05-04 04:03:10 +00:00
dcone%netscape.com 50421a7d52 Added some API's for the curve drawing code 2000-05-02 14:24:08 +00:00
dcone%netscape.com 3b48c1c8bf Moving the curve drawing into the nsRenderingContextImpl class. 2000-04-28 20:46:40 +00:00
erik%netscape.com ac1ab035ca 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 0a1ca7f28e Added a DrawPath method to nsRenderingContext, currenly does nothing. 2000-04-25 13:51:46 +00:00
pinkerton%netscape.com 2b1e668eb5 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 efed2ce17c 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 e93721a6a3 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 8fb55eec52 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 bc802be2bd Put nsRenderingContextImpl in Manifest. 2000-03-30 15:09:03 +00:00
dcone%netscape.com 868e269c9e Added some methods for tiling. 2000-03-30 15:00:45 +00:00
waqar%netscape.com 5b07935fe7 r=dcone@netscape.com
d=Cross platform addition to the Rendering context.
2000-03-30 00:50:05 +00:00
dcone%netscape.com 9f4bbf16fb 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 d2d592948d Added GetAveCharWidth() function 2000-03-29 01:26:08 +00:00
erik%netscape.com 53fafac1d0 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 c2c59a4b6f #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 058f27668f Added a new interface for the tiling of backgrounds. r=rods 2000-03-20 15:53:17 +00:00
sfraser%netscape.com 83c349fbf1 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 83b6806c2c adding screen manager r=scc 2000-03-16 04:55:46 +00:00
rickg%netscape.com ccbae36ab0 removed references to nsStr 2000-03-12 08:58:33 +00:00
pavlov%netscape.com 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
mscott%netscape.com c3129824b5 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 0d6c9c3f9b 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 1682e0a0cd fixing Solaris build bustage 2000-02-05 05:04:09 +00:00
erik%netscape.com e2f28a2d77 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 04ac212d14 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
dcone%netscape.com 5a5b1fa913 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 bf54fe3aa1 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
rbs%maths.uq.edu.au 745ea114fe [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
rbs%maths.uq.edu.au 5bf1ba7301 [#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 bfb3fff3c2 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 d6606ac97a bug 8801; adding font prefs implementation for Windows initially; r=ftang 1999-12-07 23:27:17 +00:00
shaver%netscape.com 506027739d 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 7129fdcf3b 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 7adaf0f0dc bug 8801; CID for new font enumerator for font prefs UI; r=ftang 1999-11-22 19:34:31 +00:00
dcone%netscape.com 693ccd4cf5 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 bfc47d3c5f [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 8535dda53e 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 f2b385f475 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