Commit Graph

229 Commits

Author SHA1 Message Date
Swapnil R Patil
87c071cbdc Bug 1085428 - Replaced do_log_info with do_print. r=mak 2015-01-30 22:36:34 +01:00
Alex Bardas
4a6732a321 Bug 530209 - Improve search suggestions ui for locationbar prefs. r=mak 2014-11-12 08:16:00 -05:00
Marco Bonardo
a427a4acec Bug 1068009 - Implement the async bookmarking API (tests), rs=mano 2014-10-23 16:44:41 +02:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shu-yu Guo
320f4e1440 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Marco Bonardo
2c9d46a300 bug 970291 - Remove BookmarkJSONUtils.serializeNodeAsJSONToOutputStream. r=mano 2014-04-14 12:00:11 +02:00
Marco Bonardo
31eb1ae673 Bug 983571 - browser.bookmarks.autoExportHTML = true no longer works. r=Yoric 2014-03-25 17:25:58 +01:00
Marco Bonardo
9bd8bc602c Backout 0469cf95fbfe (bug 983571) cause didn't mean to land it yet. 2014-03-22 15:43:20 +01:00
Marco Bonardo
f2ab276e4d Bug 983571 - browser.bookmarks.autoExportHTML = true no longer works. r=Yoric 2014-03-22 14:26:52 +01:00
Marina Samuel
2b53eb62d4 Bug 961587: Only create Windows 8 Touch smart bookmark once a user has intialized their Metro bookmark list. r=mbrubeck, r=mak77 2014-03-10 12:53:19 -04:00
Jim Mathies
3efc8a683a Bug 969831 - Use the new feature level check for desktop browser 'switch to metro' ux elements. r=msamuel 2014-02-28 07:37:31 -06:00
Marco Bonardo
efc6b43f8d Bug 824433 - Bookmarks backup takes a long time to write out on shutdown. r=mano 2014-02-04 14:43:20 +01:00
Marina Samuel
25f5738d76 Bug 945842: Show Metro bookmarks folder in Windows 8 only. r=bbondy 2013-12-10 13:42:16 -05:00
Marina Samuel
cf3516efe4 Bug 939092 - update test for new bookmark code. r=bbondy 2013-11-26 11:30:34 -05:00
Honza Bambas
e3021733ad Bug 931383 - nsICacheEntryOpenCallback is not defined in pageInfo.js, test_clearHistory_shutdown.js, r=dao 2013-11-06 16:59:05 +01:00
Dustin J. Mitchell
c44b505650 Bug 925458 - Fix test_browserGlue_shutdown.js to not fail most of the time. r=mak 2013-10-10 15:23:01 -04:00
Raymond Lee
f861035356 Bug 859695 - OS.File should be adopted in PlacesBackups.jsm and PlacesUtils.jsm. r=mak 2013-10-07 14:52:08 +08:00
Gregory Szorc
ed68c2482b Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Honza Bambas
ea8ec4777e Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Raymond Lee
7b07fe5baf Bug 818593 - Add file size to bookmarks restore UI. r=mak 2013-07-31 22:51:09 +08:00
Marco Bonardo
a29d30f453 bug 887404 - Allow test_browserGlue_distribution.js to run parallel to other tests.
r=gavin
2013-07-05 18:44:18 +02:00
Raymond Lee
c1167acc4f Bug 846644 - Use asynchronous getCharsetForURI in PlacesUtils.jsm. r=mak 2013-06-19 00:50:22 +08:00
Jeff Walden
bb39a16a0e Bug 794323 - Remove the legacy JSON parsing mode, now that Firefox session store code doesn't need it. r=luke for the JS bits, r=jlebar for the DOM bits, r=mak77 for the browser/toolkit bits
--HG--
extra : rebase_source : b7a422eb52fe8e435143dfcc435d56e4886859e6
2013-05-23 15:28:31 -07:00
Marcos Aruj
ae0083f4e5 Bug 860625 - Use asynchronous getCharsetForURI in BookmarkJSONUtils.jsm. r=mak 2013-05-28 14:17:31 +08:00
Mike Hommey
3cc31cbb39 Bug 842334 - Move distribution/ back to the installation directory. r=bsmedberg,r=gavin 2013-05-11 20:14:58 +02:00
Gavin Sharp
763124291c Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
9b3a4e3071 Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange. 2013-05-02 21:20:08 -04:00
Gavin Sharp
52927e0751 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Raymond Lee
1cce48e69f Bug 852034 - Replace restoreBookmarksFromJSONFile with importFromFile. r=mano 2013-04-17 13:36:02 +08:00
Ryan VanderMeulen
e0ba069546 Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Neil Deakin
1931d66d4d Bug 566746 - main test for asynchronous form history module FormHistory.jsm and changes to notification test, r=mak 2013-04-11 04:01:49 -04:00
Mike Hommey
640e79f848 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Marco Bonardo
e7a888df87 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Raymond Lee
50c193452b Bug 820764 - Stop using addvisit() in browser tests r=mak77 2013-01-25 12:55:22 +08:00
Gregory Szorc
9e63161b8c Bug 819033 - Part 0: Remove references to private xpcshell variables; r=paolo 2012-12-11 10:53:24 -08:00
Paolo Amadini
6dc2df3e0e Bug 775495 - Replace waitForClearHistory and waitForAsyncUpdates with versions that return promises, and remove waitForFrecency. r=mak 2012-11-11 14:01:49 +01:00
Michal Novotny
596010fc99 Bug 737615 - Remove use of synchronous cache API from unit tests - browser tests, r=bsmith 2012-07-11 11:18:13 +02:00
Asaf Romano
ff2265239e Bug 748569 - Fix few migration regressions (reset profile feature is broken - bug 748047, bookmarks.html not imported during migration - bug 738263, default-browser detection during migration is completely broken and few more minor issues). r=mak 2012-05-28 12:43:59 +03:00
Marco Bonardo
bef0f6ea46 Bug 753205 - Add back separators support to bookmarks HTML import.
r=dietrich

