diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 00000000..1f4e6c43 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,517 @@ +.editorconfig +.github/FUNDING.yml +.github/workflows/mac-ci.yml +.gitignore +CHANGES.txt +LICENSE.txt +MANIFEST +Makefile +Makefile.AppImage +Makefile.osx +Makefile.win +README.OSX.md +README.Windows.md +README.md +doc/comments-types.gif +doc/file-diff.gif +doc/ldoc.config.ld +googletest/include/gtest/gtest-death-test.h +googletest/include/gtest/gtest-message.h +googletest/include/gtest/gtest-param-test.h +googletest/include/gtest/gtest-param-test.h.pump +googletest/include/gtest/gtest-printers.h +googletest/include/gtest/gtest-spi.h +googletest/include/gtest/gtest-test-part.h +googletest/include/gtest/gtest-typed-test.h +googletest/include/gtest/gtest.h +googletest/include/gtest/gtest_pred_impl.h +googletest/include/gtest/gtest_prod.h +googletest/include/gtest/internal/custom/README.md +googletest/include/gtest/internal/custom/gtest-port.h +googletest/include/gtest/internal/custom/gtest-printers.h +googletest/include/gtest/internal/custom/gtest.h +googletest/include/gtest/internal/gtest-death-test-internal.h +googletest/include/gtest/internal/gtest-filepath.h +googletest/include/gtest/internal/gtest-internal.h +googletest/include/gtest/internal/gtest-linked_ptr.h +googletest/include/gtest/internal/gtest-param-util-generated.h +googletest/include/gtest/internal/gtest-param-util-generated.h.pump +googletest/include/gtest/internal/gtest-param-util.h +googletest/include/gtest/internal/gtest-port-arch.h +googletest/include/gtest/internal/gtest-port.h +googletest/include/gtest/internal/gtest-string.h +googletest/include/gtest/internal/gtest-tuple.h +googletest/include/gtest/internal/gtest-tuple.h.pump +googletest/include/gtest/internal/gtest-type-util.h +googletest/include/gtest/internal/gtest-type-util.h.pump +googletest/src/gtest-all.cc +googletest/src/gtest-death-test.cc +googletest/src/gtest-filepath.cc +googletest/src/gtest-internal-inl.h +googletest/src/gtest-port.cc +googletest/src/gtest-printers.cc +googletest/src/gtest-test-part.cc +googletest/src/gtest-typed-test.cc +googletest/src/gtest.cc +googletest/src/gtest_main.cc +help/.gitignore +help/Makefile +help/README.md +help/chm/content/rehex.hhp +help/chm/templates/code.tt +help/chm/templates/hhc.tt +help/chm/templates/hhk.tt +help/chm/templates/page.tt +help/content/bitmap-demo.png +help/content/comments-view.png +help/content/diff-elf.png +help/content/icon128.png +help/content/template-dialog.png +help/content/template-example-struct1.png +help/content/template-example-struct2.png +help/content/template-example-var1.png +help/content/template-example-var2.png +help/content/virt-mapping-dialog.png +help/content/virt-mapping-exe1.png +help/contents.txt +help/online/content/htmbook.png +help/online/content/htmpage.png +help/online/content/style.css +help/online/templates/code.tt +help/online/templates/page.tt +help/pages/bitmap.tt +help/pages/bt-funcs.tt +help/pages/bt-syntax.tt +help/pages/bt-types.tt +help/pages/bt.tt +help/pages/code-keyword.tt +help/pages/code-type.tt +help/pages/comments.tt +help/pages/diff.tt +help/pages/index.tt +help/pages/inline-type.tt +help/pages/plugins.tt +help/pages/types.tt +help/pages/virt-mapping.tt +help/template.pl +help/wx/content/rehex.hhp +help/wx/templates/code.tt +help/wx/templates/hhc.tt +help/wx/templates/hhk.tt +help/wx/templates/page.tt +include/gcc-win-include/wingdi.h +include/msvc-win-include/wingdi.h +include/portable_endian.h +include/wxluasetup.h +msvc/.gitignore +msvc/all-tests-appcode/all-tests-appcode.vcxproj +msvc/all-tests-appcode/all-tests-appcode.vcxproj.filters +msvc/all-tests/all-tests.vcxproj +msvc/all-tests/all-tests.vcxproj.filters +msvc/all-tests/tests/keep.txt +msvc/embed/embed.vcxproj +msvc/embed/embed.vcxproj.filters +msvc/gen_content.bat +msvc/install_vcpkg_dependencies.bat +msvc/rehex.props +msvc/rehex.sln +msvc/rehex.vcxproj +msvc/rehex.vcxproj.filters +msvc/resources/resources.vcxproj +msvc/resources/resources.vcxproj.filters +msvc/tests.props +msvc/thirdparty.props +msvc/vcpkg-deploy/vcpkg-deploy.vcxproj +msvc/vcpkg-deploy/vcpkg-deploy.vcxproj.filters +msvc/wxlua/wxlua.vcxproj +msvc/wxlua/wxlua.vcxproj.filters +plugins/binary-template/Makefile +plugins/binary-template/executor.lua +plugins/binary-template/executor/arrayvalue.lua +plugins/binary-template/executor/filearrayvalue.lua +plugins/binary-template/executor/filevalue.lua +plugins/binary-template/executor/immediatevalue.lua +plugins/binary-template/executor/plainvalue.lua +plugins/binary-template/executor/structvalue.lua +plugins/binary-template/executor_spec.lua +plugins/binary-template/lulpeg/LICENSE +plugins/binary-template/lulpeg/lulpeg.lua +plugins/binary-template/parser.lua +plugins/binary-template/parser_spec.lua +plugins/binary-template/plugin.lua +plugins/binary-template/preprocessor-tests/basic-test-1.bt +plugins/binary-template/preprocessor-tests/crlf-line-endings.bt +plugins/binary-template/preprocessor-tests/cyclic-macro-test.bt +plugins/binary-template/preprocessor-tests/ifdef-test-1.bt +plugins/binary-template/preprocessor-tests/include-test-1.bt +plugins/binary-template/preprocessor-tests/include-test-1a.h +plugins/binary-template/preprocessor-tests/include-test-1b.h +plugins/binary-template/preprocessor-tests/include-test-2.bt +plugins/binary-template/preprocessor-tests/include-test-2a.h +plugins/binary-template/preprocessor-tests/include-test-2b.h +plugins/binary-template/preprocessor-tests/macro-test-1.bt +plugins/binary-template/preprocessor-tests/macro-test-2.bt +plugins/binary-template/preprocessor-tests/multi-line-comment.bt +plugins/binary-template/preprocessor-tests/single-line-comment.bt +plugins/binary-template/preprocessor-tests/unmatched-else-test.bt +plugins/binary-template/preprocessor-tests/unmatched-endif-test.bt +plugins/binary-template/preprocessor-tests/unmatched-ifdef-test.bt +plugins/binary-template/preprocessor-tests/unmatched-ifndef-test.bt +plugins/binary-template/preprocessor.lua +plugins/binary-template/preprocessor_spec.lua +plugins/binary-template/templates/.gitignore +plugins/binary-template/templates/riff.bt +plugins/examples/window.lua +plugins/exe/Makefile +plugins/exe/bitops52.lua +plugins/exe/class.lua +plugins/exe/document_stream.lua +plugins/exe/enum.lua +plugins/exe/kaitaistruct.lua +plugins/exe/microsoft_pe.lua +plugins/exe/plugin.lua +plugins/exe/string_decode.lua +plugins/exe/string_stream.lua +plugins/exe/utils.lua +plugins/pcap/Makefile +plugins/pcap/plugin.lua +res/Info.plist +res/SOURCES.md +res/actual_size16.png +res/ascii16.png +res/ascii24.png +res/ascii32.png +res/ascii48.png +res/backward32.png +res/diff_fold16.png +res/diff_fold24.png +res/diff_fold32.png +res/diff_fold48.png +res/document_new32.png +res/document_open32.png +res/document_save32.png +res/document_save_as32.png +res/down32.png +res/fit_to_screen16.png +res/forward32.png +res/icon.ico +res/icon1024.png +res/icon128.png +res/icon16.png +res/icon256.png +res/icon32.png +res/icon48.png +res/icon512.png +res/icon64.png +res/offsets.xcf +res/offsets16.png +res/offsets24.png +res/offsets32.png +res/offsets48.png +res/rehex.desktop +res/spinner24.gif +res/swap_horiz16.png +res/swap_vert16.png +res/up32.png +res/version.cpp +res/version.h +res/winres.h +res/winres.rc +res/zoom_in16.png +res/zoom_out16.png +src/AboutDialog.cpp +src/AboutDialog.hpp +src/App.hpp +src/AppMac.mm +src/AppMain.cpp +src/AppSettings.cpp +src/AppSettings.hpp +src/AppTestable.cpp +src/ArtProvider.cpp +src/ArtProvider.hpp +src/BasicDataTypes.cpp +src/BasicDataTypes.hpp +src/BitmapTool.cpp +src/BitmapTool.hpp +src/ByteRangeMap.hpp +src/ByteRangeSet.cpp +src/ByteRangeSet.hpp +src/BytesPerLineDialog.cpp +src/BytesPerLineDialog.hpp +src/CharacterEncoder.cpp +src/CharacterEncoder.hpp +src/CharacterFinder.cpp +src/CharacterFinder.hpp +src/ClickText.cpp +src/ClickText.hpp +src/CodeCtrl.cpp +src/CodeCtrl.hpp +src/CommentTree.cpp +src/CommentTree.hpp +src/ConsoleBuffer.cpp +src/ConsoleBuffer.hpp +src/ConsolePanel.cpp +src/ConsolePanel.hpp +src/DataType.cpp +src/DataType.hpp +src/DiffWindow.cpp +src/DiffWindow.hpp +src/DisassemblyRegion.cpp +src/DisassemblyRegion.hpp +src/Document.luadoc +src/DocumentCtrl.cpp +src/DocumentCtrl.hpp +src/EditCommentDialog.cpp +src/EditCommentDialog.hpp +src/Events.cpp +src/Events.hpp +src/FastRectangleFiller.hpp +src/FillRangeDialog.cpp +src/FillRangeDialog.hpp +src/IntelHexExport.cpp +src/IntelHexExport.hpp +src/IntelHexImport.cpp +src/IntelHexImport.hpp +src/LRUCache.hpp +src/LicenseDialog.cpp +src/LicenseDialog.hpp +src/LuaPluginLoader.cpp +src/LuaPluginLoader.hpp +src/MainWindow.luadoc +src/NestedOffsetLengthMap.hpp +src/NumericEntryDialog.hpp +src/NumericTextCtrl.hpp +src/Palette.cpp +src/Palette.hpp +src/SafeWindowPointer.hpp +src/SelectRangeDialog.cpp +src/SelectRangeDialog.hpp +src/SharedDocumentPointer.hpp +src/StringPanel.cpp +src/StringPanel.hpp +src/Tab.cpp +src/Tab.hpp +src/Tab.luadoc +src/ToolPanel.cpp +src/ToolPanel.hpp +src/UnsortedMapVector.hpp +src/VirtualMappingDialog.cpp +src/VirtualMappingDialog.hpp +src/VirtualMappingList.cpp +src/VirtualMappingList.hpp +src/buffer.cpp +src/buffer.hpp +src/decodepanel.cpp +src/decodepanel.hpp +src/disassemble.cpp +src/disassemble.hpp +src/document.cpp +src/document.hpp +src/endian_conv.hpp +src/lua-bindings/FuncWrapper.hpp +src/lua-bindings/rehex.i +src/lua-bindings/rehex_override.hpp +src/lua-bindings/rehex_rules.lua +src/lua-plugin-preload.lua +src/mainwindow.cpp +src/mainwindow.hpp +src/platform.hpp +src/profile.cpp +src/profile.hpp +src/search.cpp +src/search.hpp +src/textentrydialog.cpp +src/textentrydialog.hpp +src/util.cpp +src/util.hpp +src/win32lib.cpp +src/win32lib.hpp +tests/BitmapTool.cpp +tests/ByteRangeMap.cpp +tests/ByteRangeSet.cpp +tests/CharacterEncoder.cpp +tests/CharacterFinder.cpp +tests/CommentTree.cpp +tests/CommentsDataObject.cpp +tests/ConsoleBuffer.cpp +tests/DiffWindow.cpp +tests/DisassemblyRegion.cpp +tests/Document.cpp +tests/DocumentCtrl.cpp +tests/FastRectangleFiller.cpp +tests/IntelHexExport.cpp +tests/IntelHexImport.cpp +tests/LuaPluginLoader.cpp +tests/NestedOffsetLengthMap.cpp +tests/NumericTextCtrl.cpp +tests/SafeWindowPointer.cpp +tests/SearchBase.cpp +tests/SearchValue.cpp +tests/SharedDocumentPointer.cpp +tests/SizeTestPanel.cpp +tests/SizeTestPanel.hpp +tests/StringPanel.cpp +tests/Tab.cpp +tests/bin-data.bin +tests/buffer.cpp +tests/endian_conv.cpp +tests/error-plugin.lua +tests/ls.x86_64 +tests/main.cpp +tests/read-test-1.lua +tests/read-test-2.lua +tests/read-test-3.lua +tests/search-bseq.cpp +tests/search-text.cpp +tests/stub-plugin.lua +tests/testutil.cpp +tests/testutil.hpp +tests/util.cpp +tools/embed.cpp +tools/gtk-config.cpp +tools/mac-build-dependencies.sh +update-wxlua.sh +wxLua/bindings/CMakeLists.txt +wxLua/bindings/Makefile +wxLua/bindings/any-bind-sync.lua +wxLua/bindings/genidocs.lua +wxLua/bindings/genidocs_rules.lua +wxLua/bindings/genwxbind.bat +wxLua/bindings/genwxbind.lua +wxLua/bindings/parse_doxygen_xml.lua +wxLua/bindings/readme.txt +wxLua/bindings/stc-bind-sync.lua +wxLua/bindings/wxlua/Makefile +wxLua/bindings/wxlua/override.hpp +wxLua/bindings/wxlua/wxlua.i +wxLua/bindings/wxlua/wxlua_rules.lua +wxLua/bindings/wxlua_debugger/Makefile +wxLua/bindings/wxlua_debugger/override.hpp +wxLua/bindings/wxlua_debugger/wxluadebugger.i +wxLua/bindings/wxlua_debugger/wxluadebugger_rules.lua +wxLua/bindings/wxwidgets/wxadv_adv.i +wxLua/bindings/wxwidgets/wxadv_dataview.i +wxLua/bindings/wxwidgets/wxadv_dvrenderers.i +wxLua/bindings/wxwidgets/wxadv_grid.i +wxLua/bindings/wxwidgets/wxadv_override.hpp +wxLua/bindings/wxwidgets/wxadv_rules.lua +wxLua/bindings/wxwidgets/wxaui_aui.i +wxLua/bindings/wxwidgets/wxaui_override.hpp +wxLua/bindings/wxwidgets/wxaui_rules.lua +wxLua/bindings/wxwidgets/wxbase_base.i +wxLua/bindings/wxwidgets/wxbase_config.i +wxLua/bindings/wxwidgets/wxbase_data.i +wxLua/bindings/wxwidgets/wxbase_datetime.i +wxLua/bindings/wxwidgets/wxbase_file.i +wxLua/bindings/wxwidgets/wxbase_override.hpp +wxLua/bindings/wxwidgets/wxbase_rules.lua +wxLua/bindings/wxwidgets/wxclassref.txt +wxLua/bindings/wxwidgets/wxcore_appframe.i +wxLua/bindings/wxwidgets/wxcore_clipdrag.i +wxLua/bindings/wxwidgets/wxcore_controls.i +wxLua/bindings/wxwidgets/wxcore_core.i +wxLua/bindings/wxwidgets/wxcore_defsutils.i +wxLua/bindings/wxwidgets/wxcore_dialogs.i +wxLua/bindings/wxwidgets/wxcore_event.i +wxLua/bindings/wxwidgets/wxcore_gdi.i +wxLua/bindings/wxwidgets/wxcore_geometry.i +wxLua/bindings/wxwidgets/wxcore_graphics.i +wxLua/bindings/wxwidgets/wxcore_help.i +wxLua/bindings/wxwidgets/wxcore_image.i +wxLua/bindings/wxwidgets/wxcore_mdi.i +wxLua/bindings/wxwidgets/wxcore_menutool.i +wxLua/bindings/wxwidgets/wxcore_override.hpp +wxLua/bindings/wxwidgets/wxcore_picker.i +wxLua/bindings/wxwidgets/wxcore_print.i +wxLua/bindings/wxwidgets/wxcore_rules.lua +wxLua/bindings/wxwidgets/wxcore_sizer.i +wxLua/bindings/wxwidgets/wxcore_windows.i +wxLua/bindings/wxwidgets/wxdatatypes_rules.lua +wxLua/bindings/wxwidgets/wxgl_gl.i +wxLua/bindings/wxwidgets/wxgl_rules.lua +wxLua/bindings/wxwidgets/wxhtml_html.i +wxLua/bindings/wxwidgets/wxhtml_override.hpp +wxLua/bindings/wxwidgets/wxhtml_rules.lua +wxLua/bindings/wxwidgets/wxmedia_media.i +wxLua/bindings/wxwidgets/wxmedia_rules.lua +wxLua/bindings/wxwidgets/wxnet_net.i +wxLua/bindings/wxwidgets/wxnet_override.hpp +wxLua/bindings/wxwidgets/wxnet_rules.lua +wxLua/bindings/wxwidgets/wxpropgrid_propgrid.i +wxLua/bindings/wxwidgets/wxpropgrid_rules.lua +wxLua/bindings/wxwidgets/wxrichtext_richtext.i +wxLua/bindings/wxwidgets/wxrichtext_rules.lua +wxLua/bindings/wxwidgets/wxstc_override.hpp +wxLua/bindings/wxwidgets/wxstc_rules.lua +wxLua/bindings/wxwidgets/wxstc_stc.i +wxLua/bindings/wxwidgets/wxwebview_rules.lua +wxLua/bindings/wxwidgets/wxwebview_webview.i +wxLua/bindings/wxwidgets/wxxml_override.hpp +wxLua/bindings/wxwidgets/wxxml_rules.lua +wxLua/bindings/wxwidgets/wxxml_xml.i +wxLua/bindings/wxwidgets/wxxrc_rules.lua +wxLua/bindings/wxwidgets/wxxrc_xrc.i +wxLua/licence.txt +wxLua/modules/wxbind/CMakeLists.txt +wxLua/modules/wxbind/include/wxadv_wxladv.h +wxLua/modules/wxbind/include/wxbinddefs.h +wxLua/modules/wxbind/include/wxcore_wxlcore.h +wxLua/modules/wxbind/include/wxhtml_wxlhtml.h +wxLua/modules/wxbind/setup/wxluasetup.h +wxLua/modules/wxbind/src/Makefile +wxLua/modules/wxbind/src/Makefile_wxadv +wxLua/modules/wxbind/src/Makefile_wxaui +wxLua/modules/wxbind/src/Makefile_wxbase +wxLua/modules/wxbind/src/Makefile_wxcore +wxLua/modules/wxbind/src/Makefile_wxgl +wxLua/modules/wxbind/src/Makefile_wxhtml +wxLua/modules/wxbind/src/Makefile_wxmedia +wxLua/modules/wxbind/src/Makefile_wxnet +wxLua/modules/wxbind/src/Makefile_wxrichtext +wxLua/modules/wxbind/src/Makefile_wxstc +wxLua/modules/wxbind/src/Makefile_wxxml +wxLua/modules/wxbind/src/Makefile_wxxrc +wxLua/modules/wxbind/src/dummy.cpp +wxLua/modules/wxbind/src/wxadv_wxladv.cpp +wxLua/modules/wxbind/src/wxcore_wxlcore.cpp +wxLua/modules/wxbind/src/wxhtml_wxlhtml.cpp +wxLua/modules/wxlua/CMakeLists.txt +wxLua/modules/wxlua/Makefile +wxLua/modules/wxlua/atomic.h +wxLua/modules/wxlua/bit.c +wxLua/modules/wxlua/debug/CMakeLists.txt +wxLua/modules/wxlua/debug/Makefile +wxLua/modules/wxlua/debug/dummy.cpp +wxLua/modules/wxlua/debug/wxldebug.cpp +wxLua/modules/wxlua/debug/wxldebug.h +wxLua/modules/wxlua/debug/wxlstack.cpp +wxLua/modules/wxlua/debug/wxlstack.h +wxLua/modules/wxlua/debug/wxluadebugdefs.h +wxLua/modules/wxlua/debugger/CMakeLists.txt +wxLua/modules/wxlua/debugger/Makefile +wxLua/modules/wxlua/debugger/dummy.cpp +wxLua/modules/wxlua/debugger/wxldserv.cpp +wxLua/modules/wxlua/debugger/wxldserv.h +wxLua/modules/wxlua/debugger/wxldtarg.cpp +wxLua/modules/wxlua/debugger/wxldtarg.h +wxLua/modules/wxlua/debugger/wxlsock.cpp +wxLua/modules/wxlua/debugger/wxlsock.h +wxLua/modules/wxlua/debugger/wxluadebuggerdefs.h +wxLua/modules/wxlua/dummy.cpp +wxLua/modules/wxlua/lbitlib.c +wxLua/modules/wxlua/sharedptr.h +wxLua/modules/wxlua/wxlbind.cpp +wxLua/modules/wxlua/wxlbind.h +wxLua/modules/wxlua/wxlcallb.cpp +wxLua/modules/wxlua/wxlcallb.h +wxLua/modules/wxlua/wxlconsole.cpp +wxLua/modules/wxlua/wxlconsole.h +wxLua/modules/wxlua/wxldefs.h +wxLua/modules/wxlua/wxllua.cpp +wxLua/modules/wxlua/wxllua.h +wxLua/modules/wxlua/wxlobject.cpp +wxLua/modules/wxlua/wxlobject.h +wxLua/modules/wxlua/wxlstate.cpp +wxLua/modules/wxlua/wxlstate.h +wxLua/modules/wxlua/wxlua.h +wxLua/modules/wxlua/wxlversion.h diff --git a/Makefile b/Makefile index 3aed50b7..e542c08b 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ endif LDLIBS := -lunistring $(WX_LIBS) $(GTK_LIBS) $(CAPSTONE_LIBS) $(JANSSON_LIBS) $(LUA_LIBS) $(LDLIBS) # Define this for releases -# VERSION := x +VERSION := 0.5.4 ifdef VERSION LONG_VERSION := Version $(VERSION) @@ -126,8 +126,8 @@ else GIT_COMMIT_TIME ?= $(call shell-or-die,git log -1 --format="%ct") - VERSION := $(GIT_COMMIT_SHA) - LONG_VERSION := Snapshot $(GIT_COMMIT_SHA) + VERSION := cd847ccb965b8b6de478aaf98433f5c46bd1d27f + LONG_VERSION := Snapshot cd847ccb965b8b6de478aaf98433f5c46bd1d27f endif DEPDIR := .d @@ -594,8 +594,8 @@ else git ls-files | xargs cp --parents -t rehex-$(VERSION)/ # Inline any references to the HEAD commit sha/timestamp - sed -i -e "s|\$$(GIT_COMMIT_SHA)|$(GIT_COMMIT_SHA)|g" rehex-$(VERSION)/Makefile - sed -i -e "s|\$$(GIT_COMMIT_TIME)|$(GIT_COMMIT_TIME)|g" rehex-$(VERSION)/Makefile + sed -i -e "s|\$cd847ccb965b8b6de478aaf98433f5c46bd1d27f|cd847ccb965b8b6de478aaf98433f5c46bd1d27f|g" rehex-$(VERSION)/Makefile + sed -i -e "s|\$1666561440|1666561440|g" rehex-$(VERSION)/Makefile endif # Generate reproducible tarball. All files use git commit timestamp. @@ -603,7 +603,7 @@ endif LC_ALL=C sort -z | \ tar \ --format=ustar \ - --mtime=@$(GIT_COMMIT_TIME) \ + --mtime=@1666561440 \ --owner=0 --group=0 --numeric-owner \ --no-recursion --null -T - \ -cf - | \ diff --git a/res/Info.plist b/res/Info.plist index 1c581db1..43589360 100644 --- a/res/Info.plist +++ b/res/Info.plist @@ -12,7 +12,7 @@ net.solemnwarning.rehex CFBundleVersion - 0.0.0 + 0.5.4 CFBundlePackageType APPL