Commit Graph

299 Commits

Author SHA1 Message Date
30ff7be0e4 [ox] Make code only compile as PIC if a bare metal build 2019-06-15 02:39:46 -05:00
238bc58f66 [ox/std] Fix several issues found compiling on FreeBSD 2019-06-14 19:36:46 -05:00
2b60c04f1a [ox/std] Add gcc library as dependency when building with GCC 2019-06-14 18:19:43 -05:00
1bf3809b47 [ox] Merge branch 'master' of github.com:gtalent/nostalgia 2019-06-14 18:13:50 -05:00
22c9e4bdb2 [ox] Remove OC reference 2019-06-14 07:53:00 -05:00
11029c93c8 [ox/std] Add missing ARM7TDMI functions, some are just stubs for now 2019-06-14 07:50:38 -05:00
096509c2be [ox] Fix GCC errors 2019-06-06 18:50:06 -05:00
05c0eb2f78 [ox/fs] Add base path access to PassthroughFS 2019-03-30 17:13:56 -05:00
5dbe160633 [ox/std] Uglify OxError parameter name to prevent name conflicts 2019-03-30 17:13:03 -05:00
2830eb76b6 [ox] Fix setup_build script for GBA 2019-03-18 22:33:09 -05:00
f191ade18b [ox/mc] Make VLI encode/decode constexpr 2019-03-18 19:26:58 -05:00
b33cd06031 [ox] Get building with devkitARM again 2019-03-18 00:19:04 -05:00
22da505869 [ox/fs] Remove bad debug code from FileStore::unplaceItem 2019-03-17 23:18:54 -05:00
fa3f7801d2 [ox/fs] Remove inode on decLinks if links is 0 2019-03-17 23:16:41 -05:00
7cfe9aad8e [ox/fs] Properly implement FileStore unplaceItem and move ! to correct canWrite 2019-03-17 23:14:17 -05:00
245eba8d5b [ox/fs] Switch some FS test asserts to check for ox::Error instead of 0 2019-03-17 22:39:59 -05:00
07112682c6 [ox/ptrarith] Fix compact not to cycle back to start 2019-03-17 22:39:20 -05:00
7a2033da60 [ox/fs] Fix unnecessary FileStore compacting 2019-03-17 22:37:42 -05:00
c9d816503d [ox/std] Fix string number/char* append 2019-03-17 17:57:17 -05:00
52b9316858 [ox/std] Replace int with ox::Error where appropriate 2019-03-17 14:13:49 -05:00
d139eb9729 [ox/std] Move std::size_t delcaration to beginning of std/types.hpp 2019-03-17 13:21:04 -05:00
bbd1d187b2 [ox/model] Rename ioOp and op to model and field 2019-03-17 13:18:46 -05:00
bf6469b4a3 [ox] Rename Serialization package to Model 2019-03-17 13:04:18 -05:00
cf7ba595aa [ox/std] Cleanup 2019-03-17 03:05:00 -05:00
e0605edb6e [ox/mc] Use VLI encoding for integers 2019-03-17 03:04:39 -05:00
817e3fcef1 [ox/mc] Add bytes read to decodeInteger and fix overreading 2019-03-17 01:11:12 -05:00
df44abc316 [ox/mc] Add VLI decode 2019-03-17 00:04:00 -05:00
341dbf14ae [ox/mc] Fix VLI encoding not to chop off ends of >24 bit integers 2019-03-16 23:54:53 -05:00
1780657789 [ox/std] Add Siged and Unsiged templates 2019-03-16 15:50:37 -05:00
585ff0a1fe [ox/std] Add raw to byteswap type 2019-03-16 14:51:09 -05:00
9f805f761d [ox/std] Add noexcept to bitops functions 2019-03-16 14:50:32 -05:00
10b3757558 [ox/std] Add is_signed 2019-03-16 14:49:16 -05:00
e4aab88831 [ox/mc] Fix VLI encoding to handle negatives 2019-03-16 14:41:43 -05:00
a9b7b00011 [ox/ser] Fix to use Error instead of int 2019-03-16 14:39:50 -05:00
80dd6282f5 [ox/std] Add integer size templates 2019-03-16 14:28:11 -05:00
17fc48aa26 [ox/mc] Finish encoding for variable length integers 2019-03-15 01:30:38 -05:00
e31f51648c [ox/ser] Cleanup 2019-03-13 17:53:33 -05:00
538fcdb43c [ox/ser] Rename McStr to SerStr 2019-03-08 21:26:21 -06:00
4330c015a5 [ox/ser] Fix byte lengths of integer types 2019-03-08 00:21:33 -06:00
e45122184e [ox/mc] Rename FieldPresenceMask to FieldPresenceIndicator 2019-03-07 23:00:59 -06:00
f218ec44af [ox] Split generalizable portion MC into ser package 2019-03-07 21:47:46 -06:00
fa1cf8bb73 [ox] Prefix build setup targets with configure- 2019-03-07 18:04:57 -06:00
7ff3b59801 [ox] Change make target to all 2019-03-07 18:02:05 -06:00
cd91f6b60a [ox/mc] Add basic walking of data by data descriptor 2019-03-07 06:05:08 -06:00
8b7db3d544 [ox/fs] Remove designated initializer usage 2019-03-04 23:13:55 -06:00
c1fa5dc287 [ox/std] Remove mc usage from std 2019-03-04 22:39:38 -06:00
9f78e2320f [ox/std] Remove implicit signed/unsigned conversions 2019-03-04 21:22:35 -06:00
40dac704d0 [ox/mc] Replace int errors with Error 2019-03-04 21:16:30 -06:00
d51acfd033 [ox/std] Make ox_strlen return std::size 2019-03-04 20:15:53 -06:00
e10594b006 [ox] Enable new compiler warnings 2019-03-04 19:56:57 -06:00
0c570438e4 [ox/fs] Remove C99 designated initializer usage 2019-03-04 19:42:48 -06:00
9844416a4e [ox/std] Remove C-style casts 2019-03-04 19:42:22 -06:00
564ca7511c [ox/std] Add pop_back to Vector 2019-03-02 22:10:12 -06:00
21f5a34b75 [ox/mc] Fix build issues encountered when using MetalClawDefWriter 2019-02-28 23:12:20 -06:00
652b603ec6 [ox/fs] Fix FS to use stdc++fs when building with GNU 2019-02-28 23:10:50 -06:00
dc3fe3c18e [ox/std] Add maybe_unused to assert check in test to allow release builds 2019-02-25 21:50:52 -06:00
6ddd44828b [ox/std] Add != to BString 2019-02-25 21:46:54 -06:00
0ea44e5ead [ox/mc] Remove walk.cpp from CMake 2019-02-25 20:48:51 -06:00
def449607c [ox/mc] Add Walker 2019-02-24 23:57:31 -06:00
3facd25794 [ox] Remove redundant null check before delete 2019-02-24 23:52:14 -06:00
d3f78982e6 [ox/std] Remove incorrect noexcepts from HashMap 2019-02-24 23:49:14 -06:00
805244f796 [ox/std] Add nodiscard to bitops, byteswap, and strops 2019-02-24 09:36:04 -06:00
5a1d1c0a2f [ox] Move buildinfo and trace packages into std 2019-02-23 23:15:09 -06:00
57aa0d556c [ox] Remove VS Code directory 2019-02-23 11:52:44 -06:00
6b66127691 [ox/std] Add missing constexprs to BString methods 2019-02-14 05:15:53 +00:00
1c64096c38 [ox/mc] Add McStr to wrap C style strings to distinguish them from arrays 2019-02-13 02:42:33 +00:00
c7e9a95a3f [ox/mc] Fix DefWriter to properly detect when to write Types 2019-02-12 06:20:05 +00:00
c8f39af001 [ox/mc] Add Vector handler to Reader and Writer 2019-02-12 05:02:40 +00:00
5c51e17156 [ox/mc] Add Vector handler to DefWriter, add static_assert tests 2019-02-12 03:58:14 +00:00
1c6e40220b [ox/mc] Fix MetalClawDefWriter OpType 2019-02-11 06:51:01 +00:00
75aeedb7b5 [ox/mc] Add def writer 2019-02-11 05:59:33 +00:00
96c56e2589 [ox/std] Make BString constexpr 2019-02-10 07:52:22 +00:00
52536fcb97 [ox/std] Remove unused include from assert.hpp 2019-02-09 07:43:58 +00:00
1a2733f5ce [ox/mc] Fix MC test's incorrect reporting of number of fields 2019-02-09 07:39:55 +00:00
a0290c315a [ox/std] Add missing pragma once to HashMap header 2019-02-09 04:29:32 +00:00
9ca27361dc [ox/std] Add expand to HashMap 2019-02-03 01:13:35 -06:00
87e6b8d19f [ox/std] Add HashMap 2019-02-02 21:06:42 -06:00
e5c5c0da43 [ox] Add gdblogger 2019-01-15 22:32:54 -06:00
791c076b51 [ox/fs] Strip leading slashes in PassThroughFS paths 2019-01-15 22:01:30 -06:00
ec6326001d [ox/std] Fix ox_malloca to work outside ox namespace 2019-01-15 17:39:33 -06:00
59ee1ada56 [ox/fs] Add PassthroughFS 2019-01-11 19:39:20 -06:00
55119253da [ox/fs] Make format method static 2018-12-29 22:29:03 -06:00
713aa7380f [ox/fs] Remove old file system code 2018-10-29 22:56:01 -05:00
fdc227cb72 [ox/fs] Fix log channel 2018-10-21 15:29:33 -05:00
77c88515b2 [ox] Make cmake directory structure more consistent with project 2018-10-21 07:21:25 -05:00
f21cb465e6 [ox] Add gdblogger integration 2018-10-21 07:20:49 -05:00
4b70330710 [ox/fs] Fix Directory::mkdir 2018-10-21 07:19:40 -05:00
0ba964a475 [ox/std] Make asserts generate stack traces 2018-09-02 21:11:39 -05:00
72b9437ef5 [ox/fs] Add extra checks to FileSystem test 2018-09-02 10:20:01 -05:00
1770c8a1e2 [ox/fs] Remove abstract FileStore class 2018-09-01 23:52:43 -05:00
6648d941c9 [ox/trace] Add delimiter setter to trace handlers 2018-09-01 21:52:26 -05:00
cbfd9566d1 [ox/fs] Fix FileSystemTemplate::write to create Directory path index 2018-09-01 16:28:36 -05:00
0c6a557878 [ox/fs] Make Directory type a type parameter in FileSystemTemplate 2018-09-01 15:52:59 -05:00
6a82e96db7 [ox] Add vscode files 2018-09-01 15:11:37 -05:00
e4e8f141b6 [ox/fs] Fix -p write 2018-09-01 01:56:20 -05:00
9472043d80 [ox/fs] Remove completely pointless uses of ox_malloca 2018-09-01 01:17:12 -05:00
e918f2e60e [ox/std] Cleanup MallocaPtr on heap determination 2018-09-01 00:37:53 -05:00
32e2878fb1 [ox/std] Fix errCode extraction incorrect bit shift 2018-08-19 00:06:37 -05:00
338199be12 [ox/std] Further constexpr OxError 2018-08-19 00:02:13 -05:00
f12de38211 [ox/std] Fix oxReturnError to not re-originate the Error 2018-08-18 23:57:59 -05:00