foudfou
3a23c1b328
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02:00
Andrew Quartey
6745ad3f2c
Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
David Bienvenu
5e80789314
Bug 679626 crash in nsIDOMWindowInternal::GetDocShell with signature pointing to nsASDOMWindowEnumerator::GetNext - try to avoid windows with no docshells. r=bz
2012-10-02 09:06:53 +01:00
Ms2ger
1dd5e5bd0b
Bug 795403 - Cleanup nsXULWindow::GetWindowDOMElement; r=bz
2012-10-02 10:24:10 +02:00
bobbyholley+bmo@gmail.com
b380ac3fcc
Bug 793370 - crash in nsWebShellWindow::Initialize, r=smaug+bz
2012-09-30 22:10:37 +03:00
Jonathan Kew
2cf5d23c2c
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Isaac Aggrey
e496b51126
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Bobby Holley
5508d46bf2
Bug 789773 - Eagerly create the about:blank viewer in nsWebShellWindow::Initialize. r=bz
2012-09-18 12:16:05 +02:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Bobby Holley
06c95f674b
Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst
...
This means that we get the correct principal on the window before sending notifying
any consumers about the window's creation.
2012-09-05 11:32:06 -07:00
Mike Hommey
e3c782edaa
Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek
2012-09-05 16:42:09 +02:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Matt Brubeck
5e47d4412f
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
dc05aa94eb
Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst
...
This means that we get the correct principal on the window before sending notifying
any consumers about the window's creation.
2012-08-23 16:44:52 -07:00
Justin Lebar
7649f5cc25
Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz
2012-08-22 18:27:04 -07:00
Ehsan Akhgari
0fd9123eac
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
4cb1a910f5
Bug 783134: Work around crashing on startup with fullscreen widgets. r=roc
2012-08-15 17:54:18 -07:00
Neil Deakin
279f4c393a
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
3693d8013c
Bug 743975 - add a getpresshell method to the widget listener, r=tn
2012-08-15 14:52:42 -04:00
Neil Deakin
3e40b0b005
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
18bbbb0ab6
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Neil Deakin
767abfdb5a
Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug
2012-08-15 14:52:40 -04:00
Neil Deakin
ebcdb10b44
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
d50e4a7565
[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
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Justin Lebar
6b927406f2
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
ea82649c0d
Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check
2012-07-30 11:56:48 -07:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Justin Lebar
7922591dc1
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
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
foudfou
09a2090991
Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc
2012-07-24 21:35:32 -04:00
Ehsan Akhgari
f6d456051b
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
5806e06d8b
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
fd9b625002
Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger
2012-07-23 01:19:08 -04:00
Mounir Lamouri
397bc64735
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
3b5b986d0b
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
d6d9b5f0b7
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
430f93c039
Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger
2012-07-19 04:57:50 -04:00
Ed Morley
80af77da9d
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
8cfd0a9baa
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
e8d304cfca
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
5199742d8f
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
Benjamin Peterson
39028ab29a
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
07f15b3b1b
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
cb4ba1a61f
Back out 8e47e74e3578 and 82f24178d2cb (bug 764718) because of test failure
2012-07-06 16:27:58 -07:00
Justin Lebar
f9baaa6487
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
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ed Morley
0ba9aa86c4
Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures
2012-06-22 11:04:47 +01:00
Justin Lebar
b077e8cf76
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
40934fb818
Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures
2012-06-21 18:18:40 +01:00
Justin Lebar
4d3b9f1351
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
d19ebc4677
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
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
David Zbarsky
73eaad78fb
Bug 762801: fix bustage r=bustage
2012-06-09 15:54:12 -07:00
David Zbarsky
249b4fb9fa
Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst
2012-06-09 15:15:12 -07:00
Serge Gautherie
f8d6daffe4
Bug 747668. (Hv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.textValue. r=neil.
...
DONTBUILD (npotb).
2012-05-30 20:06:17 +02:00
Serge Gautherie
8ad3f29211
Bug 747668. (Gv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.popupOpen(). r=neil.
...
DONTBUILD (npotb).
2012-05-26 23:40:28 +02:00
Serge Gautherie
c7e6fbbd9a
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
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Serge Gautherie
cab5dd1553
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
51f81f7dac
Bug 747668. (Dv1) XPFE autocomplete.xml: Move code into onTextReverted(). r=neil.
...
DONTBUILD (npotb).
2012-04-27 11:51:15 +02:00
Serge Gautherie
b584765c50
Bug 747668. (Cv1) XPFE autocomplete.xml: Regroup code into onSearchComplete(). r=neil.
...
DONTBUILD (npotb).
2012-04-27 00:52:25 +02:00
Serge Gautherie
2df5738ccc
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
ca0786a33b
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
fd7a6dd8f7
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
0e8cb8852d
bug 725408 - implement WebappRT launcher/shell; r=bsmedberg
2012-04-17 07:11:53 -07:00
Dão Gottwald
3bef02aec5
merge backout
2012-03-23 16:58:48 +01:00
Dão Gottwald
e62ab0f6aa
Backed out changeset bf13c2253055
2012-03-23 16:58:27 +01:00
Paul O’Shannessy
233e097c36
Bug 714911 - Stop persisting sizemode=fullscreen [r=enn]
...
--HG--
extra : rebase_source : d94bb978f3d35c90659fca78df83d9bbca1795a6
2012-03-20 16:21:14 -07:00
Paul O’Shannessy
4485c4b107
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
6f5dca5b12
Bug 727954 Delay autocomplete of pasted value r=IanNDONTBUILD
2012-03-04 15:13:20 +00:00
Neil Rashbrook
02dd7706ab
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
59152fec8a
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
407103f6cc
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
faa6279f01
Backout 7a8b935ab596 (bug 674370) for Paint regression
2012-02-08 09:23:40 +01:00
Cameron McCormack
2cca66143e
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
a4638df94b
Bug 512529 - Automatically leave fullscreen mode when it seems appropriate; r=neil
2012-02-06 18:17:32 +00:00
Serge Gautherie
b7e4461d1f
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
851a7607f3
Bug 707039. (Bv1) XPFE autocomplete.xml: Rename resultsPopup to popup. r=neil.
...
DONTBUILD (NPOMCB).
2012-01-05 04:07:19 +01:00
Serge Gautherie
30611703dd
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
a0ca3d8af2
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Mark Banner
dd9f23ae14
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
cfe6b4b12d
Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek
2011-11-18 08:54:27 +01:00
Oonishi Atsushi
ebc58fb880
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
9b80fd4f04
Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc
2011-11-08 14:59:07 -05:00
Matheus Kerschbaum
61bd0eb1c9
Bug 597789 - Remove --disable-rdf; r=ted
2011-11-08 11:42:54 +00:00
Neil Deakin
b9741fe3c6
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