Commit Graph

35 Commits

Author SHA1 Message Date
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
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
Alexander Surkov
27e34b45af Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09: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
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
421794ab0d b=793501 remove unused event handler parameters r=roc 2012-10-23 11:33:30 +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
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
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
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
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
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
Trevor Saunders
b9aec915ac bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov 2012-05-28 21:18:45 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Karl Tomlinson
c72bf57ac2 b=497498 move drag event dispatch logic from nsWindow to nsDragService r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
437a4d0761 b=497498 schedule event dispatch in response to GTK drag target signals to avoid running the event loop at unexpected times r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
4c96795df6 b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc 2012-04-17 13:00:26 +12:00
Karl Tomlinson
002dd1813b b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc 2012-04-17 13:00:26 +12:00
Karl Tomlinson
86a3f06258 b=497498 split drag event dispatch code from GTK signal handling methods r=roc 2012-04-17 13:00:26 +12:00
Karl Tomlinson
5e0414fd35 b=497498 use a helper method for dispatching destination drag events r=roc 2012-04-17 13:00:25 +12:00
Karl Tomlinson
cbbba983f2 b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin 2012-04-17 12:59:56 +12:00
David Humphrey (:humph)
a49e674017 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Masayuki Nakano
2078c307a5 Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Karl Tomlinson
619c7ba2c8 b=726443 rework last event time calculation to avoid problems with gtk_get_current_event_time in nested loops r=roc 2012-02-14 09:19:59 +13:00
Karl Tomlinson
9ca1782ac7 b=500081 use a timestamp when grabbing the pointer and generate timestamps for drags in the same way r=roc 2012-02-02 15:12:26 +13:00
Karl Tomlinson
a8feef7b32 privatize and devirtualize a few nsWindow methods b=500081 r=roc 2012-02-02 15:12:02 +13:00
Markus Stange
6f8783bb44 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Trevor Saunders
3911c1e806 merge mozilla-central to accessibility 2012-01-05 21:43:01 -05:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00