rods%netscape.com
904945e84a
1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
...
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
It now has a single GetDevMode method that must be paired with a UnlockDevMode method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2006-02-16 21:32:00 +00:00
rods%netscape.com
251e8a20b5
This does the following:
...
1) Removes the EnumeratePrinterExtended from nsIPrintOptions and all impls of it
2) Sets the Windows platform to once again use the native print dialog
3) The nsDeviceContextSpecWin will detect at runtime whether to use the standard PRINTDLG or the new PRINTDLGEX (supported by XP and WIN2k), this new code is only compiled in when the ifdef MOZ_REQUIRE_CURRENT_SDK is defined.
4) It adds an extra Property Sheet to the new dialog for Frameset Printing options
5) Now creates a DEVMODE before the diaog is created, this is used for setting different options in the print dialog before it comes up.
122530 r=dcone sr=hyatt
2006-02-16 21:31:59 +00:00
mkaply%us.ibm.com
0f86a68a85
#118932
...
r=mkaply, sr=blizzard
OS/2 only - use the name of the queue for the printer dialog
2006-02-16 21:31:58 +00:00
mkaply%us.ibm.com
0d3117fcbe
#117919
...
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters
2006-02-16 21:31:57 +00:00
rods%netscape.com
a922aa5906
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
2006-02-16 21:31:56 +00:00
mkaply%us.ibm.com
1af46e5bf2
No bug
...
r=mkaply, sr=blizzard
OS/2 only - code from jblanco to get print preview working
2006-02-16 21:31:55 +00:00
kaie%netscape.com
05bbb1b253
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
2006-02-16 21:31:54 +00:00
gerv%gerv.net
2af09ef786
License changes, take 2. Bug 98089. mozilla/gfx/.
2006-02-16 21:31:53 +00:00
dcone%netscape.com
5ccf15179f
Added class definitions for PrintOptions. r=kmmclusky b=36796
2006-02-16 21:31:52 +00:00
mkaply%us.ibm.com
1de256c9b5
#64594
...
r=mkaply, sr=blizzard, a=asa for drivers
OS/2 only - do the right thing when cancel is pressed in print dialog
2006-02-16 21:31:51 +00:00
dbaron%fas.harvard.edu
d1913b0ece
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
2006-02-16 21:31:50 +00:00
mkaply%us.ibm.com
756e1f83d8
Printing regression
2006-02-16 21:31:49 +00:00
dcone%netscape.com
733454418a
r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
2006-02-16 21:31:48 +00:00
mkaply%us.ibm.com
615b579ca3
r=mkaply, a=blizzard
...
General code cleanup and fix for printer trap from Dainis Jonitis
2006-02-16 21:31:47 +00:00
mkaply%us.ibm.com
d298cf2062
#45872
...
r=mkaply, a=brendan
Make nsDeviceContextSpecFactoryO look more like Windows
2006-02-16 21:31:46 +00:00
mkaply%us.ibm.com
7366419174
#68343
...
r=mkaply, a=blizzard
OS/2 ONLY - Change OS/2 to use real XPCOM component registration to fix printing
2006-02-16 21:31:45 +00:00
mkaply%us.ibm.com
19ad403fdc
#45872
...
r=mkaply, a=brendan
Make nsDeviceContextSpecOS2 look more like Windows
2006-02-16 21:31:44 +00:00
mkaply%us.ibm.com
34c9ea4dd3
#45872
...
r=mkaply, a=brendan
Include the right stuff so this header builds regardless of where it is included
2006-02-16 21:31:43 +00:00
mkaply%us.ibm.com
e716877c39
# 33860
...
r= mkaply@us.ibm.com
OS/2 bringup
2006-02-16 21:31:42 +00:00
mkaply%us.ibm.com
32801b446e
# 25555
...
r= jdunn@netscape.com
OS/2 changes for Mozilla
2006-02-16 21:31:34 +00:00
pp%ludusdesign.com
7898814187
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2006-02-16 21:31:33 +00:00
vladimir%pobox.com
707e0dc2f7
b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
2006-02-15 23:35:53 +00:00
axel%pike.org
8b2bf9a6de
bug 326149, bustage-fix for static PR_LOGGING builds, r=bsmedberg
2006-02-15 15:45:43 +00:00
Olli.Pettay%helsinki.fi
97841b1891
Bug 326904, Remove NS_APP_EVENT_FLAG_HANDLED, r+sr=jst
2006-02-14 17:24:00 +00:00
sergei_d%fi.tartu.ee
fb1d05e877
[BeOS]Bug 327046. Moving printing to widget. Fixing identation in WidgetFactory
2006-02-14 15:33:50 +00:00
sergei_d%fi.tartu.ee
2c7464002e
[BeOS]Bug 327046. Moving printing to widget. Adding nsPrintdBeOS.h
2006-02-14 15:25:09 +00:00
sergei_d%fi.tartu.ee
9417c254b1
[BeOS]Bug 327046. Moving printing to widget
2006-02-14 14:01:48 +00:00
pavlov%pavlov.net
4c74730634
cleaning up thebes PDF and PS surfaces
2006-02-13 22:37:13 +00:00
pavlov%pavlov.net
d2035a097a
fixing link problem in cairo builds
2006-02-13 22:36:16 +00:00
mkaply%us.ibm.com
c8694d1c4e
OS/2 build bustage as a result of 32649 - once files are moved, this should build
2006-02-13 22:32:23 +00:00
joshmoz%gmail.com
c44a04a390
Don't look up key node for menu items that don't have a key attribute. Check for empty string return from GetAttribute. Cocoa widgets only. No bug.
2006-02-13 20:12:36 +00:00
vladimir%pobox.com
7fe8005801
Really disable native theme on linux with cairo, had the wrong define before
2006-02-13 19:24:16 +00:00
masayuki%d-toybox.com
239fd34b9f
Bug 296687 TSM (IME) candidate window is displayed at wrong position (too below). patch by Katsuhiro MIHARA <katsuhiromihara@goo.jp> r=josh, sr=sfraser
2006-02-11 16:04:25 +00:00
pavlov%pavlov.net
765b1155b8
fixing non-cairo windows printing bustage
2006-02-11 00:03:51 +00:00
pavlov%pavlov.net
99b778d2e4
fixing build bustage
2006-02-10 23:33:56 +00:00
pavlov%pavlov.net
4a0aa0268d
fixing mac bustage
2006-02-10 23:26:33 +00:00
pavlov%pavlov.net
a80b85f74a
moving printing from gfx to widget part 3. bug 326149. r=vlad
2006-02-10 23:00:23 +00:00
bsmedberg%covad.net
d24e882781
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2006-02-10 22:50:22 +00:00
pavlov%pavlov.net
e9ab1a9cc4
fixing build bustage
2006-02-10 22:50:21 +00:00
joshmoz%gmail.com
ef186b749f
SetPMPrintSettings releases page format instead of print settings <- fix that. b=290214 r=pinkerton sr=smfr a=brendan
2006-02-10 22:50:20 +00:00
kjh-5727%comcast.net
fd016bb1c8
Fixing build bustage.
2006-02-10 22:50:19 +00:00
mark%moxienet.com
8428cc7e70
Bug 316839, build fails in nsDeviceContextMac.cpp with gcc >= 4.0 following bug 213702. Correct for C++ signedness paranoia and fix warnings. r=josh sr=pink/irc
2006-02-10 22:50:18 +00:00
rbs%maths.uq.edu.au
5bb85ed311
Use ATS instead of FM to enumerate fonts so that Mozilla won't miss the Symbol font. Also cleanup obsolete codes. Patch by YAMASHITA Makoto <makotoy@ms.u-tokyo.ac.jp>, b=213702, r=jshin, sr=rbs
2006-02-10 22:50:17 +00:00
kjh-5727%comcast.net
13240c422f
Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
2006-02-10 22:50:16 +00:00
mark%moxienet.com
7cd8e540d6
Bug 306370, Print orientation and other Mac page setup things aren't remembered. Update prototypes and initialize print settings from prefs. r=mano sr=smfr
2006-02-10 22:50:15 +00:00
smfr%smfr.org
8feac4bb55
Fix bug 302958: specify a name for the print job on Mac, getting it from the title passed to the BeginDocument() call. r=jhpedemonte, sr=bryner, a=asa
2006-02-10 22:50:14 +00:00
bryner%brianryner.com
a6c54659e5
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
2006-02-10 22:50:13 +00:00
timeless%mozdev.org
7d770aa0d2
Bug 235643 all _CreatePrintSettings leak on failure
...
patch by baafie@planet.nl r=timeless sr=bz a=asa
2006-02-10 22:50:12 +00:00
joshmoz%gmail.com
678f18d7e2
gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
2006-02-10 22:50:11 +00:00
smfr%smfr.org
bfdaac7368
Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from gfx. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
2006-02-10 22:50:10 +00:00
dbaron%dbaron.org
d6d81a5854
Remove mSurface and SetDrawingSurface to fix bustage. mSurface was a write-only void* variable taking inconsistent types.
2006-02-10 22:50:09 +00:00
dbaron%dbaron.org
4d6e9223ca
Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
2006-02-10 22:50:08 +00:00
pedemont%us.ibm.com
39a7c3eb65
Bug 195022 - Workaround fix for scaling images with a 1-bit mask. r=sfraser,sr=tor
2006-02-10 22:50:07 +00:00
roc+%cs.cmu.edu
202f0e5627
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2006-02-10 22:50:06 +00:00
cbiesinger%web.de
944bdf9a80
bug 243966 getPropertyValue truncates values for computed system font value
...
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
2006-02-10 22:50:05 +00:00
gerv%gerv.net
f75c71e4cf
Bug 236613: change to MPL/LGPL/GPL tri-license.
2006-02-10 22:50:04 +00:00
ccarlen%netscape.com
5ad16fa9db
Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa
2006-02-10 22:50:03 +00:00
tor%cs.brown.edu
5d99f3a0fb
Bug 234954 - remove unused nsIDeviceContext::ConvertPixel. r=pavlov sr=bryner
2006-02-10 22:50:02 +00:00
bryner%brianryner.com
09bdbb85d8
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2006-02-10 22:50:01 +00:00
pinkerton%netscape.com
107e936055
merge more changes from chimera branch, fixed printing crash and sets dpi to
...
96dpi instead of 84dpi (bug 208920)
2006-02-10 22:50:00 +00:00
rbs%maths.uq.edu.au
4d6bccc59a
Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard
2006-02-10 22:49:59 +00:00
dwitte%stanford.edu
c5587511ea
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2006-02-10 22:49:58 +00:00
bryner%netscape.com
91b56bc571
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
2006-02-10 22:49:57 +00:00
dbaron%dbaron.org
31341b11f0
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2006-02-10 22:49:56 +00:00
roc+%cs.cmu.edu
e7537dcb17
Fix Mac bustage
2006-02-10 22:49:55 +00:00
dougt%netscape.com
32dedc3468
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2006-02-10 22:49:54 +00:00
neil%parkwaycc.co.uk
b2c8d30638
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
2006-02-10 22:49:53 +00:00
ccarlen%netscape.com
e096b2864f
Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
2006-02-10 22:49:52 +00:00
rods%netscape.com
d56281d5e3
to fix breakage, using static cast.
2006-02-10 22:49:51 +00:00
rods%netscape.com
d41c49971b
Implement the assign method with an "=" operator
...
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------
2006-02-10 22:49:50 +00:00
roc+%cs.cmu.edu
b55301c392
Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
2006-02-10 22:49:49 +00:00
dougt%netscape.com
d4ad420a0f
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2006-02-10 22:49:48 +00:00
rbs%maths.uq.edu.au
87ee3a376e
Make CheckFontExistence('Symbol') to tell the truth, b=161048, r=ftang, sr=sfraser
2006-02-10 22:49:47 +00:00
rods%netscape.com
9b1b135ef4
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
2006-02-10 22:49:46 +00:00
dougt%netscape.com
a48106519b
fixing macX build bustage
2006-02-10 22:49:45 +00:00
rods%netscape.com
3512b7cfd3
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
missed these files/changes
Bug 115136 r=dcone sr=attinasi
2006-02-10 22:49:44 +00:00
rods%netscape.com
dc22b6f050
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-10 22:49:43 +00:00
rods%netscape.com
2621ae7095
backing out unwanted changes
2006-02-10 22:49:42 +00:00
rods%netscape.com
cd8e03cc5e
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-10 22:49:41 +00:00
pinkerton%netscape.com
dd7edfed48
Fix mach-o build bustage. Don't include non-carbon things unless we're
...
actually building for carbon.
2006-02-10 22:49:40 +00:00
rods%netscape.com
cacb21c7e2
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
2006-02-10 22:49:39 +00:00
rods%netscape.com
293bb5ede8
ReadPrefs and WritePrefs are no longer in nsIPrintOptions
...
Bug 128142 r=dcone sr=attinasi a=shaver
2006-02-10 22:49:38 +00:00
darin%netscape.com
9bf0d7eab9
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2006-02-10 22:49:37 +00:00
dcone%netscape.com
c96b86047a
b=90751 Took out changes.. did not work on the Mac OSX/Darwin build.
2006-02-10 22:49:36 +00:00
dcone%netscape.com
0cc42a3bf4
b=90751 This is a fix for the Mac V build I broke last night. This fix was give by ccarlen.. sorry for the breakage. Thanks to seawood and Dagley for getting things back online. I have to remember to watch that ports build.
2006-02-10 22:49:35 +00:00
rods%netscape.com
2ff5538241
Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
...
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
2006-02-10 22:49:34 +00:00
ftang%netscape.com
ef31f70cbd
fix bug smoketest blocker 132370 and hopefully nsbeta1+ 122875 too.
...
check M9.0 FontManager and don't call them if they are not available
r=brade@netscape.com sr=sfraser a=kin (as sheirff for blocker)
2006-02-10 22:49:33 +00:00
seawood%netscape.com
bf124b7915
Workaround for nsFileSpec lossage.
...
Thanks to Steve Dagley <sdagley@netscape.com> for the patch.
Fixing tinderbox bustage
2006-02-10 22:49:32 +00:00
dcone%netscape.com
cf5c4bd46f
b=90751 r=peterl sr=attinasi a=asa This should fix the problem finding the printer settings plugin.
2006-02-10 22:49:31 +00:00
dcone%netscape.com
aa79f2df2f
b=90751 r=peterl sr=attinasi a=asa adding Mac OSX printer extensions.
2006-02-10 22:49:30 +00:00
dcone%netscape.com
6f95ae3fbb
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview. Last checking contained another fix I was working on.. so I pulled that out.
2006-02-10 22:49:29 +00:00
dcone%netscape.com
44eef2aeed
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2006-02-10 22:49:28 +00:00
dcone%netscape.com
08e5e40527
119574 r=rods sr=attinasi a=asa. return correct errors from cancel.
2006-02-10 22:49:27 +00:00
alecf%netscape.com
5d992573ba
Fix for bug 107575, files which didn't land the first time (I was working off the wrong patch file) r=dougt, sr=jag, a=scc
2006-02-10 22:49:26 +00:00
ftang%netscape.com
ddee4cff5a
fix 130443 . r=nhotta sr=sfraser a=asa
...
cast the hash value to FMFontFamily instead of fondid (short) on carbon and get the correct script code from it by using the right api
2006-02-10 22:49:25 +00:00
ftang%netscape.com
370d6cc937
fix 129188 . r=nhotta sr=sfraser a=asa
...
1. convert the font name correctly to unicode for theme font
2. for korean, chinese system, use roman theme font instead because the locale one are too ugly.
2006-02-10 22:49:24 +00:00
rods%netscape.com
16cf7928c8
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
2006-02-10 22:49:23 +00:00
dcone%netscape.com
7566ecdbdc
b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work
2006-02-10 22:49:22 +00:00
rods%netscape.com
2e7ccabc8a
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
2006-02-10 22:49:21 +00:00
rods%netscape.com
40832cd250
to fix breakage
2006-02-10 22:49:20 +00:00
sfraser%netscape.com
a29944d382
Fix #include file case, so that Mac builds on UFS volumes work. r=gracie
2006-02-10 22:49:19 +00:00
pinkerton%netscape.com
07922d5cff
changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
2006-02-10 22:49:18 +00:00
pinkerton%netscape.com
c19e800391
ensure that mPixelsToTwips is always integral. r=dbaron/sr=sfraser/a=asa. bug#120779
2006-02-10 22:49:17 +00:00
sfraser%netscape.com
901889f200
Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
2006-02-10 22:49:16 +00:00
rods%netscape.com
173fd2cf67
reflow was using the wrong DC to rendering context for PP
...
BUg 117745 r=dcone sr=attinasi
2006-02-10 22:49:15 +00:00
dbaron%fas.harvard.edu
697895ba74
Remove duplicate initialization of nsDeviceContext reference count by derived class constructor (which is dangerous since it could be incremented during the base class constructor). Various other cleanup, mostly in xlib port. b=111088 r=rbs sr=jag
2006-02-10 22:49:14 +00:00
jaggernaut%netscape.com
f41e9115b6
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2006-02-10 22:49:13 +00:00
jaggernaut%netscape.com
67c777fbdc
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
2006-02-10 22:49:12 +00:00
pchen%netscape.com
38a8b06f21
bug 20943, r=rods, sr=ben, need to use alternate dc for print preview
2006-02-10 22:49:11 +00:00
sfraser%netscape.com
074ac3b52d
Change to convert Widget and Gfx into component DLLs on Mac, bug 94434. r=pchen, sr=beard/darin
2006-02-10 22:49:10 +00:00
seawood%netscape.com
75381ccd6e
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
2006-02-10 22:49:09 +00:00
sfraser%netscape.com
1642cb6d05
Fix for bug 36796 - implement page setup on Mac and Mac OS X. r=sdagley, sr=alecf.
2006-02-10 22:49:08 +00:00
ftang%netscape.com
aad503fa13
fix bug 95554. r=bstell, sr=sfraser. implement the nsFontEnumeratorMac::HaveFontFor
2006-02-10 22:49:07 +00:00
dbaron%fas.harvard.edu
2c0e9f6746
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
2006-02-10 22:49:06 +00:00
jaggernaut%netscape.com
9e09e39fe8
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2006-02-10 22:49:05 +00:00
gerv%gerv.net
7b6a0c1898
License changes, take 2. Bug 98089. mozilla/gfx/.
2006-02-10 22:49:04 +00:00
dbaron%fas.harvard.edu
0d19728887
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
2006-02-10 22:49:03 +00:00
yokoyama%netscape.com
b2109ee2a0
Bug fix 91250:
...
Adding a return Boolean from nsIFontEnumerator::UpdateFontList()
to identify if the font lang group has changed from
receiving the WM_FONTCHANGE msg.
/r=rbs;/sr=brendan
2006-02-10 22:49:02 +00:00
pavlov%netscape.com
38f7cdfc7d
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2006-02-10 22:49:01 +00:00
jaggernaut%netscape.com
f43ef5e824
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2006-02-10 22:49:00 +00:00
pinkerton%netscape.com
fca46c0bb6
fix non-carbon build bustage
2006-02-10 22:48:59 +00:00
pinkerton%netscape.com
0a4c88ce4d
Get printing working on carbon after it was broken in the landing of print options. fix a memory leak that was leaking the deviceContextSpec on mac. r=sdagley/sr=sfraser. bug# 58254.
2006-02-10 22:48:58 +00:00
pinkerton%netscape.com
739e987c07
be more explicit about includes for gcc. r=saari/sr=hyatt bug# 75653
2006-02-10 22:48:57 +00:00
jaggernaut%netscape.com
4a23b087ab
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2006-02-10 22:48:56 +00:00
yokoyama%netscape.com
35a0db3d27
bug: 69117
...
update the global fontlist.
update nsPresContext's device context font
when we receive WM_FONTCHANGE msg.
/r=rbs, /sr=blizzard, /a=asa
2006-02-10 22:48:55 +00:00
dcone%netscape.com
afc5a37224
b=75893. r=mcclusk sr=attinasi a=chofmann
2006-02-10 22:48:54 +00:00
pinkerton%netscape.com
22f98e79f2
Include the OSX version of nsDeviceContextSpec for carbon. r=saari/sr=hyatt. bug# 75653
2006-02-10 22:48:53 +00:00
pinkerton%netscape.com
3268d00ed1
no need to worry about the title bar when computing which screen the window is on. it's only an approximation, and subtracting out the title bar showed up on profiler runs as about 8%. r=saari/sr=sfraser, bug# 69101.
2006-02-10 22:48:52 +00:00
dcone%netscape.com
2c236135ed
Changed BeginDocument API call.. added parameter. r=rods sr=attinasi
2006-02-10 22:48:51 +00:00
dcone%netscape.com
09727fa814
Added a refcount to the nsDeviceContext. sr=attinasi r=kmcclusk
2006-02-10 22:48:50 +00:00
pinkerton%netscape.com
42ef8e3c60
carbon changes. r=pink/sdagley/beard. a=sfraser.
2006-02-10 22:48:49 +00:00
dcone%netscape.com
61a0fbb7d9
r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
2006-02-10 22:48:48 +00:00
beard%netscape.com
99488696eb
[not part of build] generalized printing support.
2006-02-10 22:48:47 +00:00
pinkerton%netscape.com
9fb53ad607
don't include needless header, fix type error under gcc. r=saari/sr=hyatt. bug#75653
2006-02-10 22:48:46 +00:00
beard%netscape.com
e1fc5bcb38
[not part of build] Carbon printing support.
2006-02-10 22:48:45 +00:00
ftang%netscape.com
f7778bb84a
add HaveFontFor method for nsIFontEnumerator sr=erik
2006-02-10 22:48:44 +00:00
pinkerton%netscape.com
75ffe05e63
Fix for leakage of nsScreenWin object in embedding case. r=saari, sr=sfraser. bug# 43590.
2006-02-10 22:48:43 +00:00
pinkerton%netscape.com
0a6ff9c033
changes for Carbon r=pchen/a=sfraser. bug# 42100
2006-02-10 22:48:42 +00:00
pierre%netscape.com
edfbf87df3
fix related to the reconstruction of html.css ( #6625 ), the css system fonts ( #1021 and #3371 ) and a regression on the Mac from #44656 : make the html form controls look better on the Mac. a=buster
2006-02-10 22:48:41 +00:00
rayw%netscape.com
3c8fbb6a45
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2006-02-10 22:48:40 +00:00
warren%netscape.com
e7158801d4
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
2006-02-10 22:48:39 +00:00
scc%mozilla.org
6dd592c505
fixing code that relied on implicit string construction
2006-02-10 22:48:38 +00:00
warren%netscape.com
226c85cac8
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2006-02-10 22:48:37 +00:00
saari%netscape.com
31c03e7243
Fix for nsbeta2+ bug 36470: colors are wrong across multiple monitors of different bit depths on MacOS. r= pinkerton
2006-02-10 22:48:36 +00:00
beard%netscape.com
d5f099c6cc
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
2006-02-10 22:48:35 +00:00
warren%netscape.com
81f29a1f07
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2006-02-10 22:48:34 +00:00
mcafee%netscape.com
d69d902084
Renaming prefs to live in the browser.display namespace: background_color, foreground_color, use_document_fonts, use_document_colors, base_font_scaler, wfe.use_windows>colors, screen_resolution. r=alecf, a=chofmann (31136)
2006-02-10 22:48:33 +00:00
ftang%netscape.com
4a59569aed
fix 30798, skip font start with "." and "%" for font enumeration since they are private font.
2006-02-10 22:48:32 +00:00
ftang%netscape.com
65a937a375
fix 33258. Ignore symbol font so we won't rendert ASCII by using it.
2006-02-10 22:48:31 +00:00
pinkerton%netscape.com
47113f6086
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.
2006-02-10 22:48:30 +00:00
pierre%netscape.com
5596e5e774
Fix a crash with Test10: a missing SetPort() in FindScreenForSurface().
2006-02-10 22:48:29 +00:00
scc%netscape.com
f5462e874c
making string conversions explicit
2006-02-10 22:48:28 +00:00
pierre%netscape.com
5d843216ea
#3371 . Added support for the Appearance Manager in the css2/css3 system fonts.
2006-02-10 22:48:27 +00:00
pierre%netscape.com
59037d558b
#3371 . Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
2006-02-10 22:48:26 +00:00
pinkerton%netscape.com
7539625b27
making dev context use screen manager to get info about the screen. r=sfraser.
2006-02-10 22:48:25 +00:00
dcone%netscape.com
aaa2c30d7c
fixed a multiple definition of nsISupports. r=beard
2006-02-10 22:48:24 +00:00
pavlov%netscape.com
1d151f86d2
changes to let us build on MacOS X
2006-02-10 22:48:23 +00:00
sfraser%netscape.com
7bfa2d574a
Changed to use NS_DECL_ISUPPORTS_INHERITED. r=beard
2006-02-10 22:48:22 +00:00
sspitzer%netscape.com
7ed4345e5f
use NS_WITH_SERVICE to make the code cleaner.
2006-02-10 22:47:30 +00:00
dcone%netscape.com
73ca4f8ce5
Added the canonical pixels scale calculation. r = rods. b = 24405
2006-02-10 22:47:29 +00:00
pinkerton%netscape.com
8b3073307f
Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable.
2006-02-10 22:47:28 +00:00
pp%ludusdesign.com
5383a61733
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2006-02-10 22:47:27 +00:00
tor%cs.brown.edu
d78b3b1af5
fix build bustage. r=stuart
2006-02-10 22:05:29 +00:00
dougt%meer.net
6d068a01b6
WINCE only. move hotkey handling to use dispatch window. r/a=dveditz. b=325298
2006-02-10 21:55:02 +00:00
joshmoz%gmail.com
dec2d1132a
Add basic window type support in Cocoa widgets, fix major crash. b=325336 r=mark rs=pinkerton
2006-02-10 21:39:30 +00:00
pavlov%pavlov.net
72a14faf99
fixing build bustage
2006-02-10 21:10:55 +00:00
pavlov%pavlov.net
7211d869d3
moving printing from gfx to widget part 2. bug 326149. r=vlad
2006-02-10 20:44:48 +00:00
pavlov%pavlov.net
6a80da6c47
moving printing from gfx to widget part 1. bug 326149. r=vlad
2006-02-10 20:40:54 +00:00
sergei_d%fi.tartu.ee
5f37e27cd2
[Bug 326687] [BeOS] Misplaced ) in MakeFocus() method, p=sergei_d, r=biesi
2006-02-10 18:54:37 +00:00
vladimir%pobox.com
567bc2281b
b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart
2006-02-09 01:24:30 +00:00
dbaron%dbaron.org
e1ed79a390
Remove old native widget code that we were only keeping around for viewer. b=326417 Fixing bustage.
2006-02-08 20:31:10 +00:00
dbaron%dbaron.org
00eb53b26a
Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
2006-02-08 20:09:19 +00:00
mark%moxienet.com
1ab0fd7205
318283 Hangs when autofill popup menu should shrink [Mac 10.2]. On 10.2, defer window resizes until after an update. r=josh sr=smfr a/1.8=josh
2006-02-08 15:05:00 +00:00
joshmoz%gmail.com
fa8f6f3926
Clean up window creation in Cocoa widgets. b=325336 r=mento
2006-02-08 06:09:44 +00:00
joshmoz%gmail.com
b96ada8fdf
Fix warnings, remove unnecessary includes, fix indentation. Cocoa widgets only, no bug.
2006-02-07 21:00:46 +00:00
joshmoz%gmail.com
ccb6ae9da8
Always save window parent, use PRPackedBool. b=325336 r=mento sr=pinkerton
2006-02-07 19:15:42 +00:00
ginn.chen%sun.com
4af64c9b73
Bug 324348 firefox window appears initially at small size and then
...
resizes
r+sr=roc
2006-02-07 03:38:01 +00:00
cbiesinger%web.de
8357c0845a
Bug 193372 add missing include r=blizzard sr=bz
2006-02-07 01:15:24 +00:00
timeless%mozdev.org
cc66211822
Bug 303432 - nsPrintSettings::GetPrinterName lacks an OOM check
...
patch by b.jacques@planet.nl r=dmose sr=dmose
2006-02-07 01:15:23 +00:00
kjh-5727%comcast.net
d51e75e35f
Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
2006-02-07 01:15:22 +00:00
cbiesinger%web.de
b244b46bfc
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-07 01:15:21 +00:00
kjh-5727%comcast.net
f9f3334a8f
Bug 309988 - Default paper size was being set incorrectly. Patch by Christian Persch, chpe@gnome.org. r=kherron, sr=roc.
2006-02-07 01:15:20 +00:00
bsmedberg%covad.net
7d56f1391b
Bug 320988 relanding activex bits with a fix for the agressive optimization of inlines, r=darin
2006-02-07 01:15:19 +00:00
timeless%mozdev.org
4440dc6e69
Bug 304646 nsPrintOptions::InitPrintSettingsFromPrefs shouldn't do NS_WARNING when prtName.IsEmpty()
...
patch by b.jacques@planet.nl r=timeless sr=dmose
2006-02-07 01:15:18 +00:00
timeless%mozdev.org
a4d6015ca1
Bug 306259 Nits in nsPrintOptionsImpl
...
patch by b.jacques@planet.nl r=timeless sr=dmose
2006-02-07 01:15:17 +00:00
timeless%mozdev.org
998c1f3b6e
Bug 303091 JS Exception when changing print scale
...
patch by b.jacques@planet.nl r=timeless sr=shaver a=cbeard
2006-02-07 01:15:16 +00:00
roc+%cs.cmu.edu
9c247bd7cb
Fixing build bustage
2006-02-07 01:15:15 +00:00
timeless%mozdev.org
8ec4c47576
Bug 297277 potential OOM crash/mlk [@ nsPrintOptions::_CreatePrintSettings]
...
patch by b.jacques@planet.nl r=timeless sr=dmose a=bsmedberg
2006-02-07 01:15:14 +00:00
timeless%mozdev.org
a5e5a57c04
Bug 235643 all _CreatePrintSettings leak on failure
...
changes code to handle OOM and optimizes code to skip an unnecessary QI
patch by baafie@planet.nl r=timeless sr=bz a=asa
2006-02-07 01:15:13 +00:00
masayuki%d-toybox.com
9e6ed109b1
Bug 197271 Japanese printer name is displayed as garbage in about:config r+sr=bzbarsky, a=shaver
2006-02-07 01:15:12 +00:00
ginn.chen%sun.com
787b835dd4
Bug 270079 Mozilla can not print the URL in the header and footer.
...
patch maker:leon.sha@sun.com r=roc sr=roc
2006-02-07 01:15:11 +00:00
darin%meer.net
a9c3258c6c
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2006-02-07 01:15:10 +00:00
bzbarsky%mit.edu
05475f0105
"Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
...
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2006-02-07 01:15:09 +00:00
kjh-5727%comcast.net
b8f65ebb36
Bug 257381: Refactor postscript printer list logic & support printing
...
through CUPS. r/sr=roc.
2006-02-07 01:15:08 +00:00
kjh-5727%comcast.net
37a2d640af
Bug 254331: Cannot print in black & white again, only color. r=bzbarsky, sr=roc
2006-02-07 01:15:07 +00:00
mkaply%us.ibm.com
9420c7b7be
#251754
...
r=pkw, sr=blizzard
If it is available, use CUPS to enumerate Postscript printers
2006-02-07 01:15:06 +00:00
kjh-5727%comcast.net
1908d7770a
Bug 226600 - Add a print preview flag to *nix print device context specs.
...
r=blizzard, sr=roc
2006-02-07 01:15:05 +00:00
caillon%redhat.com
b35c78bb93
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2006-02-07 01:15:04 +00:00
cbiesinger%web.de
0be1cebd69
replace EqualsWithConversion by EqualsLiteral where possible
...
bug 248687 r+sr=roc
2006-02-07 01:15:03 +00:00
roc+%cs.cmu.edu
385c01f60a
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2006-02-07 01:15:02 +00:00