Olli.Pettay%helsinki.fi
7a1f7182a1
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
mats.palmgren%bredband.net
6645518495
Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir
...
git-svn-id: svn://10.0.0.236/trunk@226332 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 13:06:17 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
8eec2b3be8
mac bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@226294 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:25:59 +00:00
joshmoz%gmail.com
66ad9e9de7
Window position is not persisted (persist="screenX screenY" doesn't work). Patch by Colin Barrett. b=376808 r=josh sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@226282 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 23:54:05 +00:00
joshmoz%gmail.com
2a04b6e4c6
Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226204 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 19:17:18 +00:00
joshmoz%gmail.com
03d8b9bb7b
DrawButton draws more than just push buttons, this fixes some missing/misdrawn button types on Mac OS X. b=379612 b=379993 sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@226118 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 12:54:48 +00:00
joshmoz%gmail.com
3d8f89c769
HTML content buttons are unnecessarily wide. b=376816 r=mano sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226103 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 02:14:03 +00:00
joshmoz%gmail.com
c9eb8390a6
remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226101 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 01:20:11 +00:00
stefanh%inbox.com
5154886ded
Bug 371609 - CSS2 system color Highlight should obey color changes in system prefs. r=josh+Mano, sr=vlad.
...
git-svn-id: svn://10.0.0.236/trunk@226076 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 20:27:53 +00:00
joshmoz%gmail.com
9194c9b997
Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226018 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 02:06:59 +00:00
kjh-5727%comcast.net
24b61f7dcc
Bustage fix from 377096.
...
git-svn-id: svn://10.0.0.236/trunk@226004 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 11:44:33 +00:00
kjh-5727%comcast.net
7b754b8fab
Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
...
git-svn-id: svn://10.0.0.236/trunk@226003 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 11:29:42 +00:00
joshmoz%gmail.com
67b9524e76
stop using a call that doesn't exist on 10.3, 99% of the time not calling it doesn't matter but I'll have a real fix soon. r=mento
...
git-svn-id: svn://10.0.0.236/trunk@225544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 19:47:33 +00:00
mats.palmgren%bredband.net
8e802771d3
Bye bye gtk1 and xlib (part 2 of 2). b=326152 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225500 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 00:10:04 +00:00
joshmoz%gmail.com
42431f8faa
[re-landing] allow buttons to render at smaller sizes than Mac OS X itself will draw using HITheme. Also fixes 376695, allow buttons to accept padding. b=379297 r=cbarrett r=mano sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@225499 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 23:47:53 +00:00
asqueella%gmail.com
62a937e5e5
Bug 318331 - Default build does not support Xinerama - detect support at runtime
...
p=Sylvain Pasche <sylvain.pasche@gmail.com >
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225482 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:07:33 +00:00
joshmoz%gmail.com
e92ef127ac
replace Apple Event Manager macro usage with the contents of the macro so it is more clear what is going on. r=mento
...
git-svn-id: svn://10.0.0.236/trunk@225475 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 19:22:18 +00:00
silver%warwickcompsoc.co.uk
033495f534
Bug 295355 - Play minimize sound when we're hacking the working set. r=emaijala sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@225440 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 09:24:52 +00:00
asqueella%gmail.com
a2a7bef7a5
Bug 379085 - Build with GCC-4.3 fails due to extra semi-colons and '-pedantic'
...
p=Art Haas <ahaas@airmail.net >
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225438 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 08:03:46 +00:00
roc+%cs.cmu.edu
eafb5334ed
Backing out patch since it broke 3 mochitests and no-one's around to babysit.
...
git-svn-id: svn://10.0.0.236/trunk@225420 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 23:54:55 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
joshmoz%gmail.com
31aa3e9b83
allow buttons to render at smaller sizes than Mac OS X itself will draw using HITheme. Also fixes 376695, allow buttons to accept padding. b=379297 r=cbarrett r=mano sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@225413 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 21:52:22 +00:00
mats.palmgren%bredband.net
5162274ddd
Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225306 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 23:52:44 +00:00
joshmoz%gmail.com
7c9326eeba
<input type="button" disabled> not rendered as disabled native widget. sync with forms.css. patch by Stuart Morgan. b=376577 r=josh sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225264 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 18:20:27 +00:00
mats.palmgren%bredband.net
74e8288335
Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225239 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 00:46:47 +00:00
asqueella%gmail.com
6c8f2a0247
Bug 301089 - Pressing a key while another key held down does not generate keydown event
...
p=O. Atsushi (Torisugari) <torisugari@gmail.com >
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225169 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 16:34:44 +00:00
mats.palmgren%bredband.net
cae4df1215
Plug leak of XineramaScreenInfo. b=378621 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225136 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 10:19:42 +00:00
dbaron%dbaron.org
b426aafa4a
Fix warnings in nsNativeThemeGTK.cpp. b=378698 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225078 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 06:57:37 +00:00
dbaron%dbaron.org
d5695fd15f
Use the NS_ARRAY_LENGTH macro rather in place of other macros that existed before it. b=378697 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225077 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 06:56:36 +00:00
joshmoz%gmail.com
f4710a4304
Rework the way we handle mouse move events targeted at popup windows. This behavior is more correct (mimics gtk2) and the impl is cleaner. Fixes bugs 376811, 371405, 354768, 377105, and probably 378316. r=cbarrett sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@224959 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 19:02:31 +00:00
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
joshmoz%gmail.com
cea017e630
get rid of the rest of PR_Malloc and PR_Free usage from cocoa widgets. Who knows why using it here doesn't cause a linking problem but using it in the menu code does... followup, b=363574
...
git-svn-id: svn://10.0.0.236/trunk@224870 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 05:33:57 +00:00
joshmoz%gmail.com
3f5baa7445
try to fix seamonkey orange, will hopefully revert this change when we figure out what is going on.
...
git-svn-id: svn://10.0.0.236/trunk@224865 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 01:35:48 +00:00
enndeakin%sympatico.ca
6352fb5ac9
Bug 375681, fix bustage on os2, patch by Walter Meinl, r=kaply
...
git-svn-id: svn://10.0.0.236/trunk@224851 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 17:47:28 +00:00
joshmoz%gmail.com
0a84a92c86
add the ability to show icons in native menus under cocoa widgets. b=363574 r=mento sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@224845 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 01:42:17 +00:00
masayuki%d-toybox.com
cf0f0f7295
Bug 376093 When writing in Korean, one has to press enter two times to break the line r=josh, sr=stuart
...
git-svn-id: svn://10.0.0.236/trunk@224843 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 00:37:27 +00:00
joshmoz%gmail.com
613ae8fe92
Ctrl-click doesn't select tree items before triggering context menu. fix that. b=368397 r=cbarrett sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@224757 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 20:18:46 +00:00
joshmoz%gmail.com
5fd2f183a2
followup for bug 376109, fix compile of mac carbon code. r=me, dead code.
...
git-svn-id: svn://10.0.0.236/trunk@224692 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 16:50:21 +00:00
joshmoz%gmail.com
062e9894a1
remove unnecessary semicolon in method impl signature. no bug.
...
git-svn-id: svn://10.0.0.236/trunk@224659 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 22:32:40 +00:00
joshmoz%gmail.com
a56cb3cea1
use the Cocoa method for hiding cursor, not Quickdraw. b=377807 r=cbarrett sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@224654 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 21:41:31 +00:00
dbaron%dbaron.org
c291f28c4e
Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@224556 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:23:00 +00:00
masayuki%d-toybox.com
d515ed1ef1
Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224544 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 13:43:58 +00:00
enndeakin%sympatico.ca
1c4cf263de
Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224430 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 04:37:41 +00:00
mozilla.mano%sent.com
524d38f060
Bug 377181 - 'Jump to here' system preference is not followed by (new) non-native scrollbars. r-cbarrett, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@224424 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 00:36:41 +00:00
marco%gnome.org
276498d4f9
#376777 Only set text/uri-list from x-moz-url when no uri-list has been
...
explicitly set. Patch by Tomeu Vizoso.
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@224398 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 09:06:02 +00:00
joshmoz%gmail.com
d5e3fc289e
Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224386 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 00:25:11 +00:00
joshmoz%gmail.com
24e845cca5
re-work the way we send NS_MOUSE_ENTER and NS_MOUSE_EXIT events to be more robust, don't drop events, and always order events correctly. This fixes 355102 and 332138 for sure, and probably fixes most of 354768 and 357253. The latter two bugs can sometimes have other causes as well. r=shebs sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@224377 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 20:07:49 +00:00
enndeakin%sympatico.ca
8fd48e1972
Bug 372047, support reversing scale widget,r=neil,josh
...
git-svn-id: svn://10.0.0.236/trunk@224329 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 22:59:42 +00:00
enndeakin%sympatico.ca
6bd389e46d
Bug 372047, support reverse direction scales, r=neil,josh
...
git-svn-id: svn://10.0.0.236/trunk@224327 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 22:39:57 +00:00