summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09save modification time with sub-second granularityJorge Israel Peña1-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-28Merge pull request #247 from blaenk/static-windows-checkJasper Van der Jeugt1-8/+11
Minor refactor of PR #233
2014-04-27Minor refactor of PR #233Jorge Israel Peña1-8/+11
OS won't change mid-execution, so lets avoid the unnecessary check each time `unixFilter` is run.
2014-04-27Merge pull request #246 from duplode/masterJasper Van der Jeugt1-0/+2
Add duplode.github.io to examples.
2014-04-27Add duplode.github.io to examples.Daniel Mlot1-0/+2
2014-04-26Merge pull request #245 from moonlightdrive/masterJasper Van der Jeugt1-1/+1
close a missing p tag
2014-04-25close a missing p tagJyotsna Prakash1-1/+1
2014-04-21Merge pull request #243 from izzycecil/FIX_toSiteRootJasper Van der Jeugt2-0/+3
Fix `toSiteRoot` so that it properly deals with "./"
2014-04-19FIX: `toSiteRoot` no considers "./" to not be relavent.Izzy Cecil1-0/+1
2014-04-19ADD: Added failing test cases for `toSiteRoot`.Izzy Cecil1-0/+2
2014-04-07Fix compilation when disabling preview serverJasper Van der Jeugt2-2/+2
2014-04-06Strictify http-conduit dependencyJasper Van der Jeugt1-3/+3
2014-04-06Merge pull request #239 from emwap/masterJasper Van der Jeugt1-2/+2
Relax upper limit on http-conduit
2014-04-04Relax upper limit on http-conduitAnders Persson1-2/+2
Fixes #237.
2014-04-03Add secure.plaimi.net to examplesJasper Van der Jeugt1-0/+2
2014-04-03Add jelv.is to examplesJasper Van der Jeugt1-0/+2
2014-04-01Version bump (4.5.0.1)Jasper Van der Jeugt1-1/+1
2014-04-01Merge pull request #235 from dacto/masterJasper Van der Jeugt1-0/+2
Added imports that are missing when compiling under Windows.
2014-03-31Added imports that are missing when compiling under Windows.Dacto1-0/+2
2014-03-26Bump version, update changelogJasper Van der Jeugt2-1/+17
2014-03-26Bump various dependenciesJasper Van der Jeugt1-7/+7
2014-03-26Allow regex-tdfa-1.2Jasper Van der Jeugt1-2/+2
Closes #232
2014-03-26Micro cleanup of pull request #233Jasper Van der Jeugt1-4/+12
2014-03-26Revert "added gloabl metadata parsing"Jasper Van der Jeugt1-45/+2
This reverts commit e0f45b29b3f5e17c04ecd054b6c26c67d71e10e4. Conflicts: src/Hakyll/Core/Provider/Metadata.hs
2014-03-26Revert "Fix loadGlobalMetadata on Windows"Jasper Van der Jeugt1-4/+4
This reverts commit e71bbd90a8fb4b5de7796498aed4b95bb7abaebb.
2014-03-26Revert "Fix root directory in directory-wise metadata and beautify code"Jasper Van der Jeugt1-14/+20
This reverts commit a6ae4eb99dd5f9957adc3b5fe4011e69b9681e4c.
2014-03-26Revert "Track metadata dependencies"Jasper Van der Jeugt5-47/+14
This reverts commit 712ffa39b5857fdc5cdae1db38a177267a430b11. Conflicts: src/Hakyll/Core/Metadata.hs src/Hakyll/Core/Rules/Default.hs
2014-03-26Revert "Added test case for global metadata"Jasper Van der Jeugt7-87/+1
This reverts commit 46b6f78da8ed814bef6972f4712d8b13e76c1122. Conflicts: tests/data/posts/metadata
2014-03-26Revert "set internalRules last, so that it can be overrided by rules"Jasper Van der Jeugt1-1/+1
This reverts commit d406db44e39d310a72ca6bb014ed882f0e883995.
2014-03-26Merge pull request #233 from rekahsoft/masterJasper Van der Jeugt1-2/+6
Fix unixFilter on Windows
2014-03-25Merge pull request #234 from chrisdotcode/masterJasper Van der Jeugt5-21/+36
Add flag to bind on selected host, instead of default "0.0.0.0"
2014-03-24"Serve on" should be "bind on".chrisdotcode1-1/+1
2014-03-24Add flag to bind on selected host.chrisdotcode4-21/+34
2014-03-23Fix unixFilter on WindowsCollin J. Doering1-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-03-23Update git ignore with cabal sandbox files.chrisdotcode1-0/+2
2014-03-05Merge pull request #230 from nagisa/watch-threadingJasper Van der Jeugt2-8/+15
Use OS threads for watch in Windows
2014-03-04Mention -threaded option in the tutorialSimonas Kazlauskas1-1/+1
2014-03-04Use OS threads for watch on WindowsSimonas Kazlauskas1-7/+14
2014-02-25Add http://www.corentindupont.info/ to examplesJasper Van der Jeugt1-0/+2
2014-02-24Merge pull request #224 from crodjer/example-rohanjain.inJasper Van der Jeugt1-2/+2
Add www.rohanjain.in as an example for Hakyll 4
2014-02-17Add www.rohanjain.in as an example for Hakyll 4Rohan Jain1-2/+2
Highlight: Clean URLs, Sitemaps Signed-off-by: Rohan Jain <crodjer@gmail.com>
2014-02-11Merge pull request #221 from kosmikus/check-exit-code-fixJasper Van der Jeugt1-1/+1
hakyll check: return exit code of 0 on success
2014-02-11hakyll check: return exit code of 0 on successAndres Loeh1-1/+1
The old test returns an exit code of 1 whenever the number of errors is >= 0, which should always be the case. The fix replaces this with a test whether the number of errors is strictly > 0.
2014-01-30Merge pull request #217 from cbcb/masterJasper Van der Jeugt1-1/+1
Changed command to watch from deprecated preview
2014-01-30Changed command to watch from deprecated previewChristian Baumhof1-1/+1
2014-01-28Don't cache pandocCompilerWithTransform, refactorJasper Van der Jeugt1-10/+9
2014-01-28Merge pull request #215 from co-dan/pandoc-transfJasper Van der Jeugt1-0/+16
Added the `pandocCompilerWithTransformM` function
2014-01-26Typo in Pandoc.hsDan1-1/+1
2014-01-24Added the `pandocCompilerWithTransformM` functionDaniil Frumin1-0/+16
2014-01-23Merge pull request #190 from krsch/masterJasper Van der Jeugt11-4/+160
Implemented per-directory metadata support