Commit Graph

274 Commits

Author SHA1 Message Date
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Justin Lebar
e04f57a7d9 Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
--HG--
extra : rebase_source : 8e14b506f53861315e8e96bc8f775f141cd8e8dd
2012-07-30 12:20:42 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
foudfou
c3b89d6fed Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc 2012-07-24 21:35:32 -04:00
Ehsan Akhgari
018ce5e374 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpfe/appshell parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 8e8ef6aedcaf1a5fd74e2805101868915a363522
2012-07-23 17:28:06 -04:00
Justin Lebar
9fbc467024 Bug 775676 - Fix leak in nsWebShellWindow. r=roc
After nsWebShellWindow::Destroy clears mSPTimer, it calls
nsXULWindow::Destroy, which runs script.  That script might cause us to
call nsWebShellWindow::SetPersistenceTimer.

If that happens, SetPersistenceTimer will create mSPTimer (it was nulled
out during nsWebShellWindow::Destroy) and addref this.  But there is no
corresponding release.

Let this be a lesson to all ye who try to be clever with manual
addref/release!
2012-07-23 10:40:36 -04:00
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mounir Lamouri
fe2bf13acd Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
196cc9b6ff Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Mounir Lamouri
d9542ba6f0 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
ea02e3ec30 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Ehsan Akhgari
82448a9e95 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (xpfe/appshell parts); blanket-r=bzbarsky 2012-07-19 00:49:48 -04:00
Mounir Lamouri
3ae2b86ae9 Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking 2012-07-15 18:37:31 -07:00
Justin Lebar
2f213f2b17 Bug 764718 - Part 1: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
--HG--
extra : rebase_source : c5f99247921df912d2369757756998c037a0957a
2012-07-09 15:50:05 -04:00
Matt Brubeck
b680a76a9f Back out 8e47e74e3578 and 82f24178d2cb (bug 764718) because of test failure 2012-07-06 16:27:58 -07:00
Justin Lebar
fb0d8f6051 Bug 764718 - Part 1: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
--HG--
extra : rebase_source : 8fd652c9d651727a140bece71e1b63269bae9b40
2012-07-06 13:35:38 -04:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ed Morley
91815d3c91 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
bed51a96eb Bug 764718 - Part 2: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz 2012-06-21 21:17:52 -04:00
Ed Morley
76aca6769f Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
62ba6afb68 Bug 764718 - Part 2: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz 2012-06-21 11:58:49 -04:00
Justin Lebar
13518ec124 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
David Zbarsky
c0a5fd9c88 Bug 762801: fix bustage r=bustage 2012-06-09 15:54:12 -07:00
David Zbarsky
710953df6a Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst 2012-06-09 15:15:12 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Myk Melez
3298891e22 bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl 2012-04-19 00:39:52 -07:00
Myk Melez
253337cae3 bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Dão Gottwald
a0c99babc6 merge backout 2012-03-23 16:58:48 +01:00
Dão Gottwald
370316e0da Backed out changeset bf13c2253055 2012-03-23 16:58:27 +01:00
Paul O’Shannessy
2e876cdd8f Bug 714911 - Stop persisting sizemode=fullscreen [r=enn]
--HG--
extra : rebase_source : d94bb978f3d35c90659fca78df83d9bbca1795a6
2012-03-20 16:21:14 -07:00
Paul O’Shannessy
8adfd23472 Bug 639705 (Lion Full Screen) Part 1: Initial support for fullscreenbutton in XUL [r=enn]
--HG--
extra : rebase_source : 03d0b24570546fb8513b513e2c804145e47b3433
2012-03-20 16:21:14 -07:00
Geoff Lankow
296627a8de Bug 710978 - Title attribute of a window is not updated in nsXULWindow::SetTitle; r=Neil 2011-12-20 00:47:18 +13:00
Cameron McCormack
6f87b94b52 Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-17 14:47:39 +11:00
Marco Bonardo
152ac8a010 Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Cameron McCormack
0079b02b78 Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-08 11:44:45 +11:00
Philipp Hartwig
6258b42a70 Bug 512529 - Automatically leave fullscreen mode when it seems appropriate; r=neil 2012-02-06 18:17:32 +00:00
Jeff Walden
f73124604d Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Mike Hommey
3966d0498f Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek 2011-11-18 08:54:27 +01:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Neil Deakin
c3263d92a4 Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc 2011-11-08 14:59:07 -05:00
Neil Deakin
5548813f50 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Ehsan Akhgari
2a602a5685 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
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Neil Deakin
a613d39bb5 Bug 694227 nsIBaseWindow::blurSuppression is unusued, r-bsmedbeg,sr=bz 2011-10-14 14:11:22 -04:00
Neil Deakin
8ae6a125aa Bug 694225, nsWebShellWindow::GetNamedDOMDoc can be removed and simplified, r-bsmedberg 2011-10-14 09:06:41 -04:00
Neil Deakin
731458c274 Bug 694224, remove appshell argument from various widget creation methods, r=roc 2011-10-14 09:06:39 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mike Hommey
cf39bdb1ee Bug 686435 - Add a telemetry probe on nsAppShellService::CreateTopLevelWindow. r=taras 2011-09-23 14:30:49 +02:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Ms2ger
5067dcabc0 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
c046ca0ed7 Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger
d6c9f62e8c Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage 2011-08-14 19:52:28 +02:00
Ms2ger
3980c93ae7 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Rafael Ávila de Espíndola
9ca4b64c4b Bug 678222 - Fix build with clang and c++0x; r=roc
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Jonas Sicking
5491caaaf4 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Luke Wagner
17beadfb85 Bug 672971 - Remove SetSafeJSContext (r=bz,bent)
--HG--
extra : rebase_source : f7eb1dcd3bc8ae1bfda0a89d044c0da9621d99e9
2011-07-27 16:15:50 -07:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Boris Zbarsky
c8375f12ac Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Marco Bonardo
26bd9f0a1b Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange 2011-07-11 10:27:58 -07:00
Boris Zbarsky
eaeea8e796 Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Jezreel Ng
2bf8023121 Bug 668711 - Specified window dimensions in openDialog aren't respected if sizeMode is persisted and set to maximized. r=neil 2011-07-05 10:12:05 +02:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jim Mathies
e7b2166941 merge backout 2011-06-21 10:33:22 -05:00
Jim Mathies
dd7a8d23c5 Backout of bug 580564 due to regression bug 663586. 2011-06-21 10:33:03 -05:00
Jim Mathies
8b8b0985de Bug 580564 - Fix for broken alt-space sys menu restore when in full screen mode. r=neil 2011-05-27 17:35:45 -05:00
Masayuki Nakano
ff87003c3a Bug 664969 xpfe should use mozilla::Preferences r=neil 2011-06-20 12:00:16 +09:00
Jim Mathies
404a33904f Bug 632748 - Insure the sizemode attribute is synced to the document element while chrome is loading. r=neil 2011-05-27 10:19:58 -05:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Graeme McCutcheon
0dde3841a2 Bug 656131. Typo in nsWebShellWindow::ConstrainToOpenerScreen. r=felipe 2011-05-10 22:26:48 +01:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Mounir Lamouri
1669495b78 Bug 565541 (1/2) - Add targetableShellCount to nsIDocShellTreeOwner. r=bz
Basically, this will return a the number of tabs when nsIDocShellTreeOwner is
a nsContentTreeOwner.

