Commit Graph

71 Commits

Author SHA1 Message Date
vladimir%pobox.com
efab846b79 b=348223, form controls have lines through them (win32 native theme rendering), r=stuart
git-svn-id: svn://10.0.0.236/trunk@207106 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 21:56:15 +00:00
pavlov%pavlov.net
473b90ffc0 speed up windows text rendering by avoiding using cairo when possible. also avoid save/restore dc when doing native themes. bug 342366. r=vlad
git-svn-id: svn://10.0.0.236/trunk@207000 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-09 20:25:07 +00:00
gavin%gavinsharp.com
112c7f6a3f Bug 284550: Firefox scroll bar positioning goes against Fitts' Law (Windows XP/Luna), patch by Simon Bünzli <zeniko@gmail.com>, r=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@206768 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 22:45:56 +00:00
enndeakin%sympatico.ca
70a7c556c0 bug 155053, add spinbuttons widget, with native theming, r+sr=neil and roc
git-svn-id: svn://10.0.0.236/trunk@202039 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:40:49 +00:00
vladimir%pobox.com
74acfdf374 b=336312, scrollbar stipple pattern is offset when scrolling on windows, r=stuart
git-svn-id: svn://10.0.0.236/trunk@201913 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 23:13:21 +00:00
leon.sha%sun.com
de00feaf80 Bug 333896 Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
mark: review+
roc: review+
roc: superreview+
Patch by alfred.peng@sun.com


git-svn-id: svn://10.0.0.236/trunk@199580 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 06:02:30 +00:00
vladimir%pobox.com
03a61452b5 b=340517, classic windows native themes broken; r=stuart
git-svn-id: svn://10.0.0.236/trunk@199138 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 19:01:58 +00:00
vladimir%pobox.com
b53474a3a1 b=340452, update cairo on trunk to 2006-06-03, r=stuart
git-svn-id: svn://10.0.0.236/trunk@199075 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 23:16:25 +00:00
enndeakin%sympatico.ca
add54323c7 Bug 290255, add xul scale widget, r=mconnor,roc sr=neil,roc
git-svn-id: svn://10.0.0.236/trunk@198629 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 13:50:48 +00:00
dbaron%dbaron.org
cc15a61526 Back out checkin for bug 333896 which causes tinderbox orange since nsWidgetAtoms aren't initialized.
git-svn-id: svn://10.0.0.236/trunk@196669 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 13:35:27 +00:00
leon.sha%sun.com
60ef06c693 Bug 333896 Convert GetAttr calls to AttrValueIs and FindAttrValueIn
Patch by alfred.peng@sun.com.
roc: review+
mark: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@196649 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 05:40:33 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
pavlov%pavlov.net
2e3d9319de add type info to thebes. bug 332743. r=vlad
git-svn-id: svn://10.0.0.236/trunk@193561 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 21:54:22 +00:00
vladimir%pobox.com
a0fde75ce7 Re-landing fixed cairo update, r=pav
git-svn-id: svn://10.0.0.236/trunk@192565 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 22:24:30 +00:00
vladimir%pobox.com
eaedad5e8c People tell me that quadrupling Tp is bad. Me? I want a second opinion.
git-svn-id: svn://10.0.0.236/trunk@192527 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 07:44:38 +00:00
vladimir%pobox.com
3cf7e11a05 b=330738, update in-tree cairo to current cairo head
git-svn-id: svn://10.0.0.236/trunk@192518 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 04:05:32 +00:00
martijn.martijn%gmail.com
4829b7c2bd Bug 326926 - Caret 1px too far to the right in empty inputs/textarea's in win2000 theme, r=neil, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@192415 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 11:59:22 +00:00
pavlov%pavlov.net
08a9b57473 fixing windows plugin clipping bugs. bug 328263. r=vlad
git-svn-id: svn://10.0.0.236/trunk@191067 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 20:55:42 +00:00
vladimir%pobox.com
38d31001d0 b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart
git-svn-id: svn://10.0.0.236/trunk@189449 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 01:24:30 +00:00
pavlov%pavlov.net
1f367a4beb When using Thebes, we need to Flush the surface before drawing directly to the surface with GDI.
git-svn-id: svn://10.0.0.236/trunk@187871 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 04:14:05 +00:00
vladimir%pobox.com
ea3fcf8899 fix Windows cairo builds issues; avoid crash in drawing surface destructor; sync up cairo clip state after calling RestoreDC() to make sure that the clip is correct, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@187778 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 22:42:30 +00:00
neil%parkwaycc.co.uk
f4819c71a5 GDI resource leak fix b=243078 p=shutdown@flashmail.com r=ere sr=me
git-svn-id: svn://10.0.0.236/trunk@184757 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 13:51:47 +00:00
dougt%meer.net
3492e5b8d6 Bug 297683 r/sr=dveditz.
Patch does the following:
1) Enables native theme support on WinCE so that things look more clean --
specifically scrollbars looks better.
2) SetGraphicsMode isn't implemented on WinCE.	I ifdef'ed it out for WINCE.  I
think stuart, vlad, and I will have to really determine if i need to implement
this in the WinCE shunt.  For now, keep everything building.
3) I enabled IMM support on WINCE, although it is very rarely used.  This
allows us to remove some ifdef's.
4) I am remapping the hardward keys to new values.
5) I am also allowing the SmartPhone softkey's and the Back button to be
remapped.

