Commit Graph

66 Commits

Author SHA1 Message Date
Philipp von Weitershausen
f778a4f0ee Merge backout 2010-10-28 17:09:58 -07:00
Philipp von Weitershausen
f60e694777 Backed out changeset fb506072dca8 due to crashes
Bug 570619 - Move crypto off the main thread
2010-10-28 17:05:53 -07:00
Mike Hommey
4b0eff1f2b Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto. [r=dwitte] 2010-10-15 11:45:31 +02:00
Philipp von Weitershausen
3112962661 Bug 570619 - Move crypto off the main thread [r=mconnor,sdwilsh]
Provide a ThreadedCrypto object that defers method calls to another thread while keeping the synchronous API.
2010-10-14 21:22:29 +02:00
Philipp von Weitershausen
47ac364e2a Bug 562431 - Move tests for WeaveCrypto to services/crypto/ [r=mconnor]
--HG--
rename : services/sync/tests/unit/test_crypto_crypt.js => services/crypto/tests/unit/test_crypto_crypt.js
rename : services/sync/tests/unit/test_crypto_keypair.js => services/crypto/tests/unit/test_crypto_keypair.js
rename : services/sync/tests/unit/test_crypto_random.js => services/crypto/tests/unit/test_crypto_random.js
rename : services/sync/tests/unit/test_crypto_rewrap.js => services/crypto/tests/unit/test_crypto_rewrap.js
rename : services/sync/tests/unit/test_crypto_verify.js => services/crypto/tests/unit/test_crypto_verify.js
2010-10-14 21:17:55 +02:00
Philipp von Weitershausen
adbb677fa2 Bug 562431 - Rewrite WeaveCrypto as a .jsm [r=mconnor]
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-14 21:17:35 +02:00
Philipp von Weitershausen
853e1844ab Backed out changeset 4ad5b1467331
Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto.
2010-10-06 17:57:15 +02:00
Mike Hommey
4f5ce943b9 Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto. [r=dolske] 2010-10-05 08:32:37 +02:00
Philipp von Weitershausen
41a4891ba7 Bug 576554 - Need manifests to register XPCOM components on trunk, r=mconnor 2010-07-03 13:26:57 -04:00
Edward Lee
29f095c96f Bug 573842 - Work around non-null terminated string issue for decrypted strings [r=mconnor]
Just wrap with empty strings until bug 573841 is fixed.
2010-06-22 19:09:29 -07:00
Edward Lee
46e1de249f Bug 570636 - Decide how to co-exist as a sync add-on and built-in sync [r=mconnor]
Migrate prefs from extensions.weave. to services.sync. when loading the service for the first time before migration.
2010-06-16 14:30:13 -07:00
Edward Lee
0ef81dfdae Bug 569355 - source code reorg, redux [r=mconnor]
Split the code structure to service/{crypto,sync} and ui/{fennec,firefox}. Update the top level makefile to build the addon staging directory to merge various parts of directories.
2010-06-09 17:03:31 -07:00
Edward Lee
ac22b8c745 Bustage fix for bug 561480 to check typeof == undefined instead of == null.
--HG--
extra : rebase_source : 281817a091523853341168c117be30862deba6ad
2010-05-07 13:29:04 -07:00
Edward Lee
43767923a5 Bug 561480 - Errors when loading WeaveCrypto.js on older platforms [r=mconnor]
Only register WeaveCrypto if it was able to import scripts.
2010-05-04 12:15:43 -07:00
Justin Dolske
661389fa2f Bug 513798 - Rewrite WeaveCrypto in JS. r=mconnor, r=dwitte
--HG--
rename : services/crypto/components/IWeaveCrypto.xpt => services/crypto/IWeaveCrypto.xpt
2010-04-21 19:02:16 -07:00
Mike Connor
d054df20f8 bug 503703 - add make target for building a single-OS XPI, r=edilee. actually allows specifying multiple package targets 2009-08-27 01:40:43 -04:00
Anant Narayanan
45673ccb67 WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
Anant Narayanan
a79e153fb9 Backed out changeset 9e8936813ae1 2009-07-28 17:13:15 -07:00
Anant Narayanan
7a7c271cd7 WinCE crypto binary 2009-07-28 16:54:24 -07:00
Edward Lee
cb7c477b9b Generate SunOS x86 binaries and put them under platform/SunOS because the contrib Firefox builds are SunOS_x86-sunc while we build SunOS_x86-cc. 2009-07-26 02:55:38 -07:00
Edward Lee
a14ea8d26f Add i86pc machine detection for crypto Makefile. Add SunOS for test Makefiles. 2009-07-26 02:55:38 -07:00
Gary Gendel
0a4c9c3664 Bug 501630 - OpenSolaris x86 support
Add SunOS for crypto Makefile to build a dynamic shared library.
2009-07-24 21:16:59 -07:00
Edward Lee
825e3789b2 Bug 506091 - New binary needed for Maemo devices
Rebuild Linux_arm-gcc3 (maemo) WeaveCrypto.so binary.
2009-07-23 23:05:24 -07:00
Anant Narayanan
5d621644ba Crypto binary for Linux_x86-64
--HG--
extra : rebase_source : ca27677a6fb08524f60e4a4ebae6fa338f5fd057
2009-07-22 16:33:50 -07:00
Anant Narayanan
bc6f3ff63e Crypto binary for Windows 2009-07-22 16:22:08 -07:00
Anant Narayanan
509e86b9b6 Crypto binary for Linux_x86 2009-07-22 15:30:16 -07:00
Anant Narayanan
c6a90202ff Add ability to change passphrase (and merge XUL files) bug #443696 2009-07-21 16:54:46 -07:00
Anant Narayanan
3541ab1269 Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
Anant Narayanan
0697eb1f5c Backed out changeset 5768a19f21d3 (crypto review not done yet) 2009-07-21 14:32:57 -07:00
Anant Narayanan
1509f1d1cb Crypto changes
--HG--
extra : rebase_source : 0a953a43c01b95e7c467ec4ca7feeb0aaa00f5e1
2009-07-21 11:18:29 -07:00
Edward Lee
1bdb3a8ba8 Fix trailing spaces. 2009-07-16 15:17:28 -07:00
Edward Lee
4dad7bd344 $hare the $ub$titute command from root Makefile. 2009-07-16 14:07:07 -07:00
Edward Lee
7fadc4ce98 Re/Move substitute declarations. 2009-07-16 12:11:31 -07:00
Mike Connor
7438c49b88 fix crypto build on Windows
--HG--
extra : rebase_source : 064641153d08264392be94204ba78c21dff7a782
2009-07-15 22:46:42 -04:00
Mike Connor
0c6f78e988 build system updates (still WIP) 2009-07-10 23:32:04 -04:00
Mike Connor
d752b511cd new makefile for crypto 2009-07-10 14:15:21 -04:00
Mike Connor
8d26fd31e1 file moves
--HG--
rename : services/sync/IWeaveCrypto.xpt => services/crypto/components/IWeaveCrypto.xpt
2009-07-10 11:57:56 -04:00
Mounir Lamouri (volkmar)
efd1c4e27a Bug 486797 - ppc architecture is not defined if not MacOS. r=Mardak 2009-06-16 12:16:03 -07:00
Wladimir Palant
9f9831773f Bug 495964 - Building WeaveCrypto.dll fails if Mercurial revision doesn't start with a number 2009-06-02 18:08:52 +02:00
Myk Melez
e54cec2631 bug 476539: use a XULRunner-based test harness for unit testing; r=thunder 2009-03-20 00:14:21 -07:00
Justin Dolske
2f66856f37 Bug 479341 - make WeaveCrypto::GenerateKeypair() call PK11_GenerateKeyPairWithOpFlags(). bacon=thunder 2009-03-19 23:55:55 -07:00
Dan Mills
7e1052f11e use -fshort-wchar on x86_64 too (only exclude it form arm) 2009-02-10 00:51:06 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
f031676882 Added Linux-ARM processor compiled version of crypto module to repository. Slight modification of makefile to enable building this on ARM. 2008-12-04 11:00:47 -08:00
Dan Mills
cb119538ba Bug 465974: fix firefox crash at startup due to weave using nss without initializing it 2008-11-28 00:33:53 +09:00
Dan Mills
973beec8dd use just 'Darwin' for the platform dir on OSX. 'Darwin-gcc3' does not appear to work correctly 2008-07-17 20:38:42 -07:00
Dan Mills
ac4811ceae Bug 442931: Create a universal (x86/PPC) component on mac. Patch by Godwin Chan <godwinchan@hotmail.com>, with tweaks by me 2008-07-16 20:47:16 -07:00
Dan Mills
83b7f6a21f Bug 442679: Add support for compiling on 64-bit linux systems. Patch by Mark Wilkinson <mhw@kremvax.net> 2008-07-13 04:06:44 -07:00
Dan Mills
b3f94ea68a fix verifyPassphrase() 2008-07-12 20:31:27 -07:00
Dan Mills
3a20cd63cc add WINNT-5.1 to makefile 2008-07-08 20:57:05 -07:00
Justin Dolske
777c82cf0b Fix crypto component to not mangle certain strings when doing 8/16 bit character conversion. 2008-06-29 20:51:22 -07:00