Commit Graph

57 Commits

Author SHA1 Message Date
Gijs Kruitbosch
7bb02017d4 Bug 1127394 - should be able to close single tab through tabclose button even if we said 'stay on page' initially, r=jaws 2015-01-30 19:54:37 +00:00
Gijs Kruitbosch
afab08a9f7 Bug 1103203 - rm visitLink, r=jaws 2014-11-24 15:15:40 +00:00
Boris Zbarsky
9e19b54145 Bug 913855. Fix consumers of window mediator to be more consistent in their checking for closed windows. r=dolske
Note that we can't just stop returning closed windows from the window
mediator, because some consumers (e.g. session restore) rely on seeing
closed windows in the list so they can remove them from their internal
data structures expeditiouly.
2013-09-13 17:29:51 -04:00
Boris Zbarsky
c3968d7813 Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Saurabh Anand
68a7045f60 Bug 722994 - globalOverlay.js uses global Private Browsing state to control display of a prompt; r=ehsan 2012-06-27 15:14:45 +05:30
Phil Ringnalda
2f2547a387 Back out fe2fdd5d3aae (bug 722994) for mochitest-chrome failures 2012-06-18 22:18:33 -07:00
Saurabh Anand
fb4bd379b7 Bug 722994 - globalOverlay.js uses global Private Browsing state to control display of a prompt; r=ehsan 2012-06-19 01:57:26 +05:30
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
2d7392a778 Bug 748889 - Silent a warning about an undefined @mozilla.org/privatebrowsing. r=enndeakin 2012-05-04 20:05:40 +02:00
Paul O’Shannessy
1fc71d3698 Bug 629485 - Show close window warning when closing the last window [r=gavin, a=blocking2.0:betaN+] 2011-02-07 17:50:37 -08:00
Dave Townsend
c407cb6573 Backed out changeset 405a715a4d81 from bug 502307 due to test failures 2009-08-19 10:38:09 +01:00
Ehsan Akhgari
9caca48aa2 Bug 502307 - Closing multiple tabs in the last browser window with Private Browsing enabled yields no warning regardless of preference setting (further fix); r=enndeakin,dao ui-r=faaborg 2009-08-19 11:16:08 +04:30
Ehsan Akhgari
c248efb27e Bug 506126 - globalOverlay.js is full of caller-less functions; r=enndeakin 2009-08-02 22:23:19 +04:30
Ehsan Akhgari
1e7bc06916 Bug 502307 - Closing multiple tabs in the last browser window with Private Browsing enabled yields no warning regardless of preference setting; r=enndeakin 2009-07-17 23:08:22 +04:30
Ehsan Akhgari
f9bc6c2dba Bug 502357 - closeWindow does unneeded work on Mac. r=enn 2009-07-13 19:37:29 +02:00
Magnus Melin
f4ce87eb07 Bug 490150: report what the exception was when command updating failed. r=gavin 2009-04-26 13:38:22 +03:00
93b09ca5b2 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-03-13 12:25:49 -07:00
0781141317 backing out test checkin of bug 384370 2008-03-04 14:12:27 -08:00
6da087308d TESTING - temp checkin of bug 384370 (r=mconnor) 2008-03-04 13:23:04 -08:00
9b9e2aedff backing out bug 384370 for hosation of Ts 2008-02-29 09:29:58 -08:00
4ea67490b4 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (take two, r=mano, a=beltzner) 2008-02-29 08:39:13 -08:00
083ba1ff68 backing out bug 384370, caused 25ms Ts regression on linux, and leaks on linux and mac 2008-02-27 11:05:52 -08:00
d088f39bf8 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-02-27 10:14:13 -08:00
c46c1c2951 Bug 386810, Move quit-application-granted notification to nsAppStartup::Quit, r=benjamin 2007-08-09 20:05:53 -07:00
e0012f3f45 Bug 386002, Move tryToClose calls on shutdown, r=benjamin 2007-07-16 10:55:54 -07:00
a04c47456b Bug 384907, Fix "Closing multiple tabs" warning suppression on last window on mac, r=mano 2007-06-22 14:36:32 -07:00
726e76f9ce Bug 383760, Add quit confirmation dialog, r=Mano, ui-r=beltzner 2007-06-15 11:01:25 -07:00
mozilla.mano@sent.com
9a2546bd62 Fix typo from Bug 366992(globalOverlay.js uses bogus controller algorithm). patch by Mark Banner <bugzilla@standard8.demon.co.uk>, r=gavin. 2007-03-04 21:35:03 +00:00
mozilla.mano@sent.com
49fd7064d3 Bug 366992 - globalOverlay.js uses bogus controller algorithm. r=gavin. 2007-02-14 23:55:20 +00:00
mozilla.mano@sent.com
2f9d02177f Bug 353033 - regression: Edit->Delete and Edit->Switch Text Direction are always enabled. r=mconnor. 2006-09-18 19:47:49 +00:00
gavin@gavinsharp.com
c93eeccb7e Bug 350205: visitLink is browser specific (fix links in Thunderbird's About dialog), r=mano 2006-08-27 00:42:55 +00:00
gavin@gavinsharp.com
9e0898587e Bug 349841: use the window watcher to launch the links from the about dialog instead of relying on window.opener, to ensure that the links work regardless of where the about dialog was opened from, r=mano 2006-08-25 16:34:34 +00:00
martijn.martijn@gmail.com
495975c872 Bug 343165 - Make debug.js appear everywhere, patch by Dave Townsend (Mossop), r=mconnor 2006-07-19 12:06:54 +00:00
roc+@cs.cmu.edu
6831bb6020 Bug 331522. By default, do not allow keyword searches when navigating to URLs; modify browser UI code to enable keyword searches only on selected URL input mechanisms (e.g., typed into the URL bar). r+sr=darin,r=mconnor 2006-04-03 23:17:51 +00:00
annie.sullivan@gmail.com
25d09daf6e Fixes several bugs with open in tabs: makes menus set selection in command events in case DOMMenuItemActive doesn't get sent, only shows Open in Tabs menuitem if there are two or more items in the menu, and respects browser.tabs.loadFolderAndReplace and browser.tabs.loadBookmarksInBackground prefs. Also moves #include of debug.js to browser.js as this was causing JavaScript errors on the mac. r=ben@mozilla.org sr=darin@meer.net bug=330130 2006-03-15 19:59:09 +00:00
joe@retrovirus.com
b1ecd5619d Moved Ben's JavaScript ASSERT function to be NS_ASSERT in
toolkit/content/debug.js

debug.js is now included by globalOverlay.js, but if that's not in your
scope you can just #include debug.js directly.

NS_ASSERT() shows a dialog box containing a stack trace when it's called
with a condition that isn't true.  The dialog box will be suppressed in
final builds, but in nightlies and alphas, it's useful for encouraging
bug submissions.  To disable the dialogs, set XUL_ASSERT_PROMPT=0 in
your environment.

bug=327349
r=darin@meer.net, gavin.sharp@gmail.com
2006-03-14 01:56:09 +00:00
scott@scott-macgregor.org
c91eeb1fce I've been checking in files with broken line endings. Try to fix the damage by removing the ctrl-m's 2006-02-22 01:21:54 +00:00
scott@scott-macgregor.org
fd6207aae8 Bug #317633 --> add some missing shims to address some thunderbird regressions
caused by 317633.

sr=ben
2006-02-01 02:29:01 +00:00
beng@bengoodger.com
f05c577626 317633 - undo/redo for Places. Make sure the various transactions work better - e.g. folder undo should save a list of its child nodes for restoration. Also ensure that bookmark edits done in the places tab aren't undone when another tab is selected and Ctrl+Z hit by implementing a transaction manager in the browser window that filters out places-tab transactions if the places tab isn't selected. Make the goDo*Command utility functions in globalOverlay.js consult the window looking for applicable controllers, not just the focused element. r=sullivan. Also 320085 - search menu keybindings for places: allow find bar to be turned off using a state variable, which prevents the opening of the strip but fires an event which other applications like places can listen to: 'find-activated'. 2006-01-31 18:00:06 +00:00
bryner@brianryner.com
f06aaba1fd Make sure goQuitApplication always returns a value (bug 285588). Patch by gautheri@noos.fr, r+sr=me. 2005-03-10 19:33:25 +00:00
ben@bengoodger.com
210147bf5a 274712 - new options dialog 2005-02-25 09:07:58 +00:00
mozilla.mano@sent.com
8c41b5bba6 the last checkin was bug 242850 2005-02-20 23:10:50 +00:00
mozilla.mano@sent.com
3746bb4db3 [Mac] Trying to close the Download Manager window (when it's the last open window) asks to confirm quit. r=mconnor 2005-02-20 22:58:48 +00:00
bugzilla@arlen.demon.co.uk
8cb357c0de Bug 237745 split app-startup from core appshell functionality
Reland parts of patch following aviary branch landing - already reviewed
2004-12-01 17:26:48 +00:00
bugzilla@arlen.demon.co.uk
98fc5d6778 Bug 261790 port various changes betwen xpfe/toolkit
Relanding patch after aviary branch landing - already reviewed
2004-12-01 16:21:02 +00:00
ben@bengoodger.com
866b07bca0 aviary branch landing - some of the stuff in toolkit/content 2004-12-01 00:21:43 +00:00
bsmedberg@covad.net
6621a74685 Bug 237745 (app-startup) - split off the pieces of appshellservice that have to do with the startup sequence into a new (forked, temporarily) app-startup service r+sr=darin+biesi+Neil 2004-10-29 19:28:38 +00:00
cbiesinger@web.de
4cacf3c985 Bug 261790 port various changes betwen xpfe/toolkit
r=mconnor sr=neil
2004-09-30 14:31:42 +00:00
bsmedberg@covad.net
7a1a6c1620 Bug 239929 - Porting semi-single-profile from the aviary1.0 branch to the trunk. This is using the argv-restart method right now (a child process). This will be changing to an xpcom-restart process soon. Code by me, Ben Goodger, Darin, Scott M., M. Kaply, and others. xpfe/appshell code r=danm sr=brendan (bug 244106). 2004-06-17 21:23:51 +00:00
ben@bengoodger.com
2858efc11c Firebird is now called Firefox 2004-02-11 00:56:17 +00:00