Commit Graph

20988 Commits

Author SHA1 Message Date
Benjamin Smedberg
dfbac6a0c3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
13f4fb61ed Backed out changeset eda9709dc586 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:48:32 -04:00
Benjamin Smedberg
3a3f316c84 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
e5bc6108a6 Stupid typo during review fix for bug 461212 2008-10-28 01:03:11 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
30eacd2625 Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
dd4c950cff 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
09975e25e4 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
7f2567b670 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
19179e88b6 Bug 461327 - White list entries fix; r=dcamp sr=bzbarsky 2008-10-28 05:33:12 +01:00
Serge Gautherie
84d77d1fc8 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
827fbd6614 Merge from tracemonkey. 2008-10-27 23:18:26 -04:00
Jonathan Steele
6539dc09d5 Bug 460310 - Remove Dead Code in nsWidgetSupport.cpp/h; r+sr=roc 2008-10-28 04:16:13 +01:00
Robert Sayre
19fe34736f Merge from mozilla-central. 2008-10-27 23:10:57 -04:00
Phil Ringnalda
6be9fe2f63 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
2a195344de 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
1679cb3528 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
547f377f79 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
4153cfa0b4 Bug 454561 - disable tracing when JavaScript-Debugger is enabled. r,sr=mrbkap 2008-10-27 18:16:15 -07:00
Serge Gautherie
99e05d73fc 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
4862de1d3d 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
cd649335ba Merge mozilla-central -> tracemonkey 2008-10-27 17:19:21 -07:00
Jason Orendorff
154b1955c7 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
f118fc44e0 Bug 460947 - fsync stuff has a wrong query for expiration sites cap
r=dietrich
2008-10-27 18:52:23 -04:00
Marco Bonardo
ed77be778c Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-27 18:52:23 -04:00
Shawn Wilsher
53d9ccaa7e Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
d3792f99c1 Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
53bf616b5a Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
5c893a5e9c 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
c7e57e1cb1 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
d3d72c5b09 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
34a4755e8b 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
27bd310336 Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
e8ac5aeecb 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
866c0b3978 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
2a07d62a96 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
f6e56b6916 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
7a2e763702 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)
3fc608c2a6 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
825b607244 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
49dc58ee4e 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
47985bcf1a 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
a4d7ed2f89 Backout of bug 457864, more tests need to be fixed first 2008-10-27 22:34:56 +01:00
Gavin Sharp
7ed4660fab 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
42304f61a6 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
3b03443ff5 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
e480835f2f 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
a6d3afc9a5 Fix build breakage from 70955fd0d1ee on platforms without JS_TRACER. No bug#. 2008-10-25 09:36:58 -05:00
Jason Orendorff
9e09c98842 Bug 461549 - Traceable print and shapeOf functions for js shell. r=mrbkap. 2008-10-25 09:01:51 -05:00
David Anderson
b2a6f01baa Fixed trace-tests for isPromoteInt patch which reduced tree recompilation counts. 2008-10-25 03:35:07 -05:00