Commit Graph

198663 Commits

Author SHA1 Message Date
Benjamin Smedberg
555c5a8f1c Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
75a0f8c504 Windows-only build bustage from bug 461576 - use nsresult instead of NS_IMETHODIMP 2008-10-28 01:50:19 -04:00
Benjamin Smedberg
c095aaae1a Stupid typo during review fix for bug 461212 2008-10-28 01:03:11 -04:00
Benjamin Smedberg
87c2e7ef23 Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
2127dcfc13 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
d79f9af814 Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
717ae8d8b9 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Honza Bambas
796eaec927 Bug 455871 - [mac] Regression: drag & drop is not working at all after some-time of browser usage; fix, v2 + colorpicker test update; r+sr=roc 2008-10-28 05:44:29 +01:00
Honza Bambas
f7ccc681d9 Bug 461327 - White list entries fix; r=dcamp sr=bzbarsky 2008-10-28 05:33:12 +01:00
Serge Gautherie
1c141f8172 Disable failing new test from
Bug 461512 - nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset)
2008-10-28 04:42:55 +01:00
Robert Sayre
b1d2219a45 Merge from tracemonkey. 2008-10-27 23:18:26 -04:00
Jonathan Steele
64532f729b Bug 460310 - Remove Dead Code in nsWidgetSupport.cpp/h; r+sr=roc 2008-10-28 04:16:13 +01:00
Robert Sayre
13a3ebc584 Merge from mozilla-central. 2008-10-27 23:10:57 -04:00
Phil Ringnalda
013d4ad380 Bug 450015 - Remove support for extensions=all, since this is exactly why we can't have nice things, r=ted 2008-10-27 19:53:34 -07:00
Masayuki Nakano
275ce7e82a Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc 2008-10-28 11:05:38 +09:00
Masayuki Nakano
c93ba89fab Bug 453617 right-click on windowless plugins shows Firefox context menu r=enndeakin, sr=neil 2008-10-28 10:59:17 +09:00
Masayuki Nakano
cb1b72ca34 Bug 247161 scrollbar arrows rendered incorrectly with <meta http-equiv="MSThemeCompatible" content="no"/> r=enndeakin, sr=neil 2008-10-28 10:50:21 +09:00
Graydon Hoare
3587811583 Bug 454561 - disable tracing when JavaScript-Debugger is enabled. r,sr=mrbkap 2008-10-27 18:16:15 -07:00
Serge Gautherie
b4df0bfb06 Bug 228102 - </intl/strres/tests/strres-test.xul>: "This file needs a rewrite"; (Bv1) <intl.pkg>; r=smontagu 2008-10-28 01:54:35 +01:00
Benjamin Smedberg
7a0477cfbf Bug 461186 - nsTextControlFrame should not implement nsIPhonetic: there's only one caller, and that caller can use nsITextControlFrame directly. This is one less frame that implements an nsISupports-derived interface. r+sr=roc 2008-10-27 20:27:55 -04:00
Blake Kaplan
33fb8c523a Merge mozilla-central -> tracemonkey 2008-10-27 17:19:21 -07:00
Jason Orendorff
e883d15e6d Bug 456384 - TM: v8-richards.js benchmark opens a print dialog in browser with JIT enabled. r=brendan 2008-10-27 16:15:32 -07:00
Marco Bonardo
d06f0e2486 Bug 460947 - fsync stuff has a wrong query for expiration sites cap
r=dietrich
2008-10-27 18:52:23 -04:00
Marco Bonardo
bf1db1a23a Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-27 18:52:23 -04:00
Shawn Wilsher
a776db5391 Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
ba67e3dc04 Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
2452632409 Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
09427291bc Bug 459787 - remove mDBUrlToUrlResult
This changeset removes an unused query that was in the startup path.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
3673b405f4 Bug 459781 - create our string bundle in a more sane way
This changeset only creates the string bundle when we need it, and only in one
place as opposed to two separate places.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
cf3da2eccf Bug 459776 - date formatter is unused
This changeset removes a small part of code that places does in startup that is
not used or needed.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
c2c58ede5b Bug 459773 - Creating a collation is expensive
This makes a lazy getter for getting our collation saving us about 3% of places
startup time.
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
1e25281a87 Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
636252beee Bug 459491 - nsPlacesDBFlush could use async queries instead of background thread
r=sdwilsh