--HG--
extra : rebase_source : b998c4bd81fc95a099dbcd246f4a3df85acd861e
2011-04-14 14:27:53 -07:00
Ed Morley
63b47895a7 Bug 654718 - Remove WinCE code from xpfe; r=khuey 2011-05-12 10:50:16 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Justin Lebar
5bc75b222e Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
L. David Baron
b2e59587e8 Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Olli.Pettay@gmail.com
187550a3fc Fix bug 635776. r=bz, a=jst 2011-03-02 21:43:09 -08:00
neil@parkwaycc.co.uk
87f8eb4e9f Bug 563643 - [Debug MacOSX SeaMonkey] leak test: "ASSERTION: Want to fire mutation events, but it's not safe" since bug 429175 landing. ("all" other test suites too); (Av1b) With 2 extra ifdefs as agreed on IRC.
r=Olli.Pettay a-2.0=jonas.
2011-01-25 19:13:43 +01:00
Markus Stange
e39984ef94 Bug 538242 - Always keep nsCocoaWindow's mBounds up to date. r+a=josh 2010-12-21 12:42:47 +01:00
Felipe Gomes
c635e3f490 Bug 610057. Sizemode attribute is incorrect in windows which are not set to persist the attribute (e.g. popup windows). r=neil a=blocking-final 2010-12-20 13:59:48 -08:00
timeless@mozdev.org
a967e02c61 Bug 615359 CheckForFullscreenWindow is only used ifdef XP_WIN
r=neil

--HG--
extra : rebase_source : c9d1bc55b9f4dee9a17e4e58f73fecfbf73a1104
2010-12-04 11:06:53 +01:00
Daniel Holbert
cb035548ba Bug 613292: Reorder nsXULWindow constructor init list to fix build warning. r=jmathies a=bsmedberg 2010-11-30 21:27:30 -08:00
Margaret Leibovic
6a27d3fb58 Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Robert O'Callahan
6bb7a02bbf Backed out changeset ecd1948992eb 2010-10-29 16:07:46 +13:00