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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666
|
commit 6aeb46f1cd34104e6c9134f079469b3385274f4c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 2 20:16:57 2016 -0600
Rework make_win32.sh to build outside of the source tree.
commit b08b81937aa0ff9438d6479ddb83419356877b30
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 2 20:16:31 2016 -0600
Update version, config files, run update-defaults.sh, etc
commit 34a104aa67cb26c2c3273b769412a403dd6674db
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Feb 1 20:54:41 2016 -0600
Update release steps
commit a8f4771b2e4ad48d91f14d2c2ceba228c5f93c9d
Author: bengardner <gardner.ben@gmail.com>
Date: Sun Jan 31 19:23:17 2016 -0600
PAWN: Cannot modify the #define PATTERN at all
So keep it as a single chunk. Go with CT_MACRO for the type for now.
commit 41d1e76ccf3ce9d5c968422f2ffe11b1782adc4c
Author: bengardner <gardner.ben@gmail.com>
Date: Sun Jan 31 18:24:41 2016 -0600
Correctly parse PAWN #define args
Parses the following with %1=>WORD
#define xx(%1, %2) foo(%1, %2)
commit 10478309dca1c5c5928a9851a4b5916a007969b0
Author: bengardner <gardner.ben@gmail.com>
Date: Sun Jan 31 18:12:58 2016 -0600
Revert "Correctly parse VALA #define args"
This reverts commit 602b49c1f98eb51ec9589aa9edf1ac6c1ac1e4c9.
commit 602b49c1f98eb51ec9589aa9edf1ac6c1ac1e4c9
Author: bengardner <gardner.ben@gmail.com>
Date: Sun Jan 31 13:38:48 2016 -0600
Correctly parse VALA #define args
Parses the following with %1=WORD
#define xx(%1, %2) foo(%1, %2)
commit 0ce3c3d1107f3fee593c374b87d31e31be74db9e
Merge: 244c9de 4c69239
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jan 31 12:53:26 2016 -0600
Merge pull request #427 from benwaffle/master
Add some missing vala keywords
commit 4c692395e54183409f31f86e12b51859a6bbc645
Author: Ben Iofel <iofelben@gmail.com>
Date: Fri Jan 29 18:13:42 2016 -0500
Add some missing vala keywords
commit 244c9de670ccfa47f63dffa7ce43643000d6d352
Merge: 62a2ad9 97fab82
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 28 17:12:06 2016 -0600
Merge pull request #423 from Lykurg/assume2
Automatic language detection for stdin (--assume)
commit 97fab8240389a9bc829588ed24c2b295c6ec3bec
Author: Lorenz Haas <git@lorenz-haas.de>
Date: Mon Jan 18 21:00:41 2016 +0100
Automatic language detection for stdin (--assume)
While -f uses the simple automatic language detection with stdin
one is out of luck. With the new argument --assume one can specify
the filename Uncrustify should use to perform the automatic
language detection even for content pushed to stdin.
commit 62a2ad9977f189bb4f6efb44ebfe07deffdd1e42
Merge: 9a46c56 672fd1c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 9 17:32:30 2015 -0600
Merge pull request #413 from jlee975/patch-1
Address issue #373.
Checks the chunk prior to the '::' and forces a space if it is a known keyword.
commit 672fd1c0143c535be37bf2bca4ea276a9ba352d3
Author: jlee975 <jonathan.lee.975@gmail.com>
Date: Wed Dec 9 11:54:03 2015 -0600
Address issue #373
sp_before_dc should not apply to global scope operator.
commit 9a46c565e315d3eae16085e759febc9c5e809591
Merge: 15ee014 eef47c5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 24 21:33:10 2015 -0600
Merge pull request #372 from ravethetadpole/while_one_liners
add nl_while_leave_one_liners
commit 15ee014c5261a26d46d3479f0f7330db719f183a
Author: Lorenz Haas <lykurg@gmail.com>
Date: Fri Apr 24 14:01:11 2015 +0200
Doxygen comments in CPP style like '//:', '//=', '//~' where not handled
properly when spaces were to be added with option sp_cmt_cpp_start.
The new option sp_cmt_cpp_qttr treats those comment leadings as a unity,
if set to TRUE.
Before sp_cmt_cpp_start=add converted '//:foo' to '// :foo'. Now it will
correctly be converted to '//: foo'.
commit efe1adb92ec09073778247412bba38a8f5dd4e64
Merge: 97ac4c9 7d0f864
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 24 21:23:28 2015 -0600
Merge branch 'npnth-master'
commit 7d0f864a52c0f58703ea1bc07cad592d3db10697
Merge: 97ac4c9 55581c4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 24 21:22:26 2015 -0600
Merge branch 'master' of https://github.com/npnth/uncrustify into npnth-master
commit 97ac4c96b24ab428a4325e05347cabe19cfdab93
Merge: 4d68949 c2c2ac0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 27 16:26:25 2015 -0500
Merge pull request #392 from icyflame/patch-1
Add file links to the readme
commit 4d6894996b26fd0ba26275b59ece063a5082bdb2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Oct 21 10:16:58 2015 -0500
Expand digraphs test a bit.
commit 485eb91664716ffac58a49394e628e5e5db13af5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Oct 21 10:15:51 2015 -0500
Add option: enable_digraphs and disable digraphs by default
commit c2c2ac07fc60efd80631c325e113963c1a605815
Author: Siddharth Kannan <kannan.siddharth12@gmail.com>
Date: Mon Aug 10 17:42:20 2015 +0530
Add file links to the readme
- Instead of just referencing a file, add a link to it.
- This makes the configuration file location much more prominent.
commit fc5228ecd9f579f366919e5d13f26ae5149f80f1
Merge: b3f3e21 abf3bef
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 30 15:28:13 2015 -0500
Merge pull request #385 from tpltnt/md-readme
Readme markdown
commit b3f3e216af06574e465fe315ef19927caff21ebc
Merge: b6593c1 420c240
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 30 12:35:59 2015 -0500
Merge pull request #387 from dirk-thomas/fix_windows_warnings
fix warnings on Windows
commit 420c240949aacf87d1924e488f65e80e8923c171
Author: Dirk Thomas <dthomas@osrfoundation.org>
Date: Wed Jul 29 18:15:41 2015 -0700
fix warnings on Windows
commit abf3bef2940b8e5450cc4fde46d3ddc6c92148a8
Author: tpltnt <tpltnt.github@dropcut.net>
Date: Tue Jul 21 21:37:02 2015 +0200
added markdown to README, closes #383
* marked shell commands
* separated list of steps
commit 55581c4e060763aa5984194aa3f948baa870ba99
Author: Gilles <npnth2@gmail.com>
Date: Thu Jul 9 21:35:10 2015 -0400
Handle Java's `synchronized(foo){ ... }` construction
Add a new CT for `synchronized` for java, which behaves like a vanilla
if/for/while/switch construction if a parenthesis follows the keyword
(otherwise, tokenize_cleanup reverts it to being a qualifier). This
adds options `nl_synchronized_brace`, `nl_before_synchronized`, and
`nl_after_synchronized`, which work in the obvious way. Since
`synchronized` requires braces, no special handling of braceless code
is necessary.
Also update defaults.cfg by update-default-cfg.sh to appropriately
handle these new options and add tests 80060 and 80061.
commit eef47c5b357912fe1c0136e338a895f580dc256e
Author: RaveTheTadpole <RaveTheTadpole@users.noreply.github.com>
Date: Mon May 4 10:50:19 2015 -0500
add nl_while_leave_one_liners
Preserve one-line while statements. It is a
straightforward extension of other leave_one_liners
options.
commit b6593c1bd9f2d5f2980c7e219df9109bef49e845
Merge: 2f8c55d 27bbbfc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 3 16:58:54 2015 -0500
Merge branch 'Unity-Technologies-features/msref-support'
commit 27bbbfc407aa11ecc3ee4f5d2597bce280be6ddf
Merge: 2f8c55d c8b80c8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 3 16:58:18 2015 -0500
Merge branch 'features/msref-support' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-features/msref-support
Conflicts:
tests/cpp.test
commit 2f8c55d3c41e6caeb71f8d9775ebefc60c43d511
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 3 16:31:05 2015 -0500
run_tests.py needs Python 2.
commit 9ac5184a3c7ceceedbe2777eb992565e39264091
Author: Guy Maurel <guy.maurel@kde.org>
Date: Fri Mar 27 14:32:52 2015 +0100
correct the function keywords_are_sorted
commit c0ee10411e8095c93c5baa845d168862f4ec2df1
Author: Guy Maurel <guy.maurel@kde.org>
Date: Mon Mar 30 17:12:54 2015 +0200
Typo
commit c8b80c898214f3c572532e6acf39238031079632
Author: Scott Bilas <scobi@unity3d.com>
Date: Wed Mar 25 08:15:38 2015 +0100
Fixing issues as per Ben's review comments on https://github.com/bengardner/uncrustify/pull/350
commit db37e6d0d01f050a530c7a1596099ea6a8ea249c
Merge: f23de29 faa87cd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 24 22:10:13 2015 -0500
Merge pull request #346 from 4picht/master
allow indent_ctor_init to be negative
commit f23de290bd80cedc4b2544c2e6243abc0b2dc57f
Merge: 40a6abd a940421
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 24 22:07:25 2015 -0500
Merge pull request #347 from clbr/issue314
Add a new option for indenting continued shift expressions
commit 40a6abd8008c7156b64c23b3e49258206da54479
Merge: e4cd86e 12c1768
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 24 21:52:16 2015 -0500
Merge pull request #349 from Unity-Technologies/fixes/bit-colon-class
Fix: C++ bitfields were being detected in structs, but not in classes
commit e4cd86ecbd32e6bc56337a4f2ee11af28759b590
Merge: cd1c861 a0086de
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 24 21:48:21 2015 -0500
Merge pull request #356 from iv-mexx/feature/fixObjCTernaryMethodCall
Fix ObjC 'Methodcall in ternary expression'
commit a0086de8b5e65c828c4a45058ea040e6d9836634
Author: MeXx <mexx@devsub.net>
Date: Wed Mar 25 00:47:19 2015 +0100
Added a more complicated testcase for ternary operator in ObjC
commit 55c91fb34857184d6e5cd97b3899eca36cd07537
Merge: fa11a5e 2216026
Author: MeXx <mexx@devsub.net>
Date: Wed Mar 25 00:44:31 2015 +0100
Merge branch 'fixes/objective-c-ternary' into feature/fixObjCTernaryMethodCall
commit 2216026a78ccd0904b4f1a23fc2cf735601c142e
Author: MeXx <mexx@devsub.net>
Date: Mon Mar 23 22:33:45 2015 +0100
ObjC: Add testcase to reproduce ObjC methodcall-in-ternary-expression issue #355
commit 4da23e911865870cd2e7a1e3d2b6a5d79d7e3156
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Mar 19 15:39:48 2015 +0100
Ok that last hard coded fix wasn't the best idea. Too many cases. What we really need is a stack of question counts that is associated with the OC messages. I also updated the unit test for the case that was failing. Note that this has to be interpreted as OC+ to pick up the '::' in the sample.
commit 2f9fb388111d644bf23b2a610b8c19d14084c8be
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Mar 19 14:18:52 2015 +0100
Fixed issue 635. Just a new case that needed to be handled surrounding ternary and OC messages.
commit fa11a5e0e7ecfbbed7e712bfe92a6496ba675ef6
Author: MeXx <mexx@devsub.net>
Date: Mon Mar 23 22:38:23 2015 +0100
ObjC/combine_labels: dont reduce question_count if the colon is inside a ObjC message call, fixes #355
commit ead319cab7b2012ccb0e8d7880fe7a18f5d73505
Author: MeXx <mexx@devsub.net>
Date: Mon Mar 23 22:33:45 2015 +0100
ObjC: Add testcase to reproduce ObjC methodcall-in-ternary-expression issue #355
commit 8f3027c635041fdcf90c263b35cfda3bbeeed291
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 26 11:46:15 2015 +0100
Pick a better number to base this on
commit 083e919cdaaf3056bc3419b9ce659752bfa67296
Author: Scott Bilas <scobi@unity3d.com>
Date: Wed Feb 25 16:04:59 2015 +0100
Implementing support for MS's C++ extensions for C++/CLI and WinRT on the ^ character acting as markup for a reference (similar to * for pointers).
Conflicts:
tests/cpp.test
commit 12c1768e10bf5423b77dc97a9f6382eec5197144
Author: Scott Bilas <scobi@unity3d.com>
Date: Wed Feb 25 15:00:17 2015 +0100
Fix: C++ bitfields were being detected in structs, but not in classes
commit a94042179131b1f7da04c137243c74c22eabb4d5
Author: Lauri Kasanen <curaga@operamail.com>
Date: Fri Feb 13 21:04:57 2015 +0200
Add a new option for indenting continued shift expressions
Fixes #314. Including both a new more extensive test case
as well as an adapted existing test case.
This project has been sponsored by The Measurement Factory.
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
commit faa87cda17b896abb6b0893ae85bed57730c1ff9
Author: Julian Picht <julian.picht@4Com.de>
Date: Mon Feb 23 10:51:28 2015 +0100
allow indent_ctor_init to be negative
commit cd1c8619321efc96afc1ab1e7d09e924f008acaa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:49:42 2015 -0600
Allow casting of this in "(Foo)this"
commit e13ae46d98fcb28448db8941ef65ffda47d4bd9c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:23:30 2015 -0600
run_tests.py: Don't add .test if it already has it
commit bfdcd34d7d64dd030df10bd7e3bb0467934d4f33
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:23:08 2015 -0600
Add another semicolon removal test
commit 85af83abab2f63cc9ef1ca9d4d0d6dba082ad479
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:22:46 2015 -0600
Prevent semicolon removal after 'new' statements by marking braces
commit fd743dec0631d76100cf21c4875a55af5cc062ad
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:08:50 2015 -0600
Add test for sp_between_new_paren
commit 88ade49e56e7b081c4a468623251d6c535ea9f46
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 20:08:09 2015 -0600
Add new option sp_between_new_paren
commit 8a23fdf630d24decce329c3663d7d73d3eb0a964
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 19:53:48 2015 -0600
Add a test for not splitting "} while"
commit ec88fea43c2ac1dbd85e5cf07423bb4e872e34ac
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 19:53:02 2015 -0600
Don't insert a newline in "do {} while()" via nl_after_brace_close
commit 3801c8e4755a59f92b0ff3668470b37c5dd8103e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 19:46:08 2015 -0600
Add logging for adding newlines
commit 288df3e25977ea8ead8ce19d31438240a29ab46c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 19:32:18 2015 -0600
Update test results for nl_squeeze_ifdef fix
commit 2176b8bf65f93257a4e86b5f63db97b7192a193c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 19 19:30:37 2015 -0600
nl_squeeze_ifdef should not remove blanks before whole-file #endif.
This was messing up my style.
commit 32bd357e9beefb5e72469c78208861e3f57985a5
Merge: 3ea72e3 6155faf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 22:08:04 2015 -0600
Merge pull request #345 from shazron/npm-package
Added package.json for npm
commit 3ea72e33125db3f854f6285f8efd69bc42e05d4f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 22:07:39 2015 -0600
Run uncrustify on itself using etc/ben.cfg, with a few manual fixes.
commit 1369245fbb8d1cbed4957a97d9dd6cce2a5ac6d7
Merge: 094e094 698dfcd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 21:53:04 2015 -0600
Merge pull request #341 from nicodecker/vbr_indent
New options for indenting at virtual brace open
commit 094e0947415d5228ede9ccc2ab00f7f93adefbfa
Merge: 58a76e6 c6aca7b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 21:52:37 2015 -0600
Merge pull request #342 from nicodecker/doxygen_comments
Option for space handling in doxygen comments
commit 58a76e6131f6d23af8faa09401ff562552208041
Merge: f62fda6 b44f525
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 21:51:19 2015 -0600
Merge pull request #340 from nicodecker/frag_at_col
Fixed wrong position of comment in case of --frag
commit f62fda639756684d964d2b60c7549c6a9d176182
Merge: 5d839c3 40b536a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 18 21:50:42 2015 -0600
Merge pull request #343 from nicodecker/fix_cmd_processing
Bugfix: Undesired effect of disable_processing_cmt
commit 6155faf25f8a02578cf99b2b4fdbae7cfdea26d7
Author: Shazron Abdullah <shazron@gmail.com>
Date: Wed Feb 18 15:08:22 2015 -0700
Added package.json for npm
commit 40b536ae657a7f3d6c7ec4df051ad172516a5af7
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Wed Feb 18 13:05:23 2015 +0100
Bugfix: Undesired effect of enable_processing_cmt
The same bug as existed for disable_processing_cmt exists for
enable_processing_cmt as well.
Fixed in the same way by treating NULL and "" equally.
commit f68d75d9dba517a9217cc5dd0cd4e5ae1fe7ca50
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Wed Feb 18 08:45:32 2015 +0100
Bugfix: Undesired effect of disable_processing_cmt
The new option disable_processing_cmt that has been added recently had
an undesired side effect. Unfortunatly, due to its nature, it was
not revealed by the test facility.
Configuration created before the option was introduced works fine
even with versions containing the new option. But in the configuration
created with those new versions the option was automatically set to "".
In the code this lead to unformatted text after the first comment!
Fixed by treating NULL and "" equally.
commit c6aca7b2c95079ef51d573c2538bd3067255012f
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Wed Feb 18 08:27:56 2015 +0100
Option for space handling in doxygen comments
Doxygen comments in CPP style like '//!', '//!<', '///' and '///<'
where not handled properly when spaces were to be added with option
sp_cmt_cpp_start.
The new option sp_cmt_cpp_doxygen treats those comment leadins
as a unity, if set to TRUE.
Before sp_cmt_cpp_start=add converted '//!x' to '// !x'. No it
will correctly be converted to '//! x'.
commit 698dfcd40824635ba41d543abaec08b98d0abce0
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Sat Feb 14 18:35:38 2015 +0100
Added test for indenting after vbrace-open
commit b44f5259de9d834d4aaf863720b204ae138d413b
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Sat Feb 14 17:54:39 2015 +0100
Fixed wrong position of comment in case of --frag
In case of command line option --frag the position configured
in align_right_cmt_at_col was not correct anymore.
commit 5d839c344385bec76d5cf029c3bdb1576e4ca0d3
Merge: 3105b16 fa34bee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Feb 14 10:35:42 2015 -0600
Merge pull request #337 from nicodecker/frag_tabstop
Fixed wrong tabstop behaviour in case --frag is used.
commit 3105b166dc7fd7b25d550d9cd1fd28c44c222bb6
Merge: f0f17a1 73d1466
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Feb 14 10:35:25 2015 -0600
Merge pull request #339 from nicodecker/frag_eof
No eof/bof newline modifications for --frag
commit 73d1466b974809a42e960b490ec80fe2b2a476fd
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Sat Feb 14 14:14:41 2015 +0100
No eof/bof newline modifications for --frag
When command line option --frag is used there is no real end-of-file
or begin-of-file; therefore do not perform any modifications concerning
options
- nl_end_of_file_min
- nl_end_of_file
- nl_start_of_file_min
- nl_start_of_file
commit 343cfd27900724643762613fec811fd1c2d1b785
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Sat Feb 14 13:53:40 2015 +0100
Introduced new options indent_min_vbrace_open and indent_vbrace_open_on_tabstop.
The new options allow to applay special indent after virtual braces and
newline.
commit fa34bee5a08abff08a71dddf019f1ffaf352afa9
Author: Nico Decker <nico-gitcode@nicodecker.de>
Date: Sat Feb 14 13:24:55 2015 +0100
Fixed wrong tabstop behaviour in case --frag is used.
calc_next_tab_column() did not take indent of first line into accout
when command line option --frag was used.
commit f0f17a1599f8a775942f2796761c80b06abee1b7
Merge: 7757d42 ef37f0a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Feb 13 09:26:38 2015 -0600
Merge pull request #333 from Unity-Technologies/fixes/encoding-ignore
Fixed bug with my 'ignore' change that broke non-ASCII encodings.
commit ef37f0a104f06e94caa74cad9f1f13ab8c9cebd4
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 12 16:46:23 2015 +0100
Fixed bug with my 'ignore' change that broke non-ASCII encodings. Added tests to keep it from coming back.
commit 7757d42c2c5124e00ef0a346d3f5e8ea7bb79d29
Merge: 36cb55c ffaf3fb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 12 07:53:49 2015 -0600
Merge branch 'Unity-Technologies-features/string-replace-tab-chars'
commit ffaf3fbdac70bd7befc47b415b0cc58a520cad40
Merge: 36cb55c 3a27deb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 12 07:53:17 2015 -0600
Merge branch 'features/string-replace-tab-chars' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-features/string-replace-tab-chars
commit 36cb55cbb585da4ecba2706a9b2e39bde4d4d2d3
Merge: 3c1b714 a97b482
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 12 07:47:12 2015 -0600
Merge pull request #332 from Unity-Technologies/fixes/indent-off-for-realz
Made *INDENT-OFF* truly disable all reformatting
commit 3c1b714f44ede1f9badd88f9dc8db2a739fe168a
Merge: 0f4fdaa 1933349
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Feb 12 07:46:12 2015 -0600
Merge pull request #330 from Unity-Technologies/fixes/windows-config-relative-paths
Implementing code on Windows to deal with relative file paths from an 'include' in a config file
commit 3a27debe358b9f3b092a2a016822e014411bdbf4
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 12 11:54:53 2015 +0100
New option 'string_replace_tab_chars' that will convert tab chars found in ordinary literal C style strings to '\t' instead.
It's very difficult to have tab chars in strings participate in reformatting of the outer code in a consistent way. For example, unit tests that compare code in strings against files on disk will suddenly fail if the contents of the strings change in any way. Switching to \t chars is one way to avoid this problem, plus make the code more readable.
Conflicts:
src/options.h
commit a97b4827d7d6d94206e63227dbe80b8c124ad9c4
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 12 11:52:08 2015 +0100
Made *INDENT-OFF* truly disable all reformatting. Previously was still reformatting tab chars found in the ignored chunks.
commit e2e0f40a852bc0480a781a66141b81a9c0d1d67d
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 12 11:29:57 2015 +0100
minor spelling fix
commit 193334979f55229daabcdcd520eeeafdc108e399
Author: Scott Bilas <scobi@unity3d.com>
Date: Thu Feb 12 10:59:27 2015 +0100
Implementing code on Windows to deal with relative file paths from an 'include' in a config file
commit 0f4fdaa2468624c100723841e1796fa9eb2e8e51
Merge: b3f4c00 90e0d3a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:54:54 2015 -0600
Merge branch 'Unity-Technologies-staging'
commit 90e0d3aa2c8c3695333752d8790ef304f92eb1a1
Merge: b3f4c00 5bb6bc4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:54:31 2015 -0600
Merge branch 'staging' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-staging
Conflicts:
tests/c-sharp.test
commit b3f4c005638e476b2e653b44b558111efbfc1b23
Merge: 66812c4 5824499
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:51:55 2015 -0600
Merge pull request #325 from MarekFort/master
Add support for indent_class_on_colon
commit 66812c4cf8228ea6ef91fef16399b90c18ff49bf
Merge: 2286fad 3f4406d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:50:43 2015 -0600
Merge pull request #327 from Unity-Technologies/fixes/delegate-semicolon-removal
Fixed another case for bug #628 (older C# 'delegate' syntax)
commit 2286fad0c73d83d0f477f386077dcf5b813d6d3e
Merge: e3469f0 3a1e3bb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:48:49 2015 -0600
Merge pull request #321 from Ditti4/master
Fix some mistakes in the documentation
commit e3469f0eec27845c7237462bc3e31b53c7e11cd5
Merge: b5e20df 575453f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:46:29 2015 -0600
Merge pull request #328 from Unity-Technologies/features/option-processing-cmt
New options and tests for enable_processing_cmt/disable_processing_cmt t...
commit b5e20dfeea723bc9fd7f8f9384dbafe3688e778a
Merge: 261cfdb 77dbf12
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Feb 11 21:44:05 2015 -0600
Merge pull request #329 from mikekov/master
Keep trailing space in C++ comments if it follows backslash to prevent '\' from turning into line continuation
commit 77dbf12633753fa2377db8c10354bbad84e89e6d
Author: Mike <michal_kowalski@hotmail.com>
Date: Wed Feb 11 11:18:12 2015 -0800
Keep trailing space in C++ comments if it follows backslash to prevent '\'
from becoming line continuation
commit 575453f1144d79c9c47d1e30dfc8e47fb3cfb746
Author: Scott Bilas <scobi@unity3d.com>
Date: Tue Feb 10 15:51:11 2015 +0100
New options and tests for enable_processing_cmt/disable_processing_cmt that permits overriding the default UNCRUSTIFY_ON_TEXT/UNCRUSTIFY_OFF_TEXT.
commit 3f4406ddf9f73d3ebacd2a385ae84fd21303379c
Author: Scott Bilas <scobi@unity3d.com>
Date: Wed Feb 11 11:13:36 2015 +0100
Fixed another case for bug #628 (older C# 'delegate' syntax)
commit 261cfdb0f19afa785fcab54d93e3522058c0645f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 10 22:08:02 2015 -0600
Add test for SF#628
commit 2e7f4d9660096e30d6c25e53e9e7bd068008561e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 10 22:07:29 2015 -0600
Fix marking of "=> { }" lambda expressions in C#.
Prevents semicolon removal.
commit e0706629876026a937bf36d2cafa9f7a990954c5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 10 21:45:37 2015 -0600
Add C++ digraph test from SF#629
commit 8182cd2658a8fc53911ea169b93d34bea2a07524
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 10 21:44:31 2015 -0600
Add partial support for digraphs.
Uncrustify may still choke on them in the input, but it won't create them.
commit 5bb6bc4eaa184f973f74e4aaf04232b5eedf3ad9
Author: Scott Bilas <scobi@unity3d.com>
Date: Tue Feb 10 00:10:17 2015 +0100
Fixed bug with backslash at end of comment affecting the next line in C#. C# has no preprocessor, and backslashes at EOL don't mean anything special.
Also added tests for C# to verify fix, and to C++ to make sure normal behavior maintained.
commit 9bad4d26b408b401a523687dbc6a55bba1ec7ef2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 8 17:00:26 2015 -0600
Add tests for the new options.
commit fa792758e12688aac95944204cb6430f4ad83d75
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 8 16:59:38 2015 -0600
Add options to control spacing in C# array types: "int [,,] x;"
sp_before_mdatype_commas
sp_between_mdatype_commas
sp_after_mdatype_commas
commit 5bfa2736a73d2ad6d6e91a33299bf2433a74c7b0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 8 16:15:26 2015 -0600
Don't crash if the input ends with a VBRACE_CLOSE.
Fixes SF#616.
commit 5824499fad6bbfa87e2066a38ae2e4d50b044eb9
Author: Marek Fort <marek.fort@chyronhego.com>
Date: Sun Feb 8 15:20:07 2015 +0100
Add support for indent_class_on_colon
commit 3a1e3bb0d06bcc4dc0f3ba235dea9aa227ea7df7
Author: Dittrich, Rico <rico.dittrich@elcon-system.com>
Date: Thu Feb 5 11:01:47 2015 +0100
Fix some mistakes in the documentation
commit 4e20f20fbeabae560f3471a99a9191ea7718875b
Merge: 3319eef 2b82c2b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jan 6 20:40:10 2015 -0600
Merge pull request #316 from npnth/nl_after_label_colon
Add nl_after_label_colon option
commit 2b82c2b06abd30ef7de2829b4fee7af3e068ceaf
Author: Gilles <npnth2@gmail.com>
Date: Tue Jan 6 18:22:37 2015 -0500
Add tests for nl_after_label_colon
Ensure that nl_after_label_colon does not adversely affect colons in
switch statements or bitfields.
commit 3561d7d4dedfa125d1d0b212f8ce2fb1397f18e4
Author: Gilles <npnth2@gmail.com>
Date: Tue Jan 6 18:07:00 2015 -0500
Remove newline dependence in CT_LABEL_COLON detection
Make combine_labels default to viewing a WORD + COLON combination as a
label, not a bitfield definition. Colons that are inside structs or
typedefs are considered bitfields. This allows labels to be tagged as
such even if they are not preceded by a newline.
commit b4cbf3cd44ae1f2895617ba68c784deec2159e92
Author: Gilles <npnth2@gmail.com>
Date: Tue Jan 6 17:15:28 2015 -0500
Add default value for nl_after_label_colon
This option defaults to false
commit 083c2cb3f6caeae6b570a22242a19b6d4c482d35
Author: Gilles <npnth2@gmail.com>
Date: Tue Jan 6 16:42:29 2015 -0500
Add support for nl_after_label_colon
Add as a boolean option nl_after_label_colon. If this is set to true,
a newline is appended to any LABEL COLON token sequence.
commit 3319eefebdd947da8da84272e67fdf392c00790b
Merge: f65394e 083a4fc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 3 12:07:24 2015 -0600
Merge pull request #315 from npnth/master
Unify handling of newlines following { among if/else
commit 083a4fc7b517343e8790f22b418afd08fc209890
Author: Gilles <npnth2@gmail.com>
Date: Thu Jan 1 22:50:56 2015 -0500
Add test for nl_remove_extra_newlines=2, nl_after_brace_open=false
In this situation, ensure that both if and else treat their
immediately-following open braces similarly.
commit 12a955e769169d696eb9787451916568cfc84ac1
Author: Gilles <npnth2@gmail.com>
Date: Thu Jan 1 22:34:52 2015 -0500
Make newlines_do_else handle braces like newlines_if_for_while_switch
Remove option-checking in the handling of newlines directly after
CT_BRACE_OPEN in newlines_do_else. This matches the way
newlines_if_for_while_switch handles the same situation, preventing
awkward mismatches visually between if/else blocks when
nl_after_brace_open is false.
commit f65394e32925d3978bf2838f76bf19fa9791a7e0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 21:37:33 2014 -0600
Extract the commit log
commit b82c7cbf7c8028fb91faa3767321e9e1c0f0e34b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 21:37:17 2014 -0600
Update changelog
commit 2b76d7a8f4d0c80f3917064b2f4e8309ec55cb3a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 21:26:42 2014 -0600
Documentation and script updates for version 0.61.
commit df5fe150195d38e63a173727bed8a60a296db4c5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 21:16:19 2014 -0600
Bump version to 0.61
commit 15d8f44c4efac3323b991a6db91b4fcb88ace694
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 21:13:21 2014 -0600
Attempt to get cygwin builds working.
Not tested.
commit c6a251f4329dc6911ba48a4b9cae88a62acb2c45
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 14:02:50 2014 -0600
Add test for SF#607.
commit d330fda6ab18f77bfe6cb57b6cc64aae4a38b48f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 14:02:08 2014 -0600
Do not mark the parent of the brace that contains a CS_PROPERTY as GETSET.
Fixes SF#607
commit 7909e742826539ec3d075df82439c72a6e93ddd6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 22 13:41:33 2014 -0600
C++11 supports the "final" keyword in class declarations.
commit 64439c58dbd8f6f2ce29eac53080823d49880d7d
Merge: ffa7ea0 5814e8d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 18 20:28:08 2014 -0600
Merge pull request #312 from lgauthier/master
Added fix for issue #124
commit 5814e8db5033408759d4f2785ed440a7f364d60d
Author: logan.gauthier@metova.com <logan.gauthier@metova.com>
Date: Thu Dec 18 19:29:21 2014 -0600
Added fix for issue #124: https://github.com/bengardner/uncrustify/issues/124
commit ffa7ea0fdc2dcdd26042fb814455fa03b58d1a00
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 10 20:41:49 2014 -0600
C#: mark a property in "new List<int> { 1, 2, 3 }"
commit af87b4751cf5aabac349152e1307dd8767d0df0e
Merge: 95ba72b e27e624
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 22 15:05:32 2014 -0600
Merge branch 'Twigz-feature/add-const-qualifier-rule'
commit e27e624416ba523330879613bcebc410a3ad6232
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 22 15:04:39 2014 -0600
Whitespace cleanup
commit 6364871846d53862fa8492217821e11fc838fdd8
Author: Twigz <aharris.1990@gmail.com>
Date: Fri Nov 21 11:12:21 2014 -0500
Adds a new test
commit 566d2afdd178477948347e8bafbf91198b236ba6
Author: Twigz <aharris.1990@gmail.com>
Date: Fri Nov 21 11:12:04 2014 -0500
Adds a new test
commit b460d25dd6e99b9132631f4bbb9af4fbde49cf81
Author: Twigz <aharris.1990@gmail.com>
Date: Fri Nov 21 10:21:08 2014 -0500
Adds qualifier rule for spacing
commit 95ba72baf7f0833edfaaca0b8f29f6b48ef077e6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 12 22:27:05 2014 -0600
D: Treat [ ] like { } as far as indenting content with tabs.
commit 2046245afc355162c1dfecad59f076545c52d9dd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 14:50:37 2014 -0500
Update the year in the man page
commit 86079866990368c0f18819f5fcf5cc689d3335ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 14:49:56 2014 -0500
Rework make_win32.sh to build with the latest mingw32.
Add a few more files.
commit 531332f38876a189f849b20f47612958093c0924
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 14:46:33 2014 -0500
Update BUGS a bit
commit ddbf42b6952a21a067991e716ab88cac974401bc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 14:20:07 2014 -0500
Rename variable "interface", as that makes mingw unhappy
commit 51e931879a9844194e15197646be03268bdaa05a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 14:17:12 2014 -0500
Fix includes for Windows/mingw build
commit 48001de690daf92d6d272f8ef5c8e71c8f627333
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 14 09:33:55 2014 -0500
Add include path to pick up windows_compat.h
commit 03eb1c70fd36c6a0a23a53ad47198cf8335c7ad3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 6 21:56:45 2014 -0500
Update multi-line string test
commit 573fd546db2ec2e5171fb538e95f282fdb75337e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 6 21:44:40 2014 -0500
Handle multi-line string spacing better.
Fixes SF#602
commit 76ab215694fd733877f544635760658c1e021541
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 6 21:28:14 2014 -0500
unc_text: Encode NL and CR as unicode for logs
commit da1ab3de1363959adc2d82c0fa17ac008f93aae7
Merge: 0cdc975 b28e364
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 6 20:46:59 2014 -0500
Merge pull request #298 from Unity-Technologies/staging
Fix for bug #600
commit b28e364b3778a9ae2ca912302fdb2ab6a24987c3
Author: Scott Bilas <scobi@unity3d.com>
Date: Mon Oct 6 11:52:03 2014 +0200
Fix for bug #600 (https://sourceforge.net/p/uncrustify/bugs/600/). The nullable type was consuming the CT_QUESTION and appending it to itself, but wasn't also adjusting its end column.
commit 0cdc9750dea4cea8a7db43287707b7c9f264b967
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 21:25:26 2014 -0500
Update semicolon removal test to cover new case.
commit 757e2ad22a820d111758b4e8d0c864295f26ed87
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 21:24:09 2014 -0500
Do not remove the semicolon in '...) {...};'
commit a60da588119327d6888230b1c47267ede3645242
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 21:22:47 2014 -0500
Log which path removed the semicolon
commit 85614066efd65591305f75ad93f47b607209ee61
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 21:22:09 2014 -0500
Add a LOG_FUNC_CALL() to update the line number of the top entry.
commit 72348985ddd768053ed685e503cff5f66734d1cf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 21:06:59 2014 -0500
Fixed cast detection in "(int *[])value"
commit f11229b716a88f072f6d84d5b1f68cf5a415fcfe
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:17:50 2014 -0500
Skip the top function name in log_func_stack_inline()
commit d9f939d3f9aa941f372df26cdb8c554d2c7fbb2f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:15:11 2014 -0500
Add test for multi-line C# @"" strings
commit d236601bd10be25db3d3b52b0dfa147cbeae8b9e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:10:45 2014 -0500
Properly detect multi-line C# @"" strings
commit e97370fc83980b385d961e8a4c27d3c3eb9d9515
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:09:59 2014 -0500
Use log_func_stack() instead of passing around the func name/line
commit 5f99e44de4265402f38e989f2f86663fbbb09730
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:07:52 2014 -0500
Modify log_func_stack() a bit
commit 94c189d6a50f6609b2c80c6da8d98998398e17ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 17:03:53 2014 -0500
Add a bunch of calls to LOG_FUNC_ENTRY();
commit 6b888a6186d38b06196a4ea69482a75fa5654222
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 10 16:06:00 2014 -0500
Add a utility functions to track and log certain function calls
commit 419b2a47a8c342226eb6a99b284d8e0ace401b4c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Sep 7 14:49:18 2014 -0500
Add a "file_ext" config option to specify custom file extensions.
commit 172ff959f226e687b3ebb51c1c0fd0a7e90e1079
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 16:50:51 2014 -0500
Update man page for --check option
commit f4a02cb29a863657c83d9f04946e8a9bc3f56866
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 16:28:22 2014 -0500
Fix odd whitespace issue
commit 6f815360cf8003c74078f17e65f398afbe770508
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 16:28:10 2014 -0500
Change log that indicates the detected encoding
commit 7fe2a24d34ef992ab78516d6e55f0edd5221be9a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 16:27:46 2014 -0500
Add --check option to see if a file changes when uncrustified
commit b9bb1655b24911bc4629126d6121fe559e8b7a02
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:51:21 2014 -0500
Add missing fclose() before exit.
commit c9ccb161739bb0db9b61f4aabcaba09d48ac49f4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:45:14 2014 -0500
Rename variable 'dq' to 'vv', as it is for a vector, not a deque
commit 888e7ce045feed34d7633386cae050096312a435
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:44:42 2014 -0500
Add a hook to output the file to a byte deque.
commit ff03971ad08da030ca850f5d9cf0916724909bcc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:41:13 2014 -0500
write_byte: protect against negative ch
commit b3d0212545c278a9a5c8e6dcfb256f5d4ba49c18
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:40:45 2014 -0500
unicode.c: make exactly one place that writes to the output file
commit 9432f7cad9e85cc3001fc933ab8920e373018662
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:34:39 2014 -0500
Don't pass the FILE or encoding to write_char().
Preparing for multiple output paths.
commit 77473c4d192a18bb507f2db8daeeb97feb00c329
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:23:02 2014 -0500
unicode.c: Make all functions static that can be
commit 16160b6ac5bc76a9e4caa39e8de4715b5f9446f6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 6 15:20:20 2014 -0500
Remove unused code: write_string()
commit 54aee73007f4c9141a4fbc2892393d9aa673756b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 11:27:26 2014 -0500
Add option sp_fparen_dbrace
commit c0a12ac85f3110aaa6c010b2ef2e25075b8c1623
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 11:20:03 2014 -0500
Fix nl_paren_dbrace_open in ')\n{{'
commit 4120cd976bacfe11189795138138030acf65d03d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 11:14:37 2014 -0500
Add tests for nl_paren_dbrace_open
commit 608543dec51e4ccfd64d5e80116fcf440e89d7a1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 11:14:04 2014 -0500
Add option nl_paren_dbrace_open
commit 69f926e4797a1f514bc91c878b77b99737dbbb8b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 11:00:21 2014 -0500
Pass through func/line in set_paren_parent2() and flags_parens2()
commit ae4f4449170dfbcac96db1b9eb695489230cfe53
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 10:59:23 2014 -0500
Mark the double-brace open/close with parent_type=CT_DOUBLE_BRACE
commit 1d723646eaa1069de41dd0649def9a598bc14fca
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 10:52:28 2014 -0500
Clean up the log text for set_chunk_type() and set_chunk_parent()
commit 0e78cafcdfadc0698b2ceb9c11474473e8823505
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 10:39:41 2014 -0500
Use set_chunk_type() instead of direct chunk_t->type assignments
commit 7cdd71589f8c420588228c7ceef5bb31207a1ded
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 10:09:52 2014 -0500
Add function set_chunk_type() to log assignments to chunk_t.type
commit 9f9e1c9944680d5fc064fe3d1f691dcb6d0a1056
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 10:01:36 2014 -0500
Add a log in set_paren_parent()
commit 5d0d28a2eb61ef7eb20f1199dafe10e737db24d1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 3 09:47:01 2014 -0500
Refactor parent_type assignments to use set_chunk_parent() for logging
commit b002966cfc90c6ecd835ea6a1e0241bd8928b563
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 2 17:39:08 2014 -0500
Add special handling for Java double brace initializers
commit 2f53e1681fa5d33e3a3a4052671c3d49d464d5ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 2 17:04:31 2014 -0500
Update namespace indent test results
commit d2f28752fbe980a7e100a6c720308ea46a80c865
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 2 17:03:11 2014 -0500
Rework indent_namespace_single_indent, don't indent the namespace
commit adefc45c0f18078c9273607abe20aa2f156f212d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 2 16:46:31 2014 -0500
Add the token parent to the LINDPC log
commit da1a8b2de08c9f7768eb5af7f2ed57ddf171c453
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 22:13:16 2014 -0500
Fix C-Sharp '#property' parsing
commit 12d00abd4c33a04b1a1ddce40cc174a014b3ce84
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 21:53:09 2014 -0500
Add D language "static if" test
commit ec025e4f1e993333b3c3ae4564b972c618115b3c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 21:49:33 2014 -0500
Add support for D language "static if" by merging the tokens
commit 6218d70859db853bda2ccc0172b6f30dfef35eb3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 21:21:56 2014 -0500
Update test results for new '( {' indent rule
commit 19b781e661b78dbd88c35e2da549c146ec2d7c90
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 21:20:30 2014 -0500
Change default to have the '{' indent override the '(' indent.
Example:
gtkwidget.enabled.connect((widdget) => {
message("Clicked");
});
The old way would have the brace indent relative to the open paren:
gtkwidget.enabled.connect((widdget) => {
message("Clicked");
});
commit da37c3a85fc898081004d19e3198f6ac3052341e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 21:07:31 2014 -0500
VALA also has preprocessors (#if/#else/#endif)
commit d814973783c01b047c2911912459ee313f04ff59
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 20:59:06 2014 -0500
Change order of '--update-config' and config file required checks.
commit e7ff01b89b69f47317f02db4c94e3bf5d45f718b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 20:56:24 2014 -0500
Add a TODO about complaining if --update-config is used with -f, etc
commit ea04e51fdd98c1af67ad3372ca840fa4971571c2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 20:55:47 2014 -0500
Do not require a config file if generating one
commit 441b3acc1ffef8d02567707d4917529c9aff558b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 20:34:39 2014 -0500
Fix variable def continuation indent for pointer vars.
Example:
SomeType *a,
*b;
commit da75afc55f5221e1407181c6c84c54c362677539
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 19:26:35 2014 -0500
Update cmt_width test
commit 040cf4036206278db5472cea2d061c9f616bdc81
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 19:22:59 2014 -0500
Do not wrap a comment word if nothing has been written on the line yet
commit e8bf4cd13433216bb61a5f815a30b3bda7724486
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 16:25:00 2014 -0500
Add option sp_enum_paren
commit 0de157e20f7306375fc7eb4da4fd4f9b0e3e5a25
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 15:37:54 2014 -0500
Add test for option indent_namespace_single_indent
commit b536f4268d28f31fe45a03bcd78589f2029d11f0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 15:37:20 2014 -0500
Add option indent_namespace_single_indent
Thanks to gnoorlanderwork for the idea.
commit 7f3296723c6f97adc7164c1fd3c922b1bd18a35c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 15:07:23 2014 -0500
Update tests for new align_same_func_call_params functionality
commit 5513771a22ea83c56ddae18839e44c33a6bfa4de
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 15:03:44 2014 -0500
Let align_same_func_call_params() handle "class.func()"
commit 17671d126a7d0285dc10b0db595694cdf611af1c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 14:30:47 2014 -0500
Don't align stuff after the last comma in align_init_brace()
commit 21e7af10b5ddf3a1f48f4f56ba7edfb457dc462f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 14:29:30 2014 -0500
Enhance reindent_line() log
commit df323401e80fcd7c86d277820f7c2fd42738d54c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 1 14:28:48 2014 -0500
Add more SPACE logs
commit 7b966dc0b4502f4a1943e258668449837446cbc5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:36:31 2014 -0500
Update tests and results for latest code changes
commit 2007ed17b1336406b81460d2381b8601a67ae0f1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:34:18 2014 -0500
Move the 'force one space before a END comment' from output to space
commit e4e368890b86bda15e1ec230479aefc8363293ed
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:33:17 2014 -0500
space: drop vbrace tokens back to the previous and skip them
commit ca1abde6b817dbccadbd81502aa1c2ecbdf9d163
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:32:10 2014 -0500
Force a space before a comment if there was a space in the input
Otherwise try to keep them in the same column as the input.
commit bc5e0894f37b0b76d7cc87eef7a60c8dc1b4c683
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:30:23 2014 -0500
Enhance the space log a bit (show final column)
commit 8a6b5b51b2da83e9b107ffcba14b3c1e944f7f1a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 23:06:39 2014 -0500
Fix duplicate rule log for sp_before_semi/sp_special_semi
commit be9ea6a4ac3cfbca60a8e4c09144d74fca3381fc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 22:21:24 2014 -0500
Keep track of the original whitespace (columns) before a token
commit 6ce863d5a6b2c10d4e2a1580db1b4addb4358deb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Aug 31 16:57:09 2014 -0500
Fix off-by-one error for indent_relative_single_line_comments
commit 7d8e560bd8a67512bb8e17a867e01f3872b727d1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:33:09 2014 -0500
Run update-default-cfg.sh again
commit e1728472645c0dace8f6995e2c3ca0bf5fb5d2ef
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:32:17 2014 -0500
Fix typo in indent_paren_open_brace description
commit 02237e57fe852c2a179796777e5a269b50ef8442
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:30:55 2014 -0500
Run update-default-cfg.sh
commit 5b1183a3f0af3ef8679698b105bc85561931ebf5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:25:09 2014 -0500
Add test for option cmt_convert_tab_to_spaces
commit 8b04b2cc8943fb2688fa118c413d8b93492f941b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:22:00 2014 -0500
Add option cmt_convert_tabs_to_spaces
commit a76f64c867700babbdecb07e20614a97172072b0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 22:20:07 2014 -0500
Revert logsev of whole file ifdef log
commit 38c6c324e7cebc04c0831bddcbe80a1b15687120
Merge: 6209e9d 540e0b3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 21:46:51 2014 -0500
Merge branch 'master' of git@github.com:bengardner/uncrustify.git
commit 6209e9d288a97fbc46c8ea1cd772c906249dfdd0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 21:46:05 2014 -0500
Update test for latest comment change
commit f02f57730dff061975dfd3339357b0f01c1b780d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 21:37:11 2014 -0500
The comment continue should be " * " if not combining C++ comments
commit 540e0b37abd802e3c2a92248063583a839d2983f
Merge: 2b81408 3e00ee5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 16:41:12 2014 -0500
Merge pull request #283 from Speedy37/master
Fix parsing issue with Objective-C message send.
commit 2b81408f08af6be29fa32adea9538759047378dc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 16:38:43 2014 -0500
Update test results based on other changes
commit a15e4158741a69c51644d2695e68a0ea23f4b89c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 16:36:59 2014 -0500
Clean up ifdef_over_whole_file() usage a bit.
commit c732f43af8def231f23beb6d523cd52f76504c8c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 16:30:13 2014 -0500
Cache the results of ifdef_over_whole_file()
commit 6a3d100bdda9075394d09a89ae19d9573c6840ca
Merge: 620747e 86ca62b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 30 16:00:01 2014 -0500
Merge branch 'no_include_guard_indent' of https://github.com/rdan/uncrustify into rdan-no_include_guard_indent
commit 620747ec48e8e8aff87c0de68910b9fe15cd59b2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 28 23:01:32 2014 -0500
Add tests for new '({\n' functionality
commit 1a16cfc6e2d6d40d2b4862ac391e9ebe7c73d409
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 28 23:00:33 2014 -0500
Indent by brace in '({\n', add option indent_paren_open_brace to revert
This is mainly for objective C code.
commit c5e9583136dc576805dae5ea1ca2490622d56051
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 28 22:50:19 2014 -0500
Make the LINDPC logs much more verbose and easier to read
commit 0f6dbafe9f79c4aad2d5c879ccb19c1a1e31edd1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 20:00:21 2014 -0500
Add missing config for test 562
commit e85bc5a6eb32106f3d3d05d70d726be5c0492e5c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 15:20:33 2014 -0500
Update test results based on new comment substitution code
commit 8e1742f64b8d14648d48ddce9126c866b26f0215
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 15:20:08 2014 -0500
Do comment keyword substitution before processing the comment.
commit a91f95312e2b372f40ebca53021c666f15dadd38
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 12:54:43 2014 -0500
Add more tests
commit 96a655df62e6d6ea92533de2906f8ea0367bb91b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 12:54:30 2014 -0500
Do comment keyword replacement earlier and directly on the comment text.
commit b8d8b0202e31dac687b892f8c9a41fb687ec2024
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 12:53:36 2014 -0500
Enhance unc_text with insert(), erase(), rfind(), and replace().
commit 68c76717b183c4e80fee468e3d317c5be6c02d4a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 10:57:50 2014 -0500
Fix comment keyword substitution of 'fclass' inside a class
commit 43edc60aa6d58a767193b5e8d43457d9708ec65f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 22 10:27:56 2014 -0500
Clean up index.html a bit
commit 622a0cbe0db7257cfd32f882d88a34e35de5cdc7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 23:11:26 2014 -0500
Add test for SF#562
commit 0ffb183bd3f6c55a393d1fcf37581d5913a836ec
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 23:10:56 2014 -0500
Fix operator call detection in "baz(&operator[](bar));"
commit a6ac4f0fedd98efe23fdd4f94087361b3eb522a5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:57:21 2014 -0500
make_version.py: no need to split lines of uncrustify_version.h.in
commit f4af8773e815af8f3feae6251f19ac4a7f211cda
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:54:36 2014 -0500
Update make_version.py after the configure.ac rename
commit e8e4c21a116fdea29def40aceaa0f4320f6b0d94
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:50:27 2014 -0500
Re-run autogen.sh on Ubuntu 14.04
commit f199bd478471e7db1477ac15c5da3af5451d20d9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:45:37 2014 -0500
Rename configure.in to configure.ac
commit 8b3f1083fe074cc14ea2e43ad18374ea1df09f3e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:44:25 2014 -0500
Add a script to update the version
commit 1751709f4026da603f5ac5420669c4dcb50a48f8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 21:01:32 2014 -0500
Do not remove semicolon in "return {a, b};"
commit f815d6b3964295c5d9864df14988aff6f55d7a5e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 21 20:48:44 2014 -0500
Remove incorrect warning about unmatched VBRACE_OPEN at the EOF
commit 94a2eabf307fc7534c3be3de36a8670ce2623e05
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 20 20:47:15 2014 -0500
Add test for GH#287
commit 39914d4e1e593f66f23505ce14cbfd4e5a69adf8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 20 10:32:24 2014 -0500
Add test for SF#588
commit 7234f48a60ac0ec1a1798e1d9e535f4f104eea69
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 20 10:29:23 2014 -0500
Add support for VALA numeric identifiers: '@4' is a WORD, not a NUMBER
commit 6f41f0ce00522f0bc3ccb1d475adfb8beb1eef72
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 20 10:28:36 2014 -0500
A change in preproc level should reset '<<' aligning.
It probably should reset other aligning, too, but no one has complained.
commit 71417801533cb5e0c7c112fafcd0bdd520c7edfc
Merge: 80b7109 d33176e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Aug 19 22:37:28 2014 -0500
Merge pull request #285 from PerfectCarl/patch-1
Mention VALA in -l option in the help message
commit d33176e1afa755c1a9299fa5893c7179369e4339
Author: PerfectCarl <name.is.carl@gmail.com>
Date: Tue Aug 19 11:08:36 2014 +0200
Mention VALA in -l option in the help message
commit 80b7109e9465914721884681bcf7f8aa5d9a5ea4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Aug 18 14:56:47 2014 -0500
Add test for SF#594
commit 18393d0345ecff19da0c4e15c718b1656263b27c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Aug 18 14:56:19 2014 -0500
Do not call tokenize_cleanup for the C language (and a few others).
commit 3e00ee5dcb90f07056a02a995b9052f54fe6c8cb
Author: Vincent Rouillé <v-rouille@logitud.fr>
Date: Mon Aug 18 16:29:30 2014 +0200
Fix parsing issue with Objective-C message send.
Parsing message like [(id)obj msg:var] was failing.
commit add39bf18ae0f76f53d9d8703805c7543d61db15
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 16 20:30:01 2014 -0500
Add a test for SF#593
commit 1ac4301a450fc238ac4ff4f0a59579dbecb55e27
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 16 20:29:04 2014 -0500
indent_continue should also apply to class constructor calls.
Not sure why that was explicitly disabled, but no tests failed after
removing that check.
commit 5d1bfcc1b2512283c1b72a79fd0abcc1a88543f4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 15 16:09:45 2014 -0500
Split FUNC_CLASS into FUNC_CLASS_DEV, FUNC_CLASS_PROTO
commit 05a5d5bcc6d524d3290fbc10deacbf623360adab
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 15 15:22:02 2014 -0500
Remove invalid 'namespace' from C test
commit ff21c4ff8dd77444143ce860f34620f71d82c2a6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 15 15:19:58 2014 -0500
"namespace" is not a keyword in the C language.
commit 173e61aa02b98499474b694291d6cb7be70a7434
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 15 15:08:07 2014 -0500
Fix null deref if file starts with a newline
commit 8ca5edfa5b30fa55ef72fe5c5cc8d8e268f3edb9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 13 09:39:32 2014 -0500
Missed a ctx.restore() in parse_code_placeholder()
commit 53725db37577296299c3e5df961402cf6d24190b
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:54:36 2014 -0500
Protect trailing space inside a multi-line string
commit 397b2f95193c2ee04a8e9b6d1dbb73e244bfe0c0
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:44:17 2014 -0500
VALA verbatim string: missing setting nl_count
commit 12eb6a6ababa2dab992fe73475c6f8ec34117036
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:34:34 2014 -0500
Rework parse_code_placeholder()
commit 420b06637bb19be1f9dba5a285f07521772cf5e6
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:33:34 2014 -0500
Drop new option dont_protect_xcode_code_placeholders
I don't see how anyone would not want this.
commit a442258c580a71066b7b64cfe6fd033a7decb11c
Merge: c55f777 6059686
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:24:03 2014 -0500
Merge branch 'jgross-xcode-placeholders' of https://github.com/JoshuaGross/uncrustify into JoshuaGross-jgross-xcode-placeholders
Conflicts:
tests/objective-c.test
commit c55f777dda2be74ed7d264f4ec298d7393d0e241
Merge: f28d310 3214eac
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 8 17:19:29 2014 -0500
Merge pull request #263 from mys007/master
Fix Issue 262
commit f28d310ae56840e50b22c51d9da5a9e4027b061d
Merge: ade7245 3111f77
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:16:50 2014 -0500
Merge branch 'master' of https://github.com/orudge/uncrustify into orudge-master
Conflicts:
src/punctuators.cpp
commit ade7245cc6b1fda9239d5965bc47e2dfc8f1a369
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:07:14 2014 -0500
Clean up whitespace from merge
commit 4d20bcaeef08eff40d60d389bea9e6e360d84a18
Merge: dbc35fe faa3a8e
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Aug 8 17:04:56 2014 -0500
Merge branch 'java-try' of https://github.com/Keepun/uncrustify into Keepun-java-try
commit dbc35fee81a99dc1dcda4e92aa991313c2d5a2fa
Merge: 034f7e2 fad09d7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 8 16:58:16 2014 -0500
Merge pull request #277 from tintou/master
Added missing vala punctuators.
commit 034f7e218e3140b2261ae5a0b2b2b7513d9ffc26
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Aug 4 22:53:47 2014 -0500
Add basic support for VALA verbatim strings.
It looks like it is stripping trailing spaces in the string, but that is
a separate issue.
commit fad09d7ff1342a4f3bf3a27a7acb9bb32413a609
Author: Corentin Noël <corentin@elementaryos.org>
Date: Tue Jul 29 02:37:35 2014 +0200
Added :: as it might be used in some projects.
commit 1839b061d7af045abbf1433dd89e3a53f44588d6
Author: Corentin Noël <corentin@elementaryos.org>
Date: Tue Jul 29 02:19:24 2014 +0200
Fixed missing vala ponctuators.
commit 3111f775de155e7981aed56b6618a081e2db4767
Author: Owen Rudge <owen@owenrudge.net>
Date: Fri Jul 18 15:12:41 2014 +0100
Fix right shift (">>") turning into "> >" in C#
commit 3214eacea005b4ba73efdf7fe44d69b45518b327
Author: Martin Simonovsky <mys007@seznam.cz>
Date: Sun Jun 1 13:21:16 2014 +0200
fixed operator priorities in line splittings
commit faa3a8e407ad0b0c395b0b2c1b0f89c010d8164e
Author: Keepun <keepun@gmail.com>
Date: Sat May 24 02:53:46 2014 +0400
Fix try-with-resources statement in Java 7
commit 36a0f44c54ee6301a5a208a12c08f97e59fcaa42
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 23:03:42 2014 -0500
Fix wrong test result.
commit 1022db6785f99f26f944eb9d21690369a2eecde3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 23:00:34 2014 -0500
Fix indent error if an open paren is the first thing on a line
We cannot use the column of the paren until it has been indented, so indent
it right away.
Fixes SF#572
commit c883fb79794806105f01b02d45e8da69d288d9b5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 22:58:42 2014 -0500
Enhance indent detailed logs - show the whole stack
commit 4ddf2df6dbc480568f3d3a307eb29c5ae2361643
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 22:00:26 2014 -0500
Add test case for SF#574
commit 1bbac3f0021c44d9e2ff7b8a14bb1cda008b3b1a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 21:57:22 2014 -0500
Do not remove a newline before a function if preceded by a Vbrace close
Fixes SF#574
commit f4b55060cb678f5ab86af43f37ca1da88dbcbb1c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 21:56:22 2014 -0500
Wrap newline_iarf() and newline_iarf_pair() in macros to trace calls
commit 04a29f322b87d895b57792547f2fd1044b1403b9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Apr 3 21:37:44 2014 -0500
Work around labeling mix-up with ?: and OC messages
commit 6059686712cacc0417ca652c291cdecaec577f26
Author: Joshua Gross <jgross@yahoo-inc.com>
Date: Sat Jan 25 21:44:42 2014 -0800
Handle Xcode code placeholders.
commit 20cd06a17c4ac6e1ceffe59028cc80657a877d6d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 23 21:37:59 2014 -0600
Whitespace and style clean up
commit 2c27e1c95bb205d02662d3095eae24a435d6d856
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 23 21:23:14 2014 -0600
Fix compile warning about uninitialized variable.
The condition "can't happen", but may as well make the compiler happy.
commit b4c8b3610166b580f557e0f90f9c091b63830e25
Author: Joshua Gross <jgross@yahoo-inc.com>
Date: Wed Oct 23 17:19:07 2013 -0700
* Fix a segfault parsing Objective-C blocks
* More indenting options for Objective-C blocks, and passing blocks as method invocation parameters.
* Fix `for...in` for Objective-C.
* Allow methods to be invoked on Objective-C primitives, like NSStrings.
* Unit tests for the above.
Fix case of block literal being mistaken for block signature.
Adding another test case for situations where extra space is added around a block passed in as the first argument of a C method invocation.
Adding the cfg file for our new tests.
Fix case where a block is passed as the first argument of a C-style method invocation; the parser marked the whole thing as a block type definition.
Add another test for short ternary expressions and make sure it takes precedence over question mark spacing.
Strengthening tests to make sure that short ternary doesn't break regular ternary expressions.
Test showing how Uncrustify fails to treat messages on string literals properly.
Allow messages to be sent to NSStrings.
Add tests that show that casting to (id) breaks parsing (meaningless operation but syntactically valid).
Allow `(id)[obj args]` as a valid Objective-C casting statement.
Fix test case expected output.
Fix for (x in y) for objective-c
Improving indentation support of blocks being passed into message invocations.
New options for indenting blocks in message invocations in different ways.
Fix the block indentation options for Objective-C; it was very aggressively indenting more than was necessary.
Mimic Objective-C style inline-block indentation.
Prioritize aligning everything with the first message in a message invocation, if possible (as long as it doesn't force us to go below the current indentation level, we're fine).
Xcode-style block-in-message indenting.
Fix segfault
Put parens around bitwise op
Fix indentation
Move check for for...in loops in Objective-C to a helper function in chunk_list.h
Adding small test-case for for...in loops with id type declarations.
Adding small test-case for for...in loops with id type declarations.
commit 59aef5ceaba9e7dfa8f0e7a5d31cbe1d21cb2d53
Merge: b519818 b1ccf9d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jan 13 14:17:17 2014 -0800
Merge pull request #231 from Lykurg/fixspelling
Fix typo in documentation
commit b1ccf9dbbd34a0a8533423e25412e418e2a9af33
Author: Lykurg <lykurg@gmail.com>
Date: Sun Jan 12 13:15:32 2014 +0100
Fix typo in documentation
commit b519818ff9cc4225b4bcd905cc15b472c35f367d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jan 5 21:57:01 2014 -0600
Clean up formatting.
commit f15390ebacb54c3c2a2780e26ba0259ca9d63bc6
Author: Joshua Gross <jgross@yahoo-inc.com>
Date: Mon Oct 28 16:26:50 2013 -0700
Differentiate between normal ternary (a ? b : c) and short ternary, (b ?: c) with option sp_cond_ternary_short
commit 4b83d06c86ab949d1bc71d8eaa2cee9e9c7332bb
Author: Tim Hütz <tim@huetz.biz>
Date: Sun Dec 29 12:35:48 2013 +0100
Fix build on Windows
Added the missing include statements to build uncrustify
on Windows (using Visual Studio Express 2013).
commit 3dfe4933a0cf53cb966fb4312d4203911e66748e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 4 13:31:45 2014 -0600
Fix UniversalIndentGUI comment for newline options
commit 8039738f68530f36a4edbaa254b2bdc0824ae594
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 20:50:01 2013 -0600
Update test 30750 for new option nl_brace_fparen
commit 3ccea5e2702454f9da206f5b5f31c3cc13b33079
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 20:49:05 2013 -0600
Add option nl_brace_fparen to make test 30752 pass again
commit fac76ee437b3e0a4adea2c6869f01aa3ff68d3ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 20:48:31 2013 -0600
Fix option name: nl_brace_fparen
commit 277e83780bc1f9f141b2ff3d8adf6dc38ec9133e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 20:45:23 2013 -0600
Whitespace cleanup.
commit 4e1ce1982a698d6e36b90b59447179b9b004b9f5
Merge: 465c4cb 7c85198
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 20:37:49 2013 -0600
Merge branch 'alanf/space-between-block-and-square-brace' of https://github.com/alanf/uncrustify into alanf-alanf/space-between-block-and-square-brace
commit 465c4cb4f770cf685bf7cc7611d4a85de0ccc97e
Merge: f066915 a98ff1a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 16 17:37:02 2013 -0800
Merge pull request #205 from loudnate/patch-1
Correcting issues in default objc.cfg
commit 7c85198f51d813884447bd2c8f2f9823aabc5252
Author: Alan Fineberg <af@squareup.com>
Date: Mon Dec 9 14:22:01 2013 -0800
Allow removal or addition of newlines after blocks.
commit f066915cb48fff599321268e2bdc72d4a411ae9f
Merge: 72fc222 b8ed112
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 15 20:37:57 2013 -0700
Merge pull request #207 from idpaterson/pull-requests/oc-ns-enum-alt
Added support for NS_ENUM and NS_OPTIONS modern Obj-C enums
commit b8ed112d479a23f7576e38f5e899eab4e38b9bea
Author: ipaterson <ipaterson@newstex.com>
Date: Mon Oct 14 19:38:38 2013 -0400
Added basic support for NS_ENUM and NS_OPTIONS syntax using enum formatting rules. Fixes #143 and fixes #201.
commit a98ff1aed753af485e855d2faab2c918258936f5
Author: Nate <loudnate@gmail.com>
Date: Sun Oct 13 19:39:17 2013 -0700
Correcting issues in default objc.cfg
commit 72fc222641ef6c592f70c5de5b92f04936bc6306
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 7 22:01:02 2013 -0500
Do a little code-style clean up
commit 62d836458b8ef3efb2cd7f24ded256967511ee8d
Merge: 5c571d4 e4d50b7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 7 21:53:13 2013 -0500
Merge branch 'java-class-names-with-brackets' of https://github.com/npnth/uncrustify into npnth-java-class-names-with-brackets
commit 5c571d415182a668bf053ba31130575079b8bd22
Author: ipaterson <ipaterson@newstex.com>
Date: Mon Oct 7 16:10:54 2013 -0400
Fixed handling of multiline arrays to match disctionaries. Previously the closing bracket was being aligned with the opening bracket, producing a very odd indentation.
commit de982885cb09c2d91f1086e6473faaffab645029
Author: ipaterson <ipaterson@newstex.com>
Date: Mon Oct 7 16:05:56 2013 -0400
Fixed invalid Objective-C array literal syntax in tests. Arrays use square brackets, not braces.
commit e4d50b74db2f21eda5505069cab7e639cb4f7137
Author: S. Gilles <sgilles@umd.edu>
Date: Sat Sep 7 01:41:48 2013 -0400
Less fragile array-as-type handling
Handle [], [N]-skipping in a better section of the code, which fixes
some restrictions on the number of type tokens before an array for
recognition (i.e. `final int[] a;' would be recognized, but `int a[];'
would not). Test 80030 is updated to reflect this.
commit 612c4aa8eea099e26f7abb80a5d14adb5b4bee45
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Sep 5 20:49:12 2013 -0500
Update the README file to indicate that bugs should go on the sf.net site
That info is also in the BUGS file, but github.com doesn't show that.
commit e84a5811953b5fe95edb74e8268dd504a5d540e5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 31 01:17:56 2013 -0500
Add another class colon test
commit 058eac81bcb46c2804a30e684687b274e2a62eec
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 31 01:17:15 2013 -0500
There cannot be variables to align in a class base list
commit 25031c042320bbbd51a64dfc857f37371a361fbe
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 31 01:14:15 2013 -0500
Mark stuff between a class base ':' and the '{' as IN_CLASS_BASE
commit d2345631e2d49ada2c877eb0ad266c6d53c46373
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 31 00:38:35 2013 -0500
Update config files for the CLASS_COLON/CONSTR_COLON split
commit 3dcffc22a4ec69afa82d4e35a3bab7943a62018e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 31 00:37:56 2013 -0500
New options: indent_constr_colon, nl_constr_colon, nl_constr_init_args,
pos_constr_comma, pos_constr_colon
This should finish the split between the class initializer list and base
class list.
commit cdadf3b0127a3c7ce37efa9525bcbbf45f0789e3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 30 23:56:02 2013 -0500
Add options sp_after_constr_colon and sp_before_constr_colon
Assuming that indent_ctor_init_leading was only meant to apply to the
constructor colon, not the class declaration.
No tests fail, but that may be because there is no test coverage.
commit 0404165b13e37bdbcaed38cd1feb5d7c783795cd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 30 23:48:13 2013 -0500
Split the constructor initializer use CLASS_COLON into CONSTR_COLON.
Keep all the options the same, so there is no change in test output.
commit 25dd1fdc9923250ee0f1da92a8ceb3053ef0fa23
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 24 21:24:50 2013 -0500
Fix crash due to incorrect NULL check.
commit 6d2b4980468c2f0c1d386fbe7d0625799463839b
Author: Stephen Gilles <sgilles@carrastro.com>
Date: Wed Aug 21 17:02:10 2013 +0000
Simplify chunk_get_next_nisq
commit ffb0d2693ea8d5d8c2e18c3e667e878d2f1bef03
Author: S. Gilles <sgilles@umd.edu>
Date: Sat Aug 17 19:06:44 2013 -0400
Treat class names with array indicators as CT_TYPE in Java
Extends the 'word followed by word is type' check to skip past
intermediary (nested and stacked) sets of bracket.
commit dd1dc2d81323bebdae2b85b2df49f6cddaaf2f2a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 15 00:48:18 2013 -0500
Use tok_ctx.expect() in a few more places.
commit 28d53f6263d5ac24cc57f035a37fe898971ae84d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 15 00:28:46 2013 -0500
Remove unused local variable.
commit 44cce3c3998233dc83c32d345e3db2e7bedbc1ca
Merge: 5a2faae b2fbac9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 15 00:26:01 2013 -0500
Merge branch 'master' of https://github.com/npnth/uncrustify into npnth-master
commit 5a2faae9790991f0d8879e785e8d12606525c393
Merge: e11229f d8a4ec8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 14 22:16:55 2013 -0700
Merge pull request #196 from villytiger/decltype
Fix applying sp_before_dc rule with decltype
commit d8a4ec8182c77f56b4389197c580d704bba0f706
Author: Ilya Lyubimov <Lubimov@rutoken.ru>
Date: Thu Aug 8 22:07:46 2013 +0400
Fix applying sp_before_dc rule with decltype
Rule wasn't applied and one space was forcely added in the following example:
std::vector<uint8_t> v;
decltype(v)::const_iterator it;
commit b2fbac97eaf58220a60713ac939b9f6518cc9c8c
Author: S. Gilles <sgilles@umd.edu>
Date: Sun Aug 4 15:41:04 2013 -0400
Explicitly recognize '@interface' as class-like keyword
In Java, treat '@interface' like the keyword 'class', including all
implied indentation. This changes the results of 80010, and as such is
a distinct commit.
commit 9c208322522772aa0483dbf0a318e0e99a502f95
Author: S. Gilles <sgilles@umd.com>
Date: Sun Aug 4 04:10:13 2013 -0400
Better handling of Java interfaces
Handle Java interfaces without relying on untracked newlines so that
nl_remove_extra_newlines can be nonzero. Also handle the keyword
@interface during tokenization so that it is not mishandled. Tests
80011-80014 are added as well.
commit e11229f1d86ad0acbfa84f5863d0fd094817fc4b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 13:09:39 2013 -0500
Add tests for fix for SF#557
commit 860378c4ba6aa482711513e44ad90b1d59ee8c69
Author: Huang-Ming Huang <huangh@ociweb.com>
Date: Sat Jul 13 13:07:06 2013 -0500
Fix function parameter classification bug
commit b4a057cfd17618f459a80a589b46fdf696d5a4ec
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 12:33:31 2013 -0500
Add test for github issue 137 - objc indent issue
commit 2b268a241f7244fa2b24a6c30caa25df41796524
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 12:32:44 2013 -0500
Fix whitespace around '+' in last commit
commit 0326d0594f48e8c771d524d18778dc2975690f04
Merge: 936558e 06c8ecb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 10:31:03 2013 -0700
Merge pull request #185 from mmcdole/master
Fix nested block indentation in Objective-C
commit 936558e04a1a234cfb3c5eee34ee68b06b418f1b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 12:15:44 2013 -0500
Trailing whitespace fix
commit cde6fea68d1f593c8ed3972c70669cdaebc4188b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 12:15:27 2013 -0500
Add a test for the new sp_cond_xx_xx options
commit 58a2138e587576ad27c469053df625bf80bc41be
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 13 12:07:47 2013 -0500
Add sp_cond_colon_before/after and sp_cond_question_before/after.
Thanks to Daniel Burr.
commit 67ce0bfe08b4b5f9282c1eaf508a67009bfae4c2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 30 22:00:55 2013 -0500
A stray colon in a 'for' statement is likely a FOR_COLON.
Thanks to github user shhccie for finding the issue.
commit 06c8ecb30abd418c7e6297f43449ce24cc91f6b3
Author: Matthew McDole <matthew.d.mcdole@ehi.com>
Date: Wed Jun 26 15:48:07 2013 -0500
Fix issue with nested blocks in OC
commit 41f04c88dfdf3aa1769add9fbcbe195d20a72457
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 12 22:19:41 2013 -0500
Add a test for the long brace comment options.
commit 49f5cd579166085a5fc42e4d5850973126f8a0b3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 12 22:19:02 2013 -0500
Grab the full namespace or function name.
commit c0073178d2d4340e6a0fedf0c62b8907a0730eb1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 12 21:53:27 2013 -0500
Don't use standard lib name for a variable.
commit 9117dc60e1e5aa7b230541dfad90f72480af99bf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 12 21:53:00 2013 -0500
Fix crash bug when running test 10010 due to NULL pointer (ns_pc).
commit 29e33a35adf05ba75d46ceb2df5f04c45000e5cc
Author: Marius Zwicker <marius@mlba-team.de>
Date: Tue Jun 11 17:05:46 2013 +0200
Added the option to add a comment after closing braces of namespaces, similar to functions
commit 06fd7cd290136fe31c7687181599916fa8ff70c5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 8 12:10:12 2013 -0500
Add test for SF#538.
commit 1478a195ea804a501d6354d7b5fdbbca6c86e70b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 8 12:07:02 2013 -0500
Allow types (var defs) inside for(), if(), while() loops.
commit 12b722905b2b53de37d74309d32756afdd3a03fc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 8 12:05:57 2013 -0500
Remove unused label.
commit c6af5594221da60e725a3466f83178f2e956efc2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 8 12:05:41 2013 -0500
Mark LVALUE in the first pass.
commit acf6ae6abc4ffa096c93ff69acaa7006642043bc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jun 6 21:50:20 2013 -0500
Extend/add test case for SF#537
commit aacacc7c443315320108d03e3d292c448f964de3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jun 6 21:43:09 2013 -0500
Extend the list of tokens that shouldn't be before a proto/def
commit 485d7682a4cb5949c833c3260c950416d3d258bb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jun 6 21:18:40 2013 -0500
Try doing a class continuation indent.
commit 20653f4ee86f0d44a95b756c5b1404a6ce2790ab
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jun 6 20:51:30 2013 -0500
Add something to a test to cover "(*x)();"
commit 395b0fc45ae23b1fa1d7d34c57a7bb86d2be3fe1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jun 6 20:50:54 2013 -0500
Require *something* for a function type definition.
commit a9bde78443c5da89ea5761e6a33ffe914ab6514e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 23:44:04 2013 -0500
Do a better job of skipping B:: in "A(B::*C)();"
commit fd3cd8775ba6b940cec494a1d467049e69a6bf91
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 23:26:53 2013 -0500
Check the 'return' type for a function type.
commit a5ecb4772c95dd818c474c1e38fa2dcc5087eff7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 22:55:07 2013 -0500
Require '{', ';', or '=' after a function type.
Fixes part of SF#532.
commit 6bc77231195f6ca75472a428c8d5bc26629c4637
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 22:29:49 2013 -0500
Update test for C comment fix
commit 6ad733743f5db519cd3edc84e7a300672361f0bf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 22:28:56 2013 -0500
Add some protection against adding a '*/' inside a C comment
commit ed0b66aacd88b7e6c565c6feea20b216e977560d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jun 5 22:00:42 2013 -0500
No return type for constructor/destructor
Affects nl_func_proto_type_name and nl_func_type_name.
Fixes SF#530
commit 77681bfd703af2de55c2550317400b012c89ac8b
Merge: a290e0c bdfe301
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 4 21:32:15 2013 -0700
Merge pull request #180 from berenm/cpp-lambdas
Better support for C++11 lambdas formatting.
commit a290e0c455383748f2e436671611dae758c711a9
Merge: 1e38539 61f8b86
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 4 21:29:13 2013 -0700
Merge pull request #181 from berenm/cpp-braced-init
Support C++11 braced initializer lists.
commit 61f8b869c18502375afacb8a325fd569ec4f500b
Author: Beren Minor <beren.minor+git@gmail.com>
Date: Tue Jun 4 20:17:47 2013 +0200
Support C++11 braced initializer lists.
commit bdfe301d4f21ee4be6940b200692f0fcf77bab0a
Author: Beren Minor <beren.minor+git@gmail.com>
Date: Tue Jun 4 18:25:51 2013 +0200
Update etc/defaults.cfg with missing options, from --update-config-with-doc.
commit faf210181cf57c5ecb895de1e83f710a6952772c
Author: Beren Minor <beren.minor+git@gmail.com>
Date: Tue Jun 4 12:02:36 2013 +0200
Support newline addition/removal before opening brace for C++11 lambda.
Add new nl_cpp_ldef_brace option to add/remove/force newline before C++11
lambda opening brace.
commit 05ba0c5e7ab7cfcdcc5bdf3fa053ccd7f7705e6f
Author: Beren Minor <beren.minor+git@gmail.com>
Date: Tue Jun 4 11:04:27 2013 +0200
Support one-liner C++11 lambdas. (Closes #162)
Add new nl_cpp_lambda_leave_one_liners option to leave one-liner C++11
lambdas.
commit 1e38539c662c662cf2b4d690be5addbb0b30c18f
Merge: 2fc8bee 7ba2041
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 1 10:26:14 2013 -0500
Merge branch 'master' of github.com:bengardner/uncrustify
commit 2fc8beea2586b931e22c80f03e18bbb138f324d8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 1 10:24:31 2013 -0500
Fix code indent
commit fa8987ebb27f89f66f0c9b13c9c8033aec393cdc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 1 10:20:24 2013 -0500
Use parens in 'if' statement
commit f4f1d6dfec4ba24a0f32f8af7a2239e2ea8bc7dc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 1 10:20:59 2013 -0500
Undo change that breaks the @return comment in java comments
commit 9c7ff6f05360f0bfc8bd992eeab23aa6a1095c85
Author: Florin Pop <florin@florins-macbook.speedport_w723_v_typ_a_1_00_096>
Date: Mon May 27 19:37:42 2013 +0200
Output Objective-C parameter names where $(javaparam) is used in a comment block.
commit 7ba2041fb62f8f32969813ee59b4468df4cd83ad
Merge: 6f840f2 7689235
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 1 08:09:09 2013 -0700
Merge pull request #173 from nightdelphin/fix_keyword
Fix "finally" keyword in keywords.cpp
commit 6f840f2da5f316a67146fe7a366b412593cd189c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:31:20 2013 -0500
Enhance test for align_same_func_call_params to cover brace levels.
commit b338372bb6fd32c8faa7bac059ea6b3e7adbd879
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:30:25 2013 -0500
Fix align_same_func_call_params with different brace levels.
commit a2741b1208eafeb3c12446c98008d1bcf4f088e3
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:03:08 2013 -0500
Add test for options sp_word_brace and sp_word_brace_ns
commit 569d2cd0fa74376eef4ebb1b72c01ed65f86140f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:02:50 2013 -0500
Set defaults to new options to not change current behavior
commit 7496a1d2b40b6c46ccf46e42698a04f4ced370a9
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:02:27 2013 -0500
Set the parent for the braces around get/set pairs.
commit cdc3e28d68c9fd07287289fbb2dae8aa3e35dc08
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 22:00:11 2013 -0500
Add sp_word_brace_ns and sp_word_brace to control space in 'word {'
Addresses SF#545
commit 1b5bdb93aa143de4ad50d2446b73ac390fd62c1d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 21:22:14 2013 -0500
Update test to cover SF#547
commit 3526839296295de7a5fa1f718e28a05656b5a0b2
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 21:21:50 2013 -0500
typename also indicates a function param type.
commit 2158000a3652c4246051cab381308a1bf25faec2
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 21:08:22 2013 -0500
Add some logs that were useful in fixing SF#546
commit 77c2a484f64ebf50319bb5edf45bf06fb6915d4d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 21:07:53 2013 -0500
Add two other function template patterns to the nl_func_type_name test.
commit 5c33a3175bd1f1b319bc84054ca6b4e9063840d6
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sun May 26 21:06:26 2013 -0500
Fix nl_func_type_name for template functions.
Fixes SF#546
commit 0288131faf20267b174f44ecf87c0ea426940d3c
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 17:24:21 2013 -0500
Add test case for SF#548
commit 3716f7f6605e0d1689220a953e3baf0e910de191
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 17:19:27 2013 -0500
Add a new token for the 'class' in 'enum class'.
May fix SF#548
commit 9936f1b7d5de8b72a0f2d7f768e62403f6196589
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 17:01:52 2013 -0500
Add test coverage for SF#549
commit cb9853b4cb653fccb8dee0321e3117bad9692b41
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 16:57:21 2013 -0500
Add test for SF#550
commit 4c3e74457e31e69e95a99fd7622644a5dbc45b18
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 16:52:46 2013 -0500
Don't remove braces if it contains a switch statement and other stuff.
Fixes SF#549
commit c658f44a26fe827577866585b0c359323e1a2e01
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Sat May 25 12:08:46 2013 -0500
Don't try to align '<<' in enums.
Fixes SF#550
commit 7689235fda8d378ea09825ab049c8df7d465cbaa
Author: Ivan Nazarenko <nasaivan@mail.ru>
Date: Thu May 23 18:54:07 2013 +0300
Fix "finally" keyword in keywords.cpp
commit 265ca86b5d94e67443dd960832acdf7db85e113a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 07:13:58 2013 -0500
Fix off-by-one in enc_text::find()
commit 52076100951f58927502f84cbbf8c90643c67adf
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 06:56:01 2013 -0500
create_one_liner: Bail if there is more than one newline
This used to bail if there were any newlines, which prevented creating
one liners.
commit 7a0c75e5ca74bcf23de2fad92072d7bf030c738d
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 06:54:02 2013 -0500
FORCE a space after a VBRACE OPEN instead of ADD
commit be86509d80831f82c10fb38a12cb037798f69921
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 06:41:59 2013 -0500
Update test results for new option
commit 43cdd73953b55107f12c5547e3d73f7c7f13600f
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 06:41:24 2013 -0500
Move sp_cparen_oparen so it doesn't conflict with other options
commit 3c8fe04e45d779a3b9d1838152bb953bdd9c643a
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Apr 9 06:04:59 2013 -0500
Add option sp_cparen_oparen
Controls the spacing between a close paren and open paren.
commit 20a311344bd331ac9bff4872582225111f1ff75f
Merge: 816cbb9 620ff3c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Mar 25 19:06:06 2013 -0700
Merge pull request #158 from madscientist/ms/wrap
C++ comments with long first words were wrapped, leaving an empty comment line.
commit 816cbb971be2a0ee6f2a2b8f898d3fbc228d2997
Merge: 84dde5e 37076b2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Mar 25 19:04:48 2013 -0700
Merge pull request #157 from madscientist/ms/stdin
Allow "-" to mean read filenames from stdin with -F/--files.
commit 620ff3ca8559f69381482336dd5b73872cf50f97
Author: Paul Smith <psmith@gnu.org>
Date: Sat Mar 16 19:10:26 2013 -0400
C++ comments with long first words were wrapped, leaving an empty comment line.
commit 37076b29113a2f5ee40858e897cdef0c5a365400
Author: Paul Smith <psmith@gnu.org>
Date: Sat Mar 16 12:21:30 2013 -0400
Allow "-" to mean read filenames from stdin with -F/--files.
commit 84dde5e2f8722dcfb511a1d264b0834b95f6f294
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Wed Jan 16 21:18:25 2013 -0600
Fix detection of '[xx] =' when aligning initializers.
commit cc67666318862116caa3b6c1682926c333e20dbb
Merge: 847c1f0 299f2b4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jan 15 18:46:53 2013 -0800
Merge pull request #130 from rolandschulz/master
Add option to disable tightening when aligning
commit 847c1f08134c717bdf813e0d82f1ce1001ee23fc
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 15 20:44:32 2013 -0600
Update semicolon removal test for typedefs.
This addresses NS_ENUM & NS_OPTIONS declarations (OC).
From: Jim Frisby
commit 24d820b1db375efb142019eba47e5bb6e5b864dd
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 15 20:34:52 2013 -0600
Do not remove semicolons if the parent is CT_TYPEDEF
commit 299f2b4356a28764188ea55b239e8917748d3b99
Author: Roland Schulz <roland@utk.edu>
Date: Tue Jan 1 16:05:28 2013 -0500
Add option to disable tightening when aligning
Fixes #122
commit 15dc4bb3a821b823ce96e7cd288b48d274b0900c
Merge: be4dc5d 6983fea
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jan 14 06:05:44 2013 -0800
Merge pull request #128 from ryanmaxwell/master
Correction for issue #127
commit be4dc5d7a229ea5280ef525876c27144dc747624
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Mon Jan 14 07:54:31 2013 -0600
Fix the version in the ChangeLog
commit 6983fea0e95e21300ea3c2ed0fbc21605dd98291
Author: Ryan Maxwell <ryan@cactuslab.com>
Date: Tue Jan 8 16:16:07 2013 +1300
correct @finally keyword type
commit 432aa0b373cb82928dcc359cc9246daa5d1a4f2e
Author: Ben Gardner <ben@ben-MS-7637.(none)>
Date: Tue Jan 1 16:00:04 2013 -0600
Update commit.log
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 )
is not a syntax error. But Uncrustify detects the latter as a template and forces a space making it as:
if ( j<3> >1 )
which is a syntax error in C++.
Therefore the required test condition should be:
bool X = j<3>>1;
where 3>>1 does not need to be specified explicitly inside brackets
commit e91557f0682b2d046b764613c30831d5a1724a96
Author: Jason <jason@jasonfharris.com>
Date: Mon Aug 20 03:28:51 2012 +0200
fix leave function one liners alone for objective C methods
commit acf6059a97e72b1b8fa596309accfc4c34d374c5
Merge: 65dd559 234a1e9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 18 09:49:41 2012 -0700
Merge pull request #85 from kastiglione/fix-blocks-spacing
Mark functions inside block expressions
commit 65dd5597686d1772d951fc6698578afbf8ebf3ac
Merge: 1712cbe 4c8a034
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 18 09:47:32 2012 -0700
Merge pull request #86 from Hackerpilot/master
Add support for D's new lambda operator
commit 4c8a0340cbb9c551e58618e5b485e304167a57fd
Author: Hackerpilot <briancschott@gmail.com>
Date: Sat Jul 14 22:42:20 2012 +0000
Added lambda operator to D
commit 234a1e932de5b8bfd18ffa688ceb30d10cf30acb
Author: Dave Lee <davelee.com@gmail.com>
Date: Mon Jul 2 22:39:23 2012 -0600
Mark functions inside block expressions
commit 1712cbe29a4afd2b00ec4f4a5b1698a080be8215
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 26 22:02:03 2012 -0500
Expand the ObjC boxed test
commit b48b7c8ca701a2f281d527f8bf63b8e48873255b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 26 22:01:43 2012 -0500
Treat ObjC boxed strings the same as other boxed types.
commit d466c318dec17f37a3a6e85d3f273a409422dcea
Merge: f450527 16fdfdf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 24 15:27:57 2012 -0700
Merge pull request #84 from GerHobbelt/issue-084
bugfix: wrong offset passed to peek() --> CRLF not recognized correctly
commit f4505271868e251e694f2aff5da8804342b55505
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 24 16:44:29 2012 -0500
Add a test for Objective C boxed literals
commit b875c33fe318810b0a69317c0800e46b25f32685
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 24 16:41:50 2012 -0500
Add new option: nl_brace_struct_var
commit 16fdfdfcc8df54c5b4082f786b81995f8b80cc03
Author: Ger Hobbelt <ger@hobbelt.com>
Date: Sun Jun 24 19:11:15 2012 +0200
wrong offset passed to peek() --> CRLF not recognized correctly (as peek(1) points 1 PAST the LF!) in D /+...+/ comments.
commit f91bb5a01c76caef5ba035f73c20b5ff3424161a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 24 02:00:34 2012 -0500
Add options: sp_before_oc_dict_colon and sp_after_oc_dict_colon
commit c0db5d7584ef6103abe7a820c5f28cd4bb2ef2eb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jun 24 01:59:14 2012 -0500
Add basic support for Objective-C boxed expressions.
commit 2e5f32e87834ca1239dc1481091c85db134c5f92
Merge: cc65530 1b6c857
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 5 15:25:02 2012 -0700
Merge pull request #79 from pwaller/remove_ns_close_semicolon
Remove semicolons after namespace close brace
commit 1b6c857876e78b46d1a2c6d0c7ae8dbba1504fb7
Author: Peter Waller <peter.waller@gmail.com>
Date: Thu May 31 13:20:34 2012 +0100
Remove semicolons after namespace close brace
commit 86ca62b2918a801ee4b1f2d1509439d313453cbb
Merge: 7df80a1 cc65530
Author: rdan <rdanioux@free.fr>
Date: Sat May 12 14:14:43 2012 +0200
Merge branch 'master' of git://github.com/bengardner/uncrustify into no_include_guard_indent
commit 7df80a132e1176c5830ba307d26df19a7bafd12c
Author: rdan <rdanioux@free.fr>
Date: Sat May 12 14:05:29 2012 +0200
Tests updated to validate the modifications in this branch
commit a4b6730f26ba978a2614ca754466a43ac3e510af
Author: rdan <rdanioux@free.fr>
Date: Mon May 7 20:15:03 2012 +0200
- Update of the management of the #include guard
Specific actions were taken for preprocessor directives.
It is now extended to all code:
- code inside the "#include guard" is not indented
- optimization of "ifdef_over_whole_file" to be able to call it several times
- Update of the comment of some options to clarify their actions
commit cc65530fb55a9b24fda73f46474bf26589b43020
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 4 22:44:42 2012 -0500
Remove incorrect labeling of CT_CLASS_COLON in mark_function().
The proper place is in combine_labels().
commit eb9bf3beda26457e3ff74d2359a16c14e8439a72
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 4 22:25:27 2012 -0500
nl_func_type_name[_class] should not affect template<type T> stuff
Fixes SF#3523347
commit 3539361342da04a3286f0cf808d827ede1aba217
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 4 22:07:32 2012 -0500
Don't allow a definition or prototype after CT_ARITH.
This is a hack that fixed SF#3522432.
commit dfa082ded986d024b4c429b27d86851467e94473
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 4 22:06:32 2012 -0500
Don't start a statement on a ')' or ']'.
commit 11fa9162d6ffec46eb3dd9ceb92ed5acfde360e0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 4 22:03:18 2012 -0500
Improve logs for statement start detection
commit 159921c86fb85bb44b9b8d18b5e44dfa56a459cc
Merge: 088e4e1 a3a56c1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 28 14:26:40 2012 -0700
Merge pull request #65 from JanX2/master
Updated Xcode project with recent changes
commit a3a56c1fad9d23afecc691723a622a3d9c678890
Author: Jan Weiß <jan@geheimwerk.de>
Date: Thu Apr 26 15:24:37 2012 +0200
Updating Xcode project with recent file changes.
commit 2bff457c9f0255a9a753ab5fd314eabcf5e6d920
Author: Jan Weiß <jan@geheimwerk.de>
Date: Thu Apr 26 15:23:48 2012 +0200
Updating “.gitignore” for Xcode 4.
commit 088e4e10adeee341e60d444b0a2bd07bdc960111
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 14 15:39:57 2012 -0500
Add test
commit 62746441ccc52dee9b87e9ef133e8f7c6fab0831
Author: Oleg Smolsky <oleg@smolsky.net>
Date: Sat Apr 14 15:36:30 2012 -0500
Fixed a small alignment bug in complex calls
commit 7e40fd41ba6f99d43b2931deaec66534f52e637d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 7 15:43:29 2012 -0500
Fix detection of a cast in "(uint32)std::distance(a,b)"
commit df0a2c1b661766f7581b9d47a1250abef7230633
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 6 11:54:08 2012 -0500
Add another C++ test case
commit f420f11b6966f33382390366e7ecd216b2fd99b8
Author: Oleg Smolsky <oleg@smolsky.net>
Date: Thu Apr 5 21:05:06 2012 -0700
Fixed multi-line indentation in the 'return' case
commit 06d1642da17fb9407577943d51d93a2442f45747
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 6 11:35:40 2012 -0500
Update test results for latest fix to C++ lambda stuff
commit 65867c045c4833d6d8034bbc6394d872c33c2b45
Author: Oleg Smolsky <oleg@smolsky.net>
Date: Thu Apr 5 18:56:43 2012 -0700
Additional lambda/indent fix
commit a54dfa1aa36561c025ed2ba56861f19436fb50af
Author: Oleg Smolsky <oleg@smolsky.net>
Date: Sun Apr 1 11:33:14 2012 -0700
Moved a hard-coded constant out into an option
indent_ctor_init_leading = 4 # virtual indent from the ':' for member
# initializers. Default is 2.
# (applies to the leading colon case)
this is needed for handling member initializer lists:
Thread::Thread()
: m_bStarted(false),
m_log(/Thread)
{
....
}
commit 9d3ab48b138ecdfbee4ddbd0e35fce31ae785b92
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 6 11:23:19 2012 -0500
Add an expanded test for '<<' alignment.
The results may not be correct based on pending patches.
commit 7a9f6a9b9fa75dd143a9b4fd91c1a2dee1eb46c6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 19:36:18 2012 -0500
Update test for lambda return type
commit 19dff2aea0dec7910fdae1065370e23ba2e7be1b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 19:35:58 2012 -0500
Handle C++ lambda return type
commit bc1ea727dff5b73b86fc1a5f6f94690c5173e370
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 18:55:49 2012 -0500
Fix a few problems with the new options
commit bd32896fd7f0fd73aa338b1a1340086097cbe649
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 18:55:19 2012 -0500
Add some tests for the new sp_cpp_lambda_xx options
commit 7e2db96aa6cdba4e012e8adfa266a67e7cf2adda
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 18:34:44 2012 -0500
Add sp_cpp_lambda_assign and sp_cpp_lambda_paren
commit c12a4c5ce4929eaff377486b36da690037d58345
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 17:53:12 2012 -0500
Label C++11 lambda expressions
commit 9e92b900e5766dc2e95f611c5627625f17a9262b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 17:18:42 2012 -0500
Correct input file.
commit d28e0fd97037eb548e62f177435bb675de5521a8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Mar 29 11:16:53 2012 -0500
Add VS2011 project files (Oleg Smolsky)
commit b5d0a2c5edba524f49f984078f8740b7743af30c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 27 21:24:23 2012 -0500
Add test cases for new '<<' aligning functionality
commit 5ff36433c85ca55a3b4f6d972dbbb5d7e9082b62
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 27 21:23:52 2012 -0500
Fix aligning of '<<' in C++
From: Oleg Smolsky
commit 9fa0183f6a2f08e4b5c0a5f433481277fce0cb52
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 27 21:10:25 2012 -0500
Add sp_permit_cpp11_shift
From: Oleg Smolsky
commit 5a930a5dc1e285513b52088f98a5dacd5fea4ea3
Merge: c6e500a 868501f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 20 21:23:55 2012 -0500
Merge branch 'master' of github.com:bengardner/uncrustify
commit c6e500aaaba0abba230311471a52f8b34776cdde
Merge: d519bfa bbbee52
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 20 21:21:32 2012 -0500
Merge branch 'rdan-20120129' of https://github.com/rdan/uncrustify into rdan-rdan-20120129
Conflicts:
src/indent.cpp
commit 868501f35dead19b3731eefb5a1435105665dbdf
Merge: d519bfa 5542d0b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 20 19:16:30 2012 -0700
Merge pull request #57 from mkonig/mos_extensions
Added a script that generates uncrustify_version.h on windows.
commit d519bfa85552cebc5388b979668ea7c5d1c53853
Merge: 82f70d3 e2e0756
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 20 19:13:46 2012 -0700
Merge pull request #63 from bitserf/objc-method-spec-colons
Tweak align_oc_decl_colon to also align colons of Objective-C method prototypes
commit e2e075683a576be33afdab4eac922c3afd52bb2b
Author: Leon Breedt <ljb@bitserf.org>
Date: Wed Mar 21 03:10:34 2012 +1300
Tweak align_oc_decl_colon to also align colons of Obj-C method prototypes.
commit 5542d0b29f741f0fb97b9c9a617a99a04f03d3a7
Author: Mirko König <koenig@v-i-t.de>
Date: Sat Feb 25 19:56:23 2012 +0100
Added a script that generates uncrustify_version.h on windows.
Added this script to vs2008 solution to run as pre-build event.
Added compat_win32.cpp to vs2008 solution file.
commit bbbee52fd41dc240f3312d06cf4744e3337bf70e
Author: rdan <rdanioux@free.fr>
Date: Mon Feb 13 01:41:36 2012 +0100
Update of test file to try to avoid an "UNSTABLE" result (for 00617).
It's still unstable because of "nl_max" which is applied everywhere even if another option specifies a different value (ex: nl_max is set to 2 to have a maximum of 1 consecutive blank line everywhere in the code. But we also want to have 2 blank lines after the declaration of local variables in a function).
commit af232a0b7adc6ab1340f84c7fbc827a67f38887f
Author: rdan <rdanioux@free.fr>
Date: Mon Feb 13 00:50:12 2012 +0100
- Correction of my previous commit (bug detected with file "pp-if-indent.c", file added to tests). The bug is present only when the option added is active.
- Correction of a bug that was already in uncrustify detected with file "pp-if-indent.c". It generated the following output:
pp-if-indent.c:19 Unmatched PP_IF_INDENT
pp-if-indent.c:21 Unmatched BRACE_OPEN
pp-if-indent.c:30 Unmatched PP_IF_INDENT
pp-if-indent.c:33 Unmatched BRACE_OPEN
commit 82f70d3261904ac11caf7ca125a852ce10d0f6e2
Merge: e5d2eff bc43061
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 12 17:34:21 2012 -0600
Merge branch 'rdan-20120129' of https://github.com/rdan/uncrustify
commit e5d2eff99f6f1042057d64dbbdaab817a7914606
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 12 17:27:10 2012 -0600
Don't include src/config.h, as that is generated by configure.
commit b7cf7809161b5d47d0786e051a779cb1c9002eb7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Feb 12 17:23:09 2012 -0600
Add missing file to MS VC++ 2010 project file
commit bc43061e83f77d726c5891a4ded770a787207dc9
Author: rdan <rdanioux@free.fr>
Date: Sun Feb 12 13:31:44 2012 +0100
New option to force the indentation of function definition to start on the first column even if this function is defined inside a #if/#endif directive.
commit d8c5e80b1463282cee7a9fea7d8852804a4dd2b0
Author: rdan <rdanioux@free.fr>
Date: Sun Feb 12 13:07:29 2012 +0100
Correction of an issue:
In the following code
#if A
void function(void)
{
}
#endif
A is qualified as Tag=CT_TYPE/Parent=FUNC_DEF instead of Tag=WORD/Parent=NONE.
commit 95eb26256066b608063f42d8ca7ade73e8fb2922
Author: rdan <rdanioux@free.fr>
Date: Sun Feb 12 13:02:48 2012 +0100
Updates to be able to generate the software with Visual C++ 2010
commit dc89e72f61320fc95a15638ddd03663e937620e4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Feb 7 08:06:41 2012 -0600
Add include of windows_compat.h to compat_win32.cpp
commit 6358b4865f18a0a8f75f6a534447524682cdb4bc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 16:06:13 2012 -0600
Debugging: also log the column_indent
commit 948ec99cfdc6acbb1d13b489d7d2bbe39059fba9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 16:04:13 2012 -0600
Update tests to reflect the change in the last commit.
commit c0b125fdfe6e6f5d02b466220961ac6731b4c728
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 16:02:26 2012 -0600
A #define body indent should have 1 level of tabs in mixed mode.
commit 490986c7607c772cb76eb7bbf4eb62d3ccfc2bfa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 11:02:27 2012 -0600
Add custom type PROTO_WRAP for old-style prototype wrapper macros.
commit 3359082eff68278e7d3b2cf0ebbdf0f914857852
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 10:22:38 2012 -0600
Rework the default config file check to avoid C99 constructs.
Fixes a compile error on MS VC++ 2010.
commit 7aba80646c66fc45dcb9e8fdc9542b7d1794cc5a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 14 10:13:42 2012 -0600
Fix compile issue on MS VC++ 2010
commit 2a220107fd1e0e9139c5bbe312b14b3b12e2cee7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 21:48:41 2012 -0600
Add option: nl_version_brace
Affects D
commit 72c9645f0b57017063ed83f5db7e3d845eab56a7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 21:48:15 2012 -0600
Add option: nl_scope_brace
Affects D
commit c4bdf597a32525548c43f80c4b36a9dabdb7475f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 21:10:15 2012 -0600
Fix crash if unittest is the first token in the file.
commit 91701a4e5ec5de9cb4f71847da44e7f1ed3d8c26
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 21:09:48 2012 -0600
Add option: nl_unittest_brace
commit 1691e461067922002c1dd5d3f42519715cce9001
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 16:59:35 2012 -0600
Add a few other C++ extensions.
Fixes SF#3470255
commit 4dccc7487e0baaffb8f6a25a10adc8841514dcce
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 16:40:14 2012 -0600
Add test for sp_before_template_paren
commit bdf2c6671c5b97c3120749499685f9458f0bdd5c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 16:39:25 2012 -0600
Add option: sp_before_template_paren
Controls the space for D in "class Foo(" and "template Foo(".
commit 2501784474c6493bbfff3b7ede29ec8222a42b5c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 7 16:25:40 2012 -0600
Improve labeling of D templates.
commit 3ffbfd5c7c0b6f618394ae6dfb4c1e88cc8a0b2c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 5 22:37:30 2012 -0600
Do a better job of marking types in a class
commit e047b3d380003e3f6355dc8c88ef62b7ac063051
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 5 22:36:49 2012 -0600
Do a better job handling class forward declarations
commit c321930e9ef4d989d596bdc068b17aaec0d8dad8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 5 22:34:23 2012 -0600
Fix incorrect test
commit c0c4354016756ddb02984341a3b79295c1f1ba57
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 5 21:34:02 2012 -0600
Use unc_text::equals() instead of memcmp()
commit 044ebe1c4ad8e11f99d2d49a1134fae86b490e79
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 29 16:47:09 2011 -0600
Add ability to get config from UNCRUSTIFY_CONFIG env var to win32
commit d7b57f9fd59ff39e24503ffa8a822a1a46b48e29
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 29 15:27:10 2011 -0600
Update tests for nl_before_newline
commit 3040f3887634b0f4331bee7b25f9f34f5f97adc7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 29 15:26:02 2011 -0600
Add option: nl_before_return
Move nl_after_return to the blankline group.
commit 4e39f15b183b6e92531aa0bd88168515c4d8cbc3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 28 00:54:34 2011 -0600
Save off working notes about #if/#else/#endif code threads
commit 47fa9b294210f07ecabedbf75ee30ffa5603be12
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 28 00:50:15 2011 -0600
Handle function pointers with complex return types (ie, unsigned char).
Fixes SF #3152653
commit 6226fdb03c02b8e3ecbea1bbda2ea5d945322457
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 28 00:25:49 2011 -0600
Change newline_iarf_pair() to handle 'force' as 'add' + newline limit.
Fixed SF #3169766
commit 3ee41a21c7a8c76e1db7d208d4f8eab6dfaf7065
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 28 00:05:46 2011 -0600
Get nl_class_init_args=force to work
Fixed SF #3444921
commit 4775d8990fc8552b4384a833386b2aea0fb665aa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 27 23:25:26 2011 -0600
The '*' in "*," is always likely to be a pointer in the following:
FUNCDEF_MACRO( func, (arg1 *,arg2 *, arg3*));
Fixes SF #3464371
commit 37ebfd815d1ed8b5ba33b69d76da980c7ec6644c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 26 12:03:15 2011 -0600
From: Jim Meyering
include <unitsd.h> for open, close, unlink
Otherwise, I get errors like these on Fedora 16:
uncrustify.cpp: In function 'bool file_content_matches(const string&,\
const string&)':
uncrustify.cpp:903:16: error: 'close' was not declared in this scope
uncrustify.cpp:915:45: error: 'read' was not declared in this scope
...
uncrustify.cpp: In function 'void do_source_file(const char*,\
const char*, const char*, bool, bool)':
uncrustify.cpp:1046:46: error: 'unlink' was not declared in this scope
commit 1c8aedbd1e845196f2a46491b8479596e7404856
Merge: 34d4143 fbf046e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 26 09:56:03 2011 -0800
Merge pull request #47 from meyering/multi-line-comment--do-not-elide-utf8-characters
do not elide UTF-8 characters from multi-line comments
commit fbf046e03e41fb8c137c2ed49c120bf389cbbc75
Author: Jim Meyering <meyering@redhat.com>
Date: Fri Nov 25 19:47:25 2011 +0100
do not elide UTF-8 characters from multi-line comments
Before this change, uncrustify would remove UTF-8 characters from
multi-line comments. E.g., here, uncrustify would remove an a-acute
from a 2-line comment:
$ printf '/*\303\241\n*/\n' > utf8.c
$ src/uncrustify -q utf8.c; wc -c utf8.c utf8.c.unc*
8 utf8.c
6 utf8.c.uncrustify
This fixes it and adds a test to exercise the fix.
* src/output.cpp (output_comment_multi_simple): Correct the type of
"ch": use "int", not char, to avoid sign-extension with signed char.
* tests/c.test: New file.
* tests/input/c/cmt_multi_utf8.c: New file.
* tests/output/c/02423-cmt_multi_utf8.c: New file.
commit 34d41436cfc900c23edb55c161ae2086766ce56e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 21:23:18 2011 -0600
Update tests based on latest patch
commit 2d0e192c23b3a24aa16566ca1aafaf0f470f5580
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 21:22:54 2011 -0600
From: Todd Richmond
Rework function parameter line splitting.
commit 6df0bc53655d8bb590f028166fb17c6796d408b9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 21:15:43 2011 -0600
Whitespace cleanup
commit e4f447789a2f6f4a1c1f0cb8e9e6c8871e67ee79
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 21:15:29 2011 -0600
From: Todd Richmond
Don't split '>>' into '> >' for C++ templates.
Fixes SF#3203335
commit 4d2960bf02e840fd2c9bf80b7a2cb9122770b3ea
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:49:48 2011 -0600
From: Todd Richmond
Add support for __try, __except, and __finally.
commit ceb60d60580cbdfc8cf72daf7244df5847759ce1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:44:36 2011 -0600
From: Todd Richmond
Add copy constructor to AlignStack.
commit a920c2b08afeac1e4312daeb768871e4600972f4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:43:57 2011 -0600
From Todd Richmond
Fix off-by-one error in align_same_func_call_params()
commit 2d9f50feaef2b80854bed2ce64e4d6eec9c5bbcc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:38:59 2011 -0600
Run uncrustify against some of its source.
commit 867f0f7dad29a9ab08e2394140e43749f3e4c3fb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:38:29 2011 -0600
From: Todd Richmond
Update sun.cfg and update test results from the latest patch.
commit 2e95b3c8bf4bf9d7ec688c769803ffaf3ca4be29
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:37:22 2011 -0600
From: Todd Richmond
Add a slew of new options:
nl_typedef_blk_start, nl_typedef_blk_end, nl_typedef_blk_in
nl_var_def_blk_start, nl_var_def_blk_end, nl_var_def_blk_in
nl_remove_extra_newlines
From SF #3426576
commit b24579c1e5b68f8ce9757964c81686ce8a7a5b84
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:23:37 2011 -0600
Fix null dereferences
commit 31265d3337be44b4499d3a673ff4a3622e27af53
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Nov 15 20:18:57 2011 -0600
Fix spelling recommed => recommend
commit 122b7e7b3f44d3c0ae72f703874d123ef6d5d053
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:58:31 2011 -0600
Fix aligning on '<<' in the presence of 'operator <<'.
commit d723b22b89b3a460fa8a7e6975b89d3059b45ad3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:52:17 2011 -0600
Increase the span of '<<' slignment so that 'q' and 'xyz' align in the
following code snippet:
void bar()
{
out << "q"
// << "abc"
// << "def"
<< "xyz";
}
commit 158cc8abe5e3ce1c3b53b161dd1c5d5fcd2e847c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:38:37 2011 -0600
Update test results to reflect virtual brace comment spacing fix.
commit 491b8927f2305b4ed7d727e7de2e77970ffc526c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:37:07 2011 -0600
From: Jim Meyering
Fix handling of virtual braces when calculating the comment column.
foo ()
{
if (1)
a = b; /* c */
}
commit 7021e495105caffa5d2f47be65984c75254ac692
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:29:04 2011 -0600
Fix handling of templates in constructors:
TOTO<char*const>::~TOTO<char*const> ()
{
}
commit 88bb98e5e8b0a03fdcf8522cb62bf7c5ba175f56
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:18:30 2011 -0600
From: Todd Richmond
do_code_width() must be followed by newlines_cleanup_braces because
breaking lines might also break one-liners such as
enum x = { 1, var_too_long_for_code_width };
which reformats to
enum x = { 1,
var_too_long_for_code_width
};
instead of putting the newline after the {
commit 004a21be1b633306c6e655719a06d09bf7e3ee95
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:13:25 2011 -0600
From: Todd Richmond
Allow a line split between two strings.
commit 10c35ad427c9ab08f255f98ed60c1ffb57a668ec
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 10 05:08:34 2011 -0600
Java also uses the ellipsis
commit e6ccc2551d533b75c435dd34ea030ed9ed02b783
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 9 07:18:30 2011 -0600
Change '-F' handling to match what the usage info says, one file per line.
More work is needed to support a prefix on windows, as drive letters aren't
handled.
commit 8c2cc60bbe4fedf012331d8641fec5dce27d97df
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 9 07:01:53 2011 -0600
From: Todd Richmond
Create new option ls_code_width to better control line width splitting.
commit e1ebb8b1592832dbcd6b5664fa05f2c4e2208243
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 3 21:11:26 2011 -0500
From: Todd Richmond
struct/enum/class variable definitions are using nl_after_struct/
nl_after_class newlines which were designed for the actual struct
definition, not instances of the struct. This adds an extra newline
within a var def block
int x() {
struct b c;
struct d e;
}
formats to
int x() {
struct b c;
struct d e;
}
commit 4bdae67aa0cbb5858aae1065eea23c4a5dde89f3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 3 21:04:26 2011 -0500
From: Todd Richmond
Two wide strings concatenated together without a space causes the
second L to trail the first string instead of lead the 2nd string.
#define x L"a"L"b"
formats to L"a"L "b"
instead of
L"a" L"b"
commit 1db8aaf384e2c74f98974df0d6a6ffa27903615b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 25 18:47:42 2011 -0500
From: Todd Richmond
Rework long line splitting code.
This patch does the following
1) makes indenting for indent_continue != 0 consistent except that >0 is
old behavior of grouping constructs like ?: or functions
2) fixes a bug found with the fix for 3426636 (long typedefs). The old
code never indented properly because it added indent_size to 0 instead of
the previous indent. In test cases that showed up as a 3 char indent
instead of 4
3) fix test cases for the long typedef lines. Note that your final typedef
change caused typedefed functions to tread the arguments as a function
which causes the lines to indent to the fparen. I think your change is
correct behavior and only the test case needed an update
commit 4a0e1d63861d883ddacfcd6b9bf4ddab6c5adb7b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 25 18:40:05 2011 -0500
Rework 'class' detection to allow 'class' as a member name.
commit 53d716f543709bb0b6f1e524bc910c64ecebaf21
Merge: 716df3c d57307d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 25 18:29:42 2011 -0500
Merge branch 'master' of github.com:bengardner/uncrustify
commit 716df3cfdad8f49daf4841c5b58593345ebbac6a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 25 18:27:31 2011 -0500
From: Todd Richmond
If mod_full_brace_if = add and mod_full_brace_if_chain = true, it will eat
a required line break after the closing if statement, regardless of having
{ } or not.
if (a)
b();
c();
reformats to
if (a)
b(); c();
commit d57307ddfec43dd3a9967b56b6b3e8cf935a2825
Merge: 0650864 c9768db
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Oct 24 10:29:55 2011 -0700
Merge pull request #45 from Uncommon/master
Add missing files to Xcode project
commit c9768db3e058dd2b63303f3f09d0a6a2ab479be6
Author: David Catmull <uncommon@uncommonplace.com>
Date: Mon Oct 24 11:19:46 2011 -0600
Add unc_text.cpp and unicode.cpp to the Xcode project
commit 06508646f3cc0fbccb7ad6eeb0c50d42b847ff29
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 15:50:15 2011 -0500
Add a log when the comment cont_text is set.
commit c9fce40717e12c2feaec7f7a469baa351c213426
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 15:49:33 2011 -0500
Detect a comment lead without requiring a space after a single '*'.
commit e02dd8a41e466876bc39aa8eaf55c1d6aee6b596
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 15:48:05 2011 -0500
Insert a space between '*' and text in a comment line start.
commit 0461e187859eb2b227073edd6b74ccc39359b1ca
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 15:46:39 2011 -0500
Add unc_text::insert()
commit cfa96cbe6c840ac11845cda0e55424cda764cd79
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 14:51:24 2011 -0500
Add a test for align_func_proto_span with align_on_operator
commit abd74db2c35b9bfcf95d706d58ce3ab1e5d96562
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 14:37:03 2011 -0500
Set the gap on all aligned chunks
commit 187f33f098806d9bd1cc4df618cd5e337381e0d4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 22 14:34:49 2011 -0500
Set the start and amp style for align_func_proto
commit 95cac2cff979de9391f983f1de4fcb5d90aec525
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 21 21:53:21 2011 -0500
Also need to end a typedef indent on an open paren
commit ab66cf91f5b788ecd1a9f704f3f18ee5e1ac595f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 21 21:52:55 2011 -0500
Update code-width.c test with long typedefs
commit fbd5ad351a12808679ed029eaa4e14b115ab3a12
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Oct 21 21:44:27 2011 -0500
Use a continuation indent for typedefs that span two lines.
Fixes SF 3426636
commit 0c8f3cc968820db79b04883a862f42355f3effdd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 20 22:21:20 2011 -0500
Allow '&' in a C-style cast. Ie, (Foo &).
Fixes SF#3266678
commit ad9f2b11ec58e7d2458d07276263bb683bc87f19
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 20 21:54:03 2011 -0500
Remove unused variables that g++ 4.6 found.
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
commit db9c795e9d756ed3eff50510311b62436f51ac20
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 20 21:44:17 2011 -0500
From: Todd Richmond
New option: align_pp_define_together
Align #define functions and variables together
commit f3f6ac39f834e31fa703109e1ccdccd76c64066c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 15 21:48:03 2011 -0500
Change the 'class' check to require a 'word' after to be value.
Should now handle variables named 'interface' or members named 'class'.
commit e5246380c0a64c878d070ff322b101509dc3813e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 15 21:37:27 2011 -0500
Back out absolute indent_continue check in split_line(), as it caused
ls_func_split_full to fail.
commit 0f22bda9daa368017a46bd66994fa206194c99be
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 22:28:42 2011 -0500
Fix wording of the utf8_byte option
commit 02342d6f0a241dfd52666334d0c363f7b5121bd4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 22:28:20 2011 -0500
From: Todd Richmond
Update sub.cfg
commit 2720231d94a927f6ee9e83e9fecedef7e7b75e52
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 22:24:24 2011 -0500
Fix regression caused by labeling 'interface' as a keyword.
commit 005fefb6fe223b45684d3f2f166cc6d1ad26450d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 22:06:04 2011 -0500
From: Todd Richmond
Rework long line splitting
commit e00f3545a4430f89d627d92f0bdaf63b6f18cbfc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:58:05 2011 -0500
From: Todd Richmond
Add support for negative indent_continue values.
commit 6aeed7a617bb0058092c36dc1cf5cbc6232b1831
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:55:05 2011 -0500
From: Todd Richmond
Add project name to VS2010 project file
commit d3a972aaf7ea9ef20c0f7c5436ae4d598aa381c4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:49:16 2011 -0500
From: Todd Richmond
uncrustify needs a "join" option to go with the other lead/trail options.
The requirement is to remove extraneous newlines and merge them into the
same format they would have if newlines were not found in the original.
This is critical for function calls/deffs where arguments are not brought
back together to maximize line length
The attached diff is quite simple and resolves the test cases I tried so
far. It also undoes the splits that were added by the over-aggressive
splitting that I resolved in my previous large diff
commit 345560f7d0c27e65725a91664e89ca544155df84
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:41:30 2011 -0500
From: Todd Richmond
If mod_remove_extra_semicolon=true, extra semicolons will be removed from
within a macro such as
#define ENDSTRUCT };
There might be other modifying options as well that should not take effect
within macros
commit a36b09750273c9d3306e85684028d2cac0f32770
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:38:51 2011 -0500
From: Todd Richmond
To denote that a string is unicode, L"string" is used, but uncustify will
insert a space in the # cpp operator for common macros such as
#define KEYWORD(_keyword_) L#_keyword_
which reformats to
#define KEYWORD(_keyword_) L # _keyword_
sp_pp_stringify will remove the trailing space but not the leading space
which is an invalid construct
commit befe3c513e69a08a3e90dc759da01b338687f5a5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 13 21:35:38 2011 -0500
From: Todd Richmond
In Visual Studio in C/C++, the "interface" keyword should be treated like
"class" as it allows derivations like ": public foo"
commit 965c01bad535aa807e25f4b79a9a6495a3b18280
Author: Jim Meyering <meyering@redhat.com>
Date: Sun Oct 2 12:59:57 2011 +0200
handle a backslash followed by a literal newline
Without this change, uncrustify's lexer would get confused for any C
code containing a string like this:
f ("\
Some text\n");
That led to a diagnostic like "Garbage in col 8: 5c" typically
followed by a cascade of unwarranted diagnostics.
The fix is to reset "escaped" also when handling a literal
newline or a carriage return.
Also included: a test case to exercise the bug/fix:
tests/c.test
tests/input/c/backslash-newline-lex.c
tests/output/c/01060-backslash-newline-lex.c
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
commit c404574dd88dba6520ca545ed1b388d678049c21
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 8 21:34:42 2011 -0500
Update SlickEdit project files
commit 68c59727a92ee887c110175258dacd27b589fcf8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 8 20:57:13 2011 -0500
Add OpenPorts.se link
commit 8efb7ea7ff46a7b6196f9233541bb63a1a9d3142
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 4 21:37:04 2011 -0500
Save off changes for version 0.59
commit ee20cffd27cafd99aac17c06e80ba954554fb76f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Oct 4 21:06:02 2011 -0500
Update two tests to reflect recent change to mod_full_paren_if_bool
commit 3dfc51bf551358630722b7e931588f7c5b01b20e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 27 21:01:18 2011 -0500
Fix comma and boolean op precedence with mod_full_paren_if_bool
commit dfbd1a86c0490e0a016ab1a40b125e42ec291c29
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 27 20:55:32 2011 -0500
Change cast to fix warning:
assuming signed overflow does not occur when assuming that (X - c) <= X is always true
commit f30b92aac7008d942b36547e421c72d69ddbcc62
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 27 20:49:15 2011 -0500
Fix the log level in mark_change()
commit e8f850c79ed93e16fca9e1902175419f05e95774
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 27 20:42:46 2011 -0500
Properly handle an empty source file
commit 235ae27fa2dccfee5e44c7fb03bbf178b32d3260
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 27 20:40:44 2011 -0500
Don't add parens around BOOL comparisons if there is a preproc present
commit cda1e865876bf577f74efac9fd4a720ff78b2a00
Merge: 3de9050 26804b5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 19 21:21:24 2011 -0500
Merge branch 'master' of https://github.com/jott/uncrustify into jott-master
commit 3de90503fc5b360c11ceb861bde3acc138d87ef4
Merge: 51ee3f4 74f6836
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 19 21:17:56 2011 -0500
Merge branch 'jott-aa107f1'
commit 74f6836d4aef70a9b4c9ef46810fcefdc6caa798
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 19 21:17:43 2011 -0500
From: Jott
Fixed a crash in indent_text.
When a closing paren is missing at the end of a file, the next token is NULL.
To reproduce, create a file with just x( in it and without a newline.
commit 51ee3f4c7c39c4a337476c51ac576474cb3fac5d
Merge: 0fa8fd4 6827f9f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 19 19:13:57 2011 -0700
Merge pull request #38 from jott/6827f9ff03920b7b2f178474292176c6078edc11
Fixed an infinite loop in parse_word.
commit 26804b5098a0b1d7e288186caeadbd412e2297f6
Author: Jonas Hurrelmann <j@outpo.st>
Date: Mon Sep 19 21:39:10 2011 +0200
Added new files to the VS2008 project file.
commit aa107f1bc6926def0152b182541650cdb43d3744
Author: Jonas Hurrelmann <j@outpo.st>
Date: Mon Sep 19 21:26:04 2011 +0200
Fixed a crash in indent_text.
When a closing paren is missing at the end of a file, the next token is NULL.
To reproduce, create a file with just x( in it and without a newline.
commit 6827f9ff03920b7b2f178474292176c6078edc11
Author: Jonas Hurrelmann <j@outpo.st>
Date: Mon Sep 19 21:18:58 2011 +0200
Fixed an infinite loop in parse_word.
When there are no more characters in the context, the parsing fails.
Create a file with just #x in it and without a new line to reproduce.
commit 0fa8fd44c6a4ebffbe9378c932c604dd814ad2af
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 12 20:58:12 2011 -0500
Update the Win32 VS2010 project file (Todd Richmond)
commit 2be051a1e0e155a96710bec43ab16c4eaffa79e2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 12 20:56:53 2011 -0500
Fix some build issues under Win32
commit 60f3681da60462eda539b78e0c6c3eea823481e5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Sep 8 21:38:27 2011 -0500
Set the parent of '{' in cast '(foo){1,2,3}'
Fixes SF #3406144
commit 2b6a3105f5bfeaef74821ffb714799871376ad62
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 7 21:34:18 2011 -0500
Add option nl_case_colon_brace
commit ed129ba0f37055b4be02200e2bb644a51c29aa02
Merge: eb394d1 b144060
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 6 22:25:52 2011 -0500
Merge branch 'master' of https://github.com/hschmidt/uncrustify into hschmidt-master
Conflicts:
src/token_names.h
Assuming that the change in test 50007 was intentional
commit eb394d1ad6001cebf6ef2ef3572e1ae13a200e86
Merge: 9789753 caecd7c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 6 22:17:45 2011 -0500
Merge branch 'indent_ctor_init' of https://github.com/patnotz/uncrustify into patnotz-indent_ctor_init
Conflicts:
tests/cpp.test
commit 978975355fa1e8280400df3d742b48498d6af1b3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 6 22:10:31 2011 -0500
Rework the sp_before_tr_emb_cmt and sp_num_before_tr_emb_cmt options
commit eaa5aef38a15b3c5aabb06943f8a2d0cea53dd04
Merge: 235adfd 6dcaa68
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 6 21:47:20 2011 -0500
Merge branch 'sp_before_tr_emb_cmt' of https://github.com/patnotz/uncrustify into patnotz-sp_before_tr_emb_cmt
Conflicts:
src/tokenize_cleanup.cpp
commit 235adfd18147f35a196686efa2ddd084010ba505
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Sep 6 21:22:00 2011 -0500
Remove commented out memset's
commit 727d23421b17a960e5fb8fe80e331739be278724
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Sep 5 20:26:07 2011 -0500
Remove some unused functions
commit b18c4ee9b7a3240cfee3330559c8c4b64f1fc823
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Sep 4 22:36:24 2011 -0500
Need to check the real previous when looking for the start of the file
commit 00f7f5d2a50e3ee504772387e7071fcf0111d684
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Sep 4 22:22:58 2011 -0500
Update some tests that had incorrect output due to newline issues
commit c08cf0da0f2a8970848a6d601494beea49aff866
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Sep 4 22:22:24 2011 -0500
Fix some output stability issues by running the newline code twice
commit 9160e075dcb81d895cac3fd8aee9164ea8cd637b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 16:21:13 2011 -0500
Don't nest complex statements when creating an 'if' one-liner
commit 6b4cdc6ddd259ea6b7c210a7fdf8064a4080c6bd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 16:12:48 2011 -0500
Fix some test output
commit 5230fbb00bd0cc3e28dba2645139378b21212a3b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 16:12:10 2011 -0500
Improve blank line handling
commit 2f05596f4f7423c8b06eb28dac3d9d629dd7d1a3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 15:43:00 2011 -0500
Update test config to reflect new option name
commit 8c57f4556d2ce43f3a6f41368f09b24db40aa6ab
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 15:40:11 2011 -0500
Add test of UTF-16 input files w/o a BOM (output contains the BOM)
commit 9e45777e294ce778a46e43ae0e0c75d9027e7948
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 15:37:45 2011 -0500
Force the BOM on UTF-16, detect UTF-16 encoding without a BOM
commit a44d84381db4f0882a5fa2a47f49f4ecc73a12fa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 15:07:34 2011 -0500
Rework the Byte Order Mark stuff (more options)
commit c16a2f1ea6f001a6b12a51ade1befb7a38662f16
Merge: ab8a73f 7ba9a91
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 12:06:05 2011 -0500
Merge branch 'unicode'
commit ab8a73f782e1859bdb304189a2e2b098ad680d5a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 12:05:56 2011 -0500
Update vpj file
commit bf40639ae0ab7b49e4dca7c5af0dddf5c173e63c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 12:05:37 2011 -0500
Fix error in comment
commit 7ba9a91cd3a7f2ea5815ee61d7b838b7cb2bb36d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 12:02:16 2011 -0500
Save fixed test
commit 1067a8b382521b62eadb099e23c80c3e649c81c6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 12:01:21 2011 -0500
Fix 1-liner splitting in "{ get; set; }"
commit b16542872982674f8896fa68a22c28a0a383c945
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 11:11:40 2011 -0500
Add tests for UTF-16 handling
commit 1dac0422c9d52d0cb84d25d3eb8ed20569cdc9a6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Sep 3 11:08:08 2011 -0500
Fix UTF-16 handling and the BOM
commit d6c084a4f7f25ae05a43364ef52a7fc5c89df6fa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 02:29:02 2011 -0500
Add test for force_utf8
commit d95d1fe639882fbe85e78403fbd871407ea14145
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 02:26:11 2011 -0500
Add force_utf8
commit 10d5b16f6f207bd51d05ef232a328fa67165e262
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 02:13:57 2011 -0500
fix test - no idea why it was broken previously
commit 8742ac03b5a7670938440eb9ab8eff1f7517a40c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 02:13:35 2011 -0500
Fix a few UTF-8 bugs
commit 85a24120bd4b693024b9d6428ca260a2426ec176
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 01:47:16 2011 -0500
get output_comment_multi() working
commit 9d3e02ed8091f86f00d095613b40d826f68ac7d8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 01:35:29 2011 -0500
save everything except output_comment_multi
commit 090841b780f60c3ee9ff3c530f5693ea194196e1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 01:13:02 2011 -0500
rework output_comment_multi_simple to use unc_text
commit b895188f6b093010125c2b26c6802233f56f1f10
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Sep 2 01:12:10 2011 -0500
More unc_text usage and cleanup
commit f9736a041e65b92c6040776c73027c289b463e76
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Aug 30 22:32:23 2011 -0500
Fix combining of C comments
commit 911d7c9d316235275094a539341fe7e192b41fb2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Aug 30 22:28:17 2011 -0500
Fix more string-related issues
commit 95ee11320e9bf26c6715d73b1fdcb4301207497a
Merge: 5f4855d a0f6fbc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 26 19:21:23 2011 -0700
Merge pull request #32 from patnotz/testing-howto
Tweaks to the TESTING how-to
commit 878becb3b0f205974efe86fef36616326c706487
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 26 21:19:46 2011 -0500
Save off work
commit 6dcaa6850aa475e76a83d77e7322c67cc1aee3ed
Author: Pat Notz <patnotz@gmail.com>
Date: Tue Aug 2 22:29:59 2011 -0600
Add option for controlling space before trailing/embedded comments
Two new options:
# Controls the spaces before a trailing or embedded comment
sp_before_tr_emb_cmt = ignore
# Number of spaces before a trailing or embedded comment
sp_num_before_tr_emb_cmt = 0
commit a0f6fbcc77cd45c867514b24d0d3e499f2e00fe3
Author: Pat Notz <patnotz@gmail.com>
Date: Fri Aug 26 11:36:38 2011 -0600
Tweaks to the TESTING how-to
- correct "run-tests.py" to "run_tests.py"
- add tip about 'run_tests.py LANG'
- can do "cd tests; ./run_tests.py", not "./tests/run_tests.py"
commit caecd7c26b58926fe00e9d3c110906d9f7e7050e
Author: Pat Notz <patnotz@gmail.com>
Date: Fri Aug 26 15:54:21 2011 -0600
Add indent_ctor_init option for extra indenting of ctor initializers
if indent_ctor_init > 0 then that many extra spaces are added to the
indetation of the constructor initializer list.
commit 63b1c684256183f773eca6740564395631857674
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 25 20:42:09 2011 -0500
Save off Unicode work
commit 5f4855d5a9165fc083c2ed2d65a988e2786054c1
Merge: 69486ca 9f6bdb7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 25 18:41:04 2011 -0700
Merge pull request #29 from JanX2/master
Fixed Xcode build settings
commit 69486ca2d0187c8a3e0fe08da1ea1196f2d53237
Merge: 3437cff c44ee6d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 25 18:32:21 2011 -0700
Merge pull request #31 from patnotz/testing-howto
Add TESTING file to document running and adding tests
commit c44ee6dfb5b60e32725f8df25c9dc93f58177452
Author: Pat Notz <patnotz@gmail.com>
Date: Tue Aug 23 10:16:34 2011 -0600
Add TESTING file to document running and adding tests
The content of this file is from messages from Ger Hobbelt and Ben
Gardner.
commit fe42c67ae018c7ee44f276d0d4ab543710062678
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 18 22:31:37 2011 -0500
Add a completely untested unc_text class
commit 97996a0b51d916d4f25f5b61aecbb4c367f5f19f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 17 22:28:55 2011 -0500
Add a start to UTF-8 and UTF-16 support
commit 9f6bdb7f3880cf90eea86381a1ac7c96ea54f96a
Author: Jan Weiß <jan@geheimwerk.de>
Date: Tue Aug 16 17:54:57 2011 +0200
Cleaning Xcode build settings.
commit b4687cd969dba1ca92b51b6268aae109622ba5aa
Author: Jan Weiß <jan@geheimwerk.de>
Date: Tue Aug 16 17:54:22 2011 +0200
Xcode project file touched by more recent Xcode version (3.2.5).
commit a0639c2b9047e91e585bfbc009fc3eda961d137c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 22:56:16 2011 -0500
Fix comment
commit 3437cffac02717c37c4f7b3d23adc7c73d2a2543
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 21:37:25 2011 -0500
Update test results for new sp_after_new option
commit e7e09ab2b2b67341451bacc11472a6f5330c642d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 21:09:21 2011 -0500
Make do_space() static and don't log spacing if the 2nd chunk is a newline
commit e0e50e81b0ba2c04242b7799d71dd2b6d77dcc01
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 21:08:49 2011 -0500
Add option sp_after_new
commit 3bbe8521f46956d7d879505452b4c7b5273dfd88
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 21:07:52 2011 -0500
Mark the parent of '[]' in 'delete[] x'
commit 7501cad6f93119ae3862a3b84d3934d6c9bd9df0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 14:14:10 2011 -0500
Add new options: nl_after_class and nl_after_struct
commit 46718ae6f0873340e19dde925837ac657274ef7b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 13 14:13:05 2011 -0500
Set the parent type of the semicolon after a class/struct/enum/union
commit 97bba2218fc491ed48bac794a6c2f093a9628dbc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 10 22:02:20 2011 -0500
Add nl_property_brace to handle "public foo bar { get; set; }"
commit 1b30ae951777f26fbbb463bb2cc8e19b222be459
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Aug 10 21:44:11 2011 -0500
Fix the new option nl_after_func_body_class (too much cut-and-paste)
Improve logging so see what changes blank lines.
commit 20b21c2f7cd9c3b635b0fc124541e17074fdf941
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 22:56:10 2011 -0500
Yell if a macro function ending with a semicolon is detected.
Using those in code confuses Uncrustify.
commit 26a283192627880f598f857cf8892338098d038c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 22:55:15 2011 -0500
Update test for recent namespace/property fix
commit 5f547a4988eab08f04d1d22c2c67a6a175fbd4bb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 22:50:42 2011 -0500
Fix detection of "void f(::a::b v);"
commit 238d22c69c8a9bfc67bf029c1b6642f00fafc642
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 22:26:13 2011 -0500
Set the parent of everything between 'namespace' and '{' to fix false
property detection in C#.
commit ef8350ecdbcf65988f708f8d072513deb85bfd5a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 22:11:49 2011 -0500
Add option nl_after_func_body_class
commit a746876a46f9c0437be10248760cef9ea11a3d8e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 21:51:19 2011 -0500
Check for embedded 0's in the input file.
This causes undesired operation.
commit bcee5c52f5922102e57c805141480bc5a41e14d1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 21:38:30 2011 -0500
Keywords 'and' and 'or' may be in C/C++ '#if' statements
commit 057d9e4188d182147d5bd459530b4785811fe117
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 21:28:34 2011 -0500
Add some additional null checks in newline_add_after()
commit 25b916cee118fa9ec92d96a45bd1bfed5bfb95b5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 6 21:00:50 2011 -0500
nl_before_throw only applies to after a ')'.
commit e9d48e186b3969511d24a85c0c5def9ce278d757
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 28 21:50:10 2011 -0500
Use std::bitset for the log mask
commit cb1dbd354b339ae81c03865ccf0e6fb60a4e03ca
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 16 15:38:11 2011 -0500
Add missing test results
commit 0ab0127350eccdaf085c2b5a4e082679746acad5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 16 15:02:48 2011 -0500
Add config file for the 'sun' C++ format (Todd Richmond)
commit 9519de3a7e44f903ce5fbc56b6182579fad8a1c4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 16 14:57:41 2011 -0500
Add Visual Studio 2010 project file.
commit f4c5357612d26e94a5951336d58c5b351dab3c65
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 7 22:19:54 2011 -0500
Clarify the description for nl_func_var_def_blk
commit 6cbeb6fba003f19fc4a56261072accd34900cbd2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 7 22:15:59 2011 -0500
The continuation indent applies to the next line, not the current
Fixes SF#3348571
commit abb5ed155825b5756328d226881e041882a4e96b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 6 21:31:19 2011 -0500
Make the nl_func_var_def_blk option take priority over nl_before_if, etc
Fixes SF#3348594
commit e7990ff73274f4d4ed6fe89853148c9a58d23efa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 6 20:37:57 2011 -0500
Remove arbitrary limits in align_same_func_call_params()
commit 0fd87aad1bc102221d45d75caee772ea370e36fe
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 6 20:30:12 2011 -0500
Fix align_same_func_call_params()
Fixes SF#3354409
commit f6ab1b08e9327f22c4077a212c793b14c55b08cb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jul 5 22:07:29 2011 -0500
Use feof() to detect the end of the stdin stream.
commit 5ddffe8ca744cbe8cfbff11632460b59769f4939
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 22:49:35 2011 -0500
Remove std:: prefix, now that we are "using namespace std".
commit c3224461bfdda91c8414095b31aa87ece0817434
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 22:49:09 2011 -0500
Re-run update-default-cfg.sh
commit 313c87ae4403b76c31a7302c6d6374f0fbae6f39
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 22:48:46 2011 -0500
Remove newline at the end of the option text.
commit 7d627682a0b5aeed41abf467d5f3253641ea75fb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 22:46:29 2011 -0500
No longer need malloc() or realloc()
commit f7d16638d056a2e1a2df0e6f298b786153f02e6b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 22:40:45 2011 -0500
Use std namespace and use std::vector for file data.
commit 067d13ae43eaca6c67036d459f51617b53bc17c8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 21:49:42 2011 -0500
Use std::map for custom keywords.
commit 29371a4b44cb5af4375dcf2364af607c4c6952b7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 21:48:17 2011 -0500
Use a std::map for the custom defines.
commit 4c7c49574de4360bd233b67622f62dba1bb4d413
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Jul 4 15:25:28 2011 -0500
Move add_long_preprocessor_conditional_block_comment() out of defines.cpp
commit 183a3ab83f52c14d91fa71f6b9a845a4ff3ec55b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 2 17:32:11 2011 -0500
Remove unused typedefs and types.
commit acc0a1488f581f1a5d3a0f389a29d645db24a13a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 2 17:24:14 2011 -0500
Rework ChunkStack to use std::deque and not manually manage memory
commit c45d8a349f8964c6f36bece12c5fcfcbffd0a6bf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 2 16:15:23 2011 -0500
Replace C99 construct with new/delete.
commit 7d2f25f76cd051e58d4599c07820778bbf6d543d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jun 17 14:47:50 2011 -0500
Add more to the C++ operator test
commit adb08f32bc3b8f77dc5efb86bd3f33be3da82b2b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jun 17 14:45:58 2011 -0500
Clarify the description of sp_inside_square
commit dd537926695d380f6aec1e4bd8ce551dd2f37219
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jun 17 14:44:35 2011 -0500
Properly handle 'operator []', 'operator new[]' and 'operator delete[]'.
Fixes SF #3317841
commit 314cf189824f261afd6673f5b90cdb9f3ac92778
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jun 17 10:55:07 2011 -0500
Use the comment size as a guide for how large a line can be.
Fixes SF #3317781
commit 2b9adf5b10bc501d4256bc77130c243d8bcd78e0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 17:25:54 2011 -0500
Remove obsolete subversion $Id$ tags
commit 59e7dd641a525f3eb6086fc2a3774ccaaed4c30f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 17:18:13 2011 -0500
Redo the options to tests/run_tests.py
commit 4cfad57e4785c0989a9192a2a0f8baf9d7ac8ee1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 17:06:27 2011 -0500
Extend the test script to check for stability.
If a test passes, it runs uncrustify on the output and checks to see if it
changes.
commit 9073b78f0fb4219e229c4a161669eadc17a4e26b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:50:52 2011 -0500
Do not remove braces if set to AV_FORCE
Fixes SF #3289119
commit 9db88d5c5831b599323fbd00290beaa64485e900
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:39:39 2011 -0500
Fix indent_cmt_with_tabs for comments in the first column.
Fixes SF #3310758
commit 4cf28b5c5eafec045424084f69b21c1189e01ad7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:34:30 2011 -0500
Sort the keyword table. @synthesize and @selector were out of order.
commit 317b7f0e04f575dd3de1dd50bf863cbf7c9562a6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:21:11 2011 -0500
Add handling for the Java assert statement
Fixes SF #3304061
commit 4efe8c86ce16fc9fbfb00ab18725c3063e75dcfc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:18:37 2011 -0500
Add a test for the Java assert statement.
commit b69eadfbc8f1b51b09fbb948373c486b2b7ef106
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:16:52 2011 -0500
Add a specific keyword for the Java 'assert'
commit 28f342227228f6bed4fa65e92bf161ef6a898dca
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:15:58 2011 -0500
Add test number ranges to each language test file
commit 9e911263e5d1055ad28fcec4745d592421025efd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 16:12:27 2011 -0500
Renumber the C tests
commit 6175a01d970d9bad6138fea083ecce3b283d6747
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 15:37:50 2011 -0500
Fix some NULL-derefs in add_long_preprocessor_conditional_block_comment()
Closes SF #3306280
commit 116e2e6d87bc741a47b3dcbdefadc0323c3000ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 15:29:07 2011 -0500
Try to do a better job at handling user-defined literal suffixes.
Fixes the second issue in SF #3306237.
commit d42b30e474ffd4aabe262b748520ff05ca1f9159
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 14:54:53 2011 -0500
Recognize the C++0x 'constexpr' keyword
commit 983dd90b2a03525955c0faa854ddc953c8a18cb8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jun 11 14:39:44 2011 -0500
Change parse_number() to allow decimal numbers starting with a 0, as in 08.
Fixed the first issue in SF# 3306237.
commit 92a6a6b2ccb7916d56aa6d3956b2e773bd9f82c8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 7 20:50:38 2011 -0500
Remove diagnostic code about unexpect chunk in struct/enum/union
commit 2cc9f6d51ba0d091c6e4e1b3f876528a6d2648b2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu May 26 21:21:27 2011 -0500
Suppress log on expected chunk
Fix SF #3307476
commit 586f958edf0d2303fe6411370958fe15a6465ae2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun May 22 10:20:21 2011 -0500
Update tests for SF bug #3305534
commit df55dc01c7f5358f8572ea23df46374d0752458f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun May 22 10:10:26 2011 -0500
Fix detection of operator() function calls.
Fixes SF #3305534
commit 7bf25d620c3fd11f2edaad43ba71139deae6ca9f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu May 19 22:13:45 2011 -0500
Uncrustify 0.58
commit 6ed81d30cf926218d873ea644fdfe016343cb1bf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed May 4 21:09:14 2011 -0500
Do not corrupt files that contain non-ASCII UTF-8 characters
commit f4c1969ad44a8ae7c79dcb616aed2e70d81989a8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Apr 20 22:07:39 2011 -0500
Add missing test file
commit 5b8cf13145ed0e104d6add03a338b8c80b1f6c1c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Apr 20 21:50:19 2011 -0500
Add a test for aligning static class variables
commit c581c009194be58024a1eaf53d9c753ffdde06f0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Apr 20 21:49:28 2011 -0500
Skip over member stuff 'foo::bar' when aligning variables.
commit c6266ba06538ebda17cc3bcd8b9ba5a218dda324
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Apr 20 21:37:47 2011 -0500
Back up past and class specifiers when aligning function prototypes and
single-line functions.
commit edaa77817e796fbd54c55106da068aa8789f4b36
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 23:40:34 2011 -0500
Fix '*' detection in "BYTE** c = new BYTE*[12];"
commit 7925530f1e5405d738729607d9761c7e8f1ead98
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 23:20:24 2011 -0500
Label the '&' in 'TYPE &' as BYREF.
commit 4b8f3fb5ace5d2286315dcc815a4e6c0d6bf700f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 22:57:07 2011 -0500
Handle MS extension: 'for each ( xx in yy )'
commit 5885e05beac1496cb9ad5688f28edd9d63c198b0
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 22:42:58 2011 -0500
Fix the description for mod_add_long_ifdef_else_comment and
mod_add_long_ifdef_endif_comment
commit 837ccbf4713428383857453fcd1ef1831dfb2036
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 22:38:18 2011 -0500
Add test for D sized enums
commit f9263ccd64d06fb2a9425ff55e8caaf522936645
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Apr 16 22:35:43 2011 -0500
Correctly handle D sized enums in "enum x : int { ... }"
commit 8438283ffd1ce36116c2b252362c835a7f4f7326
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Apr 8 18:24:55 2011 -0500
Fix cut and paste error in description for cmt_insert_before_preproc
commit bc33025cb4fa8772fe036cdc6f6cf1a665525f64
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 19 09:11:55 2011 -0500
Add inserted comment substitution for "$(message)".
From: Kevin Hardman
commit d633b408c604babcaf349b7418d519e3f8f0bd20
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 19 09:10:42 2011 -0500
Add new option cmt_insert_oc_msg_header.
From: Kevin Hardman
commit ce5edfe22ae1d6b0c3d27e516a8f2dff6b777fdc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 5 15:33:11 2011 -0600
The default for tok_split_gte is now false, so it needs to be set.
commit 4a011f3b8d44762adadcef4f071bc04ab6c982ef
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 5 15:29:17 2011 -0600
Fix detection of this: d[i].e * f();
Was detecting 'f()' as a function prototype, should be a function call.
commit e02cea59246cd98e2e4682a126a15a83d8f9a2fa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 5 15:28:10 2011 -0600
Fix segfault introduced in the last commit.
commit ee31f327f5b1faf197bb86c7942fb2e35a685c89
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 5 15:14:26 2011 -0600
Mark the parent of braces if an open brace follows a function call.
Fixed SF issue 3171797.
commit 01c2d27e0f8f4a4fccd037c4aabe00b7dd25eec2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 5 14:48:01 2011 -0600
Change the default to NOT split '>=' if it could be the closing part of
a template.
commit 8a6089244856829128c3f0d2a7fe0b65010c765e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jan 21 22:25:13 2011 -0600
Add a hack to allow a something named 'class' that isn't part of a class
definition. As in: "MyClass.class.getCanonicalName()"
commit d57a1a30683db491fa00879509dfe506e3dad6c6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jan 21 21:58:56 2011 -0600
Add some special handling to allow ObjC to use some keywords as identifiers
commit 03b4a31c63a15b75d3c8759a6d92610e450c5ad6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 6 10:23:33 2011 -0600
Add a test for detecting function parameters
commit 3e4c826e4cacd760c3b7860a4366549be917b445
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 6 10:05:50 2011 -0600
Function parameters may be arrays.
commit b1b19b9ddd9411f99ccd642308856d071f157440
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jan 6 10:04:38 2011 -0600
Use chunk_skip_to_match() instead of chunk_get_next_type() where appropriate
commit af7ee0f748283ff39e20eae928fd6eab630c54dc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 1 13:42:12 2011 -0600
Change logic so that align_keep_tabs doesn't break align_with_tabs.
commit 2ad8fc4030d34aebd55ff1a138a3208f558680d7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 1 13:18:55 2011 -0600
Change some keywords to CT_WORD between '@interface' and '@end' (ObjC)
commit a726617e74b739a54f6fda3487d17180de3e9ba1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 1 12:46:44 2011 -0600
Allow function types inside function parameters in a prototype.
commit a6f728ec83a5798f65566cf70f67b0eea44e2050
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Dec 31 14:52:23 2010 -0600
Add tests for sp_catch_paren, sp_throw_paren, sp_version_paren and
sp_scope_paren.
commit 135d677b97e3dea11600ea0adce9228563a0e583
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Dec 31 14:49:28 2010 -0600
Add new options for D: sp_scope_paren and sp_version_paren
commit c6a66430edfc6d2e0705b396a0877511aa7d6042
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Dec 31 14:28:23 2010 -0600
Add option sp_catch_paren
commit 27df8f102b8848b347a5788206795b175bdd4c9d
Author: ben <ben@ben-desktop.(none)>
Date: Fri Dec 31 13:51:16 2010 -0600
Only mark a colon as a CT_CLASS_COLON if at the same level as the parens.
commit 6840f94af18dcc30f252bf0c45642673f7ba901b
Author: ben <ben@ben-desktop.(none)>
Date: Fri Dec 31 12:15:00 2010 -0600
Add option tok_split_gte to disable splitting '>>=' and '>=' in template
detection.
commit e6528e71b685a73ee30da0eabe3521ce03c3d8a9
Author: ben <ben@ben-desktop.(none)>
Date: Fri Dec 31 11:33:11 2010 -0600
Don't right-align if align_on_tabstop is set.
commit 5c2a8b36760bf64059a5b60bf6f827b190cdb2cd
Author: ben <ben@ben-desktop.(none)>
Date: Fri Dec 31 11:31:00 2010 -0600
Remove some duplicate tab-calculating code.
commit b144060febe17aea8a38ee758f125452281d454c
Author: Hannes Schmidt <git3@hannesschmidt.net>
Date: Sat Dec 4 16:06:49 2010 -0800
Fix detection of whether inside Obj-C msg send
Fixes sp_before_send_oc_colon and sp_after_send_oc_colon that were probabably broken by 42b1ed31999d4926188acf881912b49958282dac. Also revives the intent of cb9c866934ff2937e59eebab7dfeb937de73f792 broken by the same commit.
Signed-off-by: Hannes Schmidt <git3@hannesschmidt.net>
commit a22f48121a9eeb207230c0063d0c51f38ce8fa82
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 25 10:46:38 2010 -0600
Add note about how to push a tag
commit 0247755e1496b876c4fa5759eafb6ebc1b47a459
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 25 10:20:27 2010 -0600
Prep uncrustify 0.57 release
commit cbb8025fd6ba45664ed49e7f4d4c4e215fc77b01
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 24 10:51:39 2010 -0600
Bail on template detection if we back up into a return and there is a
boolean op in the angles.
commit ef6ccbacb8583b22c9d3df8a2b3c9bf808628cf7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 24 10:09:09 2010 -0600
Fix detection of anonymous bit fields in a structure
commit bda365fd6805565584ab02237862cc961eb99723
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 20 10:25:09 2010 -0600
Fix incorrect removal of braces of an 'if' statement that is followed by
and 'else' and have a nested 'if' before the 'else'.
commit 2d1498c30ae7aa985fbde3d882ab2d35092b4adf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Nov 15 17:22:08 2010 -0600
Don't change the '*' in the following to a ptr_type:
struct { int a; } b[2 * SZ];
commit 233256cc6a661ff8ff56f31172602b11be9c4149
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Nov 15 17:12:34 2010 -0600
Improve labeling of the angled brackets in protocol lists as in:
@protocol Shape <NSObject>
commit 5276460b2449fe3f4410a44c47ff29ff3ada3773
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 6 14:18:41 2010 -0500
Do not indent ignored text.
commit 196b1e23fe67070290285ee9e180f2c3a1ff1949
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 4 10:09:44 2010 -0500
Add support for Q_SLOTS and Q_SIGNALS. (John Volpe)
commit e936d42ed978b8e1497ec4b65171f52262795ff5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 4 09:55:04 2010 -0500
Update test to cover classes declared with scope.
commit a690b7bcce5371935c569c0d9564da23e125070f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 4 09:52:14 2010 -0500
Skip over '::' when looking for the class name.
commit cf154549c630206d22e4fca3b27e1672cc6ed26a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 4 09:44:08 2010 -0500
Fix indent of ObjC class if there are no messages declared.
commit 2382da103bd64ff866d0ce4a875436a5e8fd7740
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 4 09:16:23 2010 -0500
Check for indent-on on the current line before parsing off whitespace.
commit 91808ad839f2aeb6566192beeac2f10f55027259
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 3 22:13:04 2010 -0500
Add D support for 'unittest' as a plain old symbol instead of a keyword.
commit 49ddde72b5c528633c37341123a2a09da12db431
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 3 22:04:35 2010 -0500
Fix detection of " *INDENT-ON*" when the comment isn't in column 1.
commit f7c0b6f5edf89f72cf9a01405d4611b8da1c5223
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 3 21:48:06 2010 -0500
Fix handling of multi-line CPP comments.
These are '//' comments with escaped newlines.
commit 4dffd493412a5811e0b1cbfe1b31470511c75e34
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 3 21:03:25 2010 -0500
Add support for the D template format that doesn't use parens.
Example: "to!string(1.2)" or "TFoo!int.t x;"
Fixed bug #3091128
commit 2b2ceb78c6db5e1b1a099c11a1932b740ebb075a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 7 21:52:27 2010 -0500
Treat 'try' followed by a colon as a qualifier to handle this format:
A::A(int) try : B() { } catch (...) { }
Otherwise, a virtual brace is inserted after 'try'.
commit 4c5d7b7377efcda9e2c1573e2178ebe5a5386b55
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 7 21:40:14 2010 -0500
Fix detection of the language of files passed on the command line.
commit 11fb326964e5096b75f2a3edb171851794163bb5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 7 21:26:31 2010 -0500
Zero cpd.frame_count before scanning the file.
Force the preproc parent type to the correct value in pf_check().
commit a0c308b86bff8f29609b3dbc866317293317de2f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 7 20:17:24 2010 -0500
Add minimal support for C++0x rvalue references
commit 67365501baa5df7b617a97ede8597809f102b727
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Oct 7 19:26:58 2010 -0500
Add support for the MS-specific '#@' charizing preprocessor operator
commit 52a3525fed0b407a01dace8f959b22e369f84fc1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Sep 1 20:12:49 2010 -0500
Comment out mark_struct_union_body log statement.
commit 247a8053952291032b134b8ef2d35f94e4707d8c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 28 17:58:14 2010 -0500
Update test for C++0x R strings with embedded newlines.
commit a20c582e003cccb1fa2f8f0f696c71ea3799dac2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Aug 28 17:57:50 2010 -0500
Newlines may appear inside the C++0x R"(xxx)" strings
commit d1db1dd3ffa9983f9c07ecd824fba68785b55f9d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 26 20:51:22 2010 -0500
Update the tests for the newly added C++0x literals.
commit 5af337c38f0dd8025ae46e2ccbf290d2b43a2638
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Aug 26 20:49:10 2010 -0500
Add support for C++0x string literals and the user-defined literals
commit e63fe8b359ac2efa1e015c87ae4eb079de7071fa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Aug 13 09:00:40 2010 -0500
'foreach' isn't a C++ keyword
commit f543e31a8c6fe5b9b31fead5caafd970277319d8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 28 21:41:59 2010 -0500
Fix incorrect log text
commit 525014a12e3e5427e61f6f607d985fae87ab9657
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 28 21:41:47 2010 -0500
Improve support for D casts and const(type) qualifier.
commit 0c9675a86e8225fe65bdaaf9a3138f6efe7c4d12
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 19:15:06 2010 -0500
Rework tests for new nl_func_def_xxx options
commit fece00a87048a3e2631356c8d10ddd947498c6ad
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 19:10:09 2010 -0500
Adjust config to pass with new options
commit 2d1e4acc633a1ddf65d1f6a19c0c25ca29b8bbe8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 19:09:41 2010 -0500
Add nl_func_def_paren, nl_func_def_start, nl_func_def_start_single,
nl_func_def_end, nl_func_def_end_single, nl_func_def_empty
commit 494715379a4b277fa72ff029ae9593f063125730
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 18:46:34 2010 -0500
Enhance tests for nl_func_def_args
commit 462b272579de97a1140fd7a8fc7f3f3bb21ee198
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 18:45:35 2010 -0500
Add option nl_func_def_args, which is nl_func_decl_args for function defs.
commit 022a9f957da6f907a07f492af2cdcbf9e3d7883b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 18:22:40 2010 -0500
Fix interaction between mod_case_brace and mod_move_case_brace
commit 74b73e29483c52fba4b34decde389a837373fbc9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 18:17:44 2010 -0500
Add more logging for inserting blank lines.
commit 7449c779ffa8944adae43d4579515d1f1540de18
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 17:48:59 2010 -0500
Add option sp_func_call_paren_empty
commit 033a4ff4fab8954f6f66e79245e550ef623dfe10
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 17:46:37 2010 -0500
Update tests for operator byref fix.
SF bug #3023966
commit 54a60a6b912bfbd2fbe0366fe1907f4651d8c79f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 17:27:46 2010 -0500
Use column_indent for checking to see if a comment is off to the right.
Fixed detection inside of switch statements.
SF bug #3032787
commit e54a3e147d4e7f44a5f54a82e7c8469c819bf0c1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 16:59:22 2010 -0500
Change operator tokens into a type before merging into CT_OPERATOR_VAL.
Fixed SF bug #3023966.
commit 508abd9c8fc41e14f0f498df27afa1234d8ec79b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 16:45:18 2010 -0500
Try to do a better job of handling struct/union bodies, reusing code.
Fixes bug-3029014
commit 7425e9e102cc81381b366a814176e8914bede5f1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jul 25 16:40:56 2010 -0500
Update test for bug 3029014
commit e2166d7634e28f44352bdab4e5d0e70cc8dd1606
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jul 24 11:45:31 2010 -0500
Add missing ChoicesReadable for lead_break, lead_force, etc.
commit 931d0b7e5d381c9849695f1f56c3dd19fdea1e93
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 21 21:54:33 2010 -0500
Add a test for templates.
Illustrates SF bug #3019852
commit d5f09b310e3ac6acb7cee023a16a8fe8d98f75d2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 21 21:51:19 2010 -0500
Mark token after '+' as starting an expression
Fixes SF bug 3032782
commit 07fc9a7e6179d77d0170ecadf66c285896f12542
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Jul 16 17:16:24 2010 -0500
Add --frag option for indenting a code fragment.
commit 5777fe7d9a354b074e579a18630f5e30b90bbea7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Jul 15 20:43:23 2010 -0500
Templates: Only split a '>?' if the '<' is at the top of the stack
commit 9b77f5bfe4dd4593e3b5e0a9da64c252704b7b2c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 14 21:51:02 2010 -0500
Improve throw() handling. It is either like return or const.
commit 73a33f4b4952992351d9e2c6ab05660b03a76c0f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Jul 14 20:09:27 2010 -0500
Fix removal of braces when the body contains a braced statement + extra stuff
commit 877bf9e44a20e8381ccd342d5f763789e12d10d9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jun 8 07:53:44 2010 -0500
Increase the hard-coded template depth from 16 to 1024.
commit aefb0814b43b59ca3abfbfc5366653efe065075c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 17:05:16 2010 -0500
Rebuild automake stuff after applying the last silent build patch.
commit d2c438a56776a04c945972961a4cd11c96b9630b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 17:03:52 2010 -0500
Use silent rules instead of nostdinc
A nice feature of automake is that it allows a VPATH build. That is,
a build from outside the source tree. This is disabled in uncrustify
via nostdinc in /src/Makefile.am. If the purpose of using nostdinc
is to clean up the output of the build, I recommend using
silent rules instead.
commit 10ef222f462174a92d727f2afd669f346d0deb4c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 16:54:58 2010 -0500
Skip over CT_SPACE when looking for the chunk to align the open paren.
commit 4b246dd11309323b446e31f4b75835f1289d471b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 16:18:22 2010 -0500
Close out the assign on a level drop inside a preprocessor.
commit b120022d230e7c3e623269128ab27ea0838b8e11
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 15:41:20 2010 -0500
Clean up some minor (?) code issues.
Tests still pass, so I doubt the code in question mattered too much.
I'm sure someone will let me know if this change breaks something.
commit 211a7366ea612ae18153b660a847f34ecd75ccf6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 15:11:17 2010 -0500
Properly mark the return type of an operator function def/proto.
commit f446787e4de9add6467646d3b17dcc9c50b2a157
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 14:44:28 2010 -0500
Update test to cover a class declaration with a macro before the class name.
commit 56de0a62647e9fe5970e6ce5c5242af81be36006
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 14:43:24 2010 -0500
Handle macros in the class name, detecting the last word/type as the class.
class MACRO foo {
};
commit 84162ab363cb62b1e355d055aaaad23cf9b6429a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri May 28 14:24:05 2010 -0500
Reset the column after outputting the BOM.
commit 5be5734967ad787c22d5e3a30d5c15d7646e8b6b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon May 17 18:23:44 2010 -0500
Clean up build and project files.
Rebuild the makefiles.
commit 3fce21b5dd8f61adf4aab3a8c71209e22d957452
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon May 17 18:21:09 2010 -0500
Reduce the number of places where the version needs to be manually entered.
Automatically generate the man and version files.
From: Ger Hobbelt
commit efb84c2491d76b5f32e22b54561c69afb11796bf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu May 6 08:25:53 2010 -0500
Check for NULL to prevent a segmentation fault.
Fixes Debian bug #580195.
commit 9a25a81a035dd7c1fe3d25213be14b482d48465d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Apr 25 16:49:26 2010 -0500
Fix newline handling between 'private:' and a constructor.
Fixes bug 2983317
commit e635598c2ccf3a8d017bd2d88df59e3aa18326e4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Apr 21 07:56:03 2010 -0500
Fix spelling (paramter -> parameter) and regenerate the default configs.
commit d256f0dfb9ec59b74d145da2b02bcbfc969980fa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Apr 11 08:36:24 2010 -0500
Fix sp_paren_comma (was hard-coded to FORCE)
commit a82bdbf9fa8b2f43340338329162ea61fde7496f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 19:03:11 2010 -0500
Do a better job of resolving '>>', '>=', '>>=' vs '> >' for templates.
Affects C++ and C#.
C# parses '>>' as two ANGLE_CLOSE and the logic must combine them when
it is supposed to be a right shift.
C++ parses '>>' as right shift and must peel off the leading '>' as needed.
commit 7d5ef5c2d156b979ed1508ac1ad87ad4b40c39e6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 18:59:57 2010 -0500
Add sp_angle_shift to control the space between two ANGLE_CLOSE.
'>>' vs '> >'
commit 48542c381460f20d5e5e4316e46c3a97d9d8fc35
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 18:07:47 2010 -0500
Make sp_cpp_cast_paren affect TYPE_WRAP.
Example (assuming SLIST_HEAD is set as TYPE_WRAP):
typedef SLIST_HEAD( , foo) foo_list_t;
commit 495501c3a2e6e6450b4654b7524e4b87aee99775
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 18:00:46 2010 -0500
Add sp_paren_comma to handle the super-rare missing first argument in a
macro.
"typedef SLIST_HEAD( , foo) foo_list_t;"
commit 2f37327eab974d6faa2148af43347eea9be653bd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 17:56:45 2010 -0500
For mod_full_brace_xxx, 'remove' must be done before 'add' to make
'force' work right.
commit 174fc88607a0d4f0eb43bb66ccd7e5878bf33ebd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Mar 30 17:55:34 2010 -0500
Label colons inside a function call as CT_LABEL_COLON
commit 044aa182b0cc8ea2699345fc713dd672ec4c48c3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 16:40:16 2010 -0500
Prep for version 0.56
commit bf91a0e8452d67043c1f173d4c3891ee5e28ac44
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 16:10:56 2010 -0500
Add sp_assign_default to control spacing around '=' in a prototype.
commit 6a2668606926b8c5e11317438e5b5264578bed91
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 15:52:28 2010 -0500
Improve test for nl_func_type_name
commit f85b85ca8d5eb24316dbab512bbbf6467b5ed280
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 15:46:53 2010 -0500
Improve align_oc_msg_colon_span with nested messages.
commit 1eebba4b93bdb9e76ee0beff1c5c710b52025215
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 15:24:56 2010 -0500
sp_after_oc_at_sel_parens should not change space if followed by a
square close.
commit 18d8d2bba441dc81cf8f494bf3e6b689edebbe52
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 15:10:49 2010 -0500
Do a better job of labeling ObjC message statements.
Examples:
[class func: val name1: val1 name2: val2];
[class func: val : val1 : val2];
commit f099fadff2e38c28d2e0ad3d9b897dee19dc76f4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Mar 27 14:07:39 2010 -0500
Insert function comment after the access specifier.
commit e2fd5395a37392dd0ec26a0acc402aee2fe28794
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Mar 26 17:43:10 2010 -0500
Detect the C# using statement - using (xx) { }
Add mod_full_brace_using and nl_using_brace
commit 62a453f2c01f3a4938025c5750c485e4271c3310
Author: Emmanuel Christophe <emmanuel.christophe@gmail.com>
Date: Tue Mar 23 22:52:37 2010 +0800
Add test for indent_braces_no... options
commit bd5f91f005dca20403680000b89b3fcbf5cb14d0
Author: Emmanuel Christophe <emmanuel.christophe@gmail.com>
Date: Mon Mar 22 22:18:09 2010 +0800
Add indent_braces_no_struct option
commit feec2a8fd4572f81b5a2f38ce91a1237255885d4
Author: Emmanuel Christophe <emmanuel.christophe@gmail.com>
Date: Sat Mar 20 23:44:28 2010 +0800
Add indent_braces_no_class option
commit b2354a0a0980bb827745372310b476b6c46afa45
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Mar 8 19:29:00 2010 -0600
Add a script to build a win32 release zip on linux
commit faec052dcf9bfbed8788a63e283917ef7901eadf
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Mar 8 17:52:20 2010 -0600
Use PRIx64 to show the flags, like is done everywhere else.
commit 42b1ed31999d4926188acf881912b49958282dac
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Feb 19 21:55:58 2010 -0600
Add sp_inside_oc_at_sel_parens and sp_after_oc_at_sel_parens.
Make some @selector options also apply to @protocol().
Set the PCF_IN_OC_MSG flag instead of changing the parent of everything
inside a OC msg.
commit b2bc11feb5717f553e16a074dee90195b3752bfb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Feb 19 21:21:01 2010 -0600
Step back to a non-inserted token to get the backslash position.
Fixes issue 2935688.
commit 58d7dbd5d9a88ecaf47e9f6d17e7988f26a6491d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Feb 19 20:59:29 2010 -0600
Fix mod_full_paren_if_bool interactions with ternary conditional (a?b:c)
Fixes issue #2943323.
commit 8909c9fc0c8f9f308c1ccef1bfc4cef5ce889d5d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sun Jan 24 21:02:19 2010 -0600
Spelling: statment -> statement
commit 5b4be42d368a2d8c049cd3361b1901649ec57c63
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 16 12:30:24 2010 -0600
Fix incorrect indenting inside enums.
Bug 2930752.
commit 10b633d6d50af6faf979953fd07f2aec5e0b7f6f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Jan 9 11:09:56 2010 -0600
From: Mathieu Lacage
Force uncrustify to respect the nl_func_leave_one_liners configuration
option for constructors and destructors.
i.e., if nl_func_leave_one_liners=True:
Foo::Foo() {}
is left as-is.
Without this patch, it is transformed into:
Foo::Foo() {
}
commit ba2bdf90a110bda22d5e865fadfd9db9afd2f74c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Jan 5 21:16:19 2010 -0600
Don't mess with the position of a backslash-newline in a comment, unless in a preprocessor.
commit 0578f7c5b5202481756c16bbd480ab4787f80961
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 31 13:33:18 2009 -0600
Change 'newline' to 'blank line' in some descriptions.
Clarify an option description. -- Thanks Ronan (rdan)
commit 921c1ca41e18772b1e70d90dc822508e2993221c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 31 13:31:35 2009 -0600
Add indent_first_bool_expr - Thanks to Ronan (rdan)
commit e042712e0a623dd7db2df136fca4c391aa0fd9a2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 31 13:15:55 2009 -0600
Update the vpj file
commit 0796009c9f506159d19d12440595e6c9786b5d65
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 31 13:15:42 2009 -0600
Extend the pos_xxx options to have xx_break and xx_force options.
xx_break adds a line break is one wasn't present and xx_force removes extra
newlines so that there is either one before or one after.
commit 49f7ce6dbdcf48aea20c114aaadc24afa4aca45a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 16:51:01 2009 -0600
Update template test for the latest fix.
commit a9df57a0d1d2849d01121e04ecd7ffa104ebaac7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 16:43:29 2009 -0600
Allow a function prototype to be wrapped in a function call at the top level.
#define MACRO(a) a
MACRO(void foo(void));
commit 38870ae909a97a4e6cc065437c23da70f977a678
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 14:15:48 2009 -0600
Indent ObjC msg declarations that span more than one line.
commit 6a360a75b81c6e5e821d4711b0e2e8d375e7afa7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 13:30:47 2009 -0600
Add option: align_oc_decl_colon
commit d29556fc7ae373ed860842edee8d99163dbcf084
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 09:15:01 2009 -0600
Add a freebsd style test
commit 096e5c1ce1cbf7df35146012ccce41e1f176e89d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 09:07:11 2009 -0600
Add indent_continue support to variable definition indenting.
commit 09b97918833807fc7be2bc737d21ff4e98466ff6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 08:50:33 2009 -0600
Update test results for recent change in nl_else_brace with regards to
virtual braces.
commit 74a1427b4c48c8cebeb192b635a184a5b7be941b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 08:47:59 2009 -0600
In if/for/while/switch/do/else statements, if a newline was added around the
vbrace open, also add one around the vbrace close.
commit 098fc1598fac6ea19b2328502dcdc919223352a6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 08:46:52 2009 -0600
newline_add_before() and newline_add_after() should ignore virtual braces
when checking to see if there is already a newline present.
commit 541ca14b9226aad5184ebffba9ee463857ce0afc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 08:45:58 2009 -0600
New option: nl_after_vbrace_close
commit cf53884b8a5b066aba1f5d82995eb7b2162337d6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 08:03:10 2009 -0600
align_same_func_call_params: only align function calls that are right after
a newline.
commit 7e0dd190729658e3db8a64c408d83c7cac3fbe1d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 30 07:52:12 2009 -0600
If an exact option name match doesn't work, try comparing only alphanumeric characters.
This will accept options that were copied from SF's broken web interface that have
the underscore characters stripped.
commit d66f78b95905e2680e378fe4dab5e68e1771fc30
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 15:00:01 2009 -0600
Enhance one-liner tests
commit 3b8acea8a478238db3b27290efbace5fd9b19a86
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 14:46:38 2009 -0600
Make nl_if_brace, nl_else_brace, etc, able to insert a newline between the
close paren and the "a++" in "if (foo) a++;".
Will not do that if leave_xx_one_liners is true.
commit bec510f9ce24a89c25df786266fdfce75f8abec9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 14:29:16 2009 -0600
Mark virtual brace one-liners
commit 1e86a51400bd99f94b120726f403f10e0f9996e8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:58:51 2009 -0600
Mention that cmt_indent_multi disables keyword substitution in multi-line comments.
commit e63d84a58f7f4f7e13553e5c49d011a5e2866d6f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:42:17 2009 -0600
Add tests for indent_var_def_cont
commit 399530476d7280b7d5888dbae5a8a6a8979fa784
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:35:10 2009 -0600
Use an empty config instead of /dev/null
commit aa5a2135aded6a19e7995b5072db6a18097dde73
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:27:24 2009 -0600
Add indent_var_def_cont and indent 'a' by one tabstop in 'int \n a, b, c;'
commit e0cae88fb3559e4a60a7e22fee9d9ff67e03ac99
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 28 13:31:00 2009 -0600
Add option indent_var_def_cont
commit f7891ea8ec39151cc23f52a22de6322c0e370daa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:24:02 2009 -0600
Variable definitions cannot appear in an enum
commit 8d72d2210ef3c9fd080cffcb26f080e55b32d6a5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:23:13 2009 -0600
Split the flag PCF_IN_ENUM, creating PCF_IN_STRUCT
commit d55e99d732915ef38b2709b95dd7d00235bd3611
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 13:22:03 2009 -0600
Extend the flags variable to 64 bits
commit 5c81851d01649f53ded1353d4471a5df27e4090d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 29 12:46:03 2009 -0600
Fix language check for PAWN and D enums.
commit 992447afb354e34cd5b3cd3224c927fde113d6d9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 28 11:31:03 2009 -0600
Expand test to cover nl_func_type_name with constructor variables.
commit 7a3fe5a03884e7928d1cd5d3452d81f18b61490a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Mon Dec 28 11:29:54 2009 -0600
The fparen parent was being set too early, breaking proper handling of 'constructor' variables.
commit 4d1c3f01cc6f056c8e4860145c8380ebf83ecc73
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Dec 24 11:27:48 2009 -0600
Add LANG_CPP to 'foreach'
commit 82b1ec3b5a705552b175fc80ee8d6c56e0edbd8c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 23 21:10:27 2009 -0600
Fix aligning '<<'. The code was too clever.
commit 70363eb72ce236de774a89af0ca54195167078c4
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 23 20:42:10 2009 -0600
Make sp_before_dc handle any keyword before '::'.
commit b18e56af0cdb1c312c30b7c84b449a3f9ea94d04
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Dec 23 20:29:05 2009 -0600
Fix off-by-one problem with align_right_cmt_gap.
Clarify what the option does.
commit 3103fc2ff6163ba3c1b6bea0fe3c1f996d5946cc
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 22 22:04:06 2009 -0600
Fix marking of a destructor
commit bae94e27a383b7dfcc35147cdb7815608dad4121
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 22 20:17:45 2009 -0600
Split out and handle the Objective C '@protocol'
commit a856c5fd63c1fb946cfbea2ac07199efdd7aa812
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 22 19:01:19 2009 -0600
Don't change PAREN_CLOSE to OC_CLASS_EXT
commit df905852d2661f230151da2e55c15282115537a6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 8 20:57:38 2009 -0600
Makefile.in is required to build with MinGW.
commit c65e73ddc886f296e106e976df4dd800d9aefef2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Tue Dec 8 19:10:07 2009 -0600
Change include of windows_compat.h so that it builds under MinGW/MinSys on Windows
commit 714500275add5b811d4bc0604f1748b394f59cef
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:20:42 2009 -0600
Finish removal of d.tokenize.cpp
commit d99335251ac8974585c4e4763c1b724bc1b408d6
Merge: 3d40b0f 78d5e7c
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:18:20 2009 -0600
Merge branch 'freebsd'
commit 3d40b0f3ebe93eb333ca4ac6bb2f3dde03d37d93
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:10:34 2009 -0600
Update tests to reflect comment output improvements.
commit b427544b4662856ffc0625a34e9e4690e4fe0077
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:15:54 2009 -0600
Add indent_cmt_with_tabs and rework the comment output code.
commit 514d70eb81e80bc92f227a589a1e180437b73fdb
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 21:59:54 2009 -0600
Clean up some aligning
commit 6cb7a7ed7b759ff69846a34958213a212404c93d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 20:26:21 2009 -0600
Fix bug in align_tab_column()
commit 8c63eb3ccb7b811bbfa3854d369407c2f15de511
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 18:25:43 2009 -0600
Filter out trailing spaces
commit 78d5e7cbbdaef7aa3945885ccc69bc5bf8378323
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:10:34 2009 -0600
Update tests to reflect comment output improvements.
commit 51c1f51f86cc4f79f8b0f050122035ec5599ddfd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 22:09:35 2009 -0600
Add indent_cmt_with_tabs and rework the comment output code.
commit fe7e8204856a591cb89939619badf93489d4be2a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 21:59:54 2009 -0600
Clean up some aligning
commit a5b683c4f644a9ba2ba5e9cf367903fd87eafb54
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 20:26:21 2009 -0600
Fix bug in align_tab_column()
commit 622bb1cf4531bff6028e78de83ff367176cb9688
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 18:25:43 2009 -0600
Filter out trailing spaces
commit 5e60ea5aa84dc60a3221026538d14995d8fb3b58
Merge: 837f579 72754d8
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 12:29:03 2009 -0600
Merge branch 'master' into freebsd
commit 72754d8ce612b1f2e79a301bacd84456a410112a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 09:43:57 2009 -0600
Spelling corrections, thanks to Bill Cox
commit 41086eb04d33d9c0589bdb9bf4d0c4b3e62692f7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 09:40:12 2009 -0600
Add more patterns to .gitignore
commit 837f579390c814f5969cc7fb539d14ead000a72b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Dec 5 09:38:44 2009 -0600
save off work in the freebsd branch
commit 2d39c44b4f8600600586213ae65584808c16ad14
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 28 20:31:37 2009 -0600
Add a start to the FreeBSD style (not yet perfect)
commit c28ffcaeec772f85770e61c4ad09e4c994393272
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 28 20:18:03 2009 -0600
Add a note that the old K&R function declarations are not handled.
commit 0bbae411beec75b78d368727aea2bdc61002d9be
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 28 20:17:25 2009 -0600
Add option indent_continue
commit ae7a414ff4f153d3aea6149b01dcfc412c3f4a4a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:54:47 2009 -0600
Update release step.
commit 709abc9d725d5b95a031057f2ad143325b99220a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:46:26 2009 -0600
Save off auto-generated files.
commit c842cf4d9515f6d52a7f1cf8e72a9269517585c3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:46:07 2009 -0600
Missed some support files for Win32 and OSX
commit f0e41e2ff8b0ba6782ee520f74748cb38a01f44f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:30:18 2009 -0600
Update the release steps.
commit 22f60eb9e70b7162f879d3d5b4685b1692a516b5
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:29:50 2009 -0600
Update the default config files.
commit fa38a4d0b356130780f2aafae4fa089dae7b0ea2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 21:17:48 2009 -0600
Move changelog to the root so 'make dist' can pick it up.
commit 3fec51af2bac389ec34e9817ae3b22c2b196e48a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 20:59:52 2009 -0600
Update vpj file
commit 7a426d5c03d9ef6fd721bc4474b647ce01ff1540
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 20:59:27 2009 -0600
Makefile.in doesn't need to be checked in.
commit ea1432b6691ad678e23b470eae7473ad6e3d9646
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 20:57:41 2009 -0600
Fix operator-related breakage in pawn.
commit 2ca1ce44ccc6da68f254ef7d2f88c01c856050ae
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 18:10:24 2009 -0600
Update makefile to get 'make dist' to work right.
commit cdc226c38c2a0d87603f24cb72b61a4d40850b8a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 17:59:07 2009 -0600
Add the homepage URL
commit 42ca2151714ef394392f929607b18e59a59707a9
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 15:32:29 2009 -0600
Run 'autogen.sh' on Ubuntu 9.10
commit 163dfc47d406c4d709271a75380575d16afae923
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 15:31:47 2009 -0600
Updates for release 0.55
commit 2daa03ce4df9479178d4c84c5965af895eb4d41d
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 11:27:26 2009 -0600
Add nl_func_decl_start_single and nl_func_decl_end_single
commit 18dba54313c8aea3e59593fdab2a7beeb01fe5e2
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 11:06:41 2009 -0600
Add new option: nl_after_vbrace_open_empty
commit 285dd9175bab26d9f44538131852210a24de20ea
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 27 10:30:49 2009 -0600
Fix possible out-of-bounds array access.
commit 71daf98217f8ee4ade168f9cf786b99c119124f3
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 20:17:47 2009 -0600
'mutable' is a qualifier, just like const. Except different.
commit 9855ec9cfd5b39daa35f389892cebcd48dd48452
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 20:08:54 2009 -0600
Update test
commit 19463629dedebd2ac84d001ef6dbb4f419856654
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 20:05:15 2009 -0600
Don't insert a newline between a brace and comment for the else.
commit d4270ec55aac03ad76b8816b07f2fcd7cc1ef15e
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 19:42:51 2009 -0600
Fix test to reflect nl_struct_brace fix.
commit 93be59cf4e1d56df7798a247a640edac14eecdb6
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 19:42:09 2009 -0600
pos_assign should not affect '=' followed by '{'.
commit 3cda54e81789ccaf198ce498ed49d50c15464e56
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 19:30:47 2009 -0600
nl_struct_brace should not apply outside of a 'struct' declaration.
// applies
struct foo { int x; int y; };
// does not apply
struct foo bar = { 5, 6 };
commit b209fe1639061db4a2f59b5bb1656ce64697dfbd
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Thu Nov 19 18:55:53 2009 -0600
Change nl_create_if_one_liner to also work for 'else if' and 'else'.
commit c20507f47e3d9db50e1d99eb91de9a4673955a17
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 18:13:33 2009 -0600
Fix align_on_tabstop
commit e9c387ba3dd0f0d584156f12540d2668faafa635
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 18:13:21 2009 -0600
Fix align_with_tabs
commit 90ca35b66e07ee5b9d695fde168eca016ee656c7
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 17:59:49 2009 -0600
Set PCF_WAS_ALIGNED when aligning chunks.
commit 5c459ba07a32a2474522e31dd9873667fbd9ecde
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 17:44:42 2009 -0600
Improve template test
commit 405eb7bbd3c53b6b8daa48a2d79259e94d9b5941
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 17:44:21 2009 -0600
Add support for templates inside a #define
Fixes SF bug #2887001
commit 619b83477d37796f591477c35bb2c70ca96a779f
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 17:02:59 2009 -0600
Improve operator tests after recent bugfix.
commit ef02353e0c7d20082bad9e2c9f5228f64a17c2d1
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 16:58:19 2009 -0600
Rework operator handling.
Everything after the 'operator' keyword that is part of the operator
type is put in one chunk.
Fixes SF bug #2889468
commit f2941dd0dfa70431989d2d9f994532b3ac5aa019
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 13:32:23 2009 -0600
Improve test for nl_func_type_name
commit b9f6aba423e6e08620ee83b7fe39d83f7b5bb823
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 13:31:58 2009 -0600
nl_func_type_name: Don't remove a newline after a brace open.
Fixed SF bug #2889292
commit dc920c761a001e99305daf6d0531db50f0d47826
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 13:11:42 2009 -0600
Expand a test to include a destructor.
commit 72846d01c88d2ab8a2843dffc97a3c04275e9608
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 14 13:11:01 2009 -0600
The destructor is part of the function name definition, not the type.
Fixes SF bug #2892606.
commit ce39ae62f6b69aaa86e4a6365bddb50b09083cad
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Wed Nov 11 22:42:00 2009 -0600
Minor whitespace and comment changes
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
commit e28fc35ab98e7efe5449bbae1f9ae5a92ec1808a
Author: rdan <rdanioux@free.fr>
Date: Thu Nov 12 05:35:49 2009 +0800
Code updates to be able to run tests script in python under windoze with uncrustify compiled in debug mode with Visual C++ 2005
Signed-off-by: rdan <rdanioux@free.fr>
commit b38dfb52efef5c703316bb9bcb33d64e1283b5ee
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Nov 7 13:36:36 2009 -0600
Clarify and rework sp_before_ellipsis.
It only applies when after a non-punctuator.
Fixes SF issue #2886991.
commit ff4780d68465eb8b480a096c89310f85c5664f73
Author: Ben Gardner <bgardner@wabtec.com>
Date: Fri Nov 6 09:27:04 2009 -0600
Add new option sp_endif_cmt
commit 0fb8f11ec1302854e408db82b9fa6aaebfab19aa
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 6 07:49:24 2009 -0600
Update test to cover the bug where a close paren is added inside a preproc.
commit 328aca7a107bdd9859079d431d71cabf2d52c037
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 6 07:48:25 2009 -0600
Fix SF issue #2892803.
The close paren was being added inside a preprocessor line.
commit ad62ea13b11112f478c5b8f9c974ae8a98820768
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Fri Nov 6 07:47:29 2009 -0600
Update SlickEdit project due to recent file deletions
commit fc97bf3fb1396f7f2928ff59c0e74aabcfc91db2
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Thu Nov 5 17:46:27 2009 -0600
Do a little whitspace cleanup in make_token_names.sh
commit 30297231a5cffd865db53ec007295163bf2b15ca
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Thu Nov 5 17:44:52 2009 -0600
Add test for align_left_shift
commit c8bba4c31bcc6e1956ee7519bcb037cbc07144ea
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Thu Nov 5 17:44:29 2009 -0600
Fix align_left_shift with array indexes.
Fixes #2887031
commit 0eef7440ba20893e8b895bacda426dd756fa2fdc
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Thu Nov 5 17:42:01 2009 -0600
Remove unused files
commit 011a65079177126b9e3c1d7c82e9c90594441e57
Merge: 80db493 d8e30f3
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Tue Oct 27 19:12:38 2009 -0500
Merge branch 'objc'
Conflicts:
src/align.cpp
tests/run_tests.py
commit 80db493b7f78d7ea9123c3a7a0b35a17597cc9c2
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Sun Oct 25 10:26:08 2009 -0500
Change exit value based on test results
commit d8e30f3c3f11f867d52fe4c6b5e4fbeae5c05f7e
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Sun Oct 25 10:22:30 2009 -0500
Add back in token_names.h - needed for Windows build, which cannot recreated it.
commit 6ac52866038bb3000b4e0e825aaddf8587770d71
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Sun Oct 25 10:20:37 2009 -0500
Run uncrustify on its own code
commit 264967863eaab7cd77dad767ffd2faf2bbc07724
Author: Ben Gardner <ben@ben-desktop.(none)>
Date: Sun Oct 25 10:10:16 2009 -0500
Run uncrustify on itself
commit 5e696d6554fcec27f09ed244f1119cadcef52d89
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sun Oct 25 03:07:45 2009 +0800
Spelling fix. suprisingly -> surprisingly. Minor grammar tweaks.
commit 809b47f672ee55915e203986a52633a26a762c30
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sun Oct 25 02:59:05 2009 +0800
Add OSX Xcode build & install instructions to README.
commit d11d2dfbc83aa85ee9a6a06e7f86ac1f3a6f6221
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 16:43:07 2009 +0800
Remove some unneeded left-overs. Shorten the more info url.
commit adab7441278cf2f54712894fd2b1c0dce008dcfa
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:27:15 2009 +0800
Replace those pesky tabs in some config files with spaces.
commit 305e94a0ced1ea2deb1169aa9322802b89c73b8b
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:26:27 2009 +0800
Update existing block tests to better demonstrate that spacing options work as intended.
commit bdf8181f1a2a2251e465e646ec516a3ee22c8c72
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:24:47 2009 +0800
Update existing test case which already was using blocks.
commit dc82fcc501bbc75f00949d760c5a61da4a82acf3
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:24:11 2009 +0800
Add and register more test cases for block caret spacing.
commit 08678af3a74ef7e55949ecf358ae2fde99f17bcd
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:22:00 2009 +0800
Update objc.cfg file.
commit 5e39d01fe8b4e7c63133c3853047843b3b40341a
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 14:19:50 2009 +0800
Add new options for space before and after a block pointer caret.
commit 511bc74d7cb4cf17d7dccfaa8c953f7b73b281ed
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 13:06:29 2009 +0800
Add test cases for blocks.
commit 2d7013d9290a7e60e18ed786d63a72e6931dcb98
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 13:03:31 2009 +0800
Bug fix: Fix for detecting class category and extension parens.
Was confusing type with parent_type earlier.
commit b92b77b739d9b652071dbf8067f0cb19f6f9eb96
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Sat Oct 24 12:49:32 2009 +0800
First (devel) version of changes for OC blocks support.
- Register new chunk types in token_enum.h
- Add early detection of block pointer caret to tokenize_cleanup.cpp
- Do the marking in combine.cpp
commit cb9c866934ff2937e59eebab7dfeb937de73f792
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Thu Oct 22 00:24:41 2009 +0800
Bug fix: OC msg sends like [self class] are no longer marked as CT_CLASS.
commit 1080cbdd00ee8b1535145d962265d16bb1bc85b2
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Thu Oct 22 00:08:38 2009 +0800
Improvement: Change oc_msg_colon_align from boolean to span with number.
Makes just much more sense that way. The align feature works great but
a bit too aggressively since it would just go and align method calls
happening at the very top of an enclosing method with method calls all
the way at the bottom of the enclosing method. I think a span of 1 will
fit what most Objective-C programmers use.
Uptaded a lot of the oc test cases to test for this behaviour.
Xcode project update: Add missing oc test cases.
commit 0d8540ee1ab4f923e63474b31a355f467f47d1ae
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Wed Oct 21 19:33:19 2009 +0800
Update tests with real_world_file.m output. Make sure tests run cleanly.
commit 257e93e999c2f8560160ebc4e42378665600bb6b
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Wed Oct 21 15:39:56 2009 +0800
Tests: Add a sample of real world objective-c code to the tests.
This sample also includes blocks which currently are not marked in uncrustify.
Will change that later.
commit 8b97e6b3899da59c91e6ad4922da3d77cc63cbe7
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Wed Oct 21 15:36:19 2009 +0800
Bug fix: line_len can become 0 here which subsequently causes a segmentation fault.
This is a workaround because larger issues seem to be at stake as
I have seen line to contain garbage value at some point half into the
sentence.
commit 7c44cc65fa378610d7f05230a3f128cd94504672
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:47:31 2009 +0800
Fix for (Type **) problems in msg decls/specs. Fix for missing parent type inside msg decl/spec type parens:
now correctly is OC_MSG_DECL/OC_MSG_SPEC.
commit 80c7a10b4abca4e8fb583f49e9001fa1be002c8c
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:41:10 2009 +0800
Xcode project update: Rearranged some build scripts. Replaced some absolute group references with project relative ones.
commit fe224a9c2ad6f11925539c0933f1cbcd63b74d33
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:32:08 2009 +0800
Make run_tests.py return 0 on all success or 1 on failure.
This plays better with shell script incorporating build systems.
commit 441fa512bb0ef38217467ac4dd4b766345f485bb
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:24:17 2009 +0800
Add missing osx directory.
commit 9884f5057576248f6014bb889b740f736ed25f6d
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:23:08 2009 +0800
obj.cfg again... dunno how that change got lost in the commit
commit 4ac16b0c705a0a56c83be0fdcf47bbf4cbc9a30d
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:21:20 2009 +0800
Update objc.cfg. Add a few extra Xcode project specific entries to .gitignore.
commit 344cf3524a5e6152668a168493339834a58ea946
Author: André Berg <andre.bergmedia@googlemail.com>
Date: Tue Oct 20 00:29:46 2009 +0800
Add new Objective-C test for a more complex method. Details follow...
The complex_method.m test was showing a problem with method argument types in the form of (typeName **)
where the first star would get parsed as ARITH and the the second star would get parsed as DEREF.
I have a fix available, coming in one of the next commits.
commit 67a83fb1248674908de7c8e14b82ac63a1032e9b
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 17 14:33:18 2009 -0500
Clean up the home page.
- add mention of Git
- add FreeBSD ports link
commit 23632dae52e5a30a8ff595d9bd9d6c6d2eede07a
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 17 14:02:39 2009 -0500
Spelling fix: preceeded -> preceded
commit fe25b6d06401b0a523e15a896831720c488bd5ce
Author: Ben Gardner <gardner.ben@gmail.com>
Date: Sat Oct 17 13:13:55 2009 -0500
Import r1644 from subversion
|