Commit Graph

114 Commits

Author SHA1 Message Date
Masayuki Nakano
377a3edafd Bug 558976 part.4 Implement nsIWidget::NotifyIME() on GTK r=karlt 2013-03-06 15:14:34 +09:00
Robert O'Callahan
2347e5328a Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
dfbd3349d6 Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Karl Tomlinson
ba2608f683 b=821749 remove unnecessary mTransientParent r=roc 2013-01-03 09:44:19 +13:00
Karl Tomlinson
5cd9b147c8 b=821749 remove mWindowGroup, handled by gtk_window_set_transient_for r=roc 2013-01-03 09:44:12 +13:00
Karl Tomlinson
a4f90d4925 b=821749 remove code to give transient-for-none dialogs a separate ICCCM group leader r=roc
This reverts the change for bug 194323, which is now no longer necessary.
Removing this means that the GtkWindow is realized with its event mask set and
oxygen-gtk knows to keep out of our way.
2013-01-03 09:44:06 +13:00
Jim Mathies
a5dae8eff6 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
9722fe8c92 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Timothy Nikkel
7839886efd Bug 805745. WillPaint notification can flush, so re-get the listener after it on GTK2 widget backend. r=karlt 2012-12-12 15:57:08 -06:00
Jonathan Kew
3fac204237 bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Trevor Saunders
5758645a73 bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00
Karl Tomlinson
1da9d8cbee b=813997 keep window max size to 16 bits r=roc 2012-11-28 11:07:11 +13:00
Alexander Surkov
27e34b45af Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Karl Tomlinson
7cfb404f45 b=808114 don't hide mContainer in toplevels, to keep a focus widget for grabs r=roc 2012-11-14 23:22:07 -08:00
Karl Tomlinson
771e01db04 b=798157 use ARGB visuals only for popups that will be translucent r=roc 2012-11-13 18:04:42 -08:00
Todd Whiteman
b765cec4ae b=809601 correct drag and drop event coords when over child windows r=karlt 2012-11-13 18:03:01 -08:00
Masayuki Nakano
45e740bebd Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Karl Tomlinson
24fcfe9ba9 b=808873 restore null check on gFocusWindow accidentally dropped in dfe49308dc99 r=trivial 2012-11-07 18:05:01 +13:00
Karl Tomlinson
2d9a96c8fb b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc 2012-11-07 10:50:37 +13:00
Karl Tomlinson
de7de94727 b=746775 log CaptureRollupEvents parameters r=roc 2012-10-31 15:44:46 +13:00
Karl Tomlinson
48e7f9be04 Bug 707623 - gtk_grab_add(mShell) instead of (mContainer) to avoid double key event dispatch r=roc, feedback=mconley. 2012-10-30 11:49:10 -04:00
Jacek Szpot
09f9b9a1c3 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Mike Conley
195d0db21f Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Masayuki Nakano
3a51187788 Bug 801989 part.3 Set InputContext::mNativeIMEContext on Linux r=karlt 2012-10-27 08:35:21 +09:00
Neil Deakin
26ade209e9 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Karl Tomlinson
9eb7b9892e b=793501 attach DocumentViewer to top GTK widget r=roc 2012-10-23 11:46:45 +13:00
Karl Tomlinson
b5c8304658 b=793501 invalidate new regions of even toplevel resized windows r=roc 2012-10-23 11:40:50 +13:00
Karl Tomlinson
290edc5be2 b=793501 don't log child window XIDs as this has the side effect of creating X Windows early r=roc 2012-10-23 11:40:24 +13:00
Karl Tomlinson
52a1fc8cbe b=793501 don't use a separate GdkWindow for MozContainer (unless necessary) r=roc 2012-10-23 11:39:59 +13:00
Karl Tomlinson
421794ab0d b=793501 remove unused event handler parameters r=roc 2012-10-23 11:33:30 +13:00
Karl Tomlinson
ca60d45615 b=793501 set gFocusWindow on fallback instead of early, which interfered with container window focus change detection in SetFocus() r=roc 2012-10-23 11:31:53 +13:00
Matt Woodrow
3d9412116f Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Karl Tomlinson
438c9fd796 b=408284 don't shape for transparency on ARGB windows r=roc 2012-10-03 19:53:57 +13:00
Chris Coulson
fd0a3d5142 b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt 2012-10-03 19:53:53 +13:00
Karl Tomlinson
5ac8c99b94 b=408284 clear transparency bitmap when window is hidden r=roc 2012-10-03 11:37:06 +13:00
Karl Tomlinson
c5cbeca5a4 b=408284 no need to apply transparency bitmap on each show r=roc 2012-10-03 11:36:08 +13:00
Karl Tomlinson
94bb2882ed b=795812 shape out translucent windows where alpha < 1/2 r=roc 2012-10-03 11:35:28 +13:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mike Hommey
4b3af52225 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Karl Tomlinson
92db681957 b=792305 don't update mask bits outside the mask r=roc 2012-09-24 11:17:31 +12:00
Karl Tomlinson
9bb970dd59 b=792305 delay shape mask update from resize to expose r=roc 2012-09-24 11:15:48 +12:00
Marco Castelluccio
7f4b4363c7 Bug 630346 - Use basic layers for windows with transparency r=karlt 2012-09-24 11:22:28 +12:00
Martin Stransky
8c46851f55 Bug 627699 - Port GTK2 to GTK3, gtk-rest. r=karlt 2012-09-13 21:56:59 -04:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
7d4a2a9b7b Remove two unused variables, no bug 2012-08-27 17:30:56 -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
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