Compare commits
No commits in common. "b3f117a7856f8aadd853b24f946d9807e1fa7197" and "4e76388f4f6b011525a92409d95d06360cb87a2d" have entirely different histories.
b3f117a785
...
4e76388f4f
@ -122,8 +122,8 @@ endforeach ()
|
||||
|
||||
# CPack
|
||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hex viewer")
|
||||
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
|
||||
set (CPACK_PACKAGE_CONTACT "Přemysl Eric Janouch <p@janouch.name>")
|
||||
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
|
||||
set (CPACK_PACKAGE_CONTACT "Přemysl Janouch <p@janouch.name>")
|
||||
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
||||
set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR})
|
||||
set (CPACK_PACKAGE_VERSION_MINOR ${project_VERSION_MINOR})
|
||||
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2016 - 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
Copyright (c) 2016 - 2017, Přemysl Janouch <p@janouch.name>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
3
hex.c
3
hex.c
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* hex -- hex viewer
|
||||
*
|
||||
* Copyright (c) 2016 - 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
* Copyright (c) 2016 - 2017, Přemysl Janouch <p@janouch.name>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted.
|
||||
@ -54,6 +54,7 @@ enum
|
||||
|
||||
#define LIBERTY_WANT_POLLER
|
||||
#define LIBERTY_WANT_ASYNC
|
||||
#define LIBERTY_WANT_PROTO_HTTP
|
||||
#include "liberty/liberty.c"
|
||||
#include "liberty/liberty-tui.c"
|
||||
|
||||
|
2
liberty
2
liberty
@ -1 +1 @@
|
||||
Subproject commit 1a76b2032e6d18d9f95d9d0bb98edc26023c8618
|
||||
Subproject commit bb30c7d86ef7b165c5e00cc8e0ad2e3e85b9e617
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- bencode.lua: BitTorrent data encoding
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- elf.lua: Executable and Linkable Format
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- gzip.lua: GZIP File Format
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- pcap.lua: libpcap file format
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -5,7 +5,7 @@
|
||||
-- In practice almost useless, I just wanted to learn about the file format.
|
||||
-- FIXME: it's also not very robust and doesn't support all documents.
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- vdi.lua: VirtualBox Disk Image
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- zip.lua: ZIP archives
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
@ -42,7 +42,6 @@ local decode = function (c)
|
||||
c (c.position, c.position + comment_len - 1):mark ("comment")
|
||||
|
||||
-- TODO: decode the fields better
|
||||
-- https://stackoverflow.com/a/30028491/76313
|
||||
-- TODO: also mark actual file data if someone wants to put in the effort
|
||||
c.position = cd_offset + 1
|
||||
for i = 1, cd_len do
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- zlib.lua: ZLIB Compressed Data Format
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
2
termo
2
termo
@ -1 +1 @@
|
||||
Subproject commit 8c4e867760eb20e3cdf997a301c8f8672c01e380
|
||||
Subproject commit 30e0eee1a82df265642cff6d57452ff660f0f2c9
|
Loading…
x
Reference in New Issue
Block a user