Commit Graph

37 Commits

Author SHA1 Message Date
Karl Tomlinson
0a12a1dbae b=826158 remove unnecessary GtkTargetEntry::info code r=ebassi 2013-02-04 17:50:21 +13:00
Matt Brubeck
4e5947ff83 Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE 2013-02-19 17:06:18 -08:00
Karl Tomlinson
203805f0dd b=826158 remove unnecessary GtkTargetEntry::info code r=ebassi 2013-02-04 17:50:21 +13:00
Chris Peterson
6b6f40af6d Bug 829344 - Part 2: Fix gcc -Wlogical-op warning in GTK2 widget code. r=karlt 2013-01-10 15:29:05 -08:00
Robert O'Callahan
eb22569b67 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel 2013-01-05 16:12:42 +13:00
Robert O'Callahan
67b24645e1 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
4d45e573ba Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel 2013-01-05 16:12:42 +13:00
Robert O'Callahan
b20214218e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Nicholas Nethercote
58ee60a23b Bug 826158 - Fix two -Wself-assign warnings in widget/gtk2/. r=karlt. 2013-01-03 14:36:53 -08: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
Mats Palmgren
42f89e21bc Bug 791518 - Use correct GDK type for gtk_selection_data_get_length() return value to avoid signed to unsigned conversion of -1 and subsequent crash. r=karl 2012-09-18 01:05:05 +02:00
Martin Stransky
8c46851f55 Bug 627699 - Port GTK2 to GTK3, gtk-rest. r=karlt 2012-09-13 21:56:59 -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
Aryeh Gregor
6b3ee254ff Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
b26d3eb748 Remove an unused local variable (no bug) 2012-07-26 15:17:26 -04:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Julian Seward
501aac868a Bug 753118 - Fix uninitialized value in nsWindow::Destroy. r=karlt 2012-05-09 21:00:05 -04:00
Karl Tomlinson
ba4244d192 b=751429 handle modifier changes in periodic synthetic mouse events for drag sources r=roc 2012-05-03 18:24:20 +12:00
Karl Tomlinson
c5e9633d94 b=750061 Put the hidden drag widget in the window group of the source node so that the gtk_grab_add during gtk_drag_begin is effective r=roc 2012-05-03 18:23:59 +12:00
Karl Tomlinson
5ee2591ebb b=634719 schedule event dispatch in response to GTK drag end signals to avoid running the event loop at unexpected times and dispatch leave events in the right order r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
f6ab9115a2 b=634719 don't start a new source drag session until the previous has completed r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
122fc83c74 b=497498 remove nsIDragSessionGTK r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
9306f03e9a b=497498 move nsWindow::UpdateDragStatus to nsDragService::UpdateDragAction r=enndeakin 2012-04-19 18:18:31 +12: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
93e1c6fbc2 b=634719 Add a helper to get the nsDragService r=roc 2012-04-19 18:18:31 +12:00
Karl Tomlinson
84a4c84b9b b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc 2012-04-17 13:00:26 +12:00
Karl Tomlinson
a3c15e44eb b=497498 use event coordinates for source drag end point instead of new cursor position r=roc 2012-04-17 13:00:25 +12:00
Karl Tomlinson
e2f0e907e8 b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc 2012-04-17 13:00:25 +12: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
Neil Deakin
df84fdfb47 Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05: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
d41e0256eb b=721762 don't startDragSession when invokeDragSession will fail r=enndeakin 2012-02-02 15:10:43 +13:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00