d3feb9534cRemoves unnecessary return in writeReleaseAsset. This satisfies the rules for go vet. Addresses issue #35
Jim Teeuwen
2014-06-09 12:31:18 +0200
17800c65a0Fixes formatting of various generated outputs to be more compatible with go fmt. This partially addresses issue #34
Jim Teeuwen
2014-05-28 14:43:02 +0200
394d5b27c0Merge pull request #32 from XenoPhex/master
jimt
2014-05-16 20:22:52 +0200
f93f031745Asset retrieval is independent of OS Path
Anand Gaitonde and Michael Maximilien
2014-05-16 10:34:04 -0700
4b70a41eb8Merge pull request #31 from yosssi/fix-toc-footer
jimt
2014-05-12 17:52:26 +0200
ff2ab748ebRemove the unnecessary line break of the TOC footer
yosssi
2014-05-13 00:39:28 +0900
8abc1cae37Merge pull request #30 from yosssi/add-assetnames
jimt
2014-05-12 12:34:24 +0200
e764a84fdfFix the following things:
yosssi
2014-05-12 18:15:42 +0900
57a8ec74ceAdd AssetNames function which returns the names of the assets.
yosssi
2014-05-12 13:59:00 +0900
6c168add63Merge pull request #29 from yosssi/fix-contributing
jimt
2014-05-10 20:00:37 +0200
ab3c8e2995Merge pull request #28 from yosssi/fix-config-validate
jimt
2014-05-10 19:59:02 +0200
cda5f335aeFix a typo of CONTRIBUTING.md (Update from "chose" to "choose")
yosssi
2014-05-11 02:55:35 +0900
ca7033b19aFix *Config.validate method not to make a directory when the -o flag's path does not have a directory.
yosssi
2014-05-11 02:42:25 +0900
2ebf002fb5Merge pull request #26 from ian-kent/master
jimt
2014-04-30 01:41:00 +0200
7f6fddddd0Add support for -ignore
Ian Kent
2014-04-29 23:42:13 +0100
212d2a5cdcFixes typo in flag description.
Jim Teeuwen
2014-04-10 18:10:22 +0200
3834e2fe48Fixes some code comments.
Jim Teeuwen
2014-03-07 22:13:34 +0100
362b0784bbMerge pull request #20 from taichi/use_to_slash
jimt
2014-02-28 19:34:45 +0100
eb1b26017aUse / in the name of the asset. Windows path separator is not / in \.
SATO taichi
2014-02-28 20:33:10 +0900
1c1928d3b6Amends README with a note on how to access generated asset data.
v3.0.5
Jim Teeuwen
2014-01-29 12:43:10 +0100
e87a807885Avoid expensive fmt.Fprintf calls in StringWriter.Write inner loop. This addresses issue 14.
v3.0.4
Jim Teeuwen
2014-01-29 11:34:37 +0100
ae22b84b7eImlpement buffered output writer for increased performance. This addresses issue 14.
Jim Teeuwen
2014-01-29 11:28:32 +0100
436fd0c250Fixes a typo in the README.
Jim Teeuwen
2014-01-29 02:05:30 +0100
7d4f92315cAmends README with a small installation note.
Jim Teeuwen
2014-01-29 02:03:55 +0100
f628643380Merge branch 'batchconvert'
v3.0.3
Jim Teeuwen
2014-01-29 01:44:38 +0100
658f2bddf4Runs go fmt.
Jim Teeuwen
2014-01-29 01:38:29 +0100
bb0b560542Fixes bytewriter to format output.
Jim Teeuwen
2014-01-29 01:37:15 +0100
20077324b7Removes debug print output.
Jim Teeuwen
2014-01-28 23:32:50 +0100
85c2b05609In case of error, exit status should be different than 0.
Paweł Błaszczyk
2014-01-07 17:41:09 +0100
37aa0dc02eMerge pull request #15 from pblaszczyk/fix
jimt
2014-01-03 12:11:32 -0800
28919a6a56Output files are not formatted in accordance with go fmt.
Paweł Błaszczyk
2014-01-03 19:08:52 +0100
7bd7bcfcdfFix for ignored trailing path separator in prefix.
Paweł Błaszczyk
2014-01-03 18:46:33 +0100
b903585359Revises README to reflect changes to command line API.
Jim Teeuwen
2013-11-16 12:20:14 +0100
4674192d6bImplement supp-ort for multiple input paths in command line tool.
Jim Teeuwen
2013-11-16 12:19:19 +0100
14a0ff90f8Adds -o flag to specify output file name.
Jim Teeuwen
2013-11-16 12:08:37 +0100
67221add2eReplaces CONTRIBUTE file with CONTRIBUTING.md file. The list of contributors is no longer included, as it can be deduced from the git commit history. No need to maintain it twice.
Jim Teeuwen
2013-11-16 11:57:31 +0100
f43e6bd89cMerge pull request #13 from inconshreveable/experimental
jimt
2013-11-12 01:41:44 -0800
bd1a47dfeabe more helpful on no-argument invocation
Alan Shreve
2013-11-08 21:31:55 +0200
8e87ecda2areturn errors from calls to Asset() instead of ever panicking
Alan Shreve
2013-11-08 17:38:45 +0200
7ab45c816fadd support for converting multiple directories simultaneously
Alan Shreve
2013-11-08 17:21:11 +0200
2c7ab48825use 'go' command style recursion indicators on path inputs rather than a recursive flag
Alan Shreve
2013-11-08 17:14:25 +0200
965fbe401bFixes some formatting in README.
Jim Teeuwen
2013-11-01 10:36:39 +0100
b1eab644d7Fixes Config.validate() to create the directory of the output file, if it does not exist.
Jim Teeuwen
2013-11-01 10:34:25 +0100
ca6a684780Fixes another code comment.
Jim Teeuwen
2013-11-01 10:30:39 +0100
f5e037a829Fixes some code comments.
Jim Teeuwen
2013-11-01 10:27:50 +0100
a36b3d3839Adds the -r command line flag. This determines if the input directory should be processed recursively or not. The default is false.
v3.0.2
Jim Teeuwen
2013-10-30 16:08:29 +0100
c385518c06Performs some minor cleanup. Adds testdata output for a debug build. Fixes README to reflect new features and behaviour.
v3.0.1
Jim Teeuwen
2013-10-30 15:24:59 +0100
cca9f8e6b7Removes output of both debug and release code. There really is no point to this.
Jim Teeuwen
2013-10-30 14:45:04 +0100
12a480432aImplements writing of TOC file. Refactors code for debug and release writers. Adds output examples for various output modes.
Jim Teeuwen
2013-10-30 13:14:58 +0100
efd0c57cfdFixes some minor translation issues.
Jim Teeuwen
2013-10-30 11:42:09 +0100
7125d6f515Adds 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.
Jim Teeuwen
2013-10-30 02:19:24 +0100
ae16b2b3c6Finishes 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.
Jim Teeuwen
2013-10-30 02:16:14 +0100
17f2782db6Implements output of debug code. Partially imlpements output of release code. Reorganizes testdata directory.
Jim Teeuwen
2013-10-30 02:11:04 +0100
c4d457542aAdd some more test files and directories and implement locating of asset files.
Jim Teeuwen
2013-10-29 18:23:52 +0100
560fbff5dfMain directory becomes the library. go-bindata subdir holds the command code.
Jim Teeuwen
2013-10-29 16:17:14 +0100
6187b52bebStrips existing code. Refactors directory structure and begins implementation of version 3.0.1.
Jim Teeuwen
2013-10-29 16:16:12 +0100
f813d1c931Added support for build tags with the -tags flag
Elias Naur
2013-09-19 17:27:54 +0200
871202fb0fBumps minor version.
Jim Teeuwen
2013-08-01 12:12:39 +0200
0cd33e9b7dReverts change to -out flag. One should specify the full path of the target file, instead of just the target directory.
Jim Teeuwen
2013-08-01 12:10:59 +0200
98703b5677Adds a check to ensure the specified output directory actually exists.
v2.0.0
Jim Teeuwen
2013-07-26 23:47:30 +0200
f0faa42c2fChanges the meaning of the -out command line flag.
v2.0.0.1-beta
Jim Teeuwen
2013-07-25 23:58:17 +0200
dcda30b1adRuns go fmt.
Jim Teeuwen
2013-07-25 23:57:40 +0200
ff063d28c6* 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()
2.0.0
Jim Teeuwen
2013-07-25 22:46:12 +0200
6a3f0aca94Bumps version number.
1.0.1
Jim Teeuwen
2013-07-07 13:04:43 +0200
10c722dc95Fixes 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.
Jim Teeuwen
2013-07-07 13:02:07 +0200
0877d93299Minor cleanup of README.
jimt
2013-03-09 13:37:09 +0100
b6af78b318Merges translation functions into translate.go. Runs gofmt on code.
jimt
2013-03-09 13:31:48 +0100
98c1704190Combine the old and new code generation methods. We can select the .rodata hack described in issue #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
jim teeuwen
2012-06-22 14:12:15 +0200
c2d800d607Cosmetic fixes.
jim teeuwen
2012-06-14 11:20:10 +0200
37af2a4b27Fix 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 #1
jim teeuwen
2012-06-13 14:17:25 +0200
ed2cd8b81cSome more code cleanup.
jim teeuwen
2012-06-07 23:34:34 +0200
665944b444Remove some unneccesary code bits.
jim teeuwen
2012-06-07 23:28:16 +0200
6214789c41Fixed typo in flag description text.
jim teeuwen
2012-03-28 01:43:03 +0200
384e0cafe9Added -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.
jim teeuwen
2012-03-28 01:39:01 +0200
0450ba8421Change 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.
jim teeuwen
2012-03-08 11:47:57 +0100
360acac596Update README to reflect fix in generated file.
jim teeuwen
2012-03-06 19:31:58 +0100
fea0fad8adFix output for generated file.
jim teeuwen
2012-03-06 19:30:35 +0100
ccc86c4533Fix for weekly.2012-02-14
jim teeuwen
2012-02-15 12:37:05 +0100
02da4740e4Fix generate doutput code. os.Error -> error. Remove calling of go fmt from code. This should really be done manually.
jim teeuwen
2012-02-11 16:49:43 +0100
2b9a31984cNo more Makefiles. Use go command to build and install.
jim teeuwen
2012-02-09 17:35:10 +0100
7df69a98dfgofmt -s -w
jim teeuwen
2011-12-07 13:49:06 +0100
470290002egofix go1rename
jim teeuwen
2011-11-09 14:46:27 +0100
468e190b33gofix error
jim teeuwen
2011-11-02 16:41:07 +0100
efcb2b8d06gofix error
jim teeuwen
2011-11-02 16:40:26 +0100
5b255b58eeChanged code to use new rune type unicode code points.
jim teeuwen
2011-10-26 11:59:30 +0200
2985202b2bFix function and package names if the user supplied versions start with a digit.
jim teeuwen
2011-06-27 18:45:39 +0200
55b35257dfAdded facilities to pipe file data into stdin.
jim teeuwen
2011-06-17 18:52:40 +0200
c539ce1afcwrong license header in main.go
jim teeuwen
2011-06-17 18:01:49 +0200