Commit Graph

226 Commits

Author SHA1 Message Date
Philipp von Weitershausen
1727a9b2ee Bug 576554 - Need manifests to register XPCOM components on trunk, r=mconnor 2010-07-03 13:26:57 -04:00
Edward Lee
db7fbb993d 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
ce6de55601 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
587c8c9d4c 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
Philipp von Weitershausen
c7a2baa936 Bug 627511 - Merge fx-sync to mozilla-central. a=blockers 2011-01-27 22:10:26 -08:00
Philipp von Weitershausen
44d001794e Bug 625918 - Merge fx-sync to mozilla-central. a=blocking 2011-01-20 13:53:59 -08:00
Mike Hommey
779356120b Bug 618195 part 2 - Only build services-crypto component as part of platform. r=mconnor,a=mconnor
--HG--
rename : services/crypto/nsISyncJPAKE.idl => services/crypto/component/nsISyncJPAKE.idl
rename : services/crypto/nsSyncJPAKE.cpp => services/crypto/component/nsSyncJPAKE.cpp
rename : services/crypto/nsSyncJPAKE.h => services/crypto/component/nsSyncJPAKE.h
rename : services/crypto/tests/unit/test_jpake.js => services/crypto/component/tests/unit/test_jpake.js
2010-12-20 10:12:12 +01:00
Edward Lee
1c6db4115b 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
b3b91dc181 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
75fe297323 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
Philipp von Weitershausen
2caed5c6b7 Bug 618492 - Merge fx-sync to mozilla-central. a=blockers 2010-12-10 16:36:23 -08:00
Philipp von Weitershausen
25f9355cad Bug 601645 - Tests for JPAKE. r=mconnor a=blocking-beta8 2010-12-09 18:28:07 -08:00
Brian Smith
ff1c112075 Bug 601645 - JavaScript API for NSS J-PAKE. r=mconnor a=blocking-beta8 2010-12-09 18:27:48 -08:00
Philipp von Weitershausen
81fd2a0441 Remerge fx-sync
--HG--
extra : rebase_source : a4b61b8ac50d3abe829a18c304f4e23f0f5a4f2a
2010-12-07 13:20:16 -08:00
Dão Gottwald
61e1819395 Backed out changesets 4d16d58becaf, 680d3557cafe, 13ea9fc20ed2, 1b2d4ba850a9, 81d8bf53ab01, 3e74c1c15b63, a29a2a0ae764, d2fd62ffd88e, 183be003b312, faa6ce5a0a20, 3ee27049cd1a. a=permaorange 2010-12-07 12:50:55 +01:00
Philipp von Weitershausen
3ad2a48c0e Bug 617173 - Merge fx-sync to mozilla-central. a=blocking 2010-12-06 23:04:51 -08:00
Philipp von Weitershausen
d9bf35b673 Bug 615021 - Merge fx-sync to mozilla-central. a=lotsa-blockers 2010-11-30 20:39:13 -08:00
Philipp von Weitershausen
03db1c2c34 Bug 604603 - Merge fx-sync to mozilla-central. a=crashes,orange 2010-10-28 17:32:25 -07:00
Philipp von Weitershausen
150c18d72a Bug 562431 follow-up: adjust Makefiles. r=mconnor a=merge 2010-10-15 11:46:22 +02:00
Philipp von Weitershausen
268af9e32a Bug 603388 - Merge fx-sync to mozilla-central. a=blockers
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-15 11:46:02 +02:00
Philipp von Weitershausen
df8ad880f7 Merge backout from fx-sync. a=mconnor 2010-10-06 18:06:51 +02:00
Philipp von Weitershausen
f2b7562c00 Bug 601952 - Merge fx-sync to mozilla-central. a=blocking-beta7 2010-10-05 19:11:27 +02:00
Mike Connor
1c4fde8583 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
96db27a500 WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
Anant Narayanan
0470244603 Backed out changeset 9e8936813ae1 2009-07-28 17:13:15 -07:00
Anant Narayanan
d014c20001 WinCE crypto binary 2009-07-28 16:54:24 -07:00
Edward Lee
dc5086b560 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
c352d7c2db Add i86pc machine detection for crypto Makefile. Add SunOS for test Makefiles. 2009-07-26 02:55:38 -07:00
Gary Gendel
54a521ac84 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
afca7c787c 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
743e4ae823 Crypto binary for Linux_x86-64
--HG--
extra : rebase_source : ca27677a6fb08524f60e4a4ebae6fa338f5fd057
2009-07-22 16:33:50 -07:00
Anant Narayanan
d9687953fd Crypto binary for Windows 2009-07-22 16:22:08 -07:00
Anant Narayanan
e041769fd8 Crypto binary for Linux_x86 2009-07-22 15:30:16 -07:00
Anant Narayanan
454a197d48 Add ability to change passphrase (and merge XUL files) bug #443696 2009-07-21 16:54:46 -07:00
Anant Narayanan
26a5b6bd9b Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
Anant Narayanan
5ccbee5ebe Backed out changeset 5768a19f21d3 (crypto review not done yet) 2009-07-21 14:32:57 -07:00
Anant Narayanan
98dab3d018 Crypto changes
--HG--
extra : rebase_source : 0a953a43c01b95e7c467ec4ca7feeb0aaa00f5e1
2009-07-21 11:18:29 -07:00
Edward Lee
e9b04c1a05 Fix trailing spaces. 2009-07-16 15:17:28 -07:00
Edward Lee
a2fb76d1d2 $hare the $ub$titute command from root Makefile. 2009-07-16 14:07:07 -07:00
Edward Lee
e3ff46defa Re/Move substitute declarations. 2009-07-16 12:11:31 -07:00
Mike Connor
51215dc245 fix crypto build on Windows
--HG--
extra : rebase_source : 064641153d08264392be94204ba78c21dff7a782
2009-07-15 22:46:42 -04:00
Mike Connor
34a0e690ad build system updates (still WIP) 2009-07-10 23:32:04 -04:00
Mike Connor
9146187052 new makefile for crypto 2009-07-10 14:15:21 -04:00
Mike Connor
9eb60ac14f file moves
--HG--
rename : services/sync/IWeaveCrypto.xpt => services/crypto/components/IWeaveCrypto.xpt
2009-07-10 11:57:56 -04:00
Mounir Lamouri (volkmar)
e82ca30391 Bug 486797 - ppc architecture is not defined if not MacOS. r=Mardak 2009-06-16 12:16:03 -07:00
Wladimir Palant
b8165dd6e3 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
ad2f71f0df bug 476539: use a XULRunner-based test harness for unit testing; r=thunder 2009-03-20 00:14:21 -07:00
Justin Dolske
8602827228 Bug 479341 - make WeaveCrypto::GenerateKeypair() call PK11_GenerateKeyPairWithOpFlags(). bacon=thunder 2009-03-19 23:55:55 -07:00
Dan Mills
f0b78c3c63 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
0b34f796bb 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
d22e1ed5a8 Bug 465974: fix firefox crash at startup due to weave using nss without initializing it 2008-11-28 00:33:53 +09:00
Paul O’Shannessy
db5200bea6 Bug 577383 - Merge fx-sync to mozilla-central [r=mconnor] 2010-07-07 17:39:40 -07:00
Benjamin Smedberg
c4dd7402dc Registration changes for services/sync and services/crypto required from bug 568691, landing on a CLOSED TREE to fix mobile bustage. 2010-07-01 15:08:13 -04:00
Philipp von Weitershausen
252e3c583c Bug 571902 - Land sync and crypto components on trunk [r=mconnor r=ted]
Makefiles and build helpers for 'services'.
2010-06-21 17:05:08 -07:00
Dan Mills
5d2591dac9 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
a8f5952d90 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
d52c57db3a 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
1314f77fd5 fix verifyPassphrase() 2008-07-12 20:31:27 -07:00
Dan Mills
57c0a00aea add WINNT-5.1 to makefile 2008-07-08 20:57:05 -07:00
Justin Dolske
7eb4f6a421 Fix crypto component to not mangle certain strings when doing 8/16 bit character conversion. 2008-06-29 20:51:22 -07:00
Justin Dolske
a6a038656a Bug 442257 – Weave 1.32: WeaveCrypto doesn't work under Linux. 2008-06-29 16:58:10 -07:00
Justin Dolske
1b1d0f308a Use statically-sized stack buffers to fix building on Windows. 2008-06-26 15:22:48 -07:00
Justin Dolske
c0769fe961 Use allocated buffers instead of stack when the buffers can be large (OS X has a 1MB limit) 2008-06-23 16:14:55 -07:00
Justin Dolske
6f8cfd6329 Add Makefile support for building on ARM, move comment that triggers bug on scratchbox's Make 3.80 2008-06-22 14:43:09 -07:00
Justin Dolske
4247cabcad Apparently NS_IMPL_NSGETMODULE("FOO") doesn't work on Linux, but NS_IMPL_NSGETMODULE(FOO) does. 2008-06-19 14:51:20 -07:00
Justin Dolske
470e9c1705 Minor tweaks for compile errors on Linux. 2008-06-19 13:03:10 -07:00
Justin Dolske
947132ed2c Checkin of NSS-ized WeaveCrypto module (not yet used) 2008-06-18 21:42:16 -07:00
Anant Narayanan
8697d54544 Fix linux builds (bug 433922, r=thunder) 2008-06-05 17:21:53 -07:00
Dan Mills
554666b9b9 only require the .rc file on windows 2008-05-30 18:53:07 -07:00
Dan Mills
f5737a39d9 fix build regression in windows from linux fixes 2008-05-22 18:52:52 -07:00
Atul Varma
1880deb3c3 Changeset c5a909fd128d (r336 on hg.mozilla.org) seems to have broken the OS X build, because there is no xpcom_core library on OS X, so I've modified the Makefile so that the library is only included if we're on Linux. I'm not sure what this will do for Windows builds, though, so it may break the build on Windows. 2008-05-22 11:44:51 -07:00
Anant Narayanan
c3a2162a6c Patching to support building component on Linux. 2008-05-20 16:53:14 -07:00
Dan Mills
a06768ef13 more windows (msvc) build fixes 2008-05-14 17:15:55 -07:00
Dan Mills
0ac923cec9 windows build fixes for crypto component 2008-05-13 18:37:07 -07:00
Dan Mills
e8ea45e9de add a simple unit test harness based on xpcshell; add two tests for PBE and to load all the modules; add some hacks to the component's makefile to make tests work correctly 2008-04-30 13:01:17 -07:00
Dan Mills
3184c97820 add a c++ crypto component, ported from bug 400742; with a specialized makefile to build in the extension (with the gecko sdk) 2008-04-25 18:28:31 -07:00