2
0
Commit Graph

361 Commits

Author SHA1 Message Date
Maarten Billemont
256a0d2cb5 Don't need .cc symlinks anymore. 2020-01-23 16:17:10 -05:00
Maarten Billemont
a9ae10d08b Can't reuse original env. 2020-01-23 16:17:04 -05:00
Maarten Billemont
fabb9a032d Refactor gradle core build configuration. 2020-01-23 16:16:59 -05:00
Maarten Billemont
47ecf30b2d Move cross-compilation Dockerfile. 2020-01-23 16:16:49 -05:00
Maarten Billemont
bb5d693452 message / format success check was short-cut. 2020-01-23 16:16:44 -05:00
Maarten Billemont
6e7dc74bb3 Enable access to json-c for marshalling. 2020-01-23 16:16:38 -05:00
Maarten Billemont
068fdbbf32 Don't declare new symbols for each file that includes mpw-util.h 2020-01-23 16:16:27 -05:00
Maarten Billemont
08a06639d0 Cross compile build fixes. 2020-01-23 16:16:12 -05:00
Maarten Billemont
64536f95c0 Linux cross compiling, linking & x86_64 arch standardization. 2020-01-23 16:14:33 -05:00
Maarten Billemont
a132e03b88 Fix vsnprintf args reuse, size & break before va_end. 2020-01-23 16:14:27 -05:00
Maarten Billemont
2bbd2549a1 Temporary hack because gradle's cpp-library plugin can't find C source files yet. 2020-01-23 16:14:19 -05:00
Maarten Billemont
87913326a5 Linux build fixes. 2020-01-23 16:14:12 -05:00
Maarten Billemont
bf5e30c2c7 JNI reference memory management. 2020-01-23 16:14:05 -05:00
Maarten Billemont
1c6a5256c1 Log native mpw into Java. 2020-01-23 16:13:58 -05:00
Maarten Billemont
fd1014926c Warning fixes and spotbug configuration tweaks. 2020-01-23 16:11:12 -05:00
Maarten Billemont
36692ac10d Consistent SpotBugs configuration & warning fixes. 2020-01-23 16:11:01 -05:00
Maarten Billemont
d0dc393d70 Gradle update. 2020-01-23 16:10:05 -05:00
Maarten Billemont
d0cf57105a Use the included words dictionary. 2020-01-23 16:07:52 -05:00
Maarten Billemont
55e30cb454 Build fixes. 2020-01-23 16:07:30 -05:00
Maarten Billemont
64577d5e0f API update. 2020-01-23 16:06:47 -05:00
Maarten Billemont
57f77e4f8e Fix leak of encryption buffer. 2020-01-23 16:06:41 -05:00
Maarten Billemont
360c0ade66 Improved maintenance of marshal file & abort on ftl. 2020-01-23 16:06:36 -05:00
Maarten Billemont
bf572a5e62 Missing accessory, fixes for data object lookup. 2020-01-23 16:06:26 -05:00
Maarten Billemont
4c6d7ac36c Marshal data API & fixes. 2020-01-23 16:06:17 -05:00
Maarten Billemont
ddb786c332 Persist unknown JSON properties, expose to API, safety improvements. 2020-01-23 16:06:07 -05:00
Maarten Billemont
fc1e86f0ca File holds data. 2020-01-23 16:06:02 -05:00
Maarten Billemont
9833f02339 Full file marshalling and prepare to make entire document available. 2020-01-23 16:05:55 -05:00
Maarten Billemont
2fdd9d2ca1 Allow marshalling without masterKey and record keyID in user. 2020-01-23 16:05:12 -05:00
Maarten Billemont
1b90b3deea Allow unauthenticated marshal reading to reset master key. 2020-01-23 16:04:53 -05:00
Maarten Billemont
a19df80a03 Enable annotation of library imports. 2020-01-23 16:03:40 -05:00
Maarten Billemont
0bbc6de2ab NULL if marshal content can't be understood. 2020-01-23 16:03:02 -05:00
Maarten Billemont
2af541a4d7 API documentation clarification. 2020-01-23 16:00:35 -05:00
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
3927d4e8b7 Remove Apple JDK 1.6 support. 2018-11-20 11:58:52 -05:00
Maarten Billemont
ef2494118b Minor cleanup of askpass code. 2018-11-20 11:58:38 -05:00
Maarten Billemont
39dacc8e5a User config in _ext_mpw, global config.json & residence config.
Moved user preferences (default type & hide passwords) into _ext_mpw.
Fixed an issue with JSON serialization of any values.
Made update check & background residency globally configurable
preferences saved in config.json.
2018-10-15 02:21:30 -04:00
Maarten Billemont
34042e5462 Extract user preferences into a separate class. 2018-10-13 18:07:24 -04:00
Maarten Billemont
ff17a1d637 Fix file import & sane format migration. 2018-10-13 16:58:04 -04:00
Maarten Billemont
46fe919476 Centralize query searching. 2018-10-13 16:54:49 -04:00
Maarten Billemont
8f35ac5f64 Improved libxml2 cflags/ldflags. 2018-09-26 00:43:23 -04:00
Maarten Billemont
1bf6109038 Hide passwords option & fix settings for new sites. 2018-09-26 00:00:05 -04:00
Maarten Billemont
f2fa2a25b2 Pass font resolution through the GraphicsEnvironment. 2018-09-25 20:55:04 -04:00
Maarten Billemont
2a0cfd3a32 Documentation and interface tweaks. 2018-09-22 19:43:13 -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
9a04c28054 Fix initialization of text consumers & action handlers on sites list. 2018-09-13 22:37:28 -04:00
Maarten Billemont
ec9c55ec4d Access login names by holding shift. 2018-09-13 15:49:58 -04:00
Maarten Billemont
d8a735e1b1 Improve render speed of lists. 2018-09-13 15:49:42 -04:00
Maarten Billemont
a1eee88a54 Improved search query support. 2018-09-12 13:12:10 -04:00
Maarten Billemont
ac5286853a Write release JARs to site directory. 2018-08-28 02:43:24 -04:00
Maarten Billemont
7bf7b8981c Fix duplication of user names in files list. 2018-08-27 18:24:00 -04:00
Maarten Billemont
0558176847 Fix dependencies in native mpw DLLs. 2018-08-27 13:07:38 -04:00
Maarten Billemont
5ca81b4aa7 Don't use daemon when setting release passwords in environment. 2018-08-25 11:57:36 -04:00
Maarten Billemont
3cbb063926 Refactor Native to try and load other architectures. 2018-08-24 16:33:14 -04:00
Maarten Billemont
d5551c8c8c Key calculator and access to the full algorithm. 2018-08-24 13:48:53 -04:00
Maarten Billemont
6f0d768e69 Saving custom passwords and logins. 2018-08-19 16:11:43 -04:00
Maarten Billemont
40fdc8d248 Fix initialization dependency cycle & load files on init. 2018-08-18 13:43:41 -04:00
Maarten Billemont
6b9e1b8cb8 Standard label font & fix warnings. 2018-08-14 12:06:04 -04:00
Maarten Billemont
f41cdb8742 Site security questions and copy login name. 2018-08-13 17:53:31 -04:00
Maarten Billemont
10c6d203b8 Implement security answers & immediate site lookup. 2018-08-07 00:07:16 -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
36a7c7f423 Clean up iconifying on copy. 2018-07-31 15:31:47 -04:00
Maarten Billemont
c2c4fb18bf Help improvements. 2018-07-31 15:16:33 -04:00
Maarten Billemont
3fc8acba70 Global hotkey, iconifying and application activation, help text. 2018-07-31 14:55:19 -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
3da82d30b1 Add support for creating incognito users. 2018-07-29 15:26:48 -04:00
Maarten Billemont
97532fdce6 Print UI dates in current time zone. 2018-07-29 15:18:54 -04:00
Maarten Billemont
fe63a2756a Fix default type for new sites & site UI updating. 2018-07-29 15:10:45 -04:00
Maarten Billemont
928b617ed0 Import & export users + improved user state tracking. 2018-07-29 14:01:07 -04:00
Maarten Billemont
18ecc41b39 Fix issues with UnsignedIntegerModel in a spinner. 2018-07-29 01:38:58 -04:00
Maarten Billemont
a6e9e89ace Update UI instead of resetting when site is updated. 2018-07-29 01:38:15 -04:00
Maarten Billemont
8377c9c615 JDK9 platform-independent way of managing application events. 2018-07-29 00:08:09 -04:00
Maarten Billemont
37a7cfa530 Support resetting user's master password. 2018-07-28 21:53:08 -04:00