Commit Graph

1175 Commits

Author SHA1 Message Date
Ere Maijala
7b1baebe99 Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=smaug
sr=roc
2008-08-01 10:32:32 -07:00
Asaf Romano
86d6cde299 Bug 263683 - Findbar's Highlight feature should not manipulate the DOM. Patch by Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk>, r=me,roc. sr=roc. 2008-07-30 23:48:56 +03:00
Masayuki Nakano
fdb1760a4d Bug 447945 IME candidate list is positioned to wrong place when the caret is in <panel> r=roc+katakai, sr=roc 2008-07-31 01:12:49 +09:00
Josh Aas
7e8ea31811 Improve support for DOM manipulation handling in native menu system, add tests. Re-landing with regression fixes. b=442972 r=kreeger sr=roc 2008-07-28 00:46:33 -04:00
Peter Weilbacher
746a80219d [OS/2] Bug 446290: clear print_to_filename after printing to make sure that it's not overwritten next time, r=mkaply 2008-07-27 23:33:01 +00:00
Markus Stange
0666167109 Bug 446463 - DrawWidgetBackground can't snap to pixels properly, remove translation. r+sr=roc. 2008-07-27 18:08:51 +02:00
Honza Bambas
bbcdbbf956 Bug 435220 – Dropping images to Total Commander produces broken image. r=emaijala, sr=roc 2008-08-04 13:00:07 +02:00
dougt@dougt-xubuntu
c602c13ed0 Fixes bugs 446089, 445267. adds a nsIdleService for OSSO and exposes osso functionality. This is a linux only change. r=stuart 2008-07-25 14:34:30 -07:00
Robert O'Callahan
1b2c076b05 Back out bug 442972 to fix DOM Inspector (bug 447042). 2008-07-25 16:32:41 +12:00
Karl Tomlinson
d8c5181f96 rounding changes in nsNativeThemeGTK::DrawWidgetBackground,
rename aClipRect to aDirtyRect in nsITheme::DrawWidgetBackground. b=444837 r=roc
2008-07-25 11:01:59 +12:00
Ted Mielczarek
0e47e48493 merge to backout bug 112294 2008-07-23 08:51:30 -04:00
Ted Mielczarek
fc1a1ddc29 Backed out changeset ed4c2de9fa70 from bug 112294 - failing unit tests 2008-07-23 08:50:22 -04:00
Ere Maijala
b900715bbc Merge commit for bug 112294 2008-07-23 10:32:44 +03:00
Ere Maijala
66d83e564f Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=neil/smaug
sr=roc
2008-07-23 10:26:24 +03:00
Peter Weilbacher
7b6b401274 Bug 258136: Long HTML page takes very long to load on OS/2. r=mkaply
Fixing an old typo to make OS/2 load long pages up to 10 times as fast! :-)
2008-07-23 08:56:10 +02:00
Josh Aas
cb75d58ea5 improve support for DOM manipulations in native menu system, add tests. b=442972 r=kreeger sr=roc 2008-07-21 00:33:38 -04:00
Rob Arnold
5e8603a7ad Bug 446238 - broken rendering of menus on WinXP r=vlad 2008-07-21 12:55:31 -07:00
Josh Aas
2e0ff6bd92 fix license comments and a misspelling. r/sr=sparky the wonder dog 2008-07-21 09:26:34 -04:00
Peter Weilbacher
af6a7934d6 No Bug: whitespace changes to test Mercurial operation on OS/2. 2008-07-17 23:15:06 +00:00
Kai Liu
1dc4109902 Incorrect display of right-to-left menus in Vista - bug 403458 r+sr=vlad 2008-07-18 13:55:25 -07:00
Kai Liu
21b5eb835f Native Windows theme supports needs ot be able to handle mirrored RTL drawing - bug 441452 r+sr=vlad 2008-07-18 13:50:21 -07:00
Josh Aas
4a561956f4 fix crash in nsMenuX::OnCreate(). b=443455 r=smichaud sr=roc 2008-07-18 13:38:03 -04:00
Rob Campbell
5fe3e48ff4 revert nsMenuBarX.mm 2008-07-18 11:35:13 -03:00
Rob Campbell
db6eb060a7 bug 436540 - BookmarksMenu items from distribution.ini do not get added to Bookmarks Menu, p=me, r=gavin+thunder 2008-07-18 11:00:41 -03:00
Shawn Wilsher
8380e170be merge to mozilla-central tip after backout (for bug 445838). 2008-07-17 18:18:40 -04:00
Shawn Wilsher
28a7768281 Backed out changeset e05e892261a8 (bug 444005) because it caused bug 445838. 2008-07-17 18:18:07 -04:00
Rob Arnold
fb12cedc2c Centralize win32 theme implementation - bug 444013 r=vlad 2008-07-17 10:19:10 -07:00
Rob Arnold
e8fa545b62 Disable double buffering when Vista compositor is enabled - bug 444005 r=vlad 2008-07-17 10:10:57 -07:00
Rob Arnold
b2d0fd4359 Cleanup unused transparency code in nsWindow.cpp - Bug 444679 r=vlad 2008-07-17 10:09:10 -07:00
Karl Tomlinson
333c18ab53 cairo_draw_with_xlib should provide a non-NULL visual to callback. b=445250 r=vlad 2008-07-17 13:22:50 +12:00
Steven Michaud
fd36b5d353 Crash while doing Flash IME. b=443024 r=josh,masayuki sr=vladimir 2008-07-14 09:38:49 -05:00
Blake Kaplan
f021099059 Make cocoa's nsSound implementation implement all needed interfaces. bug 444113, r=josh sr=roc 2008-07-14 15:04:24 +02:00
Sylvain Pasche
b577981531 Take non-Xinerama codepath when Xinerama reports only one screen. (Bug 403706) r=dbaron sr=roc 2008-07-13 20:20:33 -07:00
L. David Baron
20f6889807 Do reinitialization of screen info at the screen manager level, so we get it for the xinerama codepath too. (Bug 403706) r+sr=roc 2008-07-13 20:20:30 -07:00
L. David Baron
e8500a84b7 Don't leak the result of PR_LoadLibrary for the xinerama library. (Bug 403706) r+sr=roc 2008-07-13 20:20:27 -07:00
L. David Baron
4b9cb8c69c Remove mNumScreens since it duplicates the length of mCachedScreenArray. (Bug 403706) r+sr=roc 2008-07-13 20:20:24 -07:00
L. David Baron
0641e7f69f Convert nsScreenManagerGtk from nsISupportsArray to nsCOMArray. (Bug 403706) r+sr=roc 2008-07-13 20:20:21 -07:00
Jim Chen
64e29d83ed Bug 444772. Remove unused nsIKBStateControl. r+sr=roc 2008-07-14 14:56:54 +12:00
Jim Chen
e043b3bba2 Bug 444772. Merge nsIKBStateControl into nsIWidget. r+sr=roc 2008-07-14 14:56:18 +12:00
Markus Stange
2f5d970665 Bug 432131 – [10.4] Slight delay / flash / lag when window loses focus. r=josh, sr=roc 2008-07-12 11:38:41 +02:00
Kai Liu
1804b39293 Bug 437009 – buttons with type="radio" or type="checkbox" render with the incorrect state when checked. r+sr=vlad 2008-07-12 11:15:07 +02:00
Kai Liu
fe45f46fd8 Bug 441034 – Unfocused <select> arrow-button has transparent background. r=vlad 2008-07-12 11:08:23 +02:00
Jesse Ruderman
153bd40e45 Remove extra semicolon (bug 443756). Patch reviewed by Peter Weilbacher. 2008-07-11 14:34:05 -07:00
Ryan A. C.
40017f1b0e Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C.
d28cd96e68 Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C.
8fa9043b87 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Karl Tomlinson
60a584dc2e Comments for Bug 432389 – CapsLock and NumLock state should be preferred at KeyTranslate.
r=josh sr=roc
2008-07-08 14:19:56 +12:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
"Brad Lassey"
c5625a650e changes to honor the disable printing flag b=362455 r=roc sr=roc 2008-07-02 12:35:31 -04:00
Mats Palmgren
f9a27731f5 Clamp window width to twice the X screen width (ditto for height). b=409006 r+sr=roc 2008-07-02 13:09:15 +02:00
Steven Michaud
26b34f29c3 IME doesn't work in Flash with Cocoa build (fix broken handing of key-up events, see bug 434914). b=357670 r=josh sr=roc 2008-06-30 11:30:22 -05:00
Mats Palmgren
b70c9931b1 Don't use the surface if there was an error creating it. b=441995 r+sr=roc 2008-06-28 23:45:53 +02:00
Josh Aas
06b4d2563f Re-landing. Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-28 03:55:30 -04:00
Steven Michaud
9e771cdffe Keyboard shortcuts sometimes fail. b=428405 r=josh sr=roc 2008-06-27 15:48:03 -05:00
Steven Michaud
9b6875c0e4 Left-clicking on Customize Toolbar popup doesn't give app focus to Firefox. b=434097 r=josh sr=roc 2008-06-27 15:31:54 -05:00
Steven Michaud
7d0f9cac85 Crash when closing pop-under window without focusing it. b=433644 r=josh sr=roc 2008-06-27 12:11:24 -05:00
Josh Aas
ca07faa2b5 back out 433952 2008-06-27 02:52:18 -04:00
Josh Aas
b070082f3a bustage fix for bug 433952 landing 2008-06-27 01:22:22 -04:00
Josh Aas
db2e70c148 Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-27 00:14:45 -04:00
Michael Ventnor
fc2e1b57c0 Bug 118308, NS_THEME_TEXTFIELD_CARET implementation (GTK), r+sr=roc 2008-06-23 11:50:52 +03:00
Michael Ventnor
18e638d642 Bug 440112, Form elements are not hidden behind overlapping parent with overflow:hidden, r+sr=roc 2008-06-23 11:30:07 +03:00
Bo Yang
02c5d88928 Bug 439603 - scope a case statement to avoid an unusual error during cross-compiling, r=roc 2008-06-19 14:32:52 -04:00
Bo Yang
3e58f95254 Bug 439593 - compile error in mingw casting HKL to DWORD, r=roc 2008-06-19 10:32:04 -04:00
Bo Yang
618165711b Bug 439593 - GCC can't convert types automatically when cross-compiling, r=roc 2008-06-19 10:24:30 -04:00
Michael Ventnor
969bf6f3a7 Bug 376238: drag feedback should be transparent on gtk. r+sr=roc 2008-06-18 10:20:29 +01:00
Reed Loden
738d324e54 Back out Ventron's patch in bug 376238 due to test failures. 2008-06-17 00:55:04 -07:00
Michael Ventnor
41defd3c5d Bug 376238 - "drag feedback should be transparent on gtk" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc] 2008-06-16 23:15:40 -07:00
Kai Liu
8e4a71f571 Bug 439274: NS_THEME_SCROLLBAR_GRIPPER_* should get its state from its parent, r+sr=roc 2008-06-15 21:32:15 -04:00
Olli Pettay
2208759f20 Bug 412567, Once dispatched, events cannot be redispatched, r+sr=jst 2008-06-04 23:09:48 +03:00
dtownsend@oxymoronical.com
b0f98374b8 Backout of bug 357670 due to bug 434914. a=shaver 2008-05-30 07:32:43 -07:00
mats.palmgren@bredband.net
3bab7211d9 Bail out if DispatchWindowEvent() causes this widget to be destroyed. b=433432 r=joshmoz sr=roc a1.9=beltzner 2008-05-26 15:30:46 -07:00
mozilla@weilbacher.org
a63015acab [OS/2] Bug 435010: fix printing to PDF 2008-05-24 09:21:54 -07:00
mozilla@weilbacher.org
2d5ab55e51 [OS/2] Bug 415522: print to a PDF file on the Desktop as a workaround for crashing during printing 2008-05-24 09:18:27 -07:00
karlt+@karlt.net
2ecdda8378 Bug 433192. Ctrl+Shift+X doesn't switch text-direction in text boxes with Hebrew keyboard layout. p=masayuki+karl r=gavin sr=roc a1.9=schrep. 2008-05-11 17:39:29 -07:00
karlt+@karlt.net
2533320992 Bug 432533 - some mac key tests fail on Mac OS X 10.5 p=kinetik@flim.org (Matthew Gregan) r=josh sr=roc a1.9=damons 2008-05-09 16:14:57 -07:00
karlt+@karlt.net
28700bd6be Bug 433030. Desired character codes for DOM events with Cmd+Shift. p=masayuki+karl r=josh sr=roc a=discore. 2008-05-09 16:10:40 -07:00
joshmoz@gmail.com
45d864381f back out bug 54488 due to Ts regression. a=schrep 2008-05-09 11:12:39 -07:00
gavin@gavinsharp.com
56df672277 Fix mistake in previous nit fix from bug 432389 2008-05-08 18:58:17 -07:00
gavin@gavinsharp.com
ae5c727a04 Fix nit from previous checkin for bug 432389 2008-05-08 18:56:36 -07:00
gavin@gavinsharp.com
9c3fdff876 Bug 432389 followup: refactor code to make it more understandable, patch by Karl Tomlinson <mozbugz@karlt.net>, r=roc, a=schrep 2008-05-08 18:51:46 -07:00
gavin@gavinsharp.com
ce1a2179c3 Bug 332314: Menu items are improperly aligned when using iconic menuitems, patch by Kai Liu <kliu@mozilla.kailiu.com>, r=me, r=zeniko, r=roc, a=damon 2008-05-08 17:18:46 -07:00
masayuki@d-toybox.com
f1a9486eb3 Bug 432389 CapsLock and NumLock state should be preferred at KeyTranslate code: r=josh+karl, sr=roc, a=dsicore tests: r+sr=roc 2008-05-08 17:01:29 -07:00
joshmoz@gmail.com
097792efac add tests, patch by roc, b=432773 r=josh 2008-05-08 15:41:13 -07:00
joshmoz@gmail.com
6ad1d99cd3 Use different key translation API on 10.5, what worked on 10.4 is garbage on 10.5. Fixes some key combos on non-US keyboard layouts. Patch by Karl, Josh, and Roc. b=432632 r=karl r=josh sr=roc a=dsicore 2008-05-08 15:03:46 -07:00
gavin@gavinsharp.com
2354156af3 Bug 427173: fix massive tooltips after switching OS themes by making sure we release the right theme handle, patch by Kai Liu <kliu@mozilla.kailiu.com>, r+sr=roc, a=schrep 2008-05-08 08:17:23 -07:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
joshmoz@gmail.com
b7b99f9181 make widgets appear inactive when they are backgrounded. patch by Markus Stange. b=54488 r=josh sr=roc a=schrep 2008-05-07 15:22:33 -07:00
joshmoz@gmail.com
aad8b1e423 key translation fixes, patch by Masayuki. b=432388 r=josh r=karl sr=roc a=schrep 2008-05-07 14:54:21 -07:00
joshmoz@gmail.com
5994730265 fix active/inactive for sheets that are children of sheets. patch by Steven Michaud. b=432212 r=josh sr=roc a=schrep 2008-05-07 14:15:57 -07:00
joshmoz@gmail.com
dcf90d5df8 null check. patch by Steven Michaud. b=432556 r=josh sr=roc a=schrep 2008-05-07 14:13:01 -07:00
roc+@cs.cmu.edu
aee401973e Bug 432466, fixing bustage 2008-05-06 22:17:40 -07:00
roc+@cs.cmu.edu
f4e6581a24 Bug 432466. Allow sendNativeKeyEvent to return NS_ERROR_NOT_AVAILABLE to indicate that a keyboard layout is not available. Load keyboard layouts programmatically on Windows so we can detect whether a keyboard is available. This also makes keyboard layouts usable when they're installed but not enabled, which is true for most layouts, so we can reenable the Greek keyboard tests on tinderbox. r=karlt,a=beltzner 2008-05-06 21:46:37 -07:00
joshmoz@gmail.com
76d0947d40 use native event routing for synthesized key events. b=432405 r/sr=roc a=dsicore 2008-05-06 14:00:59 -07:00
Oleg Romashin
4cafc118a7 Fixed Qt scrollbars rendering
p=Pekka Vanhoja
2008-05-06 16:41:32 +03:00
roc+@cs.cmu.edu
ef158127f2 Fixing bustage 2008-05-06 00:33:08 -07:00
masayuki@d-toybox.com
94c0900f7e Bug 429510 Web apps cannot handle Ctrl+foo/Alt+foo key on keypress event, gtk2 part r=karl, sr=roc, a=beltzner 2008-05-05 21:11:52 -07:00
roc+@cs.cmu.edu
a8b6ad644f disabling failing (new) tests 2008-05-05 17:07:19 -07:00
roc+@cs.cmu.edu
4687db17c6 Reverting unwanted changes 2008-05-05 16:44:18 -07:00
roc+@cs.cmu.edu
9288922808 Reverting unwanted changes 2008-05-05 16:20:39 -07:00
roc+@cs.cmu.edu
3649ce18bb Bug 431503. Infrastructure and tests for native key event translation. r=josh,karlt,sr=jst 2008-05-05 16:01:07 -07:00
mozilla@weilbacher.org
92e1000067 [OS/2] Bug 400329: work around hover position mismatch after scrolling on pages with iframes, r=mkaply 2008-05-02 13:49:18 -07:00
bent.mozilla@gmail.com
c82f074a18 Bug 431475 - "KeyEquivDBItem shouldn't use NSMutableIndexSet". Patch by me and Josh Aas <joshmoz@gmail.com>. r=smichaud, sr=vlad, a=mconnor. 2008-05-02 11:35:04 -07:00
roc+@cs.cmu.edu
38e56fa13d Bug 406730. Track window activation status and set an 'active' attribute on the XUL root so we can style window contents based on activation status. Also provide active+inactive colors to Cocoa chrome drawing and use them based on 'main' state. Patch by Markus Strange, r=josh,sr=roc,a=mconnor 2008-05-02 04:32:50 -07:00
roc+@cs.cmu.edu
511fa9f073 Bug 428071. Tie NS_ACTIVATE/NS_DEACTIVE state to a window's 'main' status. patch by Markus Stange and Stephen Michaud, r=josh,r=mstange,sr=roc,a=mconnor. God have mercy on us all 2008-05-02 03:40:49 -07:00
masayuki@d-toybox.com
27c26767fa Bug 431468 Using right alt key in keyboard shortcuts has no effect r=ere, sr=roc, a=dsicore 2008-05-01 21:32:28 -07:00
masayuki@d-toybox.com
e8663dd2e6 Bug 430499 [10.5] Can't switch tabs with CTRL + Tab r=josh, sr=vlad, a=dsicore 2008-05-01 21:30:38 -07:00
mozilla@weilbacher.org
8fb2f5a969 [OS/2] Bug 410398: fix autoscroll behavior on trunk, r=wuno 2008-05-01 14:49:19 -07:00
smichaud@pobox.com
ebfb75f423 App focus wierdness with sheets. b=431429 r=josh sr=roc a=dsicore 2008-05-01 08:50:23 -07:00
dholbert@cs.stanford.edu
711642f224 Bug 431190: Make Linux print dialog & page setup dialog modal. r+sr=vlad a=damons 2008-04-30 23:43:04 -07:00
karlt+@karlt.net
73bc4489e6 Bug 431478 - alternativeCharCodes should depend on CapsLock/NumLock state r=masayuki sr=roc a1.9=damons 2008-04-30 16:14:01 -07:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
masayuki@d-toybox.com
0581c0c67e Bug 429510 Web apps cannot handle Ctrl+foo/Alt+foo key on keypress event (windows part) r=karl, sr=roc, a=dsicore 2008-04-29 21:12:15 -07:00
smichaud@pobox.com
9aee01f688 Crash on exit when some extensions' prefs windows are key. b=430506 r=josh sr=roc a=dsicore 2008-04-29 17:35:50 -07:00
gavin@gavinsharp.com
ad88cb3f80 Revert accidental checkin 2008-04-29 13:18:11 -07:00
gavin@gavinsharp.com
683239c0ce Bustage fix for bug 427045 2008-04-29 13:17:21 -07:00
gavin@gavinsharp.com
651c262512 Bug 427045: Pull out correct toolbar colors in Vista themes, patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-04-29 12:27:23 -07:00
smichaud@pobox.com
22341442e4 Followup cosmetic fix for patch for bug 426499 (code neutral). b=426499 r=josh 2008-04-29 09:04:25 -07:00
masayuki@d-toybox.com
c4c3872112 Bug 430650 '^' and 'N' chars don't work in password fields r=roc+katakai, sr=roc, a=beltzner 2008-04-29 08:31:51 -07:00
Oleg Romashin
8b30931910 Disabled force repainting of whole widget area on each scroll event 2008-04-29 17:54:13 +03:00
Oleg Romashin
6752440e00 Disable GTK related hack from QT native themes 2008-04-29 13:24:51 +03:00
Oleg Romashin
f7ba5663c6 Disabled Native Theme for styled widgets
Probably fixed performance issue on dhtml benchmark
2008-04-29 11:03:54 +03:00
romaxa@microb.research.nokia.com
152ea5887e Remove QT_XLIB_SURFACE support (cairo-xlib drawing on QT-widget) 2008-04-29 07:42:08 +03:00
Vladimir Vukicevic
1adf3e02b3 [qt] Don't recreate the surface returned by nsWindow::ThebesSurface() 2008-04-28 18:16:45 -07:00
Vladimir Vukicevic
ede6009659 Get rid of unnecessary printfs 2008-04-28 18:16:23 -07:00
Vladimir Vukicevic
b8dc499b49 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
joshmoz@gmail.com
f2e6650a01 make key equivs work when a plugin has focus on Mac OS X. b=428047 r=smichaud sr=roc a=mconnor 2008-04-28 10:43:34 -07:00
gavin@gavinsharp.com
7e8164620a Bug 428792: expanders cause 'unsupported widget' warning, patch by Ian Spence <ispence@gmail.com>, r+sr=roc, a=beltzner 2008-04-28 03:06:56 -07:00
vladimir@pobox.com
b58a1af929 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
masayuki@d-toybox.com
acc59dacc6 Bug 430419 Command-Option-F does not select search box #2 r=josh, sr=roc, a=dsicore 2008-04-25 11:32:45 -07:00
mats.palmgren@bredband.net
123dfed7dc Add error handling for invalid filename. b=429707 r+sr=roc a1.9=beltzner 2008-04-25 03:48:57 -07:00
smichaud@pobox.com
e34b1eaf87 Disable OS-level menu reindexing on OS X 10.5 and higher (to avoid crashes and other problems opening the Help menu). b=426499 r=josh sr=roc a=beltzner 2008-04-24 08:30:20 -07:00
roc+@cs.cmu.edu
3047d1cf87 Bug 429188. Support CSS colors for 'odd tree row' and 'even tree row' on all platforms. patch by stefanh@inbox.com, r+sr=roc,r=gavin,a=beltzner 2008-04-24 01:08:33 -07:00
gavin@gavinsharp.com
453de7180a Bug 277067: Mozilla mistimes changing QuickDraw plugin visibility when switching tabs, patch by patch by Matthew Gregan <kinetik@flim.org>, r=josh, sr=roc, a=damon 2008-04-23 15:56:40 -07:00
gavin@gavinsharp.com
16dc70b7b4 Bug 428680: Sometimes, the document node is the event target for mousemove events now, patch by Matthew Gregan <kinetik@flim.org>, r=smaug, sr=roc, a=damon 2008-04-23 15:51:27 -07:00
reed@reedloden.com
9de7289a0b Bug 430434 - "dropdown button on menulists in Vista chrome should not have a hover state" (always assume normal state if vista & not content) [p=beltzner@mozilla.com (Mike Beltzner) r+a1.9=vlad] 2008-04-23 14:01:16 -07:00
smichaud@pobox.com
1c40d9521f "Default browser" or proxy auth dialog (sheet) appears mostly off-screen. b=424266 r=josh sr=roc a=dsicore 2008-04-23 09:08:00 -07:00
pevanhoj@pevanhoj-laptop
7380654d24 Fix for clipboard pasting 2008-04-23 15:56:43 +03:00
blassey@vmware-ubuntu
1ab320036f nsAppShell wasn't returning the right value for processNextNativeEvent, now it uses the return value of QAbstractEventDispatcher to return true if and event was processed 2008-04-23 03:04:55 -04:00
masayuki@d-toybox.com
8b10e86aa0 Bug 423814 [10.5] Cannot change the input modes with Kotoeri By Ctrl+Shift+k/Ctrl+Shift+j/Ctrl+Shift+; r=josh, sr=vlad, a1.9=beltzner 2008-04-22 20:41:50 -07:00
mozilla@weilbacher.org
f77b978a30 [OS/2] Bug 430345: Small OS/2 widget cleanup following other platforms, r=mkaply 2008-04-22 14:43:44 -07:00
Stuart Parmenter
2fada2cbb3 use glib directly for event handling until we can get support for processing single events from Qt 2008-04-22 13:05:03 -07:00
gavin@gavinsharp.com
ecc486e8d1 Bug 430212: not enough padding on textbox and textarea widgets on Vista, patch by Mike Beltzner <beltzner@mozilla.com>, r+a=vlad 2008-04-22 12:56:10 -07:00
gavin@gavinsharp.com
88ecf98ca7 Bug 429791: SPI_GETFLATMENU does not fail on Windows 2000 and can even return TRUE, patch by Kai Liu <kliu.bugzilla.3c9f@mail.kailiu.com>, r=vlad, sr=roc, a=beltzner 2008-04-22 09:57:36 -07:00
gavin@gavinsharp.com
dcc4a0e331 Bug 429176: :-moz-system-metric(windows-default-theme) should treat Royale and Zune the same as Luna, patch by Kai Liu <kliu.bugzilla.3c9f@mail.kailiu.com>, r+sr=roc, a=beltzner 2008-04-22 09:54:51 -07:00
pevanhoj@pevanhoj-laptop
75c21688b9 Make nsAppShell compile with Qt 4.3 2008-04-22 16:51:40 +03:00
Oleg Romashin
2c3bcf7537 Fixed linking with X11 library 2008-04-22 16:42:22 +03:00
Vladimir Vukicevic
c4af53f54b [qt] fix up AppShell to use postEvent 2008-04-22 05:20:42 -07:00
Vladimir Vukicevic
46848b804e [qt] Get rid of mCreated; rename nsWindow event handlers to sync with Qt names 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
a3cdfb9d2f [qt] remove NativeResize, NativeCreate, NativeShow 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
1d65a1a7f8 [qt] rename mDrawingarea -> mDrawingArea 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
bdcd3c8c57 [qt] Remove old Gtk-style transparency cruft 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
389b66ca86 [qt] Get rid of nsCommonWidget; dump everything into nsWindow 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
9508697b3b [qt theme] Use GetRect() not GetContentRect() in NativeThemeQt
Neither one is correct, but GetRect() happens to work since it's inlined and just
returns a local member.  GetContentRect isn't available since it's a function
defined in gklayout, and widget does not link to layout.  (It happens to work in
libxul builds due to the way libxul is linked, but it shouldn't be used.)
2008-04-22 04:18:32 -07:00
Oleg Romashin
c3a42e1753 branch merge 2008-04-22 14:14:46 +03:00
Oleg Romashin
68c8a6f9b9 Different approach for nsAppshel implementation, based on normal QObject signal 2008-04-22 14:12:52 +03:00
pevanhoj@pevanhoj-laptop
95d68cd4d0 Fix for native theme dropdown f 2008-04-22 12:34:31 +03:00
pevanhoj@pevanhoj-laptop
7d196e0c8c Fix for dropdown focus drawing 2008-04-22 12:33:33 +03:00
masayuki@d-toybox.com
a9eb1b612d Bug 411875 Kotoeri (Japanese IM) crashes when using Firefox on Mac OS X (10.5.*) r=josh, sr=roc, a1.9=beltzner 2008-04-21 20:30:45 -07:00
dholbert@cs.stanford.edu
7e014b1722 Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.) 2008-04-21 18:18:26 -07:00
pevanhoj@pevanhoj-laptop
ec0e4a5903 Native theming update for scrollbars 2008-04-21 17:48:12 +03:00
peaho@peaho-laptop-linux
599c1b0a1e fix for dropdown min size
ddd
2008-04-21 14:20:32 +03:00
Vladimir Vukicevic
a0bddab33f Comment out X11-specific code to enable Qt Embedded builds 2008-04-20 06:54:27 -07:00
Vladimir Vukicevic
fb6ae72267 Get rid of debug code that uses Qt 4.4 symbols 2008-04-20 01:51:35 -07:00
Vladimir Vukicevic
a8b0f696f7 [qt] Use Qt for double buffering; let Qt handle events that Gecko doesn't want
In particular, the Update event needs to be passed to QWidget::event so that
a Paint event is generated and we can actually do the painting.
2008-04-20 01:37:07 -07:00
vladimir@pobox.com
5b4f07a7fa backing out 2008-04-20 01:24:42 -07:00
vlad
a362c2fd57 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-20 11:16:40 +03:00
vladimir@pobox.com
1cc55575d3 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
romaxa@romaxa.research.nokia.com
41aeedbe96 Fixed missing changes for gfxQtPlatform rename 2008-04-19 20:21:53 +03:00
pekka.vanhoja
8a971971de Fixed textfield rendering in nsNativeThemeQt 2008-04-19 19:10:05 +03:00
pekka.vanhoja
b693c61dfa Fixed textfield rendering in nsNativeThemeQt 2008-04-19 19:10:01 +03:00
pekka.vanhoja
53f3adc289 Updated nsLookAndFeel - modified couple colors, added few *_moz_* colors 2008-04-19 19:09:56 +03:00
romashin
828528e3fd Fixed qt version define 2008-04-19 19:07:34 +03:00
pekka.vanhoja
e6ce1a8872 Fixed misc nsNativeThemeQt rendering 2008-04-19 19:07:29 +03:00
pekka.vanhoja
3855021748 Updated nsLookAndFeel implementation - updated some of the native colors, make it compile also with Qt 4.3 2008-04-19 19:07:20 +03:00
pekka.vanhoja
2e20a5b4a3 Updated nsLookAndFeel implementation - updated some of the native colors 2008-04-19 19:07:15 +03:00
pekka.vanhoja
9c0950966f Updated nsLookAndFeel implementation - button hover works, corrected some of the native colors 2008-04-19 19:07:10 +03:00
pekka.aho
26bee9acc0 native theme zooming fix 2008-04-19 19:06:26 +03:00
pekka.vanhoja
d34c1159b7 Updated nsLookAndFeel implementation 2008-04-19 19:04:37 +03:00
pekka.vanhoja
2c0d2997a0 Started nsLookAndFeel implementation 2008-04-19 19:04:22 +03:00
tero.turtiainen
36934c1a7a Commented out some qDebug spam 2008-04-19 19:03:58 +03:00
vlad
669f03c6b8 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romaxa@romaxa.research.nokia.com
e84ddd7185 Remove files added by mistake 2008-04-19 18:56:33 +03:00
tero.turtiainen
e5d1e0d68d Added small checkbox 2008-04-19 18:53:54 +03:00
tero.turtiainen
4bd05430d7 Multiline text field added 2008-04-19 18:53:50 +03:00
romashin
c1c8d1f195 Make optional compilation with Qt cairo-xlib surface (for comparing and bugfixing)
DEFINE QT_XLIB_SURFACE
2008-04-19 18:53:46 +03:00
romashin
367bb0b786 No qt3 support 2008-04-19 18:53:41 +03:00
tero.turtiainen
26654140af Fixed a merge error 2008-04-19 18:53:32 +03:00
tero.turtiainen
86cff9cae4 Updated scrollbars in nsNativeThemeQt 2008-04-19 18:53:28 +03:00
pekka.vanhoja
b45b823a1b Updated nsNativeThemeQt 2008-04-19 18:53:24 +03:00
piia.ruokonen
5c5b9b8ff2 FilePicker implementation 2008-04-19 18:44:21 +03:00
pekka.vanhoja
83192b3ebd Updates to nsNativeThemeQt - draws scrollbar up button 2008-04-19 18:44:16 +03:00
tero.turtiainen
a25cb0598a Removed some useless qDebugs 2008-04-19 18:44:12 +03:00
pekka.vanhoja
bd2acb212b Updates to nsNativeThemeQt - draws radio buttons 2008-04-19 18:44:07 +03:00
pekka.vanhoja
41bfde187f Updates to nsNativeThemeQt - draws line edit and buttons 2008-04-19 18:44:03 +03:00
tero.turtiainen
42a20ad066 Some updates to allow drag&dropping to browser window 2008-04-19 18:43:56 +03:00
pekka.vanhoja
a80aeac131 Added initial version for nsNativeThemeQt - uncomment from nsWidgetFactory components[] to enable it 2008-04-19 18:43:48 +03:00
romashin
687bcca1da Disable directo drawing on X11 screen 2008-04-19 18:43:44 +03:00
pekka.aho
c68de0da1a Sound widget implementation 2008-04-19 18:43:36 +03:00
tero.turtiainen
b731d85945 Dragging from browser implemented 2008-04-19 18:43:32 +03:00