6822 Commits

Author SHA1 Message Date
emaijala%kolumbus.fi
7562a4342b Fix for bug 307678 -- Fixing remaining MouseTrailer problems with dialogs.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@182480 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 19:44:31 +00:00
mark%moxienet.com
f29321479f Backing out 111230 to attempt to solve orange on Camino tinderbox. Tp crashes, but MozillaAlive succeeded. Re-added: nsMenuX.cpp nsMenuItemX.cpp nsMenuBarX.cpp; dropped a rev on: nsMenuX.h nsMenuBarX.h Makefile.in; didn't touch: nsMenuX.mm nsMenuItemX.mm nsMenuBarX.mm (new files not referenced by this downrev Makefile)
git-svn-id: svn://10.0.0.236/trunk@182406 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 20:55:52 +00:00
sergei_d%fi.tartu.ee
bcb728d076 [BeOS]bug 312660. fix issue with button-navigation over lists, p=thesuckiestmail, r=sergei_d, BeOS-only
git-svn-id: svn://10.0.0.236/trunk@182396 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 19:41:57 +00:00
joshmoz%gmail.com
ba1d1725d6 New Cocoa-based menu code. Not in working shape yet, but it is NPOB. b=111230 sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@182393 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 18:40:42 +00:00
smfr%smfr.org
9944310c1a Partial fix for bug 312563: avoid crashing because of recursive updates caused by the code that attempts to notify plugins (via a paint) when their widget is removed from the hierarchy. r=mento.
git-svn-id: svn://10.0.0.236/trunk@182362 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 03:17:06 +00:00
sergei_d%fi.tartu.ee
3daccf9203 [BeOS] Bug 312638 -clear warnings in nsWindow, p=sergei_d, r=thesuckiestmail, no sr required
git-svn-id: svn://10.0.0.236/trunk@182342 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 18:51:34 +00:00
sergei_d%fi.tartu.ee
2a592b11bf [BeOS]Bug 312636 - refactoring two getters for faster mouse. p=sergei_d, r=thesuckiestemail. BeOS-only, no sr
git-svn-id: svn://10.0.0.236/trunk@182341 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 18:06:35 +00:00
sergei_d%fi.tartu.ee
8fae2ad3a9 [BeOS]Bug 104729 - adding DnD support. p=thesuckiestemail, r=sergei_d. BeOS-only, no sr
git-svn-id: svn://10.0.0.236/trunk@182336 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 16:32:38 +00:00
cbiesinger%web.de
12b735a895 bug 104729 adding beos-specific drag&drop interfaces
patch by tqh <thesuckiestemail@yahoo.se> r=sergei_d


