-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
3213 lines (2068 loc) · 98.5 KB
/
Copy pathChangeLog
File metadata and controls
3213 lines (2068 loc) · 98.5 KB
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-01-02 Kyle Wheeler <kbwheel@gmail.com>
* Makefile.am, test/Makefile.am: fix distcheck
* COPYRIGHT, ChangeLog, NEWS, README, configure.ac: prep for 2.5
* wcalc.1: correct color command documentation
* src/common/iscmd.c: document color command online
2015-01-01 Kyle Wheeler <kbwheel@gmail.com>
* configure.ac: update version to 2.5b, and update compile flags
for newer systems
* src/common/isfunc.c: uncrustify
* src/common/isconst.c: uncrustify
* src/common/scanner.l: add missing header
* src/cli/main.c: fix warning about const cast
* src/common/calculator.c: fix logic errors in variable expansion;
and uncrustify
* src/cli/main.c: remove unnecessary shadowed variable
2014-12-29 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: document color configuration
* test.errors, test.recursion, test.vars, test/Makefile.am,
test/active_variable.test, test/vars.test: more tests
* test/Makefile.am, test/err.assign.test,
test/err.conv_category1.test, test/err.conv_category2.test,
test/err.recursion1.test, test/err.recursion2.test,
test/err.recursion3.test, test/err.recursion4.test,
test/test.simple: expected failure test suite
* src/cli/main.c: exit on error correctly
* src/cli/main.c, src/common/calculator.c,
src/common/includes/output.h, src/common/parser.y: better error
output
* Makefile.am, configure.ac, test, test.simple, test/Makefile.am,
test/basic_float.test, test/basic_ints.test,
test/basic_math.test, test/basic_vars.test, test/checktest.sh,
test/compound_math.test, test/conversion.test,
test/err.assert.test, test/err.question.test,
test/factorial.test, test/formatting.test,
test/implicit_mult.test, test/precision_guard.test,
test/test.simple, test/website_math.test: beginning test
framework
* config: more build scripts
* src/common/calculator.c: better debug output
* src/common/number.c: better integer detection with MPFR
* src/common/parser.y: print line in assert
* src/cli/main.c: terminate scripts on failure
* src/common/parser.y, src/common/scanner.l: Fix hex/dec parsing
without eliminating zeros, and make precision guard specifiable
* src/cli/main.c, src/common/explain.c, src/common/extract_vars.c,
src/common/includes/explain.h, src/common/includes/isconst.h,
src/common/includes/isfunc.h, src/common/isconst.c,
src/common/isfunc.c, src/common/scanner.l: rework the explanatory
data structures, to reduce list duplication (duplication
potentially leads to missing documentation)
* src/common/includes/add_commas.h,
src/common/includes/calculator.h,
src/common/includes/conversion.h, src/common/includes/evalvar.h,
src/common/includes/explain.h,
src/common/includes/extract_vars.h, src/common/includes/files.h,
src/common/includes/iscmd.h, src/common/includes/isconst.h,
src/common/includes/isfunc.h, src/common/includes/list.h,
src/common/includes/number.h,
src/common/includes/number_formatting.h,
src/common/includes/output.h, src/common/includes/string_manip.h,
src/common/includes/variables.h: update uncrustification
* src/common/parser.y, src/common/scanner.l: implement \assert
command
* src/cli/main.c, src/common/explain.c,
src/common/includes/explain.h, src/common/includes/iscmd.h,
src/common/iscmd.c: revamped explanation/command structure; less
duplication of command lists
* config: ignore new build script "compile"
2014-05-14 Kyle Wheeler <kbwheel@gmail.com>
* src/common/number_formatting.c: fix double-free bug
* src/common/conversion.c: add METRIC_C handling
2014-05-01 Kyle Wheeler <kbwheel@gmail.com>
* src/common/conversion.c, src/common/includes/conversion.h: Add
generic SI-unit conversion (without a real unit)
* src/cli/main.c: tell readline to ignore color escapes
2014-04-18 Kyle Wheeler <kbwheel@gmail.com>
* src/common/parser.y: allow big integers
* src/cli/main.c: swap the hard reset with a soft reset (avoid
weird characters when color=no), and add special characters for
the readline prompt to tell readline to ignore the non-printing
characters when calculating prompt length
2014-01-16 Kyle Wheeler <kbwheel@gmail.com>
* src/cli/main.c: symmetry with the readline behavior
2014-01-15 Kyle Wheeler <kbwheel@gmail.com>
* src/cli/main.c, src/common/calculator.c, src/common/evalvar.c,
src/common/extract_vars.c, src/common/list.c,
src/common/variables.c: misc minor improvements suggested by
cppcheck
* src/common/calculator.c, src/common/number_formatting.c: fix
warnings produced by clang --analyze
2014-01-13 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: shorten long lines of contants
* configure.ac, configure.in: autoconf will be dropping support for
the old filename
2013-12-27 Kyle Wheeler <kbwheel@gmail.com>
* src/common/scanner.l: These prototypes avoid warnings on old
versions of flex, but are incompatible with new versions of flex;
so we remove them. Still get warnings with old versions, but
that's better than incompatibility with new versions.
2013-12-20 Kyle Wheeler <kbwheel@gmail.com>
* src/cli/main.c: avoid snprintf; gain readability
* src/common/scanner.l: add prototypes to suppress warnings on old
versions of MacOS X
* src/common/list.c: remove stdio from list module
* src/common/parser.y: fix r907
* src/common/parser.y: use strncpy instead of snprintf
* src/common/conversion.c: remove dependence on stdio
* src/common/isconst.c: remove dependence on stdio
* src/common/includes/variables.h: remove dependence on stdio
* src/common/files.c: remove dependence on stdio
* src/common/explain.c: correct boundary condition for strncat
* src/common/explain.c: remove dependency on stdio
* src/cli/main.c: readline-only error check
2013-12-19 Kyle Wheeler <kbwheel@gmail.com>
* config/readline.m4: detect the rl_filename_completion_function
rather than the more simplistic readline function
2013-12-13 Kyle Wheeler <kbwheel@gmail.com>
* src/cli/main.c: make the rest of the colorable objects
configurable
* src/cli/main.c, src/common/explain.c, src/common/files.c,
src/common/includes/output.h, src/common/isconst.c: remove the
last printfs and replace them with output functions
* src/common/number.c: remove debugging output
* src/cli/main.c, src/common/explain.c,
src/common/includes/output.h, src/common/parser.y: explanations
use proper output functions now
* src/Makefile.am, src/cli/help.c, src/cli/main.c,
src/common/Makefile.am, src/common/help.c,
src/common/includes/output.h, src/common/variables.c: variable
lists and variable assignments now display in color properly
* src/cli/main.c, src/common/calculator.c, src/common/explain.c,
src/common/files.c, src/common/help.c,
src/common/historyManager.c, src/common/includes/Makefile.am,
src/common/includes/calculator.h, src/common/includes/help.h,
src/common/includes/output.h, src/common/parser.y,
src/common/variables.c: reworking output ("display") to make
color more flexible; not done yet, but should also make a GUI
frontend (or ncurses) easier to plug in
2013-11-15 Kyle Wheeler <kbwheel@gmail.com>
* src/common/number_formatting.c: avoid leaking memory in output
formatting
* src/cli/main.c: the prompt must be bigger to accommodate color
strings
* configure.in: denote development in the version
* configure.in: update for modern versions of autoconf/automake
2013-11-12 Kyle Wheeler <kbwheel@gmail.com>
* src/common/calculator.c, src/common/includes/Makefile.am,
src/common/includes/calculator.h, src/common/includes/output.h:
more color UI stuff; creating a better UI separation layer
* src/cli/main.c: refactored prefs parsing to be easier to read and
more hierarchical; also added the beginning of a color UI
2013-10-04 Kyle Wheeler <kbwheel@gmail.com>
* src/common/includes/definitions.h: even more precision for W_E
* src/common/includes/definitions.h: more precision for W_E
* src/common/number.c: fix num_const_euler
2013-09-25 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: fix old typo
* src/common/evalvar.c: avoid memory leak
2013-09-24 Kyle Wheeler <kbwheel@gmail.com>
* src/common/evalvar.c, src/common/explain.c,
src/common/includes/evalvar.h: fix explain segfault for
hierarchical expressions
* wcalc.1: document verbose and defaults options
* wcalc.1: be more descriptive about \save
2013-09-23 Kyle Wheeler <kbwheel@gmail.com>
* src/common/variables.c: prettier output of variable list
* src/common/explain.c: prettify dependent variable output
2013-09-20 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: missing space
2013-09-18 Kyle Wheeler <kbwheel@gmail.com>
* ChangeLog, NEWS, README: 2.4.1 (for real this time)
* src/cli/main.c: add "all" option to -u arg
* src/cli/main.c, src/common/help.c, wcalc.1: change -u behavior
slightly, and document it
* src/common/variables.c: prettier variable list
* src/common/variables.c: missing newline in some cases
* src/common/files.c: fix minor memory leak in opening dot-files
2013-09-17 Kyle Wheeler <kbwheel@gmail.com>
* src/common/help.c, wcalc.1: argument formatting
* src/common/help.c: fix typo - thanks Roger!
* AUTHORS, ChangeLog, NEWS, README, configure.in: backtrack - not
releasing 2.4.1 JUST YET
* wcalc.1: document new options (-u and -U), ditch unit list for
online unit list
* src/cli/main.c: require 2 letters
* src/cli/main.c, src/common/help.c: -U and -u (--units) for
printing out the currently supported conversions and their
aliases.
* src/common/conversion.c, src/common/includes/conversion.h: Make
the text conversion categories universally accessible
* wcalc.1: list all the units in the man-page (thanks Roger!)
* src/common/conversion.c: typo - thanks Roger!
2013-09-16 Kyle Wheeler <kbwheel@gmail.com>
* NEWS, README, configure.in: post-release commit
* ChangeLog: 2.4.1
* AUTHORS, NEWS, README: prep for 2.4.1 release
* Makefile.am, src/Makefile.am, src/common/Makefile.am,
src/common/includes/Makefile.am: make distcheck work
* src/common/scanner.l: fix output reinterpretation for octal and
binary when delimiters are turned on
* src/common/variables.c: print description in the variable list
2013-03-06 Kyle Wheeler <kbwheel@gmail.com>
* NewWcalc.icns, TheW.icns, Wred.png, configure.in, graphics,
graphics/NewWcalc.icns, graphics/TheW.icns, graphics/Wred.png,
graphics/w.png, src/common/includes, w.png: more reorganizing
* memwatch.c, memwatch.h, src/cli/main.c, src/common/add_commas.c,
src/common/calculator.c, src/common/conversion.c,
src/common/evalvar.c, src/common/explain.c,
src/common/extract_vars.c, src/common/files.c, src/common/help.c,
src/common/historyManager.c, src/common/iscmd.c,
src/common/isconst.c, src/common/isfunc.c, src/common/list.c,
src/common/number_formatting.c, src/common/parser.y,
src/common/scanner.l, src/common/string_manip.c,
src/common/variables.c, src/gui/AboutBoxController.m,
src/gui/ConversionList.m, src/gui/ErrorController.m,
src/gui/HistoryList.m, src/gui/InspectorController.m,
src/gui/MyTextField.m, src/gui/OldVariableList.m,
src/gui/PersVarList.m, src/gui/VariableList.m,
src/gui/WcalcController.m, src/gui/main.m, src/gui/simpleCalc.c,
src/gui/theDelegate.m: remove memwatch
* .: ignore cscope
* src/common/includes/add_commas.h,
src/common/includes/calculator.h,
src/common/includes/conversion.h,
src/common/includes/definitions.h, src/common/includes/evalvar.h,
src/common/includes/explain.h,
src/common/includes/extract_vars.h, src/common/includes/files.h,
src/common/includes/help.h, src/common/includes/historyManager.h,
src/common/includes/iscmd.h, src/common/includes/isconst.h,
src/common/includes/isfunc.h, src/common/includes/list.h,
src/common/includes/number.h,
src/common/includes/number_formatting.h,
src/common/includes/string_manip.h,
src/common/includes/uint32_max.h,
src/common/includes/variables.h: uncrustified
* src/cli/main.c, src/common/add_commas.c, src/common/calculator.c,
src/common/conversion.c, src/common/evalvar.c,
src/common/explain.c, src/common/extract_vars.c,
src/common/files.c, src/common/help.c,
src/common/historyManager.c, src/common/includes/variables.h,
src/common/iscmd.c, src/common/isconst.c, src/common/isfunc.c,
src/common/list.c, src/common/number.c,
src/common/number_formatting.c, src/common/string_manip.c,
src/common/variables.c: uncrustified
* src/cli/main.c, src/common/calculator.c, src/common/evalvar.c,
src/common/files.c, src/common/includes/isconst.h,
src/common/includes/variables.h, src/common/isconst.c,
src/common/number.c, src/common/parser.y,
src/common/string_manip.c: removing compiler warnings
* configure.in: more flags
* Makefile.am, configure.in, simpleCalc.c, simpleCalc.h,
src/Makefile.am, src/gui, src/gui/Makefile.am,
src/gui/includes/simpleCalc.h, src/gui/simpleCalc.c: gui files
needed a Makefile
* configure.in: restore flags
* autogen.sh: fix executable state
* Makefile.am: fix config directory handling
* configure.in: outdated comment
* config, src, src/cli, src/common, src/common/Makefile.am,
src/common/includes: ignores and such
* AboutBoxController.h, AboutBoxController.m, ConversionList.h,
ConversionList.m, ErrorController.h, ErrorController.m,
HistoryList.h, HistoryList.m, InspectorController.h,
InspectorController.m, Makefile.am, MyTextField.h, MyTextField.m,
OldVariableList.h, OldVariableList.m, PersVarList.h,
PersVarList.m, VariableList.h, VariableList.m, WcalcController.h,
WcalcController.m, WcalcService.h, WcalcService.m, acinclude.m4,
add_commas.c, add_commas.h, autogen.sh, calculator.c,
calculator.h, config, config/readline.m4, configure.in,
conversion.c, conversion.h, definitions.h, evalvar.c, evalvar.h,
explain.c, explain.h, extract_vars.c, extract_vars.h, files.c,
files.h, help.c, help.h, historyManager.c, historyManager.h,
iscmd.c, iscmd.h, isconst.c, isconst.h, isfunc.c, isfunc.h,
list.c, list.h, main.c, main.m, number.c, number.h,
number_formatting.c, number_formatting.h, parser.y, scanner.l,
src, src/Makefile.am, src/cli, src/cli/main.c, src/common,
src/common/add_commas.c, src/common/calculator.c,
src/common/conversion.c, src/common/evalvar.c,
src/common/explain.c, src/common/extract_vars.c,
src/common/files.c, src/common/help.c,
src/common/historyManager.c, src/common/includes,
src/common/includes/Makefile.am,
src/common/includes/add_commas.h,
src/common/includes/calculator.h,
src/common/includes/conversion.h,
src/common/includes/definitions.h, src/common/includes/evalvar.h,
src/common/includes/explain.h,
src/common/includes/extract_vars.h, src/common/includes/files.h,
src/common/includes/help.h, src/common/includes/historyManager.h,
src/common/includes/iscmd.h, src/common/includes/isconst.h,
src/common/includes/isfunc.h, src/common/includes/list.h,
src/common/includes/number.h,
src/common/includes/number_formatting.h,
src/common/includes/string_manip.h,
src/common/includes/uint32_max.h,
src/common/includes/variables.h, src/common/iscmd.c,
src/common/isconst.c, src/common/isfunc.c, src/common/list.c,
src/common/number.c, src/common/number_formatting.c,
src/common/parser.y, src/common/scanner.l,
src/common/string_manip.c, src/common/variables.c, src/gui,
src/gui/AboutBoxController.m, src/gui/ConversionList.m,
src/gui/ErrorController.m, src/gui/HistoryList.m,
src/gui/InspectorController.m, src/gui/MyTextField.m,
src/gui/OldVariableList.m, src/gui/PersVarList.m,
src/gui/VariableList.m, src/gui/WcalcController.m,
src/gui/WcalcService.m, src/gui/includes,
src/gui/includes/AboutBoxController.h,
src/gui/includes/ConversionList.h,
src/gui/includes/ErrorController.h,
src/gui/includes/HistoryList.h,
src/gui/includes/InspectorController.h,
src/gui/includes/MyTextField.h,
src/gui/includes/OldVariableList.h,
src/gui/includes/PersVarList.h, src/gui/includes/VariableList.h,
src/gui/includes/WcalcController.h,
src/gui/includes/WcalcService.h, src/gui/includes/theDelegate.h,
src/gui/main.m, src/gui/theDelegate.m, string_manip.c,
string_manip.h, theDelegate.h, theDelegate.m, uint32_max.h,
variables.c, variables.h: modernize the layout
2013-02-10 Kyle Wheeler <kbwheel@gmail.com>
* parser.y: fix handling of the \bits command
2012-09-29 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: Josue's patch to fix Debian bug 600255
2012-09-10 Kyle Wheeler <kbwheel@gmail.com>
* wcalc.1: update for gtgroff
2012-08-22 Kyle Wheeler <kbwheel@gmail.com>
* explain.c: patch from Josué Ortega
2012-07-13 Kyle Wheeler <kbwheel@gmail.com>
* main.c: fix history filename issue
2012-06-10 Kyle Wheeler <kbwheel@gmail.com>
* main.c: Excised leftover PATH_MAX uses.
2012-06-05 Kyle Wheeler <kbwheel@gmail.com>
* files.h: prototype openDotFile()
* files.c, files.h, main.c: update to use PATH_MAX only if
available
* configure.in: check for PATH_MAX (some OSs, like GNU Hurd, do not
have it)
2012-04-04 Kyle Wheeler <kbwheel@gmail.com>
* configure.in: avoid taking sides on rpath debate
* configure.in: since AC_SEARCH_LIBS and AC_CHECK_LIB build up
LIBS, we need to leave the CPPFLAGS and LDFLAGS modified
* configure.in: mpfr requires gmp, so use gmp flags when detecting
mpfr
* number_formatting.c: minimum of 2 digits from mpfr_get_str, also,
always reserve space for the null-termination
* Makefile.am, configure.in: allow for specifying GMP and MPFR
paths
* main.c: improve handling of -P argument
2012-03-14 Kyle Wheeler <kbwheel@gmail.com>
* explain.c, iscmd.c: online help for \delim
2012-03-10 Kyle Wheeler <kbwheel@gmail.com>
* help.c, main.c: get the version string right
* scanner.l: scientific notation can have a zero exponent
2011-04-18 Kyle Wheeler <kbwheel@gmail.com>
* number_formatting.c: comment about upping the cutoff
* number_formatting.c: up the cutoff
* number_formatting.c: make it possible to display small things
like Eh
* conversion.c: fix yard conversion to meters (and thus, to
everything else)
2010-12-29 Kyle Wheeler <kbwheel@gmail.com>
* configure.in, help.c, main.c: update to new autotools & version
number
* ., calculator.c, number_formatting.c: better way to respect
print_ints... still seem to have a problem with really really
huge decimals, such as 100!+0.1
* number_formatting.c: not always respecting print_ints setting
2010-06-07 Kyle Wheeler <kbwheel@gmail.com>
* number_formatting.c: better handling of very big/small numbers
when doing automatic engineering decisions
* main.c: initialize rounding indication and add error reporting
for unrecognized config values
* number_formatting.c: required to get the right exponent (why???);
test against muB
* number_formatting.c: required to get the right exponent (why???);
test against muB
* number_formatting.c: correct the display of long exponents
* ., English.lproj: ignores
* historyManager.c: not sure what this is for...
* WcalcController.m: fix handling of alternate input prefs - they
were not saved to the preferences correctly
* number_formatting.c: use indexes rather than pointers, and be
more careful about running off the end of "length", to avoid a
segfault; initialize d_index; fix exponent calculation for
0-precision display
* main.c: avoid unexpected behavior if HOME is too long
* calculator.c: print_equal should turn off the tilde too; and
remove attribution URL (points to a porn site now)
* test.simple: test for radian correctness
* help.c: fix typo (thanks Reuben Thomas!)
* parser.y: fix potential printf issue
* scanner.l: attempting to handle missing lex/flex more gracefully;
avoid segfaults by initializing the return value, even though it
wont be used; not all versions of lex support curly-brace
repetition definitions <sigh>
* configure.in: attempting to handle missing lex/flex more
gracefully; and without yywrap, we dont need to link to libl
* files.c: avoid unexpected behavior if HOME is too long, and use
O_EXCL on saveState to avoid unintentional overwrites
* wcalc.1: avoid the word "precision" when possible, because it,
itself, is imprecise. And also try to be more clear (thanks
Reuben Thomas!)
* calculator.c: some more debug output
2010-05-27 Kyle Wheeler <kbwheel@gmail.com>
* autogen.sh: this is really trivial, but... avoids confusion
2008-10-31 Kyle Wheeler <kbwheel@gmail.com>
* Wcalc.xcodeproj/kyle.pbxuser, Wcalc.xcodeproj/project.pbxproj:
reworked Xcode build settings (consider: different settings for
Wcalc.app and wcalc, but most of the settings are pulled from the
project settings)
* NewWcalc.icns, Wcalc.xcodeproj/kyle.pbxuser: Adding new icon (via
Xcode svn frontend)
* wcalc.spec: Testing...
* Wcalc.xcodeproj/kyle.pbxuser, Wcalc.xcodeproj/project.pbxproj:
xcode 3.1 only
* ChangeLog, Wcalc.xcodeproj/kyle.pbxuser,
Wcalc.xcodeproj/project.pbxproj: tidying
2008-10-26 Kyle Wheeler <kbwheel@gmail.com>
* Wcalc.pmdoc/01wcalc.xml, Wcalc.xcodeproj/kyle.pbxuser,
Wcalc.xcodeproj/project.pbxproj, historyManager.c: fixing
compilation in xcode
* ChangeLog, English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib, NEWS, README,
Wcalc-nonFHS.pmproj, Wcalc.pmdoc,
Wcalc.pmdoc/01wcalc-contents.xml, Wcalc.pmdoc/01wcalc.xml,
Wcalc.pmdoc/index.xml, Wcalc.pmproj, Wcalc.xcodeproj/kyle.mode1,
Wcalc.xcodeproj/kyle.pbxuser, Wcalc.xcodeproj/project.pbxproj:
collective version bump
* wcalc.1: documenting the new options for input
* test.simple: test for crashers and correct binary ops
* English.lproj/InfoPlist.strings,
English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib, calculator.c,
calculator.h, main.c, parser.y, scanner.l, simpleCalc.c:
alternate input decimal and thousand separators... this is to
handle the pathological case where input needs to be from one
nationality and output needs to be in another
* Info.plist, definitions.h, help.c: simpler versioning cooperation
with Xcode
* AboutBoxController.m: depend on definitions.h
* WcalcController.h, WcalcController.m: alternate input decimal and
thousand separators... this is to handle the pathological case
where input needs to be from one nationality and output needs to
be in another; also fixed display size adjusting
2008-10-25 Kyle Wheeler <kbwheel@gmail.com>
* WcalcController.m: use 10.4+ method of fetching thousands
separator and dec separator
* number.h: make binary operations (bor, band, bxor) use a less
surprising rounding mode when operating on non-integers
* number.c: make is_int simpler and stop relying on string
manipulation
* calculator.c: truncate right-shifts only if we were working with
an integer to begin with
* number_formatting.c: fix typo
* add_commas.c: behave correctly if separator is nil
2008-10-12 Kyle Wheeler <kbwheel@gmail.com>
* ., .cvsignore: remove generated files from .cvsignore
* English.lproj/.DS_Store: DS_Store
* calculator.c: simplifying previous rshift solution with trunc
* aclocal.m4, config.h.in, configure, ylwrap: removing generated
files from cvs
* ., .cvsignore, English.lproj, English.lproj/.cvsignore: tidying
* number.c, number.h: less complicated solution to the problem:
just use trunccalculator.c
* English.lproj/Makefile.am, Makefile.am, Makefile.in,
configure.in, ylwrap: better build system
2008-10-10 Kyle Wheeler <kbwheel@gmail.com>
* calculator.c: use num_rshift instead of hand work, because we
need the numbers to be truncated correctly
* number.c, number.h: num_rshift to truncate bits correctly
* number_formatting.c: avoid a stupid segfault
2008-08-24 Kyle Wheeler <kbwheel@gmail.com>
* explain.c, isconst.c: minor fix, and added a warning to remind
myself of an idea
* explain.c: revamped isconst makes it easier to handle this
symbolically, and allows the compiler to notice missing
explanations... added a few missing explanations
* extract_vars.c, scanner.l: deal with new isconst correctly
* isconst.c, isconst.h, main.c: fix the engineering flag (oops) and
expand the power of isconst()
2008-06-17 Kyle Wheeler <kbwheel@gmail.com>
* calculator.c: localizing the output was getting skipped in some
circumstances
2008-05-13 Kyle Wheeler <kbwheel@gmail.com>
* list.h: declaring inline in a header file is pointless, and with
SunStudio's compiler, harmful
* configure.in: remove solaris bodge (have generic isinf/isnan
workaround), but add AC_C_INLINE
* calculator.c: isinf/isnan nonexistence fixes
2008-03-31 Kyle Wheeler <kbwheel@gmail.com>
* Makefile.am: enable "make dist"
* main.c: pref reading shouldn't require a space between the key
and the equals sign
2008-02-20 Kyle Wheeler <kbwheel@gmail.com>
* main.c, scanner.l: add tab-completion of new engineering modes
* explain.c: make explanations of commands tolerant of missing
backslash
2008-02-18 Kyle Wheeler <kbwheel@gmail.com>
* ChangeLog, NEWS, README, Wcalc-nonFHS.pmproj, Wcalc.pmproj,
Wcalc.xcodeproj/kyle.mode1, Wcalc.xcodeproj/kyle.pbxuser,
Wcalc.xcodeproj/project.pbxproj, aclocal.m4, configure: 2.3.1
* acinclude.m4: better readline history detection
* number_formatting.c: fix a compiler warning
* WcalcController.h, WcalcController.m: straightening out the eng
pref
2008-02-12 Kyle Wheeler <kbwheel@gmail.com>
* WcalcController.m: fixed the backwards compatability logic
2008-02-08 Kyle Wheeler <kbwheel@gmail.com>
* main.c, wcalc.1: accept input from wcalc_input envariable
* wcalc.1: correct engineering mode documentation
* number_formatting.c: make engineering output truncate results if
the precision is auto
* main.c, parser.y, scanner.l, wcalc.1: make the engineering
configuration consistent (and DOCUMENTED)
* English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib,
Wcalc.xcodeproj/kyle.mode1, Wcalc.xcodeproj/kyle.pbxuser,
Wcalc.xcodeproj/project.pbxproj, WcalcController.h,
WcalcController.m, calculator.c, calculator.h, main.c,
number_formatting.c, number_formatting.h, parser.y: Make
engineering mode a three-way toggle between "always", "never",
and "auto"
* conversion.h: ssize_t headers
2008-02-04 Kyle Wheeler <kbwheel@gmail.com>
* scanner.l: be more careful about running off the end of yytext
* README: stupid typo
2007-12-05 Kyle Wheeler <kbwheel@gmail.com>
* scanner.l: accept @NaN@ and @Inf@
* number.h: inf
2007-08-27 Kyle Wheeler <kbwheel@gmail.com>
* number.c, number.h: vastly expanded non-mpfr functions... dont
quite work right yet, but its almost there
* number_formatting.c, number_formatting.h: another stab at
mpfr-independence
* string_manip.c: making splint happy
* list.c, list.h, main.c: attempting to make splint happy
* explain.c, extract_vars.c, extract_vars.h, iscmd.c, isconst.c,
isconst.h, isfunc.c: make splint happy
* files.c, help.c: remove pointless mpfr dependency
* conversion.c, conversion.h: use ssize_t instead of smaller ints
* calculator.h: fix signs and remove gratuitous randstate
* add_commas.c, add_commas.h: correct conversions and handle out of
memory, add splint notation
2007-08-24 Kyle Wheeler <kbwheel@gmail.com>
* ChangeLog: *** empty log message ***
* English.lproj/MainMenu.nib/keyedobjects.nib,
Wcalc.xcodeproj/kyle.mode1, Wcalc.xcodeproj/kyle.pbxuser,
WcalcController.m: comp, fact, exp, and sinc were missing from
the GUI
* explain.c: sinc and exp were missing documentation
* English.lproj/InfoPlist.strings,
English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib, Info.plist,
Makefile.in, Wcalc.xcodeproj/kyle.mode1,
Wcalc.xcodeproj/kyle.pbxuser, Wcalc.xcodeproj/project.pbxproj,
aclocal.m4, configure, configure.in, definitions.h: version bump
to 2.3.1, and some minor changes to make compiling easier
2007-08-23 Kyle Wheeler <kbwheel@gmail.com>
* WcalcController.h, WcalcController.m: make prefs behave
themselves (sync on quit and on closing the prefs window) and
restore the maxPrecisionValue from the saved pref on awakeFromNib
* MyTextField.m: handle maliciousness and weirdness a bit better.
delete and backspace are now synonyms for CLEAR
* simpleCalc.c: handle input number formatting properly (commas,
periods, internationalization, etc.)
2007-08-22 Kyle Wheeler <kbwheel@gmail.com>
* test.simple: correct the test for FORTRAN-style **
* MyTextField.m, WcalcController.m, simpleCalc.c, simpleCalc.h:
major overhaul of the simpleCalc subsystem, to make it more
robust. still needs work to handle quasi-malicious users, but it
already works better than it used to (no crashing!)
* WcalcController.m: correct interface glitch when resizing windows
that have already been resized
* WcalcController.m: correct interface glitch when setting bit
precision
* WcalcController.m: removed debugging printouts
* scanner.l: converting ** back into FORTRAN-style exponent
notation
* English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib, WcalcController.h,
WcalcController.m: Fix display when going back from extreme
sizes. Also, added slider-max preference
2007-08-14 Kyle Wheeler <kbwheel@gmail.com>
* parser.y, test.simple: fix squaring syntax errors (e.g. 2**3 =
12)
2007-08-03 Kyle Wheeler <kbwheel@gmail.com>
* README, wcalc.1: update for GPLv2+ compatability
* COPYRIGHT: update for GPLv2+ compatability
2007-07-21 Kyle Wheeler <kbwheel@gmail.com>
* ChangeLog, NEWS, README: version 2.3 commit
* Wcalc-nonFHS.pmproj, Wcalc.pmproj, Wcalc.xcodeproj/kyle.mode1,
Wcalc.xcodeproj/kyle.pbxuser: *** empty log message ***
* Wcalc.xcodeproj/kyle.mode1, Wcalc.xcodeproj/kyle.pbxuser,
Wcalc.xcodeproj/project.pbxproj: *** empty log message ***
* parser.y: removed compiler warning
* number_formatting.c: whitespace changes and some signedness
tidiness
* number.h: might not be necessary, but added mp_prec_t
* number.c: fixed a compiler warning about signedness
* historyManager.c, historyManager.h: why go unsigned long when you
can go size_t?
* conversion.c, files.c: fixed a signed/unsigned issue
* extract_vars.c: minor cleanup for readability (str -> peekstr)
* explain.c: minor cleanup for readability (str -> curstr)
2007-07-20 Kyle Wheeler <kbwheel@gmail.com>
* calculator.c: use the strswap function instead of duplicating
code
* WcalcController.m: removed symbol conflict (exp -> expr), and
removed signed/unsigned comparisons
* HistoryList.m, VariableList.m: removed symbol conflict (index ->
theIndex)
* MyTextField.m, PersVarList.m: removed symbol conflict (exp ->
expr)
* English.lproj/InfoPlist.strings,
English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib, Info.plist,
WcalcService.h, WcalcService.m, main.m: WcalcService
* WcalcController.h, WcalcController.m: change the menu display
when the keyboard appears and disappears
2007-07-17 Kyle Wheeler <kbwheel@gmail.com>
* calculator.c, calculator.h, conversion.c, conversion.h,
evalvar.c, evalvar.h, explain.c, explain.h, files.c, files.h,
iscmd.c, iscmd.h, isconst.c, isconst.h, isfunc.c, isfunc.h,
number.c, number.h, variables.c, variables.h: made the inputs
const
* main.c: added --dec, --hex, --bin, and --oct, because I keep
trying to use them anyway
* add_commas.c, add_commas.h, string_manip.c, string_manip.h: made
the inputs const, and switched to using offsets rather than
pointer arithmetic
* number_formatting.c: testing against both 0 and length because
length is unsigned
* test.simple: 100! now has an answer too
* number_formatting.c: avoid using pointers when possible in
zero_strip, for tighter code
* number.c: made is_int() more reliable in the face of excess
precision (e.g. 100!)
* main.c: increased buffer sizes and removed overflow in config
file
* scanner.l: allow initial zero on exponent in hex
* scanner.l: allow initial zero on exponent in big ugly
* test.simple: add test for variable expansion precision bug
* calculator.c: use full-precision for estimating simple rounding
(more likely to warn of rounding in all relevant cases)
* number_formatting.c: fix variable expansion by adding a
full-precision formatter
* calculator.c: comment documenting last change
* calculator.c: request a full-precision number
2007-07-16 Kyle Wheeler <kbwheel@gmail.com>
* English.lproj/MainMenu.nib/classes.nib,
English.lproj/MainMenu.nib/info.nib,
English.lproj/MainMenu.nib/keyedobjects.nib: misc minor tweaks
* conversion.c: correcting and expanding, refactoring unit list,
added pressure and angle.
* conversion.h: correcting and expanding unit list, added pressure
and angle.
* InspectorController.m: whitespace