Commit Graph

237 Commits

Author SHA1 Message Date
joshmoz%gmail.com
26d2aae6de don't play sound during GetAttention. b=307323 r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@179890 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:58:46 +00:00
masayuki%d-toybox.com
0c2ffc505d Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 14:32:09 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
masayuki%d-toybox.com
8265a09ab3 backing out previous my check-in b=276727
git-svn-id: svn://10.0.0.236/trunk@178162 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 14:53:14 +00:00
masayuki%d-toybox.com
76b018712e Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178008 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 04:09:13 +00:00
joshmoz%gmail.com
6b0c23ad37 change assertions to warnings. b=291096 r=pinkerton sr=smfr a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176824 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 23:51:21 +00:00
smfr%smfr.org
0b2a03f004 Fix bug 301807: sometimes on launch the tab bar would not be drawn, because the Mac widget code lost invalidates that happened during paints. Now we make sure not to clobber the WindowPtr's updateRgn after painting, so that those invalidates get drawn the next time. r=mento, jhpedemonte, sr=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176785 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 18:00:16 +00:00
smfr%smfr.org
f83c73b250 Fix bug 289973: white patches in XUL menus. This happened because the window was being resized inside an update, so that the window's new visRgn from SizeWindow was being clobbered by the later EndUpdate(). Fixed by breaking out of BeginUpdate/EndUpdate around the SizeWindow. This also required us to move all update handling to the Carbon Event handler (that was only being used for sheets). r=mento, r=jhpedemonte, sr=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176338 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 18:24:09 +00:00
smfr%smfr.org
9f5907d156 Fix bug 289353: bad drawing on scrolling, if the scrolled area is not rectangular (e.g. page with abs-positioned divs). The synchronous update was messing with the window state so that later drawing was incorrectly clipped. Fixed by using an asycnchronous invalidate. r=mento, r=jhpedemonte, sr=me, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@176336 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 17:41:56 +00:00
smfr%smfr.org
e01ddec624 Fix bug 292914: if scrolling up more than 32767 pixels, window didn't refresh. Fix by just manually invalidating if scrolling will redraw the entire scrolled area. r=joshmoz, sr=jhpedemonte, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176275 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:21:21 +00:00
mark%moxienet.com
adb234b084 Bug 298677, Mac Carbon scrollbars draw in the wrong location and jump out from under the mouse since CFRunLoopSource (bug 282940). Be more careful about restoring the QD origin. Obsoletes and backs out an earlier partial fix, cleaning up bug 300058, drawing artifacts in scrollbars. r=pinkerton sr=smfr a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176113 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 22:48:34 +00:00
mark%moxienet.com
e70d7aa72f Bug 299384, Crash in Mac Carbon nsNativeScrollbar::DoScrollAction when using the scrollbar while reloading since 282940. Handle Destroy() when the page is going away. r=josh sr=smfr a=asa
git-svn-id: svn://10.0.0.236/trunk@175546 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-03 05:44:08 +00:00
mozilla.mano%sent.com
224e8e9d75 Bug 298430 - drop support for Mac OS X 10.1. First part: code cleanup. r=josh, sr=darin, a=shaver
git-svn-id: svn://10.0.0.236/trunk@175028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:59:03 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
smfr%smfr.org
d96dc1f2b2 Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from widget. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
git-svn-id: svn://10.0.0.236/trunk@168451 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 17:59:37 +00:00
timeless%mozdev.org
722fa27132 Bug 269925 /Users/timeless/mozilla/widget/src/mac/nsWindow.cpp: warning: Boolean control_key_down()' and long long int microseconds()' defined but not used
r=pedemonte sr=bz


git-svn-id: svn://10.0.0.236/trunk@165369 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 18:40:53 +00:00
jshin%mailaps.org
2df25b6683 bug 163572 : converted string is inserted every time space key is pressed patch by masayuki@d-toybox.com (r=pinkerton,bryner,amardare,emaijala,sfraser,roc, sr=bryner,sfraser,roc)
git-svn-id: svn://10.0.0.236/trunk@165335 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-13 11:27:09 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
peterv%propagandism.org
3b27d433b4 Fix for bug 257647 (pulldown menus in top-left corner (regression from 223545) on OS X 10.2). r=jhpedemonte, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162491 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 09:16:56 +00:00
jshin%mailaps.org
2b60749067 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
git-svn-id: svn://10.0.0.236/trunk@162153 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 05:00:57 +00:00
mats.palmgren%bredband.net
d304876869 Attempt to fix MacOSX bustage
git-svn-id: svn://10.0.0.236/trunk@162146 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 00:28:52 +00:00
mats.palmgren%bredband.net
d613fa7dee Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@162144 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 23:24:30 +00:00
smontagu%smontagu.org
e23a460903 Backout last checkin because of build bustage
git-svn-id: svn://10.0.0.236/trunk@162140 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
eab0baf7ca Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
git-svn-id: svn://10.0.0.236/trunk@162139 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:13:12 +00:00
peterv%propagandism.org
ebd4519973 Fix for bug 223545 (Mac OS X 10.3's expose feature reveals 'hidden' window). r=jhpedemonte, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@161477 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 15:26:18 +00:00
bzbarsky%mit.edu
e43701bf5e Making desperate attempt to reland with a couple crash-proofing changes. Bug
243724, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156783 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu
a25eaed36b Backing out to try and fix mac orange. Bug 243724
git-svn-id: svn://10.0.0.236/trunk@156782 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:04:59 +00:00
bzbarsky%mit.edu
457174619e deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
on a previous-but-similar iteration of the patch).


