Compare commits

...

3 Commits

Author SHA1 Message Date
Přemysl Eric Janouch b3f117a785
Name change 2020-09-28 05:10:27 +02:00
Přemysl Eric Janouch d87ae4bfba
Bump liberty and termo 2020-09-28 05:09:20 +02:00
Přemysl Eric Janouch 16e24195e7
Cleanup, add comment 2018-10-27 15:08:18 +02:00
13 changed files with 15 additions and 15 deletions

View File

@ -122,8 +122,8 @@ endforeach ()
# CPack
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hex viewer")
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
set (CPACK_PACKAGE_CONTACT "Přemysl Janouch <p@janouch.name>")
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
set (CPACK_PACKAGE_CONTACT "Přemysl Eric 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})

View File

@ -1,4 +1,4 @@
Copyright (c) 2016 - 2017, Přemysl Janouch <p@janouch.name>
Copyright (c) 2016 - 2017, Přemysl Eric 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
View File

@ -1,7 +1,7 @@
/*
* hex -- hex viewer
*
* Copyright (c) 2016 - 2017, Přemysl Janouch <p@janouch.name>
* Copyright (c) 2016 - 2017, Přemysl Eric 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,7 +54,6 @@ enum
#define LIBERTY_WANT_POLLER
#define LIBERTY_WANT_ASYNC
#define LIBERTY_WANT_PROTO_HTTP
#include "liberty/liberty.c"
#include "liberty/liberty-tui.c"

@ -1 +1 @@
Subproject commit bb30c7d86ef7b165c5e00cc8e0ad2e3e85b9e617
Subproject commit 1a76b2032e6d18d9f95d9d0bb98edc26023c8618

View File

@ -1,7 +1,7 @@
--
-- bencode.lua: BitTorrent data encoding
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -1,7 +1,7 @@
--
-- elf.lua: Executable and Linkable Format
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -1,7 +1,7 @@
--
-- gzip.lua: GZIP File Format
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -1,7 +1,7 @@
--
-- pcap.lua: libpcap file format
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -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 Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -1,7 +1,7 @@
--
-- vdi.lua: VirtualBox Disk Image
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted.

View File

@ -1,7 +1,7 @@
--
-- zip.lua: ZIP archives
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric 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,6 +42,7 @@ 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

View File

@ -1,7 +1,7 @@
--
-- zlib.lua: ZLIB Compressed Data Format
--
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
-- Copyright (c) 2017, Přemysl Eric 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

@ -1 +1 @@
Subproject commit 30e0eee1a82df265642cff6d57452ff660f0f2c9
Subproject commit 8c4e867760eb20e3cdf997a301c8f8672c01e380