--HG--
rename : browser/components/places/tests/unit/bookmarks.corrupt.html => toolkit/components/places/tests/unit/bookmarks.corrupt.html
rename : browser/components/places/tests/unit/bookmarks.preplaces.html => toolkit/components/places/tests/unit/bookmarks.preplaces.html
rename : browser/components/places/tests/unit/test_384370.js => toolkit/components/places/tests/unit/test_384370.js
rename : browser/components/places/tests/unit/test_398914.js => toolkit/components/places/tests/unit/test_398914.js
rename : browser/components/places/tests/unit/test_bookmarks_html.js => toolkit/components/places/tests/unit/test_bookmarks_html.js
rename : browser/components/places/tests/unit/test_457441-import-export-corrupt-bookmarks-html.js => toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js
rename : browser/components/places/tests/unit/test_bookmarksRestoreNotification.js => toolkit/components/places/tests/unit/test_bookmarks_restore_notification.js
2012-05-24 17:33:54 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
d240aaa722 Bug 728174 - Replace old synchronous favicons calls in the bookmarks HTML import. r=mak
--HG--
extra : rebase_source : ddb3109fa13f41bdfb2f265f7850453905145a07
2012-04-12 12:27:36 +02:00
Ms2ger
22e29fc829 Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Serge Gautherie
36a4e05837 Bug 739041. (Dv1a-FF) test_384370.js: Move after_import() into run_test(), Use Services.prefs too. f=neil r=mak77. 2012-04-07 01:56:32 +02:00
Serge Gautherie
d5bda02a7b Bug 739041. (Cv1a-FF) test_browserGlue_prefs.js: Move comment back to its related code, s/print/do_log_info/g. r=mak77. 2012-04-06 16:31:25 +02:00
Marco Bonardo
13f1c8ba2e Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Henri Sivonen
1f2063d730 Bug 482911 addendum - Tell nsBrowserGlue not to import initial bookmarks in a couple of tests to avoid fatal assertions on Mac. r=mak. 2012-03-23 16:57:13 +02:00
Henri Sivonen
511f3c52e5 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00
Henri Sivonen
b83f701d54 Back out changeset d2693e86769d (bug 482911) due to crashes on Mac xpcshell tests. r=orange. 2012-03-23 11:25:08 +02:00
Henri Sivonen
7168af5fc7 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00