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

6522 Коммитов

Автор SHA1 Сообщение Дата
smfr%smfr.org 75a9b5dae5 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 14b97c0a0e 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 8df98a2b1f 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 cdb4471a32 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 e81dc32b6b 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 4ebc072129 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 4179bb51d7 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 eb21f1844d 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 a6bfc07d9f 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 502ff3fea2 Fix build bustage from bug 301161. 2005-07-19 23:57:57 +00:00
roc+%cs.cmu.edu 32a0d273a5 Bug 301161. Fix gtk1 too. 2005-07-19 23:18:56 +00:00
mark%moxienet.com cb6708af08 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 c6a2fcd2a4 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 d7b87c48e2 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 6fca6a05a9 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 022ac24279 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 e39a9df276 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 3c031a60d7 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 a37336d17d 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 3177334159 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 8bf6a27a8b 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 ddbc51a966 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 a6d95c4aeb 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 df9c62785f 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 1cf42235be Fixing camino crashes with fastback, bug 297488. r=josh sr=pinkerton 2005-07-08 17:55:32 +00:00
mkaply%us.ibm.com 1771ab6706 #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 78471d3fbd 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 5de99dede7 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 dc542d349f 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 225af9e403 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 ef4ec4c52e 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 55c5de7b4e cleanup. sr=smfr 2005-07-02 02:46:38 +00:00
timeless%mozdev.org 8d72a23073 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 42df54824e 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 a21cbee1b9 assign "isChar" inside gecko event conversion. cocoa widgets only. b=299221 sr=smfr 2005-07-01 00:44:33 +00:00
smfr%smfr.org 8db0ea01dd Undo erroneous checking of nsNativeScrollbar.* (Cocoa only) 2005-06-30 18:26:44 +00:00
smfr%smfr.org f2088ef7d0 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 6023ae6906 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 bc3b1b5d84 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 1ffa7b1a45 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 f9ea6c1d60 Attempting to fix build bustage... 2005-06-28 22:04:03 +00:00
mats.palmgren%bredband.net ab18879e3b 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 6163cf8997 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 c5e88a36c0 Detabbed the file, no code changes. 2005-06-27 23:44:09 +00:00
smfr%smfr.org 5d51be6710 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 3c621d4c4e 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 d3c735fbe4 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 842a0a8faa 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 ace0832a0b 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
sergei_d%fi.tartu.ee 8870148761 Bug 298171 Adjusting mouse mask handling, avoiding extra validation with proper view transparency color, cleaning header. r=sergei_d a=asa. BeOS-only changes 2005-06-22 21:44:00 +00:00