git-svn-id: svn://10.0.0.236/trunk@182326 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 11:50:45 +00:00
emaijala%kolumbus.fi
365f463f9c Fix for bug 307563: download windows remain in "zombie" status after opening
(and other similar problems).
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@182307 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 09:45:17 +00:00
joshmoz%gmail.com
b8937ae7c5 Carbon menu code cleanup. b=312208 r=bent r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@182276 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 22:44:39 +00:00
sergei_d%fi.tartu.ee
862ac24f91 [BeOS]Bug 311651.Better Move, Resize and Scroll handling implemented. r=thesuckiestemail@yahoo.se. BeOS-only, no sr required
git-svn-id: svn://10.0.0.236/trunk@182259 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 18:41:02 +00:00
mark%moxienet.com
9abd07147b Bug 312364, Arrow key events to plugin also cause page scrolling. Don't leave NSEvent in (nsKeyEvent).nativeMsg when EventRecord is expected; set nativeMsg to EventRecord in more cases for compatibility with Carbon widget. Camino-only. r,sr=smfr
git-svn-id: svn://10.0.0.236/trunk@182241 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 05:15:32 +00:00
smfr%smfr.org
ef2dd90038 Fix bug 308865: allow SpellCatcher X shorthands to work by fixing Cocoa IME to send all key events through -interpretKeyEvents so that input methods get to see them, and filtering out those that Gecko has handled in -doCommandBySelector. r=mento.
git-svn-id: svn://10.0.0.236/trunk@182171 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 17:00:18 +00:00
mark%moxienet.com
0adbddf7a0 Bug 311618, Crash [@ QDFlushPortBuffer]. Replumb the flush manager as an XPCOM service so that other components can cancel scheduled flushes when ports are going away. Away goes trouble down the drain. Camino/koko-widget only. r=pink sr=smfr a/1.8=asa
git-svn-id: svn://10.0.0.236/trunk@182170 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 16:48:16 +00:00
dougt%meer.net
e38eac2580 Missed an ifdef. fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@182167 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 16:03:04 +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
smfr%smfr.org
2bd5264d46 Fix camino bug 311683. The earlier fix for bug 297343 introduced a short delay before the dispatch of focus/activate events on window activation. It turns out that this was bad, as you could end up with two windows which continually each come to the front ("duelling windows"). This patch makes things synchronous again, but fixes the original bug by exposing a category on NSWindow in the widget code that allows the embedder to know if a SetFocus() call is coming as a result of window activation. r=mento
git-svn-id: svn://10.0.0.236/trunk@182094 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 17:38:29 +00:00
smfr%smfr.org
a2c39f688a Fix bug 308471: implement -firstRectForCharacterRange so that the IME inline input window shows up in the correct location. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@181801 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 00:20:27 +00:00
joshmoz%gmail.com
128d89fa49 cocoa widget window cleanup, also adds basic support for showing a menu bar. NPOB. b=111230 r=pinkerton sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181797 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 23:31:45 +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
maxf%magma.ca
49e5aae497 Photon-only changes. These only affect QNX builds, which are not part of
Tinderbox. Fix compile errors introduced by jst%mozilla.jstenback.com
(missing parenthesis) and others.  My QNX email address is mfeil@qnx.com.
r=briane@qnx.com


git-svn-id: svn://10.0.0.236/trunk@181681 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 21:44:17 +00:00
maxf%magma.ca
6d638ad2af Photon-only change. This only affects QNX builds, which are not part of
Tinderbox. The head branch version of Mozilla (& Firefox) was seg faulting
as soon as you used the menu bar. This fix is actually by briane@qnx.com.
I am checking it in and reviewing it. My QNX email address is mfeil@qnx.com.
r=briane@qnx.com


