Commit graph

507 commits

Author SHA1 Message Date
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
Gijs Kruitbosch
f310165068 Bug 1255526 - fix import of typed URLs on versions of windows that do not store timestamps, r=MattN
MozReview-Commit-ID: KSXtQAS7meZ

--HG--
extra : rebase_source : fa72b5f58779b7223ecea5ca9d95a5473dca8262
extra : amend_source : 5f9a1ca7d102905b245fbe7b800e967217e16ede
2016-04-01 20:43:25 +01:00
Andrea Marchesini
b1768e7ec3 Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Gijs Kruitbosch
0b885cef41 Bug 1236154 - add test for ESE migration code, r=MattN
MozReview-Commit-ID: 5lILvkVn3tW

--HG--
extra : rebase_source : 9365c2fc58f0020927f8fcefc1475f3bfb1ca9d6
extra : amend_source : 6100f05bfc75d06a9884192a42ce15b10b710da6
2016-02-11 18:46:32 +00:00
Florian Quèze
010262d7d1 Bug 1245139 - the welcomeback2.tabtitle string is never used, rs=Gijs over IRC. 2016-02-15 19:55:36 +01:00
Gijs Kruitbosch
fa5c8f764b Bug 1246591 - followup: fix rules enabled in the last 24 hours in migration, rs=bustage
--HG--
extra : commitid : 1lyYyXGTTYY
extra : rebase_source : 50d51a9fdb2e16349e84b66b21840deb0cbc20ca
2016-02-09 10:57:55 +00:00
Gijs Kruitbosch
1b8fd05302 Bug 1246591 - fix moz.build file and .eslintignore, r=MattN
--HG--
extra : commitid : JDnRUikojj9
extra : rebase_source : 7075c06b2ef03490728d752a8c754c97e5ed75dd
2016-02-08 12:58:28 +00:00
Gijs Kruitbosch
dc4b4997fd Bug 1246591 - remove preprocessing and fix any other issues, r=MattN
--HG--
extra : commitid : ERDudjbCnHC
extra : rebase_source : df5f44f84c5c56f76a65c887cd5b374284562a61
2016-02-08 12:54:38 +00:00
Gijs Kruitbosch
14415f1212 Bug 1246591 - fix whitespace issues, r=MattN
--HG--
extra : commitid : JI5mQGtLa2f
extra : rebase_source : a8aff743dac30977112b5ce6420631c432601b41
2016-02-08 12:03:10 +00:00
Gijs Kruitbosch
3475d4e50a Bug 1226556 - part 3: add tableExists to ESEDBReader, use it to fall back to normal bookmarks migration, r=MattN
--HG--
extra : commitid : 9Ufl20lpqGu
extra : rebase_source : b416f9298c5b98538418918ee7263ca2e5c0e95f
extra : amend_source : 73cd202726de1c781c7ae2c84d94c9d89344d2d5
2016-02-03 14:46:36 +00:00
Gijs Kruitbosch
4393f911ee Bug 1226556 - part 2: use ESE database to import Edge bookmarks, r=MattN
--HG--
extra : commitid : AZf8zXKKc6j
extra : rebase_source : bcc6624f825d2ac952c925f3a7ccfb78f80ff97d
2016-01-30 11:22:19 +00:00
Gijs Kruitbosch
94510ac0f8 Bug 1226556 - part 1: allow reading GUID columns in ESEDBReader.jsm, r=MattN
--HG--
extra : commitid : 9CHR1N6YfDI
extra : rebase_source : 0d78a5256fb4432b256a5f94460db7f144db8a25
2016-01-30 11:21:40 +00:00
Gijs Kruitbosch
7822dd0325 Bug 1237679 - use sourceLocked to ensure users get warned to close the browser before running the migration, r=MattN
--HG--
extra : commitid : DHcwrAuS4vt
extra : rebase_source : e356c82327ef18ce8575cf5410f183b9c58ed937
2016-01-28 16:35:04 +00:00
Georg Fritzsche
2c809e437f Bug 1236551 - Update tests to cover Telemetry profile migrator. r=MattN
--HG--
rename : browser/components/migration/tests/unit/test_fx_fhr.js => browser/components/migration/tests/unit/test_fx_telemetry.js
2016-01-18 16:31:06 +01:00
Georg Fritzsche
942276cd2a Bug 1236551 - Update the profile migrator to the Unified Telemetry changes. r=MattN 2016-01-18 16:29:44 +01:00
Georg Fritzsche
df380bc7fa Bug 1239753 - FirefoxProfileMigrator is broken after generator expression removal. r=gijs 2016-01-14 20:15:22 +01:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Mike Hommey
276ffb9010 Bug 1235107 - Move bookmarks.html to a chrome localized location. r=dolske 2016-01-05 20:03:43 +09:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Gijs Kruitbosch
e0cb4c6f0e Bug 1229076 - use JS module for reading ESE database, r=MattN
--HG--
extra : commitid : 6bOAdWBbIzZ
extra : rebase_source : ab98cabe12a9018150eec86a7a540890164c324f
extra : amend_source : b9c668f02b2212749680353399e1b4c414ed3958
2015-12-01 20:24:54 +00:00
Gijs Kruitbosch
e1743f0fb6 Bug 1225800 - only import items that have valid URLs, r=MattN
--HG--
extra : commitid : 1P2Spaxd6iT
extra : rebase_source : 9e73392a354a02d2b65d5fa9e4906eee8600e6ac
2015-12-10 12:27:52 -05:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Mike Hommey
940e17e9c7 Bug 1228482 - use nsAutoString instead of handling raw strings, r=gijs
--HG--
extra : commitid : 2ZyDsL3I5Yz
extra : rebase_source : b9d40b2725a690b3eb96809aae5eb764f7818650
2015-11-27 14:02:30 +00:00
Xidorn Quan
5f08d72a2f Bug 1228482 - Fix compile error with VS2015 and memory leak in nsEdgeReadingListExtractor. r=bas 2015-11-27 16:29:23 +11:00
Gijs Kruitbosch
0f4df510d0 Bug 1225798 - part 2: move reading list import to its own bookmarks migrator source, r=MattN
--HG--
extra : commitid : JXiSqZFo7ix
extra : rebase_source : 527e26c9464fd20c722a9934afff2064fb3b751b
extra : histedit_source : 728b626d261619df65829d7df155213d3d2034af
2015-11-18 11:56:02 +00:00
Gijs Kruitbosch
92de4f7afe Bug 1225798 - part 1: add better error reporting for reading list importer's ESE handling, r=MattN
--HG--
extra : commitid : 6XMqn9G01me
extra : rebase_source : 46a69b1d66ae5f51df473f3d26ed3ff7a04bf169
2015-11-23 16:35:56 +00:00
Jan Varga
201e5d02a4 Bug 961049 - Part 11: Fix a test that triggers quota manager creation during shutdown; r=baku 2015-11-22 10:45:05 +01:00
Gijs Kruitbosch
04b6f41448 Bug 1219707 - fix argument passing to migration.js, r=jaws
--HG--
extra : commitid : 8GHFDaUhXA2
2015-10-29 12:16:15 +00:00
Makoto Kato
e1deb2e57a Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on browser. r=nfroyd 2015-10-28 14:30:35 +09:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09:00
Gijs Kruitbosch
b4048dc695 Bug 731025 - Add telemetry for migrator usage and errors, r=MattN,p=bsmedberg
--HG--
extra : commitid : 1TzjbWkzOq7
extra : rebase_source : fad923bd73689a49315e0e737553f0fd146a8d57
2015-10-07 13:34:46 +01:00
Gijs Kruitbosch
b81daea0ab Bug 1164675 - hide min/max/restore buttons in the main window in windows 10 tablet mode, r=jaws
--HG--
extra : commitid : A3v45wmzyhs
extra : rebase_source : 4c284994b5f8e066af6f6206f981bab21f3c8d90
2015-10-20 14:56:17 +01:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Gijs Kruitbosch
8711a22bcd Bug 1194692 - fix some cookie parsing issues in the IE/Edge cookie importer code, r=MattN
--HG--
extra : commitid : 4VQBejjASGM
extra : rebase_source : 56404c6714d1fd58aaf70e9f5b642f7ebb219e24
extra : amend_source : f590924ba11139f59cce73384026ce2a50d9702c
2015-09-28 22:30:20 +01:00
Gijs Kruitbosch
2352be03b3 Bug 1212297 - improve error handling in Chrome bookmarks migration code, r=MattN
--HG--
extra : commitid : BEgGX9o3KPB
extra : rebase_source : e6c4de4e72db8aab771864d453409b02cdcc067e
2015-10-07 13:24:50 +01:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Gijs Kruitbosch
b34d2af69e Bug 1207106 - use voidptr for windows vault password ctypes code, r=dolske
--HG--
extra : commitid : 7mTqAekDXSZ
extra : rebase_source : 1d6e1bb60d0cca22e32d1238252a3be980f404b5
2015-09-22 23:46:11 +01:00
Wes Kocher
40f2f82907 Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Gijs Kruitbosch
267695d771 Bug 1194692 - fix fallback values at callsites of fileTimeToSecondsSinceEpoch, r=MattN
--HG--
extra : commitid : K0lsNv1Ppkp
extra : rebase_source : 287103131b503124081470fd6549b4a1d6a4395e
extra : histedit_source : 4b12850bec32148d0713fc5fa8fff9f4a910a4d7
2015-09-22 23:25:28 +01:00
Wes Kocher
08ffd204f8 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Jacek Caban
da1f9eab72 Bug 1207100 - Fixed nsEdgeReadingListExtractor.cpp compilation on GCC. r=Gijs 2015-09-22 19:07:10 +02:00
Gijs Kruitbosch
0cb796b5d0 Bug 1205053 - addendum: rebasing mistake due to the new name of the ctypes helper, rs=me
--HG--
extra : commitid : CwzpQoyqcEZ
2015-09-22 16:45:06 +01:00
Gijs Kruitbosch
4e2577e37c Bug 1205053 - use registry typedURLs to import rudimentary history from MS Edge, r=dolske
--HG--
extra : commitid : 5c0aDxUWRp0
extra : rebase_source : 2762ed6466d7f0ab13e619c52f1cebdf6d3073b1
2015-09-15 22:18:41 +01:00
Tooru Fujisawa
a80925cf2f Bug 1207491 - Part 7: Remove use of expression closure from browser/components/migration/. r=Gijs
--HG--
extra : commitid : 9jirohhjOQ7
extra : rebase_source : e790d293ad5f9211e4da401dbe1be0175aa18097
2015-09-23 18:36:21 +09:00
Riadh Chtara
fee7458f73 Bug 1192035 - Import passwords from Microsoft Edge / Windows 8+ r=Gijs,MattN
--HG--
extra : commitid : AaC7tUofwqc
extra : rebase_source : 319a2efb59d4364ba62af2faeccb9f4f7a90fcf0
extra : amend_source : b6e7531af68b996c16042cb618899567e46f5280
2015-09-16 17:34:26 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ehsan Akhgari
8dc2e61b17 Bug 1202039 - Do not pretend to support IE7FormPasswords on Windows 8 and above; r=mattn 2015-09-14 08:04:31 -04:00