Commit Graph

674 Commits

Author SHA1 Message Date
Justin Lebar
44c2b316f2 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Chris Jones
d0e275f782 Bug 783134: Work around crashing on startup with fullscreen widgets. r=roc 2012-08-15 17:54:18 -07:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
7382e749d4 Bug 743975 - add a getpresshell method to the widget listener, r=tn 2012-08-15 14:52:42 -04:00
Neil Deakin
0413e44a55 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
193db1ca6c Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
fae99fd13d Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
34ac541af0 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
David Zbarsky
fe804d085c [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Justin Lebar
83da4d548c Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
Also, in nsWindowMediator's shutdown observer, release all of our nsXULWindow references after we release mListLock.  Without this, nsXULWindow's destructor can call back into nsWindowMediator, try to acquire mListLock, and deadlock.
2012-08-02 10:38:43 -04:00
Matt Brubeck
a02b12cf93 Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check 2012-07-30 11:56:48 -07:00
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
Benjamin Peterson
18035474af Bug 772963: remove empty parameter name. r=Neil DONTBUILD for m-c land
(since not used by Firefox/B2G/Fennec)
2012-07-11 11:32:00 -04: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
Serge Gautherie
5a7268484a Bug 747668. (Hv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.textValue. r=neil.
DONTBUILD (npotb).
2012-05-30 20:06:17 +02:00
Serge Gautherie
b00a5791b3 Bug 747668. (Gv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.popupOpen(). r=neil.
DONTBUILD (npotb).
2012-05-26 23:40:28 +02:00
Serge Gautherie
f80f25e24f Bug 747668. (Fv1) XPFE autocomplete.xml: Move selectBy() into nsIAutoCompletePopup section. r=neil.
DONTBUILD (npotb, trivial).
2012-05-26 16:30:31 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie
752168bdfd Bug 747668. (Ev1) XPFE autocomplete.xml: Move code into searchParam. r=neil.
DONTBUILD (a=npotb).
2012-05-02 15:39:24 +02:00
Serge Gautherie
0dbc5b990b Bug 747668. (Dv1) XPFE autocomplete.xml: Move code into onTextReverted(). r=neil.
DONTBUILD (npotb).
2012-04-27 11:51:15 +02:00
Serge Gautherie
de447b66aa Bug 747668. (Cv1) XPFE autocomplete.xml: Regroup code into onSearchComplete(). r=neil.
DONTBUILD (npotb).
2012-04-27 00:52:25 +02:00
Serge Gautherie
eb05465ea4 Bug 747668. (Bv1) Port |Bug 418712 - nsIAutoCompleteInput should fire an event when a search begins| to SeaMonkey. r=neil.
DONTBUILD (a=npotb).
2012-04-23 01:28:55 +02:00
Serge Gautherie
7db3a7b38d Bug 747668. (Av1a) XPFE autocomplete.xml: Regroup nsIAutoCompleteInput properties, Fix some nits. r=neil.
DONTBUILD (a=npotb).
2012-04-22 10:11:11 +02: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
Neil Rashbrook
18e6645a14 Bug 727954 Delay autocomplete of pasted value r=IanNDONTBUILD 2012-03-04 15:13:20 +00:00
Neil Rashbrook
7185e77cef Bug 732738 textbox should only execute inline onfocus and onblur event handlers once r=smaug 2012-03-04 14:57:45 +00: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
Serge Gautherie
6a4f5e1fed Bug 707039. (Dv4) XPFE autocomplete.xml: Adjust the direction of the (content) autocomplete popup list based on the textbox direction. r=neil.
DONTBUILD (NPODB).
2012-02-05 00:07:40 +01:00
Serge Gautherie
89e19cebee Bug 707039. (Bv1) XPFE autocomplete.xml: Rename resultsPopup to popup. r=neil.
DONTBUILD (NPOMCB).
2012-01-05 04:07:19 +01:00
Serge Gautherie
f3ea2897d0 Bug 707039. (Av1) XPFE autocomplete.xml: Rename openResultPopup()/closeResultPopup() to openPopup()/closePopup(). r=neil.
DONTBUILD (NPOMCB).
2012-01-05 04:06:19 +01: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
Mark Banner
6e18f4f795 Fix comm-central app bustage from bug 696498 - change the depth of the makefiles to account for being generated from the comm-central build system now that the old xpfe autocomplete files are no longer generated within the mozilla-central part of the build system. rs=Neil over irc. NPOTFFB DONTBUILD 2011-12-01 15:26:29 +00: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
Matheus Kerschbaum
5c79060626 Bug 597789 - Remove --disable-rdf; r=ted 2011-11-08 11:42:54 +00: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
Neil Rashbrook
f52c1b4cae Bug 685457 Don't set attributes until after accessing the box object r=bienvenu
NPTODB DONTBUILD
2011-09-24 18:15:47 +01: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
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02: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
Serge Gautherie
4fe3a53ae6 Bug 642420 - (Bv1) XPFE autocomplete.xml: restore explicit <children includes="menupopup"/>, but at start instead of at end.
r=neil.
2011-07-04 14:28:04 +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
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02: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
L. David Baron
bf6088c149 Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky 2011-04-22 18:36:24 -07: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
Serge Gautherie
b906ab8434 Bug 228448 - Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'; (Gv1b) /xpfe/components/directory/nsDirectoryViewer.cpp.
r=dean_tessman.
2011-04-14 17:25:00 +02:00
Neil Rashbrook
e566c2d061 Bug 642404 <autocomplete disablehistory="false"> displays incorrectly on Linux; switch SeaMonkey (and Thunderbird) to use enablehistory="true" instead r=Standard8
DONTBUILD
2011-04-09 23:13:04 +01:00
Peter Van der Beken
afdf1551f1 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01: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
Neil Rashbrook
81382c55a6 Bug 614330 maxrows="10" doesn't work in SeaMonkey's search bar r=IanN
NPOTB DONTBUILD
2011-03-23 22:02:38 +00:00
Serge Gautherie
5cbff2e207 Bug 642420 - XPFE autocomplete.xml: investigate removing explicit <children includes="menupopup"/>; (Av1) Just remove it, Update a11y test_combobox.xul.
f=surkov.alexander r=neil (a=NPOTDB).
2011-03-21 14:43:04 +01:00
Olli.Pettay@gmail.com
187550a3fc Fix bug 635776. r=bz, a=jst 2011-03-02 21:43:09 -08:00
Neil Rashbrook
cf81e1529e Bug 632433 Fix for "An error occurred - attempt to run compile-and-go script on a cleared scope" r=IanN a=beltzner NPOTB
DONTBUILD
2011-02-24 20:01:13 +00:00
stefanh@inbox.com
fe590402cc Bug 635404 - Let a few more attributes inherit to the html input field in xpfe's autocomplete.xml. r=Neil, a=shaver over IRC (NPOTB). 2011-02-19 18:00:27 +01: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
Philip Chee
9bb224136c Bug 406396 xpfe "history-dropmarker" binding makes invalid assumption about menupop children. r=Neil a=NPOTB DONTBUILD 2011-01-17 12:43:15 +08: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
Margaret Leibovic
f74adedb2c 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
Ehsan Akhgari
df16cbf877 Bug 525222 - XML errors possible on file:// listings; r=bzbarsky a=jst
--HG--
extra : rebase_source : 343aa3a018f007db8336e4c221fef27981e5bc45
2010-10-12 18:30:42 -04:00
Jim Mathies
c3c489b28b Merge, a=blocking. 2010-10-15 08:52:16 -05:00
Jim Mathies
46550f0437 Bug 574690 - Backout changeset 7124132f0506 due to regressions. a=blocking. 2010-10-15 08:50:09 -05:00
Mike Hommey
951e982b50 Bug 349985 - Move about: handling to nsAboutRedirector and re-enable release notes link in about:. r=bzbarsky,sr=dveditz,a=jst 2010-10-15 12:28:54 +02:00
Felipe Gomes
093d5b5f12 Bug 593307. Ensure centerscreen windows are initially created in a valid screen position. r=jst,jmathies a=blocking-final 2010-10-08 15:51:50 -03:00
Mark Banner
ea96d78857 Bug 597465: Support linking app components into libxul. r=khuey a=blocking 2010-09-21 21:10:06 -04:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Jim Mathies
54b4be54a0 Bug 574638 - Change default background color of widgets from grey to white. r=neil, a=blocking-betaN 2010-09-08 10:21:56 -05:00
Joe Drew
b034b812e1 Bug 591150 - Move MOZ_ACCELERATED usage to widget instantiation. r=bas,roc a=blocking2.0:beta6+ 2010-09-03 14:08:23 -04:00
Jim Mathies
b9b7d9a393 Bug 574690 - Reorder size and position events in nsXULWindow so windows are positioned before they are shown. r=bz, r=neil 2010-07-15 22:39:31 -05:00
Jim Mathies
40cf61b306 merge 2010-07-15 21:47:52 -05:00
Jim Mathies
f529587759 Backing out 'Call Show if our nsIXULWindow will not' patch from bug 574690 due to various regressions. r=bz 2010-07-15 21:47:14 -05:00
Bas Schouten
998523d4ec Bug 574690: Don't have DocumentViewer call show on its window if the XULWindow will do this once it's done loading chrome. r=roc 2010-06-28 06:24:52 +02:00
Jim Mathies
3f234789d8 Bug 574599 - Parent windows should have the clip children style to avoid parent level paints when children invalidate. r=robarnold. 2010-06-25 17:50:36 -05:00
Jim Mathies
ddcebcddee Bug 575195 - Send size mode events to dom from web shell window, and insure new windows open on top of full screen windows normally. r=neil. 2010-08-26 23:44:01 -05:00
Jim Mathies
da75b9c3d9 Bug 513162 - Add support for 'chromemargin' property on XUL windows. r=smaug. 2010-06-24 21:01:07 -05:00
Jesse Ruderman
f04ef428cb Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Joe Drew
98f411e39e Bug 388195 - Remove gopher support. r=jduell,gavin sr=bz 2010-04-16 17:05:47 -04:00
Neil Rashbrook
de9f87ba5d Bug 351235 <a href='foo' target='bar'> and window.open('foo', 'bar') should not be treated identically by browser.link.restriction r=bzbarsky 2010-07-05 13:03:07 +01:00
Neil Rashbrook
b1df39ca7b Bug 575740 Switch xpfe autocomplete to the new component registration r=bienvenu 2010-07-04 11:50:17 +01:00
Markus Stange
dfe957ea33 Merge backout of changeset ad7f9821597e, bug 573973. 2010-07-02 08:23:34 +02:00
Markus Stange
277a5f67fb Back out changeset ad7f9821597e (bug 573973, calling SetDrawsInTitlebar on nsXULWindow load) because it caused bug 576394. 2010-07-02 08:22:54 +02:00
Markus Stange
d08453bb3d Bug 573973 - Handle the drawintitlebar attribute in nsXULWindow, too. r=Neil
--HG--
extra : rebase_source : ba2a3384b23d7f697fbe20cda11ab83b2575ba4d
2010-07-01 18:40:39 +02:00
Oleg Romashin
c8dc3d90c4 Bug 575962 - top window accelerated ENV variable. r=roc
--HG--
extra : rebase_source : 53f4400af98bcf06d0c01a13edc814a50f571435
2010-07-01 17:45:14 -04:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Mats Palmgren
aedafe052d Bug 530070. r=jmathies 2010-06-02 15:02:05 +02:00
Mats Palmgren
ee279c96dc Backout bug 530070 due to Tinderbox orange. 2010-05-21 18:33:28 +02:00
Mats Palmgren
21ecbae3c1 Bug 530070. r=jmathies 2010-05-21 15:52:07 +02:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Mark Banner
7b32d87a40 Bug 555658 Move Find Service and intl charset-menu code to toolkit. r=dtownsend
--HG--
rename : xpfe/components/find/Makefile.in => toolkit/components/find/Makefile.in
rename : xpfe/components/find/public/Makefile.in => toolkit/components/find/public/Makefile.in
rename : xpfe/components/find/public/nsIFindService.idl => toolkit/components/find/public/nsIFindService.idl
rename : xpfe/components/find/src/Makefile.in => toolkit/components/find/src/Makefile.in
rename : xpfe/components/find/src/nsFindService.cpp => toolkit/components/find/src/nsFindService.cpp
rename : xpfe/components/find/src/nsFindService.h => toolkit/components/find/src/nsFindService.h
rename : xpfe/components/intl/Makefile.in => toolkit/components/intl/Makefile.in
rename : xpfe/components/intl/nsCharsetMenu.cpp => toolkit/components/intl/nsCharsetMenu.cpp
rename : xpfe/components/intl/nsCharsetMenu.h => toolkit/components/intl/nsCharsetMenu.h
2010-04-29 19:35:39 +01:00
Neil Rashbrook
d0e868038e Bug 561116 Autocomplete controller expects to be able to process ESC key r=KaiRo 2010-04-25 12:03:34 +01:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Bas Schouten
256635a5cf Bug 556027: Propagate 'accelerated' attribute from nsXULWindow. r=roc 2010-03-31 05:03:00 +02:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Mark Banner
be4c9ad69d Bug 552222 Drop MOZ_XPFE_COMPONENTS / --disable-xpfe-components. r=ted 2010-03-23 20:33:51 +00:00
Mark Banner
19a8937fab Bug 552487 Drop unused nsISearchContext.idl r=Neil 2010-03-18 07:38:16 +00:00
Mark Banner
4296bc6a4a Bug 550145 NS_APPSTARTUP_CONTRACTID should exist in nsToolkitCompsCID.h and not nsXPFEComponentsCID.h (kill nsXPFEComponentsCID.h). r=benjamin 2010-03-05 12:11:55 +00:00
Mark Banner
4c0ca313e2 Bug 531256 Move nsBrowserStatusFilter from xpfe/browser to toolkit/components/statusfilter. r=dtownsend,sr=Neil
--HG--
rename : xpfe/browser/src/Makefile.in => toolkit/components/statusfilter/Makefile.in
rename : xpfe/browser/src/nsBrowserStatusFilter.cpp => toolkit/components/statusfilter/nsBrowserStatusFilter.cpp
rename : xpfe/browser/src/nsBrowserStatusFilter.h => toolkit/components/statusfilter/nsBrowserStatusFilter.h
2010-03-03 11:19:57 +00:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Philip Chee
f5e5270d72 Bug 537098 - |this.mInputElt is null| triggered by FireFTP extension; Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem.
r+sr=neil.
2010-01-05 07:09:53 +01:00
Simon Montagu
081cdecd70 Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 2, set the right-to-left flags on right-to-left windows, r=enndeakin 2009-12-21 12:22:09 +02:00
Saint Wesonga
f0b03e5ff2 Bug 274088 - alwaysRaised/alwaysLowered window.open feature incorrectly disallowed to content script. r=neil
--HG--
extra : rebase_source : ba682a68f728cb3c9e7ca9b3e4395e868d5198a5
2009-12-18 20:42:55 +01:00
Jae-Seong Lee-Russo
366e630601 Bug 530392 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /xpfe/, r=roc 2009-12-13 09:32:10 -08:00
Olli Pettay
10141fcf45 Fixing bug 516113. Don't let new windows open up after we've started XPCOM shutdown. r=bsmedberg, a=blocking1.9.2+ 2009-11-20 14:25:11 -08:00
Daniel Holbert
ea6749c426 Bug 509828 followup: Reorder nsXULWindow constructor's initializer list, to fix build warning. r=bz 2009-11-12 09:23:31 -08:00
Makoto Kato
7f01df6468 Bug 492123. Prevent crash when a XUL window is closed while it's being shown for the first time. r=roc 2009-11-11 11:29:29 +01:00
Markus Stange
e0520f2a3a Bug 517396 - Moving a window shouldn't un-maximize it on Mac. r=neil, r=roc
--HG--
extra : rebase_source : 1a27add4c6dad5495707518b643e9636522bac8a
2009-11-02 20:10:07 +01:00
timeless@mozdev.org
4c6c0e18b5 Bug 514638 windowmediator should let go of its windows at xpcom-shutdown
r=bs
2009-10-17 08:20:08 +02:00
Nochum Sossonko
2ff3eba8b6 Bug 509828 - Specifying left and top features in openWindow doesn't work when screenX and screenY attributes are set on the <window> element and are set to be persisted. r=bz 2009-10-16 11:03:20 +02:00
Taras Glek
45c73c60d8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Markus Stange
635704a6bc Bug 489045 - nsXULWindow::GetParentNativeWindow crashes if GetParentWidget returns null. r=roc 2009-10-09 20:05:08 +13:00
Taras Glek
c7f069ab70 Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00