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

6540 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu ecd72d8bbe Fix XRemoteClient leaks. Bug 295173, patch by Ferdinand
<ferdinandw+bmo@gmail.com>, r=caillon
2005-08-19 15:15:34 +00:00
masayuki%d-toybox.com 3c5e230de4 backing out previous my check-in b=276727 2005-08-18 14:53:14 +00:00
mats.palmgren%bredband.net 1fc18e7b1a Truncate long TITLE strings to avoid crashing GTK/WM/X. b=167315 r+sr=bzbarsky 2005-08-18 08:10:28 +00:00
masayuki%d-toybox.com 896b1d1496 Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc 2005-08-18 04:09:13 +00:00
cbiesinger%web.de 825960d193 bug 301004 make native gtk2 filepicker modal to its parent
patch by Christian Persch <chpe@gnome.org> r=caillon sr=roc a=asa
2005-08-17 13:41:44 +00:00
dougt%meer.net 4b0fea5250 More WINCE Fix ups.
1) removes unused variable mBorderlessParent.
2) fixes a few bugs whereby I #ifdef out a case in a switch statement resulting
the default action being taken.
3) allowing gesture animation via a flag to SHRecognizeGesture.
4) returning a positive value to the WM_ACTIVATE message as the caller excepts
that.
5) GetWindowPlacement() is not implemented in the wince shunt library.	So, i
could remove some of the #ifndef WINCE code when handing WM_WINDOWPOSCHANGED.
6) Adjusting the window position when WM_SETTINGCHANGE is called with
SPI_SETWORKAREA.  This is a windows ce thing. Basically, you can go to full
screen and a WM_SETTINGCHANGE message is fired.
7) Lastly, when dealing with popups, we want to ignore the activate message
when deciding to roll up the popup.

r=benjamin, a=asa (wince only)
2005-08-16 19:15:06 +00:00
dougt%meer.net d7a6be51c3 Fixing windows ce build bustage. WS_CHILDWINDOW is not supported. 2005-08-14 04:01:58 +00:00
emaijala%kolumbus.fi eb7508baaf Fix for bug 297561: onmouseover , javascript alert shows twice
r+sr=roc
2005-08-13 18:00:33 +00:00
roc+%cs.cmu.edu b1c77d0bf2 Bug 300297. Be careful about choosing the top-level window when making a transparent window. r+sr=me,a=shaver/cbeard,patch by Dainis.Jonitis 2005-08-12 03:29:18 +00:00
dougt%meer.net d7170a4f62 Windows Ce only.
This patch does two things:
a) enables clipboard support on Windows CE.  It was pretty easy to port.  we
just don't support file clipboard type nor do we know what to do with drag and
drop.  Hence there are a few ifdef's sprinkled through out.  Also, i noticed
that the WinCE compiler chokeds on ::Global* for some reason.  Since these do
not need to be namespaced, I removed the "::".

b) detects windows ce tap-and-hold events via SHRecognizeGesture.  When we
discover that this occurs we fire a right mouse click.

r/sr=dveditz, a=asa.  bug=297683
2005-08-11 00:37:53 +00:00
aaronleventhal%moonset.net ee230b78cc Bug 303841. When screen reader running, prefer external viewer applications over full page plugins because they are more accessible. r=biesi, sr=jst, a=cbeard 2005-08-10 01:45:31 +00:00
dougt%meer.net 426e3fba5c Fixing bug 303995. Comparing the flags used in version 3.538 of nsWindow.cpp and what we are currently using you see a difference in both the popup and toplevel. This patch reverts my changes and takes us back to a good place. a/r/rs=benjamin 2005-08-09 16:00:08 +00:00
dougt%meer.net cc48226255 Cleaner ifdef's for Windows CE WindowExStyle. This allows dialogs on Windows CE to have an OKAY box instead of the minimize box. This change is WINCE only. b=297683 r/sr=dveditz, a=asa 2005-08-09 07:21:27 +00:00
mats.palmgren%bredband.net f45fd7a9d3 Implement nsIWidget::SetParent on GTK1 and GTK2. b=168116 r+sr=roc a=asa 2005-08-09 02:51:42 +00:00
caillon%redhat.com 3b77d2253c Bug 300226, unset window userdata before destroying
p=chpe@gnome.org
r=mpgritti@gnome.org sr=roc a=asa
2005-08-08 19:43:31 +00:00
smfr%smfr.org 1464f1744c Fix bug 301152: cruft in scrollbar when scrolling while loading a page. r=pinkerton, Camino-only. 2005-08-08 03:21:54 +00:00
mkaply%us.ibm.com 837130d4b2 #302621
r=mkaply, sr=mkaply, a=mkaply
OS/2 only - context menu crash - grab fix that is already in Windows
2005-08-02 03:08:49 +00:00
joshmoz%gmail.com ac20933d22 change assertions to warnings. b=291096 r=pinkerton sr=smfr a=bsmedberg 2005-07-28 23:51:21 +00:00
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