Commit Graph

252 Commits

Author SHA1 Message Date
Masayuki Nakano
3edbd8fb45 Bug 1046101 part.17 Rename NS_SIMPLE_GESTURE_EVENT to eSimpleGestureEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
c19caaece3 Bug 1046101 part.14 Rename NS_WHEEL_EVENT to eWheelEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano
bc9c6223e8 Bug 1046101 part.13 Rename NS_MOUSE_SCROLL_EVENT to eMouseScrollEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano
5dd6ba156f Bug 1046101 part.12 Rename NS_DRAG_EVENT to eDragEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
29bd521c18 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Benoit Jacob
97177c7e3d Bug 586656 - Serialize external "pluginEvent" structs in WidgetGUIEvent so that plugin events work in e10s - r=masayuki,jimm 2014-07-23 15:55:51 -04:00
Mike Hommey
71623acdd6 Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Andrew Comminos
fa08c90c4f Bug 1022127 - Draw menu separators on GTK using GTK_STYLE_CLASS_SEPARATOR r=karlt
--HG--
extra : rebase_source : d74f8cccf62325e2ec315ed5501b29e109333ce2
2014-07-23 11:30:12 +12:00
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Birunthan Mohanathas
312c2bc21a Bug 815952 - Stop clearing clipboard data originating from a private window after closing private windows. r=ehsan
This reverts bug 462106.
2014-07-14 12:35:30 -07:00
Mike Conley
0630b242ba Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley
568a1bd519 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
128c4fa5bf Backed out e623938ea6c7 to fix a CLOSED TREE.
--HG--
extra : histedit_source : b4c9b387a8007748f9421df5c347b2f96e537f27
2014-07-14 12:19:23 -04:00
Mike Conley
0601d88e32 Follow-up for Bug 1002354 - remove dual GetId in nsScreenGtk injected during rebase foul-up. r=bustage-fix on a CLOSED TREE.
--HG--
extra : histedit_source : c510de9918cfd73652e9e1c278e0bee93c7fdcdc
2014-07-14 12:10:34 -04:00
Mike Conley
0610b8cac1 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Mukilan Thiyagarajan
eeac3c75e9 Bug 1000994 - Use SONAME to specify soname for libmozgtk & stubs. r=glandium
The current implementation of the solution outlined in bug 6244229
uses LDFLAGS in Makefile.in to specify the SONAME. This patch uses
the new SONAME option in moz.build to do the same, and removes the
LDFLAGS manipulation from Makefile.in.
2014-07-07 22:20:00 +02:00
Benoit Jacob
716bd91400 Bug 1035394 - Fix dangerous public destructors in widget - r=roc 2014-07-08 17:23:18 -04:00
Andrew Comminos
f6d52ec634 Bug 958868 - Add support for GDK_SCROLL_SMOOTH; r=karlt 2014-07-07 18:54:13 +09:00
Wes Kocher
b7cfc12713 Merge inbound to m-c a=merge 2014-06-27 17:40:49 -07:00
Martin Stransky
2d528d6f1c Bug 1027138 - Revert fix from Bug 984075 and fix arrow rendering by extra gtk_widget_show() call. It realizes the arrow widget and allocates it a size. r=karlt 2014-06-27 01:57:00 -04:00
Jonathan Watt
fad16fd3b4 Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
Martin Stransky
d94de51d7d Bug 1027009 - Gtk3 build with --enable-warnings-as-errors. r=karlt 2014-06-25 00:35:00 +02:00
Martin Stransky
c6ef615160 Bug 1028913 - Fix bustage when --disable-dbus is set. r=karlt 2014-06-23 07:24:00 -04:00
Martin Stransky
b3931ac60e Bug 978172 - [GTK3] Fix doorhanger border. r=karlt 2014-06-24 01:28:00 -04:00
Benoit Jacob
1b75094667 Bug 1028588 - Fix dangerous public destructors in widget/ - r=roc 2014-06-24 12:36:44 -04:00
Martin Stransky
942a1efb0f Bug 811261 - Implement WakeLockListener on Linux to disable screensaver while video is playing. r=karl 2014-06-18 06:11:00 +02:00
Jonathan Watt
f1d16eb1ff Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Mike Hommey
91c92d7db2 Bug 1027040 - Keep -L flags from MOZ_GTK*_LIBS when building gtk stub libraries. r=mshal 2014-06-19 09:06:14 +09:00
Mike Hommey
c18fc659a4 Bug 1027034 - Properly set up Gtk+3 compatibility headers. r=karlt
--HG--
rename : widget/gtk/compat/gtk/gtkenums.h => widget/gtk/compat-gtk3/gtk/gtkenums.h
2014-06-19 09:06:14 +09:00
Martin Stransky
2d61c95138 Bug 1025874 - Fix widget->style access on gtk3. r=karlt 2014-06-16 05:41:00 -04:00
Jonathan Watt
6bbe9e278c Bug 1025802 - Get rid of the Thebes backed gfxContext in the GTK widget code (Moz2D conversion). r=mattwoodrow 2014-06-17 10:37:46 +01:00
Martin Stransky
085943f54b Bug 1023004 - Fixes arrow angle rendering. r=karlt 2014-06-13 08:04:00 -04:00
Mats Palmgren
87aacdf61c Bug 427928 - part 4, Add NS_THEME_FOCUS_OUTLINE support for GTK widgets. r=roc 2014-06-14 12:48:08 +00:00
Jonathan Watt
6b3fa8dfeb Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Mike Hommey
8023119b4c Bug 1022425 - Force mozgtk stubs dependency on gtk libraries when -Wl,--as-needed is used. r=mshal 2014-06-10 16:00:55 +09:00
Mike Hommey
9a4ac9b4e2 Bug 1022117 - Add missing gdk_screen_get_number symbol to mozgtk stub. r=karlt 2014-06-10 16:00:20 +09:00
Jonathan Watt
521aba9e5d Bug 991640 follow-up to fix Linux bustage. r=red 2014-06-10 07:34:16 +01:00
Martin Stransky
de51435cc5 Bug 1013552 - [GTK3] GetThebesSurface() provides xlib surface when cairo target is not available. r=karlt 2014-06-02 03:36:00 -04:00
Robert O'Callahan
9170085906 Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Emilio Pozuelo Monfort
3a0b343ee2 Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00
Emilio Pozuelo Monfort
a74fc6c1fb Bug 624422- Add libmozgtk libraries so that libxul can use GTK+ 2 and 3. r=glandium
This is necessary for plugins when building libxul for GTK+ 3
because libxul will link against GTK+ 3 and some plugins link
against GTK+ 2, but both GTK+ libraries can't be loaded in the
same process. With this change, we have an indirection between
libxul and libgtk, named libmozgtk. plugin-container will
be modified to load libmozgtk2 in order to only have GTK+ 2
in its address space, thus enabling various plugins (e.g. flash)
on GTK+ 3 firefox.
2014-05-01 13:36:05 +02:00
Matt Woodrow
b09cc03e43 Bug 1015166 - Account for TopLeft of aBoundsRect in nsWindow::UpdateAlpha. r=ajones 2014-05-30 13:37:04 +12:00
Jim Mathies
da95e59548 Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug 2014-05-27 20:12:29 -05:00
Neil Rashbrook
9cfd58c16f Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
562904c002 Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Neil Rashbrook
12b4869c02 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Masayuki Nakano
4875f7c006 Bug 865649 part.4 Set KeyboardEvent.code value on Linux r=smaug+karlt+romaxa 2014-05-25 11:09:00 +09:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Phil Ringnalda
117945fa42 Back out a5885f4bebdb (bug 811261) for assertion failures 2014-05-19 20:22:16 -07:00
Martin Stránský ext:(%2C%20Edwin%20Flores%20%3Cedwin%40mozilla.com%3E)
c1b9236145 Bug 811261 - Implement WakeLockListener on Linux to disable screensaver while video is playing r=karl 2014-05-14 17:34:49 +12:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Robert O'Callahan
dbcb3cd658 Bug 998821. Only use XShm for drawing if XShm allocation actually succeeded. r=karlt
--HG--
extra : rebase_source : 9d0fc1b9c7b02c53674b4593eaf1cd703587a469
2014-04-22 15:11:42 +12:00
Ehsan Akhgari
7547b7f2a6 Bug 999880 - Make RetrievalContext not use mozilla::RefCounted; r=roc 2014-04-23 00:50:08 -04:00
Martin Stransky
0b062501c2 Bug 984078 - Use the same border style for all menu items. r=karlt 2014-04-22 13:59:39 -07:00
Jonathan Watt
0a0470e24e Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Jonathan Watt
10e73de9e6 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
George Wright
259f54dca7 Bug 994924 - Fix broken logic in nsWindow for DrawTarget creation when using Skia r=jrmuizel 2014-04-11 13:16:26 -04:00
Martin Stransky
6d87fa60a9 Bug 984075 - Extract arrow widget from GtkMenuButton widget instead of creating it directly which gives us proper arrow size. r=karlt 2014-04-09 02:31:00 +02:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Martin Stransky
ba6037011d Bug 982964 - [gtk3] Combo boxes have white text. r=karlt 2014-04-02 11:47:55 -04:00
Martin Stransky
f6137cb22f Bug 982964 - [gtk3] Combo boxes have white text. r=karlt 2014-04-02 11:47:55 -04:00
Viktor Stanchev
8e97dc768e Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Martin Stransky
bcf9e47ba8 Bug 982640 - Port GTK2 to GTK3 - transparent widgets, r=karlt
Some widgets in Gtk3 are transparent so force gecko
to paint underlying widget which is usually GtkWindow.
2014-03-26 10:16:38 -07:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Nathan Froyd
61a6f7901d Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
Jonathan Watt
f50a46f108 Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Matt Woodrow
007105ff82 Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano
fb0ba6cc5f Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano
8626bd713a Bug 977959 part.4 Remove nsINativeKeyBindings r=roc+karlt
--HG--
rename : widget/gtk/nsNativeKeyBindings.cpp => widget/gtk/NativeKeyBindings.cpp
rename : widget/gtk/nsNativeKeyBindings.h => widget/gtk/NativeKeyBindings.h
2014-03-14 22:13:32 +09:00
Masayuki Nakano
f2734aa16b Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Masayuki Nakano
1f5d69ab81 Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc 2014-03-14 22:13:31 +09:00
Masayuki Nakano
fd06be64c3 Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc 2014-03-14 22:13:30 +09:00
Matt Woodrow
e638200a0e Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Alex Henrie
c744fb5723 Bug 981262 - Remove GDK_space from GetDOMKeyCodeFromKeyPairs. r=masayuki 2014-03-08 00:50:19 -07:00
Mike Conley
4611b5bdb4 Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bill McCloskey
1a719f671b Bug 972728 - Invalidate more often in basic compositor (r=mattwoodrow) 2014-03-06 18:25:09 -08:00
Matt Woodrow
cf2d089996 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Masayuki Nakano
a6fb3a8959 Bug 974318 part.7 Use WidgetTextEvent::mRanges on GTK r=karlt 2014-03-04 22:48:27 +09:00
Makoto Kato
1e3167927c Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
94e82b6d5e Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
5a98fb8f83 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Ryan VanderMeulen
9ee5be5755 Merge m-c to fx-team. 2014-02-28 10:17:27 -05:00
Mike de Boer
3046afcfeb Bug 326743: add find clipboard to the list of available clipboard on OSX. r=joshmoz 2014-02-28 16:07:30 +01:00
Carsten "Tomcat" Book
152bca780f Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
2d8a640b28 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Reuben Morais
f954df12ae Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Martin Stransky
9e6ac592eb Bug 972382 - [GTK3] Theme is not loaded in other WM's (MATE, XFCE and so). r=karlt 2014-02-24 10:09:55 -05:00
Ehsan Akhgari
f1e844fd62 Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Arnaud Bienner
383bee70d3 Bug 966417 - Restore initial color when closing color picker/canceling color selection. r=karlt 2014-02-18 20:46:00 +01:00
Tom Schuster
8a286102ee Bug 966417 - Call Update from nsColorPicker on Gtk. r=karlt 2014-02-18 20:44:01 +01:00
Phil Schaf
8852ed2185 Bug 310924 - GTK: Try named cursors before defaulting to hardcoded glyphs. r=karlt 2014-02-19 11:30:08 -05:00
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Phil Ringnalda
bb47d34a53 Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js 2014-02-14 23:58:49 -08:00
Mike de Boer
2df6ea85e1 Bug 326743: add find clipboard to the list of available clipboard on OSX. r=joshmoz 2014-02-14 14:04:19 +01:00