--HG--
rename : toolkit/components/places/tests/background/head_background.js => toolkit/components/places/tests/sync/head_sync.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_modifyBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_modifyBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js
rename : toolkit/components/places/tests/background/test_multiple_bookmarks_around_sync.js => toolkit/components/places/tests/sync/test_multiple_bookmarks_around_sync.js
rename : toolkit/components/places/tests/background/test_multiple_visits_around_sync.js => toolkit/components/places/tests/sync/test_multiple_visits_around_sync.js
2008-10-27 18:52:21 -04:00
Shawn Wilsher
51ee94d2ad Bug 459315 - Wrap favicon work in a transaction
This wraps a series of statements that run on the main thread to reduce the
number of fsyncs that end up happening.
r=dietrich
2008-10-27 18:52:21 -04:00
Shawn Wilsher
fe1e270944 Bug 459299 - nsNavHistory::SetPageTitleInternal is slow
This caches a statement that is created any time a pages title changes.  The
creation of the statement took roughly 66% of the functions execution time
according to shark.
It also removes a transaction that was not needed in this method.
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
3d0d41ee56 Bug 456029 - optimize the temp table triggers
This changeset makes the triggers work much faster which should greatly reduce
the timings of adding a visit and a bookmark.
r=sdwilsh
2008-10-27 18:52:21 -04:00
Shawn Wilsher
3f60a72d69 Bug 450290 - Sync the temp tables to the permanent tables.
This changeset adds code that is run at app-startup that will flush out changes
to the temporary tables into the permanent ones.  For moz_places, this is done
whenever we sync moz_historyvisits and when we add or modify a bookmark.  For
moz_historyvisits, this is done on a timer controlled by the preference
places.syncDBTableIntervalInSecs.
Changeset includes full test coverage for the above behaviors.
r=dietrich
r=Mak77
2008-10-27 18:52:20 -04:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
febae1a322 Bug 449640 - Modify the places backend to use the temporary tables &
Bug 450705 - Optimize the query changes from the temp table rewrite
This changeset merges patches from two bugs to actually use the temporary tables
created for places.
Bug 449640 patch by Shawn Wilsher <sdwilsh@shawnwilsher.com>
r=dietrich, r=Mak77
Bug 450705 patch by Marco Bonardo <mak77@bonardo.net>
r=sdwilsh, r=dietrich, r=Mardak
2008-10-27 18:52:20 -04:00
Shawn Wilsher
7d6c83e21f Bug 449086 - Create temporary tables for frequently used places tables
This changeset creates two temporary tables that will be used when inserting
data into moz_places and moz_historyvisits.  This will reduce the number of
writes as well as the number of fsyncs that happen.
r=dietrich
2008-10-27 18:52:19 -04:00
Dão Gottwald
e785f2ee9a Bug 439133 - "Show Image" is poorly labeled, can be confused with "View Image". ui-r=faaborg, r=mano 2008-10-27 23:47:01 +01:00
Dão Gottwald
f43cc80f2f Bug 461631 - tabbox.xml#tabs shouldn't determine the parent tabbox over and over again. r=enndeakin 2008-10-27 23:42:20 +01:00
Markus Stange
8045ba0e36 Backout of bug 457864, more tests need to be fixed first 2008-10-27 22:34:56 +01:00
Gavin Sharp
f4d07ac65b Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc 2008-10-27 16:16:23 -04:00
Johnathan Nightingale
152954b24c Add escape & appeal buttons to phishing/malware clickthrough bar. r=gavin r=tony ui-r=beltzner b=441624 2008-10-27 15:36:46 -04:00
Markus Stange
a07c850ca4 Bug 457864 - ScrollTo doesn't know NS_SCROLL_PROPERTY_ALWAYS_BLIT, so remove it. r+sr=roc 2008-10-27 20:27:08 +01:00
Markus Stange
5feaf5f6ed Bug 457864 - Fix tests to not rely on mouse wheel scrolling being synchronous, r=smaug 2008-10-27 20:24:33 +01:00
Jason Orendorff
f4e62c5fc9 Fix build breakage from 70955fd0d1ee on platforms without JS_TRACER. No bug#. 2008-10-25 09:36:58 -05:00
Jason Orendorff
eab8153596 Bug 461549 - Traceable print and shapeOf functions for js shell. r=mrbkap. 2008-10-25 09:01:51 -05:00
David Anderson
eaa361bcec Fixed trace-tests for isPromoteInt patch which reduced tree recompilation counts. 2008-10-25 03:35:07 -05:00
Andreas Gal
2519a8db6c Merge. 2008-10-25 01:04:47 -07:00