Граф коммитов

345 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 25b1ed7fdf Bug 821724 - Implement a menuitem for places/bookmarks to open them in a private window. r=mak 2015-01-13 21:18:33 +01:00
Marco Bonardo b34a02ceac Bug 1095069 - Cannot copy or delete bookmarks from search results in library. r=mano
--HG--
rename : browser/components/places/tests/browser/browser_library_left_pane_commands.js => browser/components/places/tests/browser/browser_library_commands.js
2014-11-13 10:19:19 +01:00
Asaf Romano a63486fa3f Bug 982115 - PlacesTransactions: (1) Decouple |transact| and |batch|, and make batch work like Task.spawn, rather than the custom solution we had so far (yielding transactions rather than calling |transact| for the batched transactions). so that |transact| may be called during a batch from any function, not limiting the batch 'context' to the function passed to |batch|; (2) Rename the uri input property to URL, and allow passing DOM URL objects for it (in addition to plain specs and nsIURI objects) - this matches recent Bookmark.jsm and History.jsm work; (3) Improve the module documentation. r=mak. 2014-11-10 10:36:56 +02:00
Gijs Kruitbosch 386c4ea334 Bug 1090609 - don't disable open in tabs when there's only one item there, r=mak 2014-11-03 10:44:47 +00:00
Asaf Romano d83f8d60e1 Bug 1068671 - folderReadOnly doesn't pertain to bookmarks or results. r=mak 2014-10-14 17:03:28 +03:00
Carsten "Tomcat" Book 459781f902 Backed out changeset b30d47d94a85 (bug 1068671) for bc1 test failures 2014-10-01 13:14:06 +02:00
Asaf Romano 896f516dd7 Bug 1068671 - Remove 'read-only' folders support from places. r=mak 2014-10-01 12:19:06 +03:00
Asaf Romano 464d71888d Bug 1070503 - Async Places Transactions: Delete command implementation. r=mak. 2014-09-23 09:11:26 +03:00
Asaf Romano 5786c4db38 Bug 1069235 - make guid and parentGuid naming consistent. r=mak 2014-09-20 10:57:34 +03:00
Asaf Romano 268a8a3563 Fix the 'bustage' of browser_parsable_script.js coming from bug 1067954 by whitelisting controller.js. It broke due to bug 1015578 (see mak's comment 2 there). CLOSED TREE 2014-09-19 18:23:20 +03:00
Asaf Romano 00c2d6bc3f Bug 1067956 - Async Places Transactions: Drop functionality. r=mak. 2014-09-19 17:04:51 +03:00
Asaf Romano 0493c2157b Bug 1067954 - Async Places Transactions: Paste functionality. r=mak 2014-09-19 16:53:27 +03:00
Gijs Kruitbosch e0a07f062e Bug 1006989 - hide and disable cut/copy/delete/properties when opening bookmarks context menu with no selection, r=mano 2014-06-05 15:28:07 +01:00
Jim Blandy 7e20285e70 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
Asaf Romano 971075f2a7 Bug 993391 - Places async transactions: Implement "move bookmarks" command. r=mak. 2014-04-22 08:42:23 +03:00
Tetsuharu OHZEKI 7a96785fdf Bug 994188 - Fix "ReferenceError: Cu is not defined" in browser/components/places/content/controller.js. r=mak 2014-04-12 01:11:10 +09:00
Asaf Romano 9e2d98e42e Bug 993274 - Remove cmd_new:livemark. r=mak 2014-04-08 12:05:26 +03:00
Asaf Romano 08a4a240bf Bug 983623 - Implement cmd_un/redo for the new async TM. r=mak 2014-04-08 11:42:06 +03:00
Carsten "Tomcat" Book 78e5561cb8 Backed out changeset 3fbf2620c5de (bug 983623) for mochitest-other bustage 2014-04-08 09:35:04 +02:00
Asaf Romano fce9a1cf00 Bug 984900 - Places async transactions: Implement 'sort by name' ui command. r=mak 2014-04-08 09:14:49 +03:00
Asaf Romano 443d6d2f0d Bug 984898 - Places async transactions: Implement 'new separator' ui command. r=mak 2014-04-08 09:07:03 +03:00
Asaf Romano 1b69fb67cd Bug 983623 - Implement cmd_un/redo for the new async TM. r=mak 2014-04-08 08:55:46 +03:00
Asaf Romano 0377790278 Bug 983623 - Async transactions: Add a preference for turning it, implement undo & redo commands. r=mak 2014-03-15 23:49:07 +02:00
Marco Bonardo 784031cd19 Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano 2014-03-12 16:24:23 +01:00
Marco Bonardo 05e6b87a72 Bug 435851 - dragging a folder shortcut drags the concrete folder instead. r=mano 2014-03-04 21:44:21 +01:00
Peter Van der Beken 04632f8c63 Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Sushant Hiray f2dcd05e53 Bug 887320 - Modify deprecated yield without value to yield undefined. r=mak 2013-07-02 15:49:06 -04:00
Matthew Noorenberghe 22672faedb Bug 888570 - Lazily load ForgetAboutSite.jsm from browser/components/places/content/controller.js. r=jaws
--HG--
rename : toolkit/content/resetProfile.js => toolkit/modules/ResetProfile.jsm
extra : rebase_source : 840e79ad4b087999f08ffbdbf152418ecb9182ea
2013-06-30 21:12:26 -04:00
Marco Bonardo 24208690f3 Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Daniel Holbert 0a332a0602 Bug 835543 part 2: Remove deprecated interface nsINavHistoryFullVisitResultNode. r=mak 2013-01-29 14:30:13 -08:00
Ehsan Akhgari 565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Asaf Romano 843791998a Bug 832949 - Disable common Organize options when the Downloads view is in use. r=mak. 2013-01-23 21:19:08 +02:00
Ehsan Akhgari 6c71df8ecf Bug 823580 - Remove PlacesUIUtils.privateBrowsing usages in per-window PB builds; r=jdm
--HG--
extra : rebase_source : 4b6e55e3da4f57411cf2c3b996adad16ab22d228
2012-12-20 12:41:52 -05:00
David Zbarsky 81cf290708 Bug 797419 - Fix strict mode warnings in controller.js r=mak 2012-10-10 15:20:39 -04:00
Ehsan Akhgari a18f92c2f3 Bug 799126 - Rename ClearRecentHistory to ForgetAboutSite; r=jdm
--HG--
rename : browser/components/privatebrowsing/src/ClearRecentHistory.jsm => browser/components/privatebrowsing/src/ForgetAboutSite.jsm
2012-10-08 11:55:41 -04:00
Ehsan Akhgari a76261fade Bug 774963 - Remove removeDataFromDomain from nsIPrivateBrowsingService, and put it in its own JS module, ClearRecentHistory; r=jdm 2012-10-03 11:29:10 -04:00
OHZEKI Tetsuharu bd3d8beac3 Bug 797430 - Fix cannot move a bookmark separator by drag & drop. r=mak 2012-10-03 18:19:23 -04:00
Dão Gottwald 471ee7a770 Bug 783273 - Work around doGetPlacesControllerForCommand being called while the browser window is already closed (fixes intermittently failing browser_350525.js and browser_bug734076.js). r=mak 2012-10-03 12:23:05 +02:00
Yosy ef3be55d08 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson ade089d9d0 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy 9cd25eead2 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Asaf Romano d97abefe07 Bug 760940 - Bookmarks and history menus behave incorrectly due to non-node weak map keys. r=mak 2012-07-24 17:20:57 +03:00
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Asaf Romano e9836a3ee8 Bug 730340 - Don't use expando properties for storing data on places nodes. Part 3 - cache livemark-info object in the controller for each view instead of setting _feedURI and _siteURI exapndos on livemark nodes. Also fix a bug I introduced in the previous check for this bug, in PVB_nodeHistoryDetailsChanged. r=mak 2012-06-02 16:54:25 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie 63551b3831 Bug 741065. (Av1) controller.js: Fix "function PCDH_onDrop does not always return a value". r=mak77. 2012-04-03 15:42:06 +02:00
OHZEKI Tetsuharu 79626124b2 Bug 575955 - Replace internal usage of old transactions shim, add a new toolkit test. r=mak
--HG--
rename : browser/components/places/tests/unit/test_placesTxn.js => toolkit/components/places/tests/unit/test_placesTxn.js
rename : browser/components/places/tests/unit/test_txnGUIDs.js => toolkit/components/places/tests/unit/test_txnGUIDs.js
2012-02-28 18:40:38 -05:00
Marco Bonardo d20e75ed38 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Marco Bonardo ed95219739 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo 9f39880bda Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00