Граф коммитов

6523 Коммитов

Автор SHA1 Сообщение Дата
joshmoz%gmail.com 43b6277d8b change assertions to warnings. b=291096 r=pinkerton sr=smfr a=bsmedberg 2005-07-28 23:51:21 +00:00
smfr%smfr.org 97e17b2841 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. 2005-07-28 18:00:16 +00:00
timeless%mozdev.org 6284578ea0 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
2005-07-25 21:06:35 +00:00
smfr%smfr.org f70d9cdea0 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.
2005-07-25 15:56:25 +00:00
dougt%meer.net f49026671a 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.
2005-07-24 19:36:18 +00:00
roc+%cs.cmu.edu 38de62e088 Bug 301402. HideWindowChrome should do that, not make the window fullscreen in GTK2. r+sr=blizzard,a=shaver 2005-07-21 04:28:40 +00:00
shaver%mozilla.org 3db0927fe9 Bug 269823: fix invalid casts preventing compilation on 64-bit platforms with
gcc4. r+"sr"=caillon, a=me.
2005-07-20 18:29:05 +00:00
smfr%smfr.org 7108a67667 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. 2005-07-20 18:24:09 +00:00
mark%moxienet.com 25147668fa 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 2005-07-20 17:52:00 +00:00
smfr%smfr.org bb0d5f1f7d 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. 2005-07-20 17:41:56 +00:00
roc+%cs.cmu.edu 4d0cad69a1 Fix build bustage from bug 301161. 2005-07-19 23:57:57 +00:00
roc+%cs.cmu.edu 50489e7ca4 Bug 301161. Fix gtk1 too. 2005-07-19 23:18:56 +00:00
mark%moxienet.com 3ba9a73b56 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. 2005-07-19 22:54:07 +00:00
roc+%cs.cmu.edu bd98cf889a 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 2005-07-19 22:08:38 +00:00
smfr%smfr.org e7af44669f 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. 2005-07-19 21:21:21 +00:00
dougt%meer.net f998e5ffc8 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.
2005-07-18 16:04:45 +00:00
bzbarsky%mit.edu 9aa3066a02 More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
2005-07-15 21:41:47 +00:00
smfr%smfr.org 42f548729f 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 2005-07-15 20:53:13 +00:00
aaronleventhal%moonset.net 3237d883cc Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa 2005-07-15 02:35:19 +00:00
mark%moxienet.com 24c91c251a Fix gcc 4 build by disabling assertion on private data. gcc 3.3 doesn't care. No bug. Camino only. r=smfr 2005-07-15 00:02:15 +00:00
mark%moxienet.com d8ce3ba315 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 2005-07-14 22:48:34 +00:00
joshmoz%gmail.com fd539ea8c8 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 2005-07-13 23:11:18 +00:00
timeless%mozdev.org d9a857c0a0 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
2005-07-13 18:17:33 +00:00
neil%parkwaycc.co.uk f333249bd5 Bug 300133 default.xpm should not live in GTK2 r=bsmedberg a=asa 2005-07-13 17:05:12 +00:00
neil%parkwaycc.co.uk 942178fe47 Bug 300129 Allow GTK1 windows to use a default icon r+sr=roc a=asa 2005-07-13 17:00:14 +00:00
bryner%brianryner.com 1345e034dd Fixing camino crashes with fastback, bug 297488. r=josh sr=pinkerton 2005-07-08 17:55:32 +00:00
mkaply%us.ibm.com e531941425 #267609
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - Maximize window doesn't work right sometimes
2005-07-08 16:22:27 +00:00
smfr%smfr.org 61ebc963d5 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. 2005-07-07 15:47:49 +00:00
smfr%smfr.org 70b2cd75c9 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. 2005-07-06 19:51:31 +00:00
joshmoz%gmail.com ffc365fb08 clean up old mac os classic stuff. b=281889 r=smfr sr=bryner a=bsmedberg 2005-07-06 01:23:20 +00:00
joshmoz%gmail.com 287ba97dda 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. 2005-07-04 20:25:26 +00:00
mark%moxienet.com 91f85f2d34 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 2005-07-03 05:44:08 +00:00
joshmoz%gmail.com 9120d72e8d cleanup. sr=smfr 2005-07-02 02:46:38 +00:00
timeless%mozdev.org 351f4c0dfb Bug 299100 remove useless references to nsVoidArray
widget
r=darin sr=darin a=asa
2005-07-01 04:40:31 +00:00
dbaron%dbaron.org 22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
joshmoz%gmail.com 762671ba60 assign "isChar" inside gecko event conversion. cocoa widgets only. b=299221 sr=smfr 2005-07-01 00:44:33 +00:00
smfr%smfr.org 9f63d01a01 Undo erroneous checking of nsNativeScrollbar.* (Cocoa only) 2005-06-30 18:26:44 +00:00
smfr%smfr.org ea9a33e33d 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. 2005-06-30 18:23:01 +00:00
joshmoz%gmail.com f1f1b6ca27 don't crash in [NSQuickDrawView dealloc], also some code cleanup. Patch by smfr. b=298201 r=pink 2005-06-29 19:39:39 +00:00
dougt%meer.net dbda3ac039 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.
2005-06-29 18:52:08 +00:00
neil%parkwaycc.co.uk e779558bb6 Bug 254894 On Windows, creating an event queue (e.g. via XMLHttpRequest) dismisses open menus r=dean_tessman rs=darin a=bsmedberg 2005-06-29 10:14:17 +00:00
mats.palmgren%bredband.net 269d29adc0 Attempting to fix build bustage... 2005-06-28 22:04:03 +00:00
mats.palmgren%bredband.net 97417c0bb6 Make drag-n-drop of frame-less content work again. b=289667 r+sr=roc a=benjamin 2005-06-28 21:40:15 +00:00
smfr%smfr.org 4a0f61741f 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. 2005-06-28 00:18:33 +00:00
smfr%smfr.org b002367b2c Detabbed the file, no code changes. 2005-06-27 23:44:09 +00:00
smfr%smfr.org f2c6ab18fc Fix bug 179308: fix control-key events in Camino so that access keys work properly. r=josh. Affects Camino only. 2005-06-27 23:39:08 +00:00
smfr%smfr.org ae849048e1 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. 2005-06-26 03:25:52 +00:00
masayuki%d-toybox.com 9f9745218e Bug 296339 No response when I am inputting use the MSPinYin(Chinese) input method r=timeless, sr=rbs, a=asa 2005-06-25 04:43:04 +00:00
mozilla.mano%sent.com 82eeff1d45 Bug 298549 - nsBidiKeyboard.cpp breaks gcc 4 builds. patch from Mark Mentovai <mark@moxienet.com>, r=me, sr=smfr, a=mkaply. 2005-06-23 17:50:41 +00:00
mozilla.mano%sent.com 520fa9a44e Bug 298430 - drop support for Mac OS X 10.1. First part: code cleanup. r=josh, sr=darin, a=shaver 2005-06-23 00:59:03 +00:00