Commit Graph

143 Commits

Author SHA1 Message Date
timeless%mozdev.org
50666c89f3 Bug 337917 Make consumers stop using cids from other modules
r=dveditz sr=darin


git-svn-id: svn://10.0.0.236/trunk@198974 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:38:55 +00:00
dbaron%dbaron.org
c4465fe156 Rename browser.display.screen_resolution pref, for which we used to have user interface, to layout.css.dpi, so old settings no longer take effect. b=327406 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191379 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 10:00:47 +00:00
mark%moxienet.com
9944042014 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
git-svn-id: svn://10.0.0.236/trunk@189716 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:19 +00:00
rbs%maths.uq.edu.au
832c768cfb 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
git-svn-id: svn://10.0.0.236/trunk@189715 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:18 +00:00
smfr%smfr.org
8d01c0e4aa 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
git-svn-id: svn://10.0.0.236/trunk@189712 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:15 +00:00
joshmoz%gmail.com
92f54a623c gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@189709 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:12 +00:00
smfr%smfr.org
a8090cebdc 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
git-svn-id: svn://10.0.0.236/trunk@189708 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:11 +00:00
dbaron%dbaron.org
529e5b5cef Remove mSurface and SetDrawingSurface to fix bustage. mSurface was a write-only void* variable taking inconsistent types.
git-svn-id: svn://10.0.0.236/trunk@189707 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:10 +00:00
roc+%cs.cmu.edu
3ee3960523 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@189704 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:07 +00:00
cbiesinger%web.de
fa9da5e4de 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


git-svn-id: svn://10.0.0.236/trunk@189703 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:06 +00:00
gerv%gerv.net
92267efc44 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@189702 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:05 +00:00
tor%cs.brown.edu
a93bb0830d Bug 234954 - remove unused nsIDeviceContext::ConvertPixel. r=pavlov sr=bryner
git-svn-id: svn://10.0.0.236/trunk@189700 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:03 +00:00
bryner%brianryner.com
5b1888fed0 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@189699 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:02 +00:00
pinkerton%netscape.com
982521bdf5 merge more changes from chimera branch, fixed printing crash and sets dpi to
96dpi instead of 84dpi (bug 208920)


git-svn-id: svn://10.0.0.236/trunk@189698 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:01 +00:00
rbs%maths.uq.edu.au
c2fabcf392 Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@189697 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:00 +00:00
dwitte%stanford.edu
e9a6788b2f 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.


git-svn-id: svn://10.0.0.236/trunk@189696 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:59 +00:00
bryner%netscape.com
b960872ec8 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@189695 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:58 +00:00
dbaron%dbaron.org
07e4bc3569 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@189694 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:57 +00:00
roc+%cs.cmu.edu
f0ff2d1316 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@189693 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:56 +00:00
dougt%netscape.com
b81f4faa70 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@189692 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:55 +00:00
rbs%maths.uq.edu.au
3011f242cc Make CheckFontExistence('Symbol') to tell the truth, b=161048, r=ftang, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@189685 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:48 +00:00
rods%netscape.com
38db0e45ad Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189684 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:47 +00:00
rods%netscape.com
bdea9c1419 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@189680 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:43 +00:00
rods%netscape.com
476d5b4570 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189679 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:42 +00:00
rods%netscape.com
62d10a28b4 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


git-svn-id: svn://10.0.0.236/trunk@189672 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:35 +00:00
ftang%netscape.com
5e5b587b46 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)


git-svn-id: svn://10.0.0.236/trunk@189671 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:34 +00:00
alecf%netscape.com
1caa718a12 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
git-svn-id: svn://10.0.0.236/trunk@189664 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:27 +00:00
ftang%netscape.com
186a49e685 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


git-svn-id: svn://10.0.0.236/trunk@189663 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:26 +00:00
ftang%netscape.com
6294128826 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.


git-svn-id: svn://10.0.0.236/trunk@189662 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:25 +00:00
rods%netscape.com
b12e60f65f 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


git-svn-id: svn://10.0.0.236/trunk@189661 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:24 +00:00
pinkerton%netscape.com
1275e4717f changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
git-svn-id: svn://10.0.0.236/trunk@189656 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:19 +00:00
pinkerton%netscape.com
956c0b7374 ensure that mPixelsToTwips is always integral. r=dbaron/sr=sfraser/a=asa. bug#120779
git-svn-id: svn://10.0.0.236/trunk@189655 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:18 +00:00
sfraser%netscape.com
ec40d441d6 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
git-svn-id: svn://10.0.0.236/trunk@189654 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:17 +00:00
rods%netscape.com
d7cb8433f8 reflow was using the wrong DC to rendering context for PP
BUg 117745 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189653 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:16 +00:00
dbaron%fas.harvard.edu
738919bafc 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
git-svn-id: svn://10.0.0.236/trunk@189652 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:15 +00:00
jaggernaut%netscape.com
5709759bf5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@189651 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:14 +00:00
jaggernaut%netscape.com
384663ebc5 BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@189650 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:13 +00:00
pchen%netscape.com
f5cc2f37f9 bug 20943, r=rods, sr=ben, need to use alternate dc for print preview
git-svn-id: svn://10.0.0.236/trunk@189649 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:12 +00:00
sfraser%netscape.com
d802232b60 Change to convert Widget and Gfx into component DLLs on Mac, bug 94434. r=pchen, sr=beard/darin
git-svn-id: svn://10.0.0.236/trunk@189648 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:11 +00:00
seawood%netscape.com
5fee683ef7 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@189647 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:10 +00:00
ftang%netscape.com
d82b657f6e fix bug 95554. r=bstell, sr=sfraser. implement the nsFontEnumeratorMac::HaveFontFor
git-svn-id: svn://10.0.0.236/trunk@189645 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:08 +00:00
dbaron%fas.harvard.edu
94cd7abe0c 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
git-svn-id: svn://10.0.0.236/trunk@189644 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:07 +00:00
jaggernaut%netscape.com
f8d63e1974 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
git-svn-id: svn://10.0.0.236/trunk@189643 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:06 +00:00
gerv%gerv.net
228e15a9d9 License changes, take 2. Bug 98089. mozilla/gfx/.
git-svn-id: svn://10.0.0.236/trunk@189642 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:05 +00:00
dbaron%fas.harvard.edu
89e803485f 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
git-svn-id: svn://10.0.0.236/trunk@189641 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:04 +00:00
yokoyama%netscape.com
2eb9247f8f 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


git-svn-id: svn://10.0.0.236/trunk@189640 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:03 +00:00
pavlov%netscape.com
43ab06c7c4 fixing bug 78690. removing old imagelib. r=jst sr=waterson
git-svn-id: svn://10.0.0.236/trunk@189639 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:02 +00:00
jaggernaut%netscape.com
59454eebbc Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@189638 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:01 +00:00
pinkerton%netscape.com
fa1e3ed35c fix non-carbon build bustage
git-svn-id: svn://10.0.0.236/trunk@189637 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:00 +00:00
pinkerton%netscape.com
ce5ee02a05 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.
git-svn-id: svn://10.0.0.236/trunk@189636 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:48:59 +00:00