Commit graph

139 commits

Author SHA1 Message Date
Jon Kunkee
4dfee8cfd6 Add --delete operation 2020-06-27 20:21:06 -07:00
Jon Kunkee
f28f96c27f Split find and act operations to allow deletion
This change splits CanProcess into a separate loop from Process so that
Process can perform actions like deletion that cause NbtPathEnumerator
to throw an exception. It also caches targetNode.Root before Process
because Process can cause targetNode to be invalid.
2020-06-27 16:52:19 -07:00
Justin Aquadro
15b1b2891f Missing a check in nbtutil 2017-11-24 03:05:29 -05:00
Justin Aquadro
e26a29580a forgot to update typeprinter 2017-11-24 03:02:59 -05:00
Justin Aquadro
d29f249d7e Add support for long array tags 2017-11-24 02:42:34 -05:00
Justin Aquadro
931ac752f5 Fix InnerException reporting 2015-08-10 23:19:56 -04:00
Justin Aquadro
97386a4e5f Updated sln 2015-08-10 23:19:43 -04:00
Justin Aquadro
9d640079b8 Add JSON exporter to NBTUtil 2015-06-16 01:16:31 -04:00
Justin Aquadro
2882fcde17 Add a few more known NBT extensions to the file pattern for directory enumeration. Closes #21. File-based open can already handle all extensions, from #31. 2015-04-18 16:41:58 -04:00
Justin Aquadro
60a7bbf8e9 Add read/modify/delete support for short array tags. As this is nonstandard NBT, creation will not be supported. Will be changed in the future if Mojang updates their specification. 2015-04-18 16:37:10 -04:00
Justin Aquadro
27110539a8 Allow deleting chunks from region files. 2015-04-18 14:23:41 -04:00
Justin Aquadro
5d456cf743 Merge pull request #32 from codewarrior0/open-unknown-as-nbt
When opening files directly, try opening as NBT if no registered filetypes were able to open them.
2015-04-14 02:02:10 -04:00
David Vierra
a279bb281e When opening files directly, try opening as NBT if no registered filetypes were able to open them.
Allows associating *.bpt, *.rs, *.thaum, and other extensions with NBTExplorer.
2015-04-10 21:29:12 -10:00
Justin Aquadro
a9f40fc596 Merge pull request #29 from maruohon/paste-into-empty-list
Allow pasting tags to an empty List. Converts the list's type.
2015-03-18 01:48:55 -04:00
Justin Aquadro
3916b8d362 Merge pull request #28 from codewarrior0/unsort-lists
When sorting the children of a TAG_LIST, preserve the original order.
2015-03-18 01:46:56 -04:00
Matti Ruohonen
26780b841d Allow pasting tags to an empty List. Converts the list's type. 2015-03-17 12:11:34 +02:00
David Vierra
f2688a8f9f When sorting the children of a TAG_LIST, preserve the original order. Order matters for TAG_LISTs. 2015-03-06 00:51:58 -10:00
Justin Aquadro
abde7d87c9 Merge pull request #27 from TepigMC/master
Fixed Typo
2015-03-03 08:02:05 -05:00
Andrew Archibald
3dc86b8b7c Fixed Typo 2015-03-02 21:22:05 -08:00
Justin Aquadro
1fd6ec2680 Add absolute world chunk coordinate to chunk names. 2015-02-28 14:50:42 -05:00
Justin Aquadro
975c11d3d8 Merge pull request #26 from codewarrior0/natural-sort
Change natural comparer to respect negative numbers
2015-02-27 00:11:55 -05:00
David Vierra
7a151d3e6f Change natural comparer to respect negative numbers 2015-02-26 18:53:55 -10:00
Justin Aquadro
db5d2a05c0 Change string compare to natural compare 2015-02-26 23:21:44 -05:00
David Vierra
5c32832281 Make directories sort before files in sort order.
Change identifiers to match existing style.
2015-02-25 23:32:57 -10:00
David Vierra
d8229f7ec5 Add new sort order to NBT Tree view.
Compounds first, then lists, then plain old data, then array types.
2015-02-25 23:23:18 -10:00
Justin Aquadro
fc63457d8e Fix key collision crash in some searches. Add version to About dialog. 2014-09-16 02:04:27 -04:00
Justin Aquadro
d3e53ac559 Update version info 2014-04-01 22:30:08 -04:00
Justin Aquadro
c9014d8b1f Change checkbox behavior on Basic Find 2014-04-01 22:26:05 -04:00
Justin Aquadro
2a043ba09c Fix crash when refreshing nodes with list tag on modified path. 2014-04-01 22:21:38 -04:00
Justin Aquadro
6412629678 Make logging actually succeed 2014-04-01 21:41:45 -04:00
Justin Aquadro
f3304f51a1 Fix crash when refreshing an unexpanded node. Improve error logging. 2014-03-31 20:53:41 -04:00
Justin Aquadro
3e6240d895 Fix array editor disabled 2014-03-31 00:10:39 -04:00
Justin Aquadro
e1096e29ca fix absolute path crash 2014-02-20 02:23:38 -05:00
Justin Aquadro
b303551fa0 Update installer version 2014-02-20 02:03:45 -05:00
Justin Aquadro
16ec47a411 File organization; added wildcard and glob matching to NBTUtil paths 2014-02-20 01:58:40 -05:00
Justin Aquadro
c5debf12d4 Fix bugs in search rule matching 2014-02-19 20:29:22 -05:00
Justin Aquadro
d4ad1bd99a Restructuring project to support separate command-line utility 2014-02-16 02:56:27 -05:00
Justin Aquadro
a03537bb99 Add Open in Explorer to context menu 2013-12-18 23:12:42 -05:00
Justin Aquadro
2d70d2af10 Merge branch 'master' of https://github.com/flarn2006/NBTExplorer 2013-12-18 22:47:27 -05:00
Justin Aquadro
5d51967501 Try to improve control flicker 2013-12-18 22:45:05 -05:00
flarn2006
ab4e789114 Added a menu item to open a directory in Explorer 2013-12-17 19:39:21 -05:00
flarn2006
b642b3aee4 Don't want to mess with the keyboard shortcut
See previous commit/added comments
2013-12-17 19:24:15 -05:00
flarn2006
400eb1f80a Hold down Ctrl to avoid using folder browse dlg
That dialog just plain sucks...you can't type in a path, for instance.
2013-12-17 19:17:15 -05:00
Justin Aquadro
366ec3fe9e More rigorous startup failure checking and reporting 2013-11-17 13:26:19 -05:00
Justin Aquadro
b2d54f39a6 Reorganize project structure; Add installer project 2013-11-09 22:57:24 -05:00
Justin Aquadro
ed6b69978e Add Chunk Finder tool to search menu 2013-11-09 20:09:22 -05:00
Justin Aquadro
9f44174887 Version bump 2013-11-01 22:19:50 -04:00
Justin Aquadro
85ca29cb79 Fixed regression in node controller preventing creation of new nodes. 2013-11-01 22:18:20 -04:00
Justin Aquadro
ae03136b5b Missing source file 2013-11-01 00:49:44 -04:00
Justin Aquadro
346adf297a Polish up find/replace, other bits of polish 2013-11-01 00:48:44 -04:00