Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-29 | Actually fix the strptime testsmacos-strptime | William Langford | |
This has been a complicated issue to fix for a number of reasons. The core of it is that the behavior is different between different versions of macOS, some of which set possible-but-incorrect values. This commit addresses the issue by always using our computation for tm_wday and tm_yday on macOS. As a side-effect, strptime format strings that specify %u and %j will no longer work on macOS. | |||
2017-11-29 | Keep object keys in parsing order in `tostream` output | Eric Bréchemier | |
As noted by @nicowilliams, `tostream` used `keys`, which sorts the keys in alphabetical order, instead of `keys_unsorted`, which preserves the parsing order. Fixes #1541. | |||
2017-11-28 | Use rvm to install ruby 1.9.3 | Andrew Speed | |
2017-11-27 | Fix strptime tests on macOS 10.12 | William Langford | |
Dates in 1900 are before the Unix epoch. We shouldn't make any promises about how well they are supported, especially given that our time support is a thin wrapper over the libc functions. This changes the test to use dates after the epoch, which should fit within both a signed and an unsigned 32-bit time_t. | |||
2017-11-27 | Fix memory leaks in various c-coded builtins | William Langford | |
2017-11-23 | Fix leak on error in strptime | Nicolas Williams | |
2017-11-22 | Typo correction | trantor | |
Suppresion -> Suppression | |||
2017-06-19 | Merge pull request #1403 from Argoday/master | William Langford | |
Use unsorted keys in walk | |||
2017-05-21 | Deal with strptime() on OS X and *BSD (fix #1415) | Nicolas Williams | |
strptime() on OS X and *BSDs (reputedly) does not set tm_wday and tm_yday unless corresponding %U and %j format specifiers were used. That can be... surprising when one parsed year, month, and day anyways. Glibc's strptime() conveniently sets tm_wday and tm_yday in those cases, but OS X's does not, ignoring them completely. This commit makes jq compute those where possible, though the day of week computation may be wrong for dates before 1900-03-01 or after 2099-12-31. | |||
2017-05-21 | Attempt to fix #1415 | Nicolas Williams | |
OS X (and *BSD) strptime() does not set tm_wday nor tm_yday unless corresponding format options are used. That means we must call timegm() to set them. | |||
2017-05-21 | Add private my_timegm() | Nicolas Williams | |
2017-05-21 | Fix HAVE_TM_TM_GMT_OFF usage | Nicolas Williams | |
2017-05-21 | Use AC_CHECK_MATH_FUNC() for all math functions | Nicolas Williams | |
2017-05-20 | Fix jv_load_file() assertion (fix #1410) | Nicolas Williams | |
2017-05-11 | Improved git build instructions. | Daniel Lange | |
2017-05-03 | Use unsorted keys in walk | Jonathan Word | |
Preserve key sorting order when executing in walk, if sorted keys is desired `--sort-keys` should be used to explicitly obtain sorted keys. | |||
2017-04-29 | Add JQ_COLORS env var for color config (fix #1252) | Nico Williams | |
2017-04-26 | Fix build | Nicolas Williams | |
2017-04-21 | Always use jv_mem_*alloc() | Nicolas Williams | |
2017-04-15 | def isempty(g) # Testing 'isempty(empty)' at line number 1364 | pkoppstein | |
2017-04-02 | Update oniguruma to fix #1370 | William Langford | |
2017-03-31 | Don't require java to build gh-pages | William Langford | |
2017-03-31 | Add collect example with pipeline | William Langford | |
2017-03-30 | Add missing close-backtick in docs | William Langford | |
2017-03-30 | Also fix `jn/2` and `yn/2` | Nicolas Williams | |
2017-03-29 | Fix frexp, modf, lgamma_r (fix #1374) | Nicolas Williams | |
2017-03-26 | Allow . as {$a:$b} destructuring | Nicolas Williams | |
2017-03-26 | Add flex/bison outputs | Nicolas Williams | |
2017-03-26 | Add more destructuring tests | Nicolas Williams | |
2017-03-26 | Add --debug-trace=all for detailed debug output | William Langford | |
When tracing execution, print the whole stack, not just the items used by the current opcode | |||
2017-03-26 | Fix a tripped assertion when generating reduces | William Langford | |
A noop body, while useless, should still compile successfully | |||
2017-03-26 | Add alternation destructuring operator `?//` | William Langford | |
This is a first pass to show the implementation. It needs tests and evaluation, but doesn't break any existing tests. NOT READY FOR MERGING | |||
2017-03-15 | Conditional exprs are not path exprs (fix #1368) | Nicolas Williams | |
The conditional expression in if-then-elif-else-end cannot contribute to path expressions because it doesn't change the input to any of the then/ elif/else expressions. These must be generated via gen_subexp(). See also #1366. | |||
2017-03-04 | Make and build dist in travis-CI (#1356) | Nicolas Williams | |
2017-03-04 | Make configure.ac work for shallow clones | Nicolas Williams | |
2017-03-03 | Make scripts/version work in shallow clones | Nicolas Williams | |
Shallow clones don't have tags. Use git describe --always --dirty in such cases. XXX Add branch name. | |||
2017-03-01 | Fix make dist | Nicolas Williams | |
2017-03-01 | Fix off-by-one bug in #1108 fix | Nicolas Williams | |
2017-03-01 | Array slice overflows (fix #1108) | Nicolas Williams | |
2017-02-28 | getpath/1 should be a path expression (fix #1358) | Nicolas Williams | |
It needs to be possible to do something like getpath($paths[]) += 1 meaning: increment all the paths in . that are listed in $paths[]. In order to do this getpath() needs to update the jq->path and jq->value_at_path as necessary. | |||
2017-02-26 | Fix name of builtins in the builtins/0 output | William Langford | |
2017-02-26 | Fix warning about environ | Nicolas Williams | |
2017-02-26 | Fix --without-oniguruma build | Nicolas Williams | |
2017-02-26 | Fix environ Win32 build problem | Nicolas Williams | |
2017-02-26 | Add `halt`, `halt_error` builtins (fix #386) | Nicolas Williams | |
2017-02-26 | Document `stderr` | Nicolas Williams | |
2017-02-26 | Fix memory leak | Nicolas Williams | |
2017-02-26 | Fix Appveyor for non-master branches | Nicolas Williams | |
2017-02-26 | fixup | Nicolas Williams | |
2017-02-26 | Add $ENV builtin variable to access environment | Nicolas Williams | |