Граф коммитов

261 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Trevor Saunders d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari 71ce70204a Bug 1061253 - Fix more bad implicit constructors in widget; r=roc 2014-09-02 09:46:06 -04:00
Gijs Kruitbosch d719c39ad6 Bug 1025616 - fix -moz-grab cursor on GTK to not use hand1, r=karlt 2014-08-22 08:04:10 +02:00
Alexander Seleznev 53c607e010 Bug 803633 - Add basic support for new scrollbar behavior in GTK+ [Part 3]. r=mstange 2014-08-13 06:02:00 -04:00
Alexander Seleznev 84487d075a Bug 803633 - Add basic support for new scrollbar behavior in GTK+ [Part 1]. r=mstange, r=karlt 2014-08-10 16:05:51 +07:00
Debkanya Mazumder 75b60c6a05 Bug 738221 - Part 2: Replace uses of nsCOMPtr<nsIAccessibilityService> accService = do_GetService(@mozilla.org/accessibilityService;1). r=tbsaunde 2014-07-28 11:43:00 -04:00
Mike Hommey d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Masayuki Nakano d9a2d921e1 Bug 1046101 part.17 Rename NS_SIMPLE_GESTURE_EVENT to eSimpleGestureEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano 2865bbac55 Bug 1046101 part.14 Rename NS_WHEEL_EVENT to eWheelEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano eaf5518352 Bug 1046101 part.13 Rename NS_MOUSE_SCROLL_EVENT to eMouseScrollEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano fb7f2d78af Bug 1046101 part.12 Rename NS_DRAG_EVENT to eDragEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano 5a96c29b49 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano 00f048e7cd Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Nathan Froyd 12c76f15f7 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 db65b34b46 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 95063176fa 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 7a15018557 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 622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Birunthan Mohanathas c8a0322529 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 5f892c8286 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 64b781e2f3 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley 1e3e0c9c00 Backed out e623938ea6c7 to fix a CLOSED TREE.
--HG--
extra : histedit_source : b4c9b387a8007748f9421df5c347b2f96e537f27
2014-07-14 12:19:23 -04:00
Mike Conley 53b48d65d2 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 78e56ed33a 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 a7a4978f0d 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 8637f5e8fb Bug 1035394 - Fix dangerous public destructors in widget - r=roc 2014-07-08 17:23:18 -04:00
Andrew Comminos f7ea09908e Bug 958868 - Add support for GDK_SCROLL_SMOOTH; r=karlt 2014-07-07 18:54:13 +09:00
Wes Kocher be05307be5 Merge inbound to m-c a=merge 2014-06-27 17:40:49 -07:00
Martin Stransky 16f4e817d8 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 90194127fd Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
Martin Stransky d5acde004a Bug 1027009 - Gtk3 build with --enable-warnings-as-errors. r=karlt 2014-06-25 00:35:00 +02:00
Martin Stransky 3ec3da8b15 Bug 1028913 - Fix bustage when --disable-dbus is set. r=karlt 2014-06-23 07:24:00 -04:00
Martin Stransky 592956bbf2 Bug 978172 - [GTK3] Fix doorhanger border. r=karlt 2014-06-24 01:28:00 -04:00
Benoit Jacob 30a15f5822 Bug 1028588 - Fix dangerous public destructors in widget/ - r=roc 2014-06-24 12:36:44 -04:00
Martin Stransky 030fb4e888 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 ef224664db 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 7b86e059f2 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 6cda6cc6b3 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 66215a1088 Bug 1025874 - Fix widget->style access on gtk3. r=karlt 2014-06-16 05:41:00 -04:00
Jonathan Watt 684a6bdf1d 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 2a1c77e607 Bug 1023004 - Fixes arrow angle rendering. r=karlt 2014-06-13 08:04:00 -04:00
Mats Palmgren 811ebd88de 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 3d9e321469 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 b9b256610a 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 76ea60cbd1 Bug 1022117 - Add missing gdk_screen_get_number symbol to mozgtk stub. r=karlt 2014-06-10 16:00:20 +09:00
Jonathan Watt 30d175a3d1 Bug 991640 follow-up to fix Linux bustage. r=red 2014-06-10 07:34:16 +01:00
Martin Stransky 364c9717d2 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 cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Emilio Pozuelo Monfort 5f055ea8d8 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 3062b0f182 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 e4b76a2cd8 Bug 1015166 - Account for TopLeft of aBoundsRect in nsWindow::UpdateAlpha. r=ajones 2014-05-30 13:37:04 +12:00
Jim Mathies e88a91f7f4 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 ef8d375d0b 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 7ed88d413a Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas d9e420fc7c 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 71828ecc1c 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 bac7425e13 Bug 865649 part.4 Set KeyboardEvent.code value on Linux r=smaug+karlt+romaxa 2014-05-25 11:09:00 +09:00
Birunthan Mohanathas 952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas 59b969f7f4 Bug 869836 - Part 8: Use `Append('c')` instead of `Append("c")`. r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Phil Ringnalda 588e376d82 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) 8fcc868a64 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 34b67bca76 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Birunthan Mohanathas 5f1fde8824 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 ea9b693845 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 e83a63f806 Bug 999880 - Make RetrievalContext not use mozilla::RefCounted; r=roc 2014-04-23 00:50:08 -04:00
Martin Stransky 00f0b8ed2f Bug 984078 - Use the same border style for all menu items. r=karlt 2014-04-22 13:59:39 -07:00
Jonathan Watt 200e95e9eb 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 6b18c742cc 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 6d68487619 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 e2c84baad6 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 3cc4e99fc0 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 070a505ea0 Bug 982964 - [gtk3] Combo boxes have white text. r=karlt 2014-04-02 11:47:55 -04:00
Martin Stransky bb24b38f4e Bug 982964 - [gtk3] Combo boxes have white text. r=karlt 2014-04-02 11:47:55 -04:00
Viktor Stanchev ffd378ba44 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 6f60fb4cf1 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 382114ad8c 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 73447b07b9 Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
Jonathan Watt cddedd8d2b Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Matt Woodrow 0cb3a2793a Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano 2cb29d75ec Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano 3e7755472a 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 0ae5a1bafc Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Masayuki Nakano e8b3f28d26 Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc 2014-03-14 22:13:31 +09:00
Masayuki Nakano 2778cc48dc 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 0304720ba9 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 d6752592d4 Bug 981262 - Remove GDK_space from GetDOMKeyCodeFromKeyPairs. r=masayuki 2014-03-08 00:50:19 -07:00
Mike Conley e5ef2f1eee Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bill McCloskey f3e08fea6f Bug 972728 - Invalidate more often in basic compositor (r=mattwoodrow) 2014-03-06 18:25:09 -08:00
Matt Woodrow 205af94a59 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 771c4a292f Bug 974318 part.7 Use WidgetTextEvent::mRanges on GTK r=karlt 2014-03-04 22:48:27 +09:00
Makoto Kato b051059a2f Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato 3a637833dd Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato 8471094535 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Ryan VanderMeulen 659fc9449a Merge m-c to fx-team. 2014-02-28 10:17:27 -05:00
Mike de Boer 3b5ec7db6a 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 88049146b5 Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato 0cbf66c2db Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00