Ondřej Hošek
e061e4f4ee
Merge branch 'upstream'
...
update to 2.4.5 revision 1
Conflicts:
HLLib/XZPFile.cpp
2014-09-28 17:03:38 +02:00
Ondřej Hošek
87cfe4aa34
update HLLib to 2.4.5 revision 1
2014-09-28 17:01:44 +02:00
Ondřej Hošek
5b5d787de5
HLLib: build as C++11 with all warnings on Unix
2013-11-22 02:01:21 +01:00
Ondřej Hošek
7f7fb3c668
HLLib: add default cases to all switches
...
Fixes a g++ warning.
2013-11-22 02:00:52 +01:00
Ondřej Hošek
537c4d8303
HLLib: correct access to template-inherited variable
...
If the superclass is a template class, member variables can only be
accessed via the this pointer.
2013-11-22 02:00:32 +01:00
Ondřej Hošek
5850344f8a
HLLib: fake typedef inheritance
...
To "inherit" the typedefs from a possibly-specialized superclass, they must
be explicitly typedef'd to the superclass's typedefs.
2013-11-22 01:58:05 +01:00
Ondřej Hošek
f817b5727f
HLLib: remove spurious 0 from format string
...
If a precision is given for an unsigned integer, padding always happens
with zeroes.
2013-11-22 01:56:47 +01:00
Ondřej Hošek
57e6a9b5bb
HLLib: bypass strict-aliasing rules using union
...
Suppress the strict-aliasing warning by accessing the FourCC array via a
union.
2013-11-22 01:56:08 +01:00
Ondřej Hošek
d2fdc13491
HLLib: always initialize file access mode variable
...
Fixes the warning appearing thanks to -Wuninitialized.
2013-11-22 01:55:11 +01:00
Ondřej Hošek
f5a28b2729
HLLib: update Makefile version number to 2.4.5
2013-11-22 01:04:41 +01:00
Ondřej Hošek
f93bccd42c
Merge branch 'upstream'
...
merging in 2.4.5
2013-11-22 01:03:39 +01:00
Ondřej Hošek
d2845adff7
update HLLib to 2.4.5
2013-11-22 01:03:30 +01:00
Ondřej Hošek
855728724f
HLExtract: make hlextract depend on libhl.a in the Makefile
2013-11-22 01:02:12 +01:00
Ondřej Hošek
880077d94c
HLLib: don't infinite-loop in WStringToString if an unexpected character is detected
2013-05-07 16:47:06 +02:00
Ondřej Hošek
c48d5c298a
HLExtract: use colors only if outputting to a terminal
2013-05-07 15:49:14 +02:00
Ondřej Hošek
0dce4a6660
HLExtract: colors on Unix
...
uses ANSI escape sequences; not guaranteed to work on every terminal
2013-05-07 15:06:11 +02:00
Ondřej Hošek
fd6cfcbe5c
HLExtract: update usage to reflect Unix bin name
...
Update the usage message of HLExtract to reflect that the name of the binary is
"hlextract" as dictated by the Makefile. Also remove the quotes that would break
substitution of tilde for the home directory.
2013-05-07 15:03:28 +02:00
Ondřej Hošek
522c3f9237
HLExtract: add Makefile
2013-05-07 14:57:34 +02:00
Ondřej Hošek
1627ba2c46
update HLLib version in Makefile
2013-04-02 03:48:40 +02:00
Ondřej Hošek
5b2de7e1d8
Merge branch 'upstream'
2013-04-02 03:46:16 +02:00
Ondřej Hošek
ae33040994
update HLLib to 2.4.4
2013-04-02 03:44:24 +02:00
Ondřej Hošek
79e956bee0
update HLLib version in Makefile
2012-12-11 03:12:30 +01:00
Ondřej Hošek
c510087d99
Linux: build SGAFile.cpp too
2012-12-11 03:06:02 +01:00
Ondřej Hošek
3c79312e89
Merge branch 'upstream'
2012-12-11 03:02:32 +01:00
Ondřej Hošek
8473d547ed
update HLLib to 2.4.3
2012-12-11 03:02:11 +01:00
Ondřej Hošek
8e827c13f7
HLExtract: flush stdout after progress update
2012-06-30 23:45:36 +02:00
Ondřej Hošek
4d4d8a414a
HLExtract: remove pointless call
2012-06-30 20:18:19 +02:00
Ondřej Hošek
af8c23d24e
HLExtract: handle unused parameters
2012-06-30 20:16:58 +02:00
Ondřej Hošek
fa3808be7e
HLExtract: add default cases
2012-06-30 20:16:42 +02:00
Ondřej Hošek
364a4e61c5
HLExtract: use in-tree path to HLLib on Unix
2012-06-30 20:16:10 +02:00
Ondřej Hošek
bf05bce351
strip names off unused parameters
2012-06-30 20:04:21 +02:00
Ondřej Hošek
2cd9ae6833
cast -1 to unsigned for comparison
2012-06-30 20:03:29 +02:00
Ondřej Hošek
a922f748e7
order initializers according to class declaration
2012-06-30 14:43:37 +02:00
Ondřej Hošek
b537c1af7c
no need to break from switch when returning
2012-06-30 14:43:15 +02:00
Ondřej Hošek
ac0b7ef8ba
officially handle seek-from-beginning case as well
2012-06-30 14:43:03 +02:00
Ondřej Hošek
e920f2c6fa
unsigned ints are always greater than or equal to zero
2012-06-30 14:42:46 +02:00
Ondřej Hošek
92b096bbd4
add default cases to some switch statements
2012-06-30 14:42:31 +02:00
Ondřej Hošek
37f312cde2
declare relevant targets as phony
2012-06-30 14:20:05 +02:00
Ondřej Hošek
0fc09df149
fix wildcards and clean in Makefile
2012-06-30 14:19:39 +02:00
Ondřej Hošek
10d4208a7f
fix seeking in long files on Unix
2012-06-30 13:59:02 +02:00
Ondřej Hošek
b85b1390ac
update HLLib version in Makefile
2012-06-30 13:56:41 +02:00
Ondřej Hošek
852fc7ef43
a bit more const correctness in XZPFile
2012-06-30 13:55:49 +02:00
Ondřej Hošek
00bbde88b8
support building a static library on Unix
2012-06-30 13:54:48 +02:00
Ondřej Hošek
ad62011f36
checkin pristine HLLib 2.4.2
2012-06-30 13:45:25 +02:00