Commit Graph

339 Commits

Author SHA1 Message Date
Asaf Romano
ce0d37a700 Bug 1068671 - Remove 'read-only' folders support from places. r=mak 2014-10-01 12:19:06 +03:00
Asaf Romano
99e55486ac Bug 1070503 - Async Places Transactions: Delete command implementation. r=mak. 2014-09-23 09:11:26 +03:00
Asaf Romano
88912b1ad3 Bug 1069235 - make guid and parentGuid naming consistent. r=mak 2014-09-20 10:57:34 +03:00
Asaf Romano
cb0b83af93 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
a9fb56da73 Bug 1067956 - Async Places Transactions: Drop functionality. r=mak. 2014-09-19 17:04:51 +03:00
Asaf Romano
acc27114a6 Bug 1067954 - Async Places Transactions: Paste functionality. r=mak 2014-09-19 16:53:27 +03:00
Gijs Kruitbosch
9ace2cd351 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
39dc0c6097 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
199cfe7699 Bug 993391 - Places async transactions: Implement "move bookmarks" command. r=mak. 2014-04-22 08:42:23 +03:00
Tetsuharu OHZEKI
a2ad59c326 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
3f90880910 Bug 993274 - Remove cmd_new:livemark. r=mak 2014-04-08 12:05:26 +03:00
Asaf Romano
790ffe3a69 Bug 983623 - Implement cmd_un/redo for the new async TM. r=mak 2014-04-08 11:42:06 +03:00
Carsten "Tomcat" Book
929aad6275 Backed out changeset 3fbf2620c5de (bug 983623) for mochitest-other bustage 2014-04-08 09:35:04 +02:00
Asaf Romano
c8c880a7f0 Bug 984900 - Places async transactions: Implement 'sort by name' ui command. r=mak 2014-04-08 09:14:49 +03:00
Asaf Romano
42b4eb2288 Bug 984898 - Places async transactions: Implement 'new separator' ui command. r=mak 2014-04-08 09:07:03 +03:00
Asaf Romano
a36d27c81c Bug 983623 - Implement cmd_un/redo for the new async TM. r=mak 2014-04-08 08:55:46 +03:00
Asaf Romano
510d9e8b24 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
fd265057ac 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
fdf569a8fe 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
511907d28c 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
7e7a7540ec Bug 887320 - Modify deprecated yield without value to yield undefined. r=mak 2013-07-02 15:49:06 -04:00
Matthew Noorenberghe
35baddfd39 Bug 888570 - Lazily load ForgetAboutSite.jsm from browser/components/places/content/controller.js. r=jaws 2013-06-30 21:12:26 -04:00
Marco Bonardo
1e3da3a614 Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Daniel Holbert
2e7dcc2c1f Bug 835543 part 2: Remove deprecated interface nsINavHistoryFullVisitResultNode. r=mak 2013-01-29 14:30:13 -08:00
Ehsan Akhgari
5ab06de081 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium 2013-01-29 13:12:13 -05:00
Asaf Romano
ac391c4070 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
2fd664b499 Bug 823580 - Remove PlacesUIUtils.privateBrowsing usages in per-window PB builds; r=jdm 2012-12-20 12:41:52 -05:00
David Zbarsky
7bc4615075 Bug 797419 - Fix strict mode warnings in controller.js r=mak 2012-10-10 15:20:39 -04:00
Ehsan Akhgari
46ecde5c63 Bug 799126 - Rename ClearRecentHistory to ForgetAboutSite; r=jdm 2012-10-08 11:55:41 -04:00
Ehsan Akhgari
4b3e52c721 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
9fd05d40e9 Bug 797430 - Fix cannot move a bookmark separator by drag & drop. r=mak 2012-10-03 18:19:23 -04:00
Dão Gottwald
a0954e9e18 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
3982ffb3e1 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
d81426815e Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
9fd06803cc 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
087345b066 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
f4bd388765 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
f790aaa4ac 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
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie
d4bd9eca63 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
ffe4ad1ad4 Bug 575955 - Replace internal usage of old transactions shim, add a new toolkit test. r=mak 2012-02-28 18:40:38 -05:00
Marco Bonardo
f7d6bfb317 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Marco Bonardo
5020f95f55 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo
62238b62aa Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
3691090b43 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Marco Bonardo
1c1a9598ca Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Dão Gottwald
911b4463ea Bug 690227 - Back out bug 455694 (tab drag/detach animations). a=dolske a=legneato 2011-10-26 17:46:58 -07:00
Marco Bonardo
5ab634b3b8 Bug 681420 - Improve responsiveness of history deletion.
r=dietrich sr=rstrong
2011-08-31 13:46:22 +02:00
Brian R. Bondy
f2d6aa797c Bug475045 - Can't drag unlinkified URL to bookmarks toolbar. r=mak,enndeakin 2011-08-24 08:52:53 -04:00
Marco Bonardo
4fcf1826a4 Bug 674486 - browser_410196_paste_into_tags.js leaks places.xul
r=dietrich
2011-08-01 23:09:22 +02:00