Commit Graph

1998 Commits

Author SHA1 Message Date
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
L. David Baron
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Markus Stange
5506bd72d5 Bug 456646 - Replace Carbon printing dialog with Cocoa one. r=josh, r=bsmedberg, sr=jst
--HG--
rename : toolkit/locales/en-US/chrome/global/gnomeprintdialog.properties => toolkit/locales/en-US/chrome/global/printdialog.properties
extra : rebase_source : 80b46470b496313b6994366cb953abed5bb0849e
2009-10-01 11:15:32 +13:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Masayuki Nakano
53148f968b Bug 516654 Cannot scroll to horizontal continuously with Logitech (Logicool) mouse r=roc 2009-09-24 02:13:55 +09:00
Markus Stange
7251aeec3a Bug 515003 - Rewrite native mouse event handling. Also add tests for native mouse events (bug 470845). r=josh, sr=roc 2009-09-23 14:31:37 +12:00
Markus Stange
5b0990240b Bug 518085 - Fix some colors that I got wrong in bug 517412. r=josh 2009-09-23 14:21:38 +12:00
Josh Aas
57878ef860 Fix dragging in Google Maps street view on Mac OS X. b=516602 r=roc 2009-09-22 21:52:49 -04:00
Markus Stange
f877219f80 Merge backout of changeset 7799cfb99362, bug 517804 2009-09-23 08:53:56 +12:00
Markus Stange
f16e17827d Backed out changeset 7799cfb99362 (Bug 517804 - Flush reflows and invalidations during viewWillDraw) because it caused a ts_shutdown regression. 2009-09-23 08:53:25 +12:00
Josh Aas
8e51c328b8 Don't use ::GetCaretTime() in nsLookAndFeel.mm. It isn't available to 64-bit applications. b=518140 r=mstange 2009-09-22 16:51:02 -04:00
Rich Walsh
b69ba40a4d [OS/2] Bug 514408 - improved plugin clipping, r=pweilbacher 2009-09-22 15:51:43 +02:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Masayuki Nakano
ab0f2e9ba1 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Robert O'Callahan
453275ec80 Bug 498340. Fire NS_WILL_PAINT on Windows so flushes that change the window hierarchy happen before we call BeginPaint. r=jmathies 2009-11-16 11:48:21 +13:00
Kyle Huey
4a2c414fc5 Bug 528267 - Lenovo laptop touchpad scrolling stopped working. r=roc 2009-11-14 18:24:02 +01:00
Markus Stange
89681f9fd4 Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh
--HG--
extra : rebase_source : cb6f250b0fc137682cd09e569d34c29ca272211e
2009-11-14 00:03:46 +01:00
Markus Stange
39e71143b6 Bug 403174 - Attach sheets under the toolbar, not directly under the titlebar. r=josh
--HG--
extra : rebase_source : a4bdfa97c723fa2e6191719842a85f64db9a81cc
2009-11-13 23:59:38 +01:00
Markus Stange
499457b8f0 Bug 527686 - Make tooltips transparent and tweak their background color. r=josh
--HG--
extra : rebase_source : 6e566c16fd942102ebb11274faf0209e45a08ada
2009-11-13 23:58:59 +01:00
Markus Stange
5a80b9e552 Bug 527685 - Simplify widget transparency handling. r=josh, r=roc
Store the window's transparency state on the NSWindow and use it for all of its subviews, instead of only making the top-level NSView transparent.

