Commit Graph

46 Commits

Author SHA1 Message Date
Benoit Girard
b8ed7adb1e Bug 1278325 - Hook exit to catch early 3rd party exits in crash reports. r=ted
MozReview-Commit-ID: 6x6DLcqqkAe
2016-06-07 15:58:14 -04:00
Oliver Henshaw
685b41c84c Bug 694570 - (4/4) - Drop unused Xatom.h include. r=karlt
Introduced by 12f125711253a30972cd2618ad9d8041a1796e0c for N900 support, which
was removed by 9d925d047ba50e5312ccab8b48b6b5237bb4e35b
2016-06-20 08:17:00 +02:00
Oliver Henshaw
94b214a494 Bug 694570 - (3/4) - Stop using libgnome and libgnomeui on Linux. r=acomminos
(Based on original patch by Chris Coulson.)

Replace session management through libgnome with direct use of libSM and
libICE. This allows xsmp session restore on gtk2 and gtk3 builds.

Changes in behaviour:
- It now only sends the "session-save" notification when the save style
is SmSaveLocal or SmSaveBoth. Saving internal state with a save style of
SmSaveGlobal is actually incorrect. This means that Firefox now
distinguishes between a normal session exit and a session exit with
session saving enabled.
- As "quit-application-requested" might pop up a dialog, it only does
  this if the interact style is not SmInteractStyleNone
- "quit-application-requested" is only sent after sending
  SmcInteractRequest and receiving an interact message.
- It defers closing the connection to the session manager until
  the destructor, i.e after the "web-workers-shutdown" async shutdown
  phase completes. This means that firefox shouldn't be killed too early
  and lose data (*).

* It still might be killed prematurely if it takes too long to quit and
  the session manager decides to timeout, but that's another story.
2016-06-20 08:13:00 +02:00
Oliver Henshaw
d3185f133e Bug 694570 - (1/4) - Change modelines to those recommended by coding style. r=karlt
Changed emacs modelines; added vi modelines.
2016-06-20 08:09:00 +02:00
Carsten "Tomcat" Book
86621ff560 Backed out changeset 3cc32bfdf504 (bug 694570) for causing dt1 memory leaks 2016-05-30 15:05:16 +02:00
Carsten "Tomcat" Book
f6399ed759 Backed out changeset 1cc3aabd11e8 (bug 694570) 2016-05-30 15:05:02 +02:00
Oliver Henshaw
226faf834e Bug 694570 (2/2) - Stop using libgnome and libgnomeui on Linux. r=acomminos
(Based on original patch by Chris Coulson.)

Replace session management through libgnome with direct use of libSM and
libICE. This allows xsmp session restore on gtk2 and gtk3 builds.

Changes in behaviour:
- It now only sends the "session-save" notification when the save style
is SmSaveLocal or SmSaveBoth. Saving internal state with a save style of
SmSaveGlobal is actually incorrect. This means that Firefox now
distinguishes between a normal session exit and a session exit with
session saving enabled.
- As "quit-application-requested" might pop up a dialog, it only does
  this if the interact style is not SmInteractStyleNone
- "quit-application-requested" is only sent after sending
  SmcInteractRequest and receiving an interact message.
- It defers closing the connection to the session manager until
  the destructor, i.e after the "web-workers-shutdown" async shutdown
  phase completes. This means that firefox shouldn't be killed too early
  and lose data (*).

* It still might be killed prematurely if it takes too long to quit and
  the session manager decides to timeout, but that's another story.