git-svn-id: svn://10.0.0.236/trunk@156767 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 16:47:13 +00:00
timeless%mozdev.org
2e13e2625b Bug 239132 nsIWidget::SetTitle should use nsAString, not nsString
patch by marco@gnome.org r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@155093 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 23:18:23 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
tor%cs.brown.edu
b93772cbd4 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155065 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:55:11 +00:00
ben%bengoodger.com
6494975f04 227796 - XPInstall InstallTrigger API changes - add a parameter to the install js object that supports an icon, also make the install FE parameterizable via a pref. r=bsmedberg, dveditz.
230768 - add the ability to make a window flash only a certain number of times in the taskbar. dom stuff r/sr=jst, widget changes r=danm, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152640 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 03:46:30 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
lordpixel%mac.com
303f035215 Workaround for bug 211462 Crash turning on JA IME on Mac 10.1 [@ Kotoeri]
r=brade, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@147400 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 13:39:09 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
bryner%netscape.com
d351d2077b Don't build nsRegionMac into the widget library, it's not needed for anything. Remove unused nsWidgetSupport.cpp. Bug 207023, r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@143822 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 22:54:50 +00:00
lordpixel%mac.com
2bb1acc82c Fix for bug 78363 "Beachball in Mac `spinning' cursor should actually spin".
r=pinkerton@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@142929 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-26 17:41:19 +00:00
varga%netscape.com
4e12764f46 Adding zoom-in/zoom-out cursors for mac and cocoa. Bug 189719
r=pink, sr=bryner, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142136 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:36:43 +00:00
varga%netscape.com
9a018ee06d Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142076 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 22:23:55 +00:00
roc+%cs.cmu.edu
e5bc645b4f Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@140207 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:58:10 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
sfraser%netscape.com
91e0ab0824 Bug 191821: implement nsIPluginWidget in the mac carbon widget code, to handle mac-specific plugin placement issues. r=peterl, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@138647 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:31:54 +00:00
dcone%netscape.com
b4d93679aa b=137982 r=dcone sr=sfraser. Fixed some scrolling issue on the Mac with iframes
git-svn-id: svn://10.0.0.236/trunk@129744 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 20:29:02 +00:00
pinkerton%netscape.com
e31f2ae5fd fix shearing during scrolling in embedding apps on 10.2 (r=ccarlen/sr=sfraser) bug 162885
git-svn-id: svn://10.0.0.236/trunk@127979 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 20:00:00 +00:00
rjc%netscape.com
8d342dff6f Fix bug # 144337: According to TechNote 2051, on Mac OS X we should be able to short-circuit QuickDraw's implicit LockPortBits() on every QD call by stratetic usage of ::LockPortBits() and ::UnlockPortBits(). Gives a few % points improvement on window drawing/updates. r=sdagley sr=ben
git-svn-id: svn://10.0.0.236/trunk@121907 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 01:25:57 +00:00
pinkerton%netscape.com
a70e5bb296 remove portions of smfr's last scrolling optimization. the OffsetRgn calls seem un-necessary and caused problems with redrawing outliners and scrolling while windows overlapped the scrolled widget. r=sdagley/sr=beard. bug# 141249
git-svn-id: svn://10.0.0.236/trunk@120467 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:23:46 +00:00
sfraser%netscape.com
9083c95915 Fix for bug 127362 -- incremental scrolling gets slower and slower. Make sure that we shift window->visRgn to the correct coordinates before doing region math, and ensure that HandleUpdateEvent() leaves the port in the way that it found it. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119137 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:53:30 +00:00
sfraser%netscape.com
0d51bd1709 Fix for bug 130753 -- avoid ugly page-flash when going Back to a scrolled page by not redrawing widgets which have a hidden parent. r=pinkerton, sr=hyatt, a=scc
git-svn-id: svn://10.0.0.236/trunk@116936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:37:02 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
danm%netscape.com
640add85a6 implement new method nsIWidget::IsEnabled and gut ModalEventFilter. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115517 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:16:16 +00:00