-
Notifications
You must be signed in to change notification settings - Fork 4
/
ChangeLog
1556 lines (962 loc) · 43.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
2009-10-14 Øyvind Harboe
* switched to git.
2009-10-08 Øyvind Harboe
* jim.c/h: bring in changes from OpenOCD. Warnings and
some bug fixes. Copyright list updated in jim.c
2009-08-16 Steve Bennett <[email protected]>
* jim.c: Comparison of doubles is a boolean, not a double. expr {0.5 < 1.0}
* jim.c: If an error occurs when {expand} is in operation, the line number is wrong.
* jim.c/h: If an object is used in subst, then source, a crash will result
* jimsh.c: A script exiting with 'exit 0' would not give a return code of 0
* jim.c: Make [format %c 0] work (embedded nulls)
* jim-array-1.0.tcl: array unset was broken
* jim.c: Some recursion in unknown is OK, just not infinite recursion.
* jimsh.c: $argv0 should be the name of the script
* jim.c: Should be able to compare strings for order in expr
* jim.c: 'unset ::var' to unset a global var.
It was doing nothing.
2008-11-06 Steve Bennett <[email protected]>
* jim.c: Implement info hostname by calling os.hostname
* jim.c: Also fix some compiler warnings
2008-11-06 Steve Bennett <[email protected]>
* jim.c, jim.h: Improve error reporting, especially on package load
2008-11-06 Steve Bennett <[email protected]>
* jim.c, jim.h: Prevent infinite recursion if an unknown command is
called from unknown
2008-11-06 Steve Bennett <[email protected]>
* jim-array-1.0.tcl: Add array command wrapper
2008-11-05 Steve Bennett <[email protected]>
* jim-glob-1.0.tcl, jim-readdir.c: Add readdir extension and glob package for glob command
2008-11-05 Steve Bennett <[email protected]>
* jim-glob-1.0.tcl, jim-readdir.c: Add readdir extension and glob package for glob command
2008-11-05 Steve Bennett <[email protected]>
* jim-regexp.c: Add regexp extension for regexp and regsub commands
2008-11-04 Uwe Klein <[email protected]>
* jim-hwio.c: file added
* provides memory area and hardware access on linux i386
2008-11-05 Steve Bennett <[email protected]>
* jim.c: add support for proc default arguments to jim
* jim.c: fix lazy expression evaluation with unary not
2008-11-04 Steve Bennett <[email protected]>
* jim.c: fix problems with "puts [list ${a}]". Resulted in syntax
error.
* jim.c: :: scoping for set
* jim.c: Creating a C command when a Tcl command of the same name
already exists can cause a crash.
2008-11-03 Steve Bennett <[email protected]>
* jim.c: Allow env with no arguments to retrieve all environment variables
as a list of name value ...
* jim.c: Add format support for %o -- octal
* jim.c: Allow direct access to variables in the global scope by
prefixing with ::
* jim.c: For compatibility with older versions of Tcl, allow == and != to
compare strings if the arguments can't be interpreted as numbers
* jim.c: Ensure that the string representation exists before doing
string toupper or tolower
2008-08-31 Duane Ellis
* jim.c, jim.h: more text formatting fixes, improved error messages
with location of error
2008-08-25 Duane Ellis
* jim.c, jim.h: name value pair and formatting fixes
2008-07-23 Uwe Klein <[email protected]>
* fix missing vararg.h in some files ( included in jim.h )
* in aio.socket return an error when hosti resolution fails
instead of just carrying on.
2008-07-23 oharboe
* jim.c: reduce stack usage. Important for embedded devices without
MMU.
* jim.c, jim-aio.c, jim-eventloop.c, jim-eventloop.h: emergency repairs
to make code compile with eCos after event loops was added. event loop
stuff compiles under eCos at least, but this was not tested for regressions.
2008-07-21 oharboe
* src/jim.c: very slightly improved error messages.
* FreeBSD license cleanup wip
2008-07-13 Uwe Klein <[email protected]>
* doc/jim_man.txt : an overlook over jim command basics
and the added commands. incomplete, additions welcome.
2008-07-13 Uwe Klein <[email protected]>
* signals ( not complete , no eventscripts yet ) sleep and usleep
[pit] point in time and [jpit] julian point in time.
2008-07-13 Uwe Klein <[email protected]>
* This adds open async, fileevents and sockets ( tcp server, client )
to jim-aio, using fileevents requires the jim-eventloop package .
2008-07-13 Uwe Klein <[email protected]>
* jim.c: in Jim_SubstObj in the switch for tokentype
case: JIM_TT_DICTSUGAR and
accompanying code was missing.
2008-07-07 Uwe Klein <[email protected]>
* changes to jim-eventloop.[ch]
* fix negative displacement in timeout computation for select
* add basic support for the fileevent stuff [ used from jim-aio ]
* add basic support for signal handling / actions
* add basic support for timer [via after] restart, cancel
and returning the remaining time for cancled events
2008-07-07 oharboe
* src/jim.c: remove bogus return value from if {[expr]} {xx} when
{xx} is not run.
2008-07-07 Duane Ellis <[email protected]>
src/jim.c: This simple patch adds precision support to JIM's format command.
2008-07-07 Duane Ellis <[email protected]>
src/Jim.c
- ** THIS INCLUDES A PREVIOUS PATCH I SENT EARLIER **
- that impliments many [format] specifies JIM did not support.
- Jim_FormatString() - **MAJOR** work.
- Previously only supported "%s" "%d" and "%c"
- And what support existed had bugs.
- NEW: *MANY* formating parameters are now supported.
- TODO: The "precision" specifier is not supported.
** NEW ** This patch.
- Jim_StringToWide() test if no conversion occured.
- Jim_StringToIndex() test if no conversion occured.
- Jim_StringToDouble() test if no conversion occured.
** NEW ** This Patch. Major Work.
- Previously output from JIM did not get sent to GDB
- Ditto: Output to Telnet session.
- Above items are now fixed - By introducing callbacks
new function pointers in the "interp" structure.
- Helpers that call the callbacks.
- New function: Jim_fprintf()
- New function: Jim_vfprintf()
- New function: Jim_fwrite()
- New function: Jim_fread()
- New function: Jim_fflush()
- New function: Jim_fgets()
By default: the output is to STDIO as previous.
The "openocd.c" - redirects the output as needed.
- Jim_Panic() - Send panic to both STDERR and the interps
specified STDERR output as a 2nd choice.
- Now JIM's "stdin/stdout/stderr" paramters are "void *"
and are no longer "FILE *".
src/Jim.h
- **MAJOR**
- New JIM STDIO callbacks in the "interp" structure.
- change: "stdin/stdout/stderr" are now "void *" cookies.
- New JIM stdio helper functions.
2008-06-17 Andrew Lunn <[email protected]> / oharboe
* ChangeLog, jim-aio.c: Andrew spotted a bug in the
aio.gets implementation for lines that are more than
AIO_BUF_LEN long. GCC 4.3.1 pointed out this problem.
2008-06-16 oharboe
* retire CVS keyword expansion. Plays havoc with patches.
2008-06-16 Uwe Klein wiederling at googlemail.com
* ChangeLog, jim.c: fixed parsing in "expr 0x1234".
2008-06-16 oharboe
* ChangeLog, ecos/ecos.db: eCos repository smoketested.
2008-06-15 oharboe
* ChangeLog, jim.c, jim.h, jim-aio.c: Support for eCos.
* ChangeLog, jim.c: realloc/malloc(0) fix. Convert
realloc/malloc(0) => realloc/malloc(1) which has an
identical implementation, whereas realloc/malloc(0) is
ambigous. "string map {} {}" used to result in malloc(0)
2008-06-13 oharboe
* ChangeLog: �yvind Harboe's first test as a committer.
2006-11-06 21:29 antirez
* ChangeLog, jim.c, jim.h: Jim_GetStdin/out/err API removed, now
Jim-SetStdin/out/err returns the old value if called with NULL.
JIM_NL define introduced in order to force Jim to output CRLF
instead of just LF in the core output printf/fwrite calls. This
appears to be useful in some kind of terminal under eCos.
2006-11-06 17:54 antirez
* jim-aio.c: Jim-aio is now able to be statically linked with jim.c
on systems like eCos where there is no dynamic libraries support.
2006-11-05 01:26 antirez
* ChangeLog, jim.c: {*} as alias for {expand} like in recent Tcl
8.5 versions
2006-11-02 23:39 antirez
* ChangeLog: [no log message]
2006-11-02 23:38 antirez
* ChangeLog, jim.c, jim.h: Ability to configure file descriptors
for standard input, output, error. Default is
stdin,stdout,stderr but it's possible to change the default after
creating the interpreter using Jim_(Set|Get)(Stdin|Stdout|Stderr)
if needed.
2006-11-02 00:31 antirez
* AUTHORS, ChangeLog: Minor doc typo
2006-11-01 18:18 antirez
* ChangeLog, jim.c: Minor change to (hopefully) avoid a warning
with some (non-gcc) compiler.
2006-11-01 17:03 antirez
* ChangeLog, jim.c: Fixed error message when trying to access a non
existing key in dictionary
2006-11-01 14:37 antirez
* jim.c, jim.h: Fix to expr parsing (now hex digits work as
literals). the exit command is now implemented as a special
return value of JIM_EXIT.
2005-09-19 17:56 antirez
* ChangeLog, jim-eventloop.c: Fixed a bug reported by Craig Denson
about jim-eveloop.c and filemasks.
2005-09-19 17:47 antirez
* BUGS, ChangeLog, jim.c: Updated BUGS, fixed some minor problem
with GCC 4.x compilation.
2005-09-19 16:17 antirez
* doc/Sqlite-Extension.txt: Added info about in-memory databases in
the Sqlite extension doc.
2005-04-26 15:31 patthoyts
* jim-win32.c: Check available windows target version for more
things.
2005-04-26 12:47 antirez
* ChangeLog, Makefile, jim-win32.c: mingw compilation fix
(excluding the compilation of animate window win32 cmd)
2005-04-21 09:35 patthoyts
* jim-win32.c: RegisterClass, CreateWindow and UpdateWindow. Need
to add user defined Window procedures though.
2005-04-20 17:34 patthoyts
* jim-win32.c: Added some window managing APIs - MoveWindow,
ShowWindow, DestroyWindow and AnimateWindow (which doesn't seem
to work).
2005-04-19 17:33 patthoyts
* jim-win32.c: Added CreateDirectory and RemoveDirectory
2005-04-18 10:31 antirez
* ChangeLog, Makefile, jim-eventloop.c, jim-eventloop.h, jim.c,
jim.h: First version of the Jim eventloop extension, exporting
[after], [vwait], and the C API to write other extensions using
events. No win32 port for now, just posix. UDP extension will
follow shortly and will be the first extension using the event
loop.
2005-04-13 21:57 patthoyts
* jim-win32.c: Added GetLastInputInfo API
2005-04-13 21:54 patthoyts
* jim-win32api.c: Win32API module permits dynamic creation of Jim
commands that call into Win32 DLL functions. Its not complete and
at the moment only void or integer parameters are working.
2005-04-13 21:50 patthoyts
* jimsh.c: JimGetExePath needs to be a _path_ not the file name.
2005-04-12 14:36 antirez
* ChangeLog, jim-aio.c: AIO fix: the Id is not get with the
GetGlobalVar function.
2005-04-12 14:27 antirez
* ChangeLog, jim.c: string tolower/toupper support
2005-04-12 10:34 antirez
* ChangeLog, jim-aio.c: new methods for AIO files, 'read' and
'eof'. Documentation still no longer in sync.
2005-04-11 19:25 chi
* jim.c: - Remove the '%lu' scan format specification. The largest
possible type in the Jim core is jim_wide. That type is a
signed one. A unsigned variante of jim_wide is not forseen. So
a '%lu' specification seems not to make any sense.
- Some extra castings necessary to let the Jim core interpreter
compile and run under Tru64U on Dec Alpha.
- Fix a bug in UpdateStringOfList(). If a list was created via
the Jim command [list] w/o any argument, the internal
representation of that list pointed to ZERO and the len
attribute was equally set to ZERO. If now UpdateStringOfList
was called to create the string representation of the list,
Jim_Alloc for quotingType got a ZERO size for number of bytes
to allocate. That let to SIGSEGV under Tru64U, so I changed that
to allocate at least 1 byte then.
2005-04-11 16:34 antirez
* ChangeLog, TODO, jim.c: RHS/Nem vision about [tailcall]
implementation/behaviour is now Jim's way to go.
2005-04-11 13:17 antirez
* ChangeLog, jim.c: [tailcall] command added
2005-04-11 10:25 antirez
* ChangeLog, jim.c, jimsh.c: Fixes for this two bugs:
(1) jim.c Jim_FormatString() char array spec[] is defined
as having two elements but at the 'default:' case of the switch
statement an assignment is made to the third element
(2) jimsh.c JimGetExePath() After the call of strrchr()
the value of p could be NULL in the case that argv[0] is just
plain "jim". The next line should have a test for NULL added to
avoid dereferencing the NULL pointer. (This is the cause of a
Bus Error on Mac OS X.)
Many thanks to Colin McPhail for reporting this two problems.
2005-04-10 19:04 chi
* jim.c, jimsh.c: Rework of the [scan] command finished. It does
not any longer use sscanf for scanning purposes, only for parsing
within SetScanFmtFromAny. We could get rid of it there too, if
necessary.
It pass all tests on all platforms I had access to (mainly Linux,
Solaris, FreeBSD, MacOS X). But I am confident, that it will pass
on the others as well.
A small new introduced C99-ism was fixed in jimsh.c as well.
2005-04-10 11:51 antirez
* ChangeLog, jim.c, jim.h: Fix for [return -code eval]
2005-04-09 14:57 antirez
* ChangeLog, jim.c, jim.h: Experimental verison of JIM_EVAL retcode
in order to implement what RHS proposed in the Wiki for tail
recursion:
return -code eval [list proc $a $b ...]
I'm not sure I'll take this, but it needs to be inside for some
time in order to experiment and evaluate it I guess.
2005-04-09 10:23 antirez
* ChangeLog, TODO, jim.c: TODO updated, spurious free changed into
Jim_Free().
2005-04-08 16:07 patthoyts
* jim-win32.c: Do not add cursorinfo if build target cannot cope.
2005-04-08 16:06 patthoyts
* jim.c, jimsh.c: Fix win32 build
2005-04-07 09:27 antirez
* ChangeLog, jimsh.c: Fixed a typo that prevented compilation with
JIM_ANSIC
2005-04-07 08:52 antirez
* ChangeLog, jim.c: The ** expr operator, thanks to Richard
Suchenwirth. Limited to integers because pow() needs the
inclusion of math.h. The plan is to put everything depends on
math.h in the math lib.
2005-04-06 20:20 antirez
* ChangeLog, jim.c, jimsh.c: Modified jimsh.c in order to put the
directory of the Jim executable as a component of jim_libpath.
2005-04-06 16:16 patthoyts
* Makefile.vc, jim.c: Add the executable file location into
jim_libpath for finding packages.
2005-04-06 15:08 patthoyts
* jim-win32.c: Fix a problem with usie of mingw gcc and remove some
gcc warnings.
2005-04-06 14:52 patthoyts
* jim-win32.c: Use __stdcall for mingw
2005-04-06 12:14 patthoyts
* jim.c, jim.h: Shhhhh. Silenced a number of warnings when using
MSVC.
2005-04-06 12:13 patthoyts
* Makefile.vc, jim-win32.c: Made GetPerformanceInfo dynamically
available at runtime only if the relevant library can be loaded.
Fixed for impoverished compilers.
2005-04-06 08:35 antirez
* ChangeLog, jim.c, jim.h: Generic API implementing the Stack data
structure exported to extensions.
2005-04-05 19:59 antirez
* ChangeLog, jim-win32.c: Disabled from jim-win32.c commands that
need include <psapi.h> because this is not generally available.
2005-04-05 14:18 antirez
* ChangeLog, jim.c, test.tcl: [scope] command removed. Will be
added later with the [let] name and a bit different semantic.
2005-04-05 14:16 antirez
* ChangeLog, jim-rlprompt-1.0.tcl: minor rlprompt fix.
2005-04-05 13:51 antirez
* ChangeLog, Makefile, jim-readline.c, jim-rlprompt-1.0.tcl, jim.c,
jim.h, jimsh.c: .jimrc support (or jimrc.tcl). Minimal readline
extension, just enough to allow to the pure-Jim rlprompt
extension to provide a readline-aware interactive shell with
history.
2005-04-04 21:44 antirez
* ChangeLog, README, jim.c: Fixed a memory leak introduced some day
ago. Thanks to 'valgrind'.
2005-04-04 13:59 antirez
* ChangeLog, jim-stdlib-1.0.tcl: [memoize] is now inside the Jim
Standard Library! More info here: http://wiki.tcl.tk/10981 Our
version uses a static var to take state instead of a global var,
for the rest it is the same.
2005-04-04 10:01 antirez
* ChangeLog, jim.h: Version marked as "0.51".
2005-04-04 09:58 antirez
* ChangeLog, Makefile, jim-stdlib-1.0.tcl, jim.c: Some change in
the standard library, a bug about [info body/args] fixed. some
commented work in progress for exposing the Jim parse at script
level. Default compilation set to -Os again.
2005-04-02 23:35 antirez
* ChangeLog, Makefile, README, TODO, jim-sqlite.c,
doc/Sqlite-Extension.txt: Committed the sqlite extension and
documentation.
2005-04-02 12:14 antirez
* ChangeLog, README, doc/AIO-Extension.txt: minor docs update
2005-04-02 12:08 antirez
* ChangeLog, Makefile, jim-stdlib-1.0.tcl, jim.c: Added a very
immature start of a Jim standard library.
2005-04-02 11:09 antirez
* ChangeLog, Makefile: Changes to Makefile to reflect that now
libraries must have the version in the .so/.dll filename.
2005-04-02 10:54 antirez
* ChangeLog, jim.c: win32 opendir() and related compatibility API.
2005-04-02 09:48 antirez
* ChangeLog, jim.c: fix for win32
2005-04-02 09:44 antirez
* ChangeLog, Makefile, TODO, jim.c, jim.h: [package require] +
Makefile changes about libraries currently not working...
2005-03-31 14:20 antirez
* ChangeLog, STYLE, TODO, jim-aio.c, jim-posix.c, jim-sdl.c,
jim-win32.c, jim-win32com.c, jim.c, jim.h: Implemented the C API
"background" for the packages system of Jim.
2005-03-29 18:50 antirez
* ChangeLog, jim.c, test.tcl: [info args] added
2005-03-29 16:17 antirez
* ChangeLog, jim.c: Fixed [range] for the case of unique element
possible as output.
2005-03-29 16:03 antirez
* ChangeLog, jim.c: random number generator fixed. Was a problem
with the initialization of the sbox. (see prev CVS commit
comment.)
2005-03-29 15:43 antirez
* ChangeLog, jim.c: First fix for [rand]. More later as there is an
evident bias due to some programming error probably.
2005-03-29 15:38 antirez
* ChangeLog, Makefile, jim.c, jim.h: A number of fix for commands
optimizing a bit too much objects not shared, that didn't played
very well with Jim arrays. Added the [rand] command.
2005-03-28 19:47 antirez
* ChangeLog, jim.c, test.tcl: The behaviour of [scope] modified a
bit. Test updated accordingly.
2005-03-28 18:57 antirez
* ChangeLog, jim.c, test.tcl: [scope] command + tests
2005-03-26 15:12 antirez
* ChangeLog, Makefile, jim-sdl.c, jim.c: some GFX primitive to SDL
extension. Minor changes to jim.c
2005-03-25 10:34 antirez
* ChangeLog, bench.tcl, jim.c: SetReturnCodeFromAny() modified to
accept numerical codes.
2005-03-24 14:58 antirez
* ChangeLog, jim.c, test.tcl: [range] command + tests
2005-03-24 12:00 antirez
* ChangeLog, Makefile, TODO, jim-sdl.c: A simple SDL extension for
Jim.
2005-03-22 15:32 antirez
* ChangeLog, jim.c: Fix for short circuit in expr.
2005-03-22 13:47 antirez
* ChangeLog, jim.c: expr's || and && operators are now lazy.
2005-03-21 18:04 chi
* jim.c, jim.h: Add copyright notice within jim.c & jim.h to
acknowledge Jim's license.
2005-03-21 13:39 antirez
* ChangeLog, jim.c, test.tcl: Modified test.tcl to report the list
of failed tests at the end.
2005-03-21 12:59 chi
* jim.c, jim.h, test.tcl: Add the [scan] command and the
Jim_ScanString function + tests.
The scanformat specification will be converted to a new Jim_Obj
of type
scanFormatStringObjType, that will contain the parsed
representation within its internal object representation. This
speed up multiple scanning within e.g. a loop, of objects were
cached.
For internal scanning we use sscanf currently (I am lazy right
now). That
means also, we will inherit its incapability to handle string
with embedded ZERO. It would be not too difficult to implement
another scanner just for the string and charset conversion type
that could be able to handle those embedded ZEROs, however.
Furthermore two small details were fixed:
1. Jim_DoubleToString should also recognize a number if a leading
'+' or '-' occured. By recognizing I mean, add a ".0" to such
a number.
2. Jim_StrDupLen should also properly handle duplication of
substrings. So now it should be possible to do this:
const char *str1 = "This is a long string";
char *substr1 = Jim_StrDupLen(str1, 4);
Now substr1 should contain a properly ZERO ended "This".
2005-03-19 22:39 antirez
* ChangeLog, jim.c, test.tcl: Jim_GetIndex() bug fixed (SS)
2005-03-19 20:12 antirez
* ChangeLog, Makefile, TODO, jim.c, jim.h: [finalize] command and
relative C API added (SS).
2005-03-18 12:39 antirez
* ChangeLog, jim.c: now [setref] returns the value assigned to the
reference instead of the reference itself.
2005-03-18 10:36 antirez
* ChangeLog, Makefile, jim.c: Fixed an EXPR bug.
2005-03-17 22:39 antirez
* ChangeLog, README, TODO, jim.c: [lreverse]
2005-03-17 15:56 antirez
* ChangeLog, TODO: TODO file updated, things already done removed.
2005-03-17 15:47 antirez
* ChangeLog, jim.c: Applied PATCH #389 "debug command is missing
NULL terminator in options :)" Thanks to Jaen Saul for report +
patch.
2005-03-17 14:06 antirez
* ChangeLog, jim.c, jim.h: Objects hash function changed.
2005-03-17 08:40 antirez
* ChangeLog, jim.c, jim.h: [source] command added.
2005-03-17 08:22 antirez
* ChangeLog, Makefile, TODO, jim.c, jim.h: The interactive prompt
can now used to type/paste multi line scripts. Every line is
appended to the previous until the script does not appear to be
complete (tested by Jim_IsScriptComplete()).
2005-03-16 17:28 antirez
* ChangeLog, jim-aio.c, jim.c, jim.h: [env] modified to just be
able to read a specified var name form the environment, i.e. to
be ANSI-C.
Minor fix to AIO extension to use the new DelProc API.
2005-03-16 17:06 patthoyts
* jim.c, jim.h: Added interpreter pointer to the command delete
proc.
2005-03-16 16:30 antirez
* ChangeLog, jim.c: Added the [env] command
2005-03-16 14:35 antirez
* ChangeLog, jim.c: added CVS ID info in the banner.
2005-03-16 14:11 antirez
* ChangeLog, jim.c: more GC fixes.
2005-03-16 13:55 antirez
* ChangeLog, jim.c: Fixed a bug introduced in the Gargage
Collection code some commit ago.
2005-03-15 22:58 antirez
* ChangeLog, Makefile: clean target of Makefile now deletes .xo
files too.
2005-03-15 15:42 antirez
* ChangeLog, jim.c, jim.h: A first version of [info complete].
2005-03-15 15:05 antirez
* BUGS, ChangeLog, jim.c, test.tcl: [info level ?level?] fixed.
Tests uncommented.
2005-03-15 11:31 antirez
* AUTHORS, ChangeLog: More credits in the AUTHORS file
2005-03-14 17:36 patthoyts
* jim-win32.c: Added a bunch of cursor handling apis
2005-03-14 17:35 patthoyts
* jim.c: const police
2005-03-14 15:39 antirez
* ChangeLog, jim.c, jim.h: 'iterator' argument modified to 'iter'
for C++ STL safety.
2005-03-14 14:11 antirez
* ChangeLog, jim.c, jim.h: more fixes to allow inclusion of jim.h
into C++ programs.
2005-03-14 13:20 antirez
* ChangeLog, jim.h: Some change to make jim.h more C++ friendly,
still not working with g++ btw.
2005-03-14 10:16 antirez
* ChangeLog, TODO, jim.c: Removed the inclusion of a not-needed
header file "sys/time.h" that prevented compilation with
JIM_ANSIC under non POSIX systems.
2005-03-14 08:22 antirez
* ChangeLog, TODO, jim.c: [lmap] command.
2005-03-13 18:43 antirez
* ChangeLog, jim.h: Max nesting depth modified to 10000
2005-03-13 16:53 antirez
* ChangeLog, jim.c: [string first]. Tests still not added, until
[string] is not (almost instead) complete.
2005-03-13 09:36 antirez
* ChangeLog, jim.c: [string index] implemented
2005-03-12 22:42 antirez
* ChangeLog, jim.c: Jim_GetEnum() will now sort the options in the
error message (ss)
2005-03-12 21:26 antirez
* ChangeLog, jim.c, jim.h: Added the ability to compile with
-DJIM_ANSIC to use only ANSI-C features and libraries.
2005-03-12 10:18 antirez
* ChangeLog, jim.c, jim.h: Added the Jim_FreeNewObj() macro to free
objects with refcount == 0 instead to call Jim_IncrRefCount +
Jim_DecrRefCount(), or directly Jim_FreeObj(). Code modified
accordingly where needed. Make test + valgrind test passed after
the change.
2005-03-12 09:52 antirez
* ChangeLog, README, jim.c: It's now possible to exclude
compilation of dynamic loaded libraries commenting the JIM_DYNLIB
define from the first lines of jim.c.
2005-03-12 07:43 antirez
* ChangeLog, jim.c: Modified Jim_Free() to be more strict, now it
panics if the refcount of the object is not exactly 0. Now new
objects that are not used may be freed using Jim_Free instead to
use Jim_IncrRefCount() + Jim_DecrRefCount() calls.
2005-03-11 23:00 antirez
* ChangeLog, jim.c: Converted some free() call to Jim_Free().
Actually Jim_Free is a macro that just expands to free for now,
but in the future Jim may include a specialized allocator for
better performances.
2005-03-11 10:37 antirez
* ChangeLog, jim.c: [lambda] modified to be 'statics' capable.
2005-03-11 10:33 antirez
* ChangeLog, Makefile: default Makefile optimization level set to
-O2 again. I committed a Makefile with -Os for an error. (me)
2005-03-11 10:31 antirez
* ChangeLog, jim.c, test.tcl: Fix about [rename] against procedures
with statics. Added a regression test to test.tcl (I plan to
move everything inside regtest.tcl into test.tcl).
2005-03-11 10:25 antirez
* ChangeLog, jim.c: more static fixes (me)
2005-03-11 09:43 antirez
* jim.c: tons of static var fixes...
2005-03-11 08:21 antirez
* ChangeLog, jim.c, jim.h: static variables support
2005-03-10 16:58 antirez
* ChangeLog, jim.c, jim.h, test.tcl: lrange command (me)
2005-03-10 11:03 antirez
* Makefile, README, bench.tcl, jim.c, tools/benchtable.tcl: Some
fix to bench.tcl to make it able to run in Tcl7.6. README
update.
2005-03-09 14:42 patthoyts
* Makefile.vc: Add profile option
2005-03-09 13:00 patthoyts
* bench.tcl: Improved formatting for normal output
2005-03-09 12:57 patthoyts
* tools/benchtable.tcl: New file to tabulate accumulated benchmark
data from bench.tcl -batch
2005-03-09 12:06 antirez
* ChangeLog, jim.c, jim.h, test.tcl: [linsert] command added
(Clemens Hintze). Jim_GetIndex() semantic changed to make
[lindex] more compatible with Tcl's one, without effects on other
commnads (me).
2005-03-09 09:52 antirez
* ChangeLog, bench.tcl: New test added to the benchmark
2005-03-09 08:19 antirez
* ChangeLog, TODO, bench.tcl, jim.c: An initial [format] command.
2005-03-08 18:06 antirez
* ChangeLog, jim.c, jim.h, jimsh.c: Did some fix in jimsh.c,
exported some more API function to set variables and global
variables using a string C as name instead of a Jim_Obj. This is
more handy in mani conditions.
2005-03-08 16:10 patthoyts
* bench.tcl, jim.c, jim.h: JIM_VERSION is to be an integer value
which we present as MAJOR.MINOR to users. MAJOR is JIM_VERSION /
100
2005-03-08 14:45 patthoyts
* bench.tcl, jim.c, jim.h, jimsh.c: Added [info patchlevel] and
setup argv0 and argv variables in jimsh. Changed
Jim_InteractivePrompt to take a pre-initialized interpreter.
2005-03-08 12:32 antirez
* ChangeLog, jim.c: aesthetic changes to source code (SS)
2005-03-08 12:01 antirez
* ChangeLog, jim.c: Removed an useless #if0 ... #endif block of
code.
2005-03-08 10:50 antirez
* ChangeLog, jim.c, test.tcl: Info exists + tests (Clemens Hintze).
2005-03-08 10:42 antirez
* ChangeLog, jim.c, regtest.tcl: Applied patch about unset a(x)
against non existing 'a' variable (Clemens Hintze). Dictionary
handling code and error messages modified a bit (me).
2005-03-07 21:53 antirez
* ChangeLog, jim.c: Fixed a memory leak introduced with the last
callframe caching code commit.
2005-03-07 21:34 antirez
* ChangeLog, jim.c, jim.h: Faster procedure calls (obtained caching
the hashtable, and with a fast path to free the cached hash
tables elements).
2005-03-07 18:58 antirez
* ChangeLog, jim.c: Added "increasing", "decreasing", "ascii",
"nocase" options to lsort (SS). The plan is to don't add more
options than this, but -command, and put "dictionary style"
comparison in [string dictcompare].
2005-03-07 17:03 antirez
* ChangeLog, Makefile, bench.tcl, jim.c: [lsort] command and list
sorting low-level functions (Pat Thoyts). Speedup for floating
point math (me).
2005-03-07 16:30 patthoyts
* jim.c, jim.h: Refactored the [info] command and added body and
version to the command. Added a simple version of [lsort] (no
options yet).
2005-03-07 15:17 antirez
* ChangeLog, jim.c: specializing version of while (still not
complete, but already handles most of the cases that it's worth
to optimize).
2005-03-07 09:23 antirez
* ChangeLog, TODO: TODO changes