Mostly WinCE


git-svn-id: svn://10.0.0.236/trunk@182165 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 15:07:56 +00:00
timeless%mozdev.org
517099ad86 Bug 243078 - Native Theme Rendering for Windows XP Menus, toolbars
patch by silver@warwickcompsoc.co.uk r=dougt sr=neil


git-svn-id: svn://10.0.0.236/trunk@181743 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 00:31:36 +00:00
vladimir%pobox.com
52b9030440 Merge from org.mozilla.cvs.cairo branch.
- Cairo 1.1.1
- Updated thebes, gfx/src/thebes
- Fixes to plugins with thebes gfx under linux
- Native theme fixes with thebes rendering (NOTE: widget changes only enabled when building with thebes, otherwise all old code)


git-svn-id: svn://10.0.0.236/trunk@181696 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 04:02:10 +00:00
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
mconnor%steelgryphon.com
c535db36c6 bug 255947 - missing borders for the progress bar in with native classic widget on windows, patch by Mathieu Pellerin <nirvn.asia@gmail.com>, r+sr=roc, a=shaver
git-svn-id: svn://10.0.0.236/trunk@178504 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:29 +00:00
dougt%meer.net
f70849cd92 Bug 295481. WINCE Fixes. This includes changes to make the makefiles do the right thing if we try to build Minimo and XUL together. These changes rs=bsmedberg. Further WINCE fixes in GFX and Widget. r=emaijala, sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@178502 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:27 +00:00
cbiesinger%web.de
c84ce3b03d Bug 176177 use the correct flag for buttons that are checked
patch by Son Le <son.le0@gmail.com> r=emaijala sr=bz


git-svn-id: svn://10.0.0.236/trunk@178501 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:26 +00:00
dougt%meer.net
47f10f2e51 bug 281948. WinCE changes to GFX and Widget. r=ere, sr=darin
git-svn-id: svn://10.0.0.236/trunk@178494 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:19 +00:00
dbaron%dbaron.org
0f9cd3c017 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@178492 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:17 +00:00
bryner%brianryner.com
80a1cd9e2d Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@178482 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:07 +00:00
bryner%brianryner.com
7bbfaf9a08 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@178479 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:14:04 +00:00
neil%parkwaycc.co.uk
9dc3be9d93 Removing unused variables b=130292 p=mbockelkamp@web.de r/sr=rbs
git-svn-id: svn://10.0.0.236/trunk@178474 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:59 +00:00
bzbarsky%mit.edu
7c92a05a17 Make nsNativeThemeWin inherit from nsNativeTheme; remove some redundant code.
Bug 232175, patch by Isaac Hwak Han <isaachh@mailc.net>, r=bryner, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178471 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:56 +00:00
gerv%gerv.net
eed064a881 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@178468 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:53 +00:00
bzbarsky%mit.edu
75d2f22639 Fix IsWidgetStyled to properly handle backgrounds on <select>. Bug 224974 and
bug 181490, patch by Isaac Hwak Han (isaachh@mailc.net), r=bryner, sr=bzbarsky,
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@178462 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:47 +00:00
bryner%brianryner.com
b1b9da5e60 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@178461 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:46 +00:00
bryner%brianryner.com
36f543aa5c Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@178457 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:42 +00:00
bryner%brianryner.com
d44a24e09f Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178456 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:41 +00:00
bryner%brianryner.com
ce8644aa08 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178451 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:36 +00:00
jst%mozilla.jstenback.com
54e7eb4eab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@178450 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:35 +00:00
uid502
44fc2eeee0 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@178448 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:33 +00:00
bryner%brianryner.com
6e6fd99b63 Workaround for oscillating splitter in mailnews (bug 201379). r=varga, sr=mscott, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@178447 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:32 +00:00
bzbarsky%mit.edu
5d408829b9 Fixing build-bustage typo
git-svn-id: svn://10.0.0.236/trunk@178446 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:31 +00:00
bzbarsky%mit.edu
56f4a1dc03 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@178445 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:30 +00:00
jaggernaut%netscape.com
dd62c21063 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178444 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:29 +00:00
caillon%returnzero.com
1d275468a5 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@178442 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:27 +00:00
dbaron%dbaron.org
d2aa4feb68 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@178441 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:26 +00:00
varga%netscape.com
2901e2a936 Low risk fix for bug 199915. Can't use File Bookmark in XP.
r=bryner, sr=jag, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@178440 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 07:13:25 +00:00