mkaply%us.ibm.com
6febb15f9d
#302621
...
r=mkaply, sr=mkaply, a=mkaply
OS/2 only - context menu crash - grab fix that is already in Windows
git-svn-id: svn://10.0.0.236/trunk@176952 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 03:08:49 +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
timeless%mozdev.org
4c4138d05e
Bug 301582 Win32 HTML clipboard format broken by patch for Bug #244685 (StartFragment offset incorrect)
...
patch by daniel_atallah@yahoo.com r=david.gardiner@unisa.edu.au sr=neil a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176559 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 21:06:35 +00:00
smfr%smfr.org
5de5357848
Fix bug 192276: control-click on a plugin should show the plugin context menu, not the browser one -- return nil from -menuForEvent for a plugin view. r=pink
...
Fix bug 180592: dispatch Carbon Events for scroll wheel events so that plugins can use them. r=pink.
Both changes only affect Camino.
git-svn-id: svn://10.0.0.236/trunk@176521 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 15:56:25 +00:00
dougt%meer.net
2fd983f93d
This patch does the follow:
...
*) First it allows hardware key that various devices have (so called HOTKEYs)
be mapped into the DOM (as F-KEYS). This will allow application developers use
the standard hardware buttons on devcies in some interesting way. This is
controlled via a preference. it is to be defaulted on -- we will override the
hardware buttons and pass these events on.
*) Secondly, i have added a preference which controls if the top level windows
have a (X) box or a (OK) box in their upper right hand corner. The difference
between these is that an (X) box only puts the top level window in the
background whereas the (OK) box actually is suppose close and destory the
window. It is very important for developers (a time save) to have the ablity
to directly kill the window. Without this, you have to go to Settings / System
/ Memory / Running Programs, then find your app and press "Stop".
This patch is WINCE only -- everything is within the correct #defines.
emaijala: review+
dveditz: superreview+
a=asa WinCE only.
git-svn-id: svn://10.0.0.236/trunk@176499 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 19:36:18 +00:00
roc+%cs.cmu.edu
338b11b70a
Bug 301402. HideWindowChrome should do that, not make the window fullscreen in GTK2. r+sr=blizzard,a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@176382 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 04:28:40 +00:00
shaver%mozilla.org
5536bc2ac5
Bug 269823: fix invalid casts preventing compilation on 64-bit platforms with
...
gcc4. r+"sr"=caillon, a=me.
git-svn-id: svn://10.0.0.236/trunk@176339 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 18:29:05 +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
mark%moxienet.com
7e829e2988
Bug 300095, tab close button draws over top of scrollbar after tab bar collapses. Don't validate control rects after drawing, when it's too late for us to care. Allows the system to paint. r=jhpedemonte sr=smfr a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@176337 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 17:52:00 +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
roc+%cs.cmu.edu
4d7a9d64c3
Fix build bustage from bug 301161.
...
git-svn-id: svn://10.0.0.236/trunk@176298 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:57:57 +00:00
roc+%cs.cmu.edu
9536b66324
Bug 301161. Fix gtk1 too.
...
git-svn-id: svn://10.0.0.236/trunk@176293 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:18:56 +00:00
mark%moxienet.com
7eb3601cf8
Bug 299949, scroll wheel misbehaves when built on SDK >= 10.4. Handle fractional scroll deltas with ceil/floor instead of truncating. Also, handle events carrying both dX and dY properly, and ignore events where delta = 0. Camino only ('til 1.9?) r=josh sr=smfr.
...
git-svn-id: svn://10.0.0.236/trunk@176291 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 22:54:07 +00:00
roc+%cs.cmu.edu
f740b89c3e
Bug 301161. Allow our Xt timer event pump to process multiple Xt events each time it fires. This prevents Flash from starving other plugins (e.g, Adobe Acrobat Reader 7) in some situations. r+sr=blizzard,a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176288 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 22:08:38 +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
dougt%meer.net
d30bb482b9
Implements DataToBitmap. We do not handle the cursor translucency, but it is
...
more then what we do currently. Basically we are moving around ifdef's here.
Fixes GetSysFontInfo. For windows CE we correctly return the System Font.
r=emaijala, sr=dveditz, a=asa, b=297683 WINCE ONLY.
git-svn-id: svn://10.0.0.236/trunk@176195 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-18 16:04:45 +00:00
bzbarsky%mit.edu
6b2d4870c3
More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
...
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176154 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 21:41:47 +00:00
smfr%smfr.org
4dc88cf9ff
Improve Camino drawing performance by avoiding widget updates when the dirty rect is entirely obscured by subviews (bug 166932). Should help Camino typing performance (bug 272954). Camino only, NPODB. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@176152 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 20:53:13 +00:00
aaronleventhal%moonset.net
40b6366b17
Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176121 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:35:19 +00:00
mark%moxienet.com
18b921fb55
Fix gcc 4 build by disabling assertion on private data. gcc 3.3 doesn't care. No bug. Camino only. r=smfr
...
git-svn-id: svn://10.0.0.236/trunk@176116 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 00:02:15 +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
joshmoz%gmail.com
daf55272eb
make cocoa widget FF builds run with no tweaking, also add basic modal event loop code so we don't hang on modal dialogs. This code isn't necessarily "right", but its a step and allows for easy further exploration.NPODB
...
git-svn-id: svn://10.0.0.236/trunk@176063 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 23:11:18 +00:00
timeless%mozdev.org
17ca851ac3
Bug 299582 widget/src/gtk/nsWidget.cpp:532: Control reaches end of non-void function
...
patch by b.jacques@planet.nl r=roc sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176023 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:17:33 +00:00
neil%parkwaycc.co.uk
f809ee85ec
Bug 300133 default.xpm should not live in GTK2 r=bsmedberg a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176009 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 17:05:12 +00:00
neil%parkwaycc.co.uk
d54deb12bb
Bug 300129 Allow GTK1 windows to use a default icon r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176008 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 17:00:14 +00:00
bryner%brianryner.com
26b0013b51
Fixing camino crashes with fastback, bug 297488. r=josh sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@175845 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 17:55:32 +00:00
mkaply%us.ibm.com
4ce464cf04
#267609
...
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - Maximize window doesn't work right sometimes
git-svn-id: svn://10.0.0.236/trunk@175841 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 16:22:27 +00:00
smfr%smfr.org
818da747fa
Fix the drawing part of bug 298677: scrollbars draw in the wrong place. Fixed by registering a Carbon Event handler on the native control that ensures that the port origin is set correctly before control draws. r=josh, jhpedemonte. sr=me. a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@175750 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 15:47:49 +00:00
smfr%smfr.org
5876a607b0
Fix (hopefully for good this time) bug 298201, a crash when running on Tiger because NSQuickDrawView has stashed a bad port. r=pinkerton. Only affects camino.
...
git-svn-id: svn://10.0.0.236/trunk@175710 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 19:51:31 +00:00
joshmoz%gmail.com
bcca8a2301
clean up old mac os classic stuff. b=281889 r=smfr sr=bryner a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175668 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 01:23:20 +00:00
joshmoz%gmail.com
4d3db7ecea
get cocoa widgets running in Firefox. this means the app launches, but you probably don't want to use it as you have windows with no menu bar :) Also some macro cleanup. only a few lines of codein a component that isn't used, so no reviews necessary.
...
git-svn-id: svn://10.0.0.236/trunk@175584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-04 20:25:26 +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
joshmoz%gmail.com
ba78ee1c0c
cleanup. sr=smfr
...
git-svn-id: svn://10.0.0.236/trunk@175515 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-02 02:46:38 +00:00
timeless%mozdev.org
e9f54b6bb1
Bug 299100 remove useless references to nsVoidArray
...
widget
r=darin sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@175469 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:40:31 +00:00
dbaron%dbaron.org
25b210b22c
Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
joshmoz%gmail.com
a281b70a36
assign "isChar" inside gecko event conversion. cocoa widgets only. b=299221 sr=smfr
...
git-svn-id: svn://10.0.0.236/trunk@175440 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 00:44:33 +00:00
smfr%smfr.org
14b5c347f5
Undo erroneous checking of nsNativeScrollbar.* (Cocoa only)
...
git-svn-id: svn://10.0.0.236/trunk@175397 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 18:26:44 +00:00
smfr%smfr.org
047e4823f2
Fix bug 299226: unable to type option-char combinations in the content. Broken by a recent change that set isAlt on the gecko event. r=pink.
...
git-svn-id: svn://10.0.0.236/trunk@175396 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 18:23:01 +00:00
joshmoz%gmail.com
d35e43b735
don't crash in [NSQuickDrawView dealloc], also some code cleanup. Patch by smfr. b=298201 r=pink
...
git-svn-id: svn://10.0.0.236/trunk@175335 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 19:39:39 +00:00
dougt%meer.net
7df76a375c
This patch does two things:
...
1) Correctly handles dropdown menus. In earlier version of nsWindow for WinCE
we basically totally ignored handling events that were outside of the popup.
The result was that if you happen to popup a menu, it wouldn't go away unless
you clicked on a item. If there we no ideas, well you were hosed.
2) Correctly handles the WM_WINDOWPOSCHANGED event. Prior to this, if the
browser ever was resized or moved, we would ignore the event. We can not
process the WINDOWPLACEMENT and instead just always focus.
r=emaijala, sr=dveditz, a=asa
wince only.
git-svn-id: svn://10.0.0.236/trunk@175332 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:52:08 +00:00
neil%parkwaycc.co.uk
a0257c82ad
Bug 254894 On Windows, creating an event queue (e.g. via XMLHttpRequest) dismisses open menus r=dean_tessman rs=darin a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175287 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 10:14:17 +00:00
mats.palmgren%bredband.net
c0740e9437
Attempting to fix build bustage...
...
git-svn-id: svn://10.0.0.236/trunk@175264 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 22:04:03 +00:00
mats.palmgren%bredband.net
74ac88465a
Make drag-n-drop of frame-less content work again. b=289667 r+sr=roc a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@175262 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 21:40:15 +00:00
smfr%smfr.org
d240c30efe
Fix bug 274036: makes sure Mac native controls (Carbon & Cocoa) look disabled when there is nowhere to scroll by removing arbitrary hardcoded limits. r=josh, sr=bryner, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175189 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 00:18:33 +00:00
smfr%smfr.org
6a027f2ddd
Detabbed the file, no code changes.
...
git-svn-id: svn://10.0.0.236/trunk@175186 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-27 23:44:09 +00:00
smfr%smfr.org
6c83a838b8
Fix bug 179308: fix control-key events in Camino so that access keys work properly. r=josh. Affects Camino only.
...
git-svn-id: svn://10.0.0.236/trunk@175185 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-27 23:39:08 +00:00
smfr%smfr.org
11d348b7a6
Fix bug 182783, bug 292473 and bug 280894. Add a per-window class that registers for window activate/deactivate notifications, and sends appropriate activate events to gecko. Also fix up interaction with the NSInputManager (aka IME/TSM). r=pinkerton. Only affects Camino.
...
git-svn-id: svn://10.0.0.236/trunk@175150 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 03:25:52 +00:00
masayuki%d-toybox.com
2bf7a2cee4
Bug 296339 No response when I am inputting use the MSPinYin(Chinese) input method r=timeless, sr=rbs, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175137 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-25 04:43:04 +00:00
mozilla.mano%sent.com
654105ce93
Bug 298549 - nsBidiKeyboard.cpp breaks gcc 4 builds. patch from Mark Mentovai <mark@moxienet.com>, r=me, sr=smfr, a=mkaply.
...
git-svn-id: svn://10.0.0.236/trunk@175053 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 17:50:41 +00:00