172 Commits

Author SHA1 Message Date
daca9b763a
FINALLY got around to fixing document template loader 2020-01-14 01:20:25 -05:00
49b8a7ddaa
I can't believe we couldn't set both Accessors in a single line until now 2020-01-05 19:53:48 -05:00
ecf6c98b13
make an attribute class for CustomOption (not implemented yet) 2020-01-04 09:00:15 -05:00
bbf7cde84e
these should be DebuggerNonUserCode 2019-12-31 22:27:33 -05:00
389f6a4fa7
code cleanup 2019-12-29 16:50:02 -05:00
b9c16fe9bb
properly set _actualLength field when creating MemoryAccessor with initial data 2019-12-27 10:33:06 -05:00
bf643ee50e
properly set saved flag when calling Save() method 2019-12-22 15:22:01 -05:00
1d56893e99
don't crash if we get passed NULL array 2019-12-22 15:21:02 -05:00
d2e15f2d34
properly (well, not really) handle uris 2019-12-20 07:32:48 -05:00
e05d50215b
implement WriteVariableLengthInt32 function 2019-12-18 04:27:10 -05:00
954fee1a26
actually set value to default value 2019-12-15 05:37:52 -05:00
1bed62ee80
file name shortener for 8.3 filenames, etc. 2019-12-08 19:29:09 -05:00
c2bd1c04ee
well, it is 2019-12-08 03:55:49 -05:00
245041bbfa
well this never worked right apparently 2019-12-02 07:51:34 -05:00
92ddb591d0
set project version to 4.0.2019.12 2019-11-30 05:05:24 -05:00
3879cdc740
helper methods to round to nearest power of 2 2019-11-24 04:42:11 -05:00
d6e08850e2
_data.Length is usually much larger than _actualLength to save on ResizeArray calls 2019-11-23 21:14:12 -05:00
8e025b8589
everything else is done this way 2019-11-23 21:13:30 -05:00
95ae0c5a11
implement RoundUp for System.UInt64 2019-11-22 19:12:16 -05:00
02398ed366
properly update Accessor.Position for MemoryAccessor 2019-11-22 19:11:57 -05:00
2398a9e087
don't crash if we get passed in a null string 2019-11-17 14:46:02 -05:00
9064e144f0
function to get the zero-based offset of a particular String in a list of strings with optional padding after each item (e.g. 1 for null terminator) 2019-11-17 02:42:56 -05:00
f1b9f2a6b9
move common Align() functionality into ReaderWriterBase 2019-11-15 22:13:10 -05:00
52c8c050f3
this function was used in only one DataFormat. ever. and it never worked... 2019-11-14 23:08:16 -05:00
4d6d1c136b
not sure we need to test case sensitivity unless EXPLICITLY TOLD TO 2019-11-09 15:16:52 -05:00
1352eaae0d Clean up and comment code 2019-10-29 13:55:44 -04:00
334eabdaaf idk 2019-10-25 01:07:22 -04:00
985dacd494 Performance optimizations - replace foreach with for 2019-10-25 01:03:55 -04:00
ec639a7d20 Prevent crash if the string is null or empty 2019-10-02 12:31:25 -04:00
fd358446df Import some ANCIENT code from 'Extensible Data Storage' precursor to Universal Editor 2019-09-18 01:29:52 -04:00
46a5bd2003 no duh 2019-09-18 01:29:04 -04:00
ed32cd5200 idk 2019-09-17 19:02:17 -04:00
16761780be Handle file operations Accessor-agnostically 2019-09-15 15:27:33 -04:00
086e8e6088 hack hack hack for reading null-terminated unicode strings 2019-08-30 00:00:02 -04:00
0df4ccbf85 idk why monodevelop did this 2019-08-29 23:59:19 -04:00
7d832b6143 Ensure the stream is flushed - this is important for MemoryAccessor which allocates buffers larger than the actual data size 2019-08-19 12:24:50 -04:00
9421bcdc8c Don't re-allocate as often so we can move faster 2019-08-19 12:19:16 -04:00
93284f71d6 needs work 2019-08-18 02:36:48 -04:00
f9f546cdab Fix spacing C# formatting issue 2019-08-17 16:47:47 -04:00
b379e524d8 idk why monodevelop did this 2019-08-16 01:09:37 -04:00
b436b09c58 Add version information 2019-08-14 16:06:32 -04:00
8dde2cde5a get the deets 2019-08-04 03:23:43 -04:00
6cff72c1f4 Added Universal Editor Software Development UI plugin 2019-07-28 23:03:01 -04:00
bf2e2d26ca Added Lesser General Public License header and refactored GPL-specific code 2019-07-18 01:12:50 -04:00
8032a0d642 Universal Editor 5 huge commit 2019-07-17 23:28:36 -04:00
43334a1e21 Flag appropriate methods as DebuggerNonUserCode 2019-05-20 21:35:32 -04:00
d419a495c3 Silently fail if we are past the end of data 2016-09-19 00:37:36 -04:00
bcc66cd99c Allow creating a new instance of Document without specifying ObjectModel and DataFormat 2016-06-21 00:49:27 -04:00
6a6d536f87 Get rid of ObjectModelCustomProperty 2016-01-27 17:04:27 -05:00
d217b6b629 Separate custom properties by data format 2016-01-27 17:02:31 -05:00