2016-05-27 10:52:00 +02:00
Oliver Henshaw
ffd59d737f Bug 694570 (1/2) - Change modelines to those recommended by coding style. r=karlt
Changed emacs modelines; added vi modelines.
2016-05-20 05:19:00 +02:00
Mike Hommey
a6687b10da Bug 1138295 - Don't define unused types and static variable when building with Gtk+3. r=karlt 2015-03-04 14:39:37 +09:00
Birunthan Mohanathas
b902f0393c Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Adrian Lungu
83a5dd05ec Bug 849204 - Linux geolocation: Init dbus_threads from the main thread. r=karlt 2013-08-21 03:03:16 -07:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Martin Stransky
f251e19d8a Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ms2ger
26b7c93961 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Oleg Romashin
cd2543115f Bug 622063 - Make Fennec-Gtk compiling on Maemo6 r=dougt a=approval2.0 2011-01-05 15:48:16 +02:00
Mark Finkle
028a33692c Bug 232691 - replace nsString() nsAutoString() and friends with EmptyC?String() (Maemo only bustage fix) [r=bz] 2010-05-18 13:41:42 -04:00
Edmund Wong
db777c4911 Bug 232691 - replace nsString() nsAutoString() and friends with EmptyC?String(). r=jonas 2010-05-18 09:50:14 +02:00
Mitchell Field
033ca6df32 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mark Finkle
5a21ca9a57 Bug 557642 - An option should be added to disable auto-rotation [r=dougt] 2010-04-07 23:01:56 -04:00
Mark Finkle
b0c457196a Bug 541015 - Support rotating between portrait and landscape on N900 [r=karlt] 2010-04-01 09:58:42 -04:00
Wolfgang Rosenauer
0f848c393e Bug 547673 - Fix reading freed memory in XSMP handling. r=bsmedberg 2010-03-05 22:56:40 +01:00
Doug Turner
879a42d6c1 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Wolfgang Rosenauer
d66b2ebc7c Bug 508986 - XSMP session restore doesn't work. r=bsmedberg, r=dietrich 2010-02-06 19:28:20 +01:00
Mark Finkle
7901289e9d Bug 533017 - Bring Fennec to the top when clicking on it from the hildon desktop [r=stuart] 2009-12-10 17:00:19 -05:00
Mark Finkle
c96da52dfa Bug 525701: X-Osso-Service doesn't match Vendor.Name in application.ini [r=dougt] 2009-11-01 17:13:01 -05:00
Christian Persch
037d3d0256 Bug 399161 - "only call gnome_program_init if there is no GnomeProgram yet" [r=bsmedberg] 2009-09-06 17:52:23 -05:00
Martin Stránský
79c26aa58a Bug 453689 - "Firefox needs to register the proper name with session management for restart" (change "MOZILLA_APP_LAUNCHER" -> "MOZ_APP_LAUNCHER") [r=bsmedberg] 2009-07-23 09:27:09 -07:00
Martin Stránský
abd548628e Bug 453689. Allow customizable executable name for relaunching via GNOME session management. r=bsmedberg 2009-06-24 21:07:49 +12:00
Doug Turner
b74f950c98 Bug 472548 - Improves the nsIdleService on Maemo. r=gijskruitbosch, sr=stuart 2009-02-25 10:45:42 -08:00
Doug Turner
e46df5fb4d Bug 452485. wrong check for oom during hardward callback. r=stuart 2008-08-27 06:36:57 -07:00
Doug Turner
b7f98dce8b bug 450467. on OSSO, use vendor and app name when calling osso_init. r=bsmedberg 2008-08-12 23:11:00 -07:00
Vladimir Vukicevic
e2bcac7e6e [dfb,422221] Gtk/DirectFB misc build stuff 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
0e839a4c79 Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
4e6b9f6726 [dfb,422221] Gtk/DirectFB misc build stuff 2008-08-06 13:48:55 -07:00
e9db34b99a Fixes bugs 446089, 445267. adds a nsIdleService for OSSO and exposes osso functionality. This is a linux only change. r=stuart 2008-07-25 14:34:30 -07:00
Doug Turner
fa51446b98 Bug 445924. Fennec (XULRunner) should be using osso_initialize / osso_deinitialize. r=bsmedberg 2008-07-18 11:17:49 -07:00
ad8bed6caa Bug 418126 - "Add runtime requirement support for Linux" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a=blocking1.9+] 2008-02-21 02:55:06 -08:00
d34f933363 Bug 262258 - "GNOME session support broken ("save current setup")" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=gavin r=bsmedberg a1.9=schrep] 2008-02-07 01:28:43 -08:00
c46c1c2951 Bug 386810, Move quit-application-granted notification to nsAppStartup::Quit, r=benjamin 2007-08-09 20:05:53 -07:00
a9a801e3fd Bug 388608 Accessible Hierarchy broken on Unix
r=benjamin
2007-07-24 23:29:28 -07:00
1b22935f7b Bug 93789, Support Xsmp, r=benjamin 2007-07-16 19:32:14 -07:00