-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1349 lines (725 loc) · 32.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2015-07-10 Nicolas Williams nico@cryptonector.com
Use `include` for import into namespace
Simplify import docs
Fix typo in docs
2015-07-06 James Andariese james.andariese@locationlabs.com
Dockerfile reorganized
2015-07-04 David Tolnay dtolnay@gmail.com
Make jq.h usable from C++
2015-07-03 Nicolas Williams nico@cryptonector.com
Document math support
2015-06-30 David Tolnay dtolnay@gmail.com
strftime wrong day-of-week (fix #838)
2015-06-28 Nicolas Williams nico@cryptonector.com
Document --run-tests
Make --run-tests' jv_test() quiet
2015-06-27 Nicolas Williams nico@cryptonector.com
Make --run-tests less verbose by default
Add more basic number tests
Add `pow`, better libm detection (fix #443)
2015-06-27 David Tolnay dtolnay@gmail.com
gcov exclusions
flag to enable gcov and coveralls
add configure option to run tests without valgrind
2015-06-20 David Tolnay dtolnay@gmail.com
get Travis CI working
2015-06-26 Nicolas Williams nico@cryptonector.com
Add `{$var}` `. as {$var}` syntax (fix #831)
Add streaming utilities (fix #827)
2015-06-04 Santiago Lapresta santiago@typeform.com
Add combinations/0 and combinations/1
2015-06-22 Nicolas Williams nico@cryptonector.com
WriteFile() on WIN32 when stdout isatty (fix #824)
2015-06-19 David Tolnay dtolnay@gmail.com
fix errors flagged by clang static analyzer
2015-06-19 Nicolas Williams nico@cryptonector.com
Fix #811: use CommandLineToArgvW() and _wfopen()
2015-06-18 David Tolnay dtolnay@gmail.com
fix use after free in f_strptime
separate jq, oniguruma, sh, and man tests
2015-06-18 Nicolas Williams nico@cryptonector.com
argv[] may not be UTF-8 (fix #811)
2015-06-18 Doug Luce doug@github.con.com
Add alloca() discovery to configure.ac
2015-06-18 Nicolas Williams nico@cryptonector.com
Fix `finites`
2015-06-17 David Tolnay dtolnay@gmail.com
fix broken tests in manual.yml
2015-06-17 Nicolas Williams nico@cryptonector.com
Add isnormal and related, rename *inf
2015-06-17 Nicolas Williams nico@cryptonector.com
Fix #814: raise on div-0, add inf isinf nan isnan
2015-06-17 Nicolas Williams nico@cryptonector.com
Sequence parser: wait for RS on startup (fix #687)
2015-06-07 David Tolnay dtolnay@gmail.com
array and object destructuring (fix #533)
2015-06-03 Nicolas Williams nico@cryptonector.com
Add --tab and -indent n options
2015-05-29 Nicolas Williams nico@cryptonector.com
Fixup --slurpfile/argile docs
Add --slurpfile
Better handling of stdout errors
2015-05-25 Nicolas Williams nico@cryptonector.com
Add ./configure --enable-all-static
2015-05-25 Nicolas Williams nico@cryptonector.com
Keywords should be OK as object keys (fix #794)
2015-03-04 Travis Gockel travis@gockelhut.com
Add wrapping and clamping to jv_array_slice
2015-04-17 Assaf Gordon assafgordon@gmail.com
Print offending object in runtime error messages
Add filename/line functions to jq (fix #753)
2015-04-17 Assaf Gordon assafgordon@gmail.com
Report filename:line on runtime errors (fix #752)
2015-05-19 Nicolas Williams nico@cryptonector.com
Document gsub/3
2015-05-03 Nicolas Williams nico@cryptonector.com
Add error injection library
2015-04-28 Nicolas Williams nico@cryptonector.com
Report read errors too (and fix #772)
2015-05-02 Nicolas Williams nico@cryptonector.com
README: send questions to SO and Freenode
2015-04-28 Nicolas Williams nico@cryptonector.com
usage() should check fprintf() result (fix #771)
2015-04-28 Nicolas Williams nico@cryptonector.com
Fix header guards (fix #770)
2015-04-24 Nicolas Williams nico@cryptonector.com
--raw-input wrongly adds NULs (fix #761)
2015-04-23 Nicolas Williams nico@cryptonector.com
With `inputs` builtin, -n and -R can now coexist
--raw-input ought to read NULs (partial fix #760)
--slurp --raw-input is broken (fix #761)
from_entries is broken (fix #767)
2015-04-22 Assaf Gordon assafgordon@gmail.com
regex functions: report informative error if not available.
2015-04-21 Andrew O'Brien obrien.andrew@gmail.com
Fixes manual generation with psych
2015-04-20 Assaf Gordon assafgordon@gmail.com
Handle NUL in escaped-string output
2015-04-03 tal@whatexit.org tal@whatexit.org
manual.yml: Clarify how to specify keys with ":" and special chars.
2015-04-15 Assaf Gordon assafgordon@gmail.com
docs: expand @tsv section - add escape sequences.
@tsv: escape \r, \n, \\
2015-03-30 Nicolas Williams nico@cryptonector.com
Add `$__loc__` (fix #740)
2015-03-29 Nicolas Williams nico@cryptonector.com
Include filename and lineno in error messages
2015-03-06 Assaf Gordon assafgordon@gmail.com
detect and report output writing errors
2015-03-18 Santiago Lapresta santiago.lapresta@gmail.com
Adds Dockerfile
2015-03-10 Assaf Gordon assafgordon@gmail.com
partial handling of input errors
2015-03-09 Assaf Gordon assafgordon@gmail.com
always propagate input errors to exit code
2015-03-23 William Langford wlangfor@gmail.com
Fix #735 (SIGFPE on modulo by 0)
2015-03-08 Nicolas Williams nico@cryptonector.com
Add more date builtins
Automake: jq depends on version.h (fix #721)
2015-03-06 Assaf Gordon assafgordon@gmail.com
exit with non-zero code on runtime exceptions
2015-03-06 Nicolas Williams nico@cryptonector.com
Add date builtins (fix #364)
2015-02-18 Stefan Seemayer stefan@seemayer.de
Correct automake and autoconf version requirements
2015-02-17 Nicolas Williams nico@cryptonector.com
Mention --disable-maintainer-mode in bison error
2015-02-16 Sebastian Freundt freundt@ga-group.nl
Fix oniguruma detection logic
2015-02-15 Nicolas Williams nico@cryptonector.com
Add --disable-maintainer-mode; make bison optional
2015-02-14 Nicolas Williams nico@cryptonector.com
Make Oniguruma/regexp optional
2015-02-01 Nicolas Williams nico@cryptonector.com
Refactor moar: move parts of main.c into libjq
2014-12-27 Nicolas Williams nico@cryptonector.com
Refactor handling of inputs in main() (fix #667)
2015-02-10 Kim Toms kim.toms@bplglobal.net
Enhance from_entries to better deal with Amazon AWS Tags
2015-01-26 Nicolas Williams nico@cryptonector.com
Usage message for -h should go to stdout
2015-01-27 i isomorphisms@sdf.org
readability
2015-01-14 Joel Purra code+github@joelpurra.com
Empty arrays join/1 to an empty string, fixes #668 bug introduced by 9760245
2014-12-27 Nicolas Williams nico@cryptonector.com
Add `debug` and `stderr` builtins
2015-01-13 Nicolas Williams nico@cryptonector.com
join/1: respect empty strings (fix #668)
2015-01-13 Nicolas Williams nico@cryptonector.com
Split on empty sep: fix #552 moar
2015-01-12 Nicolas Williams nico@cryptonector.com
Fix docs for `split/0`
2015-01-12 Nicolas Williams nico@cryptonector.com
Fix #552
2015-01-02 Nicolas Williams nico@cryptonector.com
Look for jq/main.jq for imports
2015-01-01 Nicolas Williams nico@cryptonector.com
Add static build instructions (fix #294)
2014-12-30 Nicolas Williams nico@cryptonector.com
Further module system revamp (fix #659)
2014-12-28 Nicolas Williams nico@cryptonector.com
Add `label $name | EXP`; fix `break`
2014-12-30 Nicolas Williams nico@cryptonector.com
Remove string indexing by string (fix #454)
2014-12-30 Nicolas Williams nico@cryptonector.com
Add support for testing erroneous programs
2014-12-30 Nicolas Williams nico@cryptonector.com
Make --run-tests more informative
2014-10-06 pkoppstein pkoppstein@gmail.com
transpose/0 for possibly jagged matrices
2014-10-07 pkoppstein pkoppstein@gmail.com
bsearch(x) (binary search): builtin.c (tested), with documentation and test case. Always yields an integer (even if input is unsorted); returns (-1 - ix) if x is not in input array.
2014-10-06 pkoppstein pkoppstein@gmail.com
ascii_upcase/0 and ascii_downcase/0
2014-12-27 Nicolas Williams nico@cryptonector.com
Add `debug` builtin
Don't force C API users to set input cb
2014-12-26 Nicolas Williams nico@cryptonector.com
Make jq --run-tests show test line numbers
Streaming parser torture tests
Fuzz JSON parser
2014-12-22 Nicolas Williams nico@cryptonector.com
Add Streaming parser (--stream)
2014-12-26 Nicolas Williams nico@cryptonector.com
Allow C-coded functions to `empty`
Add BLOCK_8() macro
Fix `foreach` non-propagation of errors
Allow zero-length buffers in jv_parser_set_buf()
2014-12-24 Nicolas Williams nico@cryptonector.com
Add @tsv; fix #645
Module search revamp for pkg managers
Fix #348: reject unescaped control chars
2014-12-23 Nicolas Williams nico@cryptonector.com
Use __attribute__ __printf__ with GCC
Make `values` faster (fix #652)
2014-12-22 Marc Abramowitz marc@marc-abramowitz.com
.travis.yml: Set sudo false; use containers
2014-12-22 Santiago Lapresta santiago.lapresta@gmail.com
Define `map_values`
2014-05-21 Santiago Lapresta santiago.lapresta@gmail.com
`in` is now `inside`, added `in` as inverse of `has`
2014-05-20 Santiago Lapresta santiago.lapresta@gmail.com
Added `in` command
2014-12-21 Eiichi Sato sato.eiichi@gmail.com
Fix examples in manual
Fix indents in manual.yml
HTML-escape jq programs in manual
Fix examples in manual
2014-12-12 Nicolas Williams nico@cryptonector.com
Add until(cond; next); fix #639
Add --argjson, fix #648
2014-11-29 Nicolas Williams nico@cryptonector.com
Fix refcount leak, fix #618
2014-11-28 Nicolas Williams nico@cryptonector.com
STOREV/LOADV* should also print refcnts
Enable printing of stack val refcnts
Print stack value refcounts when tracing (#636)
2014-11-23 Colin von Heuring colin@janrain.com
Doc correction
2014-11-11 Ian Miell ian.miell@gmail.com
Requirements made slightly more complete: cf https://github.com/ianmiell/shutit/blob/master/library/jq/jq.py
2014-11-05 Steven Maude StevenMaude@users.noreply.github.com
Fix typos in tutorial
2014-10-21 Santiago Lapresta santiago.lapresta@gmail.com
Define {any,all}/2 independently from {any,all}/0
2014-10-20 Santiago Lapresta santiago.lapresta@gmail.com
Define {any,all}/{0,1} in terms of {any,all}/2
2014-10-10 Nicolas Williams nico@cryptonector.com
Add support for JSON sequence MIME type
2014-10-06 William Langford wlangfor@gmail.com
Properly call onig_error_code_to_str
2014-10-06 pkoppstein pkoppstein@gmail.com
fix sub (#586); add gsub/3; add transpose/0.
2014-10-03 Nicolas Williams nico@cryptonector.com
Update docs about sort/group/min/max/unique
from-entries should work with EC2 (fix #592)
Remove sort/1 and group/1
2014-09-30 Nicolas Williams nico@cryptonector.com
to_entries should not sort keys (fix #561)
2014-09-22 William Langford wlangfor@gmail.com
Properly handle when objects cannot be folded
2014-08-30 Nicolas Williams nico@cryptonector.com
Drop the jq version directory from search path
Never close stdin; allow multiple `-` arguments
Handle invalid inputs in argument files (fix #562)
2014-08-28 William Langford wlangfor@gmail.com
Properly handle incomplete json when input is file
2014-08-10 Nicolas Williams nico@cryptonector.com
Add `module` directive, `modulemeta` builtin
2014-08-09 Nicolas Williams nico@cryptonector.com
Constant fold objects
Fold constant arrays
More constant folding: null, true, and false
`.foo[-1] = ...` trips assertion (fix #490)
Allow any number of jq-coded function arguments
2014-08-08 Nicolas Williams nico@cryptonector.com
Make regexp builtins and range/3 use #524 too
Use `def f($a): ...;` syntax for builtins
Add `def f($arg):` syntax (fix #524)
2014-07-31 pkoppstein pkoppstein@gmail.com
regex filters (#432): scan, splits, split, sub, gsub
2014-08-06 Nicolas Williams nico@cryptonector.com
Better error msg for bad shell quoting (fix #538)
2014-08-04 William Langford wlangfor@gmail.com
Actually check version for bison.
2014-08-03 pkoppstein pkoppstein@gmail.com
Apply TCO to recurse/1, add recurse/2; tweak docs
2014-08-01 Adam Lindberg hello@alind.io
Add example of selecting object with keys
2014-07-19 pkoppstein pkoppstein@gmail.com
Add capture; document regular expression filters
2014-07-28 Nicolas Williams nico@cryptonector.com
Add `first`, `nth`, `last` (fix #510)
2014-07-27 Nicolas Williams nico@cryptonector.com
Fold constants (fix #504)
2014-07-21 William Langford wlangfor@gmail.com
Changing color codes to fix #495
2014-07-09 William Langford wlangfor@gmail.com
Added library system with -l, -L, and JQ_LIBRARY_PATH
2014-07-14 Simon Elsbrock simon@iodev.org
jq 1.4 is in Debian
2014-07-13 Marc Bruggmann marcbr@spotify.com
Fix manual example for `endswith`.
2014-07-09 Hanfei Shen qqshfox@gmail.com
Fix examples for `del` in manual
2014-07-08 Zhiming Wang zmwangx@gmail.com
Fix invalid YAML in manual.yml
Add tests/all.trs to .gitignore
2014-07-09 Nicolas Williams nico@cryptonector.com
Better document `path()`'s power; also `|=`
Add `foreach EXP as $var (INIT; UPDATE)` form
Make `while()` handle `break`
2014-07-07 Nicolas Williams nico@cryptonector.com
Make C-coded built-ins take `jq_state *` argument
`error(x)` should not `tostring` its arg; fix #466
`limit` should use `break`
Make `any/2` and `all/2` efficient using `foreach`
2013-12-24 Nicolas Williams nico@cryptonector.com
jv_invalid() shouldn't allocate
2013-12-31 Nicolas Williams nico@cryptonector.com
jv_show() should be able to display invalid values
2014-07-07 Nicolas Williams nico@cryptonector.com
Add `break` builtin for `foreach`
Explain `foreach`'s powers a bit more
Document `path(path_expression)` builtin
$var["foo"]=1 can't work as expected; doc fix #236
Better check for lib has only functions (fix #138)
2014-07-06 Nicolas Williams nico@cryptonector.com
Add `any/N` and `all/N` x N in (1, 2) (fix #455)
Add `foreach` and `limit`
2014-07-04 William Langford wlangfor@gmail.com
Add support for negative indices for .[]; fix #462
2014-07-06 Nicolas Williams nico@cryptonector.com
Add general `?` operator
2014-07-05 Nicolas Williams nico@cryptonector.com
Add `try EXP catch EXP`
2014-07-06 Nicolas Williams nico@cryptonector.com
Document `error/1`
2014-07-02 Nicolas Williams nico@cryptonector.com
Add `while(cond; update)` (fix #314)
Add `range(init;upto;by)` (fix #317)
2014-07-01 Nicolas Williams nico@cryptonector.com
Describe generators, range() with by to manual
2014-07-01 William Langford wlangfor@gmail.com
Fixed base64 issue with UTF-8 strings
2014-06-30 Nicolas Williams nico@cryptonector.com
TCO to the max!
2014-06-25 William Langford wlangfor@gmail.com
Added cross-compilation script to build libjq for iOS.
2014-06-29 Zhiming Wang zmwangx@gmail.com
Let @uri produce uppercase hexadecimal digits...
2014-06-24 Nicolas Williams nico@cryptonector.com
Get "Try Online" button working (fix #440)
2014-06-22 Nicolas Williams nico@cryptonector.com
Tail call optimization (close #437)
2014-06-20 Nicolas Williams nico@cryptonector.com
Allow stacking of short options (fix #346)
2014-06-18 William Langford wlangfor@gmail.com
Added regex support as per issue #164.
2014-06-17 Nicolas Williams nico@cryptonector.com
Add `-j` / `--join-output` option, similar to `-r`
2014-06-18 Santiago Lapresta santiago.lapresta@gmail.com
Simplified standard library
2014-06-16 Nicolas Williams nico@cryptonector.com
Fix #280: from_entries of [] is null, should be {}
2014-06-16 Nicolas Williams nico@cryptonector.com
No args default w/ tty stdout, not tty stdin #220
2014-06-16 Santiago Lapresta santiago.lapresta@gmail.com
Added `flatten` and `flatten(x)` functions
2014-06-16 Nicolas Williams nico@cryptonector.com
Add ChangeLog and NEWS files
2014-06-14 Nicolas Williams nico@cryptonector.com
Allow multiple functions with different arities
2014-06-13 Nicolas Williams nico@cryptonector.com
Add `env` builtin
2014-06-13 Nicolas Williams nico@cryptonector.com
Document the lambda nature of function args #391
2014-06-13 Nicolas Williams nico@cryptonector.com
Add jqplay link to the site
2014-06-12 Jingwen Owen Ou jingweno@gmail.com
jqplay has a domain now
2014-06-12 Nicolas Williams nico@cryptonector.com
Make a better jq.1 when Ruby deps missing
2014-06-11 Kim De Mey kim.demey@gmail.com
Detect endianness at configuration with Autoconf AC_C_BIGENDIAN feature
2014-06-09 Nicolas Williams <nico@cryptonector.com>
Add libm.h to dist file list
Add note about cmd.exe quoting
Building docs fails on powerpc (#349)
2014-06-08 Nicolas Williams <nico@cryptonector.com>
Update site news
Also fix configure.ac to use git describe --tags
Fix scripts/version: use git describe --tags ...
After tagging as 1.4 scripts/version was still producing jq-1.3-....
Add `indices(s)`, improve `index(s)`, `rindex(s)`
Now these deal with arrays as input and `s` being an array or a scalar.
Improve `index` and `rindex` examples
Remove reference to `getpath` from docs
Document `index` and `rindex` (#389)
2014-06-07 Santiago Lapresta <santiago.lapresta@gmail.com>
Added `join` function
2014-06-07 Nicolas Williams <nico@cryptonector.com>
String * number should be commutative
2014-06-04 Nicolas Williams <nico@cryptonector.com>
Add cross-compilation notes to README
A detailed set of instruction as to how to setup a cross-compilation
environment for OS X and Win32/64 would be nice.
Add -j option to scripts/crosscompile
Add flags argument to jv_parser_new()
For extensibility. We might add streaming parser options, even binary
JSON encoding options.
2014-06-02 Nicolas Williams <nico@cryptonector.com>
Fix tests failures on Windows
And Solaris 8 and 9 too, no doubt. The problem was that non-standard
vsnprintf()s that return -1 when the buffer is too small were not
properly supported.
2014-05-20 Santiago Lapresta <santiago.lapresta@gmail.com>
Documented `del` command
2014-05-11 Santiago Lapresta <santiago.lapresta@gmail.com>
Added texts/examples to unique_by function
Added unique_by function
2014-04-17 Nicolas Williams <nico@cryptonector.com>
Make pthread tls configurable for Mingw build
For the Mingw build we don't want to pull in the pthread DLL just
because we can autodetect pthread support. That would make the jq.exe
binary not self-contained.
2014-04-16 Nicolas Williams <nico@cryptonector.com>
Add autoconf checks for pthreads; fix #340
2014-03-20 Jingwen Owen Ou <jingweno@gmail.com>
Add link to jqplay
2014-03-13 Nicolas Williams <nico@cryptonector.com>
Fix for #303 in the sources
2014-03-13 Santiago Lapresta <santiago.lapresta@gmail.com>
Added `arrays` and other filters
Arrays, objects, numbers, strings, booleans, nulls, values (non-nulls)
-- these builtins filter out those inputs that don't match the name of
the builtin.
This fixes #322 and #324.
2014-03-07 Filippo Valsorda <filippo.valsorda@gmail.com>
Add a recursive object merge strategy and bind it to *
This commit adds a jv_object_merge_recursive function, that performs
recursive object merging, and binds it to multiply when applied to
two objects.
Closes #320
2014-03-06 Nicolas Williams <nico@cryptonector.com>
Make libm tests more portable
2014-02-26 Andrew Rodland <andrew@cleverdomain.org>
Repair jv_show
2014-02-26 Andrew Rodland <andrew@cleverdomain.org>
Make jq --raw-output --unbuffered work
--unbuffered was only affecting the normal output case, not the --raw-output case. Make the two of them play together.
This also makes sure that the output is flushed *after* printing the newline, so a consumer doesn't lag a line behind.
2014-02-21 Nicolas Williams <nico@cryptonector.com>
Add cbrt (cube root)
Add missing trig functions and barebones test
Remove non-standard exp10()
2014-02-21 Mike McCabe <mccabe@archive.org>
Initial add of math functions.
2014-02-20 Nicolas Williams <nico@cryptonector.com>
Add `?`, `.[]?`, and `..` operators
Make XPath-like `//a/b` recursive structure traversal easier in jq,
which then becomes:
..|.a?.b?
The `?` operator suppresses errors about . not being an array or object.
The `..` operator is equivalent to calling the new `recurse_down`
built-in, which in turn is equivalent to
recurse(.[]?)
Note that `..a` is not supported; neither is `...a`. That could be add
added, but it doesn't seem worth the trouble of saving the need to type
a '|'.
2014-02-16 Santiago Lapresta <santiago.lapresta@gmail.com>
Added `all` and `any` builtins
2014-01-25 polyester <paul@cleanclothes.org>
work with newer versions of automake
when using a newer automake, the autoreconf step fails with warnings:
"linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' "
This happens for instance on ubuntu 13.10.
Doing just that, adding 'AM_PROG_AR' to configure.ac fixes the problem.
2014-01-01 Nicolas Williams <nico@cryptonector.com>
Fix #201; check that bison accepts --warnings
2013-12-27 Joe Littlejohn <joe.littlejohn@nokia.com>
Fix rpm build (`make rpm`)
* Re-add VERSION as it's required for `./setup superclean`
and `make rpm`.
* Add *.rpm to git ignore, we never want them under version control.
2013-12-27 Filippo Giunchedi <fgiunchedi@gmail.com>
include additional files in jq.spec
this will probably need changing upon SONAME bump
fix rpm Makefile target and prerequisites
depend on dist and the specfile, plus use automake's variables
2013-12-26 Nicolas Williams <nico@cryptonector.com>
Document --version
2013-12-26 Nicolas Williams <nico@cryptonector.com>
Add jv_dumpf() and jv_show()
jv_dumpf() takes a FILE *.
jv_show() is intended for use in debuggers, so it dumps the jv to stderr
and it does not jv_free() the jv, so it's safe to
"call jv_show(some_jv, -1)" in a debugger. If flags == -1 then the jv
will be shown pretty-printed and in color.
2013-12-26 Nicolas Williams <nico@cryptonector.com>
Document .foo.bar in manual
Document exit numbers
Normalize errors for -e
2013-12-25 Nicolas Williams <nico@cryptonector.com>
Fix doc typos (.[foo] wanted to be .["foo"])
Add note to jq.1 about shell quoting
2013-12-20 Philipp Hagemeister <phihag@phihag.de>
Ignore the config/test-driver file
This file is automatically generated and does not need to be committed.
Fix @uri example
Previously, the @uri example didn't match the actual behavior of the current jq, as exclamation marks do not need to be encoded in URIs.
Replace the example with an input that needs encoding, and is encoded by jq.
2013-12-17 Stephen Dolan <mu@netsoc.tcd.ie>
Allow negated object values without parens. Fixes #247
2013-12-17 Nicolas Williams <nico@cryptonector.com>
Fix memmem() error
2013-12-13 Rémy Léone <remy.leone@gmail.com>
Adding a .travis.yml file to use the travis-ci.org
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-12-13 Stephen Dolan <mu@netsoc.tcd.ie>
Make the testsuite run on machines without valgrind
Format more integers as integers, not scientific notation.
jq is now willing to put up to 15 zeros after an integer before
moving to scientific notation.
2013-12-11 Nicolas Williams <nico@cryptonector.com>
Complete more-arity feature not complete
And test
2013-12-10 David R. MacIver <david@drmaciver.com>
convert range bounds to integers in a way that avoids undefined behaviour
add checking of numeric indices to an array to see if they can reasonably be considered integers. Avoid undefined behaviour if out of bounds
2013-12-09 David R. MacIver <david@drmaciver.com>
some functions were missing prototypes. Add them
2013-12-08 David R. MacIver <david@drmaciver.com>