Commit Graph

863 Commits

Author SHA1 Message Date
James H
7aeb6f228a Bug 801301 - Fix popup submenus opening behind their parent on Windows XP. r=roc 2012-10-14 18:04:05 -04:00
Ben Turner
59abdca4dc Bug 799970 - 'Activate HangMonitor for non-queued messages on Windows'. r=bsmedberg. 2012-10-16 12:56:57 -07:00
James H
4388238253 Bug 610713 - Fix popup menus leaving behind artifacts when using hardware acceleration and a basic Windows theme. r=jmathies 2012-09-13 21:31:53 -04:00
Robert O'Callahan
d6211fbaee Bug 603880. Implement nsWindow::GetDefaultScale on Windows based on LOGPIXELSY, set by font DPI settings. r=jmathies 2012-10-05 15:29:10 +13:00
Jacek Caban
b0e62480fa Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (widget/windows part) r=jmathies 2012-10-04 10:33:24 +02:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Chris Pearce
ba71ff03f5 Bug 782729 - Make Windows nsWindow::SynthesizeNativeMouseEvent accept coords in screen coords, not widget coords, to match other widget implementations. r=smaug,jimm 2012-09-18 14:36:16 +12:00
Jim Mathies
685483f9b3 Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
2d9c7c2260 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Ehsan Akhgari
57ec2ec569 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
387d2921ba Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Timothy Nikkel
e07ecf7744 Bug 786421. If we are asked to repaint while resizing a window on Windows and the new size matches the old size just repaint and don't do a bunch of extra work. r=jimm 2012-08-31 11:16:52 -05:00
Masayuki Nakano
a96086c28d Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
Neil Deakin
46bcc12339 Bug 783899, notify the view for resize events before the webshellwindow, fixing thunderbird window size when maximized, r=jmathies 2012-08-24 08:42:15 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Tim Abraldes
25a00c0362 bug 758280. Refactor the way we handle WM_NCCALCSIZE messages and how we keep track of our frame offsets. r=jimm 2012-08-20 12:11:31 -07:00
Joe Drew
e09a2e3ed4 Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Neil Deakin
ae68fe90a2 Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
d91faf11ff Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
13597b29c2 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
7f92776b52 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
650e2a6a9e Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
b5d102c9b2 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
ba908b62d4 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
2e97f51f7d Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Masayuki Nakano
525329eefd Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Neil Deakin
63fc1904f5 Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jim Mathies
dd78e791de Bug 762948 - follow up to remove Windows line endings. r=nobug DONTBUILD 2012-07-25 10:15:28 -05:00
Bas Schouten
7b0158673e Bug 762948: Workaround for invalidation problem with flash. r=roc 2012-07-23 15:57:38 +02:00
Mark Capella
1bafbbea76 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
92662fd889 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Masayuki Nakano
4e08a29e9a Bug 773651 Guess VK_RCONTROL and VK_RMENU from extended key flag on XP and don't trust the scan code of key messages r=jimm 2012-07-19 10:28:17 +09:00
Masayuki Nakano
2ee322354b Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
David Zbarsky
7f0b27a36b [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Jim Mathies
22a7b24899 Bug 768400 - clear win32 transparent windows when hidden so stale content isn't briefly displayed when they are reshown. r=roc 2012-07-12 06:39:21 -05:00
Tim Abraldes
2fde28e74f bug 708033. Cache the large and small icons that are set for each nsWindow. Free them in nsWindow::~nsWindow() rather than in nsWindow::OnDestroy(). r=jimm 2012-07-05 16:06:13 -07:00
Bonnie Surender
4e40418e97 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Jim Mathies
bd49214c76 Bug 769212 - backout of bug 733630 due to bug 769212. r=backout 2012-06-28 07:29:15 -05:00
Masayuki Nakano
771171a320 Bug 733630 Use native window border size if there is no content under mouse cursor r=jimm 2012-06-27 21:47:50 +09:00
Robert O'Callahan
a01d4738fa Bug 761034. Backout patch for bug 610713 since it didn't fix anything and caused regressions. r=bas 2012-06-24 01:08:12 +12:00
Mats Palmgren
add862024c Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Nicolas Silva
e9699019f2 Bug 758048 - Move PopupType from the Windows widget implementation to the cross platform base class and use it to determine when to accelerate windows. r=bbondy 2012-05-31 13:52:09 -04:00
Hub Figuière
f327f4e320 Bug 761589 - Refactor accessibility.force_disabled to work on Mac too and make it tri-state. r=tbsaunde 2012-06-19 16:19:13 -07:00
Masayuki Nakano
cf13d7d147 Bug 757688 part.8 Make sure test_keycodes.xul emulates correct key events r=jimm 2012-06-15 18:52:51 +09:00
Masayuki Nakano
af52ae53fe Bug 757688 part.7 Make nsWindow for Windows possible to test dead keys r=jimm 2012-06-15 18:52:51 +09:00
Masayuki Nakano
d8453b72ed Bug 757688 part.6 Add numpad keys to printable key table and remove KeyboardLayout::IsNumpadKey() r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
4ca510f31b Bug 757688 part.5 Make KeyboardLayout stateless for non-dead keys r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
9098d673f0 Bug 757688 part.4 Remove GetShiftState() and move SetShiftState() to VirtualKey r=jimm 2012-06-15 18:52:50 +09:00