forked from uncrustify/uncrustify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commit.log
4722 lines (3219 loc) · 145 KB
/
commit.log
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
commit 20f85c688334859635b21b95951b1e115540c69d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 15:59:23 2013 -0600
Run scripts/update-defaults.sh
commit d85e6222393b36fde7aa8275abdea0c86ffe7f8d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 15:57:34 2013 -0600
Run autogen.sh on Ubuntu 12.10.
commit f9282e34b98da6733c502448bbb88dd4ae28048a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 15:56:51 2013 -0600
Update the ChangeLog
commit 5d1398028feaf5181a5e41e8893392bdac602afb
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 15:25:38 2013 -0600
Add a few files to the workspace
commit cae8a0b9c1b913e428e219865bb46fa58d4539fc
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 15:25:13 2013 -0600
Update version number to 0.60
commit edfb4f0bd76c11af4d5bb7cd709c0857ab084042
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Dec 30 14:56:49 2012 -0600
Fix labeling of OC @property statements
commit 4154cb656fd3344b72c10b757087344adb1fa190
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Dec 30 10:57:48 2012 -0600
Properly label 'using namespace XXX;'
commit b3744a85a9273d05b80d05086cfc42024e1813c9
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 23:39:23 2012 -0600
Split 'prev' code in chunk_skip_to_match() to chunk_skip_to_match_rev()
commit 182a0cae4cf0d2db4e41249043fd9ef9191ba54e
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 23:25:32 2012 -0600
Fix the pawn-only keyword 'sleep', which is like return or sizeof.
commit d625ef6006159aa9272cf9be7c497b802b4c7e65
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 23:24:46 2012 -0600
Update test results (missed a file in the last commit)
commit 51fe304d6dbb1d4ddf2e30a9e4e6c04f62aa903c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 22:42:13 2012 -0600
Update config and test for indent_oc_block_msg
commit 67d055ccfbcf7c3e9b2078b791e991c813eb847e
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 22:38:53 2012 -0600
Add option: indent_oc_block_msg
Indents blocks relative to the tag name inside messages.
Really hacky, but it seems to work.
commit 0edf827adcb8b509b58607faacecec906ed0980b
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 15:51:59 2012 -0600
And and update tests for new ObjC options
commit fa87f91938e520251d1380e0ebd2d69f7d11e1d7
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 15:47:04 2012 -0600
New option: indent_oc_msg_colon
Insert a CT_SPACE in front of the longest arg to make it work.
commit f3aa1441a79f5968436e4b607ed8d3c8b8209c0f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 15:43:09 2012 -0600
Finish option nl_oc_msg_leave_one_liner
commit e2f941ab0c8f1f1d48cf88d4718efcb8e8b525bd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 15:42:18 2012 -0600
Extend flag_series to both set and clear flags.
commit bc7a55d957419cb4c01fa7a3a0cbad6cbf2573c1
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 15:41:05 2012 -0600
Add m_skip_first to AlignStack to anchor the first line.
commit 626c3e5de763176d3b6d148a958786b712fd2b55
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:52:39 2012 -0600
Add a comment for undo_one_liner()
commit e6248d0b55c066e76bc18c64245ebb0d6975f9da
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:52:16 2012 -0600
Add option: align_oc_msg_colon_first
Controls whether the first OC message arg is aligned with the rest if it is
short.
commit d1fc8a0bdb2c04d057716be024063e4778b03799
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:50:40 2012 -0600
Add ChunkStack::Pop_Front()
commit 493f3ed0bb1e3c21485ceaac1c6d7351ee5abe25
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:50:16 2012 -0600
Add options: nl_oc_msg_leave_one_liner and nl_oc_msg_args
Splits OC message arguments to one-per-line.
commit a317d7df902664efdcff5797685e9587a92b7bd7
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:43:02 2012 -0600
Rename ChunkStack::Push() to ChunkStack::Push_Back()
commit 79a889b0e4847a39c2543a940214ab3e4be515a0
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Dec 29 10:03:08 2012 -0600
Copy the level, pp_level and brace_level when inserting a newline.
commit e1befa297644f4e53e79bd341cb68d3399203c31
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:58:06 2012 -0600
Do a better job of labeling 'extern (C)' stuff in D
commit 3e92b23534e7e96e57f360fc24082eff6b06025d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:57:16 2012 -0600
Add option sp_extern_paren to control space in 'extern (C)' (D)
commit c5916e04bc9f75d873660fa8e46baeb12ed1abd8
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:28:42 2012 -0600
Add test for the Java for-each construct.
commit 9d193c556f240a168ec679aa1d4c7e478f82a87b
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:26:40 2012 -0600
Allow splitting after a Java for-each colon.
commit 3c3db622f1eb8bd5496d542ea2d80c88c0cd59a9
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:22:12 2012 -0600
Add options: sp_before_for_colon and sp_after_for_colon
commit 7cbfd663b38859451612d7ad1b649359f6b808db
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:03:57 2012 -0600
Label the ':' in the Java foreach: "for (TYPE VAR: EXPR) { }"
commit ec14dea186351cf021e41bb7a7e7952a46734575
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Dec 28 14:02:50 2012 -0600
Remove the date from token_names.h/make_token_names.sh
commit 4f37cdf81942be97894ec467bada3f7c5f917590
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Thu Dec 27 19:50:20 2012 -0600
Skip the 'mutable' keyword in C++ lambda expressions
Thanks to Jorge Amado
commit 126a8b4474e9c260775a571804725316073a5db0
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 23:01:44 2012 -0600
Add option sp_after_oc_property
commit dfff12d84896faa23e5832e0d28f8ffe78686935
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 22:53:05 2012 -0600
Update test for indent_oc_block option
commit 697236aaf0b4b5979287e176f3a1773f25fe16db
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 22:50:02 2012 -0600
Add option indent_oc_block to drop back the brace indent of OC blocks
commit ba2faf474b574d85a570f145c8c65693490f9ec0
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 22:08:37 2012 -0600
Add a basic test for the '&&' C++ move operator
commit 1ced8f481245a154a575d47acae6e286bffd8f95
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 22:08:16 2012 -0600
Allow the '&&' operator to be interpreted as CT_BYREF
commit 3bb91cc5cdf5c914e59b630b0d1153c2aef8cc34
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 21:51:20 2012 -0600
Add option sp_before_pp_stringify and default sp_pp_stringify to ignore.
commit 0b34f6412ad9c3fa45cc00edcae2f86710bc3db0
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 21:30:25 2012 -0600
Add test for sp_cmt_cpp_start fix
commit 44e0253a1648e9ba8c905e9aa7877d07268645e1
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 21:26:43 2012 -0600
Fix C++ comment continuation on wrapped lines.
commit a5b7aad662e80a56db10e990ec35b48d032e6223
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Dec 4 21:20:15 2012 -0600
Add support for Objective C @throw and option sp_after_throw
commit f91f1aa05b1f0f935fccebe50def5136a052f805
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 22:11:28 2012 -0600
Make a log less ambiguous, as there was the same text a few lines up.
commit 9c3cf58acb6a45479147f4ccd849a83f3a0b9384
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 22:10:51 2012 -0600
Only flag parens after a function.
This code may be redundant.
commit a18e0a8c33e426cb04ca28e93165a46e9103e35c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 22:09:08 2012 -0600
Set the paren parent when marking a function call
commit ce990e6d35316958c4f8a596c5c1efc1ef5e60e2
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 22:08:40 2012 -0600
Improve the flag_parens() log
commit 53a19b1dbb088a468c50e6760785078503044126
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 20:32:23 2012 -0600
Add test case for SF#340
commit e9cf4852e0783dadfb8a1d98edaa78512371ef1b
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 20:31:50 2012 -0600
Mark the parameter label with DONT_INDENT when aligning on the colon.
Fixes SF#340
commit d5fabd4e79aabbc8cb0bb8f103c6a0a8c3776143
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 20:17:01 2012 -0600
Change template detection a little and enable for for Java
commit 7556452ec8277f9b487b51b3682acec2d58536eb
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 30 20:02:51 2012 -0600
Add missing ANGLE_OPEN/ANGLE_CLOSE to chunk_skip_to_match()
commit 55d4795178842bdafcff18b3e510528ecd5a79bb
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:40:17 2012 -0600
Rework test results based on recent changes.
commit 93d0cc53ddaf5cc7e83b8515019c7700ec4183c4
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:38:07 2012 -0600
Add sp_after_tparen_close=remove to a few test config files
commit 81d782116d6bce157c79609054d7419f0982cc06
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:31:14 2012 -0600
Rework ObjC block type, literal, and message marking
commit f1152bde2a61f863730b5ef9d7377b7505abbcbd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:28:57 2012 -0600
Allow ObjC '^' to be used as a function pointer
commit 31d47719c594f3f8c5a59c498f66702e94ef46ac
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:27:15 2012 -0600
Use TPAREN_OPEN for aligning function defs
commit 7a029ce0ea6e3489531ab28a84e4e4b335eeb2bf
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:25:59 2012 -0600
Add sp_after_tparen_close and sp_ptr_star_paren
commit 1e6cf7a2a3b568b33e8fc39c65a356b1069039dd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:05:57 2012 -0600
Make flag_parens() log who called it.
commit 474fe3a8bec8f5f860598ca061859022b24b8a15
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:04:22 2012 -0600
Fix up fix_typedef()
commit 2c5353d982c35ffa624fa369bdbbbd4741acb8dc
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 22:01:54 2012 -0600
Clean up mark_function_type() and make it handle more cases.
commit bfd9a034944c29c8566ceadcea39812fd6f8b2ee
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 27 21:53:41 2012 -0600
Move log in align_typedefs and remove obsolete comment
commit 4abb818058010d13478e924e443699e0c68b9565
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 26 23:04:43 2012 -0600
FUNC_WRAP and TYPE_WRAP need to be handled before the main loop.
commit 6470b895835a897cfc0d195343c927525a277ea6
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 26 21:53:20 2012 -0600
Add an include statement to the config files to base of another config.
commit e055dbc87cfae1b552dfa1512d87d04afd74dcc8
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 25 18:52:29 2012 -0600
Add TPAREN_OPEN and TPAREN_CLOSE for future function type stuff.
commit 9c86d2f9f2ef023c48f709bbc7d1ae8a30241a77
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 25 18:49:24 2012 -0600
Change --decode to process all remaining args instead of just one.
commit afc1f2aa1b1d3b765b3143613b718555fb0ddbd5
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 25 12:15:44 2012 -0600
Add a log sev for flag_parens()
commit 3f528f93a2fd8a16aba5daed7a02a857e5afebda
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 25 10:02:13 2012 -0600
Add '__thread' (C/C++) keyword
commit 146b50958d9f9a58d9690fe778c14d4f758abb04
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 25 10:01:48 2012 -0600
Add '__block' (ObjC) keyword
commit cf8c379422c360d6f87da219b817b0e8ba53fad8
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 24 15:04:44 2012 -0600
Try to clean up the objective C block code a little
commit 2cb28330f9b0e4fd78d5d07364338ea1eda5667d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 24 15:04:11 2012 -0600
Make chunk_skip_to_match() go both ways.
commit d5b3d1c4ebf793947a0f47a9a81d53f1dd2f3620
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 24 13:56:37 2012 -0600
Split out return type marking logic into mark_function_return_type()
commit 877fc7f2bb65c3735a7c767d50d9f54e12ec3b36
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 24 13:25:47 2012 -0600
Objective C: @end marks the end of a statement
commit 23cd8b3faf4f009ef68ec26df1095cdf4b5f5d4d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 24 13:25:20 2012 -0600
Objective C has the typedef keyword.
commit dae38559646a0b4186e6464d9e40b1ed4c5d1213
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 23 15:21:30 2012 -0600
Split CT_CARET (^) from CT_ARITH
commit 9fe010cbbca11f04ac31ca8a2f31f978ae805e38
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Fri Nov 23 13:38:02 2012 -0600
Patch over segfault in GH#107.
commit 36c4414aa46b4d8378179bfc2630c363a10872ec
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Thu Nov 22 11:03:10 2012 -0600
Update test results for nl_squeeze_ifdef change
commit 114c2ac0f5e6be54fbefeeae050e12b46df09569
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Thu Nov 22 11:02:49 2012 -0600
Make nl_squeeze_ifdef work before #else and #endif
commit a18cd338149d97938e28e07f64809949ea16e5a9
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Thu Nov 22 10:38:06 2012 -0600
Fix cmt_sp_after_star_cont when wrapping long comment lines.
commit 83f2e0a7e832341485f6d37b980eefb9c77f489c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 20:20:48 2012 -0600
Add a test for bug SF#485
commit 07f1938707162f95209772de8821fdfe707ee282
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 20:18:28 2012 -0600
A colon starts a statement on the next token.
Fixed SF#485
commit b2bd23da3c103b5d3a0877bce31991b6e62b45fd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 16:52:16 2012 -0600
Add test for variable aligning change for bug 495
commit cc503cb277767988e7f9c4aefbf3f8e51a396db5
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 16:47:48 2012 -0600
Align FUNC_CTOR_VAR with regular variables
Patch from SF#495, thanks to Jean-Marc Bourguet
commit 571d39af2e2ca5cec7d1665d25e2e2b640275b3a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 16:42:09 2012 -0600
Add a test for bug 484
commit 577f10774afd2a086c112fbc855db5f37876a635
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 16:41:35 2012 -0600
Do a better job of marking the C++ constructor initialization functions.
Fixes SF#484.
commit a8b1eb768712d0e0dd5efd00e0ff88027160b787
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:52:37 2012 -0600
Expand tests to cover new functionality
commit 2305faab70e6df3096305a419bddeb3c49312959
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:52:14 2012 -0600
sp_cmt_cpp_start: Do not insert a space in '////'
Thanks to sf.net user stsi
commit 374c12df306f5d3f36c2026d734f758d87dc2e18
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:45:46 2012 -0600
Add a test for bug 481
commit 570a17c1f6b20ab0d2db31d4f62816bef257f865
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:45:28 2012 -0600
Always allow '[]' in prototypes.
Fixes SF#481.
commit 2654520e936bc91fbc18d4501b89965ee053c4b1
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:35:56 2012 -0600
Add a test for bug 472
commit 316bbcf34494b2dd2a1565d664ffaee6019bd79c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:35:11 2012 -0600
Handle old-school C function pointers as a prototype parameters.
void foo(int, (void));
commit c2261b80c37d89ee56f7dcdd4cea00669e19e384
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Nov 21 15:33:33 2012 -0600
C/C++ casts cannot be followed by a comma, close paren or semicolon.
commit ebff0b4e9299711d3237e92e21099af3d7eb4da3
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 22:44:32 2012 -0600
nl_before_return and nl_after_return should also check for vbrace.
commit dd9adc5775e7a56cd2c0c39220f246fbe449fa14
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 22:36:44 2012 -0600
Add a test for negative values of indent_continue
commit bfb6771bea22b12447f0f670332f344cfe9dcde2
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 22:36:13 2012 -0600
Fix negative values for indent_continue.
commit 86f2e99a784ea5c6c04b91c463db4f4ed7b355ff
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 22:03:05 2012 -0600
Add a test to catch the tab-backslash-newline problem.
commit 2faf4e699a49a0ca1c087bb135159afaa107bd93
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 22:02:25 2012 -0600
Do not allow a tab before a backslash-newline except if it was aligned.
commit 102996568c1d3d53853b8142f27fe204cb30b772
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 21:43:44 2012 -0600
Expand the typedef aligning tests a bit.
commit bf2a69a6e1ec7911e4b03da5fe944aa9570e796c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 21:37:09 2012 -0600
Rework typedef processing to handle 'typedef void foo(int);'
commit 286d3d38c852d76808ac079cdb8852084a90e2e1
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 15:27:51 2012 -0600
Update tests for latest fixes.
commit 71409716a860cef542e08d680574dea8f46670dc
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 15:27:28 2012 -0600
Ignore vbraces when determining the comment position.
commit b56f56b581a95c0cf86096c6162c7cb44749ddbb
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 15:13:31 2012 -0600
Do not allow the removal of braces if it contains any preprocessors.
commit 78438169b21759238252faf917231d4b9422e529
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 14:57:56 2012 -0600
Handle mod_full_brace_if_chain first so that braces are not toggled.
Keep a flag to prevent a brace being virtualized.
commit 70dfbd2d44ca1f7ff1c823bfbf9cdd2224b3c213
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 14:23:22 2012 -0600
Make nl_after_class force a newline after a semicolon for a class.
commit 396480606490e9a22dc4e14d23e4ee3fd31d9e22
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 11:01:16 2012 -0600
Reuse the config file output code in the parsed output code.
commit 55b5a029109a684851f77f05e8727bf6c53168b1
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 10:58:26 2012 -0600
Revert the test result 'fix'. The results are ugly, but correct.
commit d93b3e57927ae6287d3d5aa336eb45e925213a1d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 10:57:50 2012 -0600
Fix prototype parameter marking when TYPE_WRAP is used.
commit c7ba8cc65f8aa2995a241ff9145d967df2039aee
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 10:23:52 2012 -0600
Add version to the 'parsed' output and make it usable as a config file.
commit 00fa127f3e0192db96e089d754b95bc3ebb71f9f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 10:23:16 2012 -0600
Update test that had broken results, which were fixed by the last commit.
commit 391b2919584ce149750d5ffe175fab0377f31a5a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Nov 20 10:13:27 2012 -0600
Fix marking of unnamed parameters in prototypes.
commit 235be8d12a7d16e1fcd7d7b6effd68e99727dc53
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 21:32:55 2012 -0600
Also handle: '[ func(a,b,c) selector ]'
commit 0375f45fca8fef84ea1b4f764a2fff246aef707f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 21:32:19 2012 -0600
Update obj-c.cfg with new option: sp_after_oc_msg_receiver
Add a test that uses it.
commit 69523163bf7cd2aefebfd911551bf00e0a2ad1eb
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 21:29:36 2012 -0600
Add Obj-C option: sp_after_oc_msg_receiver
commit 24fe8b792003e513213f6c1d293063d61337afdc
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 20:26:03 2012 -0600
nl_after_func_body should control the newline after a ObjC block expression.
commit 9c131cea93862c88b8bb403ffe0e61620301026a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 14:29:04 2012 -0600
Update test results.
I had changed the input but didn't update the results.
commit 45519f9fe1b2e287760ebfce874277b40286db76
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Nov 19 14:28:26 2012 -0600
Objective C messages: allow nested [] and protocols <>
[ class <proto> self method ] ;
[ [NSMutableString alloc] initWithString: @"" ];
commit 43e36321bc80deceb31c2b46a27bf865ea6feec4
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 22:37:43 2012 -0600
Add some more Objective C literal tests
commit 90828710bab8306971767f0372abc8676e53c2ee
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 22:35:33 2012 -0600
Do not do a space safety check on literal strings.
commit cf4562d3ece8716d5bfa7257331369691b7a3401
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 22:11:25 2012 -0600
Parse Objective C literals: @2 or @"hello"
commit 254c53bb55f51392ea6bbea73f9dad52ce6e3b02
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 21:48:49 2012 -0600
Clean up GCC compile warning about strict aliasing rules.
commit 4e95ba9bb36c92f6807e322df2c15de3c79321a6
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 21:47:39 2012 -0600
Add a simple test for Java annotations
commit b332a27a8f5fcd253bc736df4ed1d06b5882049a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 21:45:45 2012 -0600
Add basic support for Java annotations.
New options:
sp_annotation_paren
nl_after_annotation
nl_between_annotation
Thanks to skarekar.
commit 5421d10fca9a51e1311e3c791cbb8e2ab649eecd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun Nov 18 21:36:10 2012 -0600
Fix the 'package' keyword for Java, D, and ECMA.
The Java 'package' keyword is nothing like 'namespace'.
The D keyword is like 'private'.
ECMA just has it as a reserved word.
commit 5f403057e4bc4cfe0adf5e10a9702d1c68af257d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat Nov 10 11:53:50 2012 -0600
Add option sp_inside_sparen_open to mirror sp_inside_sparen_close
commit 6407100375f6369bd2170d8d586af7742d4325c3
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 22:47:52 2012 -0500
Fix spelling errors in comments
Thanks to Ger Hobbelt
commit 97bae9f6766596f45ae1a6f3b960aeff468b7bf6
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 22:28:51 2012 -0500
Remove unused parameter to print_options()
Thanks to Ger Hobbelt
commit 46b78ef42a3ad960cee0eeb2c9b69f4cd6208e15
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 22:27:39 2012 -0500
Use the cross-platform 'safe' isalpha() wrapper.
Thanks to Ger Hobbelt
commit eb7ce00527e1f9fb7e1b9748a9458fdea4a0cf87
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 22:23:53 2012 -0500
Use the log_sev_t enum instead of int where it makes sense
Thanks to Ger Hobbelt
commit 4976ecf46bf5c99070442ed61d2c4d61d2313078
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 22:12:52 2012 -0500
Remove unused variable.
Thanks to Ger Hobbelt
commit 8177f573f0c6e5915b82fc785ac4314408933290
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:41:49 2012 -0500
Use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 for portability
Thanks to Ger Hobbelt
commit 9a96fd27e29d64ad813e9d99a135ef0e3079567b
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:38:25 2012 -0500
Add some enum value comments
Thanks to Ger Hobbelt
commit 3653536c281c6bcc982da4bfe71a56536d734298
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:36:30 2012 -0500
Use GetEnvironmentVariableA() instead of GetEnvironmentVariable()
Thanks to Ger Hobbelt
commit db25fd2c9345eb506d57db33a501a81e68121976
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:35:15 2012 -0500
Whitespace cleanup a bit
Thanks to Ger Hobbelt
commit 6c430a023695451d5eb17027a098cc0d4e816aa6
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:13:02 2012 -0500
Uncrustify combined.cpp
commit d35dc97ff2868e439cba3b5c331f442cc9391d13
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Oct 17 21:09:16 2012 -0500
Update my preferred style and change mod_paren_on_return to ignore.
commit 6bfecba0b345006c560793012d073db3b02bf585
Author: David Schaefgen <david.schaefgen@gmail.com>
Date: Tue Oct 16 09:38:47 2012 -0500
Finish FIX | Issue #99
Found an additional case, anonymous block arguments to Objective-C
messages, i.e.:
- (void)resetCells:(void (^)(UIView *view, NSUInteger idx))handler {...}
or this in an @interface
- (void)resetCells:(void (^)(UIView *view, NSUInteger idx))handler;
commit 4eaee0e7f8b7621eb24a0fe24b7959047e74b011
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Oct 15 20:46:09 2012 -0500
Fix the '>' + '>' => '>>' detection logic
The memcmp() was incorrect since the token string storage was changed.
The extra else if () logic added recently was not needed. At least, it
didn't make any difference in the tests once tif was fixed.
commit 3f06a2cd5f98fc9b2e32b4da99681df664677402
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Oct 15 20:40:03 2012 -0500
Save off current template test results.
Apparently, this "bool X = j<3>>1;" is now the template 'j' passed a value
of 3 compared against 1.
commit ab0cb3517a07482cd38e6857cdd5aa9cfdd2ac0f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Oct 15 20:32:19 2012 -0500
Update test results for recent Objective C improvements.
commit aea8b1b2a2eaac3f46bcb7afdeb92144187ce677
Merge: be15b03 e91557f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 12 10:39:47 2012 -0700
Merge pull request #89 from jasonfharris/master
Request for fix to make ObjC handle method one liners (nl_func_leave_one_liners)
commit be15b031d9aa3ca652184bc4fc9d602e4e54688e
Merge: ccd991f 4be6c27
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 12 10:38:17 2012 -0700
Merge pull request #90 from aniec07/master
Bug 3555610, bugs of >> worked on version 0.57
commit ccd991fc2e0a2865a79f11c82a92a863303b6788
Merge: bc39f8b 0befe17
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 12 10:36:18 2012 -0700
Merge pull request #100 from daschae/master
FIX | issue 99 -> Type pointers in Objective-C block argument definitions and literal blocks star is arith rather than ptr_type
commit 0befe17a9705c9a1849dc8fd44f60a131f0a45b0
Author: David Schaefgen <david.schaefgen@gmail.com>
Date: Thu Oct 11 18:24:01 2012 -0500
FIX | issue #99
Type pointers in Objective-C block argument definitions and literal
blocks star is arith rather than ptr_type.
Pass everything starting with the open paren through
fix_fcn_def_params(chunk_t *) to process the arguments like function
parameters.
commit bc39f8b5dfc50037593247e6b290be802b479d72
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 26 21:45:23 2012 -0500
Fix tokenizing of comments such as '/*// ... */'
commit 4be6c270cc1bd01164ab75a6a8e066b8de95e64a
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:22:44 2012 +0530
Update src/tokenize_cleanup.cpp
Changes pertaining to bugs of >> - ID: 3555610
Resolve conflict between template and comparator followed by shift operator
The function handle_double_angle_close is called when then second '>' of '>>' is reached.
pc is then '>' which is of comparator type. pc->prev is also of comparator type. We delete pc and make prev as CT_ARITH. We also make the next field of prev point to pc->next. prev now behaves has the current pc.
This invokes a case of angle mismatch because earlier a '<' was opened and detected as ANGLE_OPEN, which should now be CT_COMPARE. Thus the while loop helps us detect this '<' and make it CT_COMPARE.
commit 96a59eb2493c5fd7754baad18433817d3655d791
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:09:27 2012 +0530
Update tests/output/cpp/30103-templates.cpp
bugs of >> - ID: 3555610
Resolve conflict between template and comparator followed by shift operator
commit 648b2c2863a76eb5a830439467e73a510e15698b
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:07:54 2012 +0530
Update tests/output/cpp/30102-templates.cpp
Did not remove the syntax error line that was similar to bugs ID: 3555610
commit 7d47d1624ae6affa797d75cfcb4462d4bbaa7542
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:07:05 2012 +0530
Update tests/output/cpp/30102-templates.cpp
bugs of >> - ID: 3555610
Resolve conflict between template and comparator followed by shift operator
commit f6cfd7b9c394df1d18a984331e75f1fe94b2845d
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:05:56 2012 +0530
Update tests/output/cpp/30101-templates.cpp
bugs of >> - ID: 3555610
Resolve conflict between template and comparator followed by shift operator
commit 92a4088e4d3725e82d637b50d1b9edbdddd653b4
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:04:10 2012 +0530
Update tests/output/cpp/30100-templates.cpp
bugs of >> - ID: 3555610
Resolve conflict between template and comparator followed by shift operator
commit 110fabb014714dbacb838efedd24e38e65eb92ea
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 12:00:51 2012 +0530
Update tests/output/cpp/30023-templates.cpp
bugs of >> - ID: 3555610
Test case to resolve conflict between template and comparator followed by shift operator.
commit b99e585ddc4e22f0b26e991048c2b47a1da96737
Author: Anirban Pramanick <pramanick89@gmail.com>
Date: Wed Aug 22 11:53:16 2012 +0530
Update tests/input/cpp/templates.cpp
Y<X<6>>1>> x4 is detected as a syntax error in C++. However a condition like:
if ( j<3>>1 )