git-svn-id: svn://10.0.0.236/trunk@181673 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 20:15:05 +00:00
mozilla.mano%sent.com
e888407a13 Bug 310894 - Bookmarks Manager: updating the sort direction / method from the View menu doesn't update the view until the columns headers are hovered. r=mento, sr=smfr.
git-svn-id: svn://10.0.0.236/trunk@181489 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 20:01:52 +00:00
mark%moxienet.com
eb3158b10a Bug 304089, maximum window size during resize is too large, windows go offscreen and under the dock. Set maximum bounds carefully. r=mano r=josh sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181285 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 16:24:54 +00:00
smfr%smfr.org
07ed8b209a Widget part of fix for bug 297343: avoid re-entrant -[NSWindow makeKeyAndOrderFront:] calls by postponing the focus and activate calls into Gecko so that they get called the next time through the event loop, when window visibility and key status are correct. This allows embedder code that implements to nsIEmbeddingWindow::SetFocus() to check those and avoid re-entrant/redundant makeKeyAndOrderFront: calls. r=mento. Only affects Camino.
git-svn-id: svn://10.0.0.236/trunk@181252 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 00:59:29 +00:00
mark%moxienet.com
884101e30d Bug 310379, crash [@nsMacEventHandler::Scroll]. Check for !widgetToScroll. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181203 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 17:26:09 +00:00
sergei_d%fi.tartu.ee
0b6f3cdec9 fixing BeOS-build bustage appeared with commiting fix for Bug 310293 fix. BeOS-only
git-svn-id: svn://10.0.0.236/trunk@181155 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 17:12:11 +00:00
sergei_d%fi.tartu.ee
fe449c8947 Bug 310293 fix. Bringing menu popup to current workspace before show() now. r=thesuckiestemail@yahoo.se. BeOS-only, this no sr
git-svn-id: svn://10.0.0.236/trunk@181146 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 15:43:30 +00:00
neil%parkwaycc.co.uk
78e9b67595 Supplementary patch to bug 305384 to fix alerts on GTK1 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181040 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 12:40:37 +00:00
sergei_d%fi.tartu.ee
68682d2694 Bug 129310, Scrolling and related painting rewrite for BeOS widget, r=mailto:thesuckiestemail@yahoo.se, BeOS-only change, no sr required
git-svn-id: svn://10.0.0.236/trunk@180968 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 17:40:54 +00:00
bzbarsky%mit.edu
0c7f8c9136 Fixing the indent.
git-svn-id: svn://10.0.0.236/trunk@180927 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 18:19:18 +00:00
bmlk%gmx.de
37b9a96bee bustage fix, checkin patch as shown in bugzilla
git-svn-id: svn://10.0.0.236/trunk@180926 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 16:49:38 +00:00
bzbarsky%mit.edu
34577cc2b1 Fix bug 114929, finally! Patch by Dan Dickerman <dandickerman@speakeasy.net>,
r=bzbarsky, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@180924 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 15:31:32 +00:00
mark%moxienet.com
ab992aa7cf Bug 301338, sheets prevent their parent windows from updating. Don't clip out top-level windows. r=josh sr=smfr
git-svn-id: svn://10.0.0.236/trunk@180848 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 03:18:38 +00:00
mark%moxienet.com
c4db65b46e Bug 171680, modifier keys have no effect on mouse wheel (Mac). Handle modifier keys for scrollwheel events. Bug 255415, scroll wheel doesn't scroll the right scrollable thing until the mouse is moved. Walk the widget hierarchy to find out what's under the mouse. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@180735 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 04:10:59 +00:00
mark%moxienet.com
8eeb2f9529 Bug 309395, scrollwheel doesn't work in non-toplevel window. Install the scroll event handler on appropriate window types. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@180718 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 00:17:06 +00:00
masayuki%d-toybox.com
34356f5802 Bug 306209 Should fire NS_FOCUSCONTENT event on nsPluginInstanceOwner by clicking plugin's content patch by VYV03354@nifty.ne.jp r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180488 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 09:41:37 +00:00
masayuki%d-toybox.com
d0360729fb Bug 307396 Add IME selection colors and Underline height (nsILookAndFeel) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180465 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 11:34:27 +00:00
masayuki%d-toybox.com
8778d212b5 Bug 207102 Sound preview doesn't work if its path contains non-ASCII string r=amardare+jshin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@180464 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 10:11:38 +00:00
timeless%mozdev.org
cb6d168fcc Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00
joshmoz%gmail.com
d5d4924c23 knock out some unused code in widget/mac. no bug. sr=smfr
git-svn-id: svn://10.0.0.236/trunk@180307 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 19:16:18 +00:00
darin%meer.net
ca84e87e23 fixes bug 257196 "crash on exit after installing incompatible extension [@ moz_gtk_get_widget_border()]" r=bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@180148 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 22:06:41 +00:00
sergei_d%fi.tartu.ee
c9c066688c Bug 296823 [BEOS] nsWindow::SetTitle should check if mView is NULL. r=sergei_d. BeOS-port only, no sr required
git-svn-id: svn://10.0.0.236/trunk@180140 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 20:13:19 +00:00
gerv%gerv.net
2983577643 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@180128 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 18:40:56 +00:00
mkaply%us.ibm.com
95f5b63343 #307086
r=Peter Weilbacher, sr=mkaply (OS/2 only)
Patch from Rich Walsh - OS/2 drag drop is broken


git-svn-id: svn://10.0.0.236/trunk@180110 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 14:50:33 +00:00
cbiesinger%web.de
725b68fa79 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@180018 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 13:01:21 +00:00
cbiesinger%web.de
9ec3e5d788 bug 281298 replace nsIPref with nsIPrefService/nsIPrefBranch in widget
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@180017 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 12:36:11 +00:00
mats.palmgren%bredband.net
a58c670cb3 Make nsHTMLFormatConverter deal with an empty source string. Don't add an URL dataflavor if the source URI is empty. b=303818 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179959 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 11:39:32 +00:00