--HG--
extra : rebase_source : 88cbbc9104a156f236464722cadd8194d47a1584
2009-11-13 23:58:15 +01:00
Markus Stange
a051d28321 Bug 492217 - Make more parts of native theme rendering rtl-aware, for example tree twisties and tree header cells with sort arrows. r=josh
--HG--
extra : rebase_source : b203117731e3390d75cd33af84c4b17ee5eade2f
2009-11-13 23:56:30 +01:00
Karl Tomlinson
6fa97564f6 b=528386 handle side-effect sibling destruction when destroying child windows r=roc 2009-11-13 17:20:23 +13:00
Jim Mathies
33fd5b7bdd Bug 499816 - Minimizing Firefox does not release window focus. r=blassey. 2009-11-11 19:11:57 -06:00
Steven Michaud
f480889ca9 Bug 527800 - NPCocoaEvent structures sometimes not initialized in nsChildView.mm. r=josh 2009-11-11 14:56:43 -06:00
Markus Stange
670c6722c8 Bug 517412 - 64 Bit fixes for nsLookAndFeel.mm. Also removes some unused colors. r=josh, r=dbaron 2009-09-22 20:03:17 +12:00
Markus Stange
ad76cfe637 Bug 517415 - 64 Bit fixes for nsNativeThemeCocoa.mm. r=josh 2009-09-22 20:01:35 +12:00
Markus Stange
fea8980cd9 Bug 517802 - Use a new API on 10.5 that lets us scroll dirty rects instead of always invalidating the whole view when scrolling a dirty view. r=josh 2009-09-22 19:50:45 +12:00
Markus Stange
064df42d99 Bug 513493 - Adjust native theme colors to match Snow Leopard. r=josh 2009-09-22 19:48:55 +12:00
Markus Stange
af80e1bef8 Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh 2009-09-21 18:29:59 +12:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Mark Finkle
7f5aab4b30 Bug 520860: Remove code to suppress Maemo autocomplete widget, r=roc 2009-10-07 10:14:49 -04:00
Jim Mathies
f6cefec274 Bug 506124 - Follow up for 502 sdk for margins struct. r=roc. 2009-10-07 00:22:06 -05:00
Masayuki Nakano
7e5494fb45 Bug 517549 TISGetInputSourceProperty is 12.3% of my startup path r=josh 2009-09-21 22:24:57 +09:00
Josh Aas
70b5cbd7ef Never put an NSEvent object into a gecko event nativeMsg field. b=526276 r=smichaud 2009-11-03 17:27:57 -05:00
Peter Weilbacher
64a49eda80 [OS/2] Bug 522896 - Widget Code Maintenance, part 0: eliminate gcc 4.x warnings, r=pweilbacher 2009-11-03 22:29:31 +01:00
Robert O'Callahan
b29ea58b95 Bug 523911. Cocoa 'scrollRect' method doesn't actually update the window if we don't also invalidate something. Sometimes our scroll optimizations are so smart we don't actually need to repaint anything, so just invalidate one pixel in that case. r=josh 2009-11-04 07:39:42 +13:00
Markus Stange
ce61c6dd93 Disable the test for bug 517396 on Linux.
--HG--
extra : rebase_source : 5a5c6785a62af9027e7eb408ecc200b1b13dfc4e
2009-11-03 17:45:00 +01:00
Markus Stange
fcbd721c97 Fix the test for bug 517396
--HG--
extra : rebase_source : 24b47eb12240260bec01c571e41114f9270a9715
2009-11-03 14:57:05 +01:00
Markus Stange
55d034057d Test for bug 429954.
--HG--
extra : rebase_source : 7e46940aa021a01fcfdbba2d6c69f0b579f15c7d
2009-11-02 20:37:40 +01:00
Markus Stange
43e6068ad7 Bug 523323 - Restore the code from bug 312018 that was removed in bug 456646. r=josh
--HG--
extra : rebase_source : bdae0d890eda26a12425937b60ec7b6617f773fb
2009-11-02 20:23:53 +01:00
Markus Stange
e0520f2a3a Bug 517396 - Moving a window shouldn't un-maximize it on Mac. r=neil, r=roc
--HG--
extra : rebase_source : 1a27add4c6dad5495707518b643e9636522bac8a
2009-11-02 20:10:07 +01:00
Markus Stange
d8684bece4 Bug 522217 - Persist window settings like title and titlebarcolor when switching to and from fullscreen mode. r=josh
--HG--
extra : rebase_source : 485a737dadacf66f06981c4b244e82b7dfa9ee45
2009-11-02 20:07:57 +01:00
Brad Lassey
8eae6471c5 bug 514212 - Typed letters in password fields become asterisks immediately r=neil 2009-11-02 10:37:25 -05:00
Karl Tomlinson
c7424c5d9a b=509278 suppress painting while the window is invisible and detect viewability changes through signals r=roc 2009-11-02 15:03:12 +13:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Brian Crowder
1dd0e38f7b Bug 506926 - unable to run reftests on Windows Mobile r=blassey, sr=vlad 2009-10-28 16:51:28 -04:00
Kyle Huey
f5610bb8c9 Mouse wheel scrolling broken with Katmouse enabled - bug 514927 r+a=roc 2009-10-07 00:19:04 -04:00
Jim Mathies
5fbbb84f7f Bug 473045 - Win7 jump list platform support. r=robarnold, sr=roc. 2009-10-06 16:42:45 -05:00
Doug Turner
0ed7a00a68 Bug 520304 - Improve responsiveness of idle service on mobile platforms. r=roc
--HG--
extra : rebase_source : 26978bcc0acc35d6ea0fb6c3f64a9b61aa7065a0
2009-10-06 11:47:46 -07:00
Markus Stange
89014540fd Bug 485118 - Always set the right minimum size for the scrollbar thumb. r=josh
--HG--
extra : rebase_source : 7e80754649ccb2a1d6064d8ee878d37bb248de21
2009-10-06 16:02:50 +13:00
Markus Stange
b110ccf8a7 Bug 438789 - Roll up popups when the window's key state changes. r=josh
--HG--
extra : rebase_source : ec1d9eb82ffe38c3d53c4199435635f1498d52c7
2009-10-06 15:59:23 +13:00
Siddharth Agarwal
685a3bc683 Bug 474060 - Win7 progress indicator platform support. r=jimm, r=robarnold, sr=roc. 2009-10-06 14:00:23 -05:00
Neil Rashbrook
fb26b584a4 Bug 185533 Use native resizing when possible r=jimm,Enn 2009-10-06 17:11:59 +01:00
jhorak@redhat.com
6dd5a51f91 Bug 509671 - Remove icons from buttons due to Gnome changes. r=roc,gavin 2009-10-06 16:20:59 +02:00
Rob Arnold
e8fa6cf1b3 Bustage fix for rev 5d4df2ddcc20 2009-10-05 22:56:54 -04:00
Rob Arnold
50370570e0 Bug 501490 - Enable Taskbar Previews for Windows 7 r=jimm sr=roc 2009-10-05 22:26:54 -04:00
Steven Michaud
3fe0b0b44b Bug 494267: Cmd+A selects all text on page even when a plugin has keyboard focus. r=josh 2009-09-21 16:48:55 -05:00
Robert O'Callahan
56caf25e1b Bug 509693. Don't use SW_SCROLLCHILDREN if some child has a descendant window that's outside the scrolled rectangle. r=jmathies
--HG--
extra : rebase_source : d6762b4e570d90e7a2561597ddc071383a923092
2009-09-24 21:37:01 +12:00
Robert O'Callahan
7fa763ef88 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh
--HG--
extra : rebase_source : 14ebf24d00378e65e75b75692b9d82a020966db1
2009-09-24 21:32:20 +12:00
kantha kanchiraju
c642f8013c Bug 514076 Fennec produces a error report with enable-faststart and Screen rotation. r=dougt. 2009-09-17 17:41:43 -07:00
Benjamin Smedberg
95d0bdfec3 Bug 515949 - nsCOMPtr/nsCOMArray<nsScreenCocoa> is bad because nsScreenCocoa doesn't have an IID, r=josh 2009-09-10 15:05:50 -04:00
Doug Turner
5745b161d2 Bug 511037 - Maemo/OSSO idle service does not work per spec. r=stuart 2009-09-17 10:13:45 -07:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Markus Stange
27a0168804 Bug 516924 - Don't pass our ChildViews to drawWithFrame:inView: when drawing NSCells (e.g. buttons) because that causes Cocoa to think our views have focus rings, so it starts repainting unnecessarily when we invalidate rects near the view boundaries. r=josh 2009-09-17 10:06:16 +12:00
Karl Tomlinson
d76f831195 Bug 506173 don't dispatch activate events from nsIWidget::SetFocus() r=enndeakin
--HG--
extra : rebase_source : 570083f0247e0fc53957aeb4d97456bc4fe3270e
2009-09-16 14:01:09 +12:00
Markus Stange
7ac022ab75 Bug 516324 - Remove nativeWindow method and use -[NSView window] directly. r=josh 2009-09-16 09:56:44 +12:00
Ginn Chen
074dd14819 Bug 513885 Cannot drag&drop multibyte text to GTK+ application r=roc 2009-09-15 15:04:54 +08:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Josh Aas
d069d0092b Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Robert O'Callahan
0b58e82a7e Bug 526882. translateRectsNeedingDisplayInRect isn't exactly what we need so we have to apply it to a larger rectangle than desired, then fix up by invalidating areas that have not been bltted. r=mstange 2009-11-10 14:00:36 +13:00
Josh Aas
e0f7e5b459 Mac OS X, mouse move: Don't add a nativeMsg to an event from widgets that aren't plugin widgets. b=526845 r=smichaud 2009-11-09 18:08:42 -05:00
Steven Michaud
f08610879f Bug 509130 - Crashes [@objc_msgSend | IdleTimerVector ] (OS X) caused by WebKit used by Carbon plugin (DivXBrowserPlugin). r=josh 2009-11-09 10:10:27 -06:00
Josh Aas
e11201548e Add support for scrollwheel events to Cocoa NPAPI. b=519100 r=roc 2009-11-08 16:51:46 -05:00
Masayuki Nakano
9abf0afd73 Bug 519631 nsBidiKeybaord.mm is still using KL APIs r=smontagu+josh 2009-10-16 18:12:09 +09:00
Mark Finkle
026067fc7a Bug 511290: Can't use standard file picker to upload files from user's Maemo File area [r=roc r=ted.mielczarek] 2009-10-15 14:38:10 -04:00
Kyle Huey
20775756a5 Bug 514927: Tweak Trackpoint Driver Detection. r=roc 2009-10-10 16:21:12 -04:00
Steven Michaud
2019c10ca2 Bug 519532 - Null deference in nsMenuItemIconX::OnStopFrame(). r=josh 2009-09-30 14:36:28 -05:00
Wolfgang Rosenauer
a3cb44a1c0 Bug 515639 - respect gtk-alternative-button-order GtkSetting in printing sub dialog. r=karlt 2009-09-11 08:14:13 +02:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Josh Aas
e7f0f0208d Add another 64-bit ifdef to nsChildView.mm. b=513777 r=smichaud 2009-09-08 17:25:55 -04:00
Jesper Kristensen
e1e28e4b74 Bug 513233 - Implement accelerometer support for Windows ThinkPad. r=dougt 2009-09-02 09:56:56 -07:00
Masayuki Nakano
b6a79c108a Bug 513955 Replace KL* APIs to TIS* APIs r=josh 2009-09-08 14:38:42 +09:00
Markus Stange
411161c562 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Markus Stange
b7c2bcf0fa Bug 514648 - Non-resizable windows don't have resizers, even though -[NSWindow showsResizeIndicator] pretends they do. r=josh
--HG--
extra : rebase_source : fa03586a85d48a1ef5dd6db4ac8aecaf81477216
2009-09-08 09:52:59 +12:00
Markus Stange
4ad22e5a56 Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc
--HG--
extra : rebase_source : b69928341cb6402d035fa242dde3c85367d96984
2009-09-08 09:50:22 +12:00
Markus Stange
c85d57a2f7 Bug 514989 - Remove unused OnPaint methods. r=josh
--HG--
extra : rebase_source : becb8d97710a1f13f491689e4a9eba6924f19dca
2009-09-08 09:49:38 +12:00
Markus Stange
484af80d2e Bug 514990 - Remove unused live resize methods. r=josh
--HG--
extra : rebase_source : 2da53fc4120e4648e4080d573d15a40d41f453d8
2009-09-08 09:49:18 +12:00
Markus Stange
8d20e351bb Bug 514991 - Remove unused childViewHasPlugin method. r=josh
--HG--
extra : rebase_source : 1ea5cae0c5fde6feefc69738f9731a09775939a2
2009-09-08 09:48:54 +12:00
Markus Stange
ad388c7623 Bug 514987 - Remove unused nsIWidget::Validate. r=roc
--HG--
extra : rebase_source : c06acb3c5f6608bc2d8667044fbab904668a58b0
2009-09-08 09:48:23 +12:00
Markus Stange
f6a2ce136f Bug 514986 - Remove unused nsChildView::SetBounds. r=josh
--HG--
extra : rebase_source : 38dbfeb2ced68e0f3989604f8464038d6eddea49
2009-09-08 09:47:43 +12:00
Markus Stange
2c52bf82ab Bug 496601 - nsCursorManager's internal state can get out of sync with reality. Detect these situations and set the right cursor. r=josh
--HG--
extra : rebase_source : 4f60fcd9aed56b90463dceb8f093c665e73c6c49
2009-09-08 09:40:10 +12:00
Markus Stange
5be460860c Bug 496601 - Only reset the cursor when crossing window boundaries, not view boundaries. r=josh
--HG--
extra : rebase_source : d8cc3f4c3ba11a603b3c4117ec480bcfbb481832
2009-09-08 09:38:17 +12:00
Wolfgang Rosenauer
2122c8cfd7 Bug 507981 - respect gtk-alternative-button-order GtkSetting for the filechooser. r=karlt 2009-09-05 14:33:02 +02:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Kyle Huey
aa346b4676 Bug 507222. Remove window class detection and implement Trackpoint hack for all window classes. r=roc 2009-09-04 00:22:34 -04:00