2
0
Commit Graph

69 Commits

Author SHA1 Message Date
Maarten Billemont
6d36f17e57 Change marshal API to return output directly.
Avoids an ambiguity between return type and out value (eg. true but
NULL), and improves Swift API access.
2020-01-23 15:59:21 -05:00
Maarten Billemont
f0acd1fed1 Use a rolling buffer of 10 for mpw_str too.
This way we can pass mpw_str results into mpw_strs, as we do with the
identicon marshalling.
2020-01-23 15:58:59 -05:00
Maarten Billemont
a37b095a66 site.name -> siteName, add identicon marshalling to iOS, missing resultState 2020-01-23 15:58:32 -05:00
Maarten Billemont
2637e9ba99 Add identicon to export + fix memory leaks for marshal failures. 2020-01-23 15:57:27 -05:00
Maarten Billemont
ccd9763649 Standardize UTF8 mbyte length, identicon encoding, be explicit about storage duration in C API. 2020-01-23 15:57:07 -05:00
Maarten Billemont
ad4081be61 Improved error checking, NULL handling and API documentation. 2020-01-23 15:55:03 -05:00
Maarten Billemont
b42bc732ac Ensure buffer is set. 2020-01-23 15:54:45 -05:00
Maarten Billemont
4166e88f92 Use compound literals. 2020-01-23 15:54:24 -05:00
Maarten Billemont
4b73508292 Harmonize API naming. 2020-01-23 15:53:55 -05:00
Maarten Billemont
dd123a431c Fix masterKeyProvider args & mem bugs + multiple format extensions. 2020-01-23 15:52:28 -05:00
Maarten Billemont
070f909a7f Clarify. 2020-01-23 15:51:57 -05:00
Maarten Billemont
65ad628641 Add avatar and lastUsed to marshal info. 2020-01-23 15:50:36 -05:00
Maarten Billemont
c11b63912d Harmonize naming of state variables. 2020-01-23 15:49:54 -05:00
Maarten Billemont
68e58cddd4 Fix loading user from flat format without sites. 2020-01-23 15:49:25 -05:00
Maarten Billemont
39eb0027b5 More flexible API for providing marshalling master key. 2020-01-23 15:48:51 -05:00
Maarten Billemont
44a9ee0f15 Well-defined initial identicon color. 2020-01-23 15:47:44 -05:00
Maarten Billemont
7f7910f0a9 Abbreviated type names. 2020-01-23 15:45:22 -05:00
Maarten Billemont
98d0d7a497 Present site details. 2020-01-23 15:42:54 -05:00
Maarten Billemont
91b89aaf39 Pearl & API update. 2020-01-14 13:59:32 -05:00
Maarten Billemont
22796663dc Fix missing arguments. 2019-01-05 13:54:27 -05:00
Maarten Billemont
dbda330543 Portability fixes for Blowfish's code. 2019-01-05 13:48:29 -05:00
Maarten Billemont
ef2494118b Minor cleanup of askpass code. 2018-11-20 11:58:38 -05:00
Maarten Billemont
8f35ac5f64 Improved libxml2 cflags/ldflags. 2018-09-26 00:43:23 -04:00
Maarten Billemont
3070967d34 Convenience flag for building a debuggable binary. 2018-09-22 14:22:17 -04:00
Maarten Billemont
e4837a284a Fall back to getline if ncurses cannot be initialized (eg. TERM not set). 2018-09-22 14:14:18 -04:00
Maarten Billemont
06ebe954f1 Clarify the interface a bit. 2018-09-22 14:13:00 -04:00
Maarten Billemont
48d4668575 Ensure all read utilities yield constant string pointers for safety. 2018-09-22 14:12:53 -04:00
Maarten Billemont
0558176847 Fix dependencies in native mpw DLLs. 2018-08-27 13:07:38 -04:00
Maarten Billemont
f0b1f0c9e0 Build for older glibc. 2018-08-02 12:19:49 -04:00
Maarten Billemont
d185a0af14 Add mpw native binary for windows 32-bit. 2018-08-02 01:37:10 -04:00
Maarten Billemont
4275a6cc61 Fix build on Windows. 2018-08-02 01:32:55 -04:00
Maarten Billemont
c94ff429e8 Switch linux build of libmpw to debian for glibc instead of musl libc. 2018-08-01 20:13:42 -04:00
Maarten Billemont
00744cb264 Statically link the mpw library. 2018-08-01 14:20:47 -04:00
Maarten Billemont
f5c0c4d787 Fix offsetting local time back to UTC. 2018-07-31 12:44:49 -04:00
Maarten Billemont
86775f1c75 Standardize epoch time calculation. 2018-07-31 09:27:41 -04:00
Maarten Billemont
7c83a62f91 Support for building with JDK 10. 2018-07-26 15:07:17 -04:00
Maarten Billemont
3403449ca2 Cleanup and fix some warnings. 2018-07-18 15:46:06 -04:00
Maarten Billemont
529f1feace Omit empty _mpw_ext & unneeded escaping. 2018-07-09 01:12:28 -04:00
Maarten Billemont
81358c16f9 Omit questions if none present and fix parsing sites with no questions. 2018-07-08 20:49:42 -04:00
Maarten Billemont
4a555748cd UTC times were parsed in as local time by mktime. 2018-07-08 20:49:31 -04:00
Maarten Billemont
64a69856ac Fix libsodium include paths. 2018-07-04 14:14:49 -04:00
Maarten Billemont
4b3662bbe9 Support for x86 Linux. 2018-07-04 12:16:37 -04:00
Maarten Billemont
b25130f4d2 Tweak include paths & add clean support to android libs. 2018-07-03 11:21:48 -04:00
Maarten Billemont
d6617563fc Clean libs when cleaning build. 2018-07-01 21:20:56 -04:00
Maarten Billemont
30dac64d5d Support for building on Linux. 2018-06-30 23:35:29 -04:00
Maarten Billemont
e4e2aaad95 Ensure GitLab CI does clean builds. 2018-06-30 20:53:29 -04:00
Maarten Billemont
c3f6796833 Pre-built library files for different platforms. 2018-06-30 12:35:40 -04:00
Maarten Billemont
86f4e8ec06 Fix gradle build. 2018-06-30 11:57:36 -04:00
Maarten Billemont
0dddcef28e libsodium and masterpassword-core must be linked statically + windows build configuration fixes. 2018-06-27 02:54:31 -04:00
Maarten Billemont
cc583c789d Merge branch 'master' of gitlab.com:MasterPassword/MasterPassword 2018-06-25 13:22:36 -04:00