Skip to content

Releases: moisespsena-go/xbindata

v0.0.4

11 Apr 20:34
Compare
Choose a tag to compare

Changelog

8bcf230 1) Allow build program with glob args; 2) Update help

v0.0.3

11 Apr 13:42
Compare
Choose a tag to compare

Changelog

cc8f082 1) Supports for build custom config; 2) Supports for build program from STDIN and to STDOUT

v0.0.2

10 Apr 21:09
Compare
Choose a tag to compare

Changelog

5e28fae Supports for input prefix

v0.0.1

09 Apr 21:25
Compare
Choose a tag to compare

Changelog

ff063d2 * Bump version to new release: 2.0.0 We do this, because the changes in this patch fundamentally alter the way code is generated by the tool. This will, in some cases, be incompatible with older versions. * Performs cleanup and minor code fixes. * Adds two new command line flags: * -prefix: This accepts a partial path. It is used when generating a target function name, as well as the key for the Table of Contents map (see below). The specified prefix is applied to the input file name, causing the prefix section to be stripped from the input file path. E.g.: input: /path/to/foo.x prefix: /path/to output: /foo.x * -toc: This is a boolean flag which tells the tool to generate a table of contents for the generated data files. It creates a separate 'bindata-toc.go' file, which defines a global map named go_bindata. It then appends an init function to the generated file. This function makes the data function register itself with the global map. * Fixes the function names the tool infers from input file names to include the full path. This fixes potential name collisions when the same file name is processed from different directories. For example, we can now safely import the following two files: ``` input file: css/ie/foo.css output function: css_ie_foo_css()
318b9e4 3.2.0
1cc2e96 3.3.0
c45d99b 3.4.0
62c481a 3.6.0
95df019 3.7.0
dae41c4 AUTHORS.txt: add Keegan Carruthers-Smith
6347e7a Accept individual files as parameters
001dbf2 Add AUTHORS file
f9f833b Add AssetInfo() into debug mode using type asset
242e60e Add Go 1.10.x to build matrix
0267f6e Add RestoreAsset/RestoreAssets methods
b2dec8c Add Russ Cox and MinJae Kwon to the list of authors
1950f31 Add Travis CI
57a8ec7 Add AssetNames function which returns the names of the assets.
3985e1c Add a benchmark
39a411c Add a command to perform releases
548b73e Add a missing dot
6cb758a Add build program
1c98ea9 Add helper functions to retrieve SHA256 checksums
39af47a Add init command
f092eb0 Add safefile tests and update LICENSE
c4d4575 Add some more test files and directories and implement locating of asset files.
7f6fddd Add support for -ignore
a7b06d6 Add to README
384e0ca Added -u flag. When this is supplied to the program, no compression of the input data will take place. This also means the generated source code changes from a function to a global variable. The function is only there because it has to decompress the binary data. When no compression is used, this is obviously not necessary. Default behaviour is still the same (with compression) so existing code using this program will not break. Fixed README to reflect new behaviour. Added new testdata examples for both compressed and uncompressed output.
81e20ed Added MustAsset function.
55b3525 Added facilities to pipe file data into stdin.
f813d1c Added support for build tags with the -tags flag
de61f8f Additionale export
14a0ff9 Adds -o flag to specify output file name.
98703b5 Adds a check to ensure the specified output directory actually exists.
7125d6f Adds an extra testdata file to ensure that there are no name collisions in the generated code, when it comes to multiple assets with the same file name.
a36b3d3 Adds the -r command line flag. This determines if the input directory should be processed recursively or not. The default is false.
5dec5f3 Adjust release mode for AssetInfo()
7f4fb11 Allow excluding metadata from built assets
1d06945 Always encode binary data to ascii-escaped strings
9178943 Always split by forward slashes when writing the TOC tree.
1c1928d Amends README with a note on how to access generated asset data.
7d4f923 Amends README with a small installation note.
cfd1b4b Appending a count for filenames that end up being duplicated by sanitization. Addresses issue kevinburke#46.
6129a39 Arhive support
f93f031 Asset retrieval is independent of OS Path
6ca6b73 AssetDir is now able to list the data root.
55801ef Attach current copyright year
e87a807 Avoid expensive fmt.Fprintf calls in `StringWriter.Write` inner loop. This addresses issue 14.
4fc85e2 Better Makefiles
871202f Bumps minor version.
6a3f0ac Bumps version number.
0450ba8 Change signature of generated function to only return the decompressed byte slice. The error value is removed. Instead the function will panic when a decompression error occurs. This allows us to assign the data to global variables were necessary. A decompression error is considered a deal breaker and therefor the panic is warranted.
5b255b5 Changed code to use new rune type unicode code points.
2a84f0b Changed from package to command. Removed bindata dependency from generated go files by embedding the unpacking code in the generated function.
f0faa42 Changes the meaning of the -out command line flag.
ac30d64 Changes: - Rename project to xbindata
2cb5341 Changes: - Rename project to xbindata
1a5fad7 Check whether a testdata diff has been generated
b9c70f2 Clean up version printing
98c1704 Combine the old and new code generation methods. We can select the .rodata hack described in issue kevinburke#1 by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the `unsafe` and `reflect` packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
4f258b3 Comment style
c2d800d Cosmetic fixes.
46eb4c1 Describe changes
96e3c9c Don't write NUL bytes in uncompressed_memcopy()
dada32c Early return
c3e4c77 Emit `errcheck`-passing code
ae16b2b Finishes imlpementing the various debug and release output modes. For debug we always read assets from disk and ignore the compression and memcopy options. For release mode, the assets are all embedded and the compression/memcopy options are taken into account.
0e05e3a Fix Asset signature in README.
93063b6 Fix Writers returning n-1 bytes written.
ca7033b Fix `*Config.validate` method not to make a directory when the `-o` flag's path does not have a directory.
cda5f33 Fix a typo of CONTRIBUTING.md (Update from "chose" to "choose")
f80b507 Fix bug of knownFuncs usage when findFiles is called recursively
c2c7562 Fix bug that invalid converted asset name
1f408c8 Fix config on root command
e338d3e Fix error in bindataRead
2c5bf09 Fix extreme memory bloat during compile time. When using uncompressed mode show raw UTF-8 strings for better diffs.
7bd7bcf Fix for ignored trailing path separator in prefix.
3b99b93 Fix for issue kevinburke#11
ccc86c4 Fix for weekly.2012-02-14
2985202 Fix function and package names if the user supplied versions start with a digit.
02da474 Fix generate doutput code. os.Error -> error. Remove calling of go fmt from code. This should really be done manually.
37af2a4 Fix generated code for both compressed and uncompressed modes. We now no longer require a memcpy to read the static file data and can get it directly from the .rodata section. This addresses issue kevinburke#1
8ed2cd0 Fix go format of generated code
a4f78e9 Fix handling of individual files in subdirectories
4387050 Fix init log
5f066fa Fix issue 4. Removes debug output from pipe mode.
778f570 Fix lint errors
fea0fad Fix output for generated file.
6a532a6 Fix runtime error: index out of range
caa3edd Fix spelling mistake
e764a84 Fix the following things:
07c13d4 Fix version cmd
6214789 Fixed typo in flag description text.
b1eab64 Fixes Config.validate() to create the directory of the output file, if it does not exist.
436fd0c Fixes a typo in the README.
ca6a684 Fixes another code comment.
10c722d Fixes bug in StringWriter, which causes the compiler to generate a segfault when there are too many string concatenations. This happens when we convert a file of about 100kb or larger.
bb0b560 Fixes bytewriter to format output.
17800c6 Fixes formatting of various generated outputs to be more compatible with `go fmt`. This partially addresses issue kevinburke#34
cd9bcb6 Fixes grammar issues in comments for generated functions.
3834e2f Fixes some code comments.
f5e037a Fixes some code comments.
965fbe4 Fixes some formatting in README.
015755b Fixes some inconsistencies in README.
efd0c57 Fixes some minor translation issues.
212d2a5 Fixes typo in flag description.
68a53ac Fixing small grammar error.
92036f4 Handle empty files
1788809 Ignore prefix if start with `.`
ae22b84 Imlpement buffered output writer for increased performance. This addresses issue 14.
d92efe3 Implement atomic file write
4674192 Implement supp-ort for multiple input paths in command line tool.
465fc29 Implementation for following symlinks
17f2782 Implements output of debug code. Partially imlpements output of release code. Reorganizes testdata directory.
12a4804 Implements writing of TOC file. Refactors code for debug and release writers. Adds output examples for various output modes.
8d94092 Improve performance
85c2b05 In case of error, exit status should be different than 0.
fff92e7 Incorporate go-nyet
36d53ea Insert "generated by" comments
ca29b0b Insert a newline
e6d1b0e Made the code usable as a library
560fbff Main directory becomes the library. go-bindata subdir holds the command code.
c65a1b1 Make the output file compatible with gofmt
854eaed Many Changes
6a17e71 Many Changes
5840299 Many Changes
4a5cfac Many Changes
b6af78b Merges translation functions into translate.go. Runs gofmt on code.
0877d93 Minor cleanup of README.
0e7bf08 Modify test to relate to function name
2b9a319 No more Makefiles. Use go command to build and install.
853793a Output TOC and tree in sorted order to make output stable between invocations. Addresses issue kevinburke#49
28919a6 Output files are not formatted in accordance with go fmt.
c385518 Performs some minor cleanup. Adds testdata output for a debug build. Fixes README to reflect new features and behaviour.
79a1eeb Print file sizes next to the filenames at top
4760779 Regenerate testdata
49f71bc Remove reflect and unsaf...

Read more