Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-05-09 | Merge pull request #252 from blaenk/mod-time | Jasper Van der Jeugt | 1 | -4/+3 | |
save modification time with sub-second granularity | |||||
2014-05-09 | Merge branch 'master' of github.com:jaspervdj/hakyll | Jasper Van der Jeugt | 1 | -8/+11 | |
2014-05-09 | save modification time with sub-second granularity | Jorge Israel Peña | 1 | -4/+3 | |
Some systems can get the file modification time with sub-second granularity. However, Hakyll shaves off the sub-seconds, as defined in the Binary instance of BinaryTime, which poses a problem because when a file is checked to see if it was modified in `resourceModified`, it still contains the sub-seconds. This results in a file (almost) always being considered as having been modified. Example: 1. First go around, modification time is 3:45.325. This time is saved as 3:45.000 (i.e. sub-seconds are shaved off). 2. Second go around, modification time is again read as 3:45.325 and compared against the stored time, 3:45.000. 3:45.325 is more recent than 3:45.000, so the file is considered to have been modified. This change prevents the shaving off of sub-seconds. This will naturally work on systems that don't support sub-second granularity, as that 'field' will simply appear as all zeros. Closes #250 | |||||
2014-04-27 | Minor refactor of PR #233 | Jorge Israel Peña | 1 | -8/+11 | |
OS won't change mid-execution, so lets avoid the unnecessary check each time `unixFilter` is run. | |||||
2014-04-11 | Fix tag dependency issue, slightly improve caching | Jasper Van der Jeugt | 3 | -5/+7 | |
2014-03-26 | Micro cleanup of pull request #233 | Jasper Van der Jeugt | 1 | -4/+12 | |
2014-03-26 | Revert "added gloabl metadata parsing" | Jasper Van der Jeugt | 1 | -45/+2 | |
This reverts commit e0f45b29b3f5e17c04ecd054b6c26c67d71e10e4. Conflicts: src/Hakyll/Core/Provider/Metadata.hs | |||||
2014-03-26 | Revert "Fix loadGlobalMetadata on Windows" | Jasper Van der Jeugt | 1 | -4/+4 | |
This reverts commit e71bbd90a8fb4b5de7796498aed4b95bb7abaebb. | |||||
2014-03-26 | Revert "Fix root directory in directory-wise metadata and beautify code" | Jasper Van der Jeugt | 1 | -14/+20 | |
This reverts commit a6ae4eb99dd5f9957adc3b5fe4011e69b9681e4c. | |||||
2014-03-26 | Revert "Track metadata dependencies" | Jasper Van der Jeugt | 4 | -46/+14 | |
This reverts commit 712ffa39b5857fdc5cdae1db38a177267a430b11. Conflicts: src/Hakyll/Core/Metadata.hs src/Hakyll/Core/Rules/Default.hs | |||||
2014-03-26 | Revert "Added test case for global metadata" | Jasper Van der Jeugt | 1 | -1/+1 | |
This reverts commit 46b6f78da8ed814bef6972f4712d8b13e76c1122. Conflicts: tests/data/posts/metadata | |||||
2014-03-26 | Revert "set internalRules last, so that it can be overrided by rules" | Jasper Van der Jeugt | 1 | -1/+1 | |
This reverts commit d406db44e39d310a72ca6bb014ed882f0e883995. | |||||
2014-03-26 | Merge pull request #233 from rekahsoft/master | Jasper Van der Jeugt | 1 | -2/+6 | |
Fix unixFilter on Windows | |||||
2014-03-24 | Add flag to bind on selected host. | chrisdotcode | 1 | -0/+6 | |
2014-03-23 | Fix unixFilter on Windows | Collin J. Doering | 1 | -2/+6 | |
On windows, the 'unixFilter' function used window's 'createProcess' function to create the external process that will filter some String input. The problem with this is that it is unable to execute batch stubs (eg. anything created using 'gem install ...') even if its in $PATH. Anyways a solution to this issue is to execute the batch file explicitly using 'cmd /c batchfile' but there is no rational way to know where said batchfile is on the system. My solution is to detect windows using the System.Info module and then instead of using 'proc' to create the function, use 'shell' instead which will be able to execute everything 'proc' can + batch files. Inspired by: http://www.blaenkdenum.com/posts/the-switch-to-hakyll/#scss Signed-off-by: Collin J. Doering <rekahsoft@gmail.com> | |||||
2014-01-23 | Merge pull request #190 from krsch/master | Jasper Van der Jeugt | 4 | -4/+73 | |
Implemented per-directory metadata support | |||||
2014-01-22 | Unified code for global and external metadata | Alexey Kreshchuk | 3 | -6/+10 | |
Didn't clean up unused code though | |||||
2014-01-21 | set internalRules last, so that it can be overrided by rules | Alexey Kreshchuk | 1 | -1/+1 | |
2014-01-03 | Fix issue with metadataRoute for composed routes | Jasper Van der Jeugt | 1 | -5/+13 | |
2013-12-05 | Revert "Throw an error in case of duplicate compilers" | Jasper Van der Jeugt | 2 | -19/+6 | |
This reverts commit ffbce966075d258b16b44e6856333ef41e4487f4. | |||||
2013-11-22 | Throw an error in case of duplicate compilers | Jasper Van der Jeugt | 2 | -6/+19 | |
2013-11-18 | Detect change if metadata file is deleted | Jasper Van der Jeugt | 1 | -1/+3 | |
Closes #191 | |||||
2013-10-18 | Added test case for global metadata | Alexey Kreshchuk | 1 | -1/+1 | |
2013-10-16 | Track metadata dependencies | Alexey Kreshchuk | 4 | -14/+44 | |
I had to prepend some Rules to global Rules set. This might be possible to replaced by a correct Store.set call. I also had to prepend some Compile rules. | |||||
2013-10-15 | Fix root directory in directory-wise metadata and beautify code | Alexey Kreshchuk | 1 | -20/+14 | |
2013-10-12 | Fix loadGlobalMetadata on Windows | Alexey Kreshchuk | 1 | -4/+4 | |
2013-10-11 | added gloabl metadata parsing | Alexey Kreshchuk | 1 | -2/+43 | |
2013-08-29 | add preview port Configuration field | Jorge Israel Peña | 1 | -0/+5 | |
Make it possible to specify the default port to listen on when the preview server is run. This is useful if another service on the system already runs on port 8000 (the default), since it's a hassle to keep providing the port overriding option. For example: ./site preview vs. ./site preview -p 4000 | |||||
2013-08-14 | Fix versions & metadata loading issue | Jasper Van der Jeugt | 3 | -3/+9 | |
Closes #171 | |||||
2013-06-30 | Correct example code: parseGlob ==> fromGlob | uu1101 | 1 | -1/+1 | |
2013-06-17 | Merge pull request #162 from uu1101/seq-stderr | Jasper Van der Jeugt | 1 | -0/+2 | |
Deepseq stderr before closing the handle | |||||
2013-06-17 | Only add teaser when <!--more--> is there | Jasper Van der Jeugt | 1 | -17/+26 | |
2013-06-14 | Set handle encoding as per locale | uu1101 | 1 | -0/+1 | |
2013-06-14 | Deepseq stderr before closing the handle | uu1101 | 1 | -0/+1 | |
Otherwise laziness allows for the handle to be closed withouth receiving the input. This caused that no error messages were printed when `unixFilter`s failed. | |||||
2013-06-06 | teaserContext -> teaserField | Jasper Van der Jeugt | 1 | -1/+0 | |
2013-05-22 | Deploy should propagate error code | Simonas Kazlauskas | 1 | -3/+4 | |
And return 1 if neither deployCommand and deploySite is set. | |||||
2013-05-07 | Add partials to template system | Jasper Van der Jeugt | 1 | -1/+1 | |
2013-05-06 | Implement foreach structure | Jasper Van der Jeugt | 1 | -1/+1 | |
2013-05-05 | Logged dependencies adding for debugging purposes. | Ivan N. Veselov | 1 | -1/+5 | |
2013-05-04 | Added "teasers" support to be used in posts index. | Ivan N. Veselov | 1 | -0/+20 | |
Just add "<!-- teaser_end -->" to separate the teaser and the rest of the article and use "$teaser$" key in the template! Closes issue #35. | |||||
2013-05-04 | Minor style changes | Jasper Van der Jeugt | 2 | -13/+11 | |
2013-05-04 | Created tests and fixed isMember function | noxx | 1 | -11/+10 | |
2013-05-04 | Added isMember to load function | noxx | 1 | -7/+3 | |
2013-05-04 | Added isMember functions for Store | noxx | 1 | -0/+22 | |
2013-05-04 | Style changes, move stuff to common parser module | Jasper Van der Jeugt | 3 | -4/+35 | |
2013-05-04 | Merge remote-tracking branch 'sphynx/master' | Jasper Van der Jeugt | 1 | -0/+8 | |
2013-05-03 | Added MonadError's instance for Compiler. | Ivan N. Veselov | 1 | -0/+8 | |
2013-05-03 | Close open cache files as soon as possible | Jasper Van der Jeugt | 1 | -15/+24 | |
See #124 | |||||
2013-05-03 | More granular dependencies for routes | Jasper Van der Jeugt | 3 | -13/+29 | |
See #121 | |||||
2013-04-04 | Add event filtering based on pattern | Jasper Van der Jeugt | 2 | -6/+16 | |