Commit Graph

1596 Commits

Author SHA1 Message Date
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
7e7a34a874 Bug 730340 - Bug 730340 - Don't use expando properties for storing data on places nodes. Don't use an expando to mark cut nodes. r=mak. 2012-06-03 15:01:15 +03:00
Asaf Romano
0065eeb20b Bug 730340 - Fix typo found by neil, remove useless comments. 2012-06-02 23:24:19 +03: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
Asaf Romano
438d9af5c1 Bug 730340 - Don't use expando properties for storing data on places nodes. part 1 - use a WeakMap for mapping places nodes to DOM nodes. part 2 - use a WeakMap for cellProperties in treeView.js; stop caching _plainContainer. r=mak 2012-06-01 23:03:00 +03:00
Marco Bonardo
86da661549 Bug 753672 - Remove old code that is breaking live-update of the bookmarks chevron view.
r=mano
2012-05-30 16:11:34 +02:00
Asaf Romano
252eda2a1a 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
d44f28fdb3 Bug 753205 - Add back separators support to bookmarks HTML import.
r=dietrich
2012-05-24 17:33:54 +02:00
Raymond Lee
84fc29c83f Bug 728626 - Non-Firefox tests should not use 'about:robots' which is Firefox specific. r=ttaubert 2012-05-22 09:25:49 +08:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Johan Charlez
3bfd35267f Bug 503370 - Library doesn't handle CTRL+F correctly. r=dao 2012-05-03 06:22:32 -04:00
Raymond Lee
b594b1509c Bug 730840 - Use getBrowserURL() in Firefox tests to ease porting them. r=dao 2012-04-27 09:44:53 +08:00
Marco Bonardo
434ab97fcc Bug 739968 - MigrationUtils.jsm import should use app modules resource url.
r=fryn a=desktop-only
2012-04-19 22:17:02 +02:00
Marco Bonardo
59e4ead4ac Bug 741506 - Removing nodes while a bookmarks popup is open in OS X native menubar zombifies them.
r=Mano
2012-04-14 14:08:43 +02:00
Paolo Amadini
1ed190720b Bug 715355 - Deprecate and remove old style GUIDs. r=mak 2012-04-12 12:27:57 +02:00
Paolo Amadini
4a62d095f2 Bug 728174 - Replace old synchronous favicons calls in the bookmarks HTML import. r=mak 2012-04-12 12:27:36 +02:00
Ms2ger
88417b55bf Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Serge Gautherie
38c96189d4 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
7427dc6ae8 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
2ea25557ad Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin
2012-04-07 01:17:53 +02:00
Asaf Romano
a8ff32cb06 Bug 739451 - Don't rely on XPConnect-magic for getting the owner window of a places view (Required for compartment-per-global work). r=mak 2012-04-06 16:43:54 +03:00
Serge Gautherie
fcc8592474 Bug 741066. (Av1) browserPlacesViews.js: Fix 2 "function ... does not always return a value". r=mak77. 2012-04-03 15:43:25 +02: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
Serge Gautherie
ef90f6ca3c Bug 741064. (Av1) Fix "function PTV__buildVisibleSection does not always return a value". r=mano. 2012-04-01 18:13:44 +02:00
OHZEKI Tetsuharu
a96cf50191 Bug 647951 - Fix for "window.top.XULBrowserWindow is null" error. r=mak 2012-03-28 20:35:13 +02:00
Henri Sivonen
a44c02cb4d 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
ee70c964a0 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin. 2012-03-23 09:15:36 +02:00
Henri Sivonen
eeb0bdb42f 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
2ca517185c Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin. 2012-03-23 09:15:36 +02:00
Asaf Romano
e9802a3421 Bug 718608 - Migration code shrink and cleanup: unified code for notifications and error handling, prepare for deCOM. r=mak. sr=gavin on the interface change. browser/components/build part was done by mak (r=bsmedberg. 2012-03-21 21:20:47 +02:00
Marco Bonardo
8d137716c0 Bug 735625 - Get rid of ImportHTMLFromFileToFolder.
r=dietrich sr=gavin
2012-03-16 00:12:49 +01:00
Owen Jones
f3ae8452e9 Bug 603817 - Properly update personal-bookmarks contents when it's put in the tabs toolbar.
r=mak
2012-03-13 00:33:54 +01:00
Marco Bonardo
db6943a09b Bug 734646 - Duplicate bookmark item in the toolbar chevron popup.
r=mano
2012-03-12 14:59:55 +01:00
Marco Bonardo
4ab2275bd6 Bug 734631 - Properly handle status menuitem changes in Places popups.
r=mano
2012-03-12 14:59:54 +01:00
Marco Bonardo
2b9b075984 Bug 725047 - Remove the hack for dragging bookmarks toolbar folders on Linux.
r=mano
2012-03-08 18:00:46 +01:00
Marco Bonardo
c08674533e Bug 731274 - Make reloadLivemarks optionally force reloads and use it to speed up livemarks population.
r=dietrich sr=gavin
2012-03-08 11:14:59 +01:00
Marco Bonardo
0aafb1245f Bug 732404 - Remove dead handlers from editBookmarkOverlay.xul
r=mano
2012-03-08 11:14:57 +01:00
Marco Bonardo
d5a2d0e31b Merge inbound and central 2012-03-07 10:33:11 +01:00
Marco Bonardo
edd2bd43dd Bug 731563 - Make Places view markers proper elements in the popups.
r=mano
2012-03-06 20:28:51 +01:00
Serge Gautherie
8efc52b3e7 Bug 731663. (Bv1a-FF) test_bookmarks_html.js: Fix nits, Add/Use do_print(), Improve documentation. r=mak77. 2012-03-05 19:44:47 +01:00
OHZEKI Tetsuharu
3af4211fbc Bug 580814 - Avoid accessing rows that don't exist in treeviews for Places. r=mak 2012-03-04 12:36:14 -05:00
Marco Bonardo
0f2e2af2f2 Bug 658744 - disable browser_sidebarpanels_click.js cause it breaks the treeview and then tests zombie nodes.
rs=dietrich
2012-02-29 23:18:02 +01:00
Marco Bonardo
d1bdaba62a Bug 731123 - Live Bookmarks in bookmarks menu no longer update.
r=mano
2012-02-29 11:24:31 +01: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
8b4c77ff45 Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
71c7fc4046 Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
f7d6bfb317 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Marco Bonardo
09580d5357 Bug 723165 - Telemetry for time needed to show the Bookmarks toolbar.
r=dietrich
2012-02-09 11:10:15 +01:00
Panagiotis Koutsourakis
835036b234 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Rafael Ávila de Espíndola
268091376e Bug 715554 - Missing semicolon. r=mak. 2012-01-09 10:12:15 -05:00