Commit Graph

1459 Commits

Author SHA1 Message Date
Jim Mathies
018acf4636 Bug 478147 - Focus rect missing from checkboxes on Vista. r=vlad 2009-02-18 17:56:51 -06:00
Vladimir Vukicevic
a4f3879420 Bug 474825 - honor mozilla.widget.disable-native-theme preference. move preference check to the right place r=stuart 2009-02-18 10:38:37 -08:00
Masayuki Nakano
bcf39be0ea Bug 478536 Crash by removing a scroll target in MozMouseScrollFailed event handler r+sr=roc 2009-02-18 00:55:53 +09:00
Neil Deakin
7ae9acbaf5 Bug 471848, flag for whether a drag was cancelled by the user, r+sr=roc 2009-02-17 10:51:12 -05:00
Olli Pettay
f9093a901c Bug 477863 - Give gesture events usable clientX/screenX values, r+sr=roc 2009-02-17 13:49:03 +02:00
Jim Mathies
8328806776 Bug 169582 - Window restores when changing desktop settings. r=emaijala 2009-02-16 16:25:48 -06:00
Steffen Imhof
62bf0d3a94 Bug 464050 - Focus handling prevents text selection by mouse; r=vladimir 2009-02-16 16:27:18 +01:00
Karl Tomlinson
c3455b56d2 Bug 475343. If the region to paint is too complex, just use its bounding box. GTK changes. r=roc
--HG--
extra : rebase_source : a3f7af16b372ab6f9675071d591edbe37a71b2d5
2009-02-16 14:10:24 +13:00
Robert O'Callahan
82af337bb0 Bug 475343. If the region to paint is too complex, just use its bounding box. Windows changes. r=vlad
--HG--
extra : rebase_source : 5e32f603aae07c2a751d31376ea0e2bf9f34cfb1
2009-02-16 14:09:11 +13:00
Robert O'Callahan
a8fb8dce34 Bug 475343. If the region to paint is too complex, just use its bounding box. Mac changes. r=joshmoz
--HG--
extra : rebase_source : b5374a6b64d22b2284a32c0413129fd0d6e12427
2009-02-16 14:06:52 +13:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Vladimir Vukicevic
bf73bd6518 Add missing break statement; fixes win32 leak test tinderbox 2009-02-13 00:34:42 -08:00
Vladimir Vukicevic
c41eb5af4c b=477727; windows widget nsWindow WinCE/Windows Mobile separation fixes; r=dougt 2009-02-12 18:26:02 -08:00
Vladimir Vukicevic
263a2857c3 b=478149; Fix up win32/WinCE window style handling; r=dougt 2009-02-12 18:26:02 -08:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Markus Stange
e523a92545 Bug 469631 - Cocoa needs a correct combobox/editable menulist widget, r=dao r=josh sr=roc 2009-02-11 16:54:10 +01:00
Walter Meinl
4f856d7db7 Bug 474187 - Qt port broken in widget follow up to bug448830 split nsIntRect. r=roc 2009-02-11 14:51:06 +01:00
Vladimir Vukicevic
248b4fb004 b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Daniel Holbert
59d61972ae Bug 461047 follow-up patch - Fix a number of small issues from the nsStringArray to nsTArray<nsString> switchover, mostly related to signed vs unsigned array sizes. r+sr=roc 2009-02-10 12:39:43 -08:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Oleg Romashin
8d5ffda846 Bug 477586 - We should be able to disable NativeColors using in xpwidgets. 2009-02-10 14:25:00 -05:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
Jim Mathies
7d5de50f2a Bug 476705 - touch up patch for window state problem. 2009-02-09 15:39:55 -06:00
Doug Turner
e7141755e6 Bug 476705 - Supporting sizemode=maximized on windows mobile. r/sr=stuart 2009-02-09 12:07:14 -08:00
L. David Baron
ef5fe05834 Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
e53087b660 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Steven Michaud
fde30585eb Do more to prevent NSTexturedBackgroundWindowMask style from making whole window draggable. b=476393 r=josh sr=roc 2009-02-06 11:36:04 -06:00
Steven Michaud
7750b86783 Add comment explaining backout of bug 474491 -- no code changes. 2009-02-05 17:31:00 -06:00
Steven Michaud
b1cba52fd7 Backed out changeset 53f4c4890ffc -- merge 2009-02-05 17:06:25 -06:00
Steven Michaud
38e673b4f2 Backed out changeset 53f4c4890ffc (patch for bug 474491) because it triggered bug 477077. 2009-02-05 17:05:53 -06:00
Arpad Borsos
e642432ec3 Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Sylvain Pasche
1ef7f0375b Bug 474878. Implement themed rendering of indeterminate checkboxes on Windows. r+sr=roc 2009-02-05 21:17:08 +13:00
Steven Michaud
d142c250b3 NPP_SetWindow()'s window->clipRect.top off by 22 pixels in CoreGraphics mode. b=474491 r=josh sr=roc 2009-01-23 11:24:27 -06:00
Josh Aas
904c2da266 Fix crash in Mac OS X native menus when attribute change notifications come in an order we don't expect. Allow for any attribute change notification order. b=433858 r=mstange sr=roc 2009-01-23 10:45:03 -05:00
Makoto Kato
915b7988ba Bug 472812 - Remove /mozilla/widget/src/windows/aimm.h. r=masayuki, sr=roc 2009-01-23 21:11:46 +09:00
Steven Michaud
f4f02db0ee [10.5] Crash [@ nsAppShell::~nsAppShell] when quitting Camino. b=471948 r=josh sr=roc 2009-02-02 15:23:42 -06:00
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Edward Lee
72939265e8 Bug 476254 - Send a notification once a day when the user goes idle for some time. r=roc, sr=roc 2009-01-31 22:58:34 -06:00
Edward Lee
8812291285 Bug 476253 - Dynamically pick next polling time for IdleService (instead of polling every 5 sec). r=roc, sr=roc 2009-01-31 22:58:32 -06:00
Markus Stange
90bdf75818 Bug 399030 - Draw dropdowns with NSPopupButtonCell, r=josh sr=roc 2009-01-31 17:49:29 +01:00
Michael Ventnor
0f1f80485c Bug 474868. Implement native theme drawing for indeterminate checkboxes on Mac. r+sr=roc
--HG--
extra : rebase_source : 3c31773b8e7fe3d513ef2e624072ff279f4c3395
2009-01-30 20:19:41 +13:00
Ehsan Akhgari
88e4389a47 Bug 462106 - Clear the data copied to clipboard inside the private browsing mode after leaving it (2nd try); r,sr=roc 2009-01-30 11:43:17 +03:30
Steven Michaud
9b489a9c91 Stop nsCocoaWindow::Show() from crashing on "Error (1000) creating CGSWindow" errors. b=470864 r=josh sr=roc 2009-01-29 15:57:59 -06:00
John Daggett
2d4898acdd Bug 425844 - fix up typo in comment 2009-01-29 18:04:53 +09:00
John Daggett
b77141c8e3 Bug 425844 - restore menu state after page setup and print dialogs. r=josh 2009-01-29 17:46:23 +09:00
Doug Turner
258e5fb771 Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart 2009-01-28 15:39:13 -08:00
Doug Turner
a709dd700a Bug 473662 - disable tap-and-hold on windows mobile. r=emaijala sr=pavlov 2009-01-28 15:38:14 -08:00
Brad Lassey
9f3f82e721 Bug 467371 - VERIFY in nsToolKit::Startup should check GetLastError() for ERROR_CLASS_ALREADY_EXISTS. r=dougt 2009-01-28 15:36:33 -08:00
Peter Van der Beken
48a7467edc Backed out changeset 97907892496f (Bug 462106 - Clear the data copied to clipboard inside the private browsing mode after leaving it; r,sr=roc a=blocking-firefox3.1+) to fix orange. 2009-01-24 14:27:54 +01:00
Ehsan Akhgari
bc5aa6bcd2 Bug 462106 - Clear the data copied to clipboard inside the private browsing mode after leaving it; r,sr=roc a=blocking-firefox3.1+ 2009-01-24 14:46:01 +03:30
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Michael Ventnor
2351d2a4b0 Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc 2009-01-22 13:07:44 +13:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Walter Meinl
0bd91135db [OS/2][BeOS] Bug 474365: unbreak build in widget/src/*/nsDeviceContextSpec*.cpp following bug 461047, r=weilbacher 2009-01-21 09:58:53 +01:00
Arpad Borsos
49ed84964d Bug 473452. Kill unused nsPrintdGTK. r+sr=roc 2009-01-19 22:08:47 +13:00
Steven Michaud
0873c09f13 Fix crash (but not hang) when Gecko alert opens above Cocoa modal Save As dialog. b=468393 r=josh sr=roc 2009-01-23 14:46:35 -06:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Markus Stange
10fc7c3b4e Bug 206636 - Throbbing default buttons, r=josh r=Enn sr=roc 2009-01-18 12:05:38 +01:00
Kai Liu
4b0b5e5530 Bug 240536 - resizer direction is to the right, when interface is RTL; r=roc,mano sr=roc 2009-01-18 13:58:19 +03:30
Josh Aas
1d53e829df Fix some alignment, whitespace only. b=464315 2009-01-17 17:48:41 -05:00
Josh Aas
0e438679d4 Make Mac OS X cursor code 64-bit ready. Remove all Carbon API dependencies. b=464315 r=mstange sr=roc 2009-01-17 14:23:43 -05:00
Michael Ventnor
0ec63aa6ad Bug 472772. Introduce a separate combobox-text color because some GTK themes need it. r+sr=roc
--HG--
extra : rebase_source : 6e53173e0443d70b36ccbb9e90b60d573ed595d6
2009-01-16 21:18:49 +13:00
Walter Meinl
ed775713d7 [OS/2] Bug 473906: follow-up to Bug 448830 - Split nsInt(Rect|Size|Point|Margin), r=weilbacher 2009-01-17 10:08:00 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Reed Loden
75583cfc56 Branch merge for bug 462441. 2009-01-16 01:01:10 -06:00
Reed Loden
afe74fc527 Bug 462441 - "Windows 7 default OS theme not recognized by windows-default-theme metric" [r=robarnold sr=roc] 2009-01-16 00:59:48 -06:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Doug Turner
aece1e91a5 Bug 468399. Use image surfaces on windows mobile for performance reasons. r=vlad 2009-01-14 16:19:39 -08:00
Steven Michaud
ded2619c3b Fix null dereference at nsMenuItemIconX::OnStopRequest(). b=471101 r=josh sr=roc 2009-01-14 09:55:50 -06:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Ginn Chen
1ac452bd03 Bug 472635 Do nothing if im contexts don't match r=masayuki,masaki.katakai sr=roc 2009-01-14 15:10:52 +08:00
Markus Stange
99a8abec80 Bug 473183 - Some controls don't accurately hit their drawRect on 10.4, r=josh 2009-01-12 20:25:43 +01:00
Markus Stange
4b33bb942a Bug 472734 - Don't round the top left corner of submenus that open to the right, r=josh sr=roc 2009-01-12 20:23:51 +01:00
Markus Stange
b0cd12cd7e Bug 468507 - Use DrawCellWithSnapping when drawing push buttons, r=josh sr=dbaron 2009-01-12 20:22:59 +01:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Honza Bambas
6a953b0a70 Bug 400568 - Keyboard Back/Forward keys sending VK_BROWSER_BACK/FORWARD go back/forward twice, r=emaijala, sr=ocallahan 2009-01-12 20:17:52 +01:00
Boris Zbarsky
a874b266a0 Bug 472487. Use the default filename in modeOpen in the Mac filepicker (e.g. so that file inputs prefill the currently-selected file in the filepicker). r=josh, sr=roc 2009-01-12 10:43:27 -05:00
Phil Ringnalda
073fac9869 Fix spelling of uncommited since we remain committed to builds, even with a CLOSED TREE 2009-01-11 15:51:40 -08:00
Phil Ringnalda
a6a827f443 Fix spelling of accomodate since we can accommodate more builds in the CLOSED TREE 2009-01-11 11:13:26 -08:00
Peter Weilbacher
55808c0fb6 [OS/2] Bug 443112: sync README files of all three apps with information for Gecko 1.9.1; add Java version requirements and update web links
(OS/2 only, so does not affect a CLOSED TREE)
2009-01-10 13:31:01 +01:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Dão Gottwald
3b27428c91 Bug 471921 - use proper CSS instead of first-tab, last-tab and afterselected attributes. r=gavin 2009-01-09 10:57:57 +01:00
Michael Ventnor
0aaeb2961d Bug 472488. Need to pass correct directory as part of filename in gtk_file_chooser_set_filename. r+sr=roc 2009-01-09 13:30:57 +13:00
Michael Ventnor
3800db375c Bug 427488. Enable use of provided default filename for file open dialogs in GTK. r+sr=roc
--HG--
extra : rebase_source : ff4f6363e52c4dbda82d81bfbbbef43e5311e772
2009-01-08 21:16:13 +13:00
Steven Michaud
2d3c95c3f9 Delete event tap correctly. b=436897 r=josh sr=roc 2009-01-07 17:03:56 -06:00
timeless@mozdev.org
70a376a5c6 Bug 421229 - nsIFilePicker.fileURL comment is wrong, r=neil 2009-01-06 21:33:04 -08:00
Doug Turner
473b3a2efa Bug 464091 - Modify windows widget to work for windows ce. This should have been removed when I merged to the tip. Thanks :emk for pointing this out 2009-01-06 19:19:38 -08:00
Markus Stange
ec80c145a4 Bug 449442 - Change -moz-appearance: statusbar on Mac OS X to draw a dark chrome statusbar with a gradient. ui-r=faaborg r=josh sr=roc 2009-01-06 16:46:59 +01:00
Masayuki Nakano
2015c3b7fa Bug 469164 Implement nsSound::PlaySystemSound of Cocoa r=josh, sr=roc 2009-01-06 23:57:22 +09:00
Doug Turner
ffc3b0ae86 Bug 464091 - Modify windows widget to work for windows ce. r=emaijala / sr=pavlov 2009-01-05 10:17:44 -08:00
Dão Gottwald
98ef582b97 Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
Olli Pettay
4055e86a98 Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc 2009-01-03 14:40:26 +02:00