Charles Kerr
b107d3f440
remove icons from messageboxes on gtk
...
Icons are deprecated in GtkMessageBoxes as of GTK+ 3.12. The GNOME HIG no longer shows icons in example dialogs; see https://developer.gnome.org/hig/stable/dialogs.html.en and https://developer.gnome.org/gtk3/stable/GtkMessageDialog.html
2018-02-09 17:53:02 -06:00
Charles Kerr
ffff400236
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 17:45:34 -06:00
Charles Kerr
e5eeab6e29
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 09:57:39 -06:00
shelley vohr
ca34978e73
add app.setLocale() ( #11469 )
...
* infrastructure for setLocale via klang
* add documentation for setLocale
* add test for setLocale
* fix spec
* add spec and update docs
* fix carriage feeds on windows
* SetLocale() sets LC_ALL on Linux
* in SetLocale() on Linux, use g_setenv()
* fix tyop: '#ifdef OSX_POSIX'
* make the linter happy
* improvements from review
2018-02-08 08:26:37 -06:00
Felix Rieseberg
6c6fa3190f
Fix PRE_RELEASE_VERSION (on master) ( #11844 )
...
* 🔧 Fix PRE_RELEASE_VERSION
* 🔧 Fix spacing
* 🔧 Fix this, but harder
2018-02-06 16:33:51 -06:00
Shelley Vohr
5b901d9f82
revert TOOLKIT_VIEWS check change
2018-02-06 13:34:27 -05:00
Shelley Vohr
3f6d2eb3ab
remove extraneous variable
2018-02-06 09:27:30 -05:00
Shelley Vohr
80aa399f8a
updates to mac enable method
2018-02-06 09:16:22 -05:00
Shelley Vohr
131aa38768
typo fix
2018-02-06 08:30:33 -05:00
Shelley Vohr
faf08b2b77
add documentation
2018-02-06 08:28:41 -05:00
Shelley Vohr
ae632193c0
migrate to virtual void and start mac impl
2018-02-06 08:21:53 -05:00
Shelley Vohr
97589bbe33
first pass at api method to enable window
2018-02-05 14:49:59 -05:00
Cheng Zhao
42fa018277
Merge pull request #11492 from timmyhadwen/master
...
Fixed Bluetooth chooser bug. Closes #11399
2018-02-05 20:44:42 +09:00
Samuel Attard
87c2f0f14f
Fix build and ensure no breaking change
2018-02-05 17:29:59 +09:00
Samuel Attard
72464a6db5
Fix implicit appUserModelId set
2018-02-05 17:29:59 +09:00
Cheng Zhao
9337959f51
The tryToTerminateApp is not really needed
2018-02-05 16:25:50 +09:00
Cheng Zhao
983e1b1a70
Implement shutdown event for macOS
2018-02-05 16:20:57 +09:00
Cheng Zhao
c470e758cc
Remove the AllocateSystemIOPorts call
...
It is no longer needed and it is crashing.
2018-02-05 16:15:49 +09:00
Cheng Zhao
109e2c760f
Do not use virtual function to request shutdown
...
Would make it easier to port to other platforms.
2018-02-05 15:50:55 +09:00
Cheng Zhao
8ae3d9dd0b
Simplify the public PowerObserver interface
2018-02-05 15:28:58 +09:00
Thiago de Arruda
e0e7dd2a8f
fixup! Implement powerMonitor 'shutdown' event for Linux.
2018-02-05 15:21:31 +09:00
Thiago de Arruda
f0e210360f
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
45763c0afb
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
56b53e71aa
Implement powerMonitor 'shutdown' event for Linux.
...
The event is emitted when the OS is rebooting/shutting down, and allows
an electron app to call `e.preventDefault()` in order to delay shutdown
and exit cleanly.
2018-02-05 15:21:31 +09:00
Charles Kerr
e51c78f10c
fix oops
...
because compiling before pushing is for wusses
2018-01-31 22:25:57 -07:00
Charles Kerr
1106cde687
fix oops
2018-01-31 17:40:11 -07:00
Charles Kerr
09a2c80443
use std::binary_search to search switch blacklist
2018-01-31 17:36:06 -07:00
Charles Kerr
8405fe763e
Make a copy-paste recipe for rebuilding the blacklist
2018-01-31 17:35:34 -07:00
Samuel Attard
ce361a12e3
Use case-insensitive switch comparisons
2018-01-31 17:35:09 -07:00
shelley vohr
f24eab74d8
Merge pull request #11726 from electron/faster-compare-blacklist
...
Make use of sorted list to speed up searching
2018-01-30 09:46:38 -05:00
shelley vohr
12d4f984f3
Merge pull request #11754 from electron/menu-events
...
Add and document menu events
2018-01-29 12:40:57 -05:00
Shelley Vohr
bef4c84799
turn class into observer
2018-01-27 10:40:50 -05:00
Shelley Vohr
3399480304
first pass at menu event emission
2018-01-27 09:35:58 -05:00
Cheng Zhao
b5d5eca224
Make use of sorted order to speed up searching
2018-01-25 14:42:56 +09:00
Cheng Zhao
b9c0bab8f1
Merge pull request #11704 from brenca/fix-10678
...
Remove WS_EX_COMPOSITED style from window (master)
2018-01-24 14:44:52 +09:00
Cheng Zhao
0207aebad1
Merge pull request #11664 from loc/use_directx_capturer_win
...
Use same screen capturer settings for thumbnails as getUserMedia
2018-01-24 14:38:32 +09:00
Aleš Pergl
868e792572
Make run-as-node mode optional ( #11701 )
2018-01-23 18:17:15 -05:00
Heilig Benedek
50690d25f1
Remove WS_EX_COMPOSITED style from window
2018-01-23 20:14:34 +01:00
Aleš Pergl
39554566cc
Allow IO while constructing an absolute path (prevents DCHECK failure) ( #11697 )
2018-01-23 10:25:01 -05:00
Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Nitish Sakhawalkar
2b4cc0a525
Fix macos Full Screen Toggle menu item label ( #11633 )
2018-01-19 09:27:36 -05:00
Heilig Benedek
f36fda3f5d
don't dereference tooltip_controller if it's null
2018-01-18 20:35:19 +01:00
Heilig Benedek
8d8b8c590d
update calls to use new namespaces
2018-01-18 15:23:38 +01:00
Heilig Benedek
5e198d9dc6
add todo comment
2018-01-18 15:23:38 +01:00
Heilig Benedek
8233890e39
lint fix
2018-01-18 15:23:38 +01:00
Heilig Benedek
c6c618acdb
explicitly hide tooltip on window deactivation
2018-01-18 15:23:38 +01:00
Andy Locascio
ae65c26469
fix lint
2018-01-17 17:04:57 -08:00
Andy Locascio
8253e50e9c
use same settings for screen thumbnails as chrome does webrtc capturing
...
Following along from http://crrev.com/2961193002 : make sure the
thumbnail capturers initialize with the same settings as the capturer
from a getUserMedia request does. Otherwise, there is no guarentee that the
sources on Windows will match.
2018-01-17 15:55:10 -08:00
shelley vohr
4f0e1826e5
properly check checkbox state on callback ( #11658 )
2018-01-17 08:51:49 -05:00
Nitish Sakhawalkar
28f1abcb05
Change macos app termination process
2018-01-17 15:27:11 +09:00