File: changelog.svn

package info (click to toggle)
moc 1%3A2.6.0~svn-r3005-7
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,904 kB
  • sloc: ansic: 31,748; sh: 929; cpp: 487; makefile: 240
file content (16900 lines) | stat: -rw-r--r-- 674,784 bytes parent folder | download | duplicates (4)
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
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
------------------------------------------------------------------------
r3005 | jcf | 2019-09-14 05:06:11 +0200 (Sat, 14 Sep 2019) | 6 lines

Account for zero-sample channels produced by some AAC encoding.

When encoding stereo audios, some channel mappings used produce
multichannel files with the samples of the additional channels
being all zero.  This upsets MOC's duration estimation so zero
valued samples are now ignored.
------------------------------------------------------------------------
r3004 | jcf | 2019-09-14 05:06:04 +0200 (Sat, 14 Sep 2019) | 4 lines

Avoid unnecessary downmixing when only determining audio duration.

For the purposes of estimating the duration, we don't need to incur
the overhead of downmixing 5.1 audios.
------------------------------------------------------------------------
r3003 | jcf | 2019-09-14 05:05:58 +0200 (Sat, 14 Sep 2019) | 4 lines

Fix: Library downmixed AAC audios produce whitenoise when played.

MOC asks the FAAD2 library to downmix 5.1 audios to stereo, but MOC
did not adjust the channel count from that of the original audio.
------------------------------------------------------------------------
r3002 | jcf | 2019-09-14 05:05:40 +0200 (Sat, 14 Sep 2019) | 6 lines

Account for zero-sample channels produced by some AAC encoding.

When encoding stereo audios, some channel mappings used produce
multichannel files with the samples of the additional channels
being all zero.  This upsets MOC's duration estimation so zero
valued samples are now ignored.
------------------------------------------------------------------------
r3001 | jcf | 2019-09-14 05:05:34 +0200 (Sat, 14 Sep 2019) | 4 lines

Avoid unnecessary downmixing when only determining audio duration.

For the purposes of estimating the duration, we don't need to incur
the overhead of downmixing 5.1 audios.
------------------------------------------------------------------------
r3000 | jcf | 2019-09-14 05:05:24 +0200 (Sat, 14 Sep 2019) | 4 lines

Fix: Library downmixed AAC audios produce whitenoise when played.

MOC asks the FAAD2 library to downmix 5.1 audios to stereo, but MOC
did not adjust the channel count from that of the original audio.
------------------------------------------------------------------------
r2999 | jcf | 2019-05-30 07:30:47 +0200 (Thu, 30 May 2019) | 18 lines

Fix: Unshifted keypad ENTER is not treated as keyboard ENTER.

This problem arises when a (typically GUI) user expects that the
ENTER key on the numeric keypad should work the same as the ENTER key
on the keyboard.  This is a reasonable expectation, but it doesn't.

How the keypad ENTER key is reported to the application depends on
the termcap '@8' or terminfo 'kent' capability.  Using 'linux' as the
$TERM setting (as consoles usually do) results in the default 0x0a
(newline) being reported for both ENTER keypresses, while 'xterm' (and
other GUI settings) mostly return newline for keyboard ENTER but 0x157
(represented by ncurses as KEY_ENTER) for keypad ENTER.

(The shifted keypad ENTER does return a newline in all cases.)

Of the $TERM settings tested, this commit fixes the problem for all
but 'xterm-color' which returns 0xcf.  However, 'xterm-color' may
have been superceded by 'xterm-16color' and 'xterm-256color' anyway.
------------------------------------------------------------------------
r2998 | jcf | 2019-05-30 07:30:21 +0200 (Thu, 30 May 2019) | 18 lines

Fix: Unshifted keypad ENTER is not treated as keyboard ENTER.

This problem arises when a (typically GUI) user expects that the
ENTER key on the numeric keypad should work the same as the ENTER key
on the keyboard.  This is a reasonable expectation, but it doesn't.

How the keypad ENTER key is reported to the application depends on
the termcap '@8' or terminfo 'kent' capability.  Using 'linux' as the
$TERM setting (as consoles usually do) results in the default 0x0a
(newline) being reported for both ENTER keypresses, while 'xterm' (and
other GUI settings) mostly return newline for keyboard ENTER but 0x157
(represented by ncurses as KEY_ENTER) for keypad ENTER.

(The shifted keypad ENTER does return a newline in all cases.)

Of the $TERM settings tested, this commit fixes the problem for all
but 'xterm-color' which returns 0xcf.  However, 'xterm-color' may
have been superceded by 'xterm-16color' and 'xterm-256color' anyway.
------------------------------------------------------------------------
r2997 | jcf | 2019-04-14 05:37:31 +0200 (Sun, 14 Apr 2019) | 3 lines

Fix: Misaligned MOCP_POPTRC manpage paragraph.

Amends: r2734
------------------------------------------------------------------------
r2996 | jcf | 2019-02-27 01:26:51 +0100 (Wed, 27 Feb 2019) | 11 lines

Fix: SIGABRT while seeking when file has negative start time.

Subtracting a negative start time from INT64_MAX results in an
integer overflow.

A negative start time can arise when a file has been cut from a
longer video file and reference frames prior to the cut point need
to be included in order to correctly decode the subsequent frames.

Thanks to: Joan Bruguera Mico <joanbrugueram@gmail.com>
Resolves: node/2296 (Seek doesn't work with negative start time)
------------------------------------------------------------------------
r2995 | jcf | 2019-02-27 01:26:06 +0100 (Wed, 27 Feb 2019) | 11 lines

Fix: SIGABRT while seeking when file has negative start time.

Subtracting a negative start time from INT64_MAX results in an
integer overflow.

A negative start time can arise when a file has been cut from a
longer video file and reference frames prior to the cut point need
to be included in order to correctly decode the subsequent frames.

Thanks to: Joan Bruguera Mico <joanbrugueram@gmail.com>
Resolves: node/2296 (Seek doesn't work with negative start time)
------------------------------------------------------------------------
r2994 | jcf | 2019-01-09 02:01:24 +0100 (Wed, 09 Jan 2019) | 16 lines

Fix: Delayed reporting of "TERMINAL TOO SMALL".

It seems that performing a temporary suspend (via endwin() /
refresh()) is the accepted way to force Curses to refresh its
terminal context, and it isn't until after that that the new COLS
and LINES settings take effect.  It feels uncomfortable to have
that update happen as a side-effect of an otherwise redundant
suspend sequence, however, it appears to be the only portable way
of doing it.

Multiple refresh()s may introduce some visible screen flicker (which
the code elsewhere in MOC tries to avoid), but it has not been
observed in testing and is probably masked by the resizing operation.

Thanks to: Joan Bruguera Mico <joanbrugueram@gmail.com>
Resolves: node/2177 (MOC prints "TERMINAL TOO SMALL" when it's not)
------------------------------------------------------------------------
r2993 | jcf | 2019-01-09 02:00:43 +0100 (Wed, 09 Jan 2019) | 16 lines

Fix: Delayed reporting of "TERMINAL TOO SMALL".

It seems that performing a temporary suspend (via endwin() /
refresh()) is the accepted way to force Curses to refresh its
terminal context, and it isn't until after that that the new COLS
and LINES settings take effect.  It feels uncomfortable to have
that update happen as a side-effect of an otherwise redundant
suspend sequence, however, it appears to be the only portable way
of doing it.

Multiple refresh()s may introduce some visible screen flicker (which
the code elsewhere in MOC tries to avoid), but it has not been
observed in testing and is probably masked by the resizing operation.

Thanks to: Joan Bruguera Mico <joanbrugueram@gmail.com>
Resolves: node/2177 (MOC prints "TERMINAL TOO SMALL" when it's not)
------------------------------------------------------------------------
r2992 | jcf | 2018-08-14 07:40:38 +0200 (Tue, 14 Aug 2018) | 3 lines

Clean: Rename header guard to avoid potential future conflicts.

Thanks to: Vadim Zhukov <zhuk@openbsd.org>
------------------------------------------------------------------------
r2991 | jcf | 2018-08-14 07:40:32 +0200 (Tue, 14 Aug 2018) | 1 line

Clean: Upgrade warning option to GCC's more descriptive replacement.
------------------------------------------------------------------------
r2990 | jcf | 2018-08-11 06:10:03 +0200 (Sat, 11 Aug 2018) | 1 line

Clean: Use xcalloc() to obtain cleared memory.
------------------------------------------------------------------------
r2989 | jcf | 2018-08-11 06:09:57 +0200 (Sat, 11 Aug 2018) | 1 line

Clean: Simplify code around memory reallocation.
------------------------------------------------------------------------
r2988 | jcf | 2018-08-11 06:09:49 +0200 (Sat, 11 Aug 2018) | 1 line

Clean: Remove redundant test.
------------------------------------------------------------------------
r2987 | jcf | 2018-08-11 06:09:43 +0200 (Sat, 11 Aug 2018) | 1 line

Clean: Align parameter types with argument types.
------------------------------------------------------------------------
r2986 | jcf | 2018-08-10 00:14:28 +0200 (Fri, 10 Aug 2018) | 17 lines

Maint: Resolve GCC's format overflow and truncation warnings.

Recent releases of the GNU C Compiler have included a number of new
warnings.  The 'format-overflow' and 'format-truncation' warnings
issued were checked and found to be benign.  However, the warnings
have now become noise which is possibly masking legitimate warnings.

Where the amount of additional memory is minimal the buffer size has
been increased, while the one remaining warning has been suppressed.

One complication is that while GCC reports unknown warning options as
errors, Clang reports them as warnings which makes it more difficult
to detect whether these format warnings are supported at configuration
time.  The '-Werror=...' option can be used to override this behaviour,
but detecting it is subject to the same compiler difference and may
raise issues with compilers which neither report unknown warning options
as errors nor support the '-Werror=...' option.
------------------------------------------------------------------------
r2985 | jcf | 2018-08-10 00:14:20 +0200 (Fri, 10 Aug 2018) | 12 lines

Maint: Suppress Clang's overly-enthusiastic variadic macro warnings.

Clang flags as warnings uses of GNU's CPP extension which allows for
the declaration and use of variadic macros having zero variable arguments.
This is controlled by Clang's '-Wgnu-zero-variadic-macro-arguments'
option and also enabled by '-pedantic'.

Unfortunately, this is a very useful extension to have and avoiding
it would result in rather inelegant code.  Fortunately, it can be
suppressed from within MOC.  No one has yet complained about the
several GNUisms remaining in the code, so it can be assumed that those
who are building MOC are doing so with a GCC-compatible compiler.
------------------------------------------------------------------------
r2984 | jcf | 2018-07-29 23:49:24 +0200 (Sun, 29 Jul 2018) | 11 lines

Maint: Migrate audio decoding to FFmpeg/LibAV's send/receive API.

While the new API is a better approach, it does not integrate well
with MOC's existing decoder structure.  Emulating the existing (and
now deprecated) avcodec_decode_audio4() using the new send/receive
functions offers the least disruptive approach, but is not the ideal
one.

The significance of the new function's return codes is unclear and
the handling of them may have to be revisited on a case-by-case basis
as usage identifies any remaining issues.
------------------------------------------------------------------------
r2983 | jcf | 2018-07-29 23:49:18 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: FFmpeg clients need no longer register formats and codecs.
------------------------------------------------------------------------
r2982 | jcf | 2018-07-29 23:49:12 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: A client-provided FFmpeg lock manager is no longer required.
------------------------------------------------------------------------
r2981 | jcf | 2018-07-29 23:49:06 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: Migrate to FFmpeg/LibAV's AV_-prefixed #defines.
------------------------------------------------------------------------
r2980 | jcf | 2018-07-29 23:49:01 +0200 (Sun, 29 Jul 2018) | 3 lines

Maint: Use FFmpeg/LibAV's new AVCodecContext.codecpar field.

This resolves the remaining AVStream.codec deprecation warnings.
------------------------------------------------------------------------
r2979 | jcf | 2018-07-29 23:48:55 +0200 (Sun, 29 Jul 2018) | 11 lines

Maint: Address FFmpeg/LibAV's deprecation of AVStream.codec.

There is no guidance in the documentation of a migration path
for AVStream.codec and it's obvious that the FFmpeg maintainers
do not have a solution either.  The most consistant narrative
which can be pieced together from the scattered clues is that
the management of the AVCodecContext struct should be brought
in-house and MOC should create and manage its own AVCodecContext
struct in all cases.

This may break when the API goes off on yet another tangent.
------------------------------------------------------------------------
r2978 | jcf | 2018-07-29 23:48:49 +0200 (Sun, 29 Jul 2018) | 1 line

FFmpeg: Return AVERROR(EIO) from read callback if an error occurred.
------------------------------------------------------------------------
r2977 | jcf | 2018-07-29 23:48:43 +0200 (Sun, 29 Jul 2018) | 9 lines

Maint: Use AVERROR_EOF to indicate EOF in FFmpeg/LibAV read callback.

FFmpeg/LibAV has recently documented the use of AVERROR_EOF to indicate
end of file from the read callback function instead of zero.  It will
soon enforce its use by asserting on a returned length of zero.

It is undocumented which error code should be returned by the callback
if it is passed a NULL buffer pointer or zero length, so MOC will pass
back AVERROR(EINVAL) for now and revise that if the need arises.
------------------------------------------------------------------------
r2976 | jcf | 2018-07-29 23:48:37 +0200 (Sun, 29 Jul 2018) | 3 lines

Fix: FFmpeg/LibAV seekable flag incorrectly tested.

Ref: FFmpeg commit 83548fe8
------------------------------------------------------------------------
r2975 | jcf | 2018-07-29 23:48:23 +0200 (Sun, 29 Jul 2018) | 11 lines

Maint: Migrate audio decoding to FFmpeg/LibAV's send/receive API.

While the new API is a better approach, it does not integrate well
with MOC's existing decoder structure.  Emulating the existing (and
now deprecated) avcodec_decode_audio4() using the new send/receive
functions offers the least disruptive approach, but is not the ideal
one.

The significance of the new function's return codes is unclear and
the handling of them may have to be revisited on a case-by-case basis
as usage identifies any remaining issues.
------------------------------------------------------------------------
r2974 | jcf | 2018-07-29 23:48:17 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: FFmpeg clients need no longer register formats and codecs.
------------------------------------------------------------------------
r2973 | jcf | 2018-07-29 23:48:11 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: A client-provided FFmpeg lock manager is no longer required.
------------------------------------------------------------------------
r2972 | jcf | 2018-07-29 23:48:05 +0200 (Sun, 29 Jul 2018) | 1 line

Maint: Migrate to FFmpeg/LibAV's AV_-prefixed #defines.
------------------------------------------------------------------------
r2971 | jcf | 2018-07-29 23:48:00 +0200 (Sun, 29 Jul 2018) | 3 lines

Maint: Use FFmpeg/LibAV's new AVCodecContext.codecpar field.

This resolves the remaining AVStream.codec deprecation warnings.
------------------------------------------------------------------------
r2970 | jcf | 2018-07-29 23:47:54 +0200 (Sun, 29 Jul 2018) | 11 lines

Maint: Address FFmpeg/LibAV's deprecation of AVStream.codec.

There is no guidance in the documentation of a migration path
for AVStream.codec and it's obvious that the FFmpeg maintainers
do not have a solution either.  The most consistant narrative
which can be pieced together from the scattered clues is that
the management of the AVCodecContext struct should be brought
in-house and MOC should create and manage its own AVCodecContext
struct in all cases.

This may break when the API goes off on yet another tangent.
------------------------------------------------------------------------
r2969 | jcf | 2018-07-29 23:47:48 +0200 (Sun, 29 Jul 2018) | 3 lines

Fix: FFmpeg/LibAV seekable flag incorrectly tested.

Ref: FFmpeg commit 83548fe8
------------------------------------------------------------------------
r2968 | jcf | 2018-07-29 03:59:27 +0200 (Sun, 29 Jul 2018) | 4 lines

Fix: Resolve CLang pointer-bool-conversion warning.

The conditional 'mi->time' should be dereferenced, but the format
padding of an empty string is the same as a string of spaces anyway.
------------------------------------------------------------------------
r2967 | jcf | 2018-07-29 03:59:13 +0200 (Sun, 29 Jul 2018) | 4 lines

Fix: Resolve CLang pointer-bool-conversion warning.

The conditionl 'mi->time' should be dereferenced, but the format
padding of an empty string is the same as a string of spaces anyway.
------------------------------------------------------------------------
r2966 | jcf | 2018-07-28 23:52:35 +0200 (Sat, 28 Jul 2018) | 4 lines

Maint: Address new GCC implicit-fallthrough warnings.

It seemed easier to rewrite the triggering code than to teach GCC (and
only GCC) about these idioms.
------------------------------------------------------------------------
r2965 | jcf | 2018-07-13 00:51:19 +0200 (Fri, 13 Jul 2018) | 5 lines

Maint: Resolve sint8 "pointer signedness" warning in TiMidity decoder.

A cast is safe here because mid_song_read_wave()'s output format is
limited to S8 or S16 by MOC's configuration option TiMidity_Bits, and
MOC knows how to handle those regardless of the buffer type.
------------------------------------------------------------------------
r2964 | jcf | 2018-07-13 00:51:01 +0200 (Fri, 13 Jul 2018) | 5 lines

Maint: Resolve sint8 "pointer signedness" warning in TiMidity decoder.

A cast is safe here because mid_song_read_wave()'s output format is
limited to S8 or S16 by MOC's configuration option TiMidity_Bits, and
MOC knows how to handle those regardless of the buffer type.
------------------------------------------------------------------------
r2963 | jcf | 2018-02-18 03:33:41 +0100 (Sun, 18 Feb 2018) | 1 line

librcc: Warn version requirement rising to 0.2.10.
------------------------------------------------------------------------
r2962 | jcf | 2018-02-18 03:33:35 +0100 (Sun, 18 Feb 2018) | 1 line

Clean: Ensure pkg-config checked before librcc version checking.
------------------------------------------------------------------------
r2961 | jcf | 2018-01-16 09:44:42 +0100 (Tue, 16 Jan 2018) | 1 line

libcurl: Warn of minimum version requirement rising to 7.15.4.
------------------------------------------------------------------------
r2960 | jcf | 2018-01-11 01:52:09 +0100 (Thu, 11 Jan 2018) | 1 line

Clean: Simplify the parsing of logged MD5 data.
------------------------------------------------------------------------
r2959 | jcf | 2018-01-06 09:05:12 +0100 (Sat, 06 Jan 2018) | 1 line

Misc: Ensure failures to execute external commands get reported.
------------------------------------------------------------------------
r2958 | jcf | 2018-01-06 09:05:07 +0100 (Sat, 06 Jan 2018) | 4 lines

Options: Add 'OnServerStart' and 'OnServerStop' configuration options.

Thanks to: Quentin Rameau <quinq@fifth.space>
Resolves: node/1569 (Execute command on server start and stop)
------------------------------------------------------------------------
r2957 | jcf | 2018-01-06 09:05:01 +0100 (Sat, 06 Jan 2018) | 3 lines

Clean: Refactor code ahead of further work.

Thanks to: Quentin Rameau <quinq@fifth.space>
------------------------------------------------------------------------
r2956 | jcf | 2017-12-04 00:51:50 +0100 (Mon, 04 Dec 2017) | 3 lines

Doc: Clarify the commenting of configuration file options.

Partially resolves: node/1730 (Strange MOC with TiMidty)
------------------------------------------------------------------------
r2955 | jcf | 2017-12-04 00:51:45 +0100 (Mon, 04 Dec 2017) | 1 line

Doc: Clarify environment variable expansion in the configuration file.
------------------------------------------------------------------------
r2954 | jcf | 2017-12-04 00:51:39 +0100 (Mon, 04 Dec 2017) | 1 line

Doc: Distinguish configuration file options from other possibilities.
------------------------------------------------------------------------
r2953 | jcf | 2017-09-20 01:21:07 +0200 (Wed, 20 Sep 2017) | 11 lines

Maint: Allow SibPlay2 configure to detect missing Debian package.

Debian's packaging separates the 'resid.h' header and the related
pkg-config 'builders' variable into 'libresid-builder-dev' and
'libsidplay2-dev' respectively.  Both packages are required to build
MOC's SidPlay2 decoder under Debian.

A test for the 'resid.h' header has been added to avoid compile-time
errors if the user has not installed both prerequiste packages.

Partially resolves: node/1785 (Doesn't check for the resid builder)
------------------------------------------------------------------------
r2952 | jcf | 2017-09-20 01:20:15 +0200 (Wed, 20 Sep 2017) | 11 lines

Maint: Allow SibPlay2 configure to detect missing Debian package.

Debian's packaging separates the 'resid.h' header and the related
pkg-config 'builders' variable into 'libresid-builder-dev' and
'libsidplay2-dev' respectively.  Both packages are required to build
MOC's SidPlay2 decoder under Debian.

A test for the 'resid.h' header has been added to avoid compile-time
errors if the user has not installed both prerequiste packages.

Partially resolves: node/1785 (Doesn't check for the resid builder)
------------------------------------------------------------------------
r2951 | jcf | 2017-06-24 09:23:09 +0200 (Sat, 24 Jun 2017) | 4 lines

Fix: Uninitialised pointer segfaults if audio file fails to open.

This bug was detected by desk checking and demonstrated in testing
but not identified as the cause of any reported issue in the wild.
------------------------------------------------------------------------
r2950 | jcf | 2017-06-24 09:22:51 +0200 (Sat, 24 Jun 2017) | 4 lines

Fix: Uninitialised pointer segfaults if audio file fails to open.

This bug was detected by desk checking and demonstrated in testing
but not identified as the cause of any reported issue in the wild.
------------------------------------------------------------------------
r2949 | jcf | 2017-06-14 04:02:23 +0200 (Wed, 14 Jun 2017) | 5 lines

Maint: Remove OpenWRT hazard cones around '--echo-args' option.

The segfault being guarded against is fixed in the previous commit.

Amends: r2763
------------------------------------------------------------------------
r2948 | jcf | 2017-06-14 04:02:12 +0200 (Wed, 14 Jun 2017) | 9 lines

Fix: Segfault in POPT logging and '--echo-args' option processing.

The problem was caused by uninitialised padding bytes in the
poptOption structure which meant that memcmp(3) did not compare
equal on the end-of-table marker.

Thanks to: Bernhard Ubelacker
Amends: r2740
Resolves: Debian Bug#855125
------------------------------------------------------------------------
r2947 | jcf | 2017-02-15 23:44:08 +0100 (Wed, 15 Feb 2017) | 3 lines

Fix: Misleading documentation of the 'StartInMusicDir' option.

Resolves: node/1590 (Remember folder after exit)
------------------------------------------------------------------------
r2946 | jcf | 2017-02-15 23:43:55 +0100 (Wed, 15 Feb 2017) | 3 lines

Fix: Misleading documentation of the 'StartInMusicDir' option.

Resolves: node/1590 (Remember folder after exit)
------------------------------------------------------------------------
r2945 | jcf | 2017-02-09 02:54:16 +0100 (Thu, 09 Feb 2017) | 5 lines

Fix: Erroneous processing of deleted playlist entries.

Thanks to: Tomasz Golinski (on whose patch this fix was based)
Resolves: node/1594 (MOC crashes on playlist loading)
Amends: r1436
------------------------------------------------------------------------
r2944 | jcf | 2017-02-09 02:49:12 +0100 (Thu, 09 Feb 2017) | 5 lines

Fix: Erroneous processing of deleted playlist entries.

Thanks to: Tomasz Golinski (on whose patch this fix was based)
Resolves: node/1594 (MOC crashes on playlist loading)
Amends: r1436
------------------------------------------------------------------------
r2943 | jcf | 2017-01-25 02:59:53 +0100 (Wed, 25 Jan 2017) | 12 lines

Fix: Use fcntl(2) rather than lockf(3) for playlist file locking.

On Linux (at least) lockf(3) uses fcntl(3) for locking anyway, but
always uses write lock even if the file is opened read-only.  This
results in the file not being locked when reading a playlist and a
"Can't lock the playlist file: Bad file descriptor" error being
issued.

(Earlier lockf(3) manpages did not mention that the file must be
writable.)

Amends: r2834
------------------------------------------------------------------------
r2942 | jcf | 2017-01-22 22:35:11 +0100 (Sun, 22 Jan 2017) | 5 lines

Fix: Segfault triggered when using '-j'/'--jump' option.

Amends: r2734
Thanks to: Tomasz Golinski
Resolves: node/1592 (Jump (-j) doesn't work)
------------------------------------------------------------------------
r2941 | jcf | 2017-01-12 02:02:45 +0100 (Thu, 12 Jan 2017) | 8 lines

Clean: Remove "common_path" playlist relative path debris.

This has the potential to cause a segfault but, due to the correct string
termination of 'cwd', never actually will.  Therefore, this patch has not
been backported to version 2.5.

Thanks to: Tomasz Golinski
Amends: r2058
------------------------------------------------------------------------
r2940 | jcf | 2017-01-11 23:05:40 +0100 (Wed, 11 Jan 2017) | 1 line

Require that an explicitly specified configuration file is readable.
------------------------------------------------------------------------
r2939 | jcf | 2017-01-11 23:05:34 +0100 (Wed, 11 Jan 2017) | 1 line

Add '--no-config' option to explicitly use the program defaults.
------------------------------------------------------------------------
r2938 | jcf | 2017-01-08 00:16:05 +0100 (Sun, 08 Jan 2017) | 3 lines

Fix: Add '--playit' ('-l') and '--usage' options missing from man page.

Amends: r1445 and r2734
------------------------------------------------------------------------
r2937 | jcf | 2017-01-08 00:15:51 +0100 (Sun, 08 Jan 2017) | 3 lines

Fix: Add '--playit' ('-l') option missing from man page.

Amends: r1445
------------------------------------------------------------------------
r2936 | jcf | 2016-12-09 23:10:11 +0100 (Fri, 09 Dec 2016) | 12 lines

Fix: Build failure on MacOS 10.12 with clock_gettime(2).

As of Darwin 16.0.0 Apple now supports clock_gettime(2) but does so in
a way which makes testing for it quite difficult.  This results in MOC
thinking it is present when it isn't or thinking it isn't when it is.
The problem affects many open source applications, not just MOC.

The most reliable way to resolve its presence is to just test on the
Darwin release number which, although not ideal, works consistantly
for MOC.

Resolves: node/1576 (2.6-alpha3 build failure on macOS 10.12)
------------------------------------------------------------------------
r2935 | jcf | 2016-11-19 07:06:00 +0100 (Sat, 19 Nov 2016) | 4 lines

Fix: Missing db_strerror() definition when caching is disabled.

Amends: r2925
Thanks to: Tomasz Golinski
------------------------------------------------------------------------
r2934 | jcf | 2016-11-16 01:24:18 +0100 (Wed, 16 Nov 2016) | 1 line

Create tag 2.6-alpha3
------------------------------------------------------------------------
r2933 | jcf | 2016-11-16 01:23:49 +0100 (Wed, 16 Nov 2016) | 1 line

Bump version numbers to 2.6-alpha3.
------------------------------------------------------------------------
r2932 | jcf | 2016-11-16 01:23:43 +0100 (Wed, 16 Nov 2016) | 1 line

Update administrative files in preparation for 2.6-alpha3.
------------------------------------------------------------------------
r2931 | jcf | 2016-11-16 01:23:15 +0100 (Wed, 16 Nov 2016) | 1 line

Create tag 2.5.2
------------------------------------------------------------------------
r2930 | jcf | 2016-11-16 01:22:56 +0100 (Wed, 16 Nov 2016) | 1 line

Bump version numbers to 2.5.2.
------------------------------------------------------------------------
r2929 | jcf | 2016-11-16 01:22:50 +0100 (Wed, 16 Nov 2016) | 1 line

Update administrative files in preparation for 2.5.2.
------------------------------------------------------------------------
r2928 | jcf | 2016-11-15 01:59:39 +0100 (Tue, 15 Nov 2016) | 1 line

Clean: Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2927 | jcf | 2016-11-15 01:59:32 +0100 (Tue, 15 Nov 2016) | 1 line

doxy: Update Doxygen documentation.
------------------------------------------------------------------------
r2926 | jcf | 2016-11-15 01:59:27 +0100 (Tue, 15 Nov 2016) | 1 line

C99: MOC now expects a POSIX-compliant uname(2).
------------------------------------------------------------------------
r2925 | jcf | 2016-11-15 01:59:21 +0100 (Tue, 15 Nov 2016) | 1 line

errno: Deploy *_errno() macros into FFmpeg and tags cache.
------------------------------------------------------------------------
r2924 | jcf | 2016-11-15 01:59:15 +0100 (Tue, 15 Nov 2016) | 1 line

errno: Make the *_errno() macros hygienic so they can work with 'err'.
------------------------------------------------------------------------
r2923 | jcf | 2016-11-15 01:59:10 +0100 (Tue, 15 Nov 2016) | 5 lines

errno: Preserve errno across logging and error calls.

The saving and restoring has been done at the lowest level rather
than in the macros because the implementing functions are sometimes
called directly (especially xstrerror()).
------------------------------------------------------------------------
r2922 | jcf | 2016-11-13 07:55:42 +0100 (Sun, 13 Nov 2016) | 128 lines

ALSA: Circumvent ALSA stutter bug.

This bug manifests itself as a stutter after many hours of
continously playing the same audio file or stream.  The stutter
is audible as the repetition of a sub-second portion of the audio
followed by a skip to some later portion and the repeat of the
stutter.  The stutter may or may not resolve itself after some time.
The playing duration before the stuttering starts is variable,
but around 373 and 650 minutes is common.

At the heart of the problem lies an integer overflow bug during
the resampling process of ALSA's dmix component.  This bug has been
apparently reported on the ALSA Project's Bug Tracker [1] and the
associated Wiki [2].  Unfortunately, those services are defunct [3]
and there seems no way to access the information they held (even
using the Wayback Machine [4]); the links to their Bug Tracker on
the ALSA Project's [5] web pages remain broken.

A good technical write up of the ALSA bug and a proposed fix was
provided by Andrew Church [6], but as at this time his solution
has not been implemented.

The problem occurs when the default dmix sample rate (as set
by 'defaults.pcm.dmix.rate' in '/usr/share/alsa/alsa.conf'
or in different ways in '/usr/share/alsa/pcm/dmix.conf' or in
'~/.asoundrc') is not the same as the sample rate asked for by
snd_pcm_hw_params_set_rate_near() in MOC.  ALSA responds with the
rate requested and then performs a resampling to its default dmix
rate privately.  It does this so the audio streams from different
applications and at differnt sample rates can be merged by dmix
at the same sample rate and sent to the same hardware device.
Unfortunately, that resampling process is bugged (although testing
indicates that the further resampling which may occur between dmix
and the hardware device is not).

This account accounts for why the stutter does not appear when the
audio's sample rate happens to match dmix's internal rate (because
it does not have to resample), when the audio is sent directly to
an ALSA hardware device (because dmix isn't on the audio path),
or when running on a 64-bit machine (the durations above relate to
32-bit machines; 64-bit machines have durations measured in millions
of years).

The first of these also accounts for why the stutter does not
manifest when MOC's "ForceSampleRate" configuration option is used
and set to a value corresponding to dmix's internal rate.  That is
because it invokes MOC's own resampling capability to convert the
audio stream before it is passed to ALSA at a rate which does not
subsequently need to be resampled by dmix.

Setting "ForceSampleRate" to dmix's internal rate offers a
user-configurable solution to the ALSA stutter bug, but there are
several considerations in doing so:

1. From the users' point of view, the "ForceSampleRate" option is
   not obviously associated with the stuttering audio experienced.
   Further, even if it is, finding the value to which it should be
   set may prove challenging.  It requires a deeper knowledge of
   MOC and ALSA than users should be expected to have.

2. If the user gets the value of the "ForceSampleRate" option wrong,
   then the effect is to insert an additional resampling step into
   the audio flow if the selected rate does not match the rate of
   the audio.  Again, there are obvious performance and possible
   latency issues.

3. MOC's own resampling capability uses floating-point arithmetic,
   and when running on chips without a hardware floating-point
   implementation the CPU usage may be pegged at 100% by the
   floating-point emulation software.  There are obvious performance
   and possible latency issues.

4. ALSA allows the user to select from a variety of resampler
   plug-ins, each of which has different quality and resource usage
   trade-offs.  If MOC is doing the resampling then the selection of
   resampling algorithms is much more limited (but may be expanded
   in the future).

The simple solution is to invoke ALSA's
snd_pcm_hw_params_set_rate_resample() function to turn off dmix's
resampling and therefore have it present the actual rate it requires,
thereby causing MOC to do the resampling (with some of the same
considerations as setting "ForceSampleRate").  However, given
the concerns documented above and small number of users expected
to actually encounter the ALSA stutter bug, the better approach
would seem to be to provide a well-commented "ALSAStutterDefeat"
option and let users decide for themselves whether the impact of
the bug or the remedy is the greater in their case and then set
the option accordingly.

The pursuit of this bug was extremely frustrating.  Firstly,
mocmaint could never reproduce it (because it only emerged in
reasonable time on a 32-bit machine) and so was reliant on remote
debugging by e-mail and the good will and availablity of those
who reported it.  Secondly, the long time to failure meant many
of the usual tools required too much HDD space for logging and it
was too long for hands-on monitoring.  Interactive debugging was
too disruptive to the playing process to be viable.  The timings
involved suggested an integer overflow, but it was nowhere apparant
that it was actually occurring in MOC code despite many hours of
desk checking and code diving.

Many of the test results were contradictory.  In retrospect,
it's obvious now why.  The manifestation of the ALSA stutter bug
depends on multiple factors and the relationship between them was
not obvious; it was impossible to control *every* variable remotely
(even if they *had* all been known at the time).

Thanks must go to user "vectis" for providing several hardware
devices which allowed for the narrowing of the search space
sufficiently to finally home in on the cause.  Also to user "tokapix"
who provided additional proving testing.  But by far the biggest
contibution came from the original reporter user "GenghisKhan"
who stuck with the problem throughout its six year lifetime and
invested many hours in testing and debugging runs.

It must be said that this problem would probably have been solved
much earlier if the ALSA Project had maintained its Bug Tracker.

Thanks to: "GenghisKhan", "tokapix" and "vectis"
Resolves: node/692 (MOC is getting stuck after hours of playing)
          node/903 (broken record syndrome)
Refs: [1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5190
      [2] https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=HighDefinitionAudio
      [3] https://sourceforge.net/p/alsa/mailman/message/32276614/
      [4] https://archive.org/
      [5] http://www.alsa-project.org/main/index.php/Main_Page
      [6] http://achurch.org/notes.html#alsa-stutter
------------------------------------------------------------------------
r2921 | jcf | 2016-11-13 07:55:23 +0100 (Sun, 13 Nov 2016) | 128 lines

ALSA: Circumvent ALSA stutter bug.

This bug manifests itself as a stutter after many hours of
continously playing the same audio file or stream.  The stutter
is audible as the repetition of a sub-second portion of the audio
followed by a skip to some later portion and the repeat of the
stutter.  The stutter may or may not resolve itself after some time.
The playing duration before the stuttering starts is variable,
but around 373 and 650 minutes is common.

At the heart of the problem lies an integer overflow bug during
the resampling process of ALSA's dmix component.  This bug has been
apparently reported on the ALSA Project's Bug Tracker [1] and the
associated Wiki [2].  Unfortunately, those services are defunct [3]
and there seems no way to access the information they held (even
using the Wayback Machine [4]); the links to their Bug Tracker on
the ALSA Project's [5] web pages remain broken.

A good technical write up of the ALSA bug and a proposed fix was
provided by Andrew Church [6], but as at this time his solution
has not been implemented.

The problem occurs when the default dmix sample rate (as set
by 'defaults.pcm.dmix.rate' in '/usr/share/alsa/alsa.conf'
or in different ways in '/usr/share/alsa/pcm/dmix.conf' or in
'~/.asoundrc') is not the same as the sample rate asked for by
snd_pcm_hw_params_set_rate_near() in MOC.  ALSA responds with the
rate requested and then performs a resampling to its default dmix
rate privately.  It does this so the audio streams from different
applications and at differnt sample rates can be merged by dmix
at the same sample rate and sent to the same hardware device.
Unfortunately, that resampling process is bugged (although testing
indicates that the further resampling which may occur between dmix
and the hardware device is not).

This account accounts for why the stutter does not appear when the
audio's sample rate happens to match dmix's internal rate (because
it does not have to resample), when the audio is sent directly to
an ALSA hardware device (because dmix isn't on the audio path),
or when running on a 64-bit machine (the durations above relate to
32-bit machines; 64-bit machines have durations measured in millions
of years).

The first of these also accounts for why the stutter does not
manifest when MOC's "ForceSampleRate" configuration option is used
and set to a value corresponding to dmix's internal rate.  That is
because it invokes MOC's own resampling capability to convert the
audio stream before it is passed to ALSA at a rate which does not
subsequently need to be resampled by dmix.

Setting "ForceSampleRate" to dmix's internal rate offers a
user-configurable solution to the ALSA stutter bug, but there are
several considerations in doing so:

1. From the users' point of view, the "ForceSampleRate" option is
   not obviously associated with the stuttering audio experienced.
   Further, even if it is, finding the value to which it should be
   set may prove challenging.  It requires a deeper knowledge of
   MOC and ALSA than users should be expected to have.

2. If the user gets the value of the "ForceSampleRate" option wrong,
   then the effect is to insert an additional resampling step into
   the audio flow if the selected rate does not match the rate of
   the audio.  Again, there are obvious performance and possible
   latency issues.

3. MOC's own resampling capability uses floating-point arithmetic,
   and when running on chips without a hardware floating-point
   implementation the CPU usage may be pegged at 100% by the
   floating-point emulation software.  There are obvious performance
   and possible latency issues.

4. ALSA allows the user to select from a variety of resampler
   plug-ins, each of which has different quality and resource usage
   trade-offs.  If MOC is doing the resampling then the selection of
   resampling algorithms is much more limited (but may be expanded
   in the future).

The simple solution is to invoke ALSA's
snd_pcm_hw_params_set_rate_resample() function to turn off dmix's
resampling and therefore have it present the actual rate it requires,
thereby causing MOC to do the resampling (with some of the same
considerations as setting "ForceSampleRate").  However, given
the concerns documented above and small number of users expected
to actually encounter the ALSA stutter bug, the better approach
would seem to be to provide a well-commented "ALSAStutterDefeat"
option and let users decide for themselves whether the impact of
the bug or the remedy is the greater in their case and then set
the option accordingly.

The pursuit of this bug was extremely frustrating.  Firstly,
mocmaint could never reproduce it (because it only emerged in
reasonable time on a 32-bit machine) and so was reliant on remote
debugging by e-mail and the good will and availablity of those
who reported it.  Secondly, the long time to failure meant many
of the usual tools required too much HDD space for logging and it
was too long for hands-on monitoring.  Interactive debugging was
too disruptive to the playing process to be viable.  The timings
involved suggested an integer overflow, but it was nowhere apparant
that it was actually occurring in MOC code despite many hours of
desk checking and code diving.

Many of the test results were contradictory.  In retrospect,
it's obvious now why.  The manifestation of the ALSA stutter bug
depends on multiple factors and the relationship between them was
not obvious; it was impossible to control *every* variable remotely
(even if they *had* all been known at the time).

Thanks must go to user "vectis" for providing several hardware
devices which allowed for the narrowing of the search space
sufficiently to finally home in on the cause.  Also to user "tokapix"
who provided additional proving testing.  But by far the biggest
contibution came from the original reporter user "GenghisKhan"
who stuck with the problem throughout its six year lifetime and
invested many hours in testing and debugging runs.

It must be said that this problem would probably have been solved
much earlier if the ALSA Project had maintained its Bug Tracker.

Thanks to: "GenghisKhan", "tokapix" and "vectis"
Resolves: node/692 (MOC is getting stuck after hours of playing)
          node/903 (broken record syndrome)
Refs: [1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5190
      [2] https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=HighDefinitionAudio
      [3] https://sourceforge.net/p/alsa/mailman/message/32276614/
      [4] https://archive.org/
      [5] http://www.alsa-project.org/main/index.php/Main_Page
      [6] http://achurch.org/notes.html#alsa-stutter
------------------------------------------------------------------------
r2920 | jcf | 2016-10-29 23:23:40 +0200 (Sat, 29 Oct 2016) | 15 lines

Fix: Freeze on Nokia devices when audio plays to completion.

This circumvents a freeze of the MOC server when running on a
Nokia N810 tablet (and probably devices with similar soundcards).

If playing is not manually stopped and no other audio files are to
be played when the current audio file reaches the end (either because
the directory/playlist is exhausted or the 'AutoNext' toggle is off)
then the server effectively enters a infinite duration sleep.

The problem arises from an undocumented (and probably erroneous)
negative frame count delay value returned by ALSA's snd_pcm_delay()
function.

Resolves: node/1568 (MOC Freezes on a Nokia N810 Tablet)
------------------------------------------------------------------------
r2919 | jcf | 2016-10-29 23:23:19 +0200 (Sat, 29 Oct 2016) | 15 lines

Fix: Freeze on Nokia devices when audio plays to completion.

This circumvents a freeze of the MOC server when running on a
Nokia N810 tablet (and probably devices with similar soundcards).

If playing is not manually stopped and no other audio files are to
be played when the current audio file reaches the end (either because
the directory/playlist is exhausted or the 'AutoNext' toggle is off)
then the server effectively enters a infinite duration sleep.

The problem arises from an undocumented (and probably erroneous)
negative frame count delay value returned by ALSA's snd_pcm_delay()
function.

Resolves: node/1568 (MOC Freezes on a Nokia N810 Tablet)
------------------------------------------------------------------------
r2918 | jcf | 2016-09-25 03:47:24 +0200 (Sun, 25 Sep 2016) | 7 lines

oss: Add 24-bit support to the OSS sound driver.

Note that in the latest OSS (v4.2), vmix does not support 24- or 32-bit
formats, so they are not included in the vmix workaround format settings.

Thanks to: Vladimir Krylov <volodimir.krylov@gmail.com>
Resolves: node/1562
------------------------------------------------------------------------
r2917 | jcf | 2016-09-25 03:47:18 +0200 (Sun, 25 Sep 2016) | 8 lines

Fix: Adapt to changed signal(2) behaviour under POSIX.

Whether or not the signal handler is reinstated after a signal is
received and handled is implementation dependant under POSIX.  Using
sigaction(2) is both well defined and thread safe.

Thanks to: Daniel T. Borelli (on whose patch this was based)
Resolves: node/1554
------------------------------------------------------------------------
r2916 | jcf | 2016-09-25 03:47:13 +0200 (Sun, 25 Sep 2016) | 9 lines

Clean: Relocate SIGCHLD signal handler into the server.

Only the server process of MOC spawns child processes, so the more
logical place for the SIGCHLD handler is in the server code.  This
relocation also fixes any possibility of unreaped children when the
server is run in foreground mode.

Thanks to: Daniel T. Borelli (on whose patch this was based)
Also see: node/1554
------------------------------------------------------------------------
r2915 | jcf | 2016-09-25 03:46:58 +0200 (Sun, 25 Sep 2016) | 4 lines

Fix: Unreaped children when running in foreground mode.

Thanks to: Daniel T. Borelli (on whose patch this was based)
Also see: node/1554
------------------------------------------------------------------------
r2914 | jcf | 2016-08-30 22:35:09 +0200 (Tue, 30 Aug 2016) | 5 lines

Fix: Missing function call parentheses.

This has only worked because of the macro-supplied parentheses.

Amends: r2316
------------------------------------------------------------------------
r2913 | jcf | 2016-08-30 22:34:55 +0200 (Tue, 30 Aug 2016) | 5 lines

Fix: Missing function call parentheses.

This has only worked because of the macro-supplied parentheses.

Amends: r2316
------------------------------------------------------------------------
r2912 | jcf | 2016-08-15 04:05:04 +0200 (Mon, 15 Aug 2016) | 26 lines

Fix: Build failure on split ncurses/tinfo systems.

At the time of this commit, there is a bug in AX_WITH_CURSES which
causes it to test a stale value in 'pkg_failed' and fail even if the
ncurses .pc-file(s) were found.  To circumvent this bug, we unset the
'pkg_failed' shell variable before calling AX_WITH_CURSES.  This
unset can be removed once the macro has been fixed.

The ncurses .pc-file(s) define '_GNU_SOURCE' in Cflags.  This causes
problems for MOC when it is defined mid-configure, so we remove it.
It seems there's no reason to set it for client applications (using
the core ncurses header file as MOC does, at least), so ncurses should
not inflict it on all the clients component files.

The way in which 'configure' was unpacking CURSES_LIBS to test for
the presence of the set_escdelay() function no longer works now multiple
flags are present, so instead we fake it by asking for a check against
libm (assumed to always be present) but include all the CURSES_LIBS
flags as "other libraries" to be linked and therefore satisfying (or
not) the test.

Ultimately, MOC should replace AX_WITH_CURSES with pkg-config, but
some distributions do not configure ncurses with '--enable-pc-files'
so we have to live with it for now.

Resolves: node/1469 (fix build on systems with split ncurses/tinfo)
------------------------------------------------------------------------
r2911 | jcf | 2016-08-15 04:04:24 +0200 (Mon, 15 Aug 2016) | 22 lines

Fix: Build failure on split ncurses/tinfo systems.

At the time of this commit, there is a bug in AX_WITH_CURSES which
causes it to test a stale value in 'pkg_failed' and fail even if the
ncurses .pc-file(s) were found.  To circumvent this bug, we unset the
'pkg_failed' shell variable before calling AX_WITH_CURSES.  This
unset can be removed once the macro has been fixed.

The ncurses .pc-file(s) define '_GNU_SOURCE' in Cflags.  This causes
problems for MOC when it is defined mid-configure, so we remove it.
It seems there's no reason to set it for client applications (using
the core ncurses header file as MOC does, at least), so ncurses should
not inflict it on all the clients component files.

The way in which 'configure' was unpacking CURSES_LIBS to test for
the presence of the set_escdelay() function no longer works now multiple
flags are present, so instead we fake it by asking for a check against
libm (assumed to always be present) but include all the CURSES_LIBS
flags as "other libraries" to be linked and therefore satisfying (or
not) the test.

Resolves: node/1469 (fix build on systems with split ncurses/tinfo)
------------------------------------------------------------------------
r2910 | jcf | 2016-07-30 05:18:12 +0200 (Sat, 30 Jul 2016) | 4 lines

Debug: Log the original source of server error messages.

Being able to go directly to where a logged error was initially
detected significantly assists debugging and testing.
------------------------------------------------------------------------
r2909 | jcf | 2016-07-30 05:18:06 +0200 (Sat, 30 Jul 2016) | 1 line

Clean: Dead code removal.
------------------------------------------------------------------------
r2908 | jcf | 2016-07-30 05:18:00 +0200 (Sat, 30 Jul 2016) | 1 line

Fix: Suppress double logging of end-of-file or error report.
------------------------------------------------------------------------
r2907 | jcf | 2016-07-30 05:17:54 +0200 (Sat, 30 Jul 2016) | 1 line

Clean: Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2906 | jcf | 2016-07-30 05:17:49 +0200 (Sat, 30 Jul 2016) | 1 line

Clean: Convert single variable if-else ladders to switches.
------------------------------------------------------------------------
r2905 | jcf | 2016-07-30 05:17:43 +0200 (Sat, 30 Jul 2016) | 1 line

Clean: Refactor and restructure MMAP code to improve readablity.
------------------------------------------------------------------------
r2904 | jcf | 2016-07-30 05:17:33 +0200 (Sat, 30 Jul 2016) | 6 lines

Fix: Unintentional disabling of MMAP support.

The conversion of SIZE_MAX (unsigned) to off_t (signed) causes a
comparison against -1, which is always false.

Amends: r2594
------------------------------------------------------------------------
r2903 | jcf | 2016-07-30 05:17:06 +0200 (Sat, 30 Jul 2016) | 6 lines

Fix: Unintentional disabling of MMAP support.

The conversion of SIZE_MAX (unsigned) to off_t (signed) causes a
comparison against -1, which is always false.

Amends: r2594
------------------------------------------------------------------------
r2902 | jcf | 2016-07-20 06:20:09 +0200 (Wed, 20 Jul 2016) | 1 line

ALSA: Use *_errno() shorthand to simplify code.
------------------------------------------------------------------------
r2901 | jcf | 2016-07-20 06:20:04 +0200 (Wed, 20 Jul 2016) | 7 lines

ALSA: Cross-check MOC's size calculations against ALSA's.

This is a useful integrity check but using ALSA's conversion
functions in non-debugging code offers no benefit over MOC's own
direct calculation and incurs the additional overhead of a function
call.  (This assumes the calculations are linear and the initial
values hold for the duration of the entire audio.)
------------------------------------------------------------------------
r2900 | jcf | 2016-07-20 06:19:58 +0200 (Wed, 20 Jul 2016) | 1 line

ALSA: Restructure code to improve readablity.
------------------------------------------------------------------------
r2899 | jcf | 2016-07-08 06:52:52 +0200 (Fri, 08 Jul 2016) | 1 line

ALSA: Refactor device opening code.
------------------------------------------------------------------------
r2898 | jcf | 2016-07-08 06:52:47 +0200 (Fri, 08 Jul 2016) | 1 line

ALSA: Refactor conversions between ALSA's mask and MOC's format.
------------------------------------------------------------------------
r2897 | jcf | 2016-07-01 06:46:34 +0200 (Fri, 01 Jul 2016) | 11 lines

ALSA: Shortcircuit volume setting when channels are joined.

When the channels are "joined" then setting the volume in one sets it in
all.

This patch is based on one contributed by user "exc" which was obsoleted
by r2318.

Thanks to: User "exc"
Also see: node/694 and r2318

------------------------------------------------------------------------
r2896 | jcf | 2016-07-01 06:46:29 +0200 (Fri, 01 Jul 2016) | 8 lines

ALSA: Use fixed percentage scale for volume manipulation.

This fixes a drift in displayed volume percentage after it has been
increased and decreased several times or MOC is stopped and restarted
where the displayed volume does not return to its original value.

It interoperates consistantly with mplayer, but other players have
not been tested.
------------------------------------------------------------------------
r2895 | jcf | 2016-06-30 05:30:16 +0200 (Thu, 30 Jun 2016) | 3 lines

Fix: Add 'Precache' option to example config file.

Amends: r596
------------------------------------------------------------------------
r2894 | jcf | 2016-06-30 05:30:10 +0200 (Thu, 30 Jun 2016) | 1 line

SndFile: Add .ircam and .mat[45] aliases.
------------------------------------------------------------------------
r2893 | jcf | 2016-06-30 05:30:03 +0200 (Thu, 30 Jun 2016) | 4 lines

Musepack: Warn of library requirement changing to libmpc.

The libmpcdec library was merged into libmpc long ago and is no
longer maintained separately.
------------------------------------------------------------------------
r2892 | jcf | 2016-06-30 05:29:57 +0200 (Thu, 30 Jun 2016) | 10 lines

Fix: Musepack seeking.

mpc_demux_decode() may legitimately return zero samples if its internal
buffer is depleted.  This will frequently occur after seeking and does
not represent end of file.

The function will also sometimes return MPC_STATUS_INVALIDSV after
seeking, but it's unclear how to handle this (just ignoring it results
in a segfault) and later versions of the library just return a single
error code for all errors which would make recovery impractical anyway.
------------------------------------------------------------------------
r2891 | jcf | 2016-06-30 05:29:51 +0200 (Thu, 30 Jun 2016) | 1 line

FFmpeg: Use av_strerror() to interpret error return codes.
------------------------------------------------------------------------
r2890 | jcf | 2016-06-30 05:29:46 +0200 (Thu, 30 Jun 2016) | 4 lines

FFmpeg: Warn about AVSEEK_FORCE and AVSEEK_SIZE documentation bug.

This bug was introduced by FFmpeg/LibAV commits 41ed7ab4/41ed7ab4 and
the code reads correctly for the comment which was replaced.
------------------------------------------------------------------------
r2889 | jcf | 2016-06-30 05:29:40 +0200 (Thu, 30 Jun 2016) | 9 lines

FFmpeg: Update seeking breakages.

ASF/MP2 - No longer seeks outside of file.
FLV - No longer seeks outside of file after FFmpeg/LibAV commits
      369a1208/fa14804c.
W64 - Wild seeking mitigated by previous commit.

Also see: r2888
Refs: https://trac.ffmpeg.org/ticket/5610
------------------------------------------------------------------------
r2888 | jcf | 2016-06-30 05:29:34 +0200 (Thu, 30 Jun 2016) | 7 lines

Fix: Treat seeks beyond end-of-file as a seek to end-of-file.

This mitigates FFmpeg's wild seeking behaviour on W64-format files
by limiting it to a single out-of-bounds seek.

Amends: r1056
Ref: https://trac.ffmpeg.org/ticket/5610
------------------------------------------------------------------------
r2887 | jcf | 2016-06-30 05:29:29 +0200 (Thu, 30 Jun 2016) | 24 lines

FFmpeg: Circumvent 1MiB memory leak on opening empty or corrupt files.

The leak was isolated to a single FFmpeg commit (80a3a66) which
hinted strongly at the cause.  It pointed to code which, when read,
revealed that FFmpeg allocates memory in av_probe_input_buffer2() for
a probe buffer which is (subsequent to that commit) never released as
the result of attempting to reuse the probed data in later decoding
(which obviously won't happen if FFmpeg failed to identify the format).

This circumvention tracks the address of the AVIOContext block
containing the pointer to the buffer and frees both if FFmpeg hasn't.

Obviously, neither avio_close() or a single av_free() cannot be used
in this circumstance as the first segfaults and the second would
only free the AVIOContext block.  Ideally, FFmpeg would provide a
avio_free_context() function to allow this clean up to be done
atomically and completely ('cause only FFmpeg knows what memory it
might have allocated) if avformat_open_input() fails.

This patch has been tested against suitably corrupt files, but a
similarly corrupt audio stream is almost a contradiction in terms.

Also see: r2880
Ref: https://trac.ffmpeg.org/ticket/5584
------------------------------------------------------------------------
r2886 | jcf | 2016-06-30 05:06:42 +0200 (Thu, 30 Jun 2016) | 3 lines

Fix: Add 'Precache' option to example config file.

Amends: r596
------------------------------------------------------------------------
r2885 | jcf | 2016-06-30 05:06:37 +0200 (Thu, 30 Jun 2016) | 4 lines

Musepack: Warn of library requirement changing to libmpc.

The libmpcdec library was merged into libmpc long ago and is no
longer maintained.
------------------------------------------------------------------------
r2884 | jcf | 2016-06-30 05:06:30 +0200 (Thu, 30 Jun 2016) | 4 lines

Warn of raising the minimum TagLib requirement to version 1.5.

This is the first known version in which pkg-config files are installed,
which will soon be used to replace taglib-config.
------------------------------------------------------------------------
r2883 | jcf | 2016-06-30 05:06:24 +0200 (Thu, 30 Jun 2016) | 10 lines

Fix: Musepack seeking.

mpc_demux_decode() may legitimately return zero samples if its internal
buffer is depleted.  This will frequently occur after seeking and does
not represent end of file.

The function will also sometimes return MPC_STATUS_INVALIDSV after
seeking, but it's unclear how to handle this (just ignoring it results
in a segfault) and later versions of the library just return a single
error code for all errors which would make recovery impractical anyway.
------------------------------------------------------------------------
r2882 | jcf | 2016-06-30 05:06:18 +0200 (Thu, 30 Jun 2016) | 5 lines

FFmpeg: Update seeking breakages.

ASF/MP2 - No longer seeks outside of file.
FLV - No longer seeks outside of file after FFmpeg/LibAV commits
      369a1208/fa14804c.
------------------------------------------------------------------------
r2881 | jcf | 2016-06-30 05:06:12 +0200 (Thu, 30 Jun 2016) | 3 lines

Fix: Treat seeks beyond end-of-file as a seek to end-of-file.

Amends: r1056
------------------------------------------------------------------------
r2880 | jcf | 2016-06-05 05:38:53 +0200 (Sun, 05 Jun 2016) | 14 lines

FFmpeg: Use MOC's I/O functions for files as well as streams.

This simplifies the code and gives MOC more control over the library's
I/O processing.

This change triggers an FFmpeg bug [1] which causes it to leak 1MiB
sized chunks of memory when attempting to open an empty or corrupt
file.  There is no obvious remedy within MOC for this.

It also triggers an FFmpeg bug [2] which requires the W64-format to
be disabled from FFmpeg-1.1 onwards.

Refs: [1] https://trac.ffmpeg.org/ticket/5584
      [2] https://trac.ffmpeg.org/ticket/5610
------------------------------------------------------------------------
r2879 | jcf | 2016-06-05 05:38:47 +0200 (Sun, 05 Jun 2016) | 1 line

Clean: Refactor creation of data structure into separate function.
------------------------------------------------------------------------
r2878 | jcf | 2016-06-05 05:38:41 +0200 (Sun, 05 Jun 2016) | 1 line

Clean: Post-contribution code polishing for FFmpeg streams.
------------------------------------------------------------------------
r2877 | jcf | 2016-06-05 05:38:35 +0200 (Sun, 05 Jun 2016) | 7 lines

FFmpeg: Introduce FFmpeg to MOC's I/O functions for audio streams.

Thanks to: Jenny Wong
Resolves: node/261 (AAC stream not working with MOC)
Partially resolves: node/913 (FFmpeg plugin streaming)
Possibly resolves: node/951 ('Streaming' MP4 files)
Also see: https://lists.ffmpeg.org/pipermail/libav-user/2012-December/003257.html
------------------------------------------------------------------------
r2876 | jcf | 2016-06-05 05:38:30 +0200 (Sun, 05 Jun 2016) | 8 lines

FFmpeg: Add DSD support.

Both .dff and .dsf formats have been tested using the null sound
driver and do not appear to have any problems, but due to sampling
rates beyond the capability of most sound cards no listening tests
were able to be performed.

Resolves: node/1478 (DSD support?)
------------------------------------------------------------------------
r2875 | jcf | 2016-06-05 05:38:24 +0200 (Sun, 05 Jun 2016) | 1 line

FFmpeg: Suppress pointless "Skipping 0 bytes of junk" message.
------------------------------------------------------------------------
r2874 | jcf | 2016-06-05 05:38:18 +0200 (Sun, 05 Jun 2016) | 7 lines

FFmpeg: Update timing and seeking breakages for new minimum versions.

ASF/MP2 - No longer ends playing but seeks outside of file.
FLV - No longer ends playing but seeks outside of file.
OPUS - Now works on required minimum versions.
SV8 (.mpc/.mpc8) - Seeking still appears correct.
WV - Seeking now appears correct.
------------------------------------------------------------------------
r2873 | jcf | 2016-06-05 05:38:12 +0200 (Sun, 05 Jun 2016) | 6 lines

FFmpeg: Require FFmpeg/LibAV 1.0/10.0.

This removes a lot of legacy-supporting code and finally gets us
down to a single decoding function, avcodec_decode_audio4().

Also see: r2839
------------------------------------------------------------------------
r2872 | jcf | 2016-05-16 07:11:34 +0200 (Mon, 16 May 2016) | 3 lines

Account for sndfile decoder's Xiph formats in PreferredDecoders option.

Amends: r2862
------------------------------------------------------------------------
r2871 | jcf | 2016-05-16 07:10:52 +0200 (Mon, 16 May 2016) | 7 lines

Improve the accuracy of the average bitrate calculation in FLAC.

This method excludes the metadata length from the calculation.  In
most cases the difference is negligible, but when the metadata is
large (e.g., when album art is included) the result is noticable.

Amends: r2869
------------------------------------------------------------------------
r2870 | jcf | 2016-05-16 07:09:15 +0200 (Mon, 16 May 2016) | 7 lines

Improve the accuracy of the average bitrate calculation in FLAC.

This method excludes the metadata length from the calculation.  In
most cases the difference is negligible, but when the metadata is
large (e.g., when album art is included) the result is noticable.

Amends: r2868
------------------------------------------------------------------------
r2869 | jcf | 2016-05-15 02:29:59 +0200 (Sun, 15 May 2016) | 3 lines

Fix: Calculation of average bitrate in FLAC decoder.

Amends: r1950
------------------------------------------------------------------------
r2868 | jcf | 2016-05-15 02:29:44 +0200 (Sun, 15 May 2016) | 3 lines

Fix: Calculation of average bitrate in FLAC decoder.

Amends: r1950
------------------------------------------------------------------------
r2867 | jcf | 2016-05-13 05:25:20 +0200 (Fri, 13 May 2016) | 5 lines

Fix: "Unexpected token" error during configure on busybox systems.

Busybox's awk always requires parenthesis in function calls.

Resolves: node/1519 (error at configure)
------------------------------------------------------------------------
r2866 | jcf | 2016-05-13 05:25:07 +0200 (Fri, 13 May 2016) | 6 lines

Fix: "Unexpected token" error during configure on busybox systems.

Now that a POSIX-compatible system can be assumed, use the POSIX
standard shell variable string length parameter expansion.

Resolves: node/1519 (error at configure)
------------------------------------------------------------------------
r2865 | jcf | 2016-05-13 05:25:02 +0200 (Fri, 13 May 2016) | 6 lines

Fix: Bogus malformed layout configuration option error.

The rounding used by xround() was slightly unusual.

Amends: r2852
Also see: r1701
------------------------------------------------------------------------
r2864 | jcf | 2016-05-08 03:02:10 +0200 (Sun, 08 May 2016) | 1 line

Opt: Shortcut common cases in xsleep().
------------------------------------------------------------------------
r2863 | jcf | 2016-05-08 03:02:04 +0200 (Sun, 08 May 2016) | 1 line

Clean: Tidy up #includes.
------------------------------------------------------------------------
r2862 | jcf | 2016-05-08 03:01:57 +0200 (Sun, 08 May 2016) | 1 line

Ask sndfile for supported extensions.
------------------------------------------------------------------------
r2861 | jcf | 2016-05-08 03:01:51 +0200 (Sun, 08 May 2016) | 4 lines

Clean: Refactor get_name().

Remove duplicate code by providing a default name which is suitable
for most decoders.  The decoder get_name() function is now optional.
------------------------------------------------------------------------
r2860 | jcf | 2016-05-08 03:01:43 +0200 (Sun, 08 May 2016) | 5 lines

Clean: Restructure start_moc().

This is to make the code clearer and a little easier to follow.

Also see: r2822
------------------------------------------------------------------------
r2859 | jcf | 2016-05-08 03:01:38 +0200 (Sun, 08 May 2016) | 1 line

Clean: Localise 'server_sock' to server.c.
------------------------------------------------------------------------
r2858 | jcf | 2016-05-08 03:01:32 +0200 (Sun, 08 May 2016) | 5 lines

Clean: Remove tags_cache_save().

This function is now dead code.

Amends: r2068
------------------------------------------------------------------------
r2857 | jcf | 2016-05-08 03:01:27 +0200 (Sun, 08 May 2016) | 8 lines

Clean: Remove "next_search" key mapping debris.

This function makes little sense with an incremental search and is
probably just debris left over when the incremental search was
introduced.

Amends: r1184
Also see: node/1474 (Next search not working)
------------------------------------------------------------------------
r2856 | jcf | 2016-05-08 03:01:21 +0200 (Sun, 08 May 2016) | 6 lines

Clean: Reposition capturing of build information.

Moving the defining of 'CONFIGURATION' and 'PACKAGE_REVISION' after
all tests means that it is not included in a '#define' in *every* test.
Given the value of 'CONFIGURATION' can be quite lengthy, this consider-
ably declutters the config.log output and makes for easier viewing.
------------------------------------------------------------------------
r2855 | jcf | 2016-05-08 03:01:16 +0200 (Sun, 08 May 2016) | 1 line

Clean: Restructure pthread_attr_getstacksize() check.
------------------------------------------------------------------------
r2854 | jcf | 2016-05-08 03:01:10 +0200 (Sun, 08 May 2016) | 1 line

Clean: Restructure clock_gettime() check.
------------------------------------------------------------------------
r2853 | jcf | 2016-05-08 03:01:05 +0200 (Sun, 08 May 2016) | 1 line

Clean: Restructure Berkeley DB version check.
------------------------------------------------------------------------
r2852 | jcf | 2016-05-08 03:00:59 +0200 (Sun, 08 May 2016) | 9 lines

C99: Remove code made redundant by C99/Posix.1-2001 requirements.

Significantly:

- lrintf(3) is now mandatory
- stdbool.h is now mandatory
- many functions and headers are now mandatory

Also see: http://www.unix.org/version3/inttables.pdf
------------------------------------------------------------------------
r2851 | jcf | 2016-05-07 02:46:24 +0200 (Sat, 07 May 2016) | 3 lines

Fix: Make command line toggling arguments case insensitive.

Resolves: comment/5608#comment-5608 ("Shuffle" vs. "shuffle")
------------------------------------------------------------------------
r2850 | jcf | 2016-05-06 01:56:47 +0200 (Fri, 06 May 2016) | 3 lines

Fix: Fatal error "Tried to get wrong option 'Shuffle'!"

Resolves: node/1513 (-toggle Argument Gives Error)
------------------------------------------------------------------------
r2849 | jcf | 2016-04-24 06:14:56 +0200 (Sun, 24 Apr 2016) | 1 line

Create tag 2.6-alpha2
------------------------------------------------------------------------
r2848 | jcf | 2016-04-24 06:14:33 +0200 (Sun, 24 Apr 2016) | 1 line

Bump version numbers to 2.6-alpha2.
------------------------------------------------------------------------
r2847 | jcf | 2016-04-24 06:14:27 +0200 (Sun, 24 Apr 2016) | 1 line

Update administrative files in preparation for 2.6-alpha2.
------------------------------------------------------------------------
r2846 | jcf | 2016-04-24 06:14:22 +0200 (Sun, 24 Apr 2016) | 1 line

Clean: Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2845 | jcf | 2016-04-24 06:13:57 +0200 (Sun, 24 Apr 2016) | 1 line

Create tag 2.5.1
------------------------------------------------------------------------
r2844 | jcf | 2016-04-24 06:13:34 +0200 (Sun, 24 Apr 2016) | 1 line

Bump version numbers to 2.5.1.
------------------------------------------------------------------------
r2843 | jcf | 2016-04-24 06:13:28 +0200 (Sun, 24 Apr 2016) | 1 line

Update administrative files in preparation for 2.5.1.
------------------------------------------------------------------------
r2842 | jcf | 2016-04-20 05:21:58 +0200 (Wed, 20 Apr 2016) | 1 line

C99: Introduce minimum compiler requirement of ISO 9899:1999.
------------------------------------------------------------------------
r2841 | jcf | 2016-04-20 05:21:53 +0200 (Wed, 20 Apr 2016) | 5 lines

C99: Introduce minimum POSIX.1 requirement of IEEE 1003.1-2001.

Refs: http://stackoverflow.com/questions/18235354/

For OpenBSD also see: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/unistd.h?rev=1.30&content-type=text/x-cvsweb-markup
------------------------------------------------------------------------
r2840 | jcf | 2016-04-20 05:21:47 +0200 (Wed, 20 Apr 2016) | 3 lines

C99: Split header and function checking into C99/POSIX groups.

Refs: http://www.schweikhardt.net/identifiers.html
------------------------------------------------------------------------
r2839 | jcf | 2016-04-20 05:21:41 +0200 (Wed, 20 Apr 2016) | 8 lines

Clean: Redistribute code amongst administrative header files.

The role of the administrative header files have been clarified
and documented:

- compiler.h: configure the compiler and system headers
- compat.h: provide missing or unbroken code (Gnulib candidates)
- common.h: provide common or enhanced system functions to MOC code
------------------------------------------------------------------------
r2838 | jcf | 2016-04-20 05:21:36 +0200 (Wed, 20 Apr 2016) | 7 lines

C99: Work around Berkeley DB's header generation assumptions.

The configuration of Berkeley DB itself conditionally generates
typedefs for the u_* types within the db.h header.  That doesn't
work if they were not included in db.h but the client application
is configured in such a way which causes them not to be exposed by
sys/types.h at build time.
------------------------------------------------------------------------
r2837 | jcf | 2016-04-20 05:21:30 +0200 (Wed, 20 Apr 2016) | 10 lines

C99: strcasestr(3) is a GNU extension.

It is exposed by 'string.h' if we define '_GNU_SOURCE', but we're
aiming for POSIX compliance so we don't.  However, the C library
implementation will still be present if we're linking against GNU's
libc so we'll use that if we can (even though using our own would
not cause a conflict).

The C strcasestr(3) declaration also conflicts with that for C++
with regard to constness, so we don't expose it in C++ code.
------------------------------------------------------------------------
r2836 | jcf | 2016-04-20 05:21:25 +0200 (Wed, 20 Apr 2016) | 1 line

C99: POSIX does not define MSG_DONTWAIT; use fcntl(2) with O_NONBLOCK.
------------------------------------------------------------------------
r2835 | jcf | 2016-04-20 05:21:19 +0200 (Wed, 20 Apr 2016) | 1 line

C99: POSIX permits either EAGAIN or EWOULDBLOCK to be returned.
------------------------------------------------------------------------
r2834 | jcf | 2016-04-20 05:21:14 +0200 (Wed, 20 Apr 2016) | 1 line

C99: Use POSIX lockf() rather than the Linux-specific flock().
------------------------------------------------------------------------
r2833 | jcf | 2016-04-20 05:21:08 +0200 (Wed, 20 Apr 2016) | 40 lines

C99: Use AF_UNIX for both address and protocol families.

There is some confusion over whether AF_UNIX or AF_LOCAL is the now
accepted constant to use for the address family, and whether PF_*
or AF_* should be used for the protocol family.  As far as can be
determined from the POSIX standards documents available they seem to
have settled on AF_UNIX [1], but it seems counter-intuitive that an
OS-neutral standard would opt for that rather than the more generic
(and descriptive) AF_LOCAL.

The GNU C Library documentation says (in the section "Address Formats")
that AF_UNIX is a synonym for AF_LOCAL [2] and that the latter is
mandated by POSIX.1g while the unix(7) manpage suggests the opposite
[3].

It also seems generally agreed that all PF_* are now numerically equal
to their AF_* counterparts, using AF_* for protocol is correct and
that breaking this equality would also break a lot of existing code
[4].  The socket(3) manpage says [5]:

    "... subsequent standards use AF_* everywhere."

However, that would seem to imply that there can only be one protocol
per address family (unless non-address AF_* constants are introduced
to confuse the issue even further) in which case the protocol family
is completely redundant.

So whatever the standards, headers and commentators may say, AF_UNIX
is the one which seems to work in all cases tested so far.

(The OSX header file [6] is actually broken with respect to PF_*.
They are #define'd in a chain from AF_UNIX, but the chain is broken
by an #ifdef at AF_LOCAL for POSIX.)

Refs: [1] http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html
      [2] http://www.gnu.org/software/libc/manual/html_node/Address-Formats.html
      [3] http://manpages.org/unix/7
      [4] http://www.kohala.com/start/lanciani.96apr10.txt
      [5] http://manpages.org/socket/2
      [6] http://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/socket.h
------------------------------------------------------------------------
r2832 | jcf | 2016-04-20 05:21:03 +0200 (Wed, 20 Apr 2016) | 1 line

C99: Ensure we always have SUN_LEN macro defined.
------------------------------------------------------------------------
r2831 | jcf | 2016-04-20 05:20:57 +0200 (Wed, 20 Apr 2016) | 36 lines

C99: Silence data to function pointer conversion warnings.

It turns out that both of the previous approaches to this problem are
correct, but in different contexts.  r2797 is correct when compiling
with ANSI C99 while r2825 is correct when compiling with GNU's C99.

However, they're only correct in terms of compiler warnings; in fact,
neither are correct because there is *no* correct way of doing this.
The origin of the problem lies in a conflict between the C99 and
POSIX standards.

C99 says (correctly) that assigning a data pointer to a function
pointer is undefined.  For some machine architectures, the two
pointer types may represented differently.  The POSIX standard says
that dlsym(3) returns the address of a symbol as a data pointer.
If that symbol is a function then there is no legal way of assigning
it to a function pointer.

On most modern machine architectures, and certainly most on which
MOC will ever run, the two pointer types are identical and can be
used interchangably.  Therefore, the approach taken in this patch
assumes that they are and avoids compiler warnings via a union.
We check that function and data pointers are the same length and
warn the user that memory accessing or illegal instruction errors may
result if they're not or if we can't determine that they are.  Even if
they are the same length they may still be represented differently,
but there seems no way of checking for this that does not involve
doing a trial conversion.

In summary, this approach works as well as any other and will avoid
warnings about which nothing can be done.  In most cases it will work;
in a few it will fail, and there's no general solution.

This will be revisited when the plug-in architecture is overhauled.

Amends: r2797 and r2825
------------------------------------------------------------------------
r2830 | jcf | 2016-04-20 05:16:22 +0200 (Wed, 20 Apr 2016) | 6 lines

Fix: Silence compiler warning about left shift of negative value.

The shift is being used for alignment rather than arithmetic so
this isn't actually a problem (but the compiler cannot know that).

This warning ('shift-negative-value') was introduced in GCC 6.
------------------------------------------------------------------------
r2829 | jcf | 2016-04-20 05:16:16 +0200 (Wed, 20 Apr 2016) | 5 lines

Fix: Silence compiler warning about assert() comparison always true.

The comparison is always true on platforms with 32-bit size_t.

Amends: r2706
------------------------------------------------------------------------
r2828 | jcf | 2016-04-20 05:16:11 +0200 (Wed, 20 Apr 2016) | 1 line

Fix: Silence compiler warning about unused variable 'rc'.
------------------------------------------------------------------------
r2827 | jcf | 2016-04-20 05:16:05 +0200 (Wed, 20 Apr 2016) | 3 lines

Types: parse_layout()'s return type is bool, not int.

Amends: r2358
------------------------------------------------------------------------
r2826 | jcf | 2016-03-21 01:13:41 +0100 (Mon, 21 Mar 2016) | 6 lines

Fix: Supply missing header includes.

- OSX requires explicit 'sys/types.h' (for ssize_t).
- 'io.h' only requires 'sys/types.h' (and not 'unistd.h').
- 'interface.c' requires 'unistd.h' (previously provided by 'io.h').
- Decoders require 'io.h' (currently provided by 'decoder.h').
------------------------------------------------------------------------
r2825 | jcf | 2016-03-21 01:13:35 +0100 (Mon, 21 Mar 2016) | 3 lines

Fix: Silence strict-aliasing compiler warning.

Amends: r2797
------------------------------------------------------------------------
r2824 | jcf | 2016-03-19 01:45:57 +0100 (Sat, 19 Mar 2016) | 1 line

Fix: File descriptor leak on theme file errors.
------------------------------------------------------------------------
r2823 | jcf | 2016-03-19 01:45:43 +0100 (Sat, 19 Mar 2016) | 1 line

Fix: File descriptor leak on theme file errors.
------------------------------------------------------------------------
r2822 | jcf | 2016-03-19 00:32:20 +0100 (Sat, 19 Mar 2016) | 8 lines

Fix: Bad file descriptor (-1) on close.

This bug has never been reported as having caused any problems as
the result of the close(2) is ignored.

The fix is a kludge, but the bug will disappear when the code is
restructured shortly.  For now, we need to mark it as having been
found and fixed anyway.
------------------------------------------------------------------------
r2821 | jcf | 2016-03-19 00:32:05 +0100 (Sat, 19 Mar 2016) | 8 lines

Fix: Bad file descriptor (-1) on close.

This bug has never been reported as having caused any problems as
the result of the close(2) is ignored.

The fix is a kludge, but the bug will disappear when the code is
restructured in MOC 2.6.  For now, we need to mark it as having
been found and fixed anyway.
------------------------------------------------------------------------
r2820 | jcf | 2016-02-29 00:04:20 +0100 (Mon, 29 Feb 2016) | 3 lines

Clean: Remove dead variable.

Amends: r388
------------------------------------------------------------------------
r2819 | jcf | 2016-02-29 00:04:15 +0100 (Mon, 29 Feb 2016) | 1 line

Fix: Reset screen_initialized flag.
------------------------------------------------------------------------
r2818 | jcf | 2016-02-29 00:04:10 +0100 (Mon, 29 Feb 2016) | 1 line

Fix: Remove duplicate logging of fatal error messages.
------------------------------------------------------------------------
r2817 | jcf | 2016-02-29 00:03:56 +0100 (Mon, 29 Feb 2016) | 1 line

Fix: Remove duplicate logging of fatal error messages.
------------------------------------------------------------------------
r2816 | jcf | 2016-02-26 04:58:24 +0100 (Fri, 26 Feb 2016) | 3 lines

Fix: HAVE_DECL_STRERROR_R always exists; it's the value that counts.

The dangers of last minute changes and inconsistant interfaces.
------------------------------------------------------------------------
r2815 | jcf | 2016-02-26 04:58:18 +0100 (Fri, 26 Feb 2016) | 1 line

Fix: compat.c needs its own header for LOCK_REALTIME.
------------------------------------------------------------------------
r2814 | jcf | 2016-02-26 04:28:01 +0100 (Fri, 26 Feb 2016) | 8 lines

Fix: Broken pipe on sending EV_EXIT to client originating CMD_QUIT.

At every point where the client sends the server a CMD_QUIT it then
immediately closes the socket connection, so it's pointless the server
attempting to send it an EV_EXIT event (besides, that client already
knows) and it just results in the logging of a "Broken pipe" error
message.  So we have the server tear down that client's connection
immediately.
------------------------------------------------------------------------
r2813 | jcf | 2016-02-26 04:27:48 +0100 (Fri, 26 Feb 2016) | 8 lines

Fix: Broken pipe on sending EV_EXIT to client originating CMD_QUIT.

At every point where the client sends the server a CMD_QUIT it then
immediately closes the socket connection, so it's pointless the server
attempting to send it an EV_EXIT event (besides, that client already
knows) and it just results in the logging of a "Broken pipe" error
message.  So we have the server tear down that client's connection
immediately.
------------------------------------------------------------------------
r2812 | jcf | 2016-02-26 03:42:24 +0100 (Fri, 26 Feb 2016) | 1 line

Add instructions on building with autoreconf.
------------------------------------------------------------------------
r2811 | jcf | 2016-02-26 03:42:10 +0100 (Fri, 26 Feb 2016) | 1 line

Add instructions on building with autoreconf.
------------------------------------------------------------------------
r2810 | jcf | 2016-02-26 03:32:10 +0100 (Fri, 26 Feb 2016) | 3 lines

C99: Warn of pending POSIX.1-2001 compliance requirement.

Refs: http://stackoverflow.com/questions/18235354/
------------------------------------------------------------------------
r2809 | jcf | 2016-02-26 03:31:56 +0100 (Fri, 26 Feb 2016) | 3 lines

C99: Warn of pending POSIX.1-2001 compliance requirement.

Refs: http://stackoverflow.com/questions/18235354/
------------------------------------------------------------------------
r2808 | jcf | 2016-02-21 04:57:15 +0100 (Sun, 21 Feb 2016) | 3 lines

Fix: limits.h is needed for PATH_MAX.

Amends: r1683
------------------------------------------------------------------------
r2807 | jcf | 2016-02-21 04:56:53 +0100 (Sun, 21 Feb 2016) | 3 lines

Fix: limits.h is needed for PATH_MAX.

Amends: r1683
------------------------------------------------------------------------
r2806 | jcf | 2016-02-20 05:53:11 +0100 (Sat, 20 Feb 2016) | 1 line

Deploy xstrerror along with appropriate shorthand for invocation.
------------------------------------------------------------------------
r2805 | jcf | 2016-02-20 05:53:03 +0100 (Sat, 20 Feb 2016) | 10 lines

Fix: Provide consistantly behaving errno interpreting function.

Three variants are possible depending on the system's configuration:

1. strerror(3): returns pointer to static buffer; not thread-safe.
2. strerror_r(XSI): returns code with message in buffer passed.
3. strerror_r(GNU): returns message pointer; maybe not in buffer passed.

Always returning the message in malloc()ed storage in a thread-safe
manner removes several sources of error.
------------------------------------------------------------------------
r2804 | jcf | 2016-02-19 23:27:55 +0100 (Fri, 19 Feb 2016) | 1 line

FFmpeg: Warn version requirement rising to 1.0/10.0.
------------------------------------------------------------------------
r2803 | jcf | 2016-02-19 23:27:36 +0100 (Fri, 19 Feb 2016) | 1 line

FFmpeg: Warn version requirement rising to 1.0/10.0.
------------------------------------------------------------------------
r2802 | jcf | 2016-02-17 23:58:02 +0100 (Wed, 17 Feb 2016) | 6 lines

Fix: Miscapitalisation of configure shell variable.

In practice, tests are only made for a setting of 'yes', so the
miscapitalisation of the 'no' setting does no harm.

Amends: r2086
------------------------------------------------------------------------
r2801 | jcf | 2016-02-17 23:57:20 +0100 (Wed, 17 Feb 2016) | 6 lines

Fix: Miscapitalisation of configure shell variable.

In practice, tests are only made for a setting of 'yes', so the
miscapitalisation of the 'no' setting does no harm.

Amends: r2086
------------------------------------------------------------------------
r2800 | jcf | 2016-02-04 21:30:21 +0100 (Thu, 04 Feb 2016) | 3 lines

Fix: Reverse FFmpeg decoder regression.

Amends: r2782
------------------------------------------------------------------------
r2799 | jcf | 2016-02-04 21:30:15 +0100 (Thu, 04 Feb 2016) | 3 lines

Fix: Aligned variable attribute needs a value.

Amends: r2747
------------------------------------------------------------------------
r2798 | jcf | 2016-01-31 05:35:22 +0100 (Sun, 31 Jan 2016) | 3 lines

Fix: Clear stream status message on error.

Amends: r2611
------------------------------------------------------------------------
r2797 | jcf | 2016-01-31 05:35:17 +0100 (Sun, 31 Jan 2016) | 7 lines

C99: Silence function pointer conversion warnings.

This looks messy but is the recommended way of doing it.  It
may not work for some now rare hardware architectures, but then
a simple assignment would not have worked either.  It's very
unlikely that MOC would ever be run on such architectures, so
we'll cross that bridge when we come to it.
------------------------------------------------------------------------
r2796 | jcf | 2016-01-31 05:35:12 +0100 (Sun, 31 Jan 2016) | 1 line

C99: Silence unused varadic macro arguments warnings.
------------------------------------------------------------------------
r2795 | jcf | 2016-01-31 05:34:57 +0100 (Sun, 31 Jan 2016) | 3 lines

Fix: Clear stream status message on error.

Amends: r2611
------------------------------------------------------------------------
r2794 | jcf | 2016-01-06 04:53:59 +0100 (Wed, 06 Jan 2016) | 1 line

Reunite orphaned comment with its parent function.
------------------------------------------------------------------------
r2793 | jcf | 2016-01-06 04:53:54 +0100 (Wed, 06 Jan 2016) | 3 lines

Add stdio.h #include required for snprintf(3).

Thanks to: Brent Cook
------------------------------------------------------------------------
r2792 | jcf | 2016-01-06 04:53:48 +0100 (Wed, 06 Jan 2016) | 3 lines

Fix compiler warning due to differing iconv(3) function declarations.

Thanks to: Brent Cook
------------------------------------------------------------------------
r2791 | jcf | 2016-01-06 04:53:43 +0100 (Wed, 06 Jan 2016) | 3 lines

Silence compiler warnings when OUT_TEST is enabled.

Amends: r2487 and r2496
------------------------------------------------------------------------
r2790 | jcf | 2016-01-06 04:53:38 +0100 (Wed, 06 Jan 2016) | 3 lines

Have configure check for intptr_t.

Amends: r2590
------------------------------------------------------------------------
r2789 | jcf | 2016-01-06 04:53:32 +0100 (Wed, 06 Jan 2016) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2788 | jcf | 2016-01-05 23:32:32 +0100 (Tue, 05 Jan 2016) | 1 line

Clean: Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2787 | jcf | 2016-01-05 23:32:26 +0100 (Tue, 05 Jan 2016) | 3 lines

Clean: Reunite orphaned comment with its parent function.

Amends: r2738
------------------------------------------------------------------------
r2786 | jcf | 2016-01-05 23:32:20 +0100 (Tue, 05 Jan 2016) | 3 lines

Clean: Reverse over-enthusiastic exit(3) argument cleaning.

Amends: r2592
------------------------------------------------------------------------
r2785 | jcf | 2015-11-30 22:58:21 +0100 (Mon, 30 Nov 2015) | 3 lines

Older FFmpeg/LibAV versions still define unsigned error codes.

Amends: r2743
------------------------------------------------------------------------
r2784 | jcf | 2015-11-30 22:58:15 +0100 (Mon, 30 Nov 2015) | 1 line

Adapt to FFmpeg/LibAV's av_free_packet() deprecation (commit ce70f28a).
------------------------------------------------------------------------
r2783 | jcf | 2015-11-30 22:58:09 +0100 (Mon, 30 Nov 2015) | 5 lines

We now have a resolution to the deprecated 'request_channels' puzzle.

Thanks to: Andreas Cadhalpun
Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803842
          MOC SVN commit r2409
------------------------------------------------------------------------
r2782 | jcf | 2015-11-30 22:58:03 +0100 (Mon, 30 Nov 2015) | 4 lines

Adapt to FFmpeg/LibAV's audioconvert.h rename (commit 5980f5dd).

Thanks to: Andreas Cadhalpun
Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803842
------------------------------------------------------------------------
r2781 | jcf | 2015-11-30 22:57:46 +0100 (Mon, 30 Nov 2015) | 1 line

Adapt to FFmpeg/LibAV's av_free_packet() deprecation (commit ce70f28a).
------------------------------------------------------------------------
r2780 | jcf | 2015-11-30 22:57:40 +0100 (Mon, 30 Nov 2015) | 5 lines

We now have a resolution to the deprecated 'request_channels' puzzle.

Thanks to: Andreas Cadhalpun
Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803842
          MOC SVN commit r2409
------------------------------------------------------------------------
r2779 | jcf | 2015-11-30 22:57:34 +0100 (Mon, 30 Nov 2015) | 4 lines

Adapt to FFmpeg/LibAV's audioconvert.h rename (commit 5980f5dd).

Thanks to: Andreas Cadhalpun
Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803842
------------------------------------------------------------------------
r2778 | jcf | 2015-10-05 03:34:55 +0200 (Mon, 05 Oct 2015) | 3 lines

Fix potential segfault on deference prior to checking assert().

Thanks to: Daniel T. Borelli
------------------------------------------------------------------------
r2777 | jcf | 2015-10-05 03:32:50 +0200 (Mon, 05 Oct 2015) | 3 lines

Fix potential segfault on deference prior to checking assert().

Thanks to: Daniel T. Borelli
------------------------------------------------------------------------
r2776 | jcf | 2015-07-18 05:47:59 +0200 (Sat, 18 Jul 2015) | 3 lines

Delay freeing of filename so it can be logged.

Thanks to: Hendrik Iben
------------------------------------------------------------------------
r2775 | jcf | 2015-07-18 05:47:53 +0200 (Sat, 18 Jul 2015) | 3 lines

Fix segfault on dangling pointer when equalizer file was deleted.

Thanks to: Rastislav Barlik
------------------------------------------------------------------------
r2774 | jcf | 2015-07-18 05:46:16 +0200 (Sat, 18 Jul 2015) | 3 lines

Delay freeing of deleted filename so it can be logged.

Thanks to: Hendrik Iben
------------------------------------------------------------------------
r2773 | jcf | 2015-07-18 05:46:10 +0200 (Sat, 18 Jul 2015) | 3 lines

Fix segfault on dangling pointer when equalizer file was deleted.

Thanks to: Rastislav Barlik
------------------------------------------------------------------------
r2772 | jcf | 2015-05-13 05:40:20 +0200 (Wed, 13 May 2015) | 4 lines

Check if reported output channels and formats are valid.

Thanks to: Tomasz Golinski
Partially resolves: node/1422 (MOC freeze after pause using ogg 24 bit)
------------------------------------------------------------------------
r2771 | jcf | 2015-04-14 23:42:28 +0200 (Tue, 14 Apr 2015) | 4 lines

Remove redundant call to file_type().

Thanks to: Jonathan Poelen <jonathan.poelen@gmail.com>
Resolves: node/1417 (Dual Call To file_type())
------------------------------------------------------------------------
r2770 | jcf | 2015-03-23 03:08:19 +0100 (Mon, 23 Mar 2015) | 1 line

C99: Do not rely on GNU extensions for strings.h function inclusion.
------------------------------------------------------------------------
r2769 | jcf | 2015-03-23 03:08:11 +0100 (Mon, 23 Mar 2015) | 3 lines

Add stdio.h #include required for snprintf(3).

Thanks to: Brent Cook
------------------------------------------------------------------------
r2768 | jcf | 2015-03-23 03:08:06 +0100 (Mon, 23 Mar 2015) | 3 lines

Fix compiler warning due to differing iconv(3) function declarations.

Thanks to: Brent Cook
------------------------------------------------------------------------
r2767 | jcf | 2015-03-23 03:08:00 +0100 (Mon, 23 Mar 2015) | 1 line

Add specific #define for FreeBSD.
------------------------------------------------------------------------
r2766 | jcf | 2015-03-23 03:07:55 +0100 (Mon, 23 Mar 2015) | 1 line

Avoid running uname(1) in favour of Autoconf-supplied variables.
------------------------------------------------------------------------
r2765 | jcf | 2015-03-23 03:07:49 +0100 (Mon, 23 Mar 2015) | 4 lines

Use API macro rather than system headers' internal macro.

Amends: r2725
Thanks to: Brent Cook
------------------------------------------------------------------------
r2764 | jcf | 2015-02-18 02:00:19 +0100 (Wed, 18 Feb 2015) | 9 lines

Warn that the error reading default POPT config file may be bogus.

This is the result of a bug in the POPT library [1] which occurs
when the /etc/popt.d directory is present but empty.  POPT returns
a bogus error indication in this case which cannot be definitively
detected (because it may be legitimate or incorrectly returned with
a random value of 'errno').

Refs: [1] http://rpm5.org/cvs/tktview?tn=88
------------------------------------------------------------------------
r2763 | jcf | 2015-02-18 02:00:10 +0100 (Wed, 18 Feb 2015) | 14 lines

Disable the rendering of the POPT-interpreted command line on OpenWRT.

For reasons which we have not been able to determine, the freeing of
the cloned POPT option table (required to render the POPT-interpreted
command line) causes the assertion on 'opts' in free_popt_clone() to
fire (with NDEBUG undefined) or a segfault (with NDEBUG defined).

The MOC code seems correct and works on every other platform.  It
may be something specific to POPT on OpenWRT or the uClibc library
which it uses.

Until we get additional debugging information we'll simply disable
POPT-interpreted command line rendering (for logging and the output
of the --echo-args option) on OpenWRT.
------------------------------------------------------------------------
r2762 | jcf | 2015-02-18 02:00:02 +0100 (Wed, 18 Feb 2015) | 1 line

Rationalise the showing of MOCP environment variable settings.
------------------------------------------------------------------------
r2761 | jcf | 2015-02-18 01:59:53 +0100 (Wed, 18 Feb 2015) | 1 line

Add TTA format support via FFmpeg/LibAV.
------------------------------------------------------------------------
r2760 | jcf | 2015-02-13 04:44:01 +0100 (Fri, 13 Feb 2015) | 4 lines

Apply minimum volume bias to ALSA volume setting.

Thanks to: Tomasz Golinski
Resolves: node/1374 (Volume controls are not working)
------------------------------------------------------------------------
r2759 | jcf | 2015-02-13 04:43:35 +0100 (Fri, 13 Feb 2015) | 4 lines

Apply minimum volume bias to ALSA volume setting.

Thanks to: Tomasz Golinski
Resolves: node/1374 (Volume controls are not working)
------------------------------------------------------------------------
r2758 | jcf | 2014-12-10 04:09:44 +0100 (Wed, 10 Dec 2014) | 3 lines

Make xsleep() mandatory.

Amends: r2748
------------------------------------------------------------------------
r2757 | jcf | 2014-12-10 04:09:36 +0100 (Wed, 10 Dec 2014) | 3 lines

Silence compiler warnings when OUT_TEST is enabled.

Amends: r2487 and r2496
------------------------------------------------------------------------
r2756 | jcf | 2014-12-10 04:09:28 +0100 (Wed, 10 Dec 2014) | 1 line

Ensure directory handle is closed on error return.
------------------------------------------------------------------------
r2755 | jcf | 2014-12-10 04:09:07 +0100 (Wed, 10 Dec 2014) | 1 line

Ensure directory handle is closed on error return.
------------------------------------------------------------------------
r2754 | jcf | 2014-10-30 03:41:56 +0100 (Thu, 30 Oct 2014) | 1 line

C99: Miscellaneous compliance code cleaning.
------------------------------------------------------------------------
r2753 | jcf | 2014-10-30 03:41:47 +0100 (Thu, 30 Oct 2014) | 1 line

C99: Standard no longer allows 'int' data type to be omitted.
------------------------------------------------------------------------
r2752 | jcf | 2014-10-30 03:41:37 +0100 (Thu, 30 Oct 2014) | 1 line

Localise tags cache implementation structures.
------------------------------------------------------------------------
r2751 | jcf | 2014-10-30 03:41:28 +0100 (Thu, 30 Oct 2014) | 1 line

Localise output buffer implementation structures.
------------------------------------------------------------------------
r2750 | jcf | 2014-10-30 03:41:19 +0100 (Thu, 30 Oct 2014) | 1 line

Localise FIFO buffer implementation structures.
------------------------------------------------------------------------
r2749 | jcf | 2014-10-30 03:41:10 +0100 (Thu, 30 Oct 2014) | 1 line

Localise RB tree implementation structures.
------------------------------------------------------------------------
r2748 | jcf | 2014-10-30 03:41:01 +0100 (Thu, 30 Oct 2014) | 1 line

Replace sleep(3) with MOC's xsleep().
------------------------------------------------------------------------
r2747 | jcf | 2014-10-30 03:40:52 +0100 (Thu, 30 Oct 2014) | 1 line

Macroize GCC's "aligned" attribute to simplify code.
------------------------------------------------------------------------
r2746 | jcf | 2014-10-30 03:40:42 +0100 (Thu, 30 Oct 2014) | 1 line

Macroize GCC's "format printf" attribute to simplify code.
------------------------------------------------------------------------
r2745 | jcf | 2014-10-30 03:40:31 +0100 (Thu, 30 Oct 2014) | 3 lines

Short-circuit POPT rendering if there is no command line.

Amends: r2740
------------------------------------------------------------------------
r2744 | jcf | 2014-10-30 03:40:22 +0100 (Thu, 30 Oct 2014) | 1 line

Remove lists struct from the global namespace.
------------------------------------------------------------------------
r2743 | jcf | 2014-10-30 03:40:12 +0100 (Thu, 30 Oct 2014) | 1 line

Miscellaneous non-functional code cleaning.
------------------------------------------------------------------------
r2742 | jcf | 2014-10-23 09:28:42 +0200 (Thu, 23 Oct 2014) | 3 lines

Reword error messages to be more user-friendly.

Amends: r2736
------------------------------------------------------------------------
r2741 | jcf | 2014-10-23 09:28:33 +0200 (Thu, 23 Oct 2014) | 1 line

Record POPT's command line interpetation in the log for debugging.
------------------------------------------------------------------------
r2740 | jcf | 2014-10-23 09:28:24 +0200 (Thu, 23 Oct 2014) | 1 line

Add --echo-args option to show how POPT processed the command line.
------------------------------------------------------------------------
r2739 | jcf | 2014-10-23 09:28:12 +0200 (Thu, 23 Oct 2014) | 1 line

Give argc and argv file scope.
------------------------------------------------------------------------
r2738 | jcf | 2014-10-23 09:28:03 +0200 (Thu, 23 Oct 2014) | 1 line

Resequence functions ahead of further work.
------------------------------------------------------------------------
r2737 | jcf | 2014-10-23 09:27:54 +0200 (Thu, 23 Oct 2014) | 3 lines

Treat an empty MOCP_OPTS as unset.

Amends: r2736
------------------------------------------------------------------------
r2736 | jcf | 2014-10-15 01:47:49 +0200 (Wed, 15 Oct 2014) | 1 line

Add support for MOCP_OPTS environment variable.
------------------------------------------------------------------------
r2735 | jcf | 2014-10-15 01:47:40 +0200 (Wed, 15 Oct 2014) | 1 line

Group command line options in help display.
------------------------------------------------------------------------
r2734 | jcf | 2014-10-15 01:47:30 +0200 (Wed, 15 Oct 2014) | 1 line

Replace GNU getopt with POPT.
------------------------------------------------------------------------
r2733 | jcf | 2014-10-15 01:47:17 +0200 (Wed, 15 Oct 2014) | 1 line

Add environment variables section to the manpage.
------------------------------------------------------------------------
r2732 | jcf | 2014-10-10 05:23:47 +0200 (Fri, 10 Oct 2014) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2731 | jcf | 2014-10-10 05:23:35 +0200 (Fri, 10 Oct 2014) | 1 line

Align MOC with send(2)/recv(2) result type (ssize_t).
------------------------------------------------------------------------
r2730 | jcf | 2014-10-10 05:23:24 +0200 (Fri, 10 Oct 2014) | 1 line

Introduce signed sizeof() shorthand.
------------------------------------------------------------------------
r2729 | jcf | 2014-10-08 08:55:54 +0200 (Wed, 08 Oct 2014) | 3 lines

Remove erroneously committed testing code.

Amends: r2720
------------------------------------------------------------------------
r2728 | jcf | 2014-10-08 03:29:43 +0200 (Wed, 08 Oct 2014) | 1 line

Replace existing recovery logic with provided snd_pcm_recover().
------------------------------------------------------------------------
r2727 | jcf | 2014-10-08 03:29:33 +0200 (Wed, 08 Oct 2014) | 1 line

Raise the minimum ALSA requirement to version 1.0.11.
------------------------------------------------------------------------
r2726 | jcf | 2014-10-08 03:29:23 +0200 (Wed, 08 Oct 2014) | 1 line

Provide callback for logging ALSA's library messages.
------------------------------------------------------------------------
r2725 | jcf | 2014-10-08 03:29:12 +0200 (Wed, 08 Oct 2014) | 1 line

Improve logging of critical ALSA initialisation data.
------------------------------------------------------------------------
r2724 | jcf | 2014-10-08 01:57:22 +0200 (Wed, 08 Oct 2014) | 1 line

Rename variables to make their units clear.
------------------------------------------------------------------------
r2723 | jcf | 2014-10-08 01:57:12 +0200 (Wed, 08 Oct 2014) | 1 line

Rename variables and parameters to make their units clear.
------------------------------------------------------------------------
r2722 | jcf | 2014-10-08 01:56:58 +0200 (Wed, 08 Oct 2014) | 1 line

Give mutex names a consistant suffix.
------------------------------------------------------------------------
r2721 | jcf | 2014-10-08 01:56:43 +0200 (Wed, 08 Oct 2014) | 1 line

Distingush callback function names from other uses of "callback".
------------------------------------------------------------------------
r2720 | jcf | 2014-10-06 05:20:51 +0200 (Mon, 06 Oct 2014) | 1 line

Introduce in-memory circular logging buffer.
------------------------------------------------------------------------
r2719 | jcf | 2014-10-06 05:20:38 +0200 (Mon, 06 Oct 2014) | 1 line

Turn off redundant code when built without logging enabled.
------------------------------------------------------------------------
r2718 | jcf | 2014-10-06 05:20:25 +0200 (Mon, 06 Oct 2014) | 1 line

Remove signal-logging call overhead when logging is not enabled.
------------------------------------------------------------------------
r2717 | jcf | 2014-10-06 05:20:14 +0200 (Mon, 06 Oct 2014) | 5 lines

Remove fake_logit().

When MOC is built without logging support, this avoids the overhead
of needless function calls and removes the unused strings from the
memory footprint which reduces it by about 200KiB.
------------------------------------------------------------------------
r2716 | jcf | 2014-10-06 05:20:01 +0200 (Mon, 06 Oct 2014) | 1 line

Change names for variables or parameters which are truely unused.
------------------------------------------------------------------------
r2715 | jcf | 2014-10-06 05:19:45 +0200 (Mon, 06 Oct 2014) | 4 lines

Introduce configuration-specific unused macros.

These macros should now be used to flag variables or parameters which
are only used in the presence of specific configured features.
------------------------------------------------------------------------
r2714 | jcf | 2014-10-06 05:19:32 +0200 (Mon, 06 Oct 2014) | 5 lines

Introduce the more specific ASSERT_ONLY macro.

This macro should now be used whenever a variable or parameter is
used within an assert() but nowhere else in the function (subject
to conditional compilation).
------------------------------------------------------------------------
r2713 | jcf | 2014-10-06 05:19:20 +0200 (Mon, 06 Oct 2014) | 1 line

Clean up the positioning and use of the ATTR_UNUSED macro.
------------------------------------------------------------------------
r2712 | jcf | 2014-10-06 05:19:05 +0200 (Mon, 06 Oct 2014) | 5 lines

Move DEBUG macro setting to fall between the system and user headers.

DEBUG will soon be observed by more user headers and so needs to
always preceed them.  It's also useful to have it positioned
consistantly.
------------------------------------------------------------------------
r2711 | jcf | 2014-10-06 05:18:54 +0200 (Mon, 06 Oct 2014) | 7 lines

Globally include compiler.h before all system header #includes.

compiler.h will soon be responsible for setting feature test macros
required by system headers and so needs to appear before them in
all source files.  The simplest way of ensuring this is to have the

Amends: r2693
------------------------------------------------------------------------
r2710 | jcf | 2014-09-25 22:30:56 +0200 (Thu, 25 Sep 2014) | 3 lines

Return failure child exit status if execve(2) returns.

Amends: r2592
------------------------------------------------------------------------
r2709 | jcf | 2014-09-25 22:30:37 +0200 (Thu, 25 Sep 2014) | 3 lines

Return failure child exit status if execve(2) returns.

Amends: r2592
------------------------------------------------------------------------
r2708 | jcf | 2014-09-24 05:46:20 +0200 (Wed, 24 Sep 2014) | 5 lines

Replace the timeval struct with the newer timespec throughout.

The timeval struct has microsecond precision while timespec has
nanosecond precision, of which machines are now routinely capable
and new functions are increasingly using.
------------------------------------------------------------------------
r2707 | jcf | 2014-09-24 05:46:07 +0200 (Wed, 24 Sep 2014) | 5 lines

Replace obsolete gettimeofday(2) with clock_gettime(2).

OSX doesn't have clock_gettime(2) so we have chosen to continue using
gettimeofday(2) if clock_gettime(2) doesn't exist rather than navigate
the OSX-specific clock_get_time() or mach_absolute_time() functions.
------------------------------------------------------------------------
r2706 | jcf | 2014-09-24 05:45:54 +0200 (Wed, 24 Sep 2014) | 1 line

Replace obsolete usleep(3) with nanosleep(2).
------------------------------------------------------------------------
r2705 | jcf | 2014-09-23 22:55:26 +0200 (Tue, 23 Sep 2014) | 3 lines

Correct the setting of linked libraries for Berkeley DB.

Amends: r2068
------------------------------------------------------------------------
r2704 | jcf | 2014-09-23 22:54:57 +0200 (Tue, 23 Sep 2014) | 3 lines

Correct the setting of linked libraries for Berkeley DB.

Amends: r2068
------------------------------------------------------------------------
r2703 | jcf | 2014-09-21 05:23:13 +0200 (Sun, 21 Sep 2014) | 3 lines

Correct libcurl package name.

Amends: r2685
------------------------------------------------------------------------
r2702 | jcf | 2014-09-12 00:25:06 +0200 (Fri, 12 Sep 2014) | 3 lines

Decouple mono-mixing ('J') from softmixer ('w').

Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621797
------------------------------------------------------------------------
r2701 | jcf | 2014-09-12 00:24:56 +0200 (Fri, 12 Sep 2014) | 4 lines

Warn of raising the minimum TagLib requirement to version 1.5.

This is the first known version in which pkg-config files are installed,
which will soon be used to replace taglib-config.
------------------------------------------------------------------------
r2700 | jcf | 2014-09-12 00:24:45 +0200 (Fri, 12 Sep 2014) | 1 line

Replace custom shell code with Autoconf version-comparison macro.
------------------------------------------------------------------------
r2699 | jcf | 2014-09-12 00:24:34 +0200 (Fri, 12 Sep 2014) | 8 lines

Remove obsolete configure test for dirent header.

According to the Autoconf documentation:

  "This macro is obsolescent, as all current systems with directory
   libraries have `<dirent.h>'.  New programs need not use this macro."

I guess we'll find out the accuracy of this statement in due course.
------------------------------------------------------------------------
r2698 | jcf | 2014-09-12 00:24:22 +0200 (Fri, 12 Sep 2014) | 1 line

Replace custom shell code with Autoconf archive macros.
------------------------------------------------------------------------
r2697 | jcf | 2014-09-12 00:24:02 +0200 (Fri, 12 Sep 2014) | 1 line

Align MOC with the 2014-02-28 Autoconf archive.
------------------------------------------------------------------------
r2696 | jcf | 2014-09-12 00:17:59 +0200 (Fri, 12 Sep 2014) | 3 lines

Correct preprocessor symbol typo.

Amends: r823
------------------------------------------------------------------------
r2695 | jcf | 2014-09-10 04:36:15 +0200 (Wed, 10 Sep 2014) | 3 lines

Manually add the compiler.h file which git-svn missed.

Amends: r2693
------------------------------------------------------------------------
r2694 | jcf | 2014-09-10 03:30:54 +0200 (Wed, 10 Sep 2014) | 4 lines

Silence compiler warnings for -Wformat-nonliteral.

The generic list formatting function takes a string argument as a
format which will always fail the format-nonliteral test.
------------------------------------------------------------------------
r2693 | jcf | 2014-09-10 03:30:43 +0200 (Wed, 10 Sep 2014) | 6 lines

Create and populate a header for compiler-specific constructs.

The diagnostic-manipulating macros in particular needed to be hoisted
out of the FFmpeg decoder for wider use, and because these wrap some
system header files they need to be in a separate header which can be
included before those system headers are #include'd.
------------------------------------------------------------------------
r2692 | jcf | 2014-09-10 03:30:32 +0200 (Wed, 10 Sep 2014) | 1 line

Defuse potential time bombs from multi-statement #define'd macros.
------------------------------------------------------------------------
r2691 | jcf | 2014-09-10 03:30:21 +0200 (Wed, 10 Sep 2014) | 1 line

Split symbol options from string options.
------------------------------------------------------------------------
r2690 | jcf | 2014-09-10 03:30:07 +0200 (Wed, 10 Sep 2014) | 1 line

Split boolean options from integer options.
------------------------------------------------------------------------
r2689 | jcf | 2014-09-10 03:29:53 +0200 (Wed, 10 Sep 2014) | 1 line

Make OSS play all the sound in the buffer.
------------------------------------------------------------------------
r2688 | jcf | 2014-09-10 03:29:44 +0200 (Wed, 10 Sep 2014) | 1 line

Use pid_t consistantly.
------------------------------------------------------------------------
r2687 | jcf | 2014-09-10 03:29:34 +0200 (Wed, 10 Sep 2014) | 3 lines

Fix cut and paste variable name error.

Amends: r1482
------------------------------------------------------------------------
r2686 | jcf | 2014-09-10 03:29:21 +0200 (Wed, 10 Sep 2014) | 1 line

Add VQF support via FFmpeg/LibAV.
------------------------------------------------------------------------
r2685 | jcf | 2014-09-10 03:29:10 +0200 (Wed, 10 Sep 2014) | 1 line

Replace the use of curl-config by pkg-config.
------------------------------------------------------------------------
r2684 | jcf | 2014-09-10 00:03:40 +0200 (Wed, 10 Sep 2014) | 3 lines

Fix cut and paste variable name error.

Amends: r1482
------------------------------------------------------------------------
r2683 | jcf | 2014-09-06 05:35:35 +0200 (Sat, 06 Sep 2014) | 1 line

Create tag 2.6-alpha1
------------------------------------------------------------------------
r2682 | jcf | 2014-09-06 05:34:54 +0200 (Sat, 06 Sep 2014) | 4 lines

Bump version numbers to 2.6-alpha1.

Note that the micro version number has been dropped for development
releases and this represents a change of release numbering convention.
------------------------------------------------------------------------
r2681 | jcf | 2014-09-06 05:34:34 +0200 (Sat, 06 Sep 2014) | 1 line

Reword requirement warnings to indicate they are imminent.
------------------------------------------------------------------------
r2680 | jcf | 2014-09-06 05:34:22 +0200 (Sat, 06 Sep 2014) | 1 line

Remove warning about the MOC program being named 'mocp'.
------------------------------------------------------------------------
r2679 | jcf | 2014-09-06 05:34:11 +0200 (Sat, 06 Sep 2014) | 4 lines

Make XZ the default compression for 'make dist'.

XZ offers much better compression (in most cases) and most
distributions use it by default now.
------------------------------------------------------------------------
r2678 | jcf | 2014-09-06 05:33:57 +0200 (Sat, 06 Sep 2014) | 1 line

Raise the minimum Autoconf requirement to version 2.64.
------------------------------------------------------------------------
r2677 | jcf | 2014-09-06 05:33:47 +0200 (Sat, 06 Sep 2014) | 4 lines

Raise the minimum libcurl requirement to version 7.15.1.

This is the version in which 'libcurl.pc' is first installed, which
will be made use of shortly.
------------------------------------------------------------------------
r2676 | jcf | 2014-09-06 05:33:24 +0200 (Sat, 06 Sep 2014) | 3 lines

Raise the minimum Berkeley DB requirement to release 4.1.

The BDB API changed between 4.0 and 4.1, so use just the new one.
------------------------------------------------------------------------
r2675 | jcf | 2014-09-06 05:33:13 +0200 (Sat, 06 Sep 2014) | 4 lines

Raise the minimum FLAC requirement to release 1.1.3.

This is the version in which FLAC__SeekableStreamDecoder was merged
into FLAC__StreamDecoder.
------------------------------------------------------------------------
r2674 | jcf | 2014-09-06 05:32:59 +0200 (Sat, 06 Sep 2014) | 4 lines

Raise minimum FFmpeg/LibAV requirement to release 0.7.

According to FFmpeg's MAINTAINERS file releases prior to this are no
longer supported.
------------------------------------------------------------------------
r2673 | jcf | 2014-09-06 05:32:45 +0200 (Sat, 06 Sep 2014) | 1 line

Remove support for the deprecated ffmpeg-config.
------------------------------------------------------------------------
r2672 | jcf | 2014-09-06 05:32:32 +0200 (Sat, 06 Sep 2014) | 3 lines

Remove the deprecated autogen.sh from the MOC 2.6 release series.

'autogen.sh' is now redundant; use 'autoreconf(1)' instead.
------------------------------------------------------------------------
r2671 | jcf | 2014-09-06 05:32:18 +0200 (Sat, 06 Sep 2014) | 1 line

Remove transitional code left over from MOC 2.5.
------------------------------------------------------------------------
r2670 | jcf | 2014-08-30 03:55:14 +0200 (Sat, 30 Aug 2014) | 1 line

Create branch 2.5
------------------------------------------------------------------------
r2669 | jcf | 2014-08-30 03:54:30 +0200 (Sat, 30 Aug 2014) | 1 line

Create tag 2.5.0
------------------------------------------------------------------------
r2668 | jcf | 2014-08-30 03:54:00 +0200 (Sat, 30 Aug 2014) | 1 line

Bump version numbers up to 2.5.0.
------------------------------------------------------------------------
r2667 | jcf | 2014-08-30 03:53:49 +0200 (Sat, 30 Aug 2014) | 1 line

Update administrative files in preparation for 2.5.0.
------------------------------------------------------------------------
r2666 | jcf | 2014-08-27 09:31:35 +0200 (Wed, 27 Aug 2014) | 1 line

MOC will soon use snd_pcm_recover() (introduced in ALSA 1.0.11).
------------------------------------------------------------------------
r2665 | jcf | 2014-08-27 09:31:24 +0200 (Wed, 27 Aug 2014) | 7 lines

Edit and extend README.

- Identify all specified minimum version requirements,
- Add source directory install guidance,
- Add problem reporting guidance,
- Move text from the first person, and
- Minor typographic, grammatical and layout edits.
------------------------------------------------------------------------
r2664 | jcf | 2014-08-19 22:14:03 +0200 (Tue, 19 Aug 2014) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2663 | jcf | 2014-08-19 22:13:49 +0200 (Tue, 19 Aug 2014) | 1 line

Separate usage printf() format string from data.
------------------------------------------------------------------------
r2662 | jcf | 2014-08-15 07:41:38 +0200 (Fri, 15 Aug 2014) | 4 lines

Fix JACK sound driver's hw_funcs.play() function's return value.

The hw_funcs.play() function is required to play all the samples or
return a negative value on error.
------------------------------------------------------------------------
r2661 | jcf | 2014-08-15 07:41:26 +0200 (Fri, 15 Aug 2014) | 4 lines

Improve JACK thread safety.

The JACK sound driver's flags can be changed asynchronously by JACK
via callback functions.
------------------------------------------------------------------------
r2660 | jcf | 2014-08-14 22:48:40 +0200 (Thu, 14 Aug 2014) | 6 lines

Fix use of uninitialised client structure elements.

The client structure elements needs to be initialised before any
function calls error().  Using error() in server code will result
in a call to server_error() which attempts to send the error to any
connected clients.
------------------------------------------------------------------------
r2659 | jcf | 2014-08-14 22:48:30 +0200 (Thu, 14 Aug 2014) | 7 lines

Fix time increment calculation.

Increment time by total samples played, not just those played in
the last iteration.  At present, it makes no difference because
there should only be one iteration (due to the requirement that
the sound drivers' play() functions play all samples), but this
will prevent any problems arising in the future.
------------------------------------------------------------------------
r2658 | jcf | 2014-08-14 04:11:31 +0200 (Thu, 14 Aug 2014) | 4 lines

Return an error as a duration if a FLAC file couldn't be opened.

Returning the uninitialised 'length' field occasionally triggered
negative time assertions and formatted time field overflows.
------------------------------------------------------------------------
r2657 | jcf | 2014-08-14 04:11:20 +0200 (Thu, 14 Aug 2014) | 4 lines

Don't compute duration if FLAC returns a sample count of zero.

FLAC returns zero if the sample count is unknown, usually because
of a corrupt file.
------------------------------------------------------------------------
r2656 | jcf | 2014-08-13 03:48:27 +0200 (Wed, 13 Aug 2014) | 30 lines

Remove assertion and handle negative current time values elsewhere.

A negative time value may arise legitimately if the hardware buffer
still contains more samples from the previous file than have been
decoded from the next file.  How it should be handled depends on
who's doing the asking:

1. When used in seeking, ignore the seek request.  Given the short
   duration still buffered from the previous audio, it is most
   likely that a seek at this time represents the balance of
   multiple seeks from the previous audio so ignoring any seek
   beyond end of audio seems appropriate.  If it's a seek in the
   new file, then the delay between the user seeing the change and
   starting to seek has probably already seen the residual samples
   played anyway.

2. When obtaining the current time for display, return zero.  The
   user is already looking at the next audio and the duration into
   that is, in fact, zero.

3. When updating the bitrate list, do not perform the update.  It
   seems unlikely that a bitrate across two audio files or at the
   very end or beginning of an audio has any real value.

It was thanks to Ondrej Svoboda's MPRIS patch (node/496) that we
were able to find this bug.  For some reason that patch seemed to
trigger it consistantly.

Resolves: node/148 (MOC 2.4.0 crashes on FreeBSD 5.5)
          node/626 (Can't send() int to the server)
------------------------------------------------------------------------
r2655 | jcf | 2014-08-13 03:48:14 +0200 (Wed, 13 Aug 2014) | 1 line

Fix pointer arithemetic code identified by -Wpointer-arith option.
------------------------------------------------------------------------
r2654 | jcf | 2014-08-13 03:48:04 +0200 (Wed, 13 Aug 2014) | 1 line

Warn of requiring an ISO C99 capable compiler after 2.5.
------------------------------------------------------------------------
r2653 | jcf | 2014-08-13 03:47:54 +0200 (Wed, 13 Aug 2014) | 5 lines

Remove warning to reflect changed --enable-debug intentions.

Instead of defaulting the configure's debug option to 'no' as
originally intended, it will now be split into separate debugging
and logging options.
------------------------------------------------------------------------
r2652 | jcf | 2014-06-09 23:50:19 +0200 (Mon, 09 Jun 2014) | 1 line

Flag unassigned key commands in the help menu.
------------------------------------------------------------------------
r2651 | jcf | 2014-06-09 23:50:11 +0200 (Mon, 09 Jun 2014) | 1 line

Note that softmixer must be enabled to provide mono-mixing.
------------------------------------------------------------------------
r2650 | jcf | 2014-06-09 23:50:01 +0200 (Mon, 09 Jun 2014) | 10 lines

Fix event notification suppression for some client configurations.

If the client built a playlist from the command line arguments and
'SyncPlaylist' was set to 'no', then the client did not send the
server a CMD_SEND_EVENTS command.  Knowing the client did not want
events, the server did not send them when they occurred.

Unfortunately, this suppressed *all* event notifications, not just
those relating to playlists.  Therefore, the client did not know
(and could not display) the current state of the server.
------------------------------------------------------------------------
r2649 | jcf | 2014-06-09 23:49:53 +0200 (Mon, 09 Jun 2014) | 7 lines

Send error message to clients with server error events.

The server used a static buffer from which the error message had
to be retrieved via CMD_GET_ERROR after an EV_SRV_ERROR was sent.
That meant that only the latest error message was ever seen, and
if there were multiple outstanding errors then that last message
was shown multiple times.
------------------------------------------------------------------------
r2648 | jcf | 2014-06-09 23:49:45 +0200 (Mon, 09 Jun 2014) | 6 lines

Fix duplicate playlist entries causing abort in rb_insert().

If a file appears multiple times on the command line or a playlist
containing a file appears before the file itself, then that file
gets added to the playlist multiple times.  An attempt is then made
to add the file to the rb-tree a second time when building the menu.
------------------------------------------------------------------------
r2647 | jcf | 2014-06-09 23:49:35 +0200 (Mon, 09 Jun 2014) | 1 line

Make FLAC 1.1.3 requirement warning FLAC decoder dependant.
------------------------------------------------------------------------
r2646 | jcf | 2014-05-16 08:43:42 +0200 (Fri, 16 May 2014) | 4 lines

Post-contribution code polishing for theme cursor placement.

Amends: r2645

------------------------------------------------------------------------
r2645 | jcf | 2014-05-16 08:43:34 +0200 (Fri, 16 May 2014) | 3 lines

Fix placement of cursor on current theme file in themes menu.

Thanks to: Alex Merenstein
------------------------------------------------------------------------
r2644 | jcf | 2014-05-16 08:43:25 +0200 (Fri, 16 May 2014) | 1 line

Fix ordering of theme files in themes menu.
------------------------------------------------------------------------
r2643 | jcf | 2014-05-15 03:15:03 +0200 (Thu, 15 May 2014) | 3 lines

Post-contribution code polishing for theme switching attributes.

Amends: r2642
------------------------------------------------------------------------
r2642 | jcf | 2014-05-15 03:14:52 +0200 (Thu, 15 May 2014) | 3 lines

Fix failure to apply new attributes while theme switching.

Thanks to: Alex Merenstein
------------------------------------------------------------------------
r2641 | jcf | 2014-05-13 03:12:54 +0200 (Tue, 13 May 2014) | 11 lines

Fix delayed client exit after the server exits in some circumstances.

If the server exits while the client is expecting to receive a data
response from it, then the EV_EXIT event gets queued but the expected
EV_DATA event never arrives.  The client will eventually exit with a
receive error when the socket gets closed, but if the socket was
inheritted by a long-running server child process (via On... scripts)
then it will not be closed until the child eventually exits and is
reaped by init(8).

Thanks to: Alex Merenstein
------------------------------------------------------------------------
r2640 | jcf | 2014-05-13 03:12:43 +0200 (Tue, 13 May 2014) | 3 lines

Make common message formatting available to all functions.

This also removes potential buffer overflow exposures.
------------------------------------------------------------------------
r2639 | jcf | 2014-05-13 03:12:33 +0200 (Tue, 13 May 2014) | 9 lines

Avoid logging within signal handling functions.

Calling logit() from within signal handlers is unsafe for two
reasons: logging uses non-async-signal-safe functions, and
arbitrary re-entry can result in a deadlock on the logging mutex.

This commit is an interim solution.  The proper solution is to
create a new signal-handling thread where all signals can be
processed as normal execution code.
------------------------------------------------------------------------
r2638 | jcf | 2014-05-13 03:12:22 +0200 (Tue, 13 May 2014) | 4 lines

Refactor logging functions ahead of further work.

This also ensures that locking/unlocking and flushing is done
only once per call to logit() or log_init_stream().
------------------------------------------------------------------------
r2637 | jcf | 2014-05-13 03:12:14 +0200 (Tue, 13 May 2014) | 5 lines

Handle EINTR from fflush(3).

Although there are comments which say that Linux will handle this
condition internally, the fflush(3) manpage says this can happen
via write(2) and since the overhead is minimal we'll play it safe.
------------------------------------------------------------------------
r2636 | jcf | 2014-05-13 03:12:05 +0200 (Tue, 13 May 2014) | 6 lines

Thread ids cannot be compared using normal comparison operators.

Also note that the pthread_*() functions are not async-signal-safe
and therefore should not be used within a signal handler.  Fixing
this would require the creation of a new signal-handling thread,
so we will have to live with it for now.
------------------------------------------------------------------------
r2635 | jcf | 2014-05-13 03:11:57 +0200 (Tue, 13 May 2014) | 1 line

Preserve interrupted code's errno across signal handling.
------------------------------------------------------------------------
r2634 | jcf | 2014-05-03 05:04:36 +0200 (Sat, 03 May 2014) | 3 lines

Dead code removal.

Amends: r2068
------------------------------------------------------------------------
r2633 | jcf | 2014-05-03 05:04:29 +0200 (Sat, 03 May 2014) | 1 line

Make list's string splitting thread-safe by using strtok_r(3).
------------------------------------------------------------------------
r2632 | jcf | 2014-05-03 05:04:20 +0200 (Sat, 03 May 2014) | 1 line

Miscellaneous code cleaning.
------------------------------------------------------------------------
r2631 | jcf | 2014-05-03 05:04:09 +0200 (Sat, 03 May 2014) | 3 lines

Detect over-length (and therefore broken) WAV files in FFmpeg.

Possibly resolves: node/550 (Gigabyte-sized .WAVs?)
------------------------------------------------------------------------
r2630 | jcf | 2014-05-03 05:04:00 +0200 (Sat, 03 May 2014) | 5 lines

SndFile cannot play huge files in certain formats.

This is a limitation of those formats rather than a bug in libsndfile.

Possibly resolves: node/550 (Gigabyte-sized .WAVs?)
------------------------------------------------------------------------
r2629 | jcf | 2014-05-03 05:03:48 +0200 (Sat, 03 May 2014) | 7 lines

Explain and replace mystery SndFile constant.

SndFile uses 0x7FFFFFFF as an unknown value indicator, but only on
32-bit machines.  SF_COUNT_MAX is the proper constant to test against
and is correct for both 32- and 64-bit machines.  Note that SndFile
may still supply erroneous values if it fails to detect erroneous
inputs to the calculation of the field (e.g., for huge WAV files).
------------------------------------------------------------------------
r2628 | jcf | 2014-04-23 23:43:22 +0200 (Wed, 23 Apr 2014) | 6 lines

Fix screen upset caused by screen(1) mis-detection.

A new configuration option, 'ScreenTerms', has been introduced which
parallels the existing 'XTerms' option.

Resolves: node/880 (MOCP interface glitching)
------------------------------------------------------------------------
r2627 | jcf | 2014-04-23 23:43:13 +0200 (Wed, 23 Apr 2014) | 3 lines

Fix typos caused by global edit.

Amends: r2472
------------------------------------------------------------------------
r2626 | jcf | 2014-03-23 23:10:47 +0100 (Sun, 23 Mar 2014) | 6 lines

Fix frames to duration calculations.

In the first case, it was actually the buffer size in bytes
which was being calculated.  In the second case, there was
potential for integer overflow on 32-bit machines and truncation
in the microsecond range (not that anyone would notice).
------------------------------------------------------------------------
r2625 | jcf | 2014-03-23 23:10:38 +0100 (Sun, 23 Mar 2014) | 1 line

Fix log formatting when FFmpeg messages contain newline characters.
------------------------------------------------------------------------
r2624 | jcf | 2014-03-20 01:19:06 +0100 (Thu, 20 Mar 2014) | 1 line

Fix invalid free() in speex decoder close after file open failure.
------------------------------------------------------------------------
r2623 | jcf | 2014-03-20 01:18:58 +0100 (Thu, 20 Mar 2014) | 1 line

Fix segfault in musepack decoder at close after file open failure.
------------------------------------------------------------------------
r2622 | jcf | 2014-03-20 01:18:49 +0100 (Thu, 20 Mar 2014) | 8 lines

Fix multiple io_close() calls destroying mutexes multiple times.

As a rule, if a decoder calls io_open() in its open function
and it fails then it should not call io_close() until its close
function is called.  MOC will always call the close function.

Resolves: node/983#comment-5117 issue 2
Possibly resolves: node/983#comment-5117 issue 3
------------------------------------------------------------------------
r2621 | jcf | 2014-03-20 01:18:38 +0100 (Thu, 20 Mar 2014) | 5 lines

Identify attempted audio source type even if opening it fails.

This fixes a reference to an otherwise uninitialised field.

Resolves: node/983#comment-5117 issue 1
------------------------------------------------------------------------
r2620 | jcf | 2014-03-20 01:18:27 +0100 (Thu, 20 Mar 2014) | 1 line

Align function declaration with function definition.
------------------------------------------------------------------------
r2619 | jcf | 2014-03-20 01:18:20 +0100 (Thu, 20 Mar 2014) | 1 line

Remove superfluous function call parameter.
------------------------------------------------------------------------
r2618 | jcf | 2014-03-12 03:20:20 +0100 (Wed, 12 Mar 2014) | 1 line

Add the AAC format to the MD5 checking tool.
------------------------------------------------------------------------
r2617 | jcf | 2014-03-12 03:20:10 +0100 (Wed, 12 Mar 2014) | 1 line

Explain why seeking will never work with AAC.
------------------------------------------------------------------------
r2616 | jcf | 2014-03-12 03:20:01 +0100 (Wed, 12 Mar 2014) | 1 line

Improve (drastically in some cases) the accuracy of AAC durations.
------------------------------------------------------------------------
r2615 | jcf | 2014-03-12 03:19:49 +0100 (Wed, 12 Mar 2014) | 1 line

Flag other FFmpeg/LibAV formats with know timing issues.
------------------------------------------------------------------------
r2614 | jcf | 2014-03-12 03:19:40 +0100 (Wed, 12 Mar 2014) | 3 lines

Flag FFmpeg's calculation of GME formats timing as broken.

Amends: r2599
------------------------------------------------------------------------
r2613 | jcf | 2014-03-12 03:19:29 +0100 (Wed, 12 Mar 2014) | 11 lines

Fix unreachable code warnings.

Warnings are still produced for the system-supplied bswap_* macros
in audio_conversion.c, the SidTuneMod constructor in sidplay2.cc,
and the curl_easy_setopt macro in io_curl.c but there's nothing we
can do to fix these.  Given that the 'unreachable-code' diagnostic
warning option is not enabled by default and was removed during GCC
4.5 there seems little point in working to suppressing the warnings
from them.

Also see: http://gcc.gnu.org/ml/gcc-help/2011-05/msg00360.html
------------------------------------------------------------------------
r2612 | jcf | 2014-03-12 03:19:19 +0100 (Wed, 12 Mar 2014) | 5 lines

Use the appropriate method for manipulating GCC's diagnostic pragmas.

This patch is based in part on Jonathan Wakely's work.

Also see: http://gcc.gnu.org/ml/gcc-help/2011-01/msg00121.html
------------------------------------------------------------------------
r2611 | jcf | 2014-03-12 03:19:10 +0100 (Wed, 12 Mar 2014) | 1 line

Clear status message after a stream open failure.
------------------------------------------------------------------------
r2610 | jcf | 2014-03-12 03:19:00 +0100 (Wed, 12 Mar 2014) | 1 line

Break multiline debug callback messages to improve log formatting.
------------------------------------------------------------------------
r2609 | jcf | 2014-03-12 03:18:51 +0100 (Wed, 12 Mar 2014) | 4 lines

Fix non-conforming 'User-Agent' HTTP request header.

This header does not allow spaces within tokens.  There seems
to be no mandated replacement so we replace them with dashes.
------------------------------------------------------------------------
r2608 | jcf | 2014-02-22 00:03:14 +0100 (Sat, 22 Feb 2014) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2607 | jcf | 2014-02-21 23:07:35 +0100 (Fri, 21 Feb 2014) | 4 lines

LibAV has finally fixed Opus support.

Amends: r2548
Also see: http://git.libav.org/?p=libav.git;a=commitdiff;h=ecab1c77
------------------------------------------------------------------------
r2606 | jcf | 2014-02-21 23:07:21 +0100 (Fri, 21 Feb 2014) | 1 line

Align format specifiers with source variable types.
------------------------------------------------------------------------
r2605 | jcf | 2014-02-05 04:36:38 +0100 (Wed, 05 Feb 2014) | 1 line

Create tag 2.5.0-beta2
------------------------------------------------------------------------
r2604 | jcf | 2014-02-05 04:36:03 +0100 (Wed, 05 Feb 2014) | 1 line

Bump version numbers up to 2.5.0-beta2.
------------------------------------------------------------------------
r2603 | jcf | 2014-02-05 04:35:52 +0100 (Wed, 05 Feb 2014) | 1 line

Update administrative files in preparation for 2.5.0-beta2.
------------------------------------------------------------------------
r2602 | jcf | 2014-01-28 03:22:59 +0100 (Tue, 28 Jan 2014) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2601 | jcf | 2014-01-28 03:22:47 +0100 (Tue, 28 Jan 2014) | 1 line

Update miscellaneous documentation.
------------------------------------------------------------------------
r2600 | jcf | 2014-01-28 03:22:38 +0100 (Tue, 28 Jan 2014) | 8 lines

Provide workarounds for possibly broken FFmpeg/LibAV seeking.

These workarounds were originally developed some time ago to
avoid identified problems with seeking in FFmpeg/LibAV.  However,
recent testing has not been able to reproduce those original
problems so the workarounds are being provided but disabled so
they can be turned on if those problems are reported again against
specific FFmpeg/LibAV versions.
------------------------------------------------------------------------
r2599 | jcf | 2014-01-28 03:22:27 +0100 (Tue, 28 Jan 2014) | 1 line

Provide additional formats for the FFmpeg/LibAV decoder.
------------------------------------------------------------------------
r2598 | jcf | 2014-01-25 05:53:54 +0100 (Sat, 25 Jan 2014) | 1 line

Warn that using digits as keys may be disallowed in the future.
------------------------------------------------------------------------
r2597 | jcf | 2014-01-25 05:53:45 +0100 (Sat, 25 Jan 2014) | 5 lines

Reposition log file pointer assignment to avoid race condition.

Currently this is not a problem as the client is single threaded
and the server hasn't spawned any threads at the time it calls
log_init_stream(), but in the future... .
------------------------------------------------------------------------
r2596 | jcf | 2014-01-13 08:12:24 +0100 (Mon, 13 Jan 2014) | 1 line

Adapt to FFmpeg/LibAV's latest API deprecations.
------------------------------------------------------------------------
r2595 | jcf | 2014-01-13 08:12:15 +0100 (Mon, 13 Jan 2014) | 1 line

Adapt to Berkeley DB's 4.6 API changes.
------------------------------------------------------------------------
r2594 | jcf | 2014-01-08 04:58:37 +0100 (Wed, 08 Jan 2014) | 1 line

Limit modules which cannot handle huge files.
------------------------------------------------------------------------
r2593 | jcf | 2014-01-08 04:58:26 +0100 (Wed, 08 Jan 2014) | 1 line

Ensure huge file lengths and offsets are handled correctly.
------------------------------------------------------------------------
r2592 | jcf | 2014-01-08 04:58:11 +0100 (Wed, 08 Jan 2014) | 1 line

Use standard exit code macros consistantly.
------------------------------------------------------------------------
r2591 | jcf | 2014-01-08 04:58:02 +0100 (Wed, 08 Jan 2014) | 1 line

Use existing ARRAY_SIZE macro consistantly.
------------------------------------------------------------------------
r2590 | jcf | 2014-01-08 04:57:52 +0100 (Wed, 08 Jan 2014) | 3 lines

Replace user-defined type with standard casting.

Amends: r2257
------------------------------------------------------------------------
r2589 | jcf | 2014-01-08 04:57:42 +0100 (Wed, 08 Jan 2014) | 1 line

Code cleaning prior to further work.
------------------------------------------------------------------------
r2588 | jcf | 2014-01-08 04:57:27 +0100 (Wed, 08 Jan 2014) | 1 line

Rationalise the use of stdint.h (now required) and inttypes.h.
------------------------------------------------------------------------
r2587 | jcf | 2014-01-08 04:57:15 +0100 (Wed, 08 Jan 2014) | 1 line

Rationalise the use of limits.h (now required).
------------------------------------------------------------------------
r2586 | jcf | 2013-12-07 03:20:42 +0100 (Sat, 07 Dec 2013) | 1 line

Warn that MOC 2.6 will require Autoconf version 2.64 or later.
------------------------------------------------------------------------
r2585 | jcf | 2013-12-07 03:20:32 +0100 (Sat, 07 Dec 2013) | 1 line

Fix handling of unknown size result from io_file_size().
------------------------------------------------------------------------
r2584 | jcf | 2013-12-07 03:20:21 +0100 (Sat, 07 Dec 2013) | 3 lines

Refactor code to remove duplicate error handling.

Amends: r2580
------------------------------------------------------------------------
r2583 | jcf | 2013-11-20 09:36:27 +0100 (Wed, 20 Nov 2013) | 3 lines

Reset inadvertently committed debugging setting.

Amends: r2581
------------------------------------------------------------------------
r2582 | jcf | 2013-11-08 03:02:18 +0100 (Fri, 08 Nov 2013) | 10 lines

Fix segfault and other problems when broken frames are encountered.

The current buffer sizes do not allow 5.1 channel audio frames to
be completely accommodated.  By their nature, the Softmixer and
Equalizer operate on whole frames and will fail if they receive a
partial frame and the end of the buffer.

This is a workaround rather than a complete fix because we should
ensure that the decoders only ever return complete frames, but this
is difficult to do when the frame size may change mid-stream.
------------------------------------------------------------------------
r2581 | jcf | 2013-11-08 03:02:09 +0100 (Fri, 08 Nov 2013) | 4 lines

Warn that MOC 2.6 will require FLAC version 1.1.3.

This is the version in which FLAC__SeekableStreamDecoder was merged
into FLAC__StreamDecoder.
------------------------------------------------------------------------
r2580 | jcf | 2013-11-08 01:44:32 +0100 (Fri, 08 Nov 2013) | 1 line

Avoid unnecessary string copying and freeing overhead.
------------------------------------------------------------------------
r2579 | jcf | 2013-11-08 01:44:21 +0100 (Fri, 08 Nov 2013) | 1 line

Make file extension comparisons case-consistant.
------------------------------------------------------------------------
r2578 | jcf | 2013-11-08 00:42:30 +0100 (Fri, 08 Nov 2013) | 1 line

Code cleaning: dead code removal.
------------------------------------------------------------------------
r2577 | jcf | 2013-11-08 00:42:19 +0100 (Fri, 08 Nov 2013) | 1 line

Code cleaning: formatting and macros.
------------------------------------------------------------------------
r2576 | jcf | 2013-11-08 00:42:06 +0100 (Fri, 08 Nov 2013) | 1 line

Code cleaning: whitespace adjustments.
------------------------------------------------------------------------
r2575 | jcf | 2013-11-08 00:41:45 +0100 (Fri, 08 Nov 2013) | 1 line

Code cleaning: spelling and punctuation.
------------------------------------------------------------------------
r2574 | jcf | 2013-11-06 22:28:05 +0100 (Wed, 06 Nov 2013) | 1 line

Remove dead code.
------------------------------------------------------------------------
r2573 | jcf | 2013-11-06 22:27:55 +0100 (Wed, 06 Nov 2013) | 1 line

Make use of system's byteswap code when available.
------------------------------------------------------------------------
r2572 | jcf | 2013-11-06 22:27:45 +0100 (Wed, 06 Nov 2013) | 1 line

Remove duplicate endian conversion code.
------------------------------------------------------------------------
r2571 | jcf | 2013-11-06 22:27:36 +0100 (Wed, 06 Nov 2013) | 1 line

Remove duplicate (and buggy) sample size code.
------------------------------------------------------------------------
r2570 | jcf | 2013-10-22 00:28:04 +0200 (Tue, 22 Oct 2013) | 3 lines

Allow keys bindings to be appended to an already bound command.

This is to provide consistency with the configuration file.
------------------------------------------------------------------------
r2569 | jcf | 2013-10-22 00:27:54 +0200 (Tue, 22 Oct 2013) | 1 line

Ignore duplicate key bindings for a command.
------------------------------------------------------------------------
r2568 | jcf | 2013-10-22 00:27:46 +0200 (Tue, 22 Oct 2013) | 5 lines

Report an error on multiple attempts to bind a command.

This is to provide consistency with the configuration file.

Resolves: node/932 (Problems with Android-friendly keymap)
------------------------------------------------------------------------
r2567 | jcf | 2013-10-22 00:27:38 +0200 (Tue, 22 Oct 2013) | 1 line

Fix off-by-one bug in key counting.
------------------------------------------------------------------------
r2566 | jcf | 2013-10-22 00:27:29 +0200 (Tue, 22 Oct 2013) | 1 line

Code refactoring prior to further work.
------------------------------------------------------------------------
r2565 | jcf | 2013-10-22 00:27:20 +0200 (Tue, 22 Oct 2013) | 1 line

Code cleaning prior to further work.
------------------------------------------------------------------------
r2564 | jcf | 2013-09-26 22:46:58 +0200 (Thu, 26 Sep 2013) | 1 line

Avoid unnecessary strlen() call for empty string tests.
------------------------------------------------------------------------
r2563 | jcf | 2013-09-26 22:46:50 +0200 (Thu, 26 Sep 2013) | 1 line

Silence compiler's "unused parameter" warnings.
------------------------------------------------------------------------
r2562 | jcf | 2013-09-26 22:46:42 +0200 (Thu, 26 Sep 2013) | 1 line

Silence compiler warning and protect against FFmpeg/LibAV API changes.
------------------------------------------------------------------------
r2561 | jcf | 2013-09-26 22:46:33 +0200 (Thu, 26 Sep 2013) | 6 lines

Fix latest FFmpeg/LibAV API breakage [2 of 2]: request_channels.

The breakage introduced by AVCodecContext's 'request_channels' field
deprecation was previously recognised and remedied in FFmpeg/LibAV
(1381e9bc) but was reintroduced by LibAV (bf4b0ed1) then apparantly
merged by FFmpeg (b0edd599).
------------------------------------------------------------------------
r2560 | jcf | 2013-09-26 22:46:24 +0200 (Thu, 26 Sep 2013) | 6 lines

Fix latest FFmpeg/LibAV API breakage [1 of 2]: CODEC_ID_*.

This seems to have first been introduced in LibAV (bdd1567c) then
merged into FFmpeg (e664f48b).  The removal of CODEC_ID_* in favour
of AV_CODEC_* is fine in isolation, but represents a breakage when
historic library versions are being supported.
------------------------------------------------------------------------
r2559 | jcf | 2013-09-26 22:46:15 +0200 (Thu, 26 Sep 2013) | 1 line

Better identify in the log which of FFmpeg or LibAV is in use.
------------------------------------------------------------------------
r2558 | jcf | 2013-09-26 22:46:05 +0200 (Thu, 26 Sep 2013) | 1 line

Fix md5check's mishandling of filenames containing embedded spaces.
------------------------------------------------------------------------
r2557 | jcf | 2013-09-26 22:45:56 +0200 (Thu, 26 Sep 2013) | 1 line

Make maketests.sh FFmpeg/LibAV agnostic.
------------------------------------------------------------------------
r2556 | jcf | 2013-09-21 01:27:24 +0200 (Sat, 21 Sep 2013) | 6 lines

Remove the possiblity of triggering unacceptable ALSA delays.

This represents a return to the method used in r2550 but with
better drained buffer detection.

Amends: r2554
------------------------------------------------------------------------
r2555 | jcf | 2013-09-21 01:27:15 +0200 (Sat, 21 Sep 2013) | 3 lines

Use current (rather than original) sound format for all conversions.

Resolves: node/918 (White noise when playing mono file using JACK)
------------------------------------------------------------------------
r2554 | jcf | 2013-09-12 06:24:10 +0200 (Thu, 12 Sep 2013) | 9 lines

Remove WAV from ModPlug-supported formats.

make_modplug_data() allocates memory into which the entire sound file
is loaded.  For music module files, this is unlikely to be a problem.
However, for sampled formats where the size of the sound file is
proportional to the duration of the audio it is easy to trigger memory
exhaustion.

Amends: r2356
------------------------------------------------------------------------
r2553 | jcf | 2013-09-10 11:26:09 +0200 (Tue, 10 Sep 2013) | 15 lines

Use different method for ensuring ALSA buffer is drained.

The first approach to solving the ALSA audio truncation problem worked
for some files, but for others it resulted in an endless loop around the
usleep(3).  There does not seem to be any reliable way of knowing when
all the audio samples have been played so the device can be closed.

This approach causes MOC to block until the samples are drained, but it
may introduce unacceptable delays between files because of bugs in ALSA.
If it does, then we may need to provide an option so users can choose
between audio truncation and excessive delays.  Neither problem is one
for which a solution in MOC is obvious from the ALSA documentation.

Amends: r2550
Also see: http://stackoverflow.com/questions/3936420/alsa-how-to-tell-when-a-sound-is-finished-playing
------------------------------------------------------------------------
r2552 | jcf | 2013-09-08 06:23:39 +0200 (Sun, 08 Sep 2013) | 8 lines

Fix assertion when second client is started.

This patch makes the use of the 'ReadTags' option consistant
so the expectations of other functions as to whether tag- or
file-based titles are in effect when playlists are loaded is
realised.

Resolves: node/851 (Cant open more than one display)
------------------------------------------------------------------------
r2551 | jcf | 2013-09-08 06:23:28 +0200 (Sun, 08 Sep 2013) | 4 lines

Make hw.play() function return codes consistant with documentation.

This may fix some hard to reproduce audio output problems, but
because of their nature testing has been inconclusive.
------------------------------------------------------------------------
r2550 | jcf | 2013-09-08 06:23:20 +0200 (Sun, 08 Sep 2013) | 28 lines

Fix audio truncation at end of file when using ALSA.

The problem actually occurs on all audios but is just much more
obvious on those of subsecond duration.

MOC uses ALSA's non-blocking mode and when the audio device is
closed ALSA just discards any unplayed samples.  Turning on
blocking mode and asking ALSA to drain the device should be
the solution to this, but it also triggers bugs in ALSA which
either ignore the setting [1] or cause unacceptable delays [2,3].
There is a report that at least the delays are fixed in alsalib
1.0.25 [4] and we should revisit this patch when we have that
ALSA release installed.

For now, we loop around a usleep(3) while there are still
samples in ALSA's buffers.  However, the method of detecting
when the buffers are drained (via an -EPIPE return code) seems
less than satisfactory.

Resolves: node/817 (Problem playing very short WAV files)
Possibly resolves: node/903 (Broken record syndrome) [5]
Refs: [1] http://ceph.com/git/?p=ceph-client.git;a=commitdiff_plain;h=4cdc115fd38b54642e8536a5c2389483bcb9b2e9
      [2] http://http://code.google.com/p/chromium/issues/detail?id=131136
      [3] http://comments.gmane.org/gmane.linux.alsa.devel/102753
      [4] http://http://code.google.com/p/chromium/issues/detail?id=131136#c4
      [5] http://src.chromium.org/viewvc/chrome?revision=138939&view=revision
Also see: http://listarc.com/showthread.php?3205254-snd_pcm_drain+and+partial+periods
          http://stackoverflow.com/questions/3936420/alsa-how-to-tell-when-a-sound-is-finished-playing
------------------------------------------------------------------------
r2549 | jcf | 2013-09-08 06:23:09 +0200 (Sun, 08 Sep 2013) | 1 line

Make configure check for usleep() function.
------------------------------------------------------------------------
r2548 | jcf | 2013-09-06 00:27:57 +0200 (Fri, 06 Sep 2013) | 10 lines

LibAV says it supports Opus... but doesn't.

Opus was not supported until after the distinguishing micro-version
numbering was introduced (see r2547), so it should be safe to test
on this.

If and when the LibAV folk fix this bug we will need to revisit this
patch to enable Opus for LibAV subsequent to the bug-fixing release.

Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720563
------------------------------------------------------------------------
r2547 | jcf | 2013-09-06 00:27:48 +0200 (Fri, 06 Sep 2013) | 10 lines

Distinguish FFmpeg from LibAV.

From libavcodec 53.47.100 (0.10) onwards, the MICRO has been set to
100 or greater exactly so developers can make this distinction (see
FFmpeg commits f0e90e00 and f2ceb67e).  This doesn't help in releases
prior to 0.10, but there are currently no significant differences
prior to that for which we cannot test directly in configure.

Also see: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=f0e90e00354f5705e132406a06d3360e2c00565d
          http://git.videolan.org/?p=ffmpeg.git;a=commit;h=f2ceb67e5b425bf7de0649483da7265e2492da0f
------------------------------------------------------------------------
r2546 | jcf | 2013-09-04 23:34:57 +0200 (Wed, 04 Sep 2013) | 1 line

Avoid stripping extension look-alikes.
------------------------------------------------------------------------
r2545 | jcf | 2013-09-04 23:34:48 +0200 (Wed, 04 Sep 2013) | 3 lines

Fix minor memory corruption.

Thanks to: Jenny Wong
------------------------------------------------------------------------
r2544 | jcf | 2013-08-14 00:19:00 +0200 (Wed, 14 Aug 2013) | 1 line

Clarify and format documentation.
------------------------------------------------------------------------
r2543 | jcf | 2013-08-14 00:18:50 +0200 (Wed, 14 Aug 2013) | 1 line

Update GNU boilerplate text.
------------------------------------------------------------------------
r2542 | jcf | 2013-08-11 08:40:57 +0200 (Sun, 11 Aug 2013) | 1 line

The default playlist should not automatically receive focus at start.
------------------------------------------------------------------------
r2541 | jcf | 2013-08-11 08:40:49 +0200 (Sun, 11 Aug 2013) | 1 line

Populate playlist panel when loading default playlist file.
------------------------------------------------------------------------
r2540 | jcf | 2013-08-11 08:40:42 +0200 (Sun, 11 Aug 2013) | 1 line

Fix memory mishandling on error while receiving tags.
------------------------------------------------------------------------
r2539 | jcf | 2013-08-11 08:40:31 +0200 (Sun, 11 Aug 2013) | 6 lines

Automatically clear an overridden default key binding.

Key bindings should be consistant with option setting; that is, it
should not be necessary to unbind a default key before overriding it.

Resolves: node/676 (Problems with key bindings) issue 3
------------------------------------------------------------------------
r2538 | jcf | 2013-08-11 08:40:22 +0200 (Sun, 11 Aug 2013) | 12 lines

Distinguish between ESC as leading an escape- or meta-key sequence.

This is really a timing issue.  Reducing the delay ncurses uses to
distinguish between ESC as a standalone key or the start of a meta-
key sequence to less than that possible between distinct keypresses
drastically improves the reliability of meta-key detection.

Resolves: node/676 (Problems with key bindings) issue 2
Also see: http://www.linux.ucla.edu/pipermail/linux/1999-July/000496.html
          http://linux.derkeiler.c+om/Newsgroups/linux.redhat/2008-09/msg00070.html
          http://www.linuxmisc.com/18-writing-Linux-applications/fcb4b738c8997+a75.htm
          http://en.chys.info/2009/09/esdelay-ncurses/
------------------------------------------------------------------------
r2537 | jcf | 2013-08-11 08:40:13 +0200 (Sun, 11 Aug 2013) | 3 lines

Fix recognition of the ESC key so it can be handled specifically.

Resolves: node/676 (Problems with key bindings) issue 1
------------------------------------------------------------------------
r2536 | jcf | 2013-07-19 22:49:01 +0200 (Fri, 19 Jul 2013) | 1 line

Fix potential segfault.
------------------------------------------------------------------------
r2535 | jcf | 2013-07-19 22:48:54 +0200 (Fri, 19 Jul 2013) | 1 line

Fix small memory leak.
------------------------------------------------------------------------
r2534 | jcf | 2013-07-03 23:42:39 +0200 (Wed, 03 Jul 2013) | 1 line

Fix missized memset() usage.
------------------------------------------------------------------------
r2533 | jcf | 2013-07-03 23:42:30 +0200 (Wed, 03 Jul 2013) | 1 line

Code cleaning: Use xstrdup() consistantly.
------------------------------------------------------------------------
r2532 | jcf | 2013-07-03 23:42:22 +0200 (Wed, 03 Jul 2013) | 3 lines

Code cleaning: Remove redundant test.

At this point 'curr_file.tags' is never NULL.
------------------------------------------------------------------------
r2531 | jcf | 2013-07-03 23:42:14 +0200 (Wed, 03 Jul 2013) | 3 lines

Fix segfault when using '--format' without an audio playing.

Resolves: node/889 (Client segfault if server stopped)
------------------------------------------------------------------------
r2530 | jcf | 2013-06-21 00:34:27 +0200 (Fri, 21 Jun 2013) | 8 lines

Fix long-standing memory leak in the client.

This hard-to-find leak is small and slow so only becomes
apparant when playing for many hours Internet streams with
frequently changing metadata.

Amends: r1603
Resolves: node/854 (GUI is leaking while playing streams)
------------------------------------------------------------------------
r2529 | jcf | 2013-04-11 01:36:06 +0200 (Thu, 11 Apr 2013) | 6 lines

Optimise by repacking samples returned as planar by FFmpeg/LibAV.

Presenting each sample to copy_or_buffer() individually resulted
in excessive use of debug() and xrealloc() in add_to_remain_buf().

Amends: r2524
------------------------------------------------------------------------
r2528 | jcf | 2013-04-11 01:35:54 +0200 (Thu, 11 Apr 2013) | 6 lines

Fix severe distortion in WMA Lossless audios.

The FFmpeg/LibAV demuxer cannot easily split this codec into frames
and so may return multiple "frames" in a packet.  Exactly how to
process such codecs had to be established by trial and error, and
may well need to be revisited in the future.
------------------------------------------------------------------------
r2527 | jcf | 2013-04-11 01:35:42 +0200 (Thu, 11 Apr 2013) | 7 lines

Try to exclude experimental codecs from FFmpeg/LibAV decoding.

Codecs which FFmpeg/LibAV flags as experimental often cause their
libraries to fail spectacularly.  To avoid such failures trashing
MOC they are excluded, but av_find_stream_info() (which reports
the codec being used) can fail before we have a chance to exclude
it.
------------------------------------------------------------------------
r2526 | jcf | 2013-02-19 04:09:44 +0100 (Tue, 19 Feb 2013) | 1 line

Provide locking support for FFmpeg's non-thread-safe functions.
------------------------------------------------------------------------
r2525 | jcf | 2013-02-19 04:09:35 +0100 (Tue, 19 Feb 2013) | 1 line

Improve error message for future occurrences.
------------------------------------------------------------------------
r2524 | jcf | 2013-02-19 04:09:26 +0100 (Tue, 19 Feb 2013) | 3 lines

Adapt to FFmpeg's release 1.1 planar changes.

Resolves: node/881 and node/862#comment-4751
------------------------------------------------------------------------
r2523 | jcf | 2013-02-19 04:09:16 +0100 (Tue, 19 Feb 2013) | 1 line

Work around SIGABRT in LibAV 0.9.
------------------------------------------------------------------------
r2522 | jcf | 2012-12-16 21:34:46 +0100 (Sun, 16 Dec 2012) | 3 lines

Reposition PThreads function check to capture PThreads' CFLAGS setting.

Amends: r2505
------------------------------------------------------------------------
r2521 | jcf | 2012-12-04 21:36:20 +0100 (Tue, 04 Dec 2012) | 1 line

Fix segfault when MIME-detected MP3 file has no "extension".
------------------------------------------------------------------------
r2520 | jcf | 2012-11-28 21:42:01 +0100 (Wed, 28 Nov 2012) | 8 lines

Fix screen upset [2 of 2]: Multicolumn characters overflow fields.

When an overlength filename with UTF-8 characters is trimmed mere
truncation is not sufficient.

Thanks to: "firejox"
Resolves: node/788 (name too long in playlist)
          node/99#comment-128 (multi-column character overflow)
------------------------------------------------------------------------
r2519 | jcf | 2012-11-28 21:41:51 +0100 (Wed, 28 Nov 2012) | 6 lines

Fix screen upset [1 of 2]: Trimming leading multibyte characters.

When an overlength filename has leading UTF-8 characters trimmed
pointer arithmetic is not sufficient.

Resolves: node/850 (Path names overflow)
------------------------------------------------------------------------
r2518 | jcf | 2012-11-28 04:59:48 +0100 (Wed, 28 Nov 2012) | 1 line

Try to guess whether FFmpeg/LibAV is returning valid time values.
------------------------------------------------------------------------
r2517 | jcf | 2012-11-28 04:59:35 +0100 (Wed, 28 Nov 2012) | 1 line

Remove duplicated code.
------------------------------------------------------------------------
r2516 | jcf | 2012-11-28 01:34:06 +0100 (Wed, 28 Nov 2012) | 1 line

Fix duration reporting for huge FLAC files.
------------------------------------------------------------------------
r2515 | jcf | 2012-11-28 01:33:56 +0100 (Wed, 28 Nov 2012) | 3 lines

Use off_t for seek point in io_* functions.

Thanks to: Gregory Maxwell
------------------------------------------------------------------------
r2514 | jcf | 2012-11-27 22:37:28 +0100 (Tue, 27 Nov 2012) | 3 lines

Peek enough data for the test.

Amends: r2448
------------------------------------------------------------------------
r2513 | jcf | 2012-11-27 22:37:17 +0100 (Tue, 27 Nov 2012) | 3 lines

Don't lose returned error codes to division.

Thanks to: Tomasz Golinski
------------------------------------------------------------------------
r2512 | jcf | 2012-11-27 05:38:03 +0100 (Tue, 27 Nov 2012) | 3 lines

Fix sample width miscompare for 24-bit samples.

Thanks to: Tomasz Golinski
------------------------------------------------------------------------
r2511 | jcf | 2012-11-27 05:37:55 +0100 (Tue, 27 Nov 2012) | 3 lines

Fix severe clipping in float to 24-bit conversion.

Thanks to: Tomasz Golinski
------------------------------------------------------------------------
r2510 | jcf | 2012-11-16 04:10:08 +0100 (Fri, 16 Nov 2012) | 4 lines

Avoid superfluous (for now) POPT library inclusion.

Amends: r2501
Also see: http://bugs.gentoo.org/show_bug.cgi?id=439638
------------------------------------------------------------------------
r2509 | jcf | 2012-11-16 04:10:00 +0100 (Fri, 16 Nov 2012) | 1 line

Remove BASHism from configuration script.
------------------------------------------------------------------------
r2508 | jcf | 2012-11-16 04:09:51 +0100 (Fri, 16 Nov 2012) | 3 lines

Add '-q' option missing from man page.

Amends: r2181
------------------------------------------------------------------------
r2507 | jcf | 2012-10-11 21:42:59 +0200 (Thu, 11 Oct 2012) | 1 line

Create tag 2.5.0-beta1
------------------------------------------------------------------------
r2506 | jcf | 2012-10-11 21:41:54 +0200 (Thu, 11 Oct 2012) | 1 line

Bump version numbers up to 2.5.0-beta1.
------------------------------------------------------------------------
r2505 | jcf | 2012-10-11 06:22:08 +0200 (Thu, 11 Oct 2012) | 7 lines

Fix pthread stack overflow segfault on OpenBSD.

PThreads on OpenBSD uses a very conservative default stack size,
so allocating buffers on the stack simply blows the budget.  This
may have to be revisited if any other distribution uses such a
constrained stack size and does not support posix_memalign()
(those using uclibc, for example).
------------------------------------------------------------------------
r2504 | jcf | 2012-09-30 22:09:07 +0200 (Sun, 30 Sep 2012) | 1 line

Update administrative files in preparation for 2.5.0-beta1.
------------------------------------------------------------------------
r2503 | jcf | 2012-09-30 22:08:53 +0200 (Sun, 30 Sep 2012) | 1 line

Warn that MOC 2.6 will change the default 'make dist' target to use XZ.
------------------------------------------------------------------------
r2502 | jcf | 2012-09-30 22:08:44 +0200 (Sun, 30 Sep 2012) | 1 line

Warn that MOC 2.6 will change the default for '--enable-debug' to 'no'.
------------------------------------------------------------------------
r2501 | jcf | 2012-09-30 22:08:34 +0200 (Sun, 30 Sep 2012) | 1 line

Warn that MOC 2.6 will require the POPT library (libpopt).
------------------------------------------------------------------------
r2500 | jcf | 2012-09-30 22:08:25 +0200 (Sun, 30 Sep 2012) | 3 lines

Warn that MOC 2.6 will require libcurl version 7.15.1.

This is the version in which 'libcurl.pc' is first installed.
------------------------------------------------------------------------
r2499 | jcf | 2012-09-30 22:08:16 +0200 (Sun, 30 Sep 2012) | 3 lines

Warn that MOC 2.6 will require Berkeley DB version 4.1.

The BDB API changed between 4.0 and 4.1, so use just the new one.
------------------------------------------------------------------------
r2498 | jcf | 2012-09-28 00:36:15 +0200 (Fri, 28 Sep 2012) | 1 line

Workaround the latest FFmpeg API breakage (in commit cb3591e6).
------------------------------------------------------------------------
r2497 | jcf | 2012-09-27 11:30:08 +0200 (Thu, 27 Sep 2012) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2496 | jcf | 2012-09-27 11:29:55 +0200 (Thu, 27 Sep 2012) | 1 line

Code cleaning: Dead code removal.
------------------------------------------------------------------------
r2495 | jcf | 2012-09-27 11:29:44 +0200 (Thu, 27 Sep 2012) | 1 line

Silence compiler warning on OpenBSD systems.
------------------------------------------------------------------------
r2494 | jcf | 2012-09-27 07:42:30 +0200 (Thu, 27 Sep 2012) | 1 line

As a courtesy, remove redundant Berkeley DB backing files.
------------------------------------------------------------------------
r2493 | jcf | 2012-09-27 07:42:23 +0200 (Thu, 27 Sep 2012) | 6 lines

Periodicly flush the tags cache database to disk.

The value of DB_SYNC_COUNT is a trade-off between how many files'
tags might be lost in a crash versus how much disk activity to
incur (particularly on embedded systems subject to memory wear
and NFS access to remote machines).
------------------------------------------------------------------------
r2492 | jcf | 2012-09-27 07:42:15 +0200 (Thu, 27 Sep 2012) | 11 lines

Use process heap memory for Berkeley DB storage.

This probably finally fixes the long-standing "corrupt cache" bug
(actually caused by stale locks) and also decreases the tags cache
disk usage because there is no longer any requirement for backing
files ('__db.*').

Resolves: node/811
Partially resolves: node/825 (this is a textbook example of this bug)
                    node/599 (here the segfault is the triggering event)
Also see: node/846
------------------------------------------------------------------------
r2491 | jcf | 2012-09-27 07:42:07 +0200 (Thu, 27 Sep 2012) | 1 line

Log any additional messages Berkeley DB produces.
------------------------------------------------------------------------
r2490 | jcf | 2012-09-17 23:50:46 +0200 (Mon, 17 Sep 2012) | 5 lines

Fix selected file highlight bar length.

Note that this does not fix the case where the text containing
characters which are displayed in more than one screen column
overflow the allotted space.
------------------------------------------------------------------------
r2489 | jcf | 2012-09-17 23:50:38 +0200 (Mon, 17 Sep 2012) | 4 lines

Fix screen upset when tags contain tabs, newlines, etc.

Note that this does not fix screen upsets caused by control characters
in file and directory names.
------------------------------------------------------------------------
r2488 | jcf | 2012-09-17 23:50:31 +0200 (Mon, 17 Sep 2012) | 4 lines

Fix memory corruption bug.

There are no reported problems for which this bug is the obvious
cause, but it's no doubt responsible for quite a bit of mischief.
------------------------------------------------------------------------
r2487 | jcf | 2012-09-17 23:50:21 +0200 (Mon, 17 Sep 2012) | 1 line

Simplify creation of 'out_test' debugging file.
------------------------------------------------------------------------
r2486 | jcf | 2012-09-17 23:50:12 +0200 (Mon, 17 Sep 2012) | 1 line

Code cleaning [4 of 4]: Macroize value normalisation.
------------------------------------------------------------------------
r2485 | jcf | 2012-09-17 23:50:00 +0200 (Mon, 17 Sep 2012) | 1 line

Code cleaning [3 of 4]: Macroize range checking.
------------------------------------------------------------------------
r2484 | jcf | 2012-09-17 23:49:50 +0200 (Mon, 17 Sep 2012) | 1 line

Code cleaning [2 of 4]: Macroize array index limit checking.
------------------------------------------------------------------------
r2483 | jcf | 2012-09-17 23:49:41 +0200 (Mon, 17 Sep 2012) | 1 line

Code cleaning [1 of 4]: Remove includes for unused headers.
------------------------------------------------------------------------
r2482 | jcf | 2012-09-17 22:47:53 +0200 (Mon, 17 Sep 2012) | 3 lines

Add support for the Xiph Opus audio codec (via FFmpeg).

Also see: http://opus-codec.org/
------------------------------------------------------------------------
r2481 | jcf | 2012-09-17 22:47:42 +0200 (Mon, 17 Sep 2012) | 5 lines

Disambiguate similarly prefixed extensions for display.

Where an extension is longer than the desired three characters,
use the first two and last characters which is more likely to give
a unique string than just the first three.
------------------------------------------------------------------------
r2480 | jcf | 2012-08-23 03:32:35 +0200 (Thu, 23 Aug 2012) | 1 line

Add MD5 sum testing tool option '-i' to ignore known problems.
------------------------------------------------------------------------
r2479 | jcf | 2012-08-23 03:32:23 +0200 (Thu, 23 Aug 2012) | 3 lines

Don't send tags to clients twice.

Amends: r2459
------------------------------------------------------------------------
r2478 | jcf | 2012-08-17 00:26:45 +0200 (Fri, 17 Aug 2012) | 3 lines

Improve portability to platforms not using GCC.

Amends: r2466
------------------------------------------------------------------------
r2477 | jcf | 2012-08-16 08:48:52 +0200 (Thu, 16 Aug 2012) | 4 lines

Fix segfault processing playlists with relative paths.

Thanks to: Dave Flogeras
Resolves: node/842 [segfault with cwd == NULL when parsing files]
------------------------------------------------------------------------
r2476 | jcf | 2012-08-16 08:48:44 +0200 (Thu, 16 Aug 2012) | 1 line

Plug file descriptor leaks.
------------------------------------------------------------------------
r2475 | jcf | 2012-08-16 08:48:31 +0200 (Thu, 16 Aug 2012) | 1 line

Rename isdir() for consistancy and embed check for URL.
------------------------------------------------------------------------
r2474 | jcf | 2012-08-16 08:48:22 +0200 (Thu, 16 Aug 2012) | 1 line

Code cleaning and refactoring prior to further work.
------------------------------------------------------------------------
r2473 | jcf | 2012-08-16 08:48:11 +0200 (Thu, 16 Aug 2012) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2472 | jcf | 2012-08-13 07:29:56 +0200 (Mon, 13 Aug 2012) | 1 line

Reconcile and regularise example config and keymap files.
------------------------------------------------------------------------
r2471 | jcf | 2012-08-13 07:29:42 +0200 (Mon, 13 Aug 2012) | 4 lines

The SidPlay2 library can also handle stereo SID files.

It appears the '.str' files are subordinate to '.mus', but it's
difficult to confirm that.  For now, we'll leave them out.
------------------------------------------------------------------------
r2470 | jcf | 2012-08-13 07:29:32 +0200 (Mon, 13 Aug 2012) | 1 line

Trim blanks from SID tags.
------------------------------------------------------------------------
r2469 | jcf | 2012-08-13 07:29:23 +0200 (Mon, 13 Aug 2012) | 1 line

Move string blank trimming to make it available elsewhere.
------------------------------------------------------------------------
r2468 | jcf | 2012-08-13 07:29:14 +0200 (Mon, 13 Aug 2012) | 1 line

Improve portability to platforms not using GCC.
------------------------------------------------------------------------
r2467 | jcf | 2012-08-13 07:29:05 +0200 (Mon, 13 Aug 2012) | 1 line

Log the platform on which MOC is running for debugging purposes.
------------------------------------------------------------------------
r2466 | jcf | 2012-08-13 07:28:55 +0200 (Mon, 13 Aug 2012) | 1 line

Log the function calling fatal(), not the fatal function istelf.
------------------------------------------------------------------------
r2465 | jcf | 2012-08-13 07:28:46 +0200 (Mon, 13 Aug 2012) | 4 lines

Also send a fatal message in the server to syslog.

Usually the server is running as a daemon with stderr closed, so
the message gets lost.  It's useful to know why the server died.
------------------------------------------------------------------------
r2464 | jcf | 2012-08-13 07:28:37 +0200 (Mon, 13 Aug 2012) | 1 line

Fix off-by-one counts in tags cache limit handling.
------------------------------------------------------------------------
r2463 | jcf | 2012-08-13 07:28:28 +0200 (Mon, 13 Aug 2012) | 4 lines

Add the MOC revision creating the cache to the version tag.

This is an aid to diagnosing any future tags cache problems.  The
revision is not used in any way; it is purely for documentation.
------------------------------------------------------------------------
r2462 | jcf | 2012-08-13 07:28:18 +0200 (Mon, 13 Aug 2012) | 4 lines

Allow the tags database to be configured out at build time.

This removes the dependancy on Berkeley DB if the tags cache is
not required (which is especially useful on embedded systems).
------------------------------------------------------------------------
r2461 | jcf | 2012-08-13 07:28:07 +0200 (Mon, 13 Aug 2012) | 3 lines

Allow the user (and maintainer) to disable the tags cache.

Partially resolves: node/782
------------------------------------------------------------------------
r2460 | jcf | 2012-08-13 07:27:58 +0200 (Mon, 13 Aug 2012) | 4 lines

Make all database errors fatal.

This fixes a subsequent segfault when access was attempted to an
unopened database.  Now the user definitely knows an error occurred.
------------------------------------------------------------------------
r2459 | jcf | 2012-08-13 07:27:47 +0200 (Mon, 13 Aug 2012) | 1 line

Refactor database locking code to simplify further work.
------------------------------------------------------------------------
r2458 | jcf | 2012-08-13 07:27:36 +0200 (Mon, 13 Aug 2012) | 1 line

Minor code cleaning prior to further work.
------------------------------------------------------------------------
r2457 | jcf | 2012-08-13 07:27:24 +0200 (Mon, 13 Aug 2012) | 1 line

Gate logging to protect buffer during calls from multiple threads.
------------------------------------------------------------------------
r2456 | jcf | 2012-08-13 07:27:15 +0200 (Mon, 13 Aug 2012) | 1 line

Plug minor memory leak.
------------------------------------------------------------------------
r2455 | jcf | 2012-08-13 07:27:05 +0200 (Mon, 13 Aug 2012) | 1 line

Fix multiple memory corruptions from dangling pointer on 'f' key.
------------------------------------------------------------------------
r2454 | jcf | 2012-07-18 05:52:57 +0200 (Wed, 18 Jul 2012) | 1 line

Rename first ALSA and OSS mixer option name for consistancy.
------------------------------------------------------------------------
r2453 | jcf | 2012-07-18 05:52:48 +0200 (Wed, 18 Jul 2012) | 1 line

Localise softmixer and equalizer private symbols.
------------------------------------------------------------------------
r2452 | jcf | 2012-07-16 01:38:15 +0200 (Mon, 16 Jul 2012) | 1 line

Provide better error reporting from the AAC decoder.
------------------------------------------------------------------------
r2451 | jcf | 2012-07-16 01:38:06 +0200 (Mon, 16 Jul 2012) | 6 lines

Prevent false content match positives from decoders on AAC streams.

When the decoder can't be found on MIME type, the MP3 decoder (and
possibly others) can falsely match on the AAC stream's content if it
contains that decoder's format.  However, because it's in an AAC
container the native decoder can't actually play it.
------------------------------------------------------------------------
r2450 | jcf | 2012-07-16 01:37:56 +0200 (Mon, 16 Jul 2012) | 8 lines

Fix MIME type detection on HTTP redirection from audio stream servers.

When MOC receives an HTTP redirection (as detected by the presence of
a 'Location:' header), it will use the last 'Content-Type:' header as
the source of the MIME type rather than the first (which could be
'text/html').

Test stream: http://listen.technobase.fm/tunein-aacplus-pls
------------------------------------------------------------------------
r2449 | jcf | 2012-07-16 01:37:47 +0200 (Mon, 16 Jul 2012) | 1 line

Refactor is_url() use.
------------------------------------------------------------------------
r2448 | jcf | 2012-07-11 22:36:16 +0200 (Wed, 11 Jul 2012) | 3 lines

Fix Ogg/Vorbis stream detection in the Vorbis decoder.

Resolves: node/837 (not playing OGG streams)
------------------------------------------------------------------------
r2447 | jcf | 2012-07-08 03:29:27 +0200 (Sun, 08 Jul 2012) | 1 line

Ensure that tags cache version file gets written correctly.
------------------------------------------------------------------------
r2446 | jcf | 2012-07-08 03:29:20 +0200 (Sun, 08 Jul 2012) | 7 lines

Handle files ending in a '.' correctly.

Such a file may exist (e.g., as a lyrics file for 'O.M.D..ogg') but
should not be a candidate for decoder lookup by extension (because
it doesn't have one and can't be recognised by any decoder).

Resolves: Debian Bug#659745
------------------------------------------------------------------------
r2445 | jcf | 2012-07-08 03:29:12 +0200 (Sun, 08 Jul 2012) | 1 line

Do not notify disconnect if this is the server.
------------------------------------------------------------------------
r2444 | jcf | 2012-07-08 03:29:04 +0200 (Sun, 08 Jul 2012) | 3 lines

Don't call get_rate() if open() failed.

Thanks to: Alexander Polakov
------------------------------------------------------------------------
r2443 | jcf | 2012-07-08 03:28:55 +0200 (Sun, 08 Jul 2012) | 3 lines

Default Ogg/Vorbis stream handling and add Theora support.

Resolves: node/433 (.oga files)
------------------------------------------------------------------------
r2442 | jcf | 2012-07-08 03:28:43 +0200 (Sun, 08 Jul 2012) | 6 lines

Remove distribution-specific .spec file.

This file is specific to RPM-based distributions but is probably not
correct for any one of them.  Distribution package maintainers use
their own .spec files tailored to the policies and practices of their
distribution anyway.
------------------------------------------------------------------------
r2441 | jcf | 2012-07-08 03:28:35 +0200 (Sun, 08 Jul 2012) | 4 lines

Adapt to Debian's changed .la-file policy.

Resolves: node/832 (search for .so instead of .la)
Also see: http://wiki.debian.org/ReleaseGoals/LAFileRemoval
------------------------------------------------------------------------
r2440 | jcf | 2012-07-08 03:28:23 +0200 (Sun, 08 Jul 2012) | 1 line

Using '-F' should imply '-S'.
------------------------------------------------------------------------
r2439 | jcf | 2012-07-08 03:28:15 +0200 (Sun, 08 Jul 2012) | 1 line

Remove stale status message when file open fails.
------------------------------------------------------------------------
r2438 | jcf | 2012-07-08 03:28:06 +0200 (Sun, 08 Jul 2012) | 1 line

Skip extra Speex header packets in the stream.
------------------------------------------------------------------------
r2437 | jcf | 2012-07-08 03:27:57 +0200 (Sun, 08 Jul 2012) | 1 line

Fix uninitialised variables.
------------------------------------------------------------------------
r2436 | jcf | 2012-07-08 03:27:47 +0200 (Sun, 08 Jul 2012) | 4 lines

Plug all known memory leaks remaining.

Probably partially resolves: node/796 (infinite replay loop)
Possibly resolves: node/692 (getting stuck)
------------------------------------------------------------------------
r2435 | jcf | 2012-07-08 03:27:34 +0200 (Sun, 08 Jul 2012) | 4 lines

Plug leaks of file descriptors (and associated resources).

Resolves: node/382 (close files on stop)
Possibly partially resolves: node/796 (infinite replay loop)
------------------------------------------------------------------------
r2434 | jcf | 2012-07-08 03:27:23 +0200 (Sun, 08 Jul 2012) | 1 line

Correct io_open() return value comment and associated misuse.
------------------------------------------------------------------------
r2433 | jcf | 2012-07-08 03:27:14 +0200 (Sun, 08 Jul 2012) | 1 line

Ensure that initialisation and termination functions get called.
------------------------------------------------------------------------
r2432 | jcf | 2012-07-08 03:27:06 +0200 (Sun, 08 Jul 2012) | 1 line

Ensure LTDL's handles get freed.
------------------------------------------------------------------------
r2431 | jcf | 2012-07-08 03:26:58 +0200 (Sun, 08 Jul 2012) | 1 line

Refactor libmagic use to ensure resources are freed.
------------------------------------------------------------------------
r2430 | jcf | 2012-07-08 03:26:49 +0200 (Sun, 08 Jul 2012) | 1 line

Refactor librcc use so that initialisation and cleanup occur only once.
------------------------------------------------------------------------
r2429 | jcf | 2012-07-08 03:26:38 +0200 (Sun, 08 Jul 2012) | 1 line

Code cleaning and minor refactoring prior to further work.
------------------------------------------------------------------------
r2428 | jcf | 2012-07-08 03:26:26 +0200 (Sun, 08 Jul 2012) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2427 | jcf | 2012-06-12 11:49:17 +0200 (Tue, 12 Jun 2012) | 5 lines

Fix configure warning when FFmpeg headers are not on the default
include path.

This appears to arise from a mismatch between Autoconf and pkg-config
regarding the use of CPPFLAGS.
------------------------------------------------------------------------
r2426 | jcf | 2012-06-12 11:49:07 +0200 (Tue, 12 Jun 2012) | 1 line

Direct bug reports and maintenance requests to new e-mail address.
------------------------------------------------------------------------
r2425 | daper | 2012-04-21 15:57:36 +0200 (Sat, 21 Apr 2012) | 2 lines

Updated maintainer information.

------------------------------------------------------------------------
r2424 | jcf | 2012-04-18 03:20:15 +0200 (Wed, 18 Apr 2012) | 3 lines

Fix miscellaneous coding errors.

Thanks to: Daniel T. Borelli
------------------------------------------------------------------------
r2423 | jcf | 2012-04-18 03:20:06 +0200 (Wed, 18 Apr 2012) | 7 lines

Change MOC's default JACK output channel to 'system'.

It appears that the JACK default is 'system' (and may always have
been so or may have been changed to that) but I've been unable to
establish that definitively.  However, it seems reasonable that
it is and that the output channel MOC uses should be changed for
all systems.
------------------------------------------------------------------------
r2422 | jcf | 2012-04-18 03:19:54 +0200 (Wed, 18 Apr 2012) | 3 lines

Provide option to autostart JACK if the server is not already running.

Thanks to: Max Klinger
------------------------------------------------------------------------
r2421 | jcf | 2012-04-18 03:19:45 +0200 (Wed, 18 Apr 2012) | 3 lines

Address JACK deprecation warnings.

Thanks to: Max Klinger
------------------------------------------------------------------------
r2420 | jcf | 2012-04-16 05:27:34 +0200 (Mon, 16 Apr 2012) | 4 lines

Do not attempt to read from the OSS mixer unless open.

Resolves: node/552
Thanks to: Sebastian Parborg
------------------------------------------------------------------------
r2419 | jcf | 2012-04-16 05:27:26 +0200 (Mon, 16 Apr 2012) | 1 line

Code cleaning prior to OSS read mixer patch.
------------------------------------------------------------------------
r2418 | jcf | 2012-04-16 05:27:17 +0200 (Mon, 16 Apr 2012) | 3 lines

Allow use of Tremor for the Vorbis decoder on embedded systems.

Thanks to: Tomasz Golinski
------------------------------------------------------------------------
r2417 | jcf | 2012-04-16 05:27:07 +0200 (Mon, 16 Apr 2012) | 1 line

Refine FFmpeg decoder configuration for use with cross-compilation.
------------------------------------------------------------------------
r2416 | jcf | 2012-04-16 05:26:58 +0200 (Mon, 16 Apr 2012) | 1 line

Allow for malloc implementations not compliant with GNU glibc.
------------------------------------------------------------------------
r2415 | jcf | 2012-04-16 05:26:46 +0200 (Mon, 16 Apr 2012) | 3 lines

Add --with-libiconv-prefix configure option for use on embedded systems.

Resolves: node/736
------------------------------------------------------------------------
r2414 | jcf | 2012-03-01 04:13:02 +0100 (Thu, 01 Mar 2012) | 3 lines

Add JACK to '-R' option sound drivers on manpage.

Thanks to: Elimar Riesebieter
------------------------------------------------------------------------
r2413 | jcf | 2012-03-01 04:12:51 +0100 (Thu, 01 Mar 2012) | 8 lines

Restore screen to console mode when fatal() is called.

Note that this does not fix the screen upset caused by an assert()
failure in the client, but that should only occur when MOC is built
with debugging enabled and the screen can be restored by 'stty sane'
followed by 'echo CTRL-vESCc'.

Partially resolves: node/202 (screen upset)
------------------------------------------------------------------------
r2412 | jcf | 2012-02-28 23:57:53 +0100 (Tue, 28 Feb 2012) | 4 lines

Check that the ~/.moc directory is writable.

This avoids reporting errors later for which this is a less
than obvious cause.
------------------------------------------------------------------------
r2411 | jcf | 2012-02-28 23:49:10 +0100 (Tue, 28 Feb 2012) | 1 line

2.5.0-alpha4 version (retrospectively from r2200)
------------------------------------------------------------------------
r2410 | jcf | 2012-02-24 01:51:19 +0100 (Fri, 24 Feb 2012) | 5 lines

Deprecate FFmpeg/LibAV releases prior to 0.7.

The documentation says that releases prior to 0.7 are no longer
supported.  Warn users that we will discontinue support for those
releases after MOC 2.5.
------------------------------------------------------------------------
r2409 | jcf | 2012-02-24 01:51:09 +0100 (Fri, 24 Feb 2012) | 4 lines

Downmix to stereo if there are more than two channels.

Thanks to: Tomasz Golinski
Partially resolves: node/737 (downmixing)
------------------------------------------------------------------------
r2408 | jcf | 2012-02-24 01:50:59 +0100 (Fri, 24 Feb 2012) | 15 lines

Increase the number of formats available.

MOC needs to select some formats dynamically based on those which
were configured into the FFmpeg libraries.  Also, there is no reason
why MOC shouldn't play video soundtracks as well as regular audio
files.

Note that autoprobing for formats was attempted but the results were
too unreliable to be useful.

Thanks to: Tomasz Golinski
Resolves: node/110 (APE support) and 520 (WV support)
Partially resolves: node/678 (Video audio support)
Partially resolves: node/737 (AC3 and DTS support)
Possibly resolves: node/405 and 408 (both WMA support)
------------------------------------------------------------------------
r2407 | jcf | 2012-02-24 01:50:45 +0100 (Fri, 24 Feb 2012) | 1 line

Report the format and codec FFmpeg is using for a file.
------------------------------------------------------------------------
r2406 | jcf | 2012-02-24 01:50:36 +0100 (Fri, 24 Feb 2012) | 12 lines

Implement seeking in the FFmpeg decoder plugin.

Seeking works within the limitations imposed by the FFmpeg
libraries.  (That is, in some cases FFmpeg does not implement
seeking or the implementation is badly broken.)  The aim of this
patch is to provide seeking where testing has shown it works
reliably while protecting MOC from FFmpeg's application-trashing
behaviours by disabling seeking where it is known to fail.

Resolves: node/152 (WMA and M4A seeking)
Partially resolves: node/83, 84 and 191 (all WMA and M4A seeking)
Partially resolves: 116#comment-188 (FFmpeg seeking)
------------------------------------------------------------------------
r2405 | jcf | 2012-02-24 01:50:24 +0100 (Fri, 24 Feb 2012) | 4 lines

Honour FFmpeg's CODEC_CAP_TRUNCATED flag.

I don't know what this does, but other packages do it.  (Perhaps it's
a bug that FFmpeg doesn't do it itself.)
------------------------------------------------------------------------
r2404 | jcf | 2012-02-24 01:50:13 +0100 (Fri, 24 Feb 2012) | 1 line

Fix latest round of FFmpeg API deprecations.
------------------------------------------------------------------------
r2403 | jcf | 2012-02-24 01:50:03 +0100 (Fri, 24 Feb 2012) | 1 line

Flush FFmpeg's buffered decoded samples.
------------------------------------------------------------------------
r2402 | jcf | 2012-02-24 01:49:54 +0100 (Fri, 24 Feb 2012) | 1 line

Drop packets which are not for the current audio stream.
------------------------------------------------------------------------
r2401 | jcf | 2012-02-24 01:49:45 +0100 (Fri, 24 Feb 2012) | 1 line

Honour FFmpeg's AV_PKT_FLAG_CORRUPT and drop the packet.
------------------------------------------------------------------------
r2400 | jcf | 2012-02-24 01:49:36 +0100 (Fri, 24 Feb 2012) | 1 line

Refactor ffmpeg_decode() logic.
------------------------------------------------------------------------
r2399 | jcf | 2012-02-24 01:49:23 +0100 (Fri, 24 Feb 2012) | 4 lines

Introduce decoder fidelity testing tools:

- MD5 summing for debugging decoder integrity.
- MD5 sum checking tool and test file generation tool.
------------------------------------------------------------------------
r2398 | jcf | 2012-02-24 01:49:07 +0100 (Fri, 24 Feb 2012) | 3 lines

Fix assertion when attempting float conversion.

Possibly partially resolves: node/202 (crash playing WMA)
------------------------------------------------------------------------
r2397 | jcf | 2012-02-24 01:48:59 +0100 (Fri, 24 Feb 2012) | 3 lines

Preemptively fix returning tags from multi-stream files.

Possibly resolves: node/297#comment-1376 (AAC tags missing)
------------------------------------------------------------------------
r2396 | jcf | 2012-02-24 01:48:50 +0100 (Fri, 24 Feb 2012) | 1 line

Preemptively fix FFmpeg decoder plugin duration misreporting.
------------------------------------------------------------------------
r2395 | jcf | 2012-02-24 01:48:41 +0100 (Fri, 24 Feb 2012) | 1 line

Have FFmpeg decoder plugin return the proper bitrate.
------------------------------------------------------------------------
r2394 | jcf | 2012-02-24 01:48:32 +0100 (Fri, 24 Feb 2012) | 1 line

Provide conversions for unsigned formats.
------------------------------------------------------------------------
r2393 | jcf | 2012-02-24 01:48:23 +0100 (Fri, 24 Feb 2012) | 1 line

Preemptively fix severe distortion when FFmpeg plays 8-bit samples.
------------------------------------------------------------------------
r2392 | jcf | 2012-02-24 01:48:14 +0100 (Fri, 24 Feb 2012) | 2 lines

The existence of CODEC_CAP_CHANNEL_CONF suggests channel check should
be moved to after the codec is opened.
------------------------------------------------------------------------
r2391 | jcf | 2012-02-24 01:48:05 +0100 (Fri, 24 Feb 2012) | 3 lines

Preemptively fix loop when FFmpeg decoder plays FLAC files.

Possibly resolves: node/191 (loop playing WMA and MP4)
------------------------------------------------------------------------
r2390 | jcf | 2012-02-24 01:47:56 +0100 (Fri, 24 Feb 2012) | 1 line

Capture and log FFmpeg/LibAV's messages.
------------------------------------------------------------------------
r2389 | jcf | 2012-02-24 01:47:46 +0100 (Fri, 24 Feb 2012) | 1 line

Ensure that decoders never get a negative seconds seek value.
------------------------------------------------------------------------
r2388 | jcf | 2012-02-24 01:47:30 +0100 (Fri, 24 Feb 2012) | 6 lines

Fix assertion failure when files are identified by MIME type:

- When files are identified by MIME type, their extensions may not
  be one which the decoder recognises and so its get_name() function
  does not return any value.
- Also a general cleanup of decoders' get_name() functions.
------------------------------------------------------------------------
r2387 | jcf | 2012-02-24 01:47:17 +0100 (Fri, 24 Feb 2012) | 3 lines

Code cleaning prior to future FFmpeg decoder plugin changes.

Possibly resolves: node/434 (cannot play WMA)
------------------------------------------------------------------------
r2386 | jcf | 2012-02-24 01:47:05 +0100 (Fri, 24 Feb 2012) | 1 line

Add lists_strs_exists() function and propagate its return type.
------------------------------------------------------------------------
r2385 | jcf | 2012-02-24 01:46:54 +0100 (Fri, 24 Feb 2012) | 1 line

Give all source files access to bools.
------------------------------------------------------------------------
r2384 | jcf | 2012-02-24 01:46:42 +0100 (Fri, 24 Feb 2012) | 4 lines

Minor internal improvements to the MOC logging functions:

- Replace fixed length message buffer with a dynamic one.
- Increase the number of buffered log records to aid debugging.
------------------------------------------------------------------------
r2383 | jcf | 2012-02-24 01:46:32 +0100 (Fri, 24 Feb 2012) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2382 | jcf | 2012-01-25 21:20:39 +0100 (Wed, 25 Jan 2012) | 5 lines

Improve portability by replacing sed with expr.

Libtool uses expr internally so use it instead of sed.  If expr is
missing then build dies big time rather than having a missing sed
causing it to die small time.
------------------------------------------------------------------------
r2381 | jcf | 2012-01-25 21:20:31 +0100 (Wed, 25 Jan 2012) | 1 line

Wrap decoder plugins list to improve configuration report format.
------------------------------------------------------------------------
r2380 | jcf | 2012-01-25 21:20:23 +0100 (Wed, 25 Jan 2012) | 4 lines

Disable optimisation altogether when configured with GDB.

In theory -O1 is a good choice for GDB but in practice too
many variables still get optimised out, so use -O0 instead.
------------------------------------------------------------------------
r2379 | jcf | 2012-01-25 21:20:12 +0100 (Wed, 25 Jan 2012) | 3 lines

Adapt to Debian's changes to sidplay2.pc.

Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524250
------------------------------------------------------------------------
r2378 | jcf | 2011-11-29 23:10:56 +0100 (Tue, 29 Nov 2011) | 23 lines

Remove M4A format support from AAC decoder plugin.

Although the FAAD2 command line tools can play the M4A format they do
so using the internal libmp4ff library which, according to the FAAD2
developers, was never meant to be used outside of FAAD2 and the use
of which they discourage.  The FAAD2 library, which MOC's AAC decoder
plugin uses, does not support M4A demuxing.

One alternative suggested is the mp4v2 library, but its licensing is
incompatible with the GPL which MOC uses and nor is it obvious that it
provides a way to simply obtain the demuxed AAC stream to feed into FAAD2.

Given that FFmpeg can decode M4A format files natively or can be
configured to do so using FAAC, there seems little point in struggling
to support the M4A format using FAAD2 directly.

Resolves: debian/03_aac_no_m4a
          http://moc.daper.net/node/349 and 613
Partially resolves: http://moc.daper.net/node/600
Possibly partially resolves: http://moc.daper.net/node/541
Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550679#62
          http://forums.gentoo.org/viewtopic-p-5152597.html

------------------------------------------------------------------------
r2377 | jcf | 2011-11-29 23:10:51 +0100 (Tue, 29 Nov 2011) | 1 line

Resolve new warnings from GCC 4.6.
------------------------------------------------------------------------
r2376 | jcf | 2011-11-29 23:10:46 +0100 (Tue, 29 Nov 2011) | 1 line

Document LibAV compatibility.
------------------------------------------------------------------------
r2375 | jcf | 2011-11-29 23:10:41 +0100 (Tue, 29 Nov 2011) | 5 lines

Resolve deprecations issued by the FFmpeg API.

Resolves: Debian Bug#638250
          http://moc.daper.net/node/792
Partially resolves: http://moc.daper.net/node/600
------------------------------------------------------------------------
r2374 | jcf | 2011-11-29 23:10:36 +0100 (Tue, 29 Nov 2011) | 1 line

Deprecate the use of autogen.sh in favour of autoreconf.
------------------------------------------------------------------------
r2373 | jcf | 2011-11-29 23:10:31 +0100 (Tue, 29 Nov 2011) | 1 line

Miscellaneous non-functional changes (spelling, etc).
------------------------------------------------------------------------
r2372 | jcf | 2011-11-25 23:01:55 +0100 (Fri, 25 Nov 2011) | 10 lines

Do not let libmagic try to preserve files' atimes.

In doing so, libmagic ends up changing the files' ctimes.  It
seems the lesser of two evils to allow the atimes to change, and
with many filesystems mounted 'noatime' these days the atimes
don't change anyway.

Futhermore, when libmagic does reinstate the atime it also only
does so to second resolution (even on filesystems with higher
resolutions, such as EXT4).
------------------------------------------------------------------------
r2371 | jcf | 2011-11-25 23:01:51 +0100 (Fri, 25 Nov 2011) | 1 line

Fix server crash when MOC attempts to play a deleted FLAC file.
------------------------------------------------------------------------
r2370 | jcf | 2011-11-16 22:23:34 +0100 (Wed, 16 Nov 2011) | 3 lines

Add explicit check for sinh().

Resolves: http://moc.daper.net/node/812
------------------------------------------------------------------------
r2369 | jcf | 2011-11-16 22:23:30 +0100 (Wed, 16 Nov 2011) | 3 lines

Checking for sin() does not depend on lrintf().

Amends: r1215
------------------------------------------------------------------------
r2368 | jcf | 2011-10-27 22:42:12 +0200 (Thu, 27 Oct 2011) | 1 line

Allow null as a valid sound driver.
------------------------------------------------------------------------
r2367 | jcf | 2011-10-27 22:42:08 +0200 (Thu, 27 Oct 2011) | 1 line

Have AAC decoder return a name for M4A files.
------------------------------------------------------------------------
r2366 | jcf | 2011-10-27 22:42:03 +0200 (Thu, 27 Oct 2011) | 1 line

Fix segfault in WavPack library when a file can't be opened.
------------------------------------------------------------------------
r2365 | jcf | 2011-10-27 22:41:58 +0200 (Thu, 27 Oct 2011) | 1 line

Ensure files opened by the FFmpeg decoder get closed.
------------------------------------------------------------------------
r2364 | jcf | 2011-10-17 04:46:31 +0200 (Mon, 17 Oct 2011) | 6 lines

Do not call OnSongChange script when resuming the same audio after a
pause.

Amends: r2269
Resolves: http://moc.daper.net/node/229#comment-4459

------------------------------------------------------------------------
r2363 | jcf | 2011-10-12 23:13:33 +0200 (Wed, 12 Oct 2011) | 4 lines

Fix miscoloured frame when switching themes.

Thanks to: Alexander Polakov

------------------------------------------------------------------------
r2362 | jcf | 2011-08-23 21:25:43 +0200 (Tue, 23 Aug 2011) | 5 lines

Free decoder name storage from the loop index, not the loop limit.

Amends: r2349
Thanks to: Daniel T. Borelli

------------------------------------------------------------------------
r2361 | jcf | 2011-08-21 00:41:36 +0200 (Sun, 21 Aug 2011) | 4 lines

Fix compile error with LibAV (where CODEC_TYPE_AUDIO is no longer defined).

Partially resolves: Debian Bug#638250

------------------------------------------------------------------------
r2360 | jcf | 2011-07-19 23:41:51 +0200 (Tue, 19 Jul 2011) | 3 lines

Refactor decoder plug-ins' autoconf configuration scripts into their
respective source directories.

------------------------------------------------------------------------
r2359 | jcf | 2011-07-19 23:35:42 +0200 (Tue, 19 Jul 2011) | 2 lines

Refuse to start unless the configuration file is tamperproof.

------------------------------------------------------------------------
r2358 | jcf | 2011-07-19 04:21:35 +0200 (Tue, 19 Jul 2011) | 2 lines

Simplify layout option parsing by using string lists.

------------------------------------------------------------------------
r2357 | jcf | 2011-07-19 04:19:58 +0200 (Tue, 19 Jul 2011) | 3 lines

Move layout configuration option values to common list and function-like
syntax.

------------------------------------------------------------------------
r2356 | jcf | 2011-07-13 02:59:58 +0200 (Wed, 13 Jul 2011) | 6 lines

Adjust default PreferredDecoders to reflect user experiences more closely,
and to resolve ambiguity of container-type formats.

Amends: r2354
Partially resolves: http://moc.daper.net/node/433

------------------------------------------------------------------------
r2355 | jcf | 2011-07-13 02:58:09 +0200 (Wed, 13 Jul 2011) | 4 lines

Optimise decoder selection by MIME media type.

Amends: r2354

------------------------------------------------------------------------
r2354 | jcf | 2011-07-13 02:52:05 +0200 (Wed, 13 Jul 2011) | 6 lines

Allow finer control over decoder selection (the PreferredDecoders option).

Thanks to: Tomasz Golinski
Resolves: debian/03_aac_no_m4a
          http://moc.daper.net/node/433

------------------------------------------------------------------------
r2353 | jcf | 2011-07-13 02:50:09 +0200 (Wed, 13 Jul 2011) | 2 lines

Introduce function-like syntax parsing for configuration option values.

------------------------------------------------------------------------
r2352 | jcf | 2011-07-12 04:12:35 +0200 (Tue, 12 Jul 2011) | 2 lines

Log configure options to assist problem determination.

------------------------------------------------------------------------
r2351 | jcf | 2011-07-12 04:02:02 +0200 (Tue, 12 Jul 2011) | 2 lines

Teach SVN to ignore TopGit and Quilt files, and maintainer's LOG file.

------------------------------------------------------------------------
r2350 | jcf | 2011-06-30 23:50:44 +0200 (Thu, 30 Jun 2011) | 2 lines

Have decoders handle MIME media types which have optional fields.

------------------------------------------------------------------------
r2349 | jcf | 2011-06-30 23:47:43 +0200 (Thu, 30 Jun 2011) | 2 lines

Capture decoder plugins names.

------------------------------------------------------------------------
r2348 | jcf | 2011-06-30 03:37:25 +0200 (Thu, 30 Jun 2011) | 2 lines

Make MIME media type comparisons case insensitive.

------------------------------------------------------------------------
r2347 | jcf | 2011-06-30 03:18:01 +0200 (Thu, 30 Jun 2011) | 2 lines

Code cleaning prior to PreferredDecoders option - part 2 of 2.

------------------------------------------------------------------------
r2346 | jcf | 2011-06-29 03:03:29 +0200 (Wed, 29 Jun 2011) | 2 lines

Check for valid SoundDriver option values.

------------------------------------------------------------------------
r2345 | jcf | 2011-06-29 03:01:06 +0200 (Wed, 29 Jun 2011) | 2 lines

Introduce checking of list-valued configuration option values.

------------------------------------------------------------------------
r2344 | jcf | 2011-06-28 03:51:32 +0200 (Tue, 28 Jun 2011) | 2 lines

Code cleaning prior to SoundDrivers checking - part 1 of 2.

------------------------------------------------------------------------
r2343 | jcf | 2011-06-28 03:08:43 +0200 (Tue, 28 Jun 2011) | 2 lines

Rename functions for consistancy.

------------------------------------------------------------------------
r2342 | jcf | 2011-06-27 03:11:30 +0200 (Mon, 27 Jun 2011) | 2 lines

Miscellaneous latent bug fixes and minor optimisations.

------------------------------------------------------------------------
r2341 | jcf | 2011-06-27 02:58:12 +0200 (Mon, 27 Jun 2011) | 2 lines

Replace index(3) function marked as being "legacy".

------------------------------------------------------------------------
r2340 | jcf | 2011-06-25 04:24:14 +0200 (Sat, 25 Jun 2011) | 2 lines

Rename sndfile plugin to conform to the convention used by other decoders.

------------------------------------------------------------------------
r2339 | jcf | 2011-06-25 04:09:16 +0200 (Sat, 25 Jun 2011) | 2 lines

Integrate GDB support into MOC's --enable-debug configure option.

------------------------------------------------------------------------
r2338 | jcf | 2011-06-09 03:00:16 +0200 (Thu, 09 Jun 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2337 | jcf | 2011-06-08 22:58:30 +0200 (Wed, 08 Jun 2011) | 2 lines

Change SoundDriver to be a list-valued configuration option.

------------------------------------------------------------------------
r2336 | jcf | 2011-06-08 05:13:49 +0200 (Wed, 08 Jun 2011) | 4 lines

Overhaul manpage.

Resolves: debian/06_mocp.1_2

------------------------------------------------------------------------
r2335 | jcf | 2011-06-07 02:26:36 +0200 (Tue, 07 Jun 2011) | 2 lines

Disallow spaces in option names.

------------------------------------------------------------------------
r2334 | jcf | 2011-06-07 02:16:55 +0200 (Tue, 07 Jun 2011) | 2 lines

Give more explicit messages for configuration file errors.

------------------------------------------------------------------------
r2333 | jcf | 2011-06-07 02:04:23 +0200 (Tue, 07 Jun 2011) | 5 lines

Resolve Clang Static Analyzer warnings.

Thanks to: Martin Milata
Also see: http://clang-analyzer.llvm.org/

------------------------------------------------------------------------
r2332 | jcf | 2011-06-06 03:14:40 +0200 (Mon, 06 Jun 2011) | 2 lines

Force samples remaining in the buffer to be played at ALSA device close.

------------------------------------------------------------------------
r2331 | jcf | 2011-06-06 03:03:38 +0200 (Mon, 06 Jun 2011) | 3 lines

Resolve FIXME: The code is correct - the last argument is samples,
not frames.

------------------------------------------------------------------------
r2330 | jcf | 2011-06-03 23:00:14 +0200 (Fri, 03 Jun 2011) | 2 lines

Fix latent double multiply bug.

------------------------------------------------------------------------
r2329 | jcf | 2011-06-03 22:52:29 +0200 (Fri, 03 Jun 2011) | 2 lines

Silence compiler warning when compiled without DEBUG.

------------------------------------------------------------------------
r2328 | jcf | 2011-06-03 01:51:26 +0200 (Fri, 03 Jun 2011) | 2 lines

Trailing whitespace clean up (which should make Quilt happy).

------------------------------------------------------------------------
r2327 | jcf | 2011-06-03 01:34:58 +0200 (Fri, 03 Jun 2011) | 2 lines

Teach SVN to ignore autogenerated files in the m4 directory.

------------------------------------------------------------------------
r2326 | jcf | 2011-05-31 23:58:13 +0200 (Tue, 31 May 2011) | 7 lines

Add support for key (unassigned by default) to switch on/off the display
of percentage in the time progress bar, and a configuration option
(ShowTimePercent) to set the initial state.

Thanks to: Daniel T. Borelli
Resolves: http://moc.daper.net/node/773

------------------------------------------------------------------------
r2325 | jcf | 2011-05-31 23:30:04 +0200 (Tue, 31 May 2011) | 2 lines

Fix screen upset when block markers and time percentage collide.

------------------------------------------------------------------------
r2324 | jcf | 2011-05-29 01:52:19 +0200 (Sun, 29 May 2011) | 2 lines

Add a configuration warning if no decoders have been selected.

------------------------------------------------------------------------
r2323 | jcf | 2011-05-27 04:35:50 +0200 (Fri, 27 May 2011) | 2 lines

Allow the command line override of any configuration file option.

------------------------------------------------------------------------
r2322 | jcf | 2011-05-27 02:07:40 +0200 (Fri, 27 May 2011) | 2 lines

Separate command line processing out of main().

------------------------------------------------------------------------
r2321 | jcf | 2011-05-25 04:59:06 +0200 (Wed, 25 May 2011) | 2 lines

Tidy up some configuration file error messages.

------------------------------------------------------------------------
r2320 | jcf | 2011-05-25 04:41:01 +0200 (Wed, 25 May 2011) | 2 lines

Provide for list-valued option substitutions.

------------------------------------------------------------------------
r2319 | jcf | 2011-05-23 02:03:02 +0200 (Mon, 23 May 2011) | 9 lines

Provide CURL timeout so internet streaming errors don't hang MOC.

Thanks to: Daniel Stenberg
Resolves: http://moc.daper.net/node/242 and archlinux/FS#23193
Probably resolves: http://moc.daper.net/node/747 and 762
Probably partially resolves: http://moc.daper.net/node/779
Also see: https://bugs.archlinux.org/task/23193 and
          http://curl.haxx.se/mail/lib-2011-05/0155.html

------------------------------------------------------------------------
r2318 | jcf | 2011-05-23 01:19:17 +0200 (Mon, 23 May 2011) | 5 lines

Fix incorrect referencing of ALSA mixer channels.

Thanks to: Ted Phelps
Probably resolves: http://moc.daper.net/node/756

------------------------------------------------------------------------
r2317 | jcf | 2011-05-23 00:57:22 +0200 (Mon, 23 May 2011) | 5 lines

Fix incorrect setting for themes red channel value.

Thanks to: "fluxid"
Resolves: http://moc.daper.net/node/777

------------------------------------------------------------------------
r2316 | jcf | 2011-05-17 00:23:47 +0200 (Tue, 17 May 2011) | 2 lines

Hoist MAX macro into common.h and apply it and MIN throughout.

------------------------------------------------------------------------
r2315 | jcf | 2011-05-16 23:48:48 +0200 (Mon, 16 May 2011) | 6 lines

Add "XTerms" configuration file option to parameterise $TERM settings
for known X-Terminals.

Thanks to: Eivind Eide
Resolves: http://moc.daper.net/node/775

------------------------------------------------------------------------
r2314 | jcf | 2011-05-16 23:06:33 +0200 (Mon, 16 May 2011) | 2 lines

Introduce support for list-valued configuration file options.

------------------------------------------------------------------------
r2313 | jcf | 2011-05-16 22:54:38 +0200 (Mon, 16 May 2011) | 2 lines

Add find() and clear() functions to string lists.

------------------------------------------------------------------------
r2312 | jcf | 2011-05-13 23:39:13 +0200 (Fri, 13 May 2011) | 5 lines

Provide SNDIO sound driver for OpenBSD systems.

Authored by: Alexander Polakov
Resolves: http://moc.daper.net/node/761

------------------------------------------------------------------------
r2311 | jcf | 2011-05-13 23:11:49 +0200 (Fri, 13 May 2011) | 2 lines

Upgrade pthreads macro to the current autoconf archive version.

------------------------------------------------------------------------
r2310 | jcf | 2011-05-09 23:21:54 +0200 (Mon, 09 May 2011) | 2 lines

Fix compilation error when DEBUG isn't defined.

------------------------------------------------------------------------
r2309 | jcf | 2011-05-09 23:18:40 +0200 (Mon, 09 May 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2308 | jcf | 2011-05-06 08:22:13 +0200 (Fri, 06 May 2011) | 4 lines

Deprecate use of Debian's ffmpeg-config.

Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487920

------------------------------------------------------------------------
r2307 | jcf | 2011-04-30 05:03:36 +0200 (Sat, 30 Apr 2011) | 2 lines

Log the command line which launched MOC.

------------------------------------------------------------------------
r2306 | jcf | 2011-04-30 04:41:51 +0200 (Sat, 30 Apr 2011) | 2 lines

Use early logging to combine logging banners at the start of processing.

------------------------------------------------------------------------
r2305 | jcf | 2011-04-30 04:26:43 +0200 (Sat, 30 Apr 2011) | 2 lines

Provide early logging by buffering lines until the log files are openned.

------------------------------------------------------------------------
r2304 | jcf | 2011-04-30 04:12:29 +0200 (Sat, 30 Apr 2011) | 2 lines

Add capacity function to string lists.

------------------------------------------------------------------------
r2303 | jcf | 2011-04-30 04:08:19 +0200 (Sat, 30 Apr 2011) | 4 lines

Dead code removal.

Thanks to: Martin Milata

------------------------------------------------------------------------
r2302 | jcf | 2011-04-26 03:29:35 +0200 (Tue, 26 Apr 2011) | 2 lines

Optimise screen updating (slightly).

------------------------------------------------------------------------
r2301 | jcf | 2011-04-26 02:05:08 +0200 (Tue, 26 Apr 2011) | 4 lines

The speex decoder also requires libogg.

Resolves: debian/05_speex-temp-fix

------------------------------------------------------------------------
r2300 | jcf | 2011-04-19 00:55:37 +0200 (Tue, 19 Apr 2011) | 3 lines

Reposition function to avoid repeated svn update conflicts with
code under development.

------------------------------------------------------------------------
r2299 | jcf | 2011-04-19 00:01:00 +0200 (Tue, 19 Apr 2011) | 3 lines

Also make configuration option values available for substitution in
configuration file.

------------------------------------------------------------------------
r2298 | jcf | 2011-04-18 23:56:34 +0200 (Mon, 18 Apr 2011) | 2 lines

Silence compiler warning when configured with --disable-debug.

------------------------------------------------------------------------
r2297 | jcf | 2011-04-18 23:50:55 +0200 (Mon, 18 Apr 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2296 | jcf | 2011-04-15 01:19:17 +0200 (Fri, 15 Apr 2011) | 5 lines

Fix compilation error when configured with --disable-debug.

Amends: r2295
Resolves: http://moc.daper.net/node/767

------------------------------------------------------------------------
r2295 | jcf | 2011-04-13 02:24:27 +0200 (Wed, 13 Apr 2011) | 7 lines

Display SVN revision from which MOC was built so people reporting issues
on the forum can give the revision in which they occur (hint, hint).
Also reformat and display more information in version and help option
displays and client welcome message.

(Based in part on example code by John Calcote.)

------------------------------------------------------------------------
r2294 | jcf | 2011-03-26 23:23:27 +0100 (Sat, 26 Mar 2011) | 4 lines

Silence compiler warnings on various platforms.

Thanks to: Max Klinger and Alexander Polakov

------------------------------------------------------------------------
r2293 | jcf | 2011-03-26 23:12:23 +0100 (Sat, 26 Mar 2011) | 2 lines

Move strcasestr() replacement function into compatibility source file.

------------------------------------------------------------------------
r2292 | jcf | 2011-03-26 22:59:50 +0100 (Sat, 26 Mar 2011) | 2 lines

The pthread_* functions don't set errno.

------------------------------------------------------------------------
r2291 | jcf | 2011-03-26 22:48:22 +0100 (Sat, 26 Mar 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2290 | jcf | 2011-03-15 04:04:44 +0100 (Tue, 15 Mar 2011) | 2 lines

Regularise fatal error messages.

------------------------------------------------------------------------
r2289 | jcf | 2011-03-15 04:02:22 +0100 (Tue, 15 Mar 2011) | 2 lines

Provide more information on fatal errors.

------------------------------------------------------------------------
r2288 | jcf | 2011-03-15 03:39:04 +0100 (Tue, 15 Mar 2011) | 4 lines

Fix misplaced parentheses.

Thanks to: Martin Milata

------------------------------------------------------------------------
r2287 | jcf | 2011-03-15 03:36:48 +0100 (Tue, 15 Mar 2011) | 2 lines

Update and reformat mocp manpage and equalizer README file.

------------------------------------------------------------------------
r2286 | jcf | 2011-03-13 07:58:39 +0100 (Sun, 13 Mar 2011) | 5 lines

Revise the decoder plug-in building mechanism to avoid including unwanted
directories in the distribution tarball.

Amends: r2251

------------------------------------------------------------------------
r2285 | jcf | 2011-03-13 07:23:47 +0100 (Sun, 13 Mar 2011) | 6 lines

Tell aclocal to include m4 directory macros during Makefile initiated
rebuild.  (Also known as: "Squish that pesky 'LRINTF error' bug.")

People building from SVN should now be able to use autoreconf in
preference to the provided autogen.sh script.

------------------------------------------------------------------------
r2284 | jcf | 2011-03-11 00:34:23 +0100 (Fri, 11 Mar 2011) | 2 lines

Make configure summary more concise to allow for future sound drivers.

------------------------------------------------------------------------
r2283 | jcf | 2011-03-10 23:53:13 +0100 (Thu, 10 Mar 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2282 | jcf | 2011-02-09 03:43:44 +0100 (Wed, 09 Feb 2011) | 11 lines

Fix unused compiler warnings in ffmpeg.c.

Also disable code using the deprecated libavformat API from version
53 of that interface.  In the meantime, the deprecated warnings will
continue but should be benign.  When the API stablises the ffmpeg_info()
function will need to be updated to use it -- until it is, no tags will
be returned for ffmpeg formats from API version 53.

Also see: http://web.archiveorange.com/archive/v/yR2T4Tgo4SM23ZzQKEwn
          (Thanks to Sebastian Parborg for the URL.)

------------------------------------------------------------------------
r2281 | jcf | 2011-02-09 03:04:16 +0100 (Wed, 09 Feb 2011) | 2 lines

Use new string list functions to streamline external command invocation.

------------------------------------------------------------------------
r2280 | jcf | 2011-02-09 02:31:09 +0100 (Wed, 09 Feb 2011) | 3 lines

Provide additional string list helper functions and refactor some existing
ones.

------------------------------------------------------------------------
r2279 | jcf | 2011-02-09 01:47:20 +0100 (Wed, 09 Feb 2011) | 3 lines

Teach SVN to ignore files belonging to git and common vi editors, and
those generated by a MOC build.  Sort the ignore list for ease of use.

------------------------------------------------------------------------
r2278 | jcf | 2011-02-09 01:15:27 +0100 (Wed, 09 Feb 2011) | 5 lines

Document 'EnforceTagsEncoding', 'FileNamesIconv' and 'NonUTFXterm'
options in config.example (as per original SVN log entry).

Amends: r2152

------------------------------------------------------------------------
r2277 | jcf | 2011-01-14 07:49:56 +0100 (Fri, 14 Jan 2011) | 2 lines

Add default values to environment variable substitution.

------------------------------------------------------------------------
r2276 | jcf | 2011-01-14 05:21:58 +0100 (Fri, 14 Jan 2011) | 2 lines

Provide environment variable substitution for the configuration file.

------------------------------------------------------------------------
r2275 | jcf | 2011-01-14 01:58:19 +0100 (Fri, 14 Jan 2011) | 2 lines

Refactor home directory acquisition into get_home() function.

------------------------------------------------------------------------
r2274 | jcf | 2011-01-12 05:51:49 +0100 (Wed, 12 Jan 2011) | 2 lines

Have file_exists() log any stat() error other than non-existence.

------------------------------------------------------------------------
r2273 | jcf | 2011-01-12 05:27:58 +0100 (Wed, 12 Jan 2011) | 4 lines

Avoid spurious error message when a non-existant lyrics file is MIME
tested (and restructure lyrics_load_file() to flatten conditional
nesting).

------------------------------------------------------------------------
r2272 | jcf | 2011-01-11 02:26:04 +0100 (Tue, 11 Jan 2011) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2271 | jcf | 2011-01-11 02:02:59 +0100 (Tue, 11 Jan 2011) | 5 lines

Re-engineer on_song_change() to fix server segfault when 'OnSongChange'
command separates parameters by more than a single space.

Also simplify exec_custom_command() using the same approach.

------------------------------------------------------------------------
r2270 | jcf | 2011-01-10 23:57:48 +0100 (Mon, 10 Jan 2011) | 3 lines

Provide a common string tokenisation function which adds the tokens
found to a string list.

------------------------------------------------------------------------
r2269 | jcf | 2011-01-10 23:41:59 +0100 (Mon, 10 Jan 2011) | 5 lines

Provide 'RepeatSongChange' option to control MOC's execution of the
'OnSongChange' command for repeating songs.

Resolves: http://moc.daper.net/node/229#comment-4273

------------------------------------------------------------------------
r2268 | jcf | 2011-01-09 22:00:28 +0100 (Sun, 09 Jan 2011) | 3 lines

Regularise configuration warning messages and allow more time for the
user to read them.

------------------------------------------------------------------------
r2267 | jcf | 2010-12-06 05:07:59 +0100 (Mon, 06 Dec 2010) | 2 lines

Make the backspace keypress visible to the code handling it.

------------------------------------------------------------------------
r2266 | jcf | 2010-11-25 10:10:30 +0100 (Thu, 25 Nov 2010) | 4 lines

We still need config.example copied to install directories.

Amends: r2265

------------------------------------------------------------------------
r2265 | jcf | 2010-11-25 04:38:04 +0100 (Thu, 25 Nov 2010) | 5 lines

Improve configuration of MOC for Darwin systems.

Partially resolves: http://moc.daper.net/node/731
Thanks to: Max Klinger

------------------------------------------------------------------------
r2264 | jcf | 2010-11-25 04:27:27 +0100 (Thu, 25 Nov 2010) | 4 lines

Silence compiler warnings on Gentoo systems.

Thanks to: Max Klinger and Sebastian Parborg

------------------------------------------------------------------------
r2263 | jcf | 2010-11-25 03:56:39 +0100 (Thu, 25 Nov 2010) | 4 lines

Silence compiler warning in AAC decoder plug-in.

Thanks to: Max Klinger

------------------------------------------------------------------------
r2262 | jcf | 2010-11-25 03:45:41 +0100 (Thu, 25 Nov 2010) | 4 lines

Migrate AAC decoder to later FAAD2 API.

Thanks to: Max Klinger

------------------------------------------------------------------------
r2261 | jcf | 2010-11-24 02:34:00 +0100 (Wed, 24 Nov 2010) | 4 lines

Silence compiler warning in Wavpack decoder plug-in.

Thanks to: Sebastian Parborg

------------------------------------------------------------------------
r2260 | jcf | 2010-11-24 02:25:42 +0100 (Wed, 24 Nov 2010) | 3 lines

Silence compiler warnings in Vorbis decoder plug-in.  These warnings
come from the Vorbis header files, but we can still defeat them.

------------------------------------------------------------------------
r2259 | jcf | 2010-11-24 02:16:42 +0100 (Wed, 24 Nov 2010) | 2 lines

Include the failing file's name in Sidplay2 decoder plug-in message.

------------------------------------------------------------------------
r2258 | jcf | 2010-11-24 02:05:33 +0100 (Wed, 24 Nov 2010) | 6 lines

Replace getline() with read_line().  getline() is a GNU extension
not available on all systems.

Partially resolves: http://moc.daper.net/node/731
Thanks to: Max Klinger

------------------------------------------------------------------------
r2257 | jcf | 2010-11-22 03:09:30 +0100 (Mon, 22 Nov 2010) | 2 lines

Silence compiler warnings on 64-bit systems.

------------------------------------------------------------------------
r2256 | jcf | 2010-11-22 02:53:05 +0100 (Mon, 22 Nov 2010) | 7 lines

Allow the user who has TiMidity configured in MOC but doesn't use
it to avoid a fatal error when TiMidity can't find its default
configuration file during initialisation.

Also add upgrade to TiMidity++ (as suggested by Sebastian Parborg)
to the TODO list.

------------------------------------------------------------------------
r2255 | jcf | 2010-11-13 09:49:32 +0100 (Sat, 13 Nov 2010) | 6 lines

Have autogen.sh search for GNU libtoolize which some systems (e.g.,
MacOS) rename.

Partially resolves: http://moc.daper.net/node/731
Thanks to: Max Klinger

------------------------------------------------------------------------
r2254 | jcf | 2010-11-13 05:06:55 +0100 (Sat, 13 Nov 2010) | 4 lines

Silence compiler warning.

Thanks to: Max Klinger

------------------------------------------------------------------------
r2253 | jcf | 2010-11-13 04:57:37 +0100 (Sat, 13 Nov 2010) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2252 | jcf | 2010-10-29 23:57:13 +0200 (Fri, 29 Oct 2010) | 8 lines

Improve MP3 format handling:

- Flush overly long ID3 tags (which otherwise trigger MAD distortions).
- Provide end-of-file guard in case of MAD overrun.
- Minor typographical corrections.

Resolves: http://moc.daper.net/node/586 and 709.

------------------------------------------------------------------------
r2251 | jcf | 2010-10-18 21:50:43 +0200 (Mon, 18 Oct 2010) | 3 lines

Ensure that all decoders get into the distribution tarball regardless
of whether or not the maintainer has them configured on his system.

------------------------------------------------------------------------
r2250 | jcf | 2010-09-21 23:53:33 +0200 (Tue, 21 Sep 2010) | 2 lines

Fix segfault when text entry history becomes full.

------------------------------------------------------------------------
r2249 | jcf | 2010-09-04 10:58:57 +0200 (Sat, 04 Sep 2010) | 8 lines

Miscellaneous non-functional changes:

- Update minimum Berkeley DB version requirement in README.
- Note GNU C extensions dependency in README.
- Use cleaner boolean typedef.
- Silence compiler warnings.
- Textual corrections (spelling, etc).

------------------------------------------------------------------------
r2248 | jcf | 2010-08-20 23:02:35 +0200 (Fri, 20 Aug 2010) | 11 lines

Fix a bug which caused 11025Hz 16-bit mono audios to be severly distorted.

The buffer size calculation in out_buf.c caused fifo_buf_get() to be
passed a value which represented a non-integral number of samples for
the parameters above.  Therefore, on every second buffer the softmixer
buffer processing routines would be working with values fetched from a
buffer shifted by half a sample which resulted in rubbish output values.

Now out_buf.c always passes fifo_buf_get() a buffer size which will
exactly hold a whole number of frames.

------------------------------------------------------------------------
r2247 | jcf | 2010-08-20 22:39:54 +0200 (Fri, 20 Aug 2010) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2246 | daper | 2010-04-11 16:15:12 +0200 (Sun, 11 Apr 2010) | 2 lines

Fix --docdir= configure option. Reported by Grigorios Bouzakis.

------------------------------------------------------------------------
r2245 | jcf | 2010-02-01 02:47:07 +0100 (Mon, 01 Feb 2010) | 2 lines

Avoid repeated calls to get options.

------------------------------------------------------------------------
r2244 | daper | 2010-01-10 14:24:37 +0100 (Sun, 10 Jan 2010) | 3 lines

Merge from trunk:
Fix a fatal error when opening and mp3 file. (Ondřej Svoboda).

------------------------------------------------------------------------
r2243 | daper | 2010-01-10 14:23:34 +0100 (Sun, 10 Jan 2010) | 2 lines

Fix a fatal error when opening and mp3 file. (Ondřej Svoboda).

------------------------------------------------------------------------
r2242 | daper | 2010-01-10 14:21:45 +0100 (Sun, 10 Jan 2010) | 2 lines

Fix a compilation warning in the ffmpeg plugin. (Ondřej Svoboda)

------------------------------------------------------------------------
r2241 | daper | 2010-01-10 14:20:43 +0100 (Sun, 10 Jan 2010) | 2 lines

Spelling fixes. (Ondřej Svoboda)

------------------------------------------------------------------------
r2240 | daper | 2010-01-10 14:19:46 +0100 (Sun, 10 Jan 2010) | 2 lines

Source files encoding fixes. (Ondřej Svoboda).

------------------------------------------------------------------------
r2239 | daper | 2010-01-09 10:43:32 +0100 (Sat, 09 Jan 2010) | 2 lines

Make all header file C++ compatible because we have some C++ code in MOC.

------------------------------------------------------------------------
r2238 | daper | 2010-01-09 10:29:01 +0100 (Sat, 09 Jan 2010) | 3 lines

Merge from trunk:
Define _FILE_OFFSET_BITS=64 to fix issues on 64bit NFS.

------------------------------------------------------------------------
r2237 | daper | 2010-01-09 10:27:47 +0100 (Sat, 09 Jan 2010) | 2 lines

Define _FILE_OFFSET_BITS=64 to fix issues on 64bit NFS.

------------------------------------------------------------------------
r2236 | daper | 2010-01-01 16:24:04 +0100 (Fri, 01 Jan 2010) | 2 lines

Fix compilation errors in sidplay plugin.

------------------------------------------------------------------------
r2235 | jcf | 2009-12-17 06:18:16 +0100 (Thu, 17 Dec 2009) | 3 lines

Provide unambiguous signalling events when the server starts or
stops playing an audio.

------------------------------------------------------------------------
r2234 | jcf | 2009-12-17 06:07:28 +0100 (Thu, 17 Dec 2009) | 10 lines

Re-engineer lyrics displaying code:

- Separate lyrics acquisition, storage and formatting.
- Provide for additional formatting styles.
- Improve error message handling.
- Convert to generic lists.
- Provide option to control autoloading of lyrics.
- Use MIME to verify lyrics file is textual.
- Remove several latent bugs.

------------------------------------------------------------------------
r2233 | jcf | 2009-12-17 03:37:50 +0100 (Thu, 17 Dec 2009) | 2 lines

Add prerequiste list manipulating functions.

------------------------------------------------------------------------
r2232 | jcf | 2009-12-17 03:16:11 +0100 (Thu, 17 Dec 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2231 | jcf | 2009-12-17 02:53:05 +0100 (Thu, 17 Dec 2009) | 2 lines

Resolve compiler warnings.

------------------------------------------------------------------------
r2230 | jcf | 2009-12-17 02:49:52 +0100 (Thu, 17 Dec 2009) | 2 lines

Teach SVN to ignore autogenerated 'ltmain.sh'.

------------------------------------------------------------------------
r2229 | daper | 2009-12-09 15:26:49 +0100 (Wed, 09 Dec 2009) | 3 lines

Prefer reading ID3 tags v2 over v1.  This fixes reading internatinal
strings in tags. (meh)

------------------------------------------------------------------------
r2228 | jcf | 2009-12-04 02:45:07 +0100 (Fri, 04 Dec 2009) | 2 lines

Use MIME magic detection to determine the format of audio files.

------------------------------------------------------------------------
r2227 | jcf | 2009-12-04 02:44:46 +0100 (Fri, 04 Dec 2009) | 2 lines

Add MIME magic detection and support for regular files.

------------------------------------------------------------------------
r2226 | jcf | 2009-12-02 23:21:47 +0100 (Wed, 02 Dec 2009) | 2 lines

Switch old file lists to new generic string lists.

------------------------------------------------------------------------
r2225 | jcf | 2009-12-02 23:14:36 +0100 (Wed, 02 Dec 2009) | 2 lines

Provide for more generic list handling.

------------------------------------------------------------------------
r2224 | jcf | 2009-12-02 23:08:46 +0100 (Wed, 02 Dec 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2223 | daper | 2009-11-15 10:12:53 +0100 (Sun, 15 Nov 2009) | 3 lines

Merge from trunk:
Fix eating CPU in some cases when setting xterm/screen title.

------------------------------------------------------------------------
r2222 | daper | 2009-11-11 12:13:57 +0100 (Wed, 11 Nov 2009) | 2 lines

ANother fix for xterm title patch.

------------------------------------------------------------------------
r2221 | daper | 2009-11-11 11:59:24 +0100 (Wed, 11 Nov 2009) | 2 lines

Fix crash introduced by the previous patch.

------------------------------------------------------------------------
r2220 | daper | 2009-11-11 11:58:15 +0100 (Wed, 11 Nov 2009) | 2 lines

Fix eating CPU in some cases when setting xterm/screen title.

------------------------------------------------------------------------
r2219 | daper | 2009-11-11 11:50:06 +0100 (Wed, 11 Nov 2009) | 3 lines

Merge from trunk:
Fix crash when mixer value is above 100% (possible in some cases).

------------------------------------------------------------------------
r2218 | daper | 2009-11-11 11:45:03 +0100 (Wed, 11 Nov 2009) | 2 lines

Fix crash when mixer value is above 100% (possible in some cases).

------------------------------------------------------------------------
r2217 | jcf | 2009-11-08 09:55:11 +0100 (Sun, 08 Nov 2009) | 3 lines

Require that option names be valid symbols.  All existing names are
already valid, and it should not be an issue for future names.

------------------------------------------------------------------------
r2216 | jcf | 2009-11-08 09:54:46 +0100 (Sun, 08 Nov 2009) | 2 lines

Bring symbol syntax check up to latest specification.

------------------------------------------------------------------------
r2215 | daper | 2009-11-01 08:53:47 +0100 (Sun, 01 Nov 2009) | 2 lines

FIx error() usage - proper printf() arguments.

------------------------------------------------------------------------
r2214 | daper | 2009-11-01 08:53:05 +0100 (Sun, 01 Nov 2009) | 2 lines

Fix compile errors.

------------------------------------------------------------------------
r2213 | jcf | 2009-10-31 01:37:19 +0100 (Sat, 31 Oct 2009) | 2 lines

Miscellaneous spelling and code alignment fixes.

------------------------------------------------------------------------
r2212 | jcf | 2009-10-31 01:25:08 +0100 (Sat, 31 Oct 2009) | 2 lines

Localise iface_key demuxing in preparation for additional use.

------------------------------------------------------------------------
r2211 | jcf | 2009-10-31 00:39:22 +0100 (Sat, 31 Oct 2009) | 8 lines

Make text entry history behave more like the BASH prompt history:

- Save and restore entered text prior to history scrolling.
- Save history entry modifications.
- Do not save adjacent duplicate entries.
- Do not save or modify with blank entries.
- Position cursor at end of restored or history line.

------------------------------------------------------------------------
r2210 | jcf | 2009-10-30 23:56:34 +0100 (Fri, 30 Oct 2009) | 8 lines

Fix bugs in text entry history scrolling:

- False out of memory fatal when scrolling from long shifted
  to short unshifted history line.
- Cursor set to start of line without unshifting window after scroll.

(Aspects of this patch will shortly be superceded.)

------------------------------------------------------------------------
r2209 | jcf | 2009-10-19 03:48:34 +0200 (Mon, 19 Oct 2009) | 3 lines

Hoist symbol validation code into separate function in common.c
so it is available for symbol syntax checking elsewhere.

------------------------------------------------------------------------
r2208 | jcf | 2009-10-19 03:31:12 +0200 (Mon, 19 Oct 2009) | 6 lines

Modify text entry handling code:

- Refactor character deletion handling functions.
- Recognise ^U (by default) as delete to start of line.
- Recognise ^K (by default) as delete to end of line.

------------------------------------------------------------------------
r2207 | jcf | 2009-10-17 09:30:27 +0200 (Sat, 17 Oct 2009) | 4 lines

Upgrade autoconf version requirement to 2.60.  This will ensure the
AC_PROG_SED and AC_PROG_GREP macros are available for the upcoming
local macros which will make use of them.

------------------------------------------------------------------------
r2206 | jcf | 2009-10-09 01:32:17 +0200 (Fri, 09 Oct 2009) | 3 lines

Provide general mechanism for introducing user query and reply dialogues
into the user interface message flow.

------------------------------------------------------------------------
r2205 | jcf | 2009-10-09 00:38:15 +0200 (Fri, 09 Oct 2009) | 2 lines

Choose a better function and silence compiler warning.

------------------------------------------------------------------------
r2204 | jcf | 2009-10-08 06:41:42 +0200 (Thu, 08 Oct 2009) | 5 lines

Miscellaneous spelling corrections and bug fixes:

- log.c: Print microseconds in log with constant field width.
- interface.c: Prevent help menu keys falling into other menus.

------------------------------------------------------------------------
r2203 | jcf | 2009-10-08 06:38:45 +0200 (Thu, 08 Oct 2009) | 3 lines

Ensure filename prefix returned is null terminated.
Fix runaway loop which caused storage corruption.

------------------------------------------------------------------------
r2202 | daper | 2009-10-07 13:00:33 +0200 (Wed, 07 Oct 2009) | 2 lines

Fix crash with too long file names due to lyrics code. (Géraud Le Falher)

------------------------------------------------------------------------
r2201 | jcf | 2009-09-25 23:56:18 +0200 (Fri, 25 Sep 2009) | 3 lines

Miscellaneous changes: spelling correction and clarifications,
                       code alignment and macro protection.

------------------------------------------------------------------------
r2200 | daper | 2009-09-25 10:59:35 +0200 (Fri, 25 Sep 2009) | 2 lines

Remove gettecxt support, nobody cared about this.

------------------------------------------------------------------------
r2199 | daper | 2009-09-25 10:16:06 +0200 (Fri, 25 Sep 2009) | 2 lines

Bump version to 2.5.0-alpha4.

------------------------------------------------------------------------
r2198 | daper | 2009-09-23 18:06:52 +0200 (Wed, 23 Sep 2009) | 2 lines

Fix detecting presence of avcodec_decode_audio3() in ffmpeg plugin.

------------------------------------------------------------------------
r2197 | daper | 2009-09-23 17:49:59 +0200 (Wed, 23 Sep 2009) | 2 lines

Fix previous ffmpeg commit.

------------------------------------------------------------------------
r2196 | daper | 2009-09-22 19:52:54 +0200 (Tue, 22 Sep 2009) | 3 lines

Fix segfault when trying to play a file using ffmpeg, use newer ffpeg() API.
(cbass)

------------------------------------------------------------------------
r2195 | daper | 2009-09-22 17:46:15 +0200 (Tue, 22 Sep 2009) | 2 lines

Describe --seek option in the manpage. (Elimar Riesebieter)

------------------------------------------------------------------------
r2194 | daper | 2009-09-22 12:07:10 +0200 (Tue, 22 Sep 2009) | 4 lines

FIx problem with incompatible MOC tags cache version by writing a version file
in the cache directory and purging the cache at startup in case of an
incompatible version.

------------------------------------------------------------------------
r2193 | daper | 2009-09-20 11:42:53 +0200 (Sun, 20 Sep 2009) | 2 lines

Fix using ncurses on NetBSD. (Joerg Sonnenberger)

------------------------------------------------------------------------
r2192 | daper | 2009-09-20 11:40:57 +0200 (Sun, 20 Sep 2009) | 2 lines

Fix detecting curses if ncurses is not present. (Joerg Sonnenberger)

------------------------------------------------------------------------
r2191 | jcf | 2009-09-16 09:48:14 +0200 (Wed, 16 Sep 2009) | 2 lines

Add omitted headers.

------------------------------------------------------------------------
r2190 | jcf | 2009-09-16 08:41:06 +0200 (Wed, 16 Sep 2009) | 6 lines

Add boolean and symbol typed options and accessors.  Code which accesses
these new types as integers and strings will still continue to work
(but the original contributors may wish to think about changing).

Also provide access to an option's type.

------------------------------------------------------------------------
r2189 | jcf | 2009-09-15 09:37:12 +0200 (Tue, 15 Sep 2009) | 5 lines

Reorganise the adding and checking of options to put all the information
about an option in one place (in options_init).  This should make adding
new options easier and require an explicit consideration of their valid
values.

------------------------------------------------------------------------
r2188 | jcf | 2009-09-14 07:48:32 +0200 (Mon, 14 Sep 2009) | 3 lines

Add decorators to the time progress bar to indicate the boundries of
marked blocks.

------------------------------------------------------------------------
r2187 | jcf | 2009-09-14 07:32:01 +0200 (Mon, 14 Sep 2009) | 2 lines

Disallow block marking of URLs and non-audio files.

------------------------------------------------------------------------
r2186 | jcf | 2009-09-11 10:12:50 +0200 (Fri, 11 Sep 2009) | 3 lines

Add a flag indicating whether or not a bar with a title has a textual
percentage appended.

------------------------------------------------------------------------
r2185 | jcf | 2009-09-11 09:55:01 +0200 (Fri, 11 Sep 2009) | 4 lines

Avoid 'filled' percentage value integer truncation which would often
result in the current time and the block marks for the same play point
being represented as different locations on the time progess bar.

------------------------------------------------------------------------
r2184 | jcf | 2009-09-11 09:37:53 +0200 (Fri, 11 Sep 2009) | 3 lines

Make the storage for a bar's optional title dynamic so that in the future
block mark titles can vary in line with the bar's width.

------------------------------------------------------------------------
r2183 | jcf | 2009-09-10 02:05:56 +0200 (Thu, 10 Sep 2009) | 2 lines

Resolve compile errors and warnings.

------------------------------------------------------------------------
r2182 | daper | 2009-09-09 09:51:49 +0200 (Wed, 09 Sep 2009) | 5 lines

Removes some dead code i forgot in interface.c:queue_toggle_file(), allows to
enqueue a stream and removes a lock which i think was unnecessary (since no
playlist synchronization is taking place). 
(Martin Milata <xmilata at fi.muni dot cz>)

------------------------------------------------------------------------
r2181 | daper | 2009-09-09 09:49:18 +0200 (Wed, 09 Sep 2009) | 2 lines

Add -q option to queue files from command line. (Martin Milata <xmilata at fi.muni dot cz>)

------------------------------------------------------------------------
r2180 | jcf | 2009-09-09 03:48:57 +0200 (Wed, 09 Sep 2009) | 2 lines

Make the semantics of some internal fields globally available.

------------------------------------------------------------------------
r2179 | jcf | 2009-09-09 03:17:13 +0200 (Wed, 09 Sep 2009) | 3 lines

Do not allow user to mark a block while stopped.
Make block marking refusal message visible to the user.

------------------------------------------------------------------------
r2178 | jcf | 2009-09-09 01:55:48 +0200 (Wed, 09 Sep 2009) | 2 lines

Queue messages for display in the client's message area.

------------------------------------------------------------------------
r2177 | jcf | 2009-09-09 00:58:05 +0200 (Wed, 09 Sep 2009) | 2 lines

Minor code cleaning.

------------------------------------------------------------------------
r2176 | jcf | 2009-09-07 21:29:16 +0200 (Mon, 07 Sep 2009) | 3 lines

Provide better file change detection to reset block markers.
Minor code housekeeping.

------------------------------------------------------------------------
r2175 | jcf | 2009-09-07 09:54:57 +0200 (Mon, 07 Sep 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2174 | daper | 2009-09-07 09:52:52 +0200 (Mon, 07 Sep 2009) | 2 lines

SIlence compiler warning.

------------------------------------------------------------------------
r2173 | jcf | 2009-09-07 09:49:40 +0200 (Mon, 07 Sep 2009) | 2 lines

Compilation warning fixes.

------------------------------------------------------------------------
r2172 | jcf | 2009-09-07 09:37:35 +0200 (Mon, 07 Sep 2009) | 2 lines

Whitespace cleanups.

------------------------------------------------------------------------
r2171 | jcf | 2009-09-07 09:28:15 +0200 (Mon, 07 Sep 2009) | 2 lines

Spelling and documentation fixes.

------------------------------------------------------------------------
r2170 | daper | 2009-09-04 12:39:22 +0200 (Fri, 04 Sep 2009) | 2 lines

Fix segfault when using -k command line option. (Martin Milata <xmilata at fi.muni dot cz>).

------------------------------------------------------------------------
r2169 | jcf | 2009-08-29 16:24:33 +0200 (Sat, 29 Aug 2009) | 5 lines

Add '--without-alsa' and '--without-oss' options to configure.
Move the "No sound output method" warning down to the end of the
configuration output to make it more obvious, and clean up the
format of this summary output a little.

------------------------------------------------------------------------
r2168 | jcf | 2009-08-29 16:19:13 +0200 (Sat, 29 Aug 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2167 | daper | 2009-08-24 15:32:50 +0200 (Mon, 24 Aug 2009) | 2 lines

Play queue. (Martin Milata <xmilata at fi.muni dot cz>)

------------------------------------------------------------------------
r2166 | daper | 2009-08-23 15:46:42 +0200 (Sun, 23 Aug 2009) | 6 lines

Various small unrelated fixes.
- Remove a semicolon from a place where it shouldn't be.
- Remove superfluous plist_free_item_fields() call -- the items are freed
  by free_event_data() before the end of the function.
(mmilata)

------------------------------------------------------------------------
r2165 | daper | 2009-08-23 15:38:18 +0200 (Sun, 23 Aug 2009) | 4 lines

pressing Q and before the client exists, starting a second client and adding
some files to the playlist may cause hang. This patch fixes that by not
ignoring the events queue when reading tags at exit. (mmilata)

------------------------------------------------------------------------
r2164 | jcf | 2009-08-20 15:46:33 +0200 (Thu, 20 Aug 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2163 | jcf | 2009-08-20 15:37:29 +0200 (Thu, 20 Aug 2009) | 2 lines

Code formatting fixes.

------------------------------------------------------------------------
r2162 | jcf | 2009-08-20 15:35:59 +0200 (Thu, 20 Aug 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2161 | daper | 2009-07-25 10:13:56 +0200 (Sat, 25 Jul 2009) | 2 lines

Use C++ compiler in configure.

------------------------------------------------------------------------
r2160 | daper | 2009-07-25 10:08:24 +0200 (Sat, 25 Jul 2009) | 2 lines

Spelling fixes. (Daniel Kalør <daniel@kalor.dk>)

------------------------------------------------------------------------
r2159 | daper | 2009-07-25 10:06:44 +0200 (Sat, 25 Jul 2009) | 3 lines

Fix clearing chars when displaying file information (time, rate, kbps).
(Daniel Kalør <daniel@kalor.dk>)

------------------------------------------------------------------------
r2158 | daper | 2009-07-25 10:04:28 +0200 (Sat, 25 Jul 2009) | 3 lines

When fast-forwarding through e.g. a FLAC file, the supposed bitrate may
become very large, overwriting "kbps". (Daniel Kalør <daniel@kalor.dk>)

------------------------------------------------------------------------
r2157 | daper | 2009-07-25 10:02:59 +0200 (Sat, 25 Jul 2009) | 3 lines

When maging item visible (for example, after pressing "next"), scroll it to
the middle. (Daniel Kalør <daniel@kalor.dk>)

------------------------------------------------------------------------
r2156 | daper | 2009-07-25 09:44:01 +0200 (Sat, 25 Jul 2009) | 2 lines

FIx the symbol for "kilo", use "k" (lowercase). (Daniel Kalør <daniel@kalor.dk>)

------------------------------------------------------------------------
r2155 | daper | 2009-07-25 09:42:57 +0200 (Sat, 25 Jul 2009) | 2 lines

Allow seeking to beginning of a file in vorbis/flac. (Daniel Kalør <daniel@kalor.dk>).

------------------------------------------------------------------------
r2154 | daper | 2009-07-07 22:35:09 +0200 (Tue, 07 Jul 2009) | 2 lines

Fix typo in config.example (Horvath Andras <han@log69.com>).

------------------------------------------------------------------------
r2153 | daper | 2009-06-11 17:39:53 +0200 (Thu, 11 Jun 2009) | 2 lines

Some strcpy() -> strncpy() changes. (Zaphod <zaphod001@gmail.com>)

------------------------------------------------------------------------
r2152 | daper | 2009-06-04 09:45:19 +0200 (Thu, 04 Jun 2009) | 10 lines

Add the following options:
EnforceTagsEncoding - When this option is set, player assumes, that if
encoding of id3v2 is set to ISO-8859-1, then it is actually ID3v1TagsEncoding,
and applies appropriate conversion.
FileNamesIconv - Enables conversion of filenames from local encoding to UTF8.
NonUTFXterm - This option enables conversion of xterm title from UTF8 to local
encoding.

Author: Aleks Sherikov (ya-nayk@yandex.ru)

------------------------------------------------------------------------
r2151 | daper | 2009-05-12 22:34:51 +0200 (Tue, 12 May 2009) | 2 lines

Change minimum screen height to 7 lines. (Tero Marttila).

------------------------------------------------------------------------
r2150 | daper | 2009-03-31 12:50:14 +0200 (Tue, 31 Mar 2009) | 4 lines

Merge from trunk:
Fix race condition when waiting for the end of a file playback.
Fixes freez on song changes.

------------------------------------------------------------------------
r2149 | daper | 2009-03-31 12:49:40 +0200 (Tue, 31 Mar 2009) | 3 lines

Fix race condition when waiting for the end of a file playback.
Fixes freez on song changes.

------------------------------------------------------------------------
r2148 | daper | 2009-03-28 08:33:07 +0100 (Sat, 28 Mar 2009) | 2 lines

Require BerkeleyDB 4 in configure.

------------------------------------------------------------------------
r2147 | jcf | 2009-03-24 09:37:40 +0100 (Tue, 24 Mar 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2146 | daper | 2009-03-23 19:10:41 +0100 (Mon, 23 Mar 2009) | 3 lines

Fix few command line options broken by last command line code cleanups. Decoders
weren't initialized.

------------------------------------------------------------------------
r2145 | daper | 2009-03-23 19:09:44 +0100 (Mon, 23 Mar 2009) | 3 lines

Merge from trunk:
Fix compatibility with newer ffmpeg: new avcodec_decode_audio2()

------------------------------------------------------------------------
r2144 | daper | 2009-03-23 19:08:48 +0100 (Mon, 23 Mar 2009) | 2 lines

Fix compatibility with never ffmpeg: new avcodec_decode_audio2()

------------------------------------------------------------------------
r2143 | daper | 2009-03-02 11:02:30 +0100 (Mon, 02 Mar 2009) | 2 lines

Fix and simplify parameters substitution in --format command. (Reuben Thomas <rrt@sc3d.org>) 

------------------------------------------------------------------------
r2142 | daper | 2009-02-15 23:37:47 +0100 (Sun, 15 Feb 2009) | 3 lines

Fix handling few command line "command" switches like --pause (broken by the
previous patch).

------------------------------------------------------------------------
r2141 | daper | 2009-02-15 23:34:43 +0100 (Sun, 15 Feb 2009) | 4 lines

Don't run the server if the user doesn't really want to do that when using
few commands from command line like --info.
Code that parse command line option is reorganized. (Reuben Thomas)

------------------------------------------------------------------------
r2140 | daper | 2009-02-15 15:21:57 +0100 (Sun, 15 Feb 2009) | 3 lines

Merge from trunk:
Add .oga extension to the list of files supported by the vorbis plugin.

------------------------------------------------------------------------
r2139 | daper | 2009-02-15 15:19:58 +0100 (Sun, 15 Feb 2009) | 2 lines

Add .oga extension to formats supported by the vorbis plugin.

------------------------------------------------------------------------
r2138 | daper | 2009-01-24 11:47:44 +0100 (Sat, 24 Jan 2009) | 2 lines

Change OPTIONS_MAX to a value of 181 (prime number) to have better hash results.

------------------------------------------------------------------------
r2137 | daper | 2009-01-24 11:42:19 +0100 (Sat, 24 Jan 2009) | 2 lines

Describe -j option in the manual.

------------------------------------------------------------------------
r2136 | daper | 2009-01-24 11:39:44 +0100 (Sat, 24 Jan 2009) | 3 lines

Add -j (--jump N{%,,s}) command line option to jump to some position
int the current track. (Nuno Cardoso)

------------------------------------------------------------------------
r2135 | daper | 2009-01-24 11:14:11 +0100 (Sat, 24 Jan 2009) | 2 lines

Options in a hash table (Nuno Cardoso).

------------------------------------------------------------------------
r2134 | daper | 2009-01-24 11:03:38 +0100 (Sat, 24 Jan 2009) | 1 line

Update TODO.
------------------------------------------------------------------------
r2133 | daper | 2009-01-18 09:15:21 +0100 (Sun, 18 Jan 2009) | 2 lines

2.4.4 release.

------------------------------------------------------------------------
r2132 | daper | 2009-01-18 09:14:10 +0100 (Sun, 18 Jan 2009) | 3 lines

Fix segfault when counting mp3 file time that is less than a second and
is a VBR file.

------------------------------------------------------------------------
r2131 | daper | 2009-01-10 09:47:46 +0100 (Sat, 10 Jan 2009) | 2 lines

Allow the use of FormatString tags in --format arguments. (Reuben Thomas)

------------------------------------------------------------------------
r2130 | daper | 2009-01-10 09:44:42 +0100 (Sat, 10 Jan 2009) | 2 lines

Typo fix (Reuben Thomas).

------------------------------------------------------------------------
r2129 | daper | 2009-01-08 12:49:55 +0100 (Thu, 08 Jan 2009) | 2 lines

Fix typos in documentation. (Reuben Thomas)

------------------------------------------------------------------------
r2128 | daper | 2009-01-07 08:46:08 +0100 (Wed, 07 Jan 2009) | 3 lines

Merge from trunk:
Spelling fixes. (John Fitzgerald)

------------------------------------------------------------------------
r2127 | jcf | 2009-01-07 08:45:33 +0100 (Wed, 07 Jan 2009) | 2 lines

Miscellaneous non-functional changes (spelling, etc).

------------------------------------------------------------------------
r2126 | daper | 2009-01-05 14:37:02 +0100 (Mon, 05 Jan 2009) | 2 lines

Update ignored files.

------------------------------------------------------------------------
r2125 | daper | 2009-01-05 14:36:21 +0100 (Mon, 05 Jan 2009) | 3 lines

Don't copy libltdl into the MOC's source directory in ./autogen.sh.
Better compatibility with various libtool/libltdl versions. 

------------------------------------------------------------------------
r2124 | daper | 2009-01-05 09:46:26 +0100 (Mon, 05 Jan 2009) | 2 lines

Update ignoread files list.

------------------------------------------------------------------------
r2123 | daper | 2009-01-05 09:36:51 +0100 (Mon, 05 Jan 2009) | 2 lines

FIx ./configure failure due to wrong order of libltdl related commands.

------------------------------------------------------------------------
r2122 | daper | 2009-01-05 08:51:08 +0100 (Mon, 05 Jan 2009) | 2 lines

Fix autogen.sh: use --ltdl instead of -i for libtoolize.

------------------------------------------------------------------------
r2121 | daper | 2009-01-04 11:38:47 +0100 (Sun, 04 Jan 2009) | 2 lines

Add 2.4.4 changes list.

------------------------------------------------------------------------
r2120 | daper | 2009-01-04 11:35:02 +0100 (Sun, 04 Jan 2009) | 2 lines

Add 2.4.4 changes.

------------------------------------------------------------------------
r2119 | daper | 2009-01-04 09:49:40 +0100 (Sun, 04 Jan 2009) | 3 lines

Fix compilation with libltdl, choose right libltdl to compile with: the
installed version or the own copy.

------------------------------------------------------------------------
r2118 | daper | 2009-01-04 09:47:26 +0100 (Sun, 04 Jan 2009) | 3 lines

Fix compilation with libltdl, choose right libltdl to compile with: the
installed version or the own copy.

------------------------------------------------------------------------
r2117 | daper | 2009-01-04 08:33:14 +0100 (Sun, 04 Jan 2009) | 2 lines

Use libltdl from local libltdl/ directory.

------------------------------------------------------------------------
r2116 | daper | 2009-01-04 08:31:41 +0100 (Sun, 04 Jan 2009) | 2 lines

Use libltdl from local libltdl directory.

------------------------------------------------------------------------
r2115 | daper | 2009-01-04 07:49:46 +0100 (Sun, 04 Jan 2009) | 2 lines

Ignore ltmain.sh

------------------------------------------------------------------------
r2114 | daper | 2009-01-04 07:46:24 +0100 (Sun, 04 Jan 2009) | 4 lines

Merge from trunk:
libtoolize run in autogen.sh to prevent conflicts with installed
libtool/libltdl version.

------------------------------------------------------------------------
r2113 | daper | 2009-01-04 07:44:36 +0100 (Sun, 04 Jan 2009) | 3 lines

Merge from trunk:
Support for the new (SVN) libmpcdec API.

------------------------------------------------------------------------
r2112 | daper | 2009-01-04 07:26:00 +0100 (Sun, 04 Jan 2009) | 2 lines

Version change to 2.4.4.

------------------------------------------------------------------------
r2111 | daper | 2009-01-04 07:12:03 +0100 (Sun, 04 Jan 2009) | 3 lines

Merge from trunk:
Fix configure to display proper information about compiled RCC.

------------------------------------------------------------------------
r2110 | daper | 2009-01-04 07:11:28 +0100 (Sun, 04 Jan 2009) | 2 lines

Fix configure to display proper information about compiled RCC.

------------------------------------------------------------------------
r2109 | daper | 2009-01-02 07:35:48 +0100 (Fri, 02 Jan 2009) | 5 lines

Merge from trunk:
Fix compilation of flac plugin by detecting libflac using pkg-config. On some
platforms this plugin couldn't be compiled because of using -L gcc flag without
the argument.

------------------------------------------------------------------------
r2108 | daper | 2009-01-02 07:34:44 +0100 (Fri, 02 Jan 2009) | 4 lines

Fix compilation of flac plugin by detecting libflac using pkg-config. On some
platforms this plugin couldn't be compiled because of using -L gcc flag without
the argument.

------------------------------------------------------------------------
r2107 | daper | 2008-12-21 11:29:41 +0100 (Sun, 21 Dec 2008) | 5 lines

Merge from trunk:
Fix handling of invalid track number in tags. A segfault occured when
the track number was at least a value of 2^31. The buffer for sprintf()
was too small.

------------------------------------------------------------------------
r2106 | daper | 2008-12-21 11:19:28 +0100 (Sun, 21 Dec 2008) | 4 lines

Fix handling of invalid track number in tags. A segfault occured when
the track number was at least a value of 2^31. The buffer for sprintf()
was too small.

------------------------------------------------------------------------
r2105 | daper | 2008-12-21 11:02:19 +0100 (Sun, 21 Dec 2008) | 2 lines

Fix bad memory acces when using setlocale() to temporary change locale.

------------------------------------------------------------------------
r2104 | daper | 2008-12-20 16:10:58 +0100 (Sat, 20 Dec 2008) | 2 lines

Add README_equalizer to be packaged by make dist.

------------------------------------------------------------------------
r2103 | jcf | 2008-12-20 16:10:27 +0100 (Sat, 20 Dec 2008) | 4 lines

Mark a fragment of a file while it's playing using ' and " keys (by
default).  The positions in seconds can be passed as arguments to
ExecCommandX as %S and %E.

------------------------------------------------------------------------
r2102 | daper | 2008-11-29 17:51:46 +0100 (Sat, 29 Nov 2008) | 3 lines

libtoolize run in autogen.sh to prevent conflicts with installed
libtool/libltdl version.

------------------------------------------------------------------------
r2101 | hiben | 2008-11-08 13:55:01 +0100 (Sat, 08 Nov 2008) | 1 line

Merged parametric equalizer and mono-mixing code.
------------------------------------------------------------------------
r2100 | daper | 2008-09-30 22:15:32 +0200 (Tue, 30 Sep 2008) | 2 lines

Fix handling float format and snall cleanups.

------------------------------------------------------------------------
r2099 | daper | 2008-08-25 11:36:11 +0200 (Mon, 25 Aug 2008) | 3 lines

Don't use getline() - replace it with read_line(). getline() is a GNU extension
not available on all systems. (reported by Dennis Felsing <dennis@felsin9.de>)

------------------------------------------------------------------------
r2098 | daper | 2008-08-25 11:27:44 +0200 (Mon, 25 Aug 2008) | 2 lines

Fix compilation of sidplay2 (Dennis Felsing <dennis@felsin9.de>).

------------------------------------------------------------------------
r2097 | daper | 2008-08-25 11:27:00 +0200 (Mon, 25 Aug 2008) | 2 lines

Fix crash in serialization of data in tags cache on 64b machines.

------------------------------------------------------------------------
r2096 | daper | 2008-08-03 20:19:00 +0200 (Sun, 03 Aug 2008) | 3 lines

Display lyrics saved in files together with music. Press L to try it.
(Géraud Le Falher)

------------------------------------------------------------------------
r2095 | daper | 2008-08-03 20:14:19 +0200 (Sun, 03 Aug 2008) | 2 lines

./configure prints a warning if pkg-config is not found.

------------------------------------------------------------------------
r2094 | daper | 2008-07-13 08:41:09 +0200 (Sun, 13 Jul 2008) | 8 lines

Allows moc to use the OSSv4 per-application mixer API. Within this API,
'/dev/mixer' is no more needed, as the ioctl is called directly to
'/dev/dsp', and sets the volume only for moc, not the global system volume.
This API is supported by 4Front reference OSS implementation, and by
FreeBSD-current stock implementation.

Author: thotypous

------------------------------------------------------------------------
r2093 | daper | 2008-06-29 11:56:36 +0200 (Sun, 29 Jun 2008) | 4 lines

Merge from trunk:
Fix bad memory acces when using FILL parameter in layouts that caused
"FATAL_ERROR: Layout1 is malformed".

------------------------------------------------------------------------
r2092 | daper | 2008-06-29 11:55:27 +0200 (Sun, 29 Jun 2008) | 3 lines

Fix bad memory acces when using FILL parameter in layouts that caused
"FATAL_ERROR: Layout1 is malformed".

------------------------------------------------------------------------
r2091 | daper | 2008-06-29 11:54:14 +0200 (Sun, 29 Jun 2008) | 3 lines

Fix handling of unicode strings (array overflows when copying).
Introduce ARRAY_SIZE() macro.

------------------------------------------------------------------------
r2090 | daper | 2008-06-29 11:46:36 +0200 (Sun, 29 Jun 2008) | 2 lines

Silence compiler warning.

------------------------------------------------------------------------
r2089 | daper | 2008-06-29 11:37:02 +0200 (Sun, 29 Jun 2008) | 2 lines

Silence compiler warning.

------------------------------------------------------------------------
r2088 | daper | 2008-05-06 21:10:55 +0200 (Tue, 06 May 2008) | 4 lines

Merge from trunk:
Fix for multichannel playback. Tested with ALSA and a 6-channel file using
the sndfile plugin. (Maarten van Es)

------------------------------------------------------------------------
r2087 | daper | 2008-05-06 21:09:28 +0200 (Tue, 06 May 2008) | 3 lines

Fix for multichannel playback. Tested with ALSA and a 6-channel file using
the sndfile plugin. (Maarten van Es)

------------------------------------------------------------------------
r2086 | daper | 2008-05-01 20:17:05 +0200 (Thu, 01 May 2008) | 3 lines

Support for the new (SVN) libmpcdec API. Things that doesn't work: seeking,
displaying the bitrate.

------------------------------------------------------------------------
r2085 | daper | 2008-04-11 17:56:54 +0200 (Fri, 11 Apr 2008) | 3 lines

Merge from trunk:
Removed old, irrelevant comment about iconv.

------------------------------------------------------------------------
r2084 | daper | 2008-04-11 17:56:12 +0200 (Fri, 11 Apr 2008) | 2 lines

Removed old, irrelevant comment about iconv.

------------------------------------------------------------------------
r2083 | daper | 2008-04-09 20:56:54 +0200 (Wed, 09 Apr 2008) | 6 lines

Merge from trunk:
ffmpeg's people have changed (1 month ago or so) the headers
installation layout to not install them in ffmpeg/ subfolder but for
ex. there is now libavcodec/avcodec.h and libavformat/avformat.h.
(Alexis Ballier <aballier@gentoo.org>)

------------------------------------------------------------------------
r2082 | daper | 2008-04-09 20:45:00 +0200 (Wed, 09 Apr 2008) | 5 lines

ffmpeg's people have changed (1 month ago or so) the headers
installation layout to not install them in ffmpeg/ subfolder but for
ex. there is now libavcodec/avcodec.h and libavformat/avformat.h.
(Alexis Ballier <aballier@gentoo.org>)

------------------------------------------------------------------------
r2081 | daper | 2008-03-29 12:52:36 +0100 (Sat, 29 Mar 2008) | 2 lines

Add missing file.

------------------------------------------------------------------------
r2080 | daper | 2008-03-29 12:49:32 +0100 (Sat, 29 Mar 2008) | 2 lines

Add missing file.

------------------------------------------------------------------------
r2079 | daper | 2008-03-29 12:41:43 +0100 (Sat, 29 Mar 2008) | 2 lines

Add missing file to build in po/.

------------------------------------------------------------------------
r2078 | daper | 2008-03-22 14:27:27 +0100 (Sat, 22 Mar 2008) | 4 lines

Merge from trunk:
Increase maximum file title (made from tags) length to 512. Helps on wide
terminals.

------------------------------------------------------------------------
r2077 | daper | 2008-03-22 14:26:13 +0100 (Sat, 22 Mar 2008) | 3 lines

Increase maximum file title (made from tags) length to 512. Helps on wide
terminals.

------------------------------------------------------------------------
r2076 | daper | 2008-03-12 21:59:38 +0100 (Wed, 12 Mar 2008) | 2 lines

Initial locale support. Based on patch by Petr Pisar.

------------------------------------------------------------------------
r2075 | daper | 2008-03-12 20:55:20 +0100 (Wed, 12 Mar 2008) | 2 lines

Add tags to ignore patterns.

------------------------------------------------------------------------
r2074 | daper | 2008-03-12 19:48:21 +0100 (Wed, 12 Mar 2008) | 2 lines

Add information about the tags cache.

------------------------------------------------------------------------
r2073 | daper | 2008-03-11 17:54:16 +0100 (Tue, 11 Mar 2008) | 2 lines

Fail ./configure when libdb was not found.

------------------------------------------------------------------------
r2072 | daper | 2008-03-11 16:58:07 +0100 (Tue, 11 Mar 2008) | 4 lines

Merge from trunk:
Fix hang in case of symlink loop (like symlink to parent directory) when adding
files recursivelly to the playlist.

------------------------------------------------------------------------
r2071 | daper | 2008-03-11 16:57:02 +0100 (Tue, 11 Mar 2008) | 3 lines

Fix hang in case of symlink loop (like symlink to parent directory) when adding
files recursivelly to the playlist.

------------------------------------------------------------------------
r2070 | daper | 2008-03-11 16:55:42 +0100 (Tue, 11 Mar 2008) | 2 lines

Cache items expiration.

------------------------------------------------------------------------
r2069 | daper | 2008-03-11 00:22:28 +0100 (Tue, 11 Mar 2008) | 1 line

Updated.
------------------------------------------------------------------------
r2068 | daper | 2008-03-11 00:21:59 +0100 (Tue, 11 Mar 2008) | 3 lines

Tags cache using BerkeleyDB for better perfomance, reliability and smaller
memory usage. Not yet finished - there is no limit for the cache size.

------------------------------------------------------------------------
r2067 | hiben | 2008-03-04 17:06:43 +0100 (Tue, 04 Mar 2008) | 1 line

Added check for newer faad2-library (AAC). (No decoder change needed)
------------------------------------------------------------------------
r2066 | daper | 2008-02-25 23:55:26 +0100 (Mon, 25 Feb 2008) | 2 lines

CHange version to alpha3.

------------------------------------------------------------------------
r2065 | daper | 2008-02-25 23:51:15 +0100 (Mon, 25 Feb 2008) | 2 lines

Change version to alpha3.

------------------------------------------------------------------------
r2064 | daper | 2008-02-25 23:50:53 +0100 (Mon, 25 Feb 2008) | 2 lines

2.5.0-alpha3 release.

------------------------------------------------------------------------
r2063 | daper | 2008-02-19 23:43:05 +0100 (Tue, 19 Feb 2008) | 4 lines

Add -Q (--format) FORMAT_STRING option to display file information like with
--info but using a format string where sequences like '%album', '%title' are
substituted. (Juho Hämäläinen)

------------------------------------------------------------------------
r2062 | daper | 2008-02-10 16:00:29 +0100 (Sun, 10 Feb 2008) | 3 lines

Don't exit program if the terminal heught is below some limit, just print an
error message. (Niels Aan de Brugh)

------------------------------------------------------------------------
r2061 | hiben | 2007-12-12 13:56:21 +0100 (Wed, 12 Dec 2007) | 1 line

Fixed initialization-bug in softmixer
------------------------------------------------------------------------
r2060 | hiben | 2007-12-12 12:49:04 +0100 (Wed, 12 Dec 2007) | 1 line

Software mixer added (unconditional build, applied in send_pcm)
------------------------------------------------------------------------
r2059 | daper | 2007-11-25 15:07:37 +0100 (Sun, 25 Nov 2007) | 4 lines

Merge from trunk:
Fix crash when saving a playlist with URLs.
Removed find_common_path(), it never worked.

------------------------------------------------------------------------
r2058 | daper | 2007-11-25 15:04:37 +0100 (Sun, 25 Nov 2007) | 4 lines

Fix crash when saving a playlist with URLs.
Removed find_common_path(), it never worked.


------------------------------------------------------------------------
r2057 | daper | 2007-08-22 19:46:10 +0200 (Wed, 22 Aug 2007) | 4 lines

New options in themes to make file time and playlist numbers highlighted.
(Marc Tschiesche). Update to existing themes is needed, without that they will
look bad.

------------------------------------------------------------------------
r2056 | daper | 2007-08-19 12:01:28 +0200 (Sun, 19 Aug 2007) | 2 lines

Fix setting up colors when the theme doesn't define all possible colors.

------------------------------------------------------------------------
r2055 | daper | 2007-08-05 17:53:39 +0200 (Sun, 05 Aug 2007) | 3 lines

Merged from trunk:
Fix displaying URLs on the playlist when it ends with a slash.

------------------------------------------------------------------------
r2054 | daper | 2007-08-05 17:52:50 +0200 (Sun, 05 Aug 2007) | 2 lines

Fix displaying URLs on the playlist when it ends with a slash.

------------------------------------------------------------------------
r2053 | daper | 2007-08-04 21:27:46 +0200 (Sat, 04 Aug 2007) | 2 lines

Ignore patterns.

------------------------------------------------------------------------
r2052 | daper | 2007-08-04 21:26:40 +0200 (Sat, 04 Aug 2007) | 2 lines

AAC plugin with intenet streams support.

------------------------------------------------------------------------
r2051 | daper | 2007-07-30 18:05:55 +0200 (Mon, 30 Jul 2007) | 3 lines

Add 2.4.3 changes.


------------------------------------------------------------------------
r2050 | daper | 2007-07-30 18:04:49 +0200 (Mon, 30 Jul 2007) | 2 lines

Add 2.4.3 changes.

------------------------------------------------------------------------
r2049 | daper | 2007-07-30 17:51:11 +0200 (Mon, 30 Jul 2007) | 2 lines

2.4.3 release.

------------------------------------------------------------------------
r2048 | daper | 2007-07-30 17:50:43 +0200 (Mon, 30 Jul 2007) | 2 lines

Increase version to 2.4.3.

------------------------------------------------------------------------
r2047 | daper | 2007-07-30 17:00:15 +0200 (Mon, 30 Jul 2007) | 3 lines

Merge from trunk:
Fix FollowPlayedFile after CLI restart.

------------------------------------------------------------------------
r2046 | daper | 2007-07-30 16:58:08 +0200 (Mon, 30 Jul 2007) | 6 lines

Merge from trunk:
by Klaus Ethgen <klaus.ethgen@inf.ethz.ch>:
- Unifying the use of _without_... to disable features.
- Moving the build requirements to the right place
- Applying the right vorbis libraries

------------------------------------------------------------------------
r2045 | daper | 2007-07-30 16:52:27 +0200 (Mon, 30 Jul 2007) | 2 lines

Fix moc.spec.in (bug in previous commit to this file).

------------------------------------------------------------------------
r2044 | daper | 2007-07-30 16:50:54 +0200 (Mon, 30 Jul 2007) | 2 lines

Fix FollowPlayedFile after CLI restart.

------------------------------------------------------------------------
r2043 | daper | 2007-07-28 16:00:07 +0200 (Sat, 28 Jul 2007) | 7 lines

Add missing moc.spec file.
Original by: Fredrik Rambris <fredrik@rambirs.com>
Modifications by Klaus Ethgen <klaus.ethgen@inf.ethz.ch>:
- Unifying the use of _without_... to disable features.
- Moving the build requirements to the right place
- Applying the right vorbis libraries

------------------------------------------------------------------------
r2042 | daper | 2007-07-28 15:58:53 +0200 (Sat, 28 Jul 2007) | 2 lines

Remove moc.spec from ignored files.

------------------------------------------------------------------------
r2041 | daper | 2007-07-28 15:58:20 +0200 (Sat, 28 Jul 2007) | 1 line

Updated.
------------------------------------------------------------------------
r2040 | daper | 2007-07-22 14:03:09 +0200 (Sun, 22 Jul 2007) | 3 lines

Merge from trunk:
Fix problems with vmix (no supported audio formats).

------------------------------------------------------------------------
r2039 | daper | 2007-07-22 14:02:39 +0200 (Sun, 22 Jul 2007) | 2 lines

Fix problems with vmix (no supported audio formats).

------------------------------------------------------------------------
r2038 | daper | 2007-07-22 08:27:10 +0200 (Sun, 22 Jul 2007) | 2 lines

More debug information when something is wrong with the window layout.

------------------------------------------------------------------------
r2037 | daper | 2007-07-21 09:10:17 +0200 (Sat, 21 Jul 2007) | 3 lines

Merged from trunk:
Fix a race when issuing the next commands one after another very fast.

------------------------------------------------------------------------
r2036 | daper | 2007-07-21 09:09:44 +0200 (Sat, 21 Jul 2007) | 2 lines

Fix a race when issuing the next commands one after another very fast.

------------------------------------------------------------------------
r2035 | daper | 2007-07-14 18:15:08 +0200 (Sat, 14 Jul 2007) | 3 lines

Merge from trunk:
Fix delete and backspace keys in entries.

------------------------------------------------------------------------
r2034 | daper | 2007-07-14 18:12:40 +0200 (Sat, 14 Jul 2007) | 2 lines

Fix delete and backspace keys in entries.

------------------------------------------------------------------------
r2033 | daper | 2007-07-11 17:14:02 +0200 (Wed, 11 Jul 2007) | 3 lines

Merged from trunk:
Fix XTermTitle for urxvt.

------------------------------------------------------------------------
r2032 | daper | 2007-07-11 17:13:48 +0200 (Wed, 11 Jul 2007) | 2 lines

Fix XTermTitle for urxvt.

------------------------------------------------------------------------
r2031 | daper | 2007-07-08 09:01:47 +0200 (Sun, 08 Jul 2007) | 3 lines

Merged from trunk:
Fix a problem with opening internet streams  with curl 7.16.x.(Samid Tennakoon)

------------------------------------------------------------------------
r2030 | daper | 2007-07-08 09:01:32 +0200 (Sun, 08 Jul 2007) | 2 lines

Fix a problem with opening internet streams  with curl 7.16.x.(Samid Tennakoon)

------------------------------------------------------------------------
r2029 | daper | 2007-06-24 09:44:00 +0200 (Sun, 24 Jun 2007) | 4 lines

Mergedfrom trunk:
Higher priority for tags from the decoder, if they are available, stream
medatada aren't displayed.

------------------------------------------------------------------------
r2028 | daper | 2007-06-24 09:36:41 +0200 (Sun, 24 Jun 2007) | 3 lines

Higher priority for tags from the decoder, if they are available, stream
medatada aren't displayed.

------------------------------------------------------------------------
r2027 | daper | 2007-06-16 13:24:47 +0200 (Sat, 16 Jun 2007) | 2 lines

Fix SID playing on big endian machines. (Hendrik Iben)

------------------------------------------------------------------------
r2026 | daper | 2007-06-10 15:05:19 +0200 (Sun, 10 Jun 2007) | 2 lines

2.4.2 release.

------------------------------------------------------------------------
r2025 | daper | 2007-06-10 15:01:06 +0200 (Sun, 10 Jun 2007) | 2 lines

Fix wavpack playback on big endian machines.

------------------------------------------------------------------------
r2024 | daper | 2007-06-09 20:10:51 +0200 (Sat, 09 Jun 2007) | 2 lines

Add 2.4.2 changes.

------------------------------------------------------------------------
r2023 | daper | 2007-06-09 20:10:21 +0200 (Sat, 09 Jun 2007) | 2 lines

2.4.2 changes.

------------------------------------------------------------------------
r2022 | daper | 2007-06-09 20:07:17 +0200 (Sat, 09 Jun 2007) | 2 lines

Increased version to 2.4.2.

------------------------------------------------------------------------
r2021 | daper | 2007-06-09 10:36:10 +0200 (Sat, 09 Jun 2007) | 2 lines

Fix sidplay plugin build.

------------------------------------------------------------------------
r2020 | daper | 2007-06-09 10:35:42 +0200 (Sat, 09 Jun 2007) | 2 lines

Fix sidplay plugin build.

------------------------------------------------------------------------
r2019 | daper | 2007-06-09 09:45:34 +0200 (Sat, 09 Jun 2007) | 2 lines

2.5.0-alpha2 release.

------------------------------------------------------------------------
r2018 | daper | 2007-06-09 09:30:39 +0200 (Sat, 09 Jun 2007) | 1 line

Updated.
------------------------------------------------------------------------
r2017 | daper | 2007-06-09 09:28:10 +0200 (Sat, 09 Jun 2007) | 2 lines

Fix few compiler warnings.

------------------------------------------------------------------------
r2016 | daper | 2007-06-09 09:26:08 +0200 (Sat, 09 Jun 2007) | 2 lines

Version change to 2.5.0-alpha2

------------------------------------------------------------------------
r2015 | daper | 2007-05-23 20:53:35 +0200 (Wed, 23 May 2007) | 1 line

Updated.
------------------------------------------------------------------------
r2014 | daper | 2007-05-23 20:53:12 +0200 (Wed, 23 May 2007) | 5 lines

Merge from trunk:
Fix a crash when a file is precached and user requests playing a different
file.


------------------------------------------------------------------------
r2013 | daper | 2007-05-23 20:50:10 +0200 (Wed, 23 May 2007) | 3 lines

Fix a crash when a file is precached and user requests playing a different
file.

------------------------------------------------------------------------
r2012 | daper | 2007-05-22 21:27:35 +0200 (Tue, 22 May 2007) | 4 lines

Merge from trunk:
Disable 24bit output by default due to reported problems with some sound card.
It can be enabled by setting Allow24bitOutput option to yes.

------------------------------------------------------------------------
r2011 | daper | 2007-05-09 22:11:02 +0200 (Wed, 09 May 2007) | 2 lines

Fix detecting screen.

------------------------------------------------------------------------
r2010 | daper | 2007-05-09 21:25:59 +0200 (Wed, 09 May 2007) | 2 lines

Support for GNU screen title. (Jonathan Derque <jolapache@free.fr>)

------------------------------------------------------------------------
r2009 | daper | 2007-05-01 15:31:03 +0200 (Tue, 01 May 2007) | 2 lines

Add ignore patterns.

------------------------------------------------------------------------
r2008 | daper | 2007-05-01 08:31:39 +0200 (Tue, 01 May 2007) | 2 lines

Fix 8,24,32 bit decoding in wavpack. (Alexandrov Sergey <splav@unsorted.ru>)

------------------------------------------------------------------------
r2007 | daper | 2007-05-01 08:28:20 +0200 (Tue, 01 May 2007) | 2 lines

Fix zombie processes (from OnSongChange) cleanup.

------------------------------------------------------------------------
r2006 | daper | 2007-04-21 15:58:47 +0200 (Sat, 21 Apr 2007) | 2 lines

Information about recently added formats.

------------------------------------------------------------------------
r2005 | daper | 2007-04-21 15:53:15 +0200 (Sat, 21 Apr 2007) | 2 lines

Wavpack support. (Alexandrov Sergey <splav@unsorted.ru>)

------------------------------------------------------------------------
r2004 | daper | 2007-04-09 15:36:48 +0200 (Mon, 09 Apr 2007) | 4 lines

Merge from trunk:
Fix displaying the playlist panel when the width of the terminal is an odd
number.

------------------------------------------------------------------------
r2003 | daper | 2007-04-09 15:35:11 +0200 (Mon, 09 Apr 2007) | 3 lines

Fix displaying the playlist panel when the width of the terminal is an odd
number.

------------------------------------------------------------------------
r2002 | daper | 2007-04-02 22:09:03 +0200 (Mon, 02 Apr 2007) | 2 lines

Add ignore patterns.

------------------------------------------------------------------------
r2001 | daper | 2007-04-02 22:08:01 +0200 (Mon, 02 Apr 2007) | 2 lines

SID plugin using libsidplay2. (Hendrik Iben <hiben@tzi.de>)

------------------------------------------------------------------------
r2000 | daper | 2007-04-02 22:04:17 +0200 (Mon, 02 Apr 2007) | 1 line

Updated.
------------------------------------------------------------------------
r1999 | daper | 2007-04-01 20:42:37 +0200 (Sun, 01 Apr 2007) | 3 lines

Add OnStop configuratipon option that allows to run an external command
on Stop event.

------------------------------------------------------------------------
r1998 | daper | 2007-04-01 14:56:48 +0200 (Sun, 01 Apr 2007) | 3 lines

Fix reading tags using tags_cache_read_add() in case when tags in the cache
are not everything we need.

------------------------------------------------------------------------
r1997 | daper | 2007-04-01 14:51:08 +0200 (Sun, 01 Apr 2007) | 2 lines

FIxed a memory leak when handling OnSongChange.

------------------------------------------------------------------------
r1996 | daper | 2007-04-01 14:30:53 +0200 (Sun, 01 Apr 2007) | 3 lines

Add file duration %d (duration in xx:yy format) and %D (duration as number of seconds)
options to OnSongChange command.

------------------------------------------------------------------------
r1995 | daper | 2007-04-01 14:26:27 +0200 (Sun, 01 Apr 2007) | 2 lines

Move sec_to_min() to common.h

------------------------------------------------------------------------
r1994 | daper | 2007-04-01 11:55:38 +0200 (Sun, 01 Apr 2007) | 2 lines

Prevent adding internet strams to the tags cache.

------------------------------------------------------------------------
r1993 | daper | 2007-04-01 11:51:01 +0200 (Sun, 01 Apr 2007) | 3 lines

Prevent situations when two threads/processes reads tags for the same file at
a time.

------------------------------------------------------------------------
r1992 | daper | 2007-04-01 11:25:37 +0200 (Sun, 01 Apr 2007) | 2 lines

OnSongChange reads tags from the cache.

------------------------------------------------------------------------
r1991 | daper | 2007-04-01 11:11:48 +0200 (Sun, 01 Apr 2007) | 2 lines

Turn off debugging (DEBUG), it's too much output for user logs.

------------------------------------------------------------------------
r1990 | daper | 2007-04-01 10:58:57 +0200 (Sun, 01 Apr 2007) | 2 lines

Fixed a race condition when handling tags read to the tags cache.

------------------------------------------------------------------------
r1989 | daper | 2007-03-25 14:53:42 +0200 (Sun, 25 Mar 2007) | 2 lines

Pass the environmential variables to the shild process in OnSongChange.

------------------------------------------------------------------------
r1988 | daper | 2007-03-24 23:43:15 +0100 (Sat, 24 Mar 2007) | 3 lines

Merged from trunk:
Fix the A command for '..' directory (Debian Bug#416102).

------------------------------------------------------------------------
r1987 | daper | 2007-03-24 23:42:19 +0100 (Sat, 24 Mar 2007) | 2 lines

Fix the A command for '..' directory (Debian Bug#416102).

------------------------------------------------------------------------
r1986 | daper | 2007-03-09 07:36:32 +0100 (Fri, 09 Mar 2007) | 3 lines

The 'a' command can also add a directory to the playlist.
(Filippo Giunchedi <filippo@debian.org>)

------------------------------------------------------------------------
r1985 | daper | 2007-03-07 21:23:49 +0100 (Wed, 07 Mar 2007) | 2 lines

Fixed OnSongChange description.

------------------------------------------------------------------------
r1984 | daper | 2007-03-05 16:52:53 +0100 (Mon, 05 Mar 2007) | 3 lines

Fix memory allocation bugs (malloc() -> xmalloc()) and a possible segfault
when OnSongChange option is not defined.

------------------------------------------------------------------------
r1983 | daper | 2007-03-03 16:10:36 +0100 (Sat, 03 Mar 2007) | 2 lines

2.5.0-alpha1 version.

------------------------------------------------------------------------
r1982 | daper | 2007-03-03 15:54:36 +0100 (Sat, 03 Mar 2007) | 1 line

Updated.
------------------------------------------------------------------------
r1981 | daper | 2007-03-03 11:25:21 +0100 (Sat, 03 Mar 2007) | 3 lines

Add OnSongChange option which runs a program/script when song is changed.
(Jack Miller)

------------------------------------------------------------------------
r1980 | daper | 2007-03-03 11:23:51 +0100 (Sat, 03 Mar 2007) | 1 line

Updated.
------------------------------------------------------------------------
r1979 | daper | 2007-02-11 14:02:59 +0100 (Sun, 11 Feb 2007) | 2 lines

Version change to 2.5.0-alpha1.

------------------------------------------------------------------------
r1978 | daper | 2007-02-11 13:54:51 +0100 (Sun, 11 Feb 2007) | 2 lines

Empty key list for a command in the keymap file is possible.

------------------------------------------------------------------------
r1977 | daper | 2007-02-11 13:43:34 +0100 (Sun, 11 Feb 2007) | 1 line

Updated.
------------------------------------------------------------------------
r1976 | daper | 2007-02-11 13:42:30 +0100 (Sun, 11 Feb 2007) | 2 lines

Add missing decoder_plugin member.

------------------------------------------------------------------------
r1975 | daper | 2007-02-11 13:40:25 +0100 (Sun, 11 Feb 2007) | 3 lines

Merged from trunk:
Fix configure script: libiconv is required to build moc.

------------------------------------------------------------------------
r1974 | daper | 2007-02-11 13:39:33 +0100 (Sun, 11 Feb 2007) | 2 lines

Fix configure script: libiconv is required to build moc.

------------------------------------------------------------------------
r1973 | daper | 2007-02-11 13:08:18 +0100 (Sun, 11 Feb 2007) | 4 lines

Merged from trunk:
Disabled using mmap() for reading files in the default configuration due
to reported incrased memory usage.

------------------------------------------------------------------------
r1972 | daper | 2007-02-11 13:07:40 +0100 (Sun, 11 Feb 2007) | 3 lines

Disabled using mmap() for reading files in the default configuration due
to reported incrased memory usage.

------------------------------------------------------------------------
r1971 | daper | 2007-02-11 13:03:42 +0100 (Sun, 11 Feb 2007) | 3 lines

Disable 24bit output by default due to reported problems with some sound card.
It can be enabled by setting Allow24bitOutput option to yes.

------------------------------------------------------------------------
r1970 | daper | 2007-02-10 13:35:58 +0100 (Sat, 10 Feb 2007) | 2 lines

Add ignore patterns.

------------------------------------------------------------------------
r1969 | daper | 2007-02-10 13:35:03 +0100 (Sat, 10 Feb 2007) | 2 lines

timidity options. (Hendrik Iben - contributor of the timidity plugin).

------------------------------------------------------------------------
r1968 | daper | 2007-02-10 13:33:01 +0100 (Sat, 10 Feb 2007) | 3 lines

New MIDI plugin that uses libtimidity - an interface to TiMidity, software-only
MIDI sequencer.

------------------------------------------------------------------------
r1967 | daper | 2007-02-10 13:30:19 +0100 (Sat, 10 Feb 2007) | 2 lines

Double the supported number of plugins to load.

------------------------------------------------------------------------
r1966 | daper | 2007-02-10 12:45:42 +0100 (Sat, 10 Feb 2007) | 4 lines

Workaround for Shoutcast streams that have a static title in their metadata
(like a radio station name) and the actual title as tags/comments in the
stream data.

------------------------------------------------------------------------
r1965 | daper | 2007-02-03 20:26:58 +0100 (Sat, 03 Feb 2007) | 2 lines

Added information about required packages displayed when autogen.sh fails.

------------------------------------------------------------------------
r1964 | daper | 2007-02-01 22:30:02 +0100 (Thu, 01 Feb 2007) | 1 line

Updated.
------------------------------------------------------------------------
r1963 | daper | 2007-02-01 22:29:44 +0100 (Thu, 01 Feb 2007) | 3 lines

Merged from trunk: Fix CTRL-key combinations in entries.
(Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1962 | daper | 2007-02-01 21:43:49 +0100 (Thu, 01 Feb 2007) | 2 lines

Fix for TAB handling broken by commit 1960.

------------------------------------------------------------------------
r1961 | daper | 2007-02-01 21:29:29 +0100 (Thu, 01 Feb 2007) | 2 lines

Fixed handling the enter key broken by the last patch.

------------------------------------------------------------------------
r1960 | daper | 2007-02-01 16:46:12 +0100 (Thu, 01 Feb 2007) | 2 lines

Fix CTL-key combinations in entries. (Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1959 | daper | 2007-01-29 21:44:45 +0100 (Mon, 29 Jan 2007) | 3 lines

Another fix for TCP communication (still not complete):
proper counting for incoming/outgoing data with send()/recv().

------------------------------------------------------------------------
r1958 | daper | 2007-01-27 23:04:13 +0100 (Sat, 27 Jan 2007) | 3 lines

Workaround for partially received data. This should be better
fixed. A fix for send() is also needed.

------------------------------------------------------------------------
r1957 | daper | 2007-01-27 20:15:02 +0100 (Sat, 27 Jan 2007) | 3 lines

Server listening both on local socket and TCP/IP socket.
New option for the client: --tcp (-I) to use TCP/IP communication.

------------------------------------------------------------------------
r1956 | daper | 2007-01-27 19:59:05 +0100 (Sat, 27 Jan 2007) | 2 lines

Experimental branch for local TCP/IP communication.

------------------------------------------------------------------------
r1955 | daper | 2007-01-19 21:46:50 +0100 (Fri, 19 Jan 2007) | 2 lines

Merged from trunk: Fix escape key handling. (Jack Miller)

------------------------------------------------------------------------
r1954 | daper | 2007-01-19 21:46:17 +0100 (Fri, 19 Jan 2007) | 2 lines

Fix escape key handling. (Jack Miller)

------------------------------------------------------------------------
r1953 | daper | 2007-01-19 06:48:19 +0100 (Fri, 19 Jan 2007) | 1 line

Merged from trunk: Fixed reading PLS playlists with more than 9 entries.
------------------------------------------------------------------------
r1952 | daper | 2007-01-18 20:33:41 +0100 (Thu, 18 Jan 2007) | 2 lines

Fixed reading PLS playlists with more than 9 entries.

------------------------------------------------------------------------
r1951 | daper | 2006-12-16 17:40:05 +0100 (Sat, 16 Dec 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1950 | daper | 2006-12-16 17:38:58 +0100 (Sat, 16 Dec 2006) | 3 lines

Added average bitrate field to the output of mocp -i.
(Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1949 | daper | 2006-12-16 17:32:18 +0100 (Sat, 16 Dec 2006) | 2 lines

Fixed ffmpeg build di\ue to LOG_H defined by ffmpeg headers.

------------------------------------------------------------------------
r1948 | daper | 2006-12-16 17:30:43 +0100 (Sat, 16 Dec 2006) | 2 lines

Fixed ffmpeg build di\ue to LOG_H defined by ffmpeg headers.

------------------------------------------------------------------------
r1947 | daper | 2006-12-16 17:29:17 +0100 (Sat, 16 Dec 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1946 | daper | 2006-12-12 14:43:01 +0100 (Tue, 12 Dec 2006) | 2 lines

Added -v, -t/--on/-off options. (Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1945 | daper | 2006-12-10 19:29:49 +0100 (Sun, 10 Dec 2006) | 3 lines

Command line option to toggle/on/off autonext, repeat and shuffle options.
(Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1944 | daper | 2006-12-09 15:07:17 +0100 (Sat, 09 Dec 2006) | 2 lines

COmmand line option for setting volume. (Jack Miller <jjm2n4@umr.edu>)

------------------------------------------------------------------------
r1943 | daper | 2006-11-18 18:55:36 +0100 (Sat, 18 Nov 2006) | 2 lines

2.4.1 release.

------------------------------------------------------------------------
r1942 | daper | 2006-11-10 12:43:09 +0100 (Fri, 10 Nov 2006) | 3 lines

Added support for "speaker" mixer channel in OSS. Seems to be the only channel
that affects volume on iMac (reported by Francesco Versaci)

------------------------------------------------------------------------
r1941 | daper | 2006-11-05 15:05:13 +0100 (Sun, 05 Nov 2006) | 3 lines

Support for filenames and directory names recoding using librcc.
(Alexey Gladkov)

------------------------------------------------------------------------
r1940 | daper | 2006-11-05 14:51:29 +0100 (Sun, 05 Nov 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1939 | daper | 2006-11-01 17:28:36 +0100 (Wed, 01 Nov 2006) | 3 lines

Merged from trunk:
Fixes for compilation with FLAC 1.1.3. (Josh Coalson)

------------------------------------------------------------------------
r1938 | daper | 2006-11-01 17:27:58 +0100 (Wed, 01 Nov 2006) | 2 lines

Fixes for compilation with FLAC 1.1.3. (Josh Coalson)

------------------------------------------------------------------------
r1937 | daper | 2006-11-01 11:10:51 +0100 (Wed, 01 Nov 2006) | 4 lines

Merged from trunk:
Fixed "mocp -e directory" command in case when no client is running and the
playlist is not empty.

------------------------------------------------------------------------
r1936 | daper | 2006-11-01 11:10:02 +0100 (Wed, 01 Nov 2006) | 3 lines

Fixed "mocp -e directory" command in case when no client is running and the
playlist is not empty.

------------------------------------------------------------------------
r1935 | daper | 2006-10-14 11:00:47 +0200 (Sat, 14 Oct 2006) | 2 lines

Merged from trunk: Fixed: a memory leak when reading FLAC tags.

------------------------------------------------------------------------
r1934 | daper | 2006-10-14 11:00:33 +0200 (Sat, 14 Oct 2006) | 2 lines

Merged from trunk: Fixed receive errors handling.

------------------------------------------------------------------------
r1933 | daper | 2006-10-14 10:59:18 +0200 (Sat, 14 Oct 2006) | 2 lines

Fixed: a memory leak when reading FLAC tags.

------------------------------------------------------------------------
r1932 | daper | 2006-10-14 10:58:47 +0200 (Sat, 14 Oct 2006) | 2 lines

Fixed receive errors handling.

------------------------------------------------------------------------
r1931 | daper | 2006-10-08 17:39:14 +0200 (Sun, 08 Oct 2006) | 2 lines

Version changed to 2.4.1.

------------------------------------------------------------------------
r1930 | daper | 2006-10-08 17:37:03 +0200 (Sun, 08 Oct 2006) | 2 lines

Added 2.4.1 changes.

------------------------------------------------------------------------
r1929 | daper | 2006-10-08 17:35:53 +0200 (Sun, 08 Oct 2006) | 2 lines

Updated "Known bugs" section.

------------------------------------------------------------------------
r1928 | daper | 2006-10-08 17:35:34 +0200 (Sun, 08 Oct 2006) | 2 lines

Added 2.4.1 changes.

------------------------------------------------------------------------
r1927 | daper | 2006-10-08 17:26:03 +0200 (Sun, 08 Oct 2006) | 2 lines

Added missing exec_command# keys.

------------------------------------------------------------------------
r1926 | daper | 2006-10-08 17:24:35 +0200 (Sun, 08 Oct 2006) | 2 lines

Added missing exec_command# keys.

------------------------------------------------------------------------
r1925 | daper | 2006-10-07 09:40:08 +0200 (Sat, 07 Oct 2006) | 4 lines

Merged from trunk:
Setting volume in jack using an exponential function instead of linear.
(x37v.alex)

------------------------------------------------------------------------
r1924 | daper | 2006-10-07 09:39:30 +0200 (Sat, 07 Oct 2006) | 3 lines

Setting volume in jack using an exponential function instead of linear.
(x37v.alex)

------------------------------------------------------------------------
r1923 | daper | 2006-08-30 21:39:04 +0200 (Wed, 30 Aug 2006) | 4 lines

Merged from trunk:
Reload directory content after running a custom command to see changes made
in the filesystem.

------------------------------------------------------------------------
r1922 | daper | 2006-08-30 21:38:21 +0200 (Wed, 30 Aug 2006) | 3 lines

Reload directory content after running a custom command to see changes made
in the filesystem.

------------------------------------------------------------------------
r1921 | daper | 2006-07-18 11:38:27 +0200 (Tue, 18 Jul 2006) | 3 lines

Merged from trunk:
Draw bottom lines for side menus that don't touch the botom of the main menu.

------------------------------------------------------------------------
r1920 | daper | 2006-07-18 11:37:35 +0200 (Tue, 18 Jul 2006) | 2 lines

Draw bottom lines for side menus that don't touch the botom of the main menu.

------------------------------------------------------------------------
r1919 | daper | 2006-07-02 16:43:39 +0200 (Sun, 02 Jul 2006) | 4 lines

Merged from trunk:
Command 'P' and a configuration option PlaylistFullPaths to turn on/off
displaying full paths for files in the playlist.

------------------------------------------------------------------------
r1918 | daper | 2006-07-02 16:39:40 +0200 (Sun, 02 Jul 2006) | 3 lines

Command 'P' and a configuration option PlaylistFullPaths to turn on/off
displaying full paths for files in the playlist.

------------------------------------------------------------------------
r1917 | daper | 2006-07-02 11:22:11 +0200 (Sun, 02 Jul 2006) | 4 lines

Merged from trunk:
When interface is killed by SIGTERM or SIGHUP the playlist is saved and
the terminal mode is restored.

------------------------------------------------------------------------
r1916 | daper | 2006-07-02 11:21:36 +0200 (Sun, 02 Jul 2006) | 3 lines

When interface is killed by SIGTERM or SIGHUP the playlist is saved and
the terminal mode is restored.

------------------------------------------------------------------------
r1915 | daper | 2006-07-02 10:56:27 +0200 (Sun, 02 Jul 2006) | 4 lines

Merged from trunk:
MusicDir and FastDirX are parsed before they are used, this handles not "clean"
directories in the config file (like /bin/ - with slash at the end).

------------------------------------------------------------------------
r1914 | daper | 2006-07-02 10:55:14 +0200 (Sun, 02 Jul 2006) | 3 lines

Merged from trunk: Fixed handling error when time information for a file could
not be read.

------------------------------------------------------------------------
r1913 | daper | 2006-07-02 10:54:23 +0200 (Sun, 02 Jul 2006) | 2 lines

Merged from trunk: Fixed handling invalid time in tags cache.

------------------------------------------------------------------------
r1912 | daper | 2006-06-28 21:26:51 +0200 (Wed, 28 Jun 2006) | 2 lines

New command Y to prune unreadable files from the playlist. (tyranix)

------------------------------------------------------------------------
r1911 | daper | 2006-06-17 20:14:11 +0200 (Sat, 17 Jun 2006) | 2 lines

Fixed handling invalid time in tags cache.

------------------------------------------------------------------------
r1910 | daper | 2006-06-17 20:13:35 +0200 (Sat, 17 Jun 2006) | 2 lines

Fixed handling error when time information for a file could not be read.

------------------------------------------------------------------------
r1909 | daper | 2006-06-17 08:25:25 +0200 (Sat, 17 Jun 2006) | 3 lines

MusicDir and FastDirX are parsed before they are used, this handles not "clean"
directories in the config file (like /bin/ - with slash at the end).

------------------------------------------------------------------------
r1908 | daper | 2006-06-17 08:03:23 +0200 (Sat, 17 Jun 2006) | 3 lines

Merged from trunk:
Fixed segfault on some MP3 when using RCC after the last patch.

------------------------------------------------------------------------
r1907 | daper | 2006-06-17 08:02:39 +0200 (Sat, 17 Jun 2006) | 2 lines

Fixed segfault on some MP3 when using RCC after the last patch.

------------------------------------------------------------------------
r1906 | daper | 2006-06-11 15:28:29 +0200 (Sun, 11 Jun 2006) | 4 lines

Merged from trunk:
Correct support librcc: tags ID3v1/v1.1 will be recoded in UTF-8 instead of the
local encoding. (Alexey Gladkov)

------------------------------------------------------------------------
r1905 | daper | 2006-06-11 15:27:13 +0200 (Sun, 11 Jun 2006) | 3 lines

Correct support librcc: tags ID3v1/v1.1 will be recoded in UTF-8 instead of the
local encoding. (Alexey Gladkov)

------------------------------------------------------------------------
r1904 | daper | 2006-06-11 15:23:51 +0200 (Sun, 11 Jun 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1903 | daper | 2006-05-22 21:48:04 +0200 (Mon, 22 May 2006) | 3 lines

Merged from trunk:
Fix searching with '/' (search began with the current item, not the whole list).

------------------------------------------------------------------------
r1902 | daper | 2006-05-22 21:47:29 +0200 (Mon, 22 May 2006) | 2 lines

Fix searching with '/' (search began with the current item, not the whole list).

------------------------------------------------------------------------
r1901 | daper | 2006-04-28 17:50:05 +0200 (Fri, 28 Apr 2006) | 2 lines

Merged from trunk: Fixed handling mixer errors.

------------------------------------------------------------------------
r1900 | daper | 2006-04-28 17:48:50 +0200 (Fri, 28 Apr 2006) | 2 lines

Fixed handling mixer errors.

------------------------------------------------------------------------
r1899 | daper | 2006-04-12 20:06:22 +0200 (Wed, 12 Apr 2006) | 2 lines

Modplug support. (Hendrik Iben)

------------------------------------------------------------------------
r1898 | daper | 2006-04-12 20:00:10 +0200 (Wed, 12 Apr 2006) | 1 line

UPdated.
------------------------------------------------------------------------
r1897 | daper | 2006-03-18 14:44:35 +0100 (Sat, 18 Mar 2006) | 3 lines

Merged from trunk: Fixed clearing playlist from the command line
(crash on mocp -c -a -p file.mp3).

------------------------------------------------------------------------
r1896 | daper | 2006-03-18 09:42:18 +0100 (Sat, 18 Mar 2006) | 2 lines

Fixed clearing playlist from the command line (crash on mocp -c -a -p file.mp3).

------------------------------------------------------------------------
r1895 | daper | 2006-03-12 09:11:21 +0100 (Sun, 12 Mar 2006) | 1 line

TODO
------------------------------------------------------------------------
r1894 | daper | 2006-03-05 14:37:31 +0100 (Sun, 05 Mar 2006) | 3 lines

ogg -> vorbis.
Updated Paths.

------------------------------------------------------------------------
r1893 | daper | 2006-02-21 18:46:41 +0100 (Tue, 21 Feb 2006) | 2 lines

Merged from trunk: Added MP4 to the list of supported by FFmpeg extensions.

------------------------------------------------------------------------
r1892 | daper | 2006-02-21 18:46:03 +0100 (Tue, 21 Feb 2006) | 2 lines

Added MP4 to the list of supported by FFmpeg extensions.

------------------------------------------------------------------------
r1891 | daper | 2006-02-18 09:49:55 +0100 (Sat, 18 Feb 2006) | 2 lines

Merged from trunk: Fixed a crash when going to '../' with the search entry.

------------------------------------------------------------------------
r1890 | daper | 2006-02-18 09:49:01 +0100 (Sat, 18 Feb 2006) | 2 lines

Fixed going to '../' with the search entry.

------------------------------------------------------------------------
r1889 | daper | 2006-02-12 18:34:51 +0100 (Sun, 12 Feb 2006) | 3 lines

Fixed vchooseing endianess when playing float samples (musepacj or wave and
other libsndfile formats).

------------------------------------------------------------------------
r1888 | daper | 2006-02-12 18:34:18 +0100 (Sun, 12 Feb 2006) | 3 lines

Fixed vchooseing endianess when playing float samples (musepacj or wave and
other libsndfile formats).

------------------------------------------------------------------------
r1887 | daper | 2006-02-12 14:52:19 +0100 (Sun, 12 Feb 2006) | 2 lines

Formating fix.

------------------------------------------------------------------------
r1886 | daper | 2006-02-12 14:52:06 +0100 (Sun, 12 Feb 2006) | 2 lines

Formating fix.

------------------------------------------------------------------------
r1885 | daper | 2006-02-12 14:39:10 +0100 (Sun, 12 Feb 2006) | 2 lines

2.4.0 release.

------------------------------------------------------------------------
r1884 | daper | 2006-02-12 14:33:25 +0100 (Sun, 12 Feb 2006) | 2 lines

Added 2.4.0 changes.

------------------------------------------------------------------------
r1883 | daper | 2006-02-12 14:32:46 +0100 (Sun, 12 Feb 2006) | 2 lines

Added 2.4.0 changes.

------------------------------------------------------------------------
r1882 | daper | 2006-02-12 13:48:46 +0100 (Sun, 12 Feb 2006) | 2 lines

Merged from trunk: Fixed requesting bad endianess of sound samples.

------------------------------------------------------------------------
r1881 | daper | 2006-02-12 13:48:22 +0100 (Sun, 12 Feb 2006) | 2 lines

Fixed requesting bad endianess of sound samples.

------------------------------------------------------------------------
r1880 | daper | 2006-02-12 13:05:22 +0100 (Sun, 12 Feb 2006) | 2 lines

Moved out 2.5 plans, added a link to the roadmap.

------------------------------------------------------------------------
r1879 | daper | 2006-02-12 13:03:35 +0100 (Sun, 12 Feb 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1878 | daper | 2006-02-12 13:03:10 +0100 (Sun, 12 Feb 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1877 | daper | 2006-02-12 12:54:41 +0100 (Sun, 12 Feb 2006) | 2 lines

2.4 branch.

------------------------------------------------------------------------
r1876 | daper | 2006-02-07 18:22:29 +0100 (Tue, 07 Feb 2006) | 2 lines

Fixed OSS support on some machones (like G3 iBook).

------------------------------------------------------------------------
r1875 | daper | 2006-02-05 14:11:44 +0100 (Sun, 05 Feb 2006) | 2 lines

Fixed a possible deadlock while seeking. This fixes a hang on FreeBSD 6.

------------------------------------------------------------------------
r1874 | daper | 2006-01-31 12:10:11 +0100 (Tue, 31 Jan 2006) | 2 lines

Added information about required compilers.

------------------------------------------------------------------------
r1873 | daper | 2006-01-30 18:51:40 +0100 (Mon, 30 Jan 2006) | 2 lines

Fixed a typo in a comment. (Michał Mazurek)

------------------------------------------------------------------------
r1872 | daper | 2006-01-30 18:41:32 +0100 (Mon, 30 Jan 2006) | 2 lines

FIxed a type.

------------------------------------------------------------------------
r1871 | daper | 2006-01-30 18:40:28 +0100 (Mon, 30 Jan 2006) | 2 lines

Fixed typos. (Michał Mazurek)

------------------------------------------------------------------------
r1870 | daper | 2006-01-29 16:32:00 +0100 (Sun, 29 Jan 2006) | 2 lines

Fixed a memory leak in xwaddnstr().

------------------------------------------------------------------------
r1869 | daper | 2006-01-29 13:52:11 +0100 (Sun, 29 Jan 2006) | 2 lines

Fixed reading tags cache when a file was modified or lacks some tags fields.

------------------------------------------------------------------------
r1868 | daper | 2006-01-29 13:18:32 +0100 (Sun, 29 Jan 2006) | 2 lines

2.4.0-beta2 release.

------------------------------------------------------------------------
r1867 | daper | 2006-01-29 13:16:31 +0100 (Sun, 29 Jan 2006) | 2 lines

Fixed displaying soe information about the previously played file when stopped.

------------------------------------------------------------------------
r1866 | daper | 2006-01-28 18:55:47 +0100 (Sat, 28 Jan 2006) | 2 lines

Updated the copyright notice.

------------------------------------------------------------------------
r1865 | daper | 2006-01-28 14:49:11 +0100 (Sat, 28 Jan 2006) | 2 lines

Fixed false EOF at begining of some files.

------------------------------------------------------------------------
r1864 | daper | 2006-01-26 15:22:06 +0100 (Thu, 26 Jan 2006) | 2 lines

Minimum required version fo libcurl is 7.12.2, 7.12.1 causes problems.

------------------------------------------------------------------------
r1863 | daper | 2006-01-26 15:21:09 +0100 (Thu, 26 Jan 2006) | 2 lines

Added information about on-line documentation and forum.

------------------------------------------------------------------------
r1862 | daper | 2006-01-26 11:24:47 +0100 (Thu, 26 Jan 2006) | 2 lines

Fixed handling errors in io_curl_open(), they were not reported.

------------------------------------------------------------------------
r1861 | daper | 2006-01-25 22:17:11 +0100 (Wed, 25 Jan 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1860 | daper | 2006-01-25 22:15:35 +0100 (Wed, 25 Jan 2006) | 2 lines

Changed version to 2.4.0-beta2.

------------------------------------------------------------------------
r1859 | daper | 2006-01-24 12:12:26 +0100 (Tue, 24 Jan 2006) | 2 lines

Fixed the cursor position in rntries.

------------------------------------------------------------------------
r1858 | daper | 2006-01-22 16:41:38 +0100 (Sun, 22 Jan 2006) | 2 lines

Added SetXtermTitle option (disable/enable setting xterm title).

------------------------------------------------------------------------
r1857 | daper | 2006-01-22 13:26:37 +0100 (Sun, 22 Jan 2006) | 2 lines

Fixed next/previous commands when the position of the current file has changed.

------------------------------------------------------------------------
r1856 | daper | 2006-01-21 15:43:13 +0100 (Sat, 21 Jan 2006) | 2 lines

strwidth() returns real width instead of size.

------------------------------------------------------------------------
r1855 | daper | 2006-01-21 11:09:11 +0100 (Sat, 21 Jan 2006) | 4 lines

Workaround for encoding of ID3v1 tags.
New option: UseRCC - to use librcc for ID3v1 reencoding.
New option: ID3v1TagsEncoding - assumed encoding for ID3v1 tags.

------------------------------------------------------------------------
r1854 | daper | 2006-01-20 22:23:28 +0100 (Fri, 20 Jan 2006) | 2 lines

Updated copyright notices.

------------------------------------------------------------------------
r1853 | daper | 2006-01-19 21:36:50 +0100 (Thu, 19 Jan 2006) | 3 lines

Added UseCursorSelection option (default: no) to display cursor on the selected
file. This is useful with braille displays.

------------------------------------------------------------------------
r1852 | daper | 2006-01-19 12:52:44 +0100 (Thu, 19 Jan 2006) | 2 lines

wcswidth() is required to compile MOC.

------------------------------------------------------------------------
r1851 | daper | 2006-01-19 12:38:31 +0100 (Thu, 19 Jan 2006) | 2 lines

Fixed adding URLS to the playlist using the -a command line option.

------------------------------------------------------------------------
r1850 | daper | 2006-01-19 12:19:16 +0100 (Thu, 19 Jan 2006) | 2 lines

Fixed displaying menu title that contains non-ASCII characters.

------------------------------------------------------------------------
r1849 | daper | 2006-01-17 09:51:34 +0100 (Tue, 17 Jan 2006) | 2 lines

Fixed ffmpeg-config usage.

------------------------------------------------------------------------
r1848 | daper | 2006-01-15 23:15:52 +0100 (Sun, 15 Jan 2006) | 2 lines

2.4.0-beta1 release.

------------------------------------------------------------------------
r1847 | daper | 2006-01-15 23:14:32 +0100 (Sun, 15 Jan 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1846 | daper | 2006-01-15 23:06:03 +0100 (Sun, 15 Jan 2006) | 2 lines

2.4.0-alpha2 release.

------------------------------------------------------------------------
r1845 | daper | 2006-01-14 19:36:30 +0100 (Sat, 14 Jan 2006) | 3 lines

Executing external commands, like 'cp %f /mnt/usb_drive' where %f is
substituted with the path to the currently selected file.

------------------------------------------------------------------------
r1844 | daper | 2006-01-10 20:56:46 +0100 (Tue, 10 Jan 2006) | 2 lines

Fixed loading tags cache for files without tags.

------------------------------------------------------------------------
r1843 | daper | 2006-01-08 23:19:08 +0100 (Sun, 08 Jan 2006) | 2 lines

Reencoding id3 tags (mp3) using librcc. Initial patch by Alexey Gladkov.

------------------------------------------------------------------------
r1842 | daper | 2006-01-08 18:59:01 +0100 (Sun, 08 Jan 2006) | 2 lines

Deal with invalid UTF-8 sequences.

------------------------------------------------------------------------
r1841 | daper | 2006-01-08 17:24:44 +0100 (Sun, 08 Jan 2006) | 2 lines

Fixed a segfault with ReadTags turned off.

------------------------------------------------------------------------
r1840 | daper | 2006-01-08 11:03:13 +0100 (Sun, 08 Jan 2006) | 2 lines

Added moc.spec to ignore patterns.

------------------------------------------------------------------------
r1839 | daper | 2006-01-08 11:02:49 +0100 (Sun, 08 Jan 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1838 | daper | 2006-01-07 14:53:36 +0100 (Sat, 07 Jan 2006) | 2 lines

Added RPM SPEC file. (Fredrik Rambris)

------------------------------------------------------------------------
r1837 | daper | 2006-01-07 14:50:37 +0100 (Sat, 07 Jan 2006) | 2 lines

Changed version to 2.4.0-beta1.

------------------------------------------------------------------------
r1836 | daper | 2006-01-07 09:36:29 +0100 (Sat, 07 Jan 2006) | 2 lines

Added SPEC file. (Fredrik Rambris)

------------------------------------------------------------------------
r1835 | daper | 2006-01-06 21:14:45 +0100 (Fri, 06 Jan 2006) | 2 lines

Selecting themes at runtime  - T command (this does not change the config file).

------------------------------------------------------------------------
r1834 | daper | 2006-01-06 21:12:48 +0100 (Fri, 06 Jan 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1833 | daper | 2006-01-05 22:46:04 +0100 (Thu, 05 Jan 2006) | 2 lines

Fixed meta key combinations.

------------------------------------------------------------------------
r1832 | daper | 2006-01-05 22:33:21 +0100 (Thu, 05 Jan 2006) | 2 lines

Fixed a segfault when a file of unknown format appears in the menu.

------------------------------------------------------------------------
r1831 | daper | 2006-01-05 22:30:07 +0100 (Thu, 05 Jan 2006) | 2 lines

Fixed a segfault when a file of unknown format appears in the menu.

------------------------------------------------------------------------
r1830 | daper | 2006-01-05 22:21:27 +0100 (Thu, 05 Jan 2006) | 2 lines

Added an assert().

------------------------------------------------------------------------
r1829 | daper | 2006-01-04 14:51:47 +0100 (Wed, 04 Jan 2006) | 2 lines

Added plist_add_stream key.

------------------------------------------------------------------------
r1828 | daper | 2006-01-04 14:45:10 +0100 (Wed, 04 Jan 2006) | 2 lines

Added some assert()s.

------------------------------------------------------------------------
r1827 | daper | 2006-01-04 14:37:00 +0100 (Wed, 04 Jan 2006) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r1826 | daper | 2006-01-04 14:30:04 +0100 (Wed, 04 Jan 2006) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r1825 | daper | 2006-01-04 12:57:19 +0100 (Wed, 04 Jan 2006) | 2 lines

2.3.3 release.

------------------------------------------------------------------------
r1824 | daper | 2006-01-04 12:56:44 +0100 (Wed, 04 Jan 2006) | 2 lines

Added 2.3.3 changes.

------------------------------------------------------------------------
r1823 | daper | 2006-01-04 12:53:07 +0100 (Wed, 04 Jan 2006) | 2 lines

Added 2.3.3 changes.

------------------------------------------------------------------------
r1822 | daper | 2006-01-02 17:04:23 +0100 (Mon, 02 Jan 2006) | 2 lines

Don't append -liconv to $LIBS, it's not needed for plugins.

------------------------------------------------------------------------
r1821 | daper | 2006-01-02 17:00:36 +0100 (Mon, 02 Jan 2006) | 2 lines

Don't append -liconv to $LIBS, it's not needed for plugins.

------------------------------------------------------------------------
r1820 | daper | 2006-01-02 16:40:08 +0100 (Mon, 02 Jan 2006) | 2 lines

Changed version to 2.3.3.

------------------------------------------------------------------------
r1819 | daper | 2006-01-02 16:38:58 +0100 (Mon, 02 Jan 2006) | 3 lines

Merged fomr trunk: Fixed detecting iconv when iconv_open() is a macro (fix for
OpenBSD).

------------------------------------------------------------------------
r1818 | daper | 2006-01-02 16:34:09 +0100 (Mon, 02 Jan 2006) | 2 lines

Detect soudcard.h (for OpenBSD). Thanks to Tilo Stritzky.

------------------------------------------------------------------------
r1817 | daper | 2006-01-02 16:30:03 +0100 (Mon, 02 Jan 2006) | 3 lines

Define INT.*_(MAX|MIN) if not present. This fixes compilation under OpenBSD.
(thanks to Tilo Stritzky).

------------------------------------------------------------------------
r1816 | daper | 2006-01-02 16:28:39 +0100 (Mon, 02 Jan 2006) | 3 lines

Merged from trunk: Don't use _XOPEN_SOURCE under OpenBSD, it breaks compilation
(Tilo Stritzky)

------------------------------------------------------------------------
r1815 | daper | 2006-01-02 16:25:47 +0100 (Mon, 02 Jan 2006) | 3 lines

Merged from trunk: Don't use _XOPEN_SOURCE under OpenBSD, it breaks compilation
(Tilo Stritzky)

------------------------------------------------------------------------
r1814 | daper | 2006-01-02 11:25:30 +0100 (Mon, 02 Jan 2006) | 2 lines

Changed erroneous ogg plugin name to vorbis.

------------------------------------------------------------------------
r1813 | daper | 2006-01-02 11:17:47 +0100 (Mon, 02 Jan 2006) | 2 lines

ogg -> vorbis step 1.

------------------------------------------------------------------------
r1812 | daper | 2006-01-02 11:17:31 +0100 (Mon, 02 Jan 2006) | 1 line

Updated.
------------------------------------------------------------------------
r1811 | daper | 2006-01-01 18:21:28 +0100 (Sun, 01 Jan 2006) | 2 lines

Merged from trunk: Fixed a memory leak occuring with every played mp3 file.

------------------------------------------------------------------------
r1810 | daper | 2006-01-01 18:20:44 +0100 (Sun, 01 Jan 2006) | 2 lines

Fixed a memory leak occuring with every played mp3 file.

------------------------------------------------------------------------
r1809 | daper | 2006-01-01 18:08:41 +0100 (Sun, 01 Jan 2006) | 3 lines

Fixed a memory leak when getting time for a file for which the time is present
on the server's playlist.

------------------------------------------------------------------------
r1808 | daper | 2006-01-01 17:48:43 +0100 (Sun, 01 Jan 2006) | 2 lines

Fixed a memory leak when loading tags cache from file.

------------------------------------------------------------------------
r1807 | daper | 2006-01-01 14:32:06 +0100 (Sun, 01 Jan 2006) | 2 lines

Cleanup.

------------------------------------------------------------------------
r1806 | daper | 2006-01-01 14:00:03 +0100 (Sun, 01 Jan 2006) | 2 lines

Merged from trunk: Fixed parsing Icy metadata packages (possible segfault).

------------------------------------------------------------------------
r1805 | daper | 2006-01-01 13:58:00 +0100 (Sun, 01 Jan 2006) | 2 lines

Fixed parsing Icy metadata packets (possible segfault).

------------------------------------------------------------------------
r1804 | daper | 2006-01-01 13:21:20 +0100 (Sun, 01 Jan 2006) | 2 lines

Fixed mbstowcs() and wcstombs() usage.

------------------------------------------------------------------------
r1803 | daper | 2006-01-01 12:29:06 +0100 (Sun, 01 Jan 2006) | 2 lines

Fixed a memory leak in tags_clear().

------------------------------------------------------------------------
r1802 | daper | 2005-12-31 20:48:12 +0100 (Sat, 31 Dec 2005) | 2 lines

Fixed displaying total time of the previous file if we play an internet stream.

------------------------------------------------------------------------
r1801 | daper | 2005-12-31 20:36:38 +0100 (Sat, 31 Dec 2005) | 2 lines

Pausing Internet streams.

------------------------------------------------------------------------
r1800 | daper | 2005-12-31 20:08:02 +0100 (Sat, 31 Dec 2005) | 2 lines

Don't switch to the playilst if we loaded the playlist at startup.

------------------------------------------------------------------------
r1799 | daper | 2005-12-31 19:08:50 +0100 (Sat, 31 Dec 2005) | 2 lines

Cleanup.

------------------------------------------------------------------------
r1798 | daper | 2005-12-31 18:54:56 +0100 (Sat, 31 Dec 2005) | 3 lines

Interface show the playlist after startup if something from the playlist is
played (CanStartInPlaylist option).

------------------------------------------------------------------------
r1797 | daper | 2005-12-30 23:09:37 +0100 (Fri, 30 Dec 2005) | 2 lines

Fixed assertion in case that we don't display files' time nor format.

------------------------------------------------------------------------
r1796 | daper | 2005-12-30 23:06:05 +0100 (Fri, 30 Dec 2005) | 2 lines

Fixed segfault with the previous patch.

------------------------------------------------------------------------
r1795 | daper | 2005-12-30 22:58:41 +0100 (Fri, 30 Dec 2005) | 2 lines

Fixed xwaddnstr(): n is number of UTF-8 chars, not bytes.

------------------------------------------------------------------------
r1794 | daper | 2005-12-30 19:48:21 +0100 (Fri, 30 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1793 | daper | 2005-12-30 19:48:04 +0100 (Fri, 30 Dec 2005) | 2 lines

Fixed adding URLs to the playlist using -a.

------------------------------------------------------------------------
r1792 | daper | 2005-12-30 19:47:22 +0100 (Fri, 30 Dec 2005) | 2 lines

A and --append can add files from playlists.

------------------------------------------------------------------------
r1791 | daper | 2005-12-30 17:12:23 +0100 (Fri, 30 Dec 2005) | 2 lines

Use pkg-config if ffmpeg-config is not present (it works only in Debian).

------------------------------------------------------------------------
r1790 | daper | 2005-12-30 09:46:16 +0100 (Fri, 30 Dec 2005) | 2 lines

Fixed destroing mutex.

------------------------------------------------------------------------
r1789 | daper | 2005-12-29 21:53:26 +0100 (Thu, 29 Dec 2005) | 2 lines

Added darkdot_theme.

------------------------------------------------------------------------
r1788 | daper | 2005-12-29 18:27:14 +0100 (Thu, 29 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1787 | daper | 2005-12-29 18:26:02 +0100 (Thu, 29 Dec 2005) | 3 lines

Pressing n when nothing is played starts playing from the first item on the
playlist.

------------------------------------------------------------------------
r1786 | daper | 2005-12-29 18:09:28 +0100 (Thu, 29 Dec 2005) | 2 lines

Added information about WMA, RealAudio, AAC, and MP4 formats.

------------------------------------------------------------------------
r1785 | daper | 2005-12-29 18:06:44 +0100 (Thu, 29 Dec 2005) | 2 lines

Added m4a and aac tu the list of supported by ffmpeg extensions.

------------------------------------------------------------------------
r1784 | daper | 2005-12-28 23:23:48 +0100 (Wed, 28 Dec 2005) | 2 lines

Fixed segfault when the terminal charset is not known.

------------------------------------------------------------------------
r1783 | daper | 2005-12-28 23:13:42 +0100 (Wed, 28 Dec 2005) | 2 lines

Fixed detectinf iconv when iconv_open() is a macro (fix for OpenBSD).

------------------------------------------------------------------------
r1782 | daper | 2005-12-28 22:38:55 +0100 (Wed, 28 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1781 | daper | 2005-12-28 21:47:42 +0100 (Wed, 28 Dec 2005) | 2 lines

Detect if wcswidth() is present. Fixes compilation under OpenBSD.

------------------------------------------------------------------------
r1780 | daper | 2005-12-28 21:44:55 +0100 (Wed, 28 Dec 2005) | 2 lines

Detect soudcard.h (for OpenBSD). Thanks to Tilo Stritzky.

------------------------------------------------------------------------
r1779 | daper | 2005-12-28 21:30:56 +0100 (Wed, 28 Dec 2005) | 2 lines

Updated information about other OS' than Linux.

------------------------------------------------------------------------
r1778 | daper | 2005-12-28 21:20:45 +0100 (Wed, 28 Dec 2005) | 4 lines

Check for CODESET and don't use it if not presend. This fixes compilation
under OpenBSD.
Fixed error message when no sound output method is to be compiled.

------------------------------------------------------------------------
r1777 | daper | 2005-12-28 20:50:38 +0100 (Wed, 28 Dec 2005) | 3 lines

Define INT.*_(MAX|MIN) if not present. This fixes compilation under OpenBSD.
(thanks to Tilo Stritzky).

------------------------------------------------------------------------
r1776 | daper | 2005-12-28 20:46:42 +0100 (Wed, 28 Dec 2005) | 3 lines

Don't use _XOPEN_SOURCE under OpenBSD, it breaks compilation (thanks to Tilo
Stritzky)

------------------------------------------------------------------------
r1775 | daper | 2005-12-28 20:31:01 +0100 (Wed, 28 Dec 2005) | 2 lines

Fixed duplicate 'const'.

------------------------------------------------------------------------
r1774 | daper | 2005-12-28 20:27:39 +0100 (Wed, 28 Dec 2005) | 3 lines

Removed unneeded _XOPEN_SOURCE define that breaks compilation on OpenBSD.
(Tilo Stritzky)

------------------------------------------------------------------------
r1773 | daper | 2005-12-27 22:04:10 +0100 (Tue, 27 Dec 2005) | 2 lines

Fixed bps->Kbps conversion.

------------------------------------------------------------------------
r1772 | daper | 2005-12-27 20:29:10 +0100 (Tue, 27 Dec 2005) | 3 lines

Added optional init and cleanup functions for plugins for one time
initialization and cleanup.

------------------------------------------------------------------------
r1771 | daper | 2005-12-27 17:49:36 +0100 (Tue, 27 Dec 2005) | 3 lines

Use _XOPEN_SOURCE_EXTENDED only on linux, because it breaks compilation under
FreeBSD 5.4 and maybe other systems.

------------------------------------------------------------------------
r1770 | daper | 2005-12-27 15:32:19 +0100 (Tue, 27 Dec 2005) | 2 lines

Removed (hopefully) unneeded _XOPEN_SOURCE.

------------------------------------------------------------------------
r1769 | daper | 2005-12-27 14:58:27 +0100 (Tue, 27 Dec 2005) | 2 lines

Fixed dispaying wrong total time of the playlist/files.

------------------------------------------------------------------------
r1768 | daper | 2005-12-27 14:56:03 +0100 (Tue, 27 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1767 | daper | 2005-12-25 17:30:18 +0100 (Sun, 25 Dec 2005) | 2 lines

Fixed displaying time >= 99:99.

------------------------------------------------------------------------
r1766 | daper | 2005-12-25 16:29:43 +0100 (Sun, 25 Dec 2005) | 2 lines

Fixed switching to the music directory while in playlist menu.

------------------------------------------------------------------------
r1765 | daper | 2005-12-25 16:24:48 +0100 (Sun, 25 Dec 2005) | 2 lines

Fixed sorting when using -a.

------------------------------------------------------------------------
r1764 | daper | 2005-12-25 16:17:04 +0100 (Sun, 25 Dec 2005) | 2 lines

Fixed removing duplicate safter A.

------------------------------------------------------------------------
r1763 | daper | 2005-12-25 15:55:44 +0100 (Sun, 25 Dec 2005) | 3 lines

Fixed having duplicates on the playlist after using -a.
Fixed paths resolving when using -a.

------------------------------------------------------------------------
r1762 | daper | 2005-12-25 14:48:05 +0100 (Sun, 25 Dec 2005) | 2 lines

-e is an alias for -a.

------------------------------------------------------------------------
r1761 | daper | 2005-12-25 12:02:28 +0100 (Sun, 25 Dec 2005) | 2 lines

Tags cache saved to a file on exit and read at startup.

------------------------------------------------------------------------
r1760 | daper | 2005-12-25 11:09:58 +0100 (Sun, 25 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1759 | daper | 2005-12-25 10:26:59 +0100 (Sun, 25 Dec 2005) | 2 lines

Added a command for adding a URL to the playlist using entry (CTRL-u).

------------------------------------------------------------------------
r1758 | daper | 2005-12-25 10:02:07 +0100 (Sun, 25 Dec 2005) | 2 lines

Fixed exiting from the help screen.

------------------------------------------------------------------------
r1757 | daper | 2005-12-25 09:26:44 +0100 (Sun, 25 Dec 2005) | 2 lines

Added FFmprg information.

------------------------------------------------------------------------
r1756 | daper | 2005-12-24 19:39:37 +0100 (Sat, 24 Dec 2005) | 2 lines

Added seeking (disabled).

------------------------------------------------------------------------
r1755 | daper | 2005-12-24 19:36:55 +0100 (Sat, 24 Dec 2005) | 2 lines

Merged from trunk: Fixed a memory leak when seeking in MPC file.

------------------------------------------------------------------------
r1754 | daper | 2005-12-24 19:36:13 +0100 (Sat, 24 Dec 2005) | 2 lines

Fixed a memory leak when seeking in MPC file.

------------------------------------------------------------------------
r1753 | daper | 2005-12-24 19:05:39 +0100 (Sat, 24 Dec 2005) | 2 lines

Added .ra (RealAudio) to supported file extensions.

------------------------------------------------------------------------
r1752 | daper | 2005-12-24 17:54:52 +0100 (Sat, 24 Dec 2005) | 2 lines

Bitrate and duration support.

------------------------------------------------------------------------
r1751 | daper | 2005-12-24 17:30:04 +0100 (Sat, 24 Dec 2005) | 2 lines

Added comments support.

------------------------------------------------------------------------
r1750 | daper | 2005-12-24 17:17:59 +0100 (Sat, 24 Dec 2005) | 2 lines

Added igore patters.

------------------------------------------------------------------------
r1749 | daper | 2005-12-24 17:15:49 +0100 (Sat, 24 Dec 2005) | 2 lines

Initial FFmpeg decoder code.

------------------------------------------------------------------------
r1748 | daper | 2005-12-24 15:32:29 +0100 (Sat, 24 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1747 | daper | 2005-12-24 14:22:27 +0100 (Sat, 24 Dec 2005) | 2 lines

audio_init() -> audio_initialize() due to conflict with ffmpeg prototypes.

------------------------------------------------------------------------
r1746 | daper | 2005-12-24 14:19:05 +0100 (Sat, 24 Dec 2005) | 2 lines

Reverted the previous change: that was not a solution.

------------------------------------------------------------------------
r1745 | daper | 2005-12-24 14:16:23 +0100 (Sat, 24 Dec 2005) | 3 lines

Removed '#include "audio.h"' from decoder.h due to conflicting prototyped with
ffmpeg.

------------------------------------------------------------------------
r1744 | daper | 2005-12-23 14:41:35 +0100 (Fri, 23 Dec 2005) | 2 lines

Removed an unused function.

------------------------------------------------------------------------
r1743 | daper | 2005-12-23 14:38:18 +0100 (Fri, 23 Dec 2005) | 3 lines

Fixed using national chars that have UCS key codes equal to ncurses KEY_*
definitions.

------------------------------------------------------------------------
r1742 | daper | 2005-12-23 13:28:44 +0100 (Fri, 23 Dec 2005) | 4 lines

More UTF8 work.
Use ncursesw.
Entry text internally in UCS.

------------------------------------------------------------------------
r1741 | daper | 2005-12-23 13:27:11 +0100 (Fri, 23 Dec 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1740 | daper | 2005-12-23 10:24:12 +0100 (Fri, 23 Dec 2005) | 2 lines

Added a cast to silent a warning.

------------------------------------------------------------------------
r1739 | daper | 2005-11-27 09:39:54 +0100 (Sun, 27 Nov 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1738 | daper | 2005-11-12 22:29:33 +0100 (Sat, 12 Nov 2005) | 2 lines

Merged from trunk: Fixed a memory leak when playing internet streams. (rixx)

------------------------------------------------------------------------
r1737 | daper | 2005-11-12 22:28:37 +0100 (Sat, 12 Nov 2005) | 2 lines

Fixed a memory leak when playing internet streams. (rixx)

------------------------------------------------------------------------
r1736 | daper | 2005-10-25 11:33:56 +0200 (Tue, 25 Oct 2005) | 2 lines

Handle 'cancel' in entries.

------------------------------------------------------------------------
r1735 | daper | 2005-10-25 10:58:05 +0200 (Tue, 25 Oct 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1734 | daper | 2005-10-25 10:57:50 +0200 (Tue, 25 Oct 2005) | 2 lines

Read keys using Unicode.

------------------------------------------------------------------------
r1733 | daper | 2005-10-23 12:00:11 +0200 (Sun, 23 Oct 2005) | 2 lines

Display the current time for internet streams.

------------------------------------------------------------------------
r1732 | daper | 2005-10-23 11:25:50 +0200 (Sun, 23 Oct 2005) | 2 lines

Display 0 bitrate if the bitrate information is not available when using -i.

------------------------------------------------------------------------
r1731 | daper | 2005-10-23 11:23:25 +0200 (Sun, 23 Oct 2005) | 2 lines

Fixed -i for Internet streams.

------------------------------------------------------------------------
r1730 | daper | 2005-10-23 11:21:57 +0200 (Sun, 23 Oct 2005) | 2 lines

Don't ask server for tags for URLs.

------------------------------------------------------------------------
r1729 | daper | 2005-10-23 10:46:55 +0200 (Sun, 23 Oct 2005) | 2 lines

Merged from trunk: Workaround for backspace key on many terminals (like aterm).

------------------------------------------------------------------------
r1728 | daper | 2005-10-23 10:45:03 +0200 (Sun, 23 Oct 2005) | 2 lines

Fixed backspace key on many terminals (like aterm).

------------------------------------------------------------------------
r1727 | daper | 2005-10-21 10:31:52 +0200 (Fri, 21 Oct 2005) | 2 lines

Count speex time without scaning the whole file.

------------------------------------------------------------------------
r1726 | daper | 2005-10-19 11:47:54 +0200 (Wed, 19 Oct 2005) | 3 lines

Added FollowPlayedFile option: menu follows the currently played file so that
it is scrolled if the file is outside the visible part (default to yes).

------------------------------------------------------------------------
r1725 | daper | 2005-10-19 10:28:49 +0200 (Wed, 19 Oct 2005) | 2 lines

Strip leading and trailing white characters from URLs entered by user.

------------------------------------------------------------------------
r1724 | daper | 2005-10-19 10:15:22 +0200 (Wed, 19 Oct 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1723 | daper | 2005-10-19 10:14:51 +0200 (Wed, 19 Oct 2005) | 2 lines

When going background, redirest stderr and stdiut to /dev/null.

------------------------------------------------------------------------
r1722 | daper | 2005-10-18 14:06:42 +0200 (Tue, 18 Oct 2005) | 2 lines

Moving items up and down: u and j commands.

------------------------------------------------------------------------
r1721 | daper | 2005-10-16 16:41:28 +0200 (Sun, 16 Oct 2005) | 2 lines

Added darkdot theme. (David Lazar <david_bv|at|yahoo|com>)

------------------------------------------------------------------------
r1720 | daper | 2005-10-14 10:34:08 +0200 (Fri, 14 Oct 2005) | 2 lines

Use interface_fatal() when checking terminal size instead of fatal().

------------------------------------------------------------------------
r1719 | daper | 2005-10-10 15:13:11 +0200 (Mon, 10 Oct 2005) | 2 lines

Fixed A with SyncPlaylist turned off.

------------------------------------------------------------------------
r1718 | daper | 2005-10-10 15:09:55 +0200 (Mon, 10 Oct 2005) | 2 lines

Fixed menu_driver() for empty menu.

------------------------------------------------------------------------
r1717 | daper | 2005-10-09 20:12:29 +0200 (Sun, 09 Oct 2005) | 4 lines

When sending tags, send also the 'filled' information: the client can't guess
which tags are filled, this causes hang if a file can't be read or has no
tags and the client is waiting for specified tags.

------------------------------------------------------------------------
r1716 | daper | 2005-10-08 21:55:13 +0200 (Sat, 08 Oct 2005) | 2 lines

Merged from trunk: Fixed resource leak when reading tags from invalid OGG file.

------------------------------------------------------------------------
r1715 | daper | 2005-10-08 21:54:52 +0200 (Sat, 08 Oct 2005) | 2 lines

Fixed a resource leak when reading tags from invalid OGG file.

------------------------------------------------------------------------
r1714 | daper | 2005-10-08 21:36:35 +0200 (Sat, 08 Oct 2005) | 2 lines

Merged from trunk: Fixed a crash when an mpc file coudn't be read.

------------------------------------------------------------------------
r1713 | daper | 2005-10-08 21:35:50 +0200 (Sat, 08 Oct 2005) | 2 lines

Fixed a crash when an mpc file coudn't be read.

------------------------------------------------------------------------
r1712 | daper | 2005-10-08 17:33:14 +0200 (Sat, 08 Oct 2005) | 2 lines

Initial UTF-8 support. Contains bugs.

------------------------------------------------------------------------
r1711 | daper | 2005-10-08 10:25:41 +0200 (Sat, 08 Oct 2005) | 2 lines

Check if FileNamesIconv has valid format at startup like TagsIconv.

------------------------------------------------------------------------
r1710 | daper | 2005-10-05 11:10:54 +0200 (Wed, 05 Oct 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1709 | daper | 2005-10-04 17:48:12 +0200 (Tue, 04 Oct 2005) | 2 lines

Check if initscr() failed.

------------------------------------------------------------------------
r1708 | daper | 2005-10-04 11:18:56 +0200 (Tue, 04 Oct 2005) | 3 lines

Add 'Press h for the list of commands' to the startup message only if the help
key was not redefined.

------------------------------------------------------------------------
r1707 | daper | 2005-10-04 11:16:44 +0200 (Tue, 04 Oct 2005) | 2 lines

Initialize keymap before the interface: nicer error message.

------------------------------------------------------------------------
r1706 | daper | 2005-10-04 10:04:45 +0200 (Tue, 04 Oct 2005) | 2 lines

2.3.2 release.

------------------------------------------------------------------------
r1705 | daper | 2005-10-04 10:03:24 +0200 (Tue, 04 Oct 2005) | 2 lines

2.4.0-alpha1 release.

------------------------------------------------------------------------
r1704 | daper | 2005-10-04 09:51:33 +0200 (Tue, 04 Oct 2005) | 2 lines

Fixed updating menu items time while searching.

------------------------------------------------------------------------
r1703 | daper | 2005-10-04 09:36:49 +0200 (Tue, 04 Oct 2005) | 3 lines

Fixed setting time for non-existing element. This fixes a crach that occurs
when song changes while we are using the search entry.

------------------------------------------------------------------------
r1702 | daper | 2005-10-03 13:06:35 +0200 (Mon, 03 Oct 2005) | 2 lines

Seeking from command line (--seek).

------------------------------------------------------------------------
r1701 | daper | 2005-10-01 14:33:49 +0200 (Sat, 01 Oct 2005) | 2 lines

Fixed roundig when using percent values in layouts.

------------------------------------------------------------------------
r1700 | daper | 2005-10-01 13:53:04 +0200 (Sat, 01 Oct 2005) | 2 lines

TagsCacheSize matching the default value.

------------------------------------------------------------------------
r1699 | daper | 2005-10-01 13:49:17 +0200 (Sat, 01 Oct 2005) | 2 lines

main.h -> common.h

------------------------------------------------------------------------
r1698 | daper | 2005-10-01 13:08:43 +0200 (Sat, 01 Oct 2005) | 4 lines

Layout of the main window can be changed using Layout[123] options.
Switching between layouts is done using the 'l' key and now to switch between
the playlist and the directory menu TAB is used.

------------------------------------------------------------------------
r1697 | daper | 2005-10-01 13:07:03 +0200 (Sat, 01 Oct 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1696 | daper | 2005-10-01 12:52:55 +0200 (Sat, 01 Oct 2005) | 2 lines

strdup() -> xstrdup()

------------------------------------------------------------------------
r1695 | daper | 2005-10-01 11:40:34 +0200 (Sat, 01 Oct 2005) | 2 lines

Restored the startup message.

------------------------------------------------------------------------
r1694 | daper | 2005-09-30 14:16:24 +0200 (Fri, 30 Sep 2005) | 2 lines

-c clears the server's playlist only it it is the clients' playlist.

------------------------------------------------------------------------
r1693 | daper | 2005-09-30 13:58:19 +0200 (Fri, 30 Sep 2005) | 2 lines

Updated -p -c and -a descriptions.

------------------------------------------------------------------------
r1692 | daper | 2005-09-30 13:55:56 +0200 (Fri, 30 Sep 2005) | 3 lines

Implemented -p. It works with and without running clients operating on the
saved playlist if necessary.

------------------------------------------------------------------------
r1691 | daper | 2005-09-30 12:01:34 +0200 (Fri, 30 Sep 2005) | 3 lines

Added --append command. Works with the saved playlist if there are no other
clients.

------------------------------------------------------------------------
r1690 | daper | 2005-09-30 12:00:31 +0200 (Fri, 30 Sep 2005) | 2 lines

Don't allow to add a file to the playlist it it already contains the file.

------------------------------------------------------------------------
r1689 | daper | 2005-09-30 11:54:19 +0200 (Fri, 30 Sep 2005) | 2 lines

Use free_event_data().

------------------------------------------------------------------------
r1688 | daper | 2005-09-30 11:48:34 +0200 (Fri, 30 Sep 2005) | 2 lines

Made free_event_data() public.

------------------------------------------------------------------------
r1687 | daper | 2005-09-30 11:16:44 +0200 (Fri, 30 Sep 2005) | 2 lines

iface_set_status() works if interface was not initialized.

------------------------------------------------------------------------
r1686 | daper | 2005-09-30 10:38:48 +0200 (Fri, 30 Sep 2005) | 2 lines

iface_error() works if interface was not initialized.

------------------------------------------------------------------------
r1685 | daper | 2005-09-30 10:01:31 +0200 (Fri, 30 Sep 2005) | 3 lines

Added -c command. It now also clears the remembered playlist and doesn't stop
playing.

------------------------------------------------------------------------
r1684 | daper | 2005-09-29 19:44:44 +0200 (Thu, 29 Sep 2005) | 2 lines

Fixed window refreshing after changing an option state.

------------------------------------------------------------------------
r1683 | daper | 2005-09-29 17:10:54 +0200 (Thu, 29 Sep 2005) | 2 lines

Code from main.c.

------------------------------------------------------------------------
r1682 | daper | 2005-09-29 17:10:22 +0200 (Thu, 29 Sep 2005) | 3 lines

Less ocde in main.c, moved to common.c. main.h -> common.h. This will help
testing subsystems outside MOC.

------------------------------------------------------------------------
r1681 | daper | 2005-09-29 17:09:18 +0200 (Thu, 29 Sep 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1680 | daper | 2005-09-29 15:56:06 +0200 (Thu, 29 Sep 2005) | 2 lines

Allow search for directories.(cbass)

------------------------------------------------------------------------
r1679 | daper | 2005-09-29 12:35:29 +0200 (Thu, 29 Sep 2005) | 2 lines

Added --playit.

------------------------------------------------------------------------
r1678 | daper | 2005-09-29 12:27:09 +0200 (Thu, 29 Sep 2005) | 2 lines

Added SilentSeekTime.

------------------------------------------------------------------------
r1677 | daper | 2005-09-29 12:23:02 +0200 (Thu, 29 Sep 2005) | 2 lines

Added silent seeking.

------------------------------------------------------------------------
r1676 | daper | 2005-09-28 20:47:23 +0200 (Wed, 28 Sep 2005) | 2 lines

Keep the help screen position when it's not displayed.

------------------------------------------------------------------------
r1675 | daper | 2005-09-28 17:14:18 +0200 (Wed, 28 Sep 2005) | 2 lines

Fixed saving the playlist.

------------------------------------------------------------------------
r1674 | daper | 2005-09-28 16:29:45 +0200 (Wed, 28 Sep 2005) | 2 lines

Fixed quiting the server.

------------------------------------------------------------------------
r1673 | daper | 2005-09-28 12:34:30 +0200 (Wed, 28 Sep 2005) | 2 lines

Don't ask for tags before adding items to the playlist.

------------------------------------------------------------------------
r1672 | daper | 2005-09-28 12:22:04 +0200 (Wed, 28 Sep 2005) | 2 lines

Removed unnecessary dequeue_events() invokations.

------------------------------------------------------------------------
r1671 | daper | 2005-09-28 12:06:07 +0200 (Wed, 28 Sep 2005) | 2 lines

Optimized adding a file to the playlist.

------------------------------------------------------------------------
r1670 | daper | 2005-09-28 11:47:28 +0200 (Wed, 28 Sep 2005) | 2 lines

Improved performance when updating an items that is not visible on the screen.

------------------------------------------------------------------------
r1669 | daper | 2005-09-28 11:26:18 +0200 (Wed, 28 Sep 2005) | 2 lines

Faster ask_for_tags(): a bit faster switching ReadTags.

------------------------------------------------------------------------
r1668 | daper | 2005-09-28 10:54:34 +0200 (Wed, 28 Sep 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1667 | daper | 2005-09-28 10:54:27 +0200 (Wed, 28 Sep 2005) | 2 lines

Optimized drawin main_window: use werase() instead of slow clear_area().

------------------------------------------------------------------------
r1666 | daper | 2005-09-28 09:56:56 +0200 (Wed, 28 Sep 2005) | 2 lines

Use RB trees for searching. This improved performance.

------------------------------------------------------------------------
r1665 | daper | 2005-09-28 09:26:23 +0200 (Wed, 28 Sep 2005) | 3 lines

Use strcoll() instead of strcmp() when searching. Fixes searching when a file
name contains a national character.

------------------------------------------------------------------------
r1664 | daper | 2005-09-28 08:56:13 +0200 (Wed, 28 Sep 2005) | 2 lines

Added help screen.

------------------------------------------------------------------------
r1663 | daper | 2005-09-27 21:16:09 +0200 (Tue, 27 Sep 2005) | 2 lines

Fixed starting MOC with a directory as an argument.

------------------------------------------------------------------------
r1662 | daper | 2005-09-26 08:53:06 +0200 (Mon, 26 Sep 2005) | 2 lines

Saving playlist.

------------------------------------------------------------------------
r1661 | daper | 2005-09-25 17:04:34 +0200 (Sun, 25 Sep 2005) | 2 lines

Added 2.3.2 changes.

------------------------------------------------------------------------
r1660 | daper | 2005-09-25 17:03:58 +0200 (Sun, 25 Sep 2005) | 2 lines

Added 2.3.2 changes.

------------------------------------------------------------------------
r1659 | daper | 2005-09-25 15:52:02 +0200 (Sun, 25 Sep 2005) | 2 lines

Changed version to 2.3.2.

------------------------------------------------------------------------
r1658 | daper | 2005-09-25 10:07:53 +0200 (Sun, 25 Sep 2005) | 2 lines

Fixed -p description.

------------------------------------------------------------------------
r1657 | daper | 2005-09-25 10:06:53 +0200 (Sun, 25 Sep 2005) | 2 lines

Fixed -p description.

------------------------------------------------------------------------
r1656 | daper | 2005-09-24 22:52:12 +0200 (Sat, 24 Sep 2005) | 3 lines

Fixed segfault when counting files in the menu.


------------------------------------------------------------------------
r1655 | daper | 2005-09-24 22:43:04 +0200 (Sat, 24 Sep 2005) | 3 lines

Display number of files after entering a directory or adding a file to the
playlist.

------------------------------------------------------------------------
r1654 | daper | 2005-09-24 22:36:22 +0200 (Sat, 24 Sep 2005) | 2 lines

plist_count() takes a const argument.

------------------------------------------------------------------------
r1653 | daper | 2005-09-24 18:53:20 +0200 (Sat, 24 Sep 2005) | 2 lines

Implemented --info parameter.

------------------------------------------------------------------------
r1652 | daper | 2005-09-21 14:35:48 +0200 (Wed, 21 Sep 2005) | 2 lines

Added G command.

------------------------------------------------------------------------
r1651 | daper | 2005-09-20 18:46:06 +0200 (Tue, 20 Sep 2005) | 2 lines

Don't add '..' to the playlist when we get the playlist from the server.

------------------------------------------------------------------------
r1650 | daper | 2005-09-20 08:58:52 +0200 (Tue, 20 Sep 2005) | 2 lines

Sort file names using the current locale settings. (breg)

------------------------------------------------------------------------
r1649 | daper | 2005-09-20 08:55:12 +0200 (Tue, 20 Sep 2005) | 2 lines

Sort file names using the current locale settings. (Breg)

------------------------------------------------------------------------
r1648 | daper | 2005-09-18 22:12:54 +0200 (Sun, 18 Sep 2005) | 2 lines

Clear xterm title at exit.

------------------------------------------------------------------------
r1647 | daper | 2005-09-18 21:59:02 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed resizing side menu.

------------------------------------------------------------------------
r1646 | daper | 2005-09-18 21:40:16 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed checking if a file to be added to the playlist is already there.

------------------------------------------------------------------------
r1645 | daper | 2005-09-18 21:37:29 +0200 (Sun, 18 Sep 2005) | 2 lines

After adding a file to the playlist, move down.

------------------------------------------------------------------------
r1644 | daper | 2005-09-18 21:27:39 +0200 (Sun, 18 Sep 2005) | 2 lines

Increased the possible bar's width to 512.

------------------------------------------------------------------------
r1643 | daper | 2005-09-18 20:22:46 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed item aligning.

------------------------------------------------------------------------
r1642 | daper | 2005-09-18 20:15:04 +0200 (Sun, 18 Sep 2005) | 3 lines

Fixed displaying the border.
As an experiment, display the playlist and the directory menu simulaneously.

------------------------------------------------------------------------
r1641 | daper | 2005-09-18 20:11:47 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed displaying a window title longer than the window.

------------------------------------------------------------------------
r1640 | daper | 2005-09-18 18:26:15 +0200 (Sun, 18 Sep 2005) | 2 lines

Added search entry.

------------------------------------------------------------------------
r1639 | daper | 2005-09-18 16:53:49 +0200 (Sun, 18 Sep 2005) | 2 lines

Setting xterm title.

------------------------------------------------------------------------
r1638 | daper | 2005-09-18 16:44:40 +0200 (Sun, 18 Sep 2005) | 2 lines

Added windows titles and frames.

------------------------------------------------------------------------
r1637 | daper | 2005-09-18 14:54:36 +0200 (Sun, 18 Sep 2005) | 3 lines

Fixed getting playlist from the server if we caused that some events were sent
before that.

------------------------------------------------------------------------
r1636 | daper | 2005-09-18 14:40:42 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed resizing empty menu.

------------------------------------------------------------------------
r1635 | daper | 2005-09-18 14:40:29 +0200 (Sun, 18 Sep 2005) | 2 lines

Resize entry when resizing the terminal.

------------------------------------------------------------------------
r1634 | daper | 2005-09-18 14:30:41 +0200 (Sun, 18 Sep 2005) | 2 lines

Fixed reconting items positions after deletion of an item.

------------------------------------------------------------------------
r1633 | daper | 2005-09-18 14:28:09 +0200 (Sun, 18 Sep 2005) | 3 lines

Fixed keeping the selected item in the visible part of the menu after terminal
shrink.

------------------------------------------------------------------------
r1632 | daper | 2005-09-18 13:54:20 +0200 (Sun, 18 Sep 2005) | 2 lines

Numbering items in the playlist.

------------------------------------------------------------------------
r1631 | daper | 2005-09-18 12:43:14 +0200 (Sun, 18 Sep 2005) | 2 lines

Replaced update_item_time() with plist_set_item_time().

------------------------------------------------------------------------
r1630 | daper | 2005-09-18 12:42:49 +0200 (Sun, 18 Sep 2005) | 2 lines

Optimized counting the total playlist (or a directory) time.

------------------------------------------------------------------------
r1629 | daper | 2005-09-18 11:26:59 +0200 (Sun, 18 Sep 2005) | 2 lines

Saving the playlist can be interrupted.

------------------------------------------------------------------------
r1628 | daper | 2005-09-18 10:20:19 +0200 (Sun, 18 Sep 2005) | 2 lines

Added deleting items from the playlist.

------------------------------------------------------------------------
r1627 | daper | 2005-09-17 23:10:21 +0200 (Sat, 17 Sep 2005) | 2 lines

Use linked list instead of a table to store menu items.

------------------------------------------------------------------------
r1626 | daper | 2005-09-17 17:32:33 +0200 (Sat, 17 Sep 2005) | 2 lines

Use full paths instead of just file names for displaying on the playlist.

------------------------------------------------------------------------
r1625 | daper | 2005-09-16 13:38:13 +0200 (Fri, 16 Sep 2005) | 2 lines

Added seeking.

------------------------------------------------------------------------
r1624 | daper | 2005-09-16 13:04:50 +0200 (Fri, 16 Sep 2005) | 2 lines

Added switching ReadTags.

------------------------------------------------------------------------
r1623 | daper | 2005-09-16 12:49:18 +0200 (Fri, 16 Sep 2005) | 2 lines

When saving the playlist, read tags using the server's facility.

------------------------------------------------------------------------
r1622 | daper | 2005-09-16 12:04:33 +0200 (Fri, 16 Sep 2005) | 2 lines

Displaying messages.

------------------------------------------------------------------------
r1621 | daper | 2005-09-16 11:46:41 +0200 (Fri, 16 Sep 2005) | 2 lines

Fixed cursor position in entry while the screen is modified.

------------------------------------------------------------------------
r1620 | daper | 2005-09-16 11:38:13 +0200 (Fri, 16 Sep 2005) | 2 lines

Adde 'go url' entry.

------------------------------------------------------------------------
r1619 | daper | 2005-09-16 11:11:18 +0200 (Fri, 16 Sep 2005) | 2 lines

Added 'go to dir' entry.

------------------------------------------------------------------------
r1618 | daper | 2005-09-15 23:55:51 +0200 (Thu, 15 Sep 2005) | 2 lines

Fixed updating tags for a modified file.

------------------------------------------------------------------------
r1617 | daper | 2005-09-14 08:58:13 +0200 (Wed, 14 Sep 2005) | 2 lines

Fixed time bar when nothing is played.

------------------------------------------------------------------------
r1616 | daper | 2005-09-13 23:14:01 +0200 (Tue, 13 Sep 2005) | 2 lines

Lttle fix.

------------------------------------------------------------------------
r1615 | daper | 2005-09-13 19:57:00 +0200 (Tue, 13 Sep 2005) | 2 lines

Fixed updating tags os an item (segfault).

------------------------------------------------------------------------
r1614 | daper | 2005-09-13 14:31:37 +0200 (Tue, 13 Sep 2005) | 2 lines

Fixed a memory leak when adding an item to a full entry's history.

------------------------------------------------------------------------
r1613 | daper | 2005-09-13 12:18:36 +0200 (Tue, 13 Sep 2005) | 2 lines

Fixed a typo: owerwrite -> overwrite.

------------------------------------------------------------------------
r1612 | daper | 2005-09-11 23:10:36 +0200 (Sun, 11 Sep 2005) | 2 lines

Fixed displaying the bitrate.

------------------------------------------------------------------------
r1611 | daper | 2005-09-11 18:36:49 +0200 (Sun, 11 Sep 2005) | 2 lines

Added command to go to the music directory.

------------------------------------------------------------------------
r1610 | daper | 2005-09-11 18:34:43 +0200 (Sun, 11 Sep 2005) | 2 lines

Fixed menu: no selected element at the beginning.

------------------------------------------------------------------------
r1609 | daper | 2005-09-11 18:33:09 +0200 (Sun, 11 Sep 2005) | 2 lines

Save the playlist (not working) and the last directory at exit.

------------------------------------------------------------------------
r1608 | daper | 2005-09-11 18:28:18 +0200 (Sun, 11 Sep 2005) | 2 lines

Fixed behaviour if a menu is empty.

------------------------------------------------------------------------
r1607 | daper | 2005-09-11 18:22:55 +0200 (Sun, 11 Sep 2005) | 2 lines

Processing command line arguments.

------------------------------------------------------------------------
r1606 | daper | 2005-09-11 17:57:35 +0200 (Sun, 11 Sep 2005) | 2 lines

Some fatal() -> interface_fatal() changes.

------------------------------------------------------------------------
r1605 | daper | 2005-09-11 14:23:16 +0200 (Sun, 11 Sep 2005) | 2 lines

MusicDir can be a playlist.

------------------------------------------------------------------------
r1604 | daper | 2005-09-11 13:40:54 +0200 (Sun, 11 Sep 2005) | 2 lines

Fixed displaying the status message.

------------------------------------------------------------------------
r1603 | daper | 2005-09-11 13:37:59 +0200 (Sun, 11 Sep 2005) | 2 lines

Getting tags for interget streams.

------------------------------------------------------------------------
r1602 | daper | 2005-09-11 13:02:09 +0200 (Sun, 11 Sep 2005) | 2 lines

Handle EV_PLIST_DEL (not working yet).

------------------------------------------------------------------------
r1601 | daper | 2005-09-11 12:36:37 +0200 (Sun, 11 Sep 2005) | 2 lines

Loading playlists.

------------------------------------------------------------------------
r1600 | daper | 2005-09-11 12:36:08 +0200 (Sun, 11 Sep 2005) | 2 lines

Use update_item_time().

------------------------------------------------------------------------
r1599 | daper | 2005-09-11 12:35:37 +0200 (Sun, 11 Sep 2005) | 2 lines

Fixed plist_add() when the file name is NULL.

------------------------------------------------------------------------
r1598 | daper | 2005-09-11 12:13:48 +0200 (Sun, 11 Sep 2005) | 2 lines

Added switching ShowHiddenFiles.

------------------------------------------------------------------------
r1597 | daper | 2005-09-11 12:10:53 +0200 (Sun, 11 Sep 2005) | 2 lines

Handle EV_SEND_PLIST, clearing the playlist.

------------------------------------------------------------------------
r1596 | daper | 2005-09-11 10:29:00 +0200 (Sun, 11 Sep 2005) | 2 lines

Handle EV_STATUS_MSG.

------------------------------------------------------------------------
r1595 | daper | 2005-09-11 10:27:36 +0200 (Sun, 11 Sep 2005) | 2 lines

Hande EV_SRV_ERROR and EV_OPTIONS.

------------------------------------------------------------------------
r1594 | daper | 2005-09-11 10:16:36 +0200 (Sun, 11 Sep 2005) | 2 lines

Updated copyright notice.

------------------------------------------------------------------------
r1593 | daper | 2005-09-11 10:14:59 +0200 (Sun, 11 Sep 2005) | 2 lines

Added menu_get_top().

------------------------------------------------------------------------
r1592 | daper | 2005-09-11 10:00:17 +0200 (Sun, 11 Sep 2005) | 2 lines

Added directory reloading.

------------------------------------------------------------------------
r1591 | daper | 2005-09-10 21:59:21 +0200 (Sat, 10 Sep 2005) | 2 lines

Toggling ShowTime and ShowFormat.

------------------------------------------------------------------------
r1590 | daper | 2005-09-10 21:43:12 +0200 (Sat, 10 Sep 2005) | 2 lines

Added screen refreshing.

------------------------------------------------------------------------
r1589 | daper | 2005-09-10 21:38:31 +0200 (Sat, 10 Sep 2005) | 2 lines

Support for terminal resizing.

------------------------------------------------------------------------
r1588 | daper | 2005-09-10 21:07:24 +0200 (Sat, 10 Sep 2005) | 2 lines

Toggling options: Repeat, AutoNext, Shuffle.

------------------------------------------------------------------------
r1587 | daper | 2005-09-10 21:04:47 +0200 (Sat, 10 Sep 2005) | 2 lines

Displaying error messages.

------------------------------------------------------------------------
r1586 | daper | 2005-09-10 20:59:31 +0200 (Sat, 10 Sep 2005) | 2 lines

Displaying the total time of the file list.

------------------------------------------------------------------------
r1585 | daper | 2005-09-10 18:38:39 +0200 (Sat, 10 Sep 2005) | 2 lines

Made main_win_add_to_plist static.

------------------------------------------------------------------------
r1584 | daper | 2005-09-10 17:47:03 +0200 (Sat, 10 Sep 2005) | 2 lines

Added required include.

------------------------------------------------------------------------
r1583 | daper | 2005-09-10 17:36:35 +0200 (Sat, 10 Sep 2005) | 2 lines

Added some consts.

------------------------------------------------------------------------
r1582 | daper | 2005-09-10 17:24:51 +0200 (Sat, 10 Sep 2005) | 2 lines

Removed unused sync_plists_data().

------------------------------------------------------------------------
r1581 | daper | 2005-09-10 17:20:08 +0200 (Sat, 10 Sep 2005) | 2 lines

Fixed setting number of channels.

------------------------------------------------------------------------
r1580 | daper | 2005-09-10 17:18:53 +0200 (Sat, 10 Sep 2005) | 2 lines

Adding files to the playlist recursively.

------------------------------------------------------------------------
r1579 | daper | 2005-09-10 16:01:44 +0200 (Sat, 10 Sep 2005) | 2 lines

Fixed comment.

------------------------------------------------------------------------
r1578 | daper | 2005-09-10 15:52:22 +0200 (Sat, 10 Sep 2005) | 3 lines

Adding items to the playlist (single files) and switching between the playlist
and the directory view.

------------------------------------------------------------------------
r1577 | daper | 2005-09-10 15:50:57 +0200 (Sat, 10 Sep 2005) | 2 lines

When receiving an item, set the file type.

------------------------------------------------------------------------
r1576 | daper | 2005-09-10 13:33:14 +0200 (Sat, 10 Sep 2005) | 2 lines

Removed playlitst position field from the menu item structure.

------------------------------------------------------------------------
r1575 | daper | 2005-09-10 13:22:22 +0200 (Sat, 10 Sep 2005) | 2 lines

Added some helper functions and skeletons.

------------------------------------------------------------------------
r1574 | daper | 2005-09-10 13:01:01 +0200 (Sat, 10 Sep 2005) | 2 lines

Fixed marking played file.

------------------------------------------------------------------------
r1573 | daper | 2005-09-10 12:49:14 +0200 (Sat, 10 Sep 2005) | 2 lines

Marking played item in the menu.

------------------------------------------------------------------------
r1572 | daper | 2005-09-10 12:37:03 +0200 (Sat, 10 Sep 2005) | 2 lines

Clear the status message after reading a directory.

------------------------------------------------------------------------
r1571 | daper | 2005-09-10 00:09:59 +0200 (Sat, 10 Sep 2005) | 2 lines

Make sure that the events queue is empty before we do select().

------------------------------------------------------------------------
r1570 | daper | 2005-09-10 00:02:02 +0200 (Sat, 10 Sep 2005) | 2 lines

Added changing mixer value.

------------------------------------------------------------------------
r1569 | daper | 2005-09-09 23:57:16 +0200 (Fri, 09 Sep 2005) | 2 lines

Display the mixer value.

------------------------------------------------------------------------
r1568 | daper | 2005-09-09 23:46:08 +0200 (Fri, 09 Sep 2005) | 2 lines

Fixed displaying a bar without a title.

------------------------------------------------------------------------
r1567 | daper | 2005-09-09 23:35:44 +0200 (Fri, 09 Sep 2005) | 2 lines

Draw the status message properly.

------------------------------------------------------------------------
r1566 | daper | 2005-09-09 22:45:18 +0200 (Fri, 09 Sep 2005) | 2 lines

Display [NET] switch.

------------------------------------------------------------------------
r1565 | daper | 2005-09-09 22:32:10 +0200 (Fri, 09 Sep 2005) | 2 lines

Don't display old information about the file if nothing is played.

------------------------------------------------------------------------
r1564 | daper | 2005-09-09 22:27:06 +0200 (Fri, 09 Sep 2005) | 2 lines

Displaying state of the options repeat, next, shuffle and the stereo switch.

------------------------------------------------------------------------
r1563 | daper | 2005-09-09 20:01:08 +0200 (Fri, 09 Sep 2005) | 3 lines

Added commands: quit, stop, next, previous, pause, go up, fast dirs,
toggle mixer. Handling wrong commands.

------------------------------------------------------------------------
r1562 | daper | 2005-09-09 18:08:43 +0200 (Fri, 09 Sep 2005) | 2 lines

Handle events about bitrate, rate and number of channels.

------------------------------------------------------------------------
r1561 | daper | 2005-09-09 18:06:55 +0200 (Fri, 09 Sep 2005) | 2 lines

Fixed displaying bitrate and rate if the information is not available.

------------------------------------------------------------------------
r1560 | daper | 2005-09-09 18:03:29 +0200 (Fri, 09 Sep 2005) | 2 lines

Fixed screen refreshing.

------------------------------------------------------------------------
r1559 | daper | 2005-09-09 17:27:09 +0200 (Fri, 09 Sep 2005) | 3 lines

Display bitrate and rate.
Skeleton for number of channels.

------------------------------------------------------------------------
r1558 | daper | 2005-09-09 10:20:26 +0200 (Fri, 09 Sep 2005) | 2 lines

Merged from trunk: Send EV_BITRATE only if needed (once a second).

------------------------------------------------------------------------
r1557 | daper | 2005-09-08 21:21:40 +0200 (Thu, 08 Sep 2005) | 3 lines

Flush events even if client don't want events. This is a proper way to send
an event with tags as a response to the request.

------------------------------------------------------------------------
r1556 | daper | 2005-09-08 21:19:25 +0200 (Thu, 08 Sep 2005) | 3 lines

Get the state at startup.
Added some debug code.

------------------------------------------------------------------------
r1555 | daper | 2005-09-08 19:58:27 +0200 (Thu, 08 Sep 2005) | 2 lines

Send EV_BITRATE only if needed (once a second).

------------------------------------------------------------------------
r1554 | daper | 2005-09-08 18:57:19 +0200 (Thu, 08 Sep 2005) | 2 lines

Displaying total time and time left.

------------------------------------------------------------------------
r1553 | daper | 2005-09-08 18:49:37 +0200 (Thu, 08 Sep 2005) | 3 lines

Displaying the played file's title.
Timeout for the message works.

------------------------------------------------------------------------
r1552 | daper | 2005-09-08 14:48:51 +0200 (Thu, 08 Sep 2005) | 2 lines

Added setting total time of the current file and the time bar.

------------------------------------------------------------------------
r1551 | daper | 2005-09-08 14:25:20 +0200 (Thu, 08 Sep 2005) | 2 lines

Handle EV_CTIME and partly EV_STATE.

------------------------------------------------------------------------
r1550 | daper | 2005-09-07 22:35:20 +0200 (Wed, 07 Sep 2005) | 2 lines

Implemented playing files.

------------------------------------------------------------------------
r1549 | daper | 2005-09-07 21:45:27 +0200 (Wed, 07 Sep 2005) | 2 lines

Send requests for tags after sorting the playlist.

------------------------------------------------------------------------
r1548 | daper | 2005-09-07 21:42:48 +0200 (Wed, 07 Sep 2005) | 3 lines

Fixed menu_setcurritem() if the selected item is one item below the visible
part of the menu.

------------------------------------------------------------------------
r1547 | daper | 2005-09-07 21:34:03 +0200 (Wed, 07 Sep 2005) | 2 lines

Reading tags using CMD_GET_FILE_TAGS.

------------------------------------------------------------------------
r1546 | daper | 2005-09-07 21:33:16 +0200 (Wed, 07 Sep 2005) | 2 lines

Added menu_find().

------------------------------------------------------------------------
r1545 | daper | 2005-09-07 21:32:08 +0200 (Wed, 07 Sep 2005) | 2 lines

Made make_(file|tags)_title() public.

------------------------------------------------------------------------
r1544 | daper | 2005-09-07 19:36:04 +0200 (Wed, 07 Sep 2005) | 2 lines

Added free_tag_ev_data().

------------------------------------------------------------------------
r1543 | daper | 2005-09-07 18:34:57 +0200 (Wed, 07 Sep 2005) | 2 lines

plist_get_file() takes const arguments.

------------------------------------------------------------------------
r1542 | daper | 2005-09-07 18:30:30 +0200 (Wed, 07 Sep 2005) | 2 lines

When going up to a directory, set the current item to the previous directory.

------------------------------------------------------------------------
r1541 | daper | 2005-09-07 18:18:32 +0200 (Wed, 07 Sep 2005) | 2 lines

Browsing directories.

------------------------------------------------------------------------
r1540 | daper | 2005-09-07 18:16:47 +0200 (Wed, 07 Sep 2005) | 2 lines

Avoid printing unneeded spaces.

------------------------------------------------------------------------
r1539 | daper | 2005-09-07 18:00:19 +0200 (Wed, 07 Sep 2005) | 2 lines

menu_item_get_file() returns malloc()ed memory.

------------------------------------------------------------------------
r1538 | daper | 2005-09-07 15:45:25 +0200 (Wed, 07 Sep 2005) | 7 lines

Begining of the interface code redesign:
- Moved interface primitives (windows, bars, etc.) into a separate file.
- Each priimitive has it's own structure and a set of functions.
- Get rid of chaos in interface.c code.

The interface is currently not usable.

------------------------------------------------------------------------
r1537 | daper | 2005-09-07 15:40:20 +0200 (Wed, 07 Sep 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1536 | daper | 2005-09-03 21:40:04 +0200 (Sat, 03 Sep 2005) | 2 lines

Fixed a typo in a debug message.

------------------------------------------------------------------------
r1535 | daper | 2005-09-03 08:53:46 +0200 (Sat, 03 Sep 2005) | 2 lines

Added red_theme (yyz).

------------------------------------------------------------------------
r1534 | daper | 2005-09-02 15:52:57 +0200 (Fri, 02 Sep 2005) | 3 lines

Merged from trunk: Fixed bahaviour when one or both OSS mixer channels are not
available.

------------------------------------------------------------------------
r1533 | daper | 2005-09-02 15:52:25 +0200 (Fri, 02 Sep 2005) | 2 lines

Fixed bahaviour when one or both OSS mixer channels are not available.

------------------------------------------------------------------------
r1532 | daper | 2005-08-30 22:15:56 +0200 (Tue, 30 Aug 2005) | 2 lines

Merged from trunk: moved the man page to section 1.

------------------------------------------------------------------------
r1531 | daper | 2005-08-28 18:55:12 +0200 (Sun, 28 Aug 2005) | 2 lines

Merged from trunk: Fixed mutex initialization in io objects.

------------------------------------------------------------------------
r1530 | daper | 2005-08-28 18:53:05 +0200 (Sun, 28 Aug 2005) | 2 lines

Merged from trunk: Fixed detecting taglib 1.4.

------------------------------------------------------------------------
r1529 | daper | 2005-08-28 18:29:52 +0200 (Sun, 28 Aug 2005) | 2 lines

Fixed detecting taglib 1.4.

------------------------------------------------------------------------
r1528 | daper | 2005-08-27 14:13:42 +0200 (Sat, 27 Aug 2005) | 2 lines

Fixed mutex initialization in io objects.

------------------------------------------------------------------------
r1527 | daper | 2005-08-23 22:47:22 +0200 (Tue, 23 Aug 2005) | 2 lines

Added moca_theme.

------------------------------------------------------------------------
r1526 | daper | 2005-08-19 11:06:15 +0200 (Fri, 19 Aug 2005) | 1 line

Updated
------------------------------------------------------------------------
r1525 | daper | 2005-08-16 22:53:56 +0200 (Tue, 16 Aug 2005) | 3 lines

Merged from trunk: Fixed a crash when using the playlist with ReadTags turned
off.

------------------------------------------------------------------------
r1524 | daper | 2005-08-16 22:53:22 +0200 (Tue, 16 Aug 2005) | 2 lines

Fixed a crash when using the playlist with ReadTags turned off.

------------------------------------------------------------------------
r1523 | daper | 2005-08-16 17:30:50 +0200 (Tue, 16 Aug 2005) | 2 lines

2.3.1 relesase.

------------------------------------------------------------------------
r1522 | daper | 2005-08-16 17:28:03 +0200 (Tue, 16 Aug 2005) | 2 lines

Optimized 24bit->16bit conversion. Helps playing mp3 on handheld without FPU.

------------------------------------------------------------------------
r1521 | daper | 2005-08-16 17:26:50 +0200 (Tue, 16 Aug 2005) | 2 lines

Optimized 24bit->16bit conversion. Helps playing mp3 on handheld without FPU.

------------------------------------------------------------------------
r1520 | daper | 2005-08-09 22:30:32 +0200 (Tue, 09 Aug 2005) | 2 lines

Merged from trunk: Fixed a typo.

------------------------------------------------------------------------
r1519 | daper | 2005-08-09 22:29:54 +0200 (Tue, 09 Aug 2005) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r1518 | daper | 2005-08-04 15:04:09 +0200 (Thu, 04 Aug 2005) | 2 lines

Changed the section to 1.

------------------------------------------------------------------------
r1517 | daper | 2005-08-04 15:03:52 +0200 (Thu, 04 Aug 2005) | 2 lines

Moved the man page to the section 1.

------------------------------------------------------------------------
r1516 | daper | 2005-08-02 11:37:05 +0200 (Tue, 02 Aug 2005) | 2 lines

Added 2.3.1 changes.

------------------------------------------------------------------------
r1515 | daper | 2005-08-02 11:36:02 +0200 (Tue, 02 Aug 2005) | 2 lines

Added 2.3.1 changes.

------------------------------------------------------------------------
r1514 | daper | 2005-08-02 11:29:44 +0200 (Tue, 02 Aug 2005) | 2 lines

Added 2 people.

------------------------------------------------------------------------
r1513 | daper | 2005-08-02 11:28:11 +0200 (Tue, 02 Aug 2005) | 2 lines

Added 2 people.

------------------------------------------------------------------------
r1512 | daper | 2005-08-02 11:27:50 +0200 (Tue, 02 Aug 2005) | 1 line

Updated
------------------------------------------------------------------------
r1511 | daper | 2005-08-02 11:24:23 +0200 (Tue, 02 Aug 2005) | 2 lines

Show stream URL instead of nothing if the title is not available.

------------------------------------------------------------------------
r1510 | daper | 2005-08-01 22:30:15 +0200 (Mon, 01 Aug 2005) | 2 lines

Changed version to 2.3.1.

------------------------------------------------------------------------
r1509 | daper | 2005-07-29 14:37:13 +0200 (Fri, 29 Jul 2005) | 3 lines

Fixed counting time after file open error which shows up on FreeBSD.
Thanks to Pav Lucistnik for the help with this and the previous FreeBSD bug.

------------------------------------------------------------------------
r1508 | daper | 2005-07-29 14:36:22 +0200 (Fri, 29 Jul 2005) | 3 lines

Fixed counting time after file open error which shows up on FreeBSD.
Thanks to Pav Lucistnik for the help with this and the previous FreeBSD bug.

------------------------------------------------------------------------
r1507 | daper | 2005-07-29 13:51:23 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from trunk:
Fixed mutexes initialization when opening a file failed. This caused a hang.

------------------------------------------------------------------------
r1506 | daper | 2005-07-29 13:50:55 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed mutexes initialization when opening a file failed. This caused a hang.

------------------------------------------------------------------------
r1505 | daper | 2005-07-29 13:24:53 +0200 (Fri, 29 Jul 2005) | 2 lines

Merged from trunk: Removed erroneous border entry.

------------------------------------------------------------------------
r1504 | daper | 2005-07-29 13:24:01 +0200 (Fri, 29 Jul 2005) | 2 lines

Removed erroneous border entry.

------------------------------------------------------------------------
r1503 | daper | 2005-07-29 11:27:15 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed code syntax. Taken from the FreeBSD port.

------------------------------------------------------------------------
r1502 | daper | 2005-07-29 11:24:43 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from trunk:
Fixed includes for integer types.

------------------------------------------------------------------------
r1501 | daper | 2005-07-29 11:24:25 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed includes for integer types.

------------------------------------------------------------------------
r1500 | daper | 2005-07-29 11:22:52 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from truk:
Fixed includes for integer types.

------------------------------------------------------------------------
r1499 | daper | 2005-07-29 11:22:28 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed includes for integer types.

------------------------------------------------------------------------
r1498 | daper | 2005-07-29 11:11:29 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from trunk:
Added missing '#include <strings.h>'

------------------------------------------------------------------------
r1497 | daper | 2005-07-29 11:10:14 +0200 (Fri, 29 Jul 2005) | 2 lines

Added missing '#include <strings.h>'

------------------------------------------------------------------------
r1496 | daper | 2005-07-29 10:57:38 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from trunk:
Fixed the syntax (not a proper C code). Taken from the FreeBSD port.

------------------------------------------------------------------------
r1495 | daper | 2005-07-29 10:50:24 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed the syntax (not a proper C code). Taken from the FreeBSD port.

------------------------------------------------------------------------
r1494 | daper | 2005-07-29 10:46:48 +0200 (Fri, 29 Jul 2005) | 3 lines

Merged from trunk:
Fixed includes for maximum and minimum values of intiger types.

------------------------------------------------------------------------
r1493 | daper | 2005-07-29 10:45:56 +0200 (Fri, 29 Jul 2005) | 2 lines

Fixed includes for maximum and minimum values of intiger types.

------------------------------------------------------------------------
r1492 | daper | 2005-07-26 20:06:17 +0200 (Tue, 26 Jul 2005) | 4 lines

Merged from trunk:
Fixed a crash which shows up on FreeBSD 5.4 after playing a file. Thanks to
Joseph Dunn for help.

------------------------------------------------------------------------
r1491 | daper | 2005-07-26 20:06:03 +0200 (Tue, 26 Jul 2005) | 3 lines

Fixed a crash which shows up on FreeBSD 5.4 after playing a file. Thanks to
Joseph Dunn for help.

------------------------------------------------------------------------
r1490 | daper | 2005-07-23 19:01:26 +0200 (Sat, 23 Jul 2005) | 4 lines

Merged from trunk:
Fixed crash when nothing was decoded (appears when holding enter on some mp3
file).

------------------------------------------------------------------------
r1489 | daper | 2005-07-23 19:00:45 +0200 (Sat, 23 Jul 2005) | 3 lines

Fixed crash when nothing was decoded (appears when holding enter on some mp3
file).

------------------------------------------------------------------------
r1488 | daper | 2005-07-22 21:22:59 +0200 (Fri, 22 Jul 2005) | 2 lines

Merged from trunk: Fixed crash when the alsa mixer couldn't be opened.

------------------------------------------------------------------------
r1487 | daper | 2005-07-22 20:19:30 +0200 (Fri, 22 Jul 2005) | 2 lines

Fixed compile error.

------------------------------------------------------------------------
r1486 | daper | 2005-07-22 20:18:51 +0200 (Fri, 22 Jul 2005) | 2 lines

Fixed crash when the alsa mixer couldn't be opened.

------------------------------------------------------------------------
r1485 | daper | 2005-07-18 22:22:37 +0200 (Mon, 18 Jul 2005) | 3 lines

Merged from trunk:
Fixed gcc4 warnings about signedness.

------------------------------------------------------------------------
r1484 | daper | 2005-07-18 22:21:19 +0200 (Mon, 18 Jul 2005) | 2 lines

Fixed gcc4 warning about signedness.

------------------------------------------------------------------------
r1483 | daper | 2005-07-18 21:36:39 +0200 (Mon, 18 Jul 2005) | 4 lines

Merged from trunk:
Fixed handling mixer events: don't try to handle an event if there wasn't one.
This fixes a crash in some situations.

------------------------------------------------------------------------
r1482 | daper | 2005-07-18 21:35:47 +0200 (Mon, 18 Jul 2005) | 3 lines

Fixed handling mixer events: don't try to handle an event if there wasn't one.
This fixes a crash in some situations.

------------------------------------------------------------------------
r1481 | daper | 2005-07-14 20:53:24 +0200 (Thu, 14 Jul 2005) | 2 lines

Merged from 2.3: Fixed handling a mixer channel that has no playback volume.

------------------------------------------------------------------------
r1480 | daper | 2005-07-14 20:49:31 +0200 (Thu, 14 Jul 2005) | 2 lines

Fixed handling a mixer channel that has no playback volume.

------------------------------------------------------------------------
r1479 | daper | 2005-07-11 12:48:45 +0200 (Mon, 11 Jul 2005) | 6 lines

Merged from trunk:

Fixed detecting MPEG stream by the content: it seems that a Shoutcast server can
broadcast from the middle of a frame thus not allowing to recognize the stream
by a few bytes from the beginning.

------------------------------------------------------------------------
r1478 | daper | 2005-07-11 12:47:15 +0200 (Mon, 11 Jul 2005) | 4 lines

Fixed detecting MPEG stream by the content: it seems that a Shoutcast server can
broadcast from the middle of a frame thus not allowing to recognize the stream
by a few bytes from the beginning.

------------------------------------------------------------------------
r1477 | daper | 2005-07-10 23:06:25 +0200 (Sun, 10 Jul 2005) | 2 lines

2.3.0 release.

------------------------------------------------------------------------
r1476 | daper | 2005-07-10 17:09:32 +0200 (Sun, 10 Jul 2005) | 2 lines

Merged from trunk: Fixed Speex on big-endian machines.

------------------------------------------------------------------------
r1475 | daper | 2005-07-10 17:09:04 +0200 (Sun, 10 Jul 2005) | 2 lines

Fixed Speex on big-endian machines.

------------------------------------------------------------------------
r1474 | daper | 2005-07-09 21:10:39 +0200 (Sat, 09 Jul 2005) | 2 lines

Added 2.3.0 changes.

------------------------------------------------------------------------
r1473 | daper | 2005-07-09 21:10:00 +0200 (Sat, 09 Jul 2005) | 2 lines

Added 2.3.0 changes. Changed version to 2.3.0.

------------------------------------------------------------------------
r1472 | daper | 2005-07-07 09:18:00 +0200 (Thu, 07 Jul 2005) | 2 lines

Merged from 2.3: Fixed detecting file open errors.

------------------------------------------------------------------------
r1471 | daper | 2005-07-07 09:17:19 +0200 (Thu, 07 Jul 2005) | 2 lines

Fixed detecting file open errors.

------------------------------------------------------------------------
r1470 | daper | 2005-07-03 11:29:32 +0200 (Sun, 03 Jul 2005) | 2 lines

Updated.

------------------------------------------------------------------------
r1469 | daper | 2005-07-03 11:28:43 +0200 (Sun, 03 Jul 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1468 | daper | 2005-07-03 11:27:59 +0200 (Sun, 03 Jul 2005) | 3 lines

Merged from trunk: Don't issue a fatal error if one or both mixer channels are
not available.

------------------------------------------------------------------------
r1467 | daper | 2005-07-03 11:27:39 +0200 (Sun, 03 Jul 2005) | 2 lines

Don't issue a fatal error if one or both mixer channels are not available.

------------------------------------------------------------------------
r1466 | daper | 2005-07-03 11:15:57 +0200 (Sun, 03 Jul 2005) | 2 lines

Merged from trunk: Fixed backspace key in the search entry.

------------------------------------------------------------------------
r1465 | daper | 2005-07-03 11:15:24 +0200 (Sun, 03 Jul 2005) | 2 lines

Fixed backspace key in the search entry.

------------------------------------------------------------------------
r1464 | daper | 2005-06-23 23:22:28 +0200 (Thu, 23 Jun 2005) | 2 lines

Updated.

------------------------------------------------------------------------
r1463 | daper | 2005-06-23 23:21:38 +0200 (Thu, 23 Jun 2005) | 2 lines

2.3.0-beta2 release.

------------------------------------------------------------------------
r1462 | daper | 2005-06-23 23:21:04 +0200 (Thu, 23 Jun 2005) | 2 lines

Changed version to 2.3.0-beta2.

------------------------------------------------------------------------
r1461 | daper | 2005-06-23 10:31:35 +0200 (Thu, 23 Jun 2005) | 2 lines

2.3.0-beta1 release.

------------------------------------------------------------------------
r1460 | daper | 2005-06-23 10:28:55 +0200 (Thu, 23 Jun 2005) | 4 lines

Added server commands to get tags for a file. Tags are read in a separate
thredad and are returned when available as an event, so a request for tags
does not block. At the servrer side tags are stored in the cache.

------------------------------------------------------------------------
r1459 | daper | 2005-06-20 10:17:58 +0200 (Mon, 20 Jun 2005) | 2 lines

abort() if we try to insert a key that is already present in the tree.

------------------------------------------------------------------------
r1458 | daper | 2005-06-19 21:55:25 +0200 (Sun, 19 Jun 2005) | 2 lines

Merged from trunk: Fixed passing URL on command line.

------------------------------------------------------------------------
r1457 | daper | 2005-06-19 21:54:58 +0200 (Sun, 19 Jun 2005) | 2 lines

Fixed passing URL on command line.

------------------------------------------------------------------------
r1456 | daper | 2005-06-19 18:50:14 +0200 (Sun, 19 Jun 2005) | 2 lines

Merged from trunk: Fixed crash when the search menu is empty and we press enter.

------------------------------------------------------------------------
r1455 | daper | 2005-06-19 18:49:37 +0200 (Sun, 19 Jun 2005) | 2 lines

Fixed crash when the search menu is empty and we press enter.

------------------------------------------------------------------------
r1454 | daper | 2005-06-19 18:36:16 +0200 (Sun, 19 Jun 2005) | 2 lines

Better code for making packets of data to send.

------------------------------------------------------------------------
r1453 | daper | 2005-06-19 17:55:11 +0200 (Sun, 19 Jun 2005) | 2 lines

Fixed possible races and memory leaks when operating on event queues.

------------------------------------------------------------------------
r1452 | daper | 2005-06-19 13:52:04 +0200 (Sun, 19 Jun 2005) | 2 lines

Include stdio.h needed for definition of FILE type.

------------------------------------------------------------------------
r1451 | daper | 2005-06-19 13:37:17 +0200 (Sun, 19 Jun 2005) | 2 lines

Include config.h.

------------------------------------------------------------------------
r1450 | daper | 2005-06-19 13:35:35 +0200 (Sun, 19 Jun 2005) | 2 lines

Merged from trunk: Refuse to run if a mixer channel is wrong.

------------------------------------------------------------------------
r1449 | daper | 2005-06-19 13:35:13 +0200 (Sun, 19 Jun 2005) | 2 lines

Refuse to run if a mixer channel is wrong.

------------------------------------------------------------------------
r1448 | daper | 2005-06-19 13:32:33 +0200 (Sun, 19 Jun 2005) | 2 lines

Removed old TODO entry.

------------------------------------------------------------------------
r1447 | daper | 2005-06-19 13:32:03 +0200 (Sun, 19 Jun 2005) | 2 lines

Separated red-black trees code from the playlist code.

------------------------------------------------------------------------
r1446 | daper | 2005-06-19 11:21:53 +0200 (Sun, 19 Jun 2005) | 3 lines

Merged from trunk: Added --playit option (play files given on the command line
without modifing the playlist).

------------------------------------------------------------------------
r1445 | daper | 2005-06-19 11:21:10 +0200 (Sun, 19 Jun 2005) | 3 lines

Added --playit option (play files given on the command line without modifing
the playlist).

------------------------------------------------------------------------
r1444 | daper | 2005-06-18 20:20:14 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Added UseRealtimePriority (default no) option: set realtime
priority for output buffer thread.

------------------------------------------------------------------------
r1443 | daper | 2005-06-18 20:19:30 +0200 (Sat, 18 Jun 2005) | 3 lines

Added UseRealtimePriority (default no) option: set realtime priority for output
buffer thread.

------------------------------------------------------------------------
r1442 | daper | 2005-06-18 19:56:36 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Changed AlsaMixer2 from MASTER to Master (this is case
sensitive and the old version didn't work).

------------------------------------------------------------------------
r1441 | daper | 2005-06-18 19:55:58 +0200 (Sat, 18 Jun 2005) | 3 lines

Changed AlsaMixer2 from MASTER to Master (this is case sensitive and the old
version didn't work).

------------------------------------------------------------------------
r1440 | daper | 2005-06-18 17:29:03 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Fixed plist_cat(): don't add deleted items. This fixes
playing from shuffled playlist after deleting and adding files.

------------------------------------------------------------------------
r1439 | daper | 2005-06-18 17:28:31 +0200 (Sat, 18 Jun 2005) | 3 lines

Fixed plist_cat(): don't add deleted items. This fixes playing from shuffled
playlist after deleting and adding files.

------------------------------------------------------------------------
r1438 | daper | 2005-06-18 17:22:30 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Don't add items to the server playlist if it already
has them.

------------------------------------------------------------------------
r1437 | daper | 2005-06-18 17:21:25 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Fixed getting the played file's name when we use shuffled
playlist and we add a file.

------------------------------------------------------------------------
r1436 | daper | 2005-06-18 17:19:55 +0200 (Sat, 18 Jun 2005) | 2 lines

Don't add items to the server playlist if it already has them.

------------------------------------------------------------------------
r1435 | daper | 2005-06-18 16:53:00 +0200 (Sat, 18 Jun 2005) | 3 lines

Fixed getting the played file's name when we use shuffled playlist and we
add a file.

------------------------------------------------------------------------
r1434 | daper | 2005-06-18 13:00:11 +0200 (Sat, 18 Jun 2005) | 3 lines

Merged from trunk: Fixed operations on rb-trees (inserting, deleting, memleak).
This fixes shuffle.

------------------------------------------------------------------------
r1433 | daper | 2005-06-18 12:49:46 +0200 (Sat, 18 Jun 2005) | 3 lines

Fixed operations on rb-trees (inserting, deleting, memleak). This fixes
shuffle.

------------------------------------------------------------------------
r1432 | daper | 2005-06-17 21:28:43 +0200 (Fri, 17 Jun 2005) | 3 lines

Merged from trunk: Fixed memory in iconv_str() when iconv() is not available.
(breg)

------------------------------------------------------------------------
r1431 | daper | 2005-06-17 21:21:54 +0200 (Fri, 17 Jun 2005) | 2 lines

Simplified iconv_str() in case without iconv().

------------------------------------------------------------------------
r1430 | daper | 2005-06-17 21:03:35 +0200 (Fri, 17 Jun 2005) | 2 lines

Fixed memory leak in iconv_str() when we don't have iconv(). (breg)

------------------------------------------------------------------------
r1429 | daper | 2005-06-17 20:14:41 +0200 (Fri, 17 Jun 2005) | 2 lines

Merged from trunk: Fixed iconv() conversion for played title.

------------------------------------------------------------------------
r1428 | daper | 2005-06-17 20:14:04 +0200 (Fri, 17 Jun 2005) | 2 lines

Fixed iconv() conversion for played title.

------------------------------------------------------------------------
r1427 | daper | 2005-06-17 20:10:46 +0200 (Fri, 17 Jun 2005) | 3 lines

Merged from trunk: Use locale settings (LC_CTYPE). This fixes using national
chars in the search entry.

------------------------------------------------------------------------
r1426 | daper | 2005-06-17 20:10:06 +0200 (Fri, 17 Jun 2005) | 2 lines

Check for locale.h.

------------------------------------------------------------------------
r1425 | daper | 2005-06-17 20:09:33 +0200 (Fri, 17 Jun 2005) | 3 lines

Use locale settings (LC_CTYPE). This fixes using national chars in the search
entry.

------------------------------------------------------------------------
r1424 | daper | 2005-06-17 19:50:54 +0200 (Fri, 17 Jun 2005) | 3 lines

Merged from trunk: iconv() conversion applied only for displayed strings, but
titles are hold with original charset. This fixes saving/loading playlists.

------------------------------------------------------------------------
r1423 | daper | 2005-06-17 19:49:22 +0200 (Fri, 17 Jun 2005) | 3 lines

iconv() conversion applied only for displayed strings, but titles are hold with
original charset. This fixes saving/loading playlists.

------------------------------------------------------------------------
r1422 | daper | 2005-06-16 23:27:51 +0200 (Thu, 16 Jun 2005) | 2 lines

Merged from trunk: Made rb_update_position() static.

------------------------------------------------------------------------
r1421 | daper | 2005-06-16 23:27:06 +0200 (Thu, 16 Jun 2005) | 2 lines

Made rb_update_position() static.

------------------------------------------------------------------------
r1420 | daper | 2005-06-15 19:49:42 +0200 (Wed, 15 Jun 2005) | 2 lines

Merged from trunk: Fixed destroying bitrate list when precacheing.

------------------------------------------------------------------------
r1419 | daper | 2005-06-15 19:48:42 +0200 (Wed, 15 Jun 2005) | 2 lines

Fixed destroying bitrate list when precacheing.

------------------------------------------------------------------------
r1418 | daper | 2005-06-15 19:05:30 +0200 (Wed, 15 Jun 2005) | 2 lines

Merged from trunk: Added Doxygen additional pages.

------------------------------------------------------------------------
r1417 | daper | 2005-06-15 19:05:15 +0200 (Wed, 15 Jun 2005) | 2 lines

Changed version to 2.3.0-beta1.

------------------------------------------------------------------------
r1416 | daper | 2005-06-15 19:04:10 +0200 (Wed, 15 Jun 2005) | 2 lines

Added Doxygen additional pages.

------------------------------------------------------------------------
r1415 | daper | 2005-06-15 18:55:59 +0200 (Wed, 15 Jun 2005) | 2 lines

Created 2.3 branch.

------------------------------------------------------------------------
r1414 | daper | 2005-06-15 18:54:46 +0200 (Wed, 15 Jun 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1413 | daper | 2005-06-15 18:54:09 +0200 (Wed, 15 Jun 2005) | 3 lines

Fixed appending items to the playlist using command line if other options
beside -a were used (like -p).

------------------------------------------------------------------------
r1412 | daper | 2005-06-15 16:27:45 +0200 (Wed, 15 Jun 2005) | 2 lines

OGG -> Ogg

------------------------------------------------------------------------
r1411 | daper | 2005-06-15 15:39:02 +0200 (Wed, 15 Jun 2005) | 2 lines

Checking for tag_c.h

------------------------------------------------------------------------
r1410 | daper | 2005-06-15 15:37:04 +0200 (Wed, 15 Jun 2005) | 2 lines

Added ignore patterns.

------------------------------------------------------------------------
r1409 | daper | 2005-06-15 08:04:58 +0200 (Wed, 15 Jun 2005) | 2 lines

Added support for musepack (mpc).

------------------------------------------------------------------------
r1408 | daper | 2005-06-14 22:04:37 +0200 (Tue, 14 Jun 2005) | 2 lines

Fixed unbuffered read on EOF.

------------------------------------------------------------------------
r1407 | daper | 2005-06-14 20:08:11 +0200 (Tue, 14 Jun 2005) | 2 lines

Fixed adding Jack libraries.

------------------------------------------------------------------------
r1406 | daper | 2005-06-14 19:35:57 +0200 (Tue, 14 Jun 2005) | 2 lines

Fixed documentation.

------------------------------------------------------------------------
r1405 | daper | 2005-06-14 13:45:32 +0200 (Tue, 14 Jun 2005) | 2 lines

Added io_seekable().

------------------------------------------------------------------------
r1404 | daper | 2005-06-14 12:02:02 +0200 (Tue, 14 Jun 2005) | 2 lines

Added information about Speex.

------------------------------------------------------------------------
r1403 | daper | 2005-06-14 11:51:08 +0200 (Tue, 14 Jun 2005) | 2 lines

Fixed documentation.

------------------------------------------------------------------------
r1402 | daper | 2005-06-13 22:44:57 +0200 (Mon, 13 Jun 2005) | 2 lines

Fixed io_eof() when the io_abort() was used.

------------------------------------------------------------------------
r1401 | daper | 2005-06-13 21:59:01 +0200 (Mon, 13 Jun 2005) | 2 lines

Fixed debug code.

------------------------------------------------------------------------
r1400 | daper | 2005-06-13 21:55:29 +0200 (Mon, 13 Jun 2005) | 2 lines

Added seeking.

------------------------------------------------------------------------
r1399 | daper | 2005-06-13 21:35:52 +0200 (Mon, 13 Jun 2005) | 2 lines

Fixed a warning for libspeex 1.1.x

------------------------------------------------------------------------
r1398 | daper | 2005-06-13 17:42:31 +0200 (Mon, 13 Jun 2005) | 2 lines

Removed a TODO entry.

------------------------------------------------------------------------
r1397 | daper | 2005-06-13 17:20:37 +0200 (Mon, 13 Jun 2005) | 2 lines

Fixed io_eof() for unbuffered streams.

------------------------------------------------------------------------
r1396 | daper | 2005-06-13 09:47:38 +0200 (Mon, 13 Jun 2005) | 2 lines

Removed unused code.

------------------------------------------------------------------------
r1395 | daper | 2005-06-12 21:49:17 +0200 (Sun, 12 Jun 2005) | 3 lines

Show bitrate in the right time - the value corresponds to what you can hear, not
the position that the decoder is at.

------------------------------------------------------------------------
r1394 | daper | 2005-06-12 18:16:04 +0200 (Sun, 12 Jun 2005) | 2 lines

FIxed "mocp directory" behaviour.

------------------------------------------------------------------------
r1393 | daper | 2005-06-12 18:14:13 +0200 (Sun, 12 Jun 2005) | 3 lines

Added --recursively command line option (make a playlist from the content of a
directory given at command line).

------------------------------------------------------------------------
r1392 | daper | 2005-06-12 13:55:57 +0200 (Sun, 12 Jun 2005) | 2 lines

Volume changes made by other programs are detected.

------------------------------------------------------------------------
r1391 | daper | 2005-06-12 12:53:58 +0200 (Sun, 12 Jun 2005) | 4 lines

When increasing/decreasing volume set the new value relative to the current
volume, so if other program changes volume and we didn't notice it, we will
properly change the setting.

------------------------------------------------------------------------
r1390 | daper | 2005-06-12 12:38:46 +0200 (Sun, 12 Jun 2005) | 3 lines

When going to a directory using the i command, TAB completes to the matching
part of ambiguous directories.

------------------------------------------------------------------------
r1389 | daper | 2005-06-11 23:13:54 +0200 (Sat, 11 Jun 2005) | 2 lines

Prebuffer if output buffer drops under some threshold value.

------------------------------------------------------------------------
r1388 | daper | 2005-06-11 13:13:02 +0200 (Sat, 11 Jun 2005) | 2 lines

Optimized counting total playlist time.

------------------------------------------------------------------------
r1387 | daper | 2005-06-11 12:37:48 +0200 (Sat, 11 Jun 2005) | 2 lines

Optimized getting file type. Faster operations on big playlists.

------------------------------------------------------------------------
r1386 | daper | 2005-06-11 11:58:22 +0200 (Sat, 11 Jun 2005) | 2 lines

Exit on sound output error while playing.

------------------------------------------------------------------------
r1385 | daper | 2005-06-11 11:57:58 +0200 (Sat, 11 Jun 2005) | 2 lines

Detect dying jack server.

------------------------------------------------------------------------
r1384 | daper | 2005-06-11 11:33:20 +0200 (Sat, 11 Jun 2005) | 2 lines

Fixed bad memory usage when resampling.

------------------------------------------------------------------------
r1383 | daper | 2005-06-11 11:13:57 +0200 (Sat, 11 Jun 2005) | 2 lines

Small cleanup.

------------------------------------------------------------------------
r1382 | daper | 2005-06-11 10:53:19 +0200 (Sat, 11 Jun 2005) | 2 lines

Fixed 2 memory leaks: when sorting and when deleting items.

------------------------------------------------------------------------
r1381 | daper | 2005-06-10 22:50:40 +0200 (Fri, 10 Jun 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1380 | daper | 2005-06-10 22:40:10 +0200 (Fri, 10 Jun 2005) | 3 lines

G command points to the currently played file - on the playlist if it's there
and selects it in the menu.

------------------------------------------------------------------------
r1379 | daper | 2005-06-10 20:22:30 +0200 (Fri, 10 Jun 2005) | 3 lines

Optimized searching playlists by file name using red-black trees. This should
improve performance when operating on big playlists.

------------------------------------------------------------------------
r1378 | daper | 2005-06-10 19:37:37 +0200 (Fri, 10 Jun 2005) | 2 lines

Added functions for getting/setting mixer channel.

------------------------------------------------------------------------
r1377 | daper | 2005-06-10 16:15:57 +0200 (Fri, 10 Jun 2005) | 2 lines

Added more information about hacking.

------------------------------------------------------------------------
r1376 | daper | 2005-06-10 16:08:50 +0200 (Fri, 10 Jun 2005) | 2 lines

History for "go to a directory" and "enter URL" commands.

------------------------------------------------------------------------
r1375 | daper | 2005-06-10 14:48:04 +0200 (Fri, 10 Jun 2005) | 2 lines

Fixed enter_first_dir() (mocp playlist.m3u).

------------------------------------------------------------------------
r1374 | daper | 2005-06-10 14:39:51 +0200 (Fri, 10 Jun 2005) | 2 lines

iconv() for internet tags.

------------------------------------------------------------------------
r1373 | daper | 2005-06-10 14:23:39 +0200 (Fri, 10 Jun 2005) | 3 lines

Fixed error message when the used want to load a playlist from a file and the
playlist is not clear.

------------------------------------------------------------------------
r1372 | daper | 2005-06-10 13:28:47 +0200 (Fri, 10 Jun 2005) | 2 lines

Cleaned up go_to_fast_dir* examples.

------------------------------------------------------------------------
r1371 | daper | 2005-06-10 13:26:52 +0200 (Fri, 10 Jun 2005) | 2 lines

Added toggle_mixer.

------------------------------------------------------------------------
r1370 | daper | 2005-06-10 13:25:53 +0200 (Fri, 10 Jun 2005) | 3 lines

Two mixer channels can be set in the configuration file. They can be switched
at run time by pressing x.

------------------------------------------------------------------------
r1369 | daper | 2005-06-10 11:52:16 +0200 (Fri, 10 Jun 2005) | 2 lines

Separated iconv() conversion for file names and tags.

------------------------------------------------------------------------
r1368 | daper | 2005-06-10 11:38:59 +0200 (Fri, 10 Jun 2005) | 2 lines

Fixed iconv_str() when there iconv() support is not compiled-in.

------------------------------------------------------------------------
r1367 | daper | 2005-06-10 11:33:23 +0200 (Fri, 10 Jun 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1366 | daper | 2005-06-10 11:32:59 +0200 (Fri, 10 Jun 2005) | 2 lines

MusicDir can be a playlist.

------------------------------------------------------------------------
r1365 | daper | 2005-06-10 10:10:58 +0200 (Fri, 10 Jun 2005) | 2 lines

Fixed error messages when adding fies/directories to the playlist.

------------------------------------------------------------------------
r1364 | daper | 2005-06-09 10:31:27 +0200 (Thu, 09 Jun 2005) | 2 lines

Added a section about hacking.

------------------------------------------------------------------------
r1363 | daper | 2005-06-09 09:42:12 +0200 (Thu, 09 Jun 2005) | 2 lines

Documented in Doxygen format.

------------------------------------------------------------------------
r1362 | daper | 2005-06-09 09:41:46 +0200 (Thu, 09 Jun 2005) | 3 lines

Added introduction pages to Doxygen documentation.
Added description about creating a decoder plugin.

------------------------------------------------------------------------
r1361 | daper | 2005-06-09 09:40:39 +0200 (Thu, 09 Jun 2005) | 2 lines

Updated documentation.

------------------------------------------------------------------------
r1360 | daper | 2005-06-09 09:40:14 +0200 (Thu, 09 Jun 2005) | 2 lines

Modified for new documenattion.

------------------------------------------------------------------------
r1359 | daper | 2005-06-08 13:48:58 +0200 (Wed, 08 Jun 2005) | 2 lines

Set REPEAT_BRIEF to yes.

------------------------------------------------------------------------
r1358 | daper | 2005-06-08 12:37:54 +0200 (Wed, 08 Jun 2005) | 2 lines

CTRL-l like CTRL-r refreshes the screen.

------------------------------------------------------------------------
r1357 | daper | 2005-05-31 10:48:46 +0200 (Tue, 31 May 2005) | 2 lines

2.3.0-alpha2 release.

------------------------------------------------------------------------
r1356 | daper | 2005-05-31 10:43:41 +0200 (Tue, 31 May 2005) | 2 lines

2.2.2 release.

------------------------------------------------------------------------
r1355 | daper | 2005-05-31 10:39:43 +0200 (Tue, 31 May 2005) | 3 lines

Show times in the menu after saving the playlist, because reading times is free
here (they were read when saving the playlist).

------------------------------------------------------------------------
r1354 | daper | 2005-05-31 09:16:04 +0200 (Tue, 31 May 2005) | 2 lines

Added black_theme by Arn <arn.alduomacil@gmail.com>.

------------------------------------------------------------------------
r1353 | daper | 2005-05-30 22:36:13 +0200 (Mon, 30 May 2005) | 3 lines

Add EXTINF in m3u files even if the time of the file is not knows. This fixes
saving titles of internet streams in playlists.

------------------------------------------------------------------------
r1352 | daper | 2005-05-30 22:31:56 +0200 (Mon, 30 May 2005) | 2 lines

Fixed loading PLS files with relative file names.

------------------------------------------------------------------------
r1351 | daper | 2005-05-30 22:29:07 +0200 (Mon, 30 May 2005) | 2 lines

Fixed loading m3u files with URLs.

------------------------------------------------------------------------
r1350 | daper | 2005-05-30 22:17:33 +0200 (Mon, 30 May 2005) | 2 lines

Fixed previous fix.

------------------------------------------------------------------------
r1349 | daper | 2005-05-30 22:13:07 +0200 (Mon, 30 May 2005) | 2 lines

Added support for PLS version 2 playlists.

------------------------------------------------------------------------
r1348 | daper | 2005-05-30 22:12:37 +0200 (Mon, 30 May 2005) | 2 lines

Don't try to read tags for internet streams.

------------------------------------------------------------------------
r1347 | daper | 2005-05-30 22:01:08 +0200 (Mon, 30 May 2005) | 2 lines

Updated information about Elimar Riesebieter.

------------------------------------------------------------------------
r1346 | daper | 2005-05-30 22:00:05 +0200 (Mon, 30 May 2005) | 2 lines

Fixed endianes conversions.

------------------------------------------------------------------------
r1345 | daper | 2005-05-30 21:59:45 +0200 (Mon, 30 May 2005) | 2 lines

Fixed endianes information.

------------------------------------------------------------------------
r1344 | daper | 2005-05-29 17:59:19 +0200 (Sun, 29 May 2005) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r1343 | daper | 2005-05-29 16:52:42 +0200 (Sun, 29 May 2005) | 2 lines

Fixed some macros: added parenthesis.

------------------------------------------------------------------------
r1342 | daper | 2005-05-29 16:44:40 +0200 (Sun, 29 May 2005) | 2 lines

Show information about the state of prebuffering.

------------------------------------------------------------------------
r1341 | daper | 2005-05-29 16:01:23 +0200 (Sun, 29 May 2005) | 2 lines

Don't tru to wake up the curl thread when we don't read from curl.

------------------------------------------------------------------------
r1340 | daper | 2005-05-29 15:31:38 +0200 (Sun, 29 May 2005) | 2 lines

Added SFMT_STR_MAX macro.

------------------------------------------------------------------------
r1339 | daper | 2005-05-29 14:29:48 +0200 (Sun, 29 May 2005) | 2 lines

Fixed losing samples in the play function.

------------------------------------------------------------------------
r1338 | daper | 2005-05-28 20:31:25 +0200 (Sat, 28 May 2005) | 2 lines

Added mono to stereo conversion.

------------------------------------------------------------------------
r1337 | daper | 2005-05-28 13:51:10 +0200 (Sat, 28 May 2005) | 2 lines

Fixed detecting empty metadata packet.

------------------------------------------------------------------------
r1336 | daper | 2005-05-23 20:40:22 +0200 (Mon, 23 May 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1335 | daper | 2005-05-23 20:39:53 +0200 (Mon, 23 May 2005) | 2 lines

Don't use colors on black/white terminals.

------------------------------------------------------------------------
r1334 | daper | 2005-05-23 20:10:25 +0200 (Mon, 23 May 2005) | 4 lines

Explicit prebuffering function for io streams. This fixes the 'Prebuffering...'
messsage: it's displayed exactly when prebuffering is performed.


------------------------------------------------------------------------
r1333 | daper | 2005-05-21 22:03:29 +0200 (Sat, 21 May 2005) | 2 lines

Less locking in the reading thread. This could help for underruns.

------------------------------------------------------------------------
r1332 | daper | 2005-05-21 21:55:19 +0200 (Sat, 21 May 2005) | 2 lines

Fixed displaying the current time for internet streams.

------------------------------------------------------------------------
r1331 | daper | 2005-05-21 21:53:26 +0200 (Sat, 21 May 2005) | 4 lines

Notifing about freeing some space from the output buffer using a callback
function. We update the current time in this callback. This fixes displaying
the current time when decoding hangs (with internet streams).

------------------------------------------------------------------------
r1330 | daper | 2005-05-21 21:03:13 +0200 (Sat, 21 May 2005) | 3 lines

Fixed setting tags - the EV_TAGS event was flooding client, but tags haven't
changed.

------------------------------------------------------------------------
r1329 | daper | 2005-05-21 18:28:52 +0200 (Sat, 21 May 2005) | 3 lines

Don't block the audio device when paused.
Based on a patch by hondza <miscreant@tiscali.cz>

------------------------------------------------------------------------
r1328 | daper | 2005-05-20 09:18:12 +0200 (Fri, 20 May 2005) | 2 lines

Fixed getting tags for internet streams with --info.

------------------------------------------------------------------------
r1327 | daper | 2005-05-19 23:03:39 +0200 (Thu, 19 May 2005) | 3 lines

Better error message when we try to run the server and we detect that it is
already running.

------------------------------------------------------------------------
r1326 | daper | 2005-05-19 23:02:54 +0200 (Thu, 19 May 2005) | 2 lines

Make nicer file names with create_file_name().

------------------------------------------------------------------------
r1325 | daper | 2005-05-19 13:38:13 +0200 (Thu, 19 May 2005) | 2 lines

Fixed parsing meatdata string that have a quotation mark in the value field.

------------------------------------------------------------------------
r1324 | daper | 2005-05-19 13:16:41 +0200 (Thu, 19 May 2005) | 2 lines

Fixed hangs when reading.

------------------------------------------------------------------------
r1323 | daper | 2005-05-19 12:46:46 +0200 (Thu, 19 May 2005) | 2 lines

Fixed detecting errors when icy metadata are read.

------------------------------------------------------------------------
r1322 | daper | 2005-05-19 12:33:46 +0200 (Thu, 19 May 2005) | 2 lines

Added HTTPProxy option.

------------------------------------------------------------------------
r1321 | daper | 2005-05-19 12:27:37 +0200 (Thu, 19 May 2005) | 2 lines

Fixed reading icy medatada.

------------------------------------------------------------------------
r1320 | daper | 2005-05-18 23:33:04 +0200 (Wed, 18 May 2005) | 3 lines

Show the bitrate and the sample rate with --info regardless of availability of
other parameters.

------------------------------------------------------------------------
r1319 | daper | 2005-05-18 23:13:35 +0200 (Wed, 18 May 2005) | 2 lines

Reading tags from icy-metadata.

------------------------------------------------------------------------
r1318 | daper | 2005-05-18 23:13:16 +0200 (Wed, 18 May 2005) | 2 lines

Added tags_clear().

------------------------------------------------------------------------
r1317 | daper | 2005-05-18 20:07:38 +0200 (Wed, 18 May 2005) | 2 lines

Simplified and cleaned-pu curl code.

------------------------------------------------------------------------
r1316 | daper | 2005-05-18 19:16:22 +0200 (Wed, 18 May 2005) | 2 lines

Fixed xrealloc() bahaviour when the size parameter is 0.

------------------------------------------------------------------------
r1315 | daper | 2005-05-18 13:15:49 +0200 (Wed, 18 May 2005) | 2 lines

Fixed protect attribute.

------------------------------------------------------------------------
r1314 | daper | 2005-05-18 11:48:44 +0200 (Wed, 18 May 2005) | 2 lines

Colors can be redefined in themes using 'colordef COLOR = R G B'.

------------------------------------------------------------------------
r1313 | daper | 2005-05-17 23:08:36 +0200 (Tue, 17 May 2005) | 2 lines

Turned off debugging.

------------------------------------------------------------------------
r1312 | daper | 2005-05-17 22:49:05 +0200 (Tue, 17 May 2005) | 2 lines

Added ignore patterns.

------------------------------------------------------------------------
r1311 | daper | 2005-05-17 22:47:36 +0200 (Tue, 17 May 2005) | 2 lines

Reorganized and updated.

------------------------------------------------------------------------
r1310 | daper | 2005-05-17 22:38:03 +0200 (Tue, 17 May 2005) | 2 lines

Added support for speex format (without seeking).

------------------------------------------------------------------------
r1309 | daper | 2005-05-17 22:32:51 +0200 (Tue, 17 May 2005) | 2 lines

Fixed setting EOF in unbuffered input.

------------------------------------------------------------------------
r1308 | daper | 2005-05-17 21:57:05 +0200 (Tue, 17 May 2005) | 3 lines

Decreased the time to wait for the pcm to become ready to get samples. This
helps with underruns.

------------------------------------------------------------------------
r1307 | daper | 2005-05-16 23:48:48 +0200 (Mon, 16 May 2005) | 1 line

Updated 2.2.2 changes.
------------------------------------------------------------------------
r1306 | daper | 2005-05-16 23:44:20 +0200 (Mon, 16 May 2005) | 2 lines

Fixed setting compiler flags for vorbis.

------------------------------------------------------------------------
r1305 | daper | 2005-05-16 23:42:23 +0200 (Mon, 16 May 2005) | 2 lines

Removed a bad release.

------------------------------------------------------------------------
r1304 | daper | 2005-05-16 23:34:19 +0200 (Mon, 16 May 2005) | 2 lines

Fixed setting OGG_VORBIS_CFLAGS.

------------------------------------------------------------------------
r1303 | daper | 2005-05-16 23:27:44 +0200 (Mon, 16 May 2005) | 2 lines

Close the pipe used to wake up select().

------------------------------------------------------------------------
r1302 | daper | 2005-05-16 23:14:27 +0200 (Mon, 16 May 2005) | 2 lines

2.2.2 release

------------------------------------------------------------------------
r1301 | daper | 2005-05-15 23:35:43 +0200 (Sun, 15 May 2005) | 2 lines

Better detecting Ogg vorbis stream by content.

------------------------------------------------------------------------
r1300 | daper | 2005-05-15 18:53:34 +0200 (Sun, 15 May 2005) | 2 lines

Fixed interrupting reading.

------------------------------------------------------------------------
r1299 | daper | 2005-05-15 18:01:30 +0200 (Sun, 15 May 2005) | 2 lines

Added --toggle-pause command line option.

------------------------------------------------------------------------
r1298 | daper | 2005-05-15 17:44:38 +0200 (Sun, 15 May 2005) | 2 lines

Include microseconds in the time to track delays.

------------------------------------------------------------------------
r1297 | daper | 2005-05-15 14:38:57 +0200 (Sun, 15 May 2005) | 3 lines

A list of sound drivers can be used instead of only one driver in the
configuration file. The first working driver will be used.

------------------------------------------------------------------------
r1296 | daper | 2005-05-15 13:51:29 +0200 (Sun, 15 May 2005) | 2 lines

Fixed blocking in io_read() even when there were data to read.

------------------------------------------------------------------------
r1295 | daper | 2005-05-15 13:31:31 +0200 (Sun, 15 May 2005) | 2 lines

Don't "overlap" internet stream errors by "Format not supported" message.

------------------------------------------------------------------------
r1294 | daper | 2005-05-15 12:24:52 +0200 (Sun, 15 May 2005) | 2 lines

Don't expect HTTP headers to have a space after the colon.

------------------------------------------------------------------------
r1293 | daper | 2005-05-15 12:17:27 +0200 (Sun, 15 May 2005) | 2 lines

Read the stream name (title) from the HTTP response headers.

------------------------------------------------------------------------
r1292 | daper | 2005-05-15 12:09:46 +0200 (Sun, 15 May 2005) | 2 lines

Set tags to NULL when resetting file_info.

------------------------------------------------------------------------
r1291 | daper | 2005-05-15 11:54:16 +0200 (Sun, 15 May 2005) | 2 lines

Small fixes for getting tags from the server.

------------------------------------------------------------------------
r1290 | daper | 2005-05-15 00:48:35 +0200 (Sun, 15 May 2005) | 2 lines

Basic support for internet streams for MP3 (without tags).

------------------------------------------------------------------------
r1289 | daper | 2005-05-15 00:47:31 +0200 (Sun, 15 May 2005) | 2 lines

Accept "ICY 200 OK" HTTP response for compatibily with IceCast.

------------------------------------------------------------------------
r1288 | daper | 2005-05-14 23:49:18 +0200 (Sat, 14 May 2005) | 2 lines

Added mp1 to the list of file extensions supported by MAD.

------------------------------------------------------------------------
r1287 | daper | 2005-05-14 23:46:46 +0200 (Sat, 14 May 2005) | 2 lines

Updated 2.2.2 changes.

------------------------------------------------------------------------
r1286 | daper | 2005-05-14 23:46:16 +0200 (Sat, 14 May 2005) | 2 lines

Added mp1 to the list of file extensions supported by MAD.

------------------------------------------------------------------------
r1285 | daper | 2005-05-14 23:24:36 +0200 (Sat, 14 May 2005) | 2 lines

Updated 2.2.2 changes.

------------------------------------------------------------------------
r1284 | daper | 2005-05-14 23:24:04 +0200 (Sat, 14 May 2005) | 2 lines

Updated 2.2.2 changes.

------------------------------------------------------------------------
r1283 | daper | 2005-05-14 23:22:38 +0200 (Sat, 14 May 2005) | 2 lines

Merged from trunk: Fixed a crash when the time of a file can't be read.

------------------------------------------------------------------------
r1282 | daper | 2005-05-14 23:22:23 +0200 (Sat, 14 May 2005) | 2 lines

Fixed a crash when the time of a file can't be read.

------------------------------------------------------------------------
r1281 | daper | 2005-05-14 18:29:16 +0200 (Sat, 14 May 2005) | 2 lines

Better error messages in the Ogg plugin.

------------------------------------------------------------------------
r1280 | daper | 2005-05-14 18:10:56 +0200 (Sat, 14 May 2005) | 2 lines

Print descriptions for some errors in the config file.

------------------------------------------------------------------------
r1279 | daper | 2005-05-14 18:07:03 +0200 (Sat, 14 May 2005) | 2 lines

Treat an option that is set in the config file more than once as an error.

------------------------------------------------------------------------
r1278 | daper | 2005-05-14 18:02:40 +0200 (Sat, 14 May 2005) | 3 lines

Added mp2 and mpga to the list of supported extensions by MAD: this makes
possible to play MPEG Layer I and II files.

------------------------------------------------------------------------
r1277 | daper | 2005-05-14 17:58:04 +0200 (Sat, 14 May 2005) | 2 lines

Added 2.2.2 changes.

------------------------------------------------------------------------
r1276 | daper | 2005-05-14 17:56:53 +0200 (Sat, 14 May 2005) | 2 lines

Added 2.2.2 changes.

------------------------------------------------------------------------
r1275 | daper | 2005-05-14 17:52:12 +0200 (Sat, 14 May 2005) | 3 lines

Added mp2 and mpga to the list of supported extensions by MAD: this makes
possible to play MPEG Layer I and II files.

------------------------------------------------------------------------
r1274 | daper | 2005-05-14 17:29:03 +0200 (Sat, 14 May 2005) | 2 lines

Alsa mixer has always 0-100 range despite the actual device range.

------------------------------------------------------------------------
r1273 | daper | 2005-05-14 09:30:10 +0200 (Sat, 14 May 2005) | 2 lines

Fixed changing the server's playlist serial. This fixes playing from URL.

------------------------------------------------------------------------
r1272 | daper | 2005-05-14 00:33:36 +0200 (Sat, 14 May 2005) | 3 lines

Merged from trunk: Use a pipe to wake up another thread from select() instead
of a signal. Helps on NetBSD where pthread_kill() doesn't interrupt select().

------------------------------------------------------------------------
r1271 | daper | 2005-05-14 00:22:21 +0200 (Sat, 14 May 2005) | 3 lines

Use a pipe to wake up another thread from select() instead of a signal. Helps
on NetBSD where pthread_kill() doesn't interrupt select().

------------------------------------------------------------------------
r1270 | daper | 2005-05-13 23:52:43 +0200 (Fri, 13 May 2005) | 2 lines

Fixed io_get_mime_type() when curl is not compiled in.

------------------------------------------------------------------------
r1269 | daper | 2005-05-12 14:31:49 +0200 (Thu, 12 May 2005) | 2 lines

Changed version to 2.2.2.

------------------------------------------------------------------------
r1268 | daper | 2005-05-12 14:18:04 +0200 (Thu, 12 May 2005) | 2 lines

Fixed alsa functions argument's type.

------------------------------------------------------------------------
r1267 | daper | 2005-05-12 14:04:24 +0200 (Thu, 12 May 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1266 | daper | 2005-05-12 14:02:54 +0200 (Thu, 12 May 2005) | 2 lines

Recognize internet stream format by MIME type.

------------------------------------------------------------------------
r1265 | daper | 2005-05-12 12:02:54 +0200 (Thu, 12 May 2005) | 2 lines

Fixed setting/getting volume.

------------------------------------------------------------------------
r1264 | daper | 2005-05-12 11:57:30 +0200 (Thu, 12 May 2005) | 2 lines

When making a menu from filtered patterns include only files.

------------------------------------------------------------------------
r1263 | daper | 2005-05-12 10:26:43 +0200 (Thu, 12 May 2005) | 3 lines

Fixed io_ok() when the file was not opened properly. This fixes possible lock
when there was a file open error.

------------------------------------------------------------------------
r1262 | daper | 2005-05-12 10:06:08 +0200 (Thu, 12 May 2005) | 2 lines

Fixed mmap()ed read when the file size changes.

------------------------------------------------------------------------
r1261 | daper | 2005-05-12 09:52:41 +0200 (Thu, 12 May 2005) | 2 lines

Fixed handling file open errors when precaching.

------------------------------------------------------------------------
r1260 | daper | 2005-05-12 09:36:58 +0200 (Thu, 12 May 2005) | 3 lines

Merged from trunk: Added an option to ignore CRC errors in mp3 files (set to
yes by default, like most players do).

------------------------------------------------------------------------
r1259 | daper | 2005-05-11 21:30:49 +0200 (Wed, 11 May 2005) | 2 lines

Merged from trunk: Fixed a memory leak (when closing the stream).

------------------------------------------------------------------------
r1258 | daper | 2005-05-11 21:30:04 +0200 (Wed, 11 May 2005) | 2 lines

Fixed a memory leak (when closing the stream).

------------------------------------------------------------------------
r1257 | daper | 2005-05-11 20:54:29 +0200 (Wed, 11 May 2005) | 2 lines

Fixed a race condition when playing ends.

------------------------------------------------------------------------
r1256 | daper | 2005-05-11 20:51:46 +0200 (Wed, 11 May 2005) | 2 lines

Fixed a race condition - 3rd attempt (final? :).

------------------------------------------------------------------------
r1255 | daper | 2005-05-10 23:30:45 +0200 (Tue, 10 May 2005) | 2 lines

Another attempt to fix the race condition in buf_set_notify_cond().

------------------------------------------------------------------------
r1254 | daper | 2005-05-10 13:49:19 +0200 (Tue, 10 May 2005) | 2 lines

Fixed playing the precached sound (noises between songs).

------------------------------------------------------------------------
r1253 | daper | 2005-05-10 13:48:36 +0200 (Tue, 10 May 2005) | 3 lines

Fixed audio_open(): a bug when we decide to open the device despide sound
parameters compatibility.

------------------------------------------------------------------------
r1252 | daper | 2005-05-10 12:48:10 +0200 (Tue, 10 May 2005) | 2 lines

Fixed sleeping and endianes.

------------------------------------------------------------------------
r1251 | daper | 2005-05-10 00:08:20 +0200 (Tue, 10 May 2005) | 2 lines

Fixed conpilation when 32-bit types are not defined.

------------------------------------------------------------------------
r1250 | daper | 2005-05-09 23:52:52 +0200 (Mon, 09 May 2005) | 2 lines

Added missing buf_wait().

------------------------------------------------------------------------
r1249 | daper | 2005-05-09 23:46:08 +0200 (Mon, 09 May 2005) | 2 lines

Merged from trunk: Fixed handling 8-bit samples.

------------------------------------------------------------------------
r1248 | daper | 2005-05-09 23:41:22 +0200 (Mon, 09 May 2005) | 2 lines

Fixed handling 8-bit samples.

------------------------------------------------------------------------
r1247 | daper | 2005-05-09 23:38:48 +0200 (Mon, 09 May 2005) | 2 lines

Fixed s32_to_float().

------------------------------------------------------------------------
r1246 | daper | 2005-05-09 23:36:20 +0200 (Mon, 09 May 2005) | 2 lines

Fixed conversions to float.

------------------------------------------------------------------------
r1245 | daper | 2005-05-09 13:47:35 +0200 (Mon, 09 May 2005) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r1244 | daper | 2005-05-09 13:45:36 +0200 (Mon, 09 May 2005) | 2 lines

Added conversion from float to signed 8-bit samples.

------------------------------------------------------------------------
r1243 | daper | 2005-05-09 13:40:07 +0200 (Mon, 09 May 2005) | 2 lines

Prefer SFMT_S8 to SFMT_U8.

------------------------------------------------------------------------
r1242 | daper | 2005-05-09 13:30:28 +0200 (Mon, 09 May 2005) | 2 lines

Support for 24-bit files (hopefully working - not tested).

------------------------------------------------------------------------
r1241 | daper | 2005-05-09 12:45:19 +0200 (Mon, 09 May 2005) | 2 lines

Fixed a race condition when setting optional notify condition.

------------------------------------------------------------------------
r1240 | daper | 2005-05-09 12:44:56 +0200 (Mon, 09 May 2005) | 3 lines

Merged from trunk: Fixed a race condition when setting optional notify
condition.

------------------------------------------------------------------------
r1239 | daper | 2005-05-09 12:28:52 +0200 (Mon, 09 May 2005) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r1238 | daper | 2005-05-09 11:50:47 +0200 (Mon, 09 May 2005) | 2 lines

Detect xruns that are our fault.

------------------------------------------------------------------------
r1237 | daper | 2005-05-09 11:43:03 +0200 (Mon, 09 May 2005) | 2 lines

Drop input data when not playing.

------------------------------------------------------------------------
r1236 | daper | 2005-05-09 10:56:19 +0200 (Mon, 09 May 2005) | 2 lines

Simplified and optimized the process callback.

------------------------------------------------------------------------
r1235 | daper | 2005-05-08 22:53:27 +0200 (Sun, 08 May 2005) | 2 lines

New sample formats.

------------------------------------------------------------------------
r1234 | daper | 2005-05-08 22:52:52 +0200 (Sun, 08 May 2005) | 3 lines

Convertion between various sample formats.
Output in 32-bit samples (24-bit) if available.

------------------------------------------------------------------------
r1233 | daper | 2005-05-04 17:01:29 +0200 (Wed, 04 May 2005) | 3 lines

Merged from trunk: Fixed a crash when going back at the first item with Repeat
turned on (Debian Bug#307651: mocp crashes on "back").

------------------------------------------------------------------------
r1232 | daper | 2005-05-04 17:00:13 +0200 (Wed, 04 May 2005) | 3 lines

Fixed a crash when going back at the first item with Tepeat turned on
(Debian Bug#307651: mocp crashes on "back").

------------------------------------------------------------------------
r1231 | daper | 2005-05-04 09:26:08 +0200 (Wed, 04 May 2005) | 2 lines

Merged from trunk: Don't require ogg for compilation.

------------------------------------------------------------------------
r1230 | daper | 2005-05-04 08:57:59 +0200 (Wed, 04 May 2005) | 2 lines

Don't require ogg for compilation.

------------------------------------------------------------------------
r1229 | daper | 2005-05-01 22:49:51 +0200 (Sun, 01 May 2005) | 2 lines

Less processing in the jack callback - less xruns. (Alex Norman)

------------------------------------------------------------------------
r1228 | daper | 2005-05-01 10:54:00 +0200 (Sun, 01 May 2005) | 2 lines

convertion -> conversion.

------------------------------------------------------------------------
r1227 | daper | 2005-04-29 22:48:31 +0200 (Fri, 29 Apr 2005) | 2 lines

Extracting all items (to see enumerations and defines).

------------------------------------------------------------------------
r1226 | daper | 2005-04-29 18:39:57 +0200 (Fri, 29 Apr 2005) | 2 lines

Don't get the maximum and minimum sample rate - it's not needed.

------------------------------------------------------------------------
r1225 | daper | 2005-04-29 17:59:07 +0200 (Fri, 29 Apr 2005) | 2 lines

Merged from trunk: Fixed wprintw() usage when printing the playlist time.

------------------------------------------------------------------------
r1224 | daper | 2005-04-29 17:57:54 +0200 (Fri, 29 Apr 2005) | 2 lines

FIxed wprintw() usage when printing the playlist time.

------------------------------------------------------------------------
r1223 | daper | 2005-04-29 09:25:38 +0200 (Fri, 29 Apr 2005) | 2 lines

Resampling based on actual driver sample rate, not the device capabilities.

------------------------------------------------------------------------
r1222 | daper | 2005-04-29 08:39:29 +0200 (Fri, 29 Apr 2005) | 2 lines

Updated copyright notice.

------------------------------------------------------------------------
r1221 | daper | 2005-04-29 00:05:04 +0200 (Fri, 29 Apr 2005) | 2 lines

Fixed compilation without libsamplerate.

------------------------------------------------------------------------
r1220 | daper | 2005-04-28 23:00:39 +0200 (Thu, 28 Apr 2005) | 2 lines

Added information about JACK.

------------------------------------------------------------------------
r1219 | daper | 2005-04-28 22:58:51 +0200 (Thu, 28 Apr 2005) | 2 lines

Refuse to open the device with unsupported sound parameters.

------------------------------------------------------------------------
r1218 | daper | 2005-04-28 22:58:18 +0200 (Thu, 28 Apr 2005) | 2 lines

Added ForceSampleRate config option.

------------------------------------------------------------------------
r1217 | daper | 2005-04-28 22:37:56 +0200 (Thu, 28 Apr 2005) | 2 lines

Added ResampleMethod config option.

------------------------------------------------------------------------
r1216 | daper | 2005-04-28 22:21:10 +0200 (Thu, 28 Apr 2005) | 2 lines

Required version of libsamplerate changed to 0.1.0.

------------------------------------------------------------------------
r1215 | daper | 2005-04-28 22:01:53 +0200 (Thu, 28 Apr 2005) | 2 lines

Added sample rate convertion using libsamplerate.

------------------------------------------------------------------------
r1214 | daper | 2005-04-28 20:23:50 +0200 (Thu, 28 Apr 2005) | 2 lines

Print also the file name with --info.

------------------------------------------------------------------------
r1213 | daper | 2005-04-24 22:41:38 +0200 (Sun, 24 Apr 2005) | 2 lines

Added SeekTime option: how fast seeking is. (Kamil Tarkowski)

------------------------------------------------------------------------
r1212 | daper | 2005-04-24 19:31:39 +0200 (Sun, 24 Apr 2005) | 2 lines

Print information about whether internet streams support is compilled in.

------------------------------------------------------------------------
r1211 | daper | 2005-04-24 13:59:34 +0200 (Sun, 24 Apr 2005) | 2 lines

Use audio_send_buf() instead of out_buf_put().

------------------------------------------------------------------------
r1210 | daper | 2005-04-23 21:38:57 +0200 (Sat, 23 Apr 2005) | 2 lines

Fixes for gcc4 warnings.

------------------------------------------------------------------------
r1209 | daper | 2005-04-23 18:58:58 +0200 (Sat, 23 Apr 2005) | 2 lines

Added new options.

------------------------------------------------------------------------
r1208 | daper | 2005-04-23 16:56:28 +0200 (Sat, 23 Apr 2005) | 2 lines

Fixed --info output.

------------------------------------------------------------------------
r1207 | daper | 2005-04-23 16:55:31 +0200 (Sat, 23 Apr 2005) | 2 lines

Print information about loading plaugins only if --debug was used.

------------------------------------------------------------------------
r1206 | daper | 2005-04-23 16:46:51 +0200 (Sat, 23 Apr 2005) | 2 lines

Fixed jack files.

------------------------------------------------------------------------
r1205 | daper | 2005-04-23 16:30:08 +0200 (Sat, 23 Apr 2005) | 3 lines

Added an option to ignore CRC errors in mp3 files (set to yes by default,
like most players do).

------------------------------------------------------------------------
r1204 | daper | 2005-04-23 10:20:29 +0200 (Sat, 23 Apr 2005) | 3 lines

Added --info command line option that prints all information about the
currently played file. (Based on the code by Michael Banks)

------------------------------------------------------------------------
r1203 | daper | 2005-04-20 23:54:04 +0200 (Wed, 20 Apr 2005) | 2 lines

Added technical_docs.

------------------------------------------------------------------------
r1202 | daper | 2005-04-20 23:53:13 +0200 (Wed, 20 Apr 2005) | 2 lines

This directory is always empty and is automatically created by Doxygen.

------------------------------------------------------------------------
r1201 | daper | 2005-04-20 08:41:45 +0200 (Wed, 20 Apr 2005) | 2 lines

Updated.

------------------------------------------------------------------------
r1200 | daper | 2005-04-20 08:40:15 +0200 (Wed, 20 Apr 2005) | 2 lines

Added --next and --previous command line options. (Alex Norman)

------------------------------------------------------------------------
r1199 | daper | 2005-04-20 08:37:31 +0200 (Wed, 20 Apr 2005) | 2 lines

Added Doxyfile.

------------------------------------------------------------------------
r1198 | daper | 2005-04-20 08:37:05 +0200 (Wed, 20 Apr 2005) | 2 lines

Fixed binding for #.

------------------------------------------------------------------------
r1197 | daper | 2005-04-19 23:59:55 +0200 (Tue, 19 Apr 2005) | 2 lines

Removed comments and empty lines.

------------------------------------------------------------------------
r1196 | daper | 2005-04-19 22:36:34 +0200 (Tue, 19 Apr 2005) | 2 lines

Updated.

------------------------------------------------------------------------
r1195 | daper | 2005-04-19 22:35:55 +0200 (Tue, 19 Apr 2005) | 2 lines

Added commands to quickly go to a choosed directories. (Alex Norman)

------------------------------------------------------------------------
r1194 | daper | 2005-04-19 20:47:34 +0200 (Tue, 19 Apr 2005) | 2 lines

Fixed adding alsa libraries.

------------------------------------------------------------------------
r1193 | daper | 2005-04-18 12:45:30 +0200 (Mon, 18 Apr 2005) | 2 lines

Fixed arguments types for some alsa functions (gcc 4.0 warnings).

------------------------------------------------------------------------
r1192 | daper | 2005-04-18 12:33:30 +0200 (Mon, 18 Apr 2005) | 2 lines

Fixed add_buf_data() arguments.

------------------------------------------------------------------------
r1191 | daper | 2005-04-18 00:15:22 +0200 (Mon, 18 Apr 2005) | 2 lines

Fixed add_buf_*() arguments' type.

------------------------------------------------------------------------
r1190 | daper | 2005-04-18 00:12:18 +0200 (Mon, 18 Apr 2005) | 2 lines

Fixed add_buf_*() argument types.

------------------------------------------------------------------------
r1189 | daper | 2005-04-17 22:32:39 +0200 (Sun, 17 Apr 2005) | 2 lines

Added commands to set volume from 10% to 90% in 10% steps (ALT-1 to ALT-9).

------------------------------------------------------------------------
r1188 | daper | 2005-04-17 21:56:06 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed missing declaration.

------------------------------------------------------------------------
r1187 | daper | 2005-04-17 21:48:04 +0200 (Sun, 17 Apr 2005) | 2 lines

Removed unneeded mutex.

------------------------------------------------------------------------
r1186 | daper | 2005-04-17 21:39:13 +0200 (Sun, 17 Apr 2005) | 2 lines

Added strerror_r() implementation for systems which doesn't have this function.

------------------------------------------------------------------------
r1185 | daper | 2005-04-17 21:21:32 +0200 (Sun, 17 Apr 2005) | 2 lines

Updated copyright year.

------------------------------------------------------------------------
r1184 | daper | 2005-04-17 21:02:38 +0200 (Sun, 17 Apr 2005) | 3 lines

The search command filters out not matching elements from the menu and allows
to walk through the items like in the regular menu.

------------------------------------------------------------------------
r1183 | daper | 2005-04-17 21:01:29 +0200 (Sun, 17 Apr 2005) | 4 lines

Replaced menu_find_pattern_next()/menu_next_turn() with menu_filter_pattern()
which makes a new menu from filtered items.
Some cleanups of menu_draw().

------------------------------------------------------------------------
r1182 | daper | 2005-04-17 17:55:25 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed io_eof().

------------------------------------------------------------------------
r1181 | daper | 2005-04-17 17:54:39 +0200 (Sun, 17 Apr 2005) | 2 lines

Report IO errors.

------------------------------------------------------------------------
r1180 | daper | 2005-04-17 15:57:35 +0200 (Sun, 17 Apr 2005) | 3 lines

Added -A command line option and ASCIILines config option that disables
useage of graphic characters to draw lines.

------------------------------------------------------------------------
r1179 | daper | 2005-04-17 15:50:29 +0200 (Sun, 17 Apr 2005) | 2 lines

Revoked previous buggy fix.

------------------------------------------------------------------------
r1178 | daper | 2005-04-17 15:47:55 +0200 (Sun, 17 Apr 2005) | 2 lines

Merged from trunk: Use proper type to holt curses attributes.

------------------------------------------------------------------------
r1177 | daper | 2005-04-17 15:47:09 +0200 (Sun, 17 Apr 2005) | 2 lines

Use proper type to holt curses attributes.

------------------------------------------------------------------------
r1176 | daper | 2005-04-17 15:24:06 +0200 (Sun, 17 Apr 2005) | 3 lines

Merged from trunk: Fixed marking the currently played item when a new item on
the playlist appears.

------------------------------------------------------------------------
r1175 | daper | 2005-04-17 15:22:57 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed marking the currently played item when a new item on a playlist appears.

------------------------------------------------------------------------
r1174 | daper | 2005-04-17 15:11:55 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed making titles for URLs.

------------------------------------------------------------------------
r1173 | daper | 2005-04-17 14:44:48 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed error massages about unrecognized internet stream.

------------------------------------------------------------------------
r1172 | daper | 2005-04-17 14:23:53 +0200 (Sun, 17 Apr 2005) | 2 lines

Fixed recognizing EOF from errors.

------------------------------------------------------------------------
r1171 | daper | 2005-04-16 21:24:12 +0200 (Sat, 16 Apr 2005) | 2 lines

2.2.1 release.

------------------------------------------------------------------------
r1170 | daper | 2005-04-16 21:09:53 +0200 (Sat, 16 Apr 2005) | 2 lines

Added 2.2.1 changes.

------------------------------------------------------------------------
r1169 | daper | 2005-04-16 21:09:00 +0200 (Sat, 16 Apr 2005) | 2 lines

Added 2.2.1 changes.

------------------------------------------------------------------------
r1168 | daper | 2005-04-16 10:21:39 +0200 (Sat, 16 Apr 2005) | 2 lines

Fixed detecting vorbis.

------------------------------------------------------------------------
r1167 | daper | 2005-04-16 10:21:13 +0200 (Sat, 16 Apr 2005) | 2 lines

Merged from trunk: Fixed a deadlock.

------------------------------------------------------------------------
r1166 | daper | 2005-04-16 10:20:51 +0200 (Sat, 16 Apr 2005) | 2 lines

Fixed a deadlock.

------------------------------------------------------------------------
r1165 | daper | 2005-04-15 23:23:16 +0200 (Fri, 15 Apr 2005) | 3 lines

Moved opening, prebuffering, and detecting format stuff to player.c. This
allows interrupt when prebuffering (when detecting audio format).

------------------------------------------------------------------------
r1164 | daper | 2005-04-15 23:22:09 +0200 (Fri, 15 Apr 2005) | 2 lines

Moved curl perform() loop to io_curl_read(), so io_curl_open() will not block.

------------------------------------------------------------------------
r1163 | daper | 2005-04-15 22:42:22 +0200 (Fri, 15 Apr 2005) | 2 lines

Fixed closing the io_stream.

------------------------------------------------------------------------
r1162 | daper | 2005-04-15 09:37:26 +0200 (Fri, 15 Apr 2005) | 3 lines

Allow to specify absolute or relative patches when saving playlists, not only
file names.

------------------------------------------------------------------------
r1161 | daper | 2005-04-15 09:07:00 +0200 (Fri, 15 Apr 2005) | 2 lines

Added Alex Norman.

------------------------------------------------------------------------
r1160 | daper | 2005-04-14 23:02:06 +0200 (Thu, 14 Apr 2005) | 2 lines

Checking for required curl version.

------------------------------------------------------------------------
r1159 | daper | 2005-04-14 22:59:59 +0200 (Thu, 14 Apr 2005) | 2 lines

Added information about curl.

------------------------------------------------------------------------
r1158 | daper | 2005-04-14 22:41:10 +0200 (Thu, 14 Apr 2005) | 2 lines

Fixed compilation with --without-curl.

------------------------------------------------------------------------
r1157 | daper | 2005-04-14 12:49:01 +0200 (Thu, 14 Apr 2005) | 2 lines

Ignore content of technical_docs.

------------------------------------------------------------------------
r1156 | daper | 2005-04-14 11:34:06 +0200 (Thu, 14 Apr 2005) | 2 lines

Added JACK output (by Alex Norman <alex@neisis.net>).

------------------------------------------------------------------------
r1155 | daper | 2005-04-14 10:13:22 +0200 (Thu, 14 Apr 2005) | 2 lines

Added an assertion.

------------------------------------------------------------------------
r1154 | daper | 2005-04-14 09:19:21 +0200 (Thu, 14 Apr 2005) | 2 lines

Fixed --without-sndfile and --without-curl options.

------------------------------------------------------------------------
r1153 | daper | 2005-04-14 09:18:44 +0200 (Thu, 14 Apr 2005) | 2 lines

Fixed --without-sndfile option.

------------------------------------------------------------------------
r1152 | daper | 2005-04-13 13:38:08 +0200 (Wed, 13 Apr 2005) | 2 lines

Documented sound_params and hw_funcs structures for Doxygen.

------------------------------------------------------------------------
r1151 | daper | 2005-04-13 13:37:07 +0200 (Wed, 13 Apr 2005) | 3 lines

Added Doxygen configuration file and a directory for the generated
documentation.

------------------------------------------------------------------------
r1150 | daper | 2005-04-09 17:32:39 +0200 (Sat, 09 Apr 2005) | 2 lines

Added Yellow/Red theme.

------------------------------------------------------------------------
r1149 | daper | 2005-04-09 11:15:24 +0200 (Sat, 09 Apr 2005) | 3 lines

Checking for vorbis using PKG_CHECK_MODULES. This fixes problems when detecting
libvorbis.

------------------------------------------------------------------------
r1148 | daper | 2005-04-08 20:44:39 +0200 (Fri, 08 Apr 2005) | 2 lines

Check for _oss_ioctl instead of ioctl.

------------------------------------------------------------------------
r1147 | daper | 2005-04-08 20:44:10 +0200 (Fri, 08 Apr 2005) | 2 lines

Check for _oss_ioctl instead of ioctl.

------------------------------------------------------------------------
r1146 | daper | 2005-04-08 16:30:15 +0200 (Fri, 08 Apr 2005) | 3 lines

Merged from trunk: Changed EV_ERROR to EV_SRV_ERROR due to name conflict on
NetBSD.

------------------------------------------------------------------------
r1145 | daper | 2005-04-08 16:06:23 +0200 (Fri, 08 Apr 2005) | 2 lines

Changed EV_ERROR to EV_SRV_ERROR due to name conflict on NetBSD.

------------------------------------------------------------------------
r1144 | daper | 2005-04-08 15:58:49 +0200 (Fri, 08 Apr 2005) | 2 lines

Fixed checking for curses.

------------------------------------------------------------------------
r1143 | daper | 2005-04-08 15:49:04 +0200 (Fri, 08 Apr 2005) | 2 lines

Fixed checking for curses.

------------------------------------------------------------------------
r1142 | daper | 2005-04-08 15:48:17 +0200 (Fri, 08 Apr 2005) | 2 lines

Merged from trunk: Checking for libossaudio (for NetBSD).

------------------------------------------------------------------------
r1141 | daper | 2005-04-08 15:30:47 +0200 (Fri, 08 Apr 2005) | 2 lines

Checking for libossaudio (for NetBSD).

------------------------------------------------------------------------
r1140 | daper | 2005-04-08 15:08:17 +0200 (Fri, 08 Apr 2005) | 2 lines

Merged from 2.2: Fixed ioctl() usage (for NetBSD).

------------------------------------------------------------------------
r1139 | daper | 2005-04-08 15:07:34 +0200 (Fri, 08 Apr 2005) | 2 lines

Fixed ioctl() usage (for NetBSD).

------------------------------------------------------------------------
r1138 | daper | 2005-04-08 14:51:35 +0200 (Fri, 08 Apr 2005) | 2 lines

Merged from trunk: Fixed including curses header file.

------------------------------------------------------------------------
r1137 | daper | 2005-04-08 14:51:05 +0200 (Fri, 08 Apr 2005) | 2 lines

Fixed including curses header file.

------------------------------------------------------------------------
r1136 | daper | 2005-04-08 14:37:38 +0200 (Fri, 08 Apr 2005) | 2 lines

Changed version to 2.2.1.

------------------------------------------------------------------------
r1135 | daper | 2005-04-08 14:37:10 +0200 (Fri, 08 Apr 2005) | 2 lines

Merged from trunk: Include curses.h instead of ncurses.h if necessary.

------------------------------------------------------------------------
r1134 | daper | 2005-04-08 14:36:12 +0200 (Fri, 08 Apr 2005) | 2 lines

Merged from trunk: Detecting curses besides ncurses (helps on NetBSD).

------------------------------------------------------------------------
r1133 | daper | 2005-04-08 11:17:41 +0200 (Fri, 08 Apr 2005) | 2 lines

Include curses.h instead of ncurses.h if necessary.

------------------------------------------------------------------------
r1132 | daper | 2005-04-08 11:16:54 +0200 (Fri, 08 Apr 2005) | 2 lines

Detecting curses besides ncurses (helps on NetBSD).

------------------------------------------------------------------------
r1131 | daper | 2005-03-29 20:07:44 +0200 (Tue, 29 Mar 2005) | 2 lines

Merged from 2.2: Fixed arguments for add_buf_time().

------------------------------------------------------------------------
r1130 | daper | 2005-03-29 20:05:49 +0200 (Tue, 29 Mar 2005) | 2 lines

Fixed arguments for add_buf_time()

------------------------------------------------------------------------
r1129 | daper | 2005-03-29 20:04:27 +0200 (Tue, 29 Mar 2005) | 2 lines

Merged from 2.2: Fixed arguments for add_buf_*().

------------------------------------------------------------------------
r1128 | daper | 2005-03-29 20:03:29 +0200 (Tue, 29 Mar 2005) | 2 lines

Fixed arguments for add_buf_*()

------------------------------------------------------------------------
r1127 | daper | 2005-03-09 10:41:26 +0100 (Wed, 09 Mar 2005) | 2 lines

Added a FIXME */

------------------------------------------------------------------------
r1126 | daper | 2005-03-08 09:35:31 +0100 (Tue, 08 Mar 2005) | 2 lines

Fixed playing AIFF files.

------------------------------------------------------------------------
r1125 | daper | 2005-03-08 09:33:18 +0100 (Tue, 08 Mar 2005) | 2 lines

Fixed recognizing AIFF files.

------------------------------------------------------------------------
r1124 | daper | 2005-03-06 11:28:34 +0100 (Sun, 06 Mar 2005) | 2 lines

Merged from trunk: Fixed refreshing the screen after searching in the menu.

------------------------------------------------------------------------
r1123 | daper | 2005-03-06 11:27:40 +0100 (Sun, 06 Mar 2005) | 2 lines

Fixed refreshing the screen after searching in the menu.

------------------------------------------------------------------------
r1122 | daper | 2005-03-04 18:52:33 +0100 (Fri, 04 Mar 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1121 | daper | 2005-03-04 18:51:15 +0100 (Fri, 04 Mar 2005) | 2 lines

Fixed error handling.

------------------------------------------------------------------------
r1120 | daper | 2005-03-04 17:42:54 +0100 (Fri, 04 Mar 2005) | 2 lines

Fixed receiving empty tags.

------------------------------------------------------------------------
r1119 | daper | 2005-03-04 17:41:07 +0100 (Fri, 04 Mar 2005) | 2 lines

Removed unused code.

------------------------------------------------------------------------
r1118 | daper | 2005-03-04 17:38:03 +0100 (Fri, 04 Mar 2005) | 2 lines

Fixe receiving empty tags.

------------------------------------------------------------------------
r1117 | daper | 2005-03-04 17:30:46 +0100 (Fri, 04 Mar 2005) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r1116 | daper | 2005-03-04 17:28:37 +0100 (Fri, 04 Mar 2005) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r1115 | daper | 2005-03-02 13:51:42 +0100 (Wed, 02 Mar 2005) | 2 lines

2.2.0 release

------------------------------------------------------------------------
r1114 | daper | 2005-03-02 10:28:17 +0100 (Wed, 02 Mar 2005) | 2 lines

Disabled DEBUG.

------------------------------------------------------------------------
r1113 | daper | 2005-03-02 10:26:07 +0100 (Wed, 02 Mar 2005) | 2 lines

Before closing the audio device wait until nothing uses it.

------------------------------------------------------------------------
r1112 | daper | 2005-03-01 21:40:18 +0100 (Tue, 01 Mar 2005) | 2 lines

Fixed the G command.

------------------------------------------------------------------------
r1111 | daper | 2005-03-01 13:43:40 +0100 (Tue, 01 Mar 2005) | 2 lines

Fixed thread_signal().

------------------------------------------------------------------------
r1110 | daper | 2005-03-01 13:43:24 +0100 (Tue, 01 Mar 2005) | 2 lines

Don't allow pause on network streams.

------------------------------------------------------------------------
r1109 | daper | 2005-03-01 13:33:16 +0100 (Tue, 01 Mar 2005) | 2 lines

Using sigaction() instead of signal().

------------------------------------------------------------------------
r1108 | daper | 2005-03-01 12:44:00 +0100 (Tue, 01 Mar 2005) | 2 lines

Fixed a memory leak.

------------------------------------------------------------------------
r1107 | daper | 2005-03-01 12:41:23 +0100 (Tue, 01 Mar 2005) | 2 lines

Not logging anything in SIGUSR1 handler, it caused hangs (why?).

------------------------------------------------------------------------
r1106 | daper | 2005-03-01 12:40:22 +0100 (Tue, 01 Mar 2005) | 2 lines

Better dealing with connect errors.

------------------------------------------------------------------------
r1105 | daper | 2005-02-28 23:35:08 +0100 (Mon, 28 Feb 2005) | 2 lines

Handling F_URL.

------------------------------------------------------------------------
r1104 | daper | 2005-02-28 23:16:19 +0100 (Mon, 28 Feb 2005) | 2 lines

Dealing with URLs.

------------------------------------------------------------------------
r1103 | daper | 2005-02-28 23:08:50 +0100 (Mon, 28 Feb 2005) | 2 lines

Recognizing network streams.

------------------------------------------------------------------------
r1102 | daper | 2005-02-28 22:57:41 +0100 (Mon, 28 Feb 2005) | 2 lines

Fixed freeing tags.

------------------------------------------------------------------------
r1101 | daper | 2005-02-28 22:57:21 +0100 (Mon, 28 Feb 2005) | 2 lines

Fixed operation os a stream that was not properly opened.

------------------------------------------------------------------------
r1100 | daper | 2005-02-28 22:43:36 +0100 (Mon, 28 Feb 2005) | 2 lines

Refuse to play from a network stream that has less than 512 bytes of data.

------------------------------------------------------------------------
r1099 | daper | 2005-02-28 22:14:34 +0100 (Mon, 28 Feb 2005) | 2 lines

Fixed detecting eof and broken connections.

------------------------------------------------------------------------
r1098 | daper | 2005-02-28 13:41:44 +0100 (Mon, 28 Feb 2005) | 2 lines

Added Prebuffering.

------------------------------------------------------------------------
r1097 | daper | 2005-02-28 13:27:49 +0100 (Mon, 28 Feb 2005) | 2 lines

Hangled "Precaching" to "Prebuffering".

------------------------------------------------------------------------
r1096 | daper | 2005-02-28 12:06:07 +0100 (Mon, 28 Feb 2005) | 2 lines

Information about opening the file.

------------------------------------------------------------------------
r1095 | daper | 2005-02-28 11:59:46 +0100 (Mon, 28 Feb 2005) | 3 lines

Acces the io stream used by the decoder in player.c to abort io operation
immediately on stop request.

------------------------------------------------------------------------
r1094 | daper | 2005-02-27 15:25:38 +0100 (Sun, 27 Feb 2005) | 2 lines

Messages for client about connecting/prebuffering.

------------------------------------------------------------------------
r1093 | daper | 2005-02-27 15:08:14 +0100 (Sun, 27 Feb 2005) | 2 lines

Fixed hang when closing buffered IO stream.

------------------------------------------------------------------------
r1092 | daper | 2005-02-27 14:37:26 +0100 (Sun, 27 Feb 2005) | 2 lines

Interrunting curl select() on io_abort().

------------------------------------------------------------------------
r1091 | daper | 2005-02-27 12:18:48 +0100 (Sun, 27 Feb 2005) | 2 lines

Fixed reading the buffer size from the configuration.

------------------------------------------------------------------------
r1090 | daper | 2005-02-27 12:01:25 +0100 (Sun, 27 Feb 2005) | 3 lines

[NET] information for network stream.
Fixed caching tagsfor network streams.

------------------------------------------------------------------------
r1089 | daper | 2005-02-27 10:14:58 +0100 (Sun, 27 Feb 2005) | 2 lines

Fixed sending EV_TAGS.

------------------------------------------------------------------------
r1088 | daper | 2005-02-27 10:14:44 +0100 (Sun, 27 Feb 2005) | 2 lines

Added an assertion to tags_dup().

------------------------------------------------------------------------
r1087 | daper | 2005-02-27 10:12:33 +0100 (Sun, 27 Feb 2005) | 2 lines

Fixed the G command for network streams.

------------------------------------------------------------------------
r1086 | daper | 2005-02-27 10:12:20 +0100 (Sun, 27 Feb 2005) | 2 lines

Fixed getting tags when no tags are present.

------------------------------------------------------------------------
r1085 | daper | 2005-02-27 10:00:59 +0100 (Sun, 27 Feb 2005) | 2 lines

FIxed a warning.

------------------------------------------------------------------------
r1084 | daper | 2005-02-26 22:57:09 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed bad mutex usage on unbuffered io.

------------------------------------------------------------------------
r1083 | daper | 2005-02-26 22:46:37 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed disgarding tags in update_curr_file().

------------------------------------------------------------------------
r1082 | daper | 2005-02-26 22:44:02 +0100 (Sat, 26 Feb 2005) | 2 lines

Not sending tags woth EV_TAGS: use CMD_GET_TAGS to get them.

------------------------------------------------------------------------
r1081 | daper | 2005-02-26 22:07:14 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed setting xterm title after tags change.

------------------------------------------------------------------------
r1080 | daper | 2005-02-26 22:02:18 +0100 (Sat, 26 Feb 2005) | 3 lines

Getting tags from the decoder while playing and sending them to the client if
they change.

------------------------------------------------------------------------
r1079 | daper | 2005-02-26 19:45:47 +0100 (Sat, 26 Feb 2005) | 2 lines

tags_dup() made public.

------------------------------------------------------------------------
r1078 | daper | 2005-02-26 19:40:37 +0100 (Sat, 26 Feb 2005) | 2 lines

Added tags_copy().

------------------------------------------------------------------------
r1077 | daper | 2005-02-26 16:32:27 +0100 (Sat, 26 Feb 2005) | 2 lines

Updated.

------------------------------------------------------------------------
r1076 | daper | 2005-02-26 16:31:44 +0100 (Sat, 26 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1075 | daper | 2005-02-26 12:15:26 +0100 (Sat, 26 Feb 2005) | 3 lines

Added API version number in the decoder structur. This prevents from loading
plugins that uses incompatible API.

------------------------------------------------------------------------
r1074 | daper | 2005-02-26 11:46:07 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed includes for curl.

------------------------------------------------------------------------
r1073 | daper | 2005-02-26 11:28:25 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed curl test.

------------------------------------------------------------------------
r1072 | daper | 2005-02-26 00:32:27 +0100 (Sat, 26 Feb 2005) | 3 lines

Merged from trunk: Fixed alsa_get_buf_fill(): handle underrun and error
situations.

------------------------------------------------------------------------
r1071 | daper | 2005-02-26 00:31:31 +0100 (Sat, 26 Feb 2005) | 2 lines

Fixed alsa_get_buf_fill(): handle underrun and error situations.

------------------------------------------------------------------------
r1070 | daper | 2005-02-25 23:53:19 +0100 (Fri, 25 Feb 2005) | 2 lines

Fixed a message.

------------------------------------------------------------------------
r1069 | daper | 2005-02-25 22:55:42 +0100 (Fri, 25 Feb 2005) | 2 lines

Using const in some functions receiving a file name as an argument.

------------------------------------------------------------------------
r1068 | daper | 2005-02-25 22:53:10 +0100 (Fri, 25 Feb 2005) | 2 lines

Fixed reading thread - don't set the dont_move flag.

------------------------------------------------------------------------
r1067 | daper | 2005-02-25 22:41:41 +0100 (Fri, 25 Feb 2005) | 2 lines

Fixed couting played bytes in buffer thread.

------------------------------------------------------------------------
r1066 | daper | 2005-02-25 21:23:23 +0100 (Fri, 25 Feb 2005) | 2 lines

Added functions for peeking data from buffers.

------------------------------------------------------------------------
r1065 | daper | 2005-02-25 19:24:44 +0100 (Fri, 25 Feb 2005) | 2 lines

Added information about minimum buffers size.

------------------------------------------------------------------------
r1064 | daper | 2005-02-25 19:23:18 +0100 (Fri, 25 Feb 2005) | 2 lines

Increased minimum InputBuffer size to 32 kilobytes.

------------------------------------------------------------------------
r1063 | daper | 2005-02-25 19:21:46 +0100 (Fri, 25 Feb 2005) | 2 lines

Support for network streams using cURL. Not usable.

------------------------------------------------------------------------
r1062 | daper | 2005-02-25 19:20:49 +0100 (Fri, 25 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1061 | daper | 2005-02-25 16:32:55 +0100 (Fri, 25 Feb 2005) | 2 lines

Fixed hang after read error in buffered stream.

------------------------------------------------------------------------
r1060 | daper | 2005-02-25 16:18:16 +0100 (Fri, 25 Feb 2005) | 2 lines

Checking the error code of snd_pcm_wait().

------------------------------------------------------------------------
r1059 | daper | 2005-02-25 16:13:52 +0100 (Fri, 25 Feb 2005) | 2 lines

Addet assert(0 to out_buf_time_get().

------------------------------------------------------------------------
r1058 | daper | 2005-02-25 15:26:59 +0100 (Fri, 25 Feb 2005) | 2 lines

Placed #define DEBUG at the right position.

------------------------------------------------------------------------
r1057 | daper | 2005-02-24 14:32:35 +0100 (Thu, 24 Feb 2005) | 2 lines

Fixed io_seek() with SEEK_CUR.

------------------------------------------------------------------------
r1056 | daper | 2005-02-24 14:02:31 +0100 (Thu, 24 Feb 2005) | 3 lines

Added a functions set for accessing files using buffered (threaded) input
and use those functions to read mp3, ogg, and flac files.

------------------------------------------------------------------------
r1055 | daper | 2005-02-24 14:01:56 +0100 (Thu, 24 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1054 | daper | 2005-02-24 10:13:30 +0100 (Thu, 24 Feb 2005) | 2 lines

Fixed a bad debug message.

------------------------------------------------------------------------
r1053 | daper | 2005-02-24 00:05:08 +0100 (Thu, 24 Feb 2005) | 2 lines

Removed unused constants.

------------------------------------------------------------------------
r1052 | daper | 2005-02-23 13:54:43 +0100 (Wed, 23 Feb 2005) | 2 lines

Don't lose stream errors while precaching.

------------------------------------------------------------------------
r1051 | daper | 2005-02-23 13:39:26 +0100 (Wed, 23 Feb 2005) | 6 lines

Merged from 2.2:
Fixed loading playlist with SyncPlaylist turned off.
Clearing the playlist after loading with SyncPlaylist turned on.
Fixed switching to the playlist after loading the playlist from a file.


------------------------------------------------------------------------
r1050 | daper | 2005-02-23 13:35:52 +0100 (Wed, 23 Feb 2005) | 2 lines

Merged from 2.2: Fixed a resource leak in file precaching.

------------------------------------------------------------------------
r1049 | daper | 2005-02-23 13:35:09 +0100 (Wed, 23 Feb 2005) | 2 lines

Fixed a resource leak in file precaching.

------------------------------------------------------------------------
r1048 | daper | 2005-02-23 13:27:11 +0100 (Wed, 23 Feb 2005) | 2 lines

Changed buf_time_get() return value type to int.

------------------------------------------------------------------------
r1047 | daper | 2005-02-22 22:58:20 +0100 (Tue, 22 Feb 2005) | 2 lines

Merged from 2.2: Fixed new lines.

------------------------------------------------------------------------
r1046 | daper | 2005-02-22 22:58:06 +0100 (Tue, 22 Feb 2005) | 2 lines

Fixed new lines.

------------------------------------------------------------------------
r1045 | daper | 2005-02-22 22:57:09 +0100 (Tue, 22 Feb 2005) | 2 lines

Merged from 2.2: Added the author of the transparent theme.

------------------------------------------------------------------------
r1044 | daper | 2005-02-22 22:56:42 +0100 (Tue, 22 Feb 2005) | 2 lines

Added the author of the transparent theme.

------------------------------------------------------------------------
r1043 | daper | 2005-02-22 22:54:53 +0100 (Tue, 22 Feb 2005) | 2 lines

Merged from 2.2: Added the author of nightly_theme.

------------------------------------------------------------------------
r1042 | daper | 2005-02-22 22:53:35 +0100 (Tue, 22 Feb 2005) | 2 lines

Added author of nightly_theme.

------------------------------------------------------------------------
r1041 | daper | 2005-02-22 22:48:12 +0100 (Tue, 22 Feb 2005) | 3 lines

Fixed loading playlist with SyncPlaylist turned off.
Clearing the playlist after loading with SyncPlaylist turned on.

------------------------------------------------------------------------
r1040 | daper | 2005-02-22 22:11:00 +0100 (Tue, 22 Feb 2005) | 2 lines

Checking for localtime_r().

------------------------------------------------------------------------
r1039 | daper | 2005-02-22 22:08:02 +0100 (Tue, 22 Feb 2005) | 2 lines

Fixed switching to the playlist after loading the playlist from a file.

------------------------------------------------------------------------
r1038 | daper | 2005-02-18 22:10:33 +0100 (Fri, 18 Feb 2005) | 2 lines

Changed version to 2.2.0.

------------------------------------------------------------------------
r1037 | daper | 2005-02-18 22:09:50 +0100 (Fri, 18 Feb 2005) | 3 lines

Merged from 2.2: Fixed hang when running another client with file list or a
playlist as a command line argument.

------------------------------------------------------------------------
r1036 | daper | 2005-02-18 22:09:00 +0100 (Fri, 18 Feb 2005) | 3 lines

Fixed hang when running another client with file list or a playlist as a
command line argument.

------------------------------------------------------------------------
r1035 | daper | 2005-02-17 20:16:57 +0100 (Thu, 17 Feb 2005) | 2 lines

Added tags files in decoder_plugin directory to igored pattern list.

------------------------------------------------------------------------
r1034 | daper | 2005-02-17 20:14:50 +0100 (Thu, 17 Feb 2005) | 2 lines

Separated the fifo buffer code from the output buffer.

------------------------------------------------------------------------
r1033 | daper | 2005-02-17 20:14:13 +0100 (Thu, 17 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1032 | daper | 2005-02-17 11:04:48 +0100 (Thu, 17 Feb 2005) | 2 lines

Checking for strerror_r().

------------------------------------------------------------------------
r1031 | daper | 2005-02-17 10:22:50 +0100 (Thu, 17 Feb 2005) | 2 lines

Refusing to start if no decoder plugins have been loaded.

------------------------------------------------------------------------
r1030 | daper | 2005-02-17 10:13:28 +0100 (Thu, 17 Feb 2005) | 2 lines

Handling decoder errors.

------------------------------------------------------------------------
r1029 | daper | 2005-02-17 10:13:01 +0100 (Thu, 17 Feb 2005) | 2 lines

Fixed decoder_error() beaviour - it needs errno.

------------------------------------------------------------------------
r1028 | daper | 2005-02-16 23:10:41 +0100 (Wed, 16 Feb 2005) | 2 lines

Removed information about compiled-in formats.

------------------------------------------------------------------------
r1027 | daper | 2005-02-16 23:10:04 +0100 (Wed, 16 Feb 2005) | 2 lines

Removed unused #include.

------------------------------------------------------------------------
r1026 | daper | 2005-02-16 22:56:19 +0100 (Wed, 16 Feb 2005) | 2 lines

Plugin decoders loaded using libltdl.

------------------------------------------------------------------------
r1025 | daper | 2005-02-16 20:15:21 +0100 (Wed, 16 Feb 2005) | 2 lines

Fixed ignore patterns.

------------------------------------------------------------------------
r1024 | daper | 2005-02-16 20:12:57 +0100 (Wed, 16 Feb 2005) | 2 lines

Updated ignore patterns for libtool.

------------------------------------------------------------------------
r1023 | daper | 2005-02-16 20:06:58 +0100 (Wed, 16 Feb 2005) | 3 lines

Decoder as plugins in shared libraries. Compilation using moodules.
They are not loaded for now.

------------------------------------------------------------------------
r1022 | daper | 2005-02-16 16:42:35 +0100 (Wed, 16 Feb 2005) | 2 lines

New decoder API in decoder.c ready for plugins.

------------------------------------------------------------------------
r1021 | daper | 2005-02-16 16:42:02 +0100 (Wed, 16 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r1020 | daper | 2005-02-16 11:19:41 +0100 (Wed, 16 Feb 2005) | 2 lines

Checking for localtime_r().

------------------------------------------------------------------------
r1019 | daper | 2005-02-16 09:41:17 +0100 (Wed, 16 Feb 2005) | 3 lines

Added --sync, --nosync options.
Updated description for --debug.

------------------------------------------------------------------------
r1018 | daper | 2005-02-15 22:36:05 +0100 (Tue, 15 Feb 2005) | 2 lines

Added 2.2.0 changes.

------------------------------------------------------------------------
r1017 | daper | 2005-02-15 22:35:48 +0100 (Tue, 15 Feb 2005) | 2 lines

Added 2.2.0 changes.

------------------------------------------------------------------------
r1016 | daper | 2005-02-15 21:23:35 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Fixed a memory leak with SyncPlaylist turned off.

------------------------------------------------------------------------
r1015 | daper | 2005-02-15 21:23:04 +0100 (Tue, 15 Feb 2005) | 2 lines

FIxed a memory leak with SyncPlaylist turned off.

------------------------------------------------------------------------
r1014 | daper | 2005-02-15 21:19:52 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Non-blocking receiving events.

------------------------------------------------------------------------
r1013 | daper | 2005-02-15 21:19:27 +0100 (Tue, 15 Feb 2005) | 2 lines

Non-blocking receiving events.

------------------------------------------------------------------------
r1012 | daper | 2005-02-15 20:30:53 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Not select()ing clients from which we can't handle commands.

------------------------------------------------------------------------
r1011 | daper | 2005-02-15 20:30:33 +0100 (Tue, 15 Feb 2005) | 2 lines

Not select()ing clients from which we can't handle commands.

------------------------------------------------------------------------
r1010 | daper | 2005-02-15 19:37:18 +0100 (Tue, 15 Feb 2005) | 3 lines

Merged from 2.2: Fixed order of handling events: dequeue events before handling
"live" events.

------------------------------------------------------------------------
r1009 | daper | 2005-02-15 19:36:25 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed order of handling events: dequeue events before handling "live" events.

------------------------------------------------------------------------
r1008 | daper | 2005-02-15 19:01:20 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed marking file.

------------------------------------------------------------------------
r1007 | daper | 2005-02-15 19:00:19 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed marking file.

------------------------------------------------------------------------
r1006 | daper | 2005-02-15 18:49:06 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Fixed loading playlist from a file.

------------------------------------------------------------------------
r1005 | daper | 2005-02-15 18:48:41 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed loading playlist from a file.

------------------------------------------------------------------------
r1004 | daper | 2005-02-15 17:59:57 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Fixed loading the playlsit at start.

------------------------------------------------------------------------
r1003 | daper | 2005-02-15 17:59:38 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed loading the playlsit at start.

------------------------------------------------------------------------
r1002 | daper | 2005-02-15 17:53:44 +0100 (Tue, 15 Feb 2005) | 3 lines

Merged from 2.2:
Fixed clearing the playlist from the command line.

------------------------------------------------------------------------
r1001 | daper | 2005-02-15 17:53:22 +0100 (Tue, 15 Feb 2005) | 4 lines

Merged from 2.2:
Whem modifing the playlist with SyncPlaylist set, don't do it localy for
better synchronization (avoid races).

------------------------------------------------------------------------
r1000 | daper | 2005-02-15 17:52:42 +0100 (Tue, 15 Feb 2005) | 4 lines

Merged from 2.2:
All events (also with data) are put into the queue.
Sending an event is a noblocking operation.

------------------------------------------------------------------------
r999 | daper | 2005-02-15 17:43:36 +0100 (Tue, 15 Feb 2005) | 2 lines

FIxed clearing the playlist from the command line.

------------------------------------------------------------------------
r998 | daper | 2005-02-15 17:41:42 +0100 (Tue, 15 Feb 2005) | 3 lines

Whem modifing the playlist with SyncPlaylist set, don't do it localy for
better synchronization (avoid races).

------------------------------------------------------------------------
r997 | daper | 2005-02-15 17:36:03 +0100 (Tue, 15 Feb 2005) | 3 lines

All events (also with data) are put into the queue. 
Sending an event is a noblocking operation.

------------------------------------------------------------------------
r996 | daper | 2005-02-15 11:48:34 +0100 (Tue, 15 Feb 2005) | 2 lines

Merged from 2.2: Made plist_item_copy() public.

------------------------------------------------------------------------
r995 | daper | 2005-02-15 11:47:47 +0100 (Tue, 15 Feb 2005) | 2 lines

Made plist_item_copy() public.

------------------------------------------------------------------------
r994 | daper | 2005-02-15 11:28:06 +0100 (Tue, 15 Feb 2005) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r993 | daper | 2005-02-15 11:24:00 +0100 (Tue, 15 Feb 2005) | 2 lines

Don't generate serial for every directory we enter.

------------------------------------------------------------------------
r992 | daper | 2005-02-15 11:09:17 +0100 (Tue, 15 Feb 2005) | 2 lines

Updated list of features planned for 2.3.

------------------------------------------------------------------------
r991 | daper | 2005-02-15 00:03:18 +0100 (Tue, 15 Feb 2005) | 3 lines

Merged from 2.2: Added a warning message when an event queue cannot be completly
freed.

------------------------------------------------------------------------
r990 | daper | 2005-02-15 00:02:51 +0100 (Tue, 15 Feb 2005) | 2 lines

Added a warning message when an event queue cannot be completly freed.

------------------------------------------------------------------------
r989 | daper | 2005-02-14 23:47:20 +0100 (Mon, 14 Feb 2005) | 2 lines

Merged from 2.2: Moved event queue code to protocol.[ch].

------------------------------------------------------------------------
r988 | daper | 2005-02-14 23:46:15 +0100 (Mon, 14 Feb 2005) | 2 lines

Moved event queue code to protocol.[ch].

------------------------------------------------------------------------
r987 | daper | 2005-02-14 23:14:14 +0100 (Mon, 14 Feb 2005) | 2 lines

Merged from 2.2: Fixed setting serial in play_it().

------------------------------------------------------------------------
r986 | daper | 2005-02-14 23:13:12 +0100 (Mon, 14 Feb 2005) | 2 lines

Fixed setting serial in play_it().

------------------------------------------------------------------------
r985 | daper | 2005-02-14 22:55:52 +0100 (Mon, 14 Feb 2005) | 3 lines

Merged from 2.2: Fixed behaviour of --append --clear and --play: they must take
into account the SyncPlaylist option.

------------------------------------------------------------------------
r984 | daper | 2005-02-14 22:54:19 +0100 (Mon, 14 Feb 2005) | 3 lines

Fixed behaviour of --append --clear and --play: they must take into account
the SyncPlaylist option.

------------------------------------------------------------------------
r983 | daper | 2005-02-14 22:09:15 +0100 (Mon, 14 Feb 2005) | 2 lines

Merged from 2.2: Removed unused code from mark_file().

------------------------------------------------------------------------
r982 | daper | 2005-02-14 22:06:47 +0100 (Mon, 14 Feb 2005) | 2 lines

Removed unused code from mark_file()

------------------------------------------------------------------------
r981 | daper | 2005-02-12 10:45:41 +0100 (Sat, 12 Feb 2005) | 4 lines

Merged from trunk:
Added URL to the homepage.
Fixed tabs.

------------------------------------------------------------------------
r980 | daper | 2005-02-12 10:44:23 +0100 (Sat, 12 Feb 2005) | 3 lines

Added URL to the homepage.
Fixed tabs.

------------------------------------------------------------------------
r979 | daper | 2005-02-11 14:29:37 +0100 (Fri, 11 Feb 2005) | 2 lines

Added decription for --sync and --nosync options.

------------------------------------------------------------------------
r978 | daper | 2005-02-09 23:21:39 +0100 (Wed, 09 Feb 2005) | 2 lines

Marking file reverted to old behaviour: don't check the playlist serial.

------------------------------------------------------------------------
r977 | daper | 2005-02-09 23:19:47 +0100 (Wed, 09 Feb 2005) | 2 lines

Fixed previous fix in mark_file().

------------------------------------------------------------------------
r976 | daper | 2005-02-09 23:14:25 +0100 (Wed, 09 Feb 2005) | 2 lines

Marking items on the playlist regardless the serial number was reverted.

------------------------------------------------------------------------
r975 | daper | 2005-02-09 20:02:50 +0100 (Wed, 09 Feb 2005) | 2 lines

Merged from 2.2: Don't handle --debug if NDEBUG is defined.

------------------------------------------------------------------------
r974 | daper | 2005-02-09 20:02:22 +0100 (Wed, 09 Feb 2005) | 2 lines

Merged from 2.2: Fixed --version information about what is compiled-in.

------------------------------------------------------------------------
r973 | daper | 2005-02-09 19:59:51 +0100 (Wed, 09 Feb 2005) | 2 lines

Don't handle --debug if NDEBUG is defined.

------------------------------------------------------------------------
r972 | daper | 2005-02-09 19:57:16 +0100 (Wed, 09 Feb 2005) | 2 lines

Fixed --version information about what is compiled-in.

------------------------------------------------------------------------
r971 | daper | 2005-02-09 19:11:00 +0100 (Wed, 09 Feb 2005) | 3 lines

Merged from 2.2: Fixed init_interface() parameters (colision with debug() when
--disable-debug is used).

------------------------------------------------------------------------
r970 | daper | 2005-02-09 19:09:23 +0100 (Wed, 09 Feb 2005) | 2 lines

Merged from 2.2: Removed unused code from is_subdir().

------------------------------------------------------------------------
r969 | daper | 2005-02-09 18:58:24 +0100 (Wed, 09 Feb 2005) | 3 lines

Fixed init_interface() parameters (colision with debug() when --disable-debug
is used).

------------------------------------------------------------------------
r968 | daper | 2005-02-09 18:50:30 +0100 (Wed, 09 Feb 2005) | 2 lines

Removed unused code from is_subdir().

------------------------------------------------------------------------
r967 | daper | 2005-02-09 12:40:34 +0100 (Wed, 09 Feb 2005) | 3 lines

Merged from 2.2: Locking when sending many items from the playlist to other
clients.

------------------------------------------------------------------------
r966 | daper | 2005-02-09 12:39:39 +0100 (Wed, 09 Feb 2005) | 2 lines

Merged from 2.2: Synchronizing the playlist after loaded it from a file.

------------------------------------------------------------------------
r965 | daper | 2005-02-09 12:36:08 +0100 (Wed, 09 Feb 2005) | 2 lines

Locking when sending many items from the playlist to other clients.

------------------------------------------------------------------------
r964 | daper | 2005-02-09 12:32:51 +0100 (Wed, 09 Feb 2005) | 2 lines

Synchronizing the playlist after loaded it from a file.

------------------------------------------------------------------------
r963 | daper | 2005-02-08 21:06:39 +0100 (Tue, 08 Feb 2005) | 2 lines

Merged from 2.2: Fixed marking a file not present on the playlist.

------------------------------------------------------------------------
r962 | daper | 2005-02-08 21:05:49 +0100 (Tue, 08 Feb 2005) | 2 lines

Fixed marking a file not present on the playlist.

------------------------------------------------------------------------
r961 | daper | 2005-02-08 20:52:55 +0100 (Tue, 08 Feb 2005) | 2 lines

mark_file() never gets NULL file argument.

------------------------------------------------------------------------
r960 | daper | 2005-02-08 20:50:24 +0100 (Tue, 08 Feb 2005) | 3 lines

Merged from 2.2: Marking currently played file only in the menu from where the
file is played (playlist or directory view).

------------------------------------------------------------------------
r959 | daper | 2005-02-08 20:49:44 +0100 (Tue, 08 Feb 2005) | 3 lines

Marking currently played file only in the menu from where the file is played
(playlist or directory view).

------------------------------------------------------------------------
r958 | daper | 2005-02-08 20:44:40 +0100 (Tue, 08 Feb 2005) | 2 lines

Merged from 2.2: Fixed handling a playlist file as command a line argument.

------------------------------------------------------------------------
r957 | daper | 2005-02-08 20:42:40 +0100 (Tue, 08 Feb 2005) | 2 lines

Fixed handling a playlist file as command a line argument.

------------------------------------------------------------------------
r956 | daper | 2005-02-07 23:14:57 +0100 (Mon, 07 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r955 | daper | 2005-02-07 18:01:06 +0100 (Mon, 07 Feb 2005) | 2 lines

Removed unused #includes.

------------------------------------------------------------------------
r954 | daper | 2005-02-07 16:50:54 +0100 (Mon, 07 Feb 2005) | 2 lines

Changed version to 2.2.0-beta2.

------------------------------------------------------------------------
r953 | daper | 2005-02-07 16:48:27 +0100 (Mon, 07 Feb 2005) | 2 lines

Created 2.2 branch.

------------------------------------------------------------------------
r952 | daper | 2005-02-07 16:46:39 +0100 (Mon, 07 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r951 | daper | 2005-02-07 12:08:55 +0100 (Mon, 07 Feb 2005) | 2 lines

Made plist_deleted() inline.

------------------------------------------------------------------------
r950 | daper | 2005-02-07 11:52:40 +0100 (Mon, 07 Feb 2005) | 4 lines

Sending tags_title when sending a playlist item. This speeds up retriving the
playlist when tags are not available, like when whe playlist was loaded from
the .m3u file.

------------------------------------------------------------------------
r949 | daper | 2005-02-06 21:43:59 +0100 (Sun, 06 Feb 2005) | 3 lines

plist_find_del_fname() find the available item first, or returns the last
deleted item if all are deleted.

------------------------------------------------------------------------
r948 | daper | 2005-02-06 21:05:51 +0100 (Sun, 06 Feb 2005) | 2 lines

Use plist_find_del_fname() when appropriate.

------------------------------------------------------------------------
r947 | daper | 2005-02-06 21:05:05 +0100 (Sun, 06 Feb 2005) | 2 lines

Added plist_find_del_fname(): search also in deleted items.

------------------------------------------------------------------------
r946 | daper | 2005-02-06 21:04:20 +0100 (Sun, 06 Feb 2005) | 2 lines

Fixed deleting the last item from the playlist.

------------------------------------------------------------------------
r945 | daper | 2005-02-06 20:48:40 +0100 (Sun, 06 Feb 2005) | 5 lines

Added a mutex for playlists, since struct plist doesnt have it now.
Always playing previous item when Repeat is set.
Reshuffle on repeat.
audio_stop() when audio_plist_clear().

------------------------------------------------------------------------
r944 | daper | 2005-02-06 20:46:17 +0100 (Sun, 06 Feb 2005) | 6 lines

Removed mutex from the plist structure: it was not needed bu the client and not
sufficient for the server.
Keeping the file field for deleted items.
Deal with deleted items, when possible.
Added plist_last().

------------------------------------------------------------------------
r943 | daper | 2005-02-06 20:43:57 +0100 (Sun, 06 Feb 2005) | 3 lines

Updated prototypes.
Removed mutex from the plist structure.

------------------------------------------------------------------------
r942 | daper | 2005-02-06 18:40:07 +0100 (Sun, 06 Feb 2005) | 2 lines

Added assert() to str_hash().

------------------------------------------------------------------------
r941 | daper | 2005-02-06 17:26:24 +0100 (Sun, 06 Feb 2005) | 2 lines

Repeat without AutoNext plays a song in loop.

------------------------------------------------------------------------
r940 | daper | 2005-02-06 14:22:03 +0100 (Sun, 06 Feb 2005) | 2 lines

Replaced strftime() with strftime_r() which is thread-safe.

------------------------------------------------------------------------
r939 | daper | 2005-02-06 13:35:19 +0100 (Sun, 06 Feb 2005) | 2 lines

Don't clear the shuffled playlist in audio_plist_delete(), just delete the item.

------------------------------------------------------------------------
r938 | daper | 2005-02-06 11:05:41 +0100 (Sun, 06 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r937 | daper | 2005-02-06 11:05:24 +0100 (Sun, 06 Feb 2005) | 2 lines

Handling playlists generated from commands line properly with SyncPlaylist set.

------------------------------------------------------------------------
r936 | daper | 2005-02-05 22:44:05 +0100 (Sat, 05 Feb 2005) | 2 lines

Checking modification time when getting a file time from the playlist.

------------------------------------------------------------------------
r935 | daper | 2005-02-05 22:32:42 +0100 (Sat, 05 Feb 2005) | 2 lines

Checking if a key is not defined for more than one command.

------------------------------------------------------------------------
r934 | daper | 2005-02-05 21:06:51 +0100 (Sat, 05 Feb 2005) | 2 lines

Added fast, silent seeking.

------------------------------------------------------------------------
r933 | daper | 2005-02-05 17:34:56 +0100 (Sat, 05 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r932 | daper | 2005-02-05 17:21:23 +0100 (Sat, 05 Feb 2005) | 4 lines

Deleting/adding/clearing the server's playlist when the playlist is changed and
interface's playlist is used by the server.
Locking the server when doing operations on the server's playlist.

------------------------------------------------------------------------
r931 | daper | 2005-02-05 17:20:01 +0100 (Sat, 05 Feb 2005) | 2 lines

Added serial number field to the playlist structure.

------------------------------------------------------------------------
r930 | daper | 2005-02-05 17:19:25 +0100 (Sat, 05 Feb 2005) | 2 lines

Added serial number field to the playlist structure.

------------------------------------------------------------------------
r929 | daper | 2005-02-05 17:19:01 +0100 (Sat, 05 Feb 2005) | 3 lines

Added commands for getting assigning a serial number to the server playlist.
Added commands for locking the server to one client.

------------------------------------------------------------------------
r928 | daper | 2005-02-05 17:17:35 +0100 (Sat, 05 Feb 2005) | 2 lines

Added audio_plist_(get|set)_serial().

------------------------------------------------------------------------
r927 | daper | 2005-02-04 21:05:34 +0100 (Fri, 04 Feb 2005) | 2 lines

Added --sync and --nosync options.

------------------------------------------------------------------------
r926 | daper | 2005-02-04 19:43:43 +0100 (Fri, 04 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r925 | daper | 2005-02-04 19:43:18 +0100 (Fri, 04 Feb 2005) | 2 lines

Fixed assertion in plist_find_fname().

------------------------------------------------------------------------
r924 | daper | 2005-02-04 19:42:49 +0100 (Fri, 04 Feb 2005) | 2 lines

When transmiting items, send also the file hash.

------------------------------------------------------------------------
r923 | daper | 2005-02-04 19:26:55 +0100 (Fri, 04 Feb 2005) | 2 lines

Hash for file name in playlist items for faster searching.

------------------------------------------------------------------------
r922 | daper | 2005-02-04 18:46:39 +0100 (Fri, 04 Feb 2005) | 2 lines

plist_count() uses not_deleted field of playlist for speed.

------------------------------------------------------------------------
r921 | daper | 2005-02-04 18:31:35 +0100 (Fri, 04 Feb 2005) | 2 lines

Fixed interrupting reading tags.

------------------------------------------------------------------------
r920 | daper | 2005-02-04 18:22:03 +0100 (Fri, 04 Feb 2005) | 5 lines

Menu creation and updateing was changed for new menu_*() functions. Tis speeds 
up adding items to the playlist.
Cleaned up reading times.


------------------------------------------------------------------------
r919 | daper | 2005-02-04 18:19:47 +0100 (Fri, 04 Feb 2005) | 2 lines

Cleaned up functions for making/switching titles.

------------------------------------------------------------------------
r918 | daper | 2005-02-04 18:19:00 +0100 (Fri, 04 Feb 2005) | 4 lines

Changed convention:
 - use functions for accessing menu items data.
 - menu_new() make an empty menu, items can be added using menu_add().

------------------------------------------------------------------------
r917 | daper | 2005-02-04 18:17:17 +0100 (Fri, 04 Feb 2005) | 1 line

Updated.
------------------------------------------------------------------------
r916 | daper | 2005-02-04 09:58:33 +0100 (Fri, 04 Feb 2005) | 2 lines

Fixed read_directory_recurr(): don't stop if you can't read a directory.

------------------------------------------------------------------------
r915 | daper | 2005-02-03 21:05:10 +0100 (Thu, 03 Feb 2005) | 2 lines

Removed bad assertion.

------------------------------------------------------------------------
r914 | daper | 2005-02-03 21:03:49 +0100 (Thu, 03 Feb 2005) | 2 lines

Added check_duplicates parameter to read_directory_recurr().

------------------------------------------------------------------------
r913 | daper | 2005-02-03 20:58:43 +0100 (Thu, 03 Feb 2005) | 4 lines

While adding files to the playlist in read_directory_recurr(), don't check if
a file is already on the playlist - it's not needed. This speeds up making the
playlist.

------------------------------------------------------------------------
r912 | daper | 2005-02-03 20:37:40 +0100 (Thu, 03 Feb 2005) | 3 lines

When adding item due to EV_PLIST_ADD and the playlist menu is displayed, save
the menu position.

------------------------------------------------------------------------
r911 | daper | 2005-02-03 20:34:02 +0100 (Thu, 03 Feb 2005) | 2 lines

Fixed clear_playlist() usage.

------------------------------------------------------------------------
r910 | daper | 2005-02-03 20:28:18 +0100 (Thu, 03 Feb 2005) | 2 lines

Freeing playlist_menu if needed in event_plist_add().

------------------------------------------------------------------------
r909 | daper | 2005-02-03 19:45:39 +0100 (Thu, 03 Feb 2005) | 2 lines

Optimized plist_count() usage.

------------------------------------------------------------------------
r908 | daper | 2005-02-03 19:41:31 +0100 (Thu, 03 Feb 2005) | 2 lines

Fixed messages when deleting/clearing the playlist.

------------------------------------------------------------------------
r907 | daper | 2005-02-03 19:34:58 +0100 (Thu, 03 Feb 2005) | 2 lines

Moved enum tags_select to playlist.h

------------------------------------------------------------------------
r906 | daper | 2005-02-03 19:34:30 +0100 (Thu, 03 Feb 2005) | 2 lines

Added send_item(), recv_item().

------------------------------------------------------------------------
r905 | daper | 2005-02-03 19:33:52 +0100 (Thu, 03 Feb 2005) | 3 lines

Moved enum tags_select to playlist.h.
Updated prototypes.

------------------------------------------------------------------------
r904 | daper | 2005-02-03 19:33:12 +0100 (Thu, 03 Feb 2005) | 3 lines

Added plist_new_item().
plist_add_from_item() return the index of the added item.

------------------------------------------------------------------------
r903 | daper | 2005-02-03 19:32:21 +0100 (Thu, 03 Feb 2005) | 2 lines

When adding items send them as items, not file paths.

------------------------------------------------------------------------
r902 | daper | 2005-02-03 19:15:41 +0100 (Thu, 03 Feb 2005) | 2 lines

Not defining DEBUG.

------------------------------------------------------------------------
r901 | daper | 2005-02-02 22:34:28 +0100 (Wed, 02 Feb 2005) | 2 lines

Added make_tags_title() and make_file_title().

------------------------------------------------------------------------
r900 | daper | 2005-02-02 22:34:01 +0100 (Wed, 02 Feb 2005) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r899 | daper | 2005-02-02 22:33:28 +0100 (Wed, 02 Feb 2005) | 3 lines

Synchronizing playlists between clients when adding/deleting items or clearing
the playlist.

------------------------------------------------------------------------
r898 | daper | 2005-01-31 17:48:21 +0100 (Mon, 31 Jan 2005) | 1 line

Updated.
------------------------------------------------------------------------
r897 | daper | 2005-01-31 17:48:04 +0100 (Mon, 31 Jan 2005) | 2 lines

flock() files.

------------------------------------------------------------------------
r896 | daper | 2005-01-31 17:38:09 +0100 (Mon, 31 Jan 2005) | 2 lines

Added a message about getting the playlist.

------------------------------------------------------------------------
r895 | daper | 2005-01-31 17:34:19 +0100 (Mon, 31 Jan 2005) | 3 lines

Added CMD_CAN_SEND_PLIST - clients is marking itself as able to send the
playlist.

------------------------------------------------------------------------
r894 | daper | 2005-01-31 17:33:57 +0100 (Mon, 31 Jan 2005) | 3 lines

Added CMD_CAN_SEND_PLIST - clients is marking itself as able to send the
playlist.

------------------------------------------------------------------------
r893 | daper | 2005-01-31 17:26:43 +0100 (Mon, 31 Jan 2005) | 2 lines

Added SyncPlaylist option.

------------------------------------------------------------------------
r892 | daper | 2005-01-31 17:21:06 +0100 (Mon, 31 Jan 2005) | 2 lines

Forwarding the playlist between clients.

------------------------------------------------------------------------
r891 | daper | 2005-01-30 12:41:37 +0100 (Sun, 30 Jan 2005) | 2 lines

Fixed cursor position in the search command.

------------------------------------------------------------------------
r890 | daper | 2005-01-29 10:00:56 +0100 (Sat, 29 Jan 2005) | 2 lines

Checking for errors in req_get_ftime().

------------------------------------------------------------------------
r889 | daper | 2005-01-29 00:35:03 +0100 (Sat, 29 Jan 2005) | 2 lines

Apply iconv() to file names.

------------------------------------------------------------------------
r888 | daper | 2005-01-28 19:56:45 +0100 (Fri, 28 Jan 2005) | 2 lines

Added true shuffle.

------------------------------------------------------------------------
r887 | daper | 2005-01-28 19:55:28 +0100 (Fri, 28 Jan 2005) | 4 lines

Removed plist_rand().
Added plist_shuffle().
Added plist_swap_first_fname().

------------------------------------------------------------------------
r886 | daper | 2005-01-28 19:54:53 +0100 (Fri, 28 Jan 2005) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r885 | daper | 2005-01-27 16:36:06 +0100 (Thu, 27 Jan 2005) | 2 lines

Handling END and HOME keys in the entry field.

------------------------------------------------------------------------
r884 | daper | 2005-01-27 16:26:22 +0100 (Thu, 27 Jan 2005) | 2 lines

Fixed find_match_dir(): add a slash at the end of the directory name.

------------------------------------------------------------------------
r883 | daper | 2005-01-27 16:25:29 +0100 (Thu, 27 Jan 2005) | 2 lines

Fixed entry_go_dir_key(): don't add a slash at the end of the directory name.

------------------------------------------------------------------------
r882 | daper | 2005-01-27 15:03:39 +0100 (Thu, 27 Jan 2005) | 2 lines

Fixed entry for keymap.example.

------------------------------------------------------------------------
r881 | daper | 2005-01-27 14:36:32 +0100 (Thu, 27 Jan 2005) | 1 line

Fixed a typo.
------------------------------------------------------------------------
r880 | daper | 2005-01-27 14:32:30 +0100 (Thu, 27 Jan 2005) | 1 line

Updated.
------------------------------------------------------------------------
r879 | daper | 2005-01-27 14:13:56 +0100 (Thu, 27 Jan 2005) | 2 lines

Fixed a crash, when the server returns bad current time.

------------------------------------------------------------------------
r878 | daper | 2005-01-27 14:09:04 +0100 (Thu, 27 Jan 2005) | 4 lines

Arrow keys and the delete key works in the entry field.
Fixed update_ctime() when CMD_GET_CTIME fails.
Updated the copyright notice.

------------------------------------------------------------------------
r877 | daper | 2005-01-25 23:32:55 +0100 (Tue, 25 Jan 2005) | 2 lines

Fixed getting time when paused.

------------------------------------------------------------------------
r876 | daper | 2005-01-24 22:30:03 +0100 (Mon, 24 Jan 2005) | 2 lines

Change the xterm title and also the icon name.

------------------------------------------------------------------------
r875 | daper | 2005-01-22 22:35:24 +0100 (Sat, 22 Jan 2005) | 2 lines

Merged from trunk: Fixed getting time when nothing is played.

------------------------------------------------------------------------
r874 | daper | 2005-01-22 22:30:51 +0100 (Sat, 22 Jan 2005) | 2 lines

Fixed getting time when nothing is played.

------------------------------------------------------------------------
r873 | daper | 2005-01-11 23:11:19 +0100 (Tue, 11 Jan 2005) | 2 lines

Added AlsaMixer and AlsaDevice options.

------------------------------------------------------------------------
r872 | daper | 2005-01-08 20:34:09 +0100 (Sat, 08 Jan 2005) | 2 lines

Fixed adding directories recursively when ReadTags is turned off.

------------------------------------------------------------------------
r871 | daper | 2005-01-06 12:42:16 +0100 (Thu, 06 Jan 2005) | 2 lines

Don't handle regular keys in entry_go_dir_key().

------------------------------------------------------------------------
r870 | daper | 2005-01-06 10:54:54 +0100 (Thu, 06 Jan 2005) | 2 lines

Merged from trunk: Workaround for failing endwin().

------------------------------------------------------------------------
r869 | daper | 2005-01-06 10:53:01 +0100 (Thu, 06 Jan 2005) | 2 lines

Workaround for failing endwin().

------------------------------------------------------------------------
r868 | daper | 2005-01-06 00:22:23 +0100 (Thu, 06 Jan 2005) | 2 lines

Don't dequeue events if the user wants to quit.

------------------------------------------------------------------------
r867 | daper | 2005-01-06 00:09:59 +0100 (Thu, 06 Jan 2005) | 2 lines

Added a log message about exining.

------------------------------------------------------------------------
r866 | daper | 2005-01-06 00:08:55 +0100 (Thu, 06 Jan 2005) | 2 lines

Added a debug message about running interface.

------------------------------------------------------------------------
r865 | daper | 2005-01-06 00:05:48 +0100 (Thu, 06 Jan 2005) | 2 lines

Added note how to redefine keys.

------------------------------------------------------------------------
r864 | daper | 2005-01-06 00:01:15 +0100 (Thu, 06 Jan 2005) | 1 line

Updated.
------------------------------------------------------------------------
r863 | daper | 2005-01-06 00:01:11 +0100 (Thu, 06 Jan 2005) | 2 lines

Added keymap.example.

------------------------------------------------------------------------
r862 | daper | 2005-01-05 23:48:14 +0100 (Wed, 05 Jan 2005) | 2 lines

play list -> playlist.

------------------------------------------------------------------------
r861 | daper | 2005-01-05 23:45:11 +0100 (Wed, 05 Jan 2005) | 2 lines

Fixed many typos :)

------------------------------------------------------------------------
r860 | daper | 2005-01-05 23:42:02 +0100 (Wed, 05 Jan 2005) | 2 lines

Added example keymap.

------------------------------------------------------------------------
r859 | daper | 2005-01-05 23:28:33 +0100 (Wed, 05 Jan 2005) | 2 lines

Fixed typos.

------------------------------------------------------------------------
r858 | daper | 2005-01-05 23:21:25 +0100 (Wed, 05 Jan 2005) | 2 lines

Remove a TODO entry.

------------------------------------------------------------------------
r857 | daper | 2005-01-05 23:07:33 +0100 (Wed, 05 Jan 2005) | 2 lines

Using get_keys_help() instead of fixed help message.

------------------------------------------------------------------------
r856 | daper | 2005-01-05 23:07:05 +0100 (Wed, 05 Jan 2005) | 1 line

Updated prototypes.h
------------------------------------------------------------------------
r855 | daper | 2005-01-05 23:06:49 +0100 (Wed, 05 Jan 2005) | 3 lines

Added generating a help message and get_keys_help().
Added keys_cleanup().

------------------------------------------------------------------------
r854 | daper | 2005-01-05 10:34:51 +0100 (Wed, 05 Jan 2005) | 2 lines

Merged from trunk: Fixed setting sound_params.

------------------------------------------------------------------------
r853 | daper | 2005-01-04 10:37:28 +0100 (Tue, 04 Jan 2005) | 2 lines

Fixed setting sound_params.

------------------------------------------------------------------------
r852 | daper | 2005-01-01 17:44:41 +0100 (Sat, 01 Jan 2005) | 2 lines

Fixed going to the root directory with the i command.

------------------------------------------------------------------------
r851 | daper | 2005-01-01 15:54:06 +0100 (Sat, 01 Jan 2005) | 2 lines

2.1.4 release.

------------------------------------------------------------------------
r850 | daper | 2005-01-01 15:10:13 +0100 (Sat, 01 Jan 2005) | 2 lines

Added 2.1.4 changes.

------------------------------------------------------------------------
r849 | daper | 2004-12-31 18:10:37 +0100 (Fri, 31 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r848 | daper | 2004-12-31 18:04:19 +0100 (Fri, 31 Dec 2004) | 2 lines

Changed version to 2.1.4.

------------------------------------------------------------------------
r847 | daper | 2004-12-31 18:02:17 +0100 (Fri, 31 Dec 2004) | 3 lines

Merged from trunk: Fixed do_title_expn(): don't segfault when the size of the
buffer is 1.

------------------------------------------------------------------------
r846 | daper | 2004-12-31 18:01:34 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Removed new line chars from error() invokations.

------------------------------------------------------------------------
r845 | daper | 2004-12-31 18:00:27 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Detect other terminals beside xterm.

------------------------------------------------------------------------
r844 | daper | 2004-12-31 17:59:30 +0100 (Fri, 31 Dec 2004) | 3 lines

Merged from trunk: Fixed reading track numbers when they are not only numbers
like "1/9".

------------------------------------------------------------------------
r843 | daper | 2004-12-31 17:58:10 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Fixed reading track number.

------------------------------------------------------------------------
r842 | daper | 2004-12-31 17:54:39 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Fixed filling tags. This bug led to memory leaks.

------------------------------------------------------------------------
r841 | daper | 2004-12-31 17:50:55 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Added plist_cat().

------------------------------------------------------------------------
r840 | daper | 2004-12-31 17:50:33 +0100 (Fri, 31 Dec 2004) | 3 lines

Merged from trunk: Sorting the files before adding them when using the A
command.

------------------------------------------------------------------------
r839 | daper | 2004-12-31 17:49:54 +0100 (Fri, 31 Dec 2004) | 2 lines

Merged from trunk: Fixed the 'next' command when AutoNext is turned off.

------------------------------------------------------------------------
r838 | daper | 2004-12-27 12:51:33 +0100 (Mon, 27 Dec 2004) | 2 lines

Added the space key.

------------------------------------------------------------------------
r837 | daper | 2004-12-27 12:50:54 +0100 (Mon, 27 Dec 2004) | 2 lines

Added help to the commands.

------------------------------------------------------------------------
r836 | daper | 2004-12-27 10:50:23 +0100 (Mon, 27 Dec 2004) | 2 lines

Fixed key names.

------------------------------------------------------------------------
r835 | daper | 2004-12-27 10:46:02 +0100 (Mon, 27 Dec 2004) | 2 lines

Added special keys.

------------------------------------------------------------------------
r834 | daper | 2004-12-26 22:01:34 +0100 (Sun, 26 Dec 2004) | 2 lines

Don't accept empty key list.

------------------------------------------------------------------------
r833 | daper | 2004-12-26 21:57:56 +0100 (Sun, 26 Dec 2004) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r832 | daper | 2004-12-26 21:50:03 +0100 (Sun, 26 Dec 2004) | 2 lines

Removed erroneous "Bad key" message. 

------------------------------------------------------------------------
r831 | daper | 2004-12-26 21:47:20 +0100 (Sun, 26 Dec 2004) | 2 lines

Fixed reading meta keys.

------------------------------------------------------------------------
r830 | daper | 2004-12-26 21:43:20 +0100 (Sun, 26 Dec 2004) | 2 lines

Fixed creating meta keys.

------------------------------------------------------------------------
r829 | daper | 2004-12-26 21:36:36 +0100 (Sun, 26 Dec 2004) | 2 lines

Fixed M- sequence.

------------------------------------------------------------------------
r828 | daper | 2004-12-26 21:34:07 +0100 (Sun, 26 Dec 2004) | 2 lines

Added keys.[ch]

------------------------------------------------------------------------
r827 | daper | 2004-12-26 21:33:54 +0100 (Sun, 26 Dec 2004) | 2 lines

Fixed memory leak.

------------------------------------------------------------------------
r826 | daper | 2004-12-26 21:33:18 +0100 (Sun, 26 Dec 2004) | 2 lines

Mentioned defining keys.

------------------------------------------------------------------------
r825 | daper | 2004-12-26 21:32:49 +0100 (Sun, 26 Dec 2004) | 2 lines

Added Keymap option.

------------------------------------------------------------------------
r824 | daper | 2004-12-26 21:32:26 +0100 (Sun, 26 Dec 2004) | 3 lines

Keys definition in keys.c.
Support for keymap file.

------------------------------------------------------------------------
r823 | daper | 2004-12-25 11:12:13 +0100 (Sat, 25 Dec 2004) | 2 lines

Moved themes code into themes.c.

------------------------------------------------------------------------
r822 | daper | 2004-12-25 11:09:26 +0100 (Sat, 25 Dec 2004) | 2 lines

Fixed do_title_expn(): don't segfault when the size of the buffer is 1.

------------------------------------------------------------------------
r821 | daper | 2004-12-24 22:59:54 +0100 (Fri, 24 Dec 2004) | 2 lines

Replaced interface_error() with general error routine.

------------------------------------------------------------------------
r820 | daper | 2004-12-24 22:59:17 +0100 (Fri, 24 Dec 2004) | 2 lines

Added error().

------------------------------------------------------------------------
r819 | daper | 2004-12-24 22:58:56 +0100 (Fri, 24 Dec 2004) | 2 lines

Replaced error() with server_error().

------------------------------------------------------------------------
r818 | daper | 2004-12-24 22:58:18 +0100 (Fri, 24 Dec 2004) | 2 lines

Removed new line chars from error() invokations.

------------------------------------------------------------------------
r817 | daper | 2004-12-24 12:01:48 +0100 (Fri, 24 Dec 2004) | 3 lines

Don't do update_info_win() in interface_error(): this fixes a problem when a
finction that modyfies a playlist issues an error.

------------------------------------------------------------------------
r816 | daper | 2004-12-24 11:59:08 +0100 (Fri, 24 Dec 2004) | 2 lines

Added (empty|filled)_mixer_bar, (empty|filled)_time_bar.

------------------------------------------------------------------------
r815 | daper | 2004-12-24 11:58:13 +0100 (Fri, 24 Dec 2004) | 2 lines

Don't initialize colors when not necessary - overcomes COLOR_PAIRS limit.

------------------------------------------------------------------------
r814 | daper | 2004-12-24 11:48:48 +0100 (Fri, 24 Dec 2004) | 2 lines

Added a bar showing time of the current file.

------------------------------------------------------------------------
r813 | daper | 2004-12-23 17:10:42 +0100 (Thu, 23 Dec 2004) | 2 lines

Replaced tabs with spaces in the help text.

------------------------------------------------------------------------
r812 | daper | 2004-12-23 12:56:58 +0100 (Thu, 23 Dec 2004) | 2 lines

Added SavePlaylist option.

------------------------------------------------------------------------
r811 | daper | 2004-12-23 12:02:42 +0100 (Thu, 23 Dec 2004) | 2 lines

Updated copyright notice.

------------------------------------------------------------------------
r810 | daper | 2004-12-23 11:58:26 +0100 (Thu, 23 Dec 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r809 | daper | 2004-12-23 11:57:51 +0100 (Thu, 23 Dec 2004) | 2 lines

Added CMD_PREV.

------------------------------------------------------------------------
r808 | daper | 2004-12-23 11:57:14 +0100 (Thu, 23 Dec 2004) | 2 lines

Added audio_prev() function and request.

------------------------------------------------------------------------
r807 | daper | 2004-12-23 11:56:49 +0100 (Thu, 23 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r806 | daper | 2004-12-23 11:53:59 +0100 (Thu, 23 Dec 2004) | 2 lines

Added plist_prev().

------------------------------------------------------------------------
r805 | daper | 2004-12-23 11:53:26 +0100 (Thu, 23 Dec 2004) | 2 lines

Added b command.

------------------------------------------------------------------------
r804 | daper | 2004-12-23 11:50:58 +0100 (Thu, 23 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r803 | daper | 2004-12-23 11:50:39 +0100 (Thu, 23 Dec 2004) | 2 lines

Added function for getting the duration of already opened file.

------------------------------------------------------------------------
r802 | daper | 2004-12-23 11:50:00 +0100 (Thu, 23 Dec 2004) | 2 lines

Added some debug code.

------------------------------------------------------------------------
r801 | daper | 2004-12-23 11:37:19 +0100 (Thu, 23 Dec 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r800 | daper | 2004-12-23 11:37:02 +0100 (Thu, 23 Dec 2004) | 2 lines

Filled req_get_ftime().

------------------------------------------------------------------------
r799 | daper | 2004-12-23 11:36:22 +0100 (Thu, 23 Dec 2004) | 3 lines

Added functions for setting and getting times from the playlist.
Added audio_state_started_playing().

------------------------------------------------------------------------
r798 | daper | 2004-12-23 11:35:06 +0100 (Thu, 23 Dec 2004) | 2 lines

Setting the file time after opening a file.

------------------------------------------------------------------------
r797 | daper | 2004-12-23 11:34:30 +0100 (Thu, 23 Dec 2004) | 2 lines

Added get_duration to struct decoder_funcs.

------------------------------------------------------------------------
r796 | daper | 2004-12-23 11:18:54 +0100 (Thu, 23 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r795 | daper | 2004-12-23 10:02:58 +0100 (Thu, 23 Dec 2004) | 2 lines

Including player.h.

------------------------------------------------------------------------
r794 | daper | 2004-12-23 09:05:14 +0100 (Thu, 23 Dec 2004) | 2 lines

Detect other terminals beside xterm.

------------------------------------------------------------------------
r793 | daper | 2004-12-22 23:29:44 +0100 (Wed, 22 Dec 2004) | 2 lines

Added green_theme.

------------------------------------------------------------------------
r792 | daper | 2004-12-22 23:20:45 +0100 (Wed, 22 Dec 2004) | 2 lines

Print  new line after exit.

------------------------------------------------------------------------
r791 | daper | 2004-12-22 15:11:52 +0100 (Wed, 22 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r790 | daper | 2004-12-22 14:41:23 +0100 (Wed, 22 Dec 2004) | 2 lines

Added Florian Kriener as the author of build_title().

------------------------------------------------------------------------
r789 | daper | 2004-12-22 14:38:33 +0100 (Wed, 22 Dec 2004) | 6 lines

Added '/' command working as an alias for g.
Added CTRL-n working like CTRL-g.
? key working like h.
Playlist time displayed in format 000:00:00.
Added description for the escape key to the help.

------------------------------------------------------------------------
r788 | daper | 2004-12-21 20:59:54 +0100 (Tue, 21 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r787 | daper | 2004-12-21 12:49:34 +0100 (Tue, 21 Dec 2004) | 2 lines

Added help for the U command.

------------------------------------------------------------------------
r786 | daper | 2004-12-21 12:34:34 +0100 (Tue, 21 Dec 2004) | 3 lines

Fixed get_file_time(): update the time on the playlists also when using the
cache.

------------------------------------------------------------------------
r785 | daper | 2004-12-20 23:54:37 +0100 (Mon, 20 Dec 2004) | 2 lines

Fixed update_file(): update the title if needed.

------------------------------------------------------------------------
r784 | daper | 2004-12-20 23:23:48 +0100 (Mon, 20 Dec 2004) | 2 lines

Fixed going to a directory.

------------------------------------------------------------------------
r783 | daper | 2004-12-20 23:15:07 +0100 (Mon, 20 Dec 2004) | 2 lines

Added the U command.

------------------------------------------------------------------------
r782 | daper | 2004-12-19 14:15:13 +0100 (Sun, 19 Dec 2004) | 2 lines

Added nightly_theme.

------------------------------------------------------------------------
r781 | daper | 2004-12-19 14:14:43 +0100 (Sun, 19 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r780 | daper | 2004-12-18 23:30:31 +0100 (Sat, 18 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r779 | daper | 2004-12-18 23:28:11 +0100 (Sat, 18 Dec 2004) | 2 lines

Hiding the cursor if not needed.

------------------------------------------------------------------------
r778 | daper | 2004-12-18 22:36:59 +0100 (Sat, 18 Dec 2004) | 1 line

Updated.
------------------------------------------------------------------------
r777 | daper | 2004-12-18 22:30:14 +0100 (Sat, 18 Dec 2004) | 2 lines

Fixed reading track numbers when they are not only numbers like "1/9".

------------------------------------------------------------------------
r776 | daper | 2004-12-18 18:15:25 +0100 (Sat, 18 Dec 2004) | 2 lines

Changed the erroneous name of the time_left_frames to time_total_frames.

------------------------------------------------------------------------
r775 | daper | 2004-12-18 18:11:13 +0100 (Sat, 18 Dec 2004) | 2 lines

FIxed reading track number.

------------------------------------------------------------------------
r774 | daper | 2004-12-18 15:53:23 +0100 (Sat, 18 Dec 2004) | 2 lines

Fixed the G command that didn't work in the playlist.

------------------------------------------------------------------------
r773 | daper | 2004-12-17 21:34:15 +0100 (Fri, 17 Dec 2004) | 2 lines

Added the G command.

------------------------------------------------------------------------
r772 | daper | 2004-12-17 21:17:31 +0100 (Fri, 17 Dec 2004) | 2 lines

Added --pause and --unpause options.

------------------------------------------------------------------------
r771 | daper | 2004-12-17 20:15:02 +0100 (Fri, 17 Dec 2004) | 2 lines

Exiting from an entry using CTRL-C.

------------------------------------------------------------------------
r770 | daper | 2004-12-17 19:00:29 +0100 (Fri, 17 Dec 2004) | 1 line

Updated
------------------------------------------------------------------------
r769 | daper | 2004-12-17 18:52:29 +0100 (Fri, 17 Dec 2004) | 2 lines

Added plist_time entry.

------------------------------------------------------------------------
r768 | daper | 2004-12-17 17:44:26 +0100 (Fri, 17 Dec 2004) | 3 lines

Not loading the saved playlist if the playlist was created from the arguments.
Updating the total time when toggling ShowTime to yes.

------------------------------------------------------------------------
r767 | daper | 2004-12-17 17:26:35 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed filling tags. This bug led to memory leaks.

------------------------------------------------------------------------
r766 | daper | 2004-12-17 17:08:06 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed sync_plists_data() when src has deleted items.

------------------------------------------------------------------------
r765 | daper | 2004-12-17 17:04:49 +0100 (Fri, 17 Dec 2004) | 3 lines

Fixed segfault when running moc with file list as argument.
Small cleanup.

------------------------------------------------------------------------
r764 | daper | 2004-12-17 16:47:04 +0100 (Fri, 17 Dec 2004) | 2 lines

Updating the total time of the playlist after deleting an item.

------------------------------------------------------------------------
r763 | daper | 2004-12-17 16:26:54 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed displaying the total time of the playlist.

------------------------------------------------------------------------
r762 | daper | 2004-12-17 16:22:26 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed sec_to_min() time format.

------------------------------------------------------------------------
r761 | daper | 2004-12-17 16:13:36 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed interrupting by CTRL-C.

------------------------------------------------------------------------
r760 | daper | 2004-12-17 16:12:08 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed time format for more than 99:59.

------------------------------------------------------------------------
r759 | daper | 2004-12-17 16:10:31 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed refreshing the total time while switching between the playlists.

------------------------------------------------------------------------
r758 | daper | 2004-12-17 16:03:11 +0100 (Fri, 17 Dec 2004) | 2 lines

Added plist_time to the theme elements.

------------------------------------------------------------------------
r757 | daper | 2004-12-17 16:00:25 +0100 (Fri, 17 Dec 2004) | 2 lines

Searching for a theme in the user directory first.

------------------------------------------------------------------------
r756 | daper | 2004-12-17 15:59:36 +0100 (Fri, 17 Dec 2004) | 2 lines

Added plist_total_time().

------------------------------------------------------------------------
r755 | daper | 2004-12-17 15:59:21 +0100 (Fri, 17 Dec 2004) | 2 lines

Displaying the ttal time of the files in the menu.

------------------------------------------------------------------------
r754 | daper | 2004-12-17 14:49:05 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed segfault when the time of a file can't be read.

------------------------------------------------------------------------
r753 | daper | 2004-12-17 14:41:00 +0100 (Fri, 17 Dec 2004) | 2 lines

Not using cached file time if the file was changed.

------------------------------------------------------------------------
r752 | daper | 2004-12-17 14:33:55 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed accesing tags in file_title() causing segfault.

------------------------------------------------------------------------
r751 | daper | 2004-12-17 14:27:38 +0100 (Fri, 17 Dec 2004) | 2 lines

Fixed displaying the currently played file when the title cannot be build.

------------------------------------------------------------------------
r750 | daper | 2004-12-12 19:51:25 +0100 (Sun, 12 Dec 2004) | 2 lines

FIxed draw_mixer() declaration.

------------------------------------------------------------------------
r749 | daper | 2004-12-11 18:39:16 +0100 (Sat, 11 Dec 2004) | 2 lines

Fixed positions of time and file format in the menu.

------------------------------------------------------------------------
r748 | daper | 2004-12-11 15:43:34 +0100 (Sat, 11 Dec 2004) | 3 lines

Fixed order of synchronizing playlists in load_dir().
Fixed get_file_time().

------------------------------------------------------------------------
r747 | daper | 2004-12-11 15:42:17 +0100 (Sat, 11 Dec 2004) | 2 lines

Filled update_file().

------------------------------------------------------------------------
r746 | daper | 2004-12-11 14:34:42 +0100 (Sat, 11 Dec 2004) | 2 lines

Fixed plist_cat(): avoid duplicates.

------------------------------------------------------------------------
r745 | daper | 2004-12-11 13:54:47 +0100 (Sat, 11 Dec 2004) | 2 lines

Don't read TAGS_COMMENTS.

------------------------------------------------------------------------
r744 | daper | 2004-12-11 13:52:35 +0100 (Sat, 11 Dec 2004) | 4 lines

Added title_tags and title_file to the plist_item structure.
Reading tags only if necessary - first checking if we already have the data.
Getting file time from the server if possible.

------------------------------------------------------------------------
r743 | daper | 2004-11-22 17:15:01 +0100 (Mon, 22 Nov 2004) | 2 lines

Added plist_cat().

------------------------------------------------------------------------
r742 | daper | 2004-11-22 17:13:05 +0100 (Mon, 22 Nov 2004) | 2 lines

Sorting the files before adding them when using the A command.

------------------------------------------------------------------------
r741 | daper | 2004-11-21 16:53:00 +0100 (Sun, 21 Nov 2004) | 3 lines

Fixed add_dir_file for root directory.
FIxed memory leak in find_match_dir().

------------------------------------------------------------------------
r740 | daper | 2004-11-21 16:52:02 +0100 (Sun, 21 Nov 2004) | 2 lines

Added help for the i command.

------------------------------------------------------------------------
r739 | daper | 2004-11-20 22:09:46 +0100 (Sat, 20 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r738 | daper | 2004-11-20 20:56:51 +0100 (Sat, 20 Nov 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r737 | daper | 2004-11-20 20:56:19 +0100 (Sat, 20 Nov 2004) | 2 lines

Updated libraries and supported formats list.

------------------------------------------------------------------------
r736 | daper | 2004-11-20 20:55:44 +0100 (Sat, 20 Nov 2004) | 2 lines

Checking for endianes.

------------------------------------------------------------------------
r735 | daper | 2004-11-20 20:55:24 +0100 (Sat, 20 Nov 2004) | 2 lines

Producing output in machine's endianes.

------------------------------------------------------------------------
r734 | daper | 2004-11-20 20:54:36 +0100 (Sat, 20 Nov 2004) | 2 lines

Using native endianes instead of little endian.

------------------------------------------------------------------------
r733 | daper | 2004-11-17 11:19:01 +0100 (Wed, 17 Nov 2004) | 2 lines

Using ForceTheme options when -T is set.

------------------------------------------------------------------------
r732 | daper | 2004-11-17 11:18:41 +0100 (Wed, 17 Nov 2004) | 2 lines

Added XTermTheme option.

------------------------------------------------------------------------
r731 | daper | 2004-11-17 09:51:18 +0100 (Wed, 17 Nov 2004) | 2 lines

Fixed the 'next' command when AutoNext is turned off.

------------------------------------------------------------------------
r730 | daper | 2004-11-17 08:57:10 +0100 (Wed, 17 Nov 2004) | 2 lines

Using sf_readf_short() instead of sf_read_short()

------------------------------------------------------------------------
r729 | daper | 2004-11-17 00:12:00 +0100 (Wed, 17 Nov 2004) | 2 lines

Fixed opening file.

------------------------------------------------------------------------
r728 | daper | 2004-11-17 00:03:58 +0100 (Wed, 17 Nov 2004) | 3 lines

Added formats: aiff, svx, sph, irc, voc.
Added snd extension to .au files.

------------------------------------------------------------------------
r727 | daper | 2004-11-17 00:02:55 +0100 (Wed, 17 Nov 2004) | 3 lines

Added some debug info.
Fixed playing mono files.

------------------------------------------------------------------------
r726 | daper | 2004-11-16 22:42:49 +0100 (Tue, 16 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r725 | daper | 2004-11-16 22:42:22 +0100 (Tue, 16 Nov 2004) | 2 lines

Added themes to EXTRA_DIST.

------------------------------------------------------------------------
r724 | daper | 2004-11-16 22:42:05 +0100 (Tue, 16 Nov 2004) | 2 lines

Text entry can be longer than the entry width.

------------------------------------------------------------------------
r723 | daper | 2004-11-16 21:22:39 +0100 (Tue, 16 Nov 2004) | 2 lines

Fixed a message saying what is to be compiled-in.

------------------------------------------------------------------------
r722 | daper | 2004-11-16 21:01:27 +0100 (Tue, 16 Nov 2004) | 2 lines

Deleted: now it's supported using libsndfile.

------------------------------------------------------------------------
r721 | daper | 2004-11-16 21:00:54 +0100 (Tue, 16 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r720 | daper | 2004-11-16 21:00:45 +0100 (Tue, 16 Nov 2004) | 2 lines

Redesigned file types table.

------------------------------------------------------------------------
r719 | daper | 2004-11-16 21:00:18 +0100 (Tue, 16 Nov 2004) | 2 lines

Added support for libsndfile.

------------------------------------------------------------------------
r718 | daper | 2004-11-16 09:56:26 +0100 (Tue, 16 Nov 2004) | 2 lines

Changed grey to blue, this fixes transparency.

------------------------------------------------------------------------
r717 | daper | 2004-11-15 09:25:07 +0100 (Mon, 15 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r716 | daper | 2004-11-15 09:23:59 +0100 (Mon, 15 Nov 2004) | 2 lines

Changed version to 2.1.3.

------------------------------------------------------------------------
r715 | daper | 2004-11-15 09:23:50 +0100 (Mon, 15 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r714 | daper | 2004-11-15 00:17:52 +0100 (Mon, 15 Nov 2004) | 3 lines

Searching for a theme also in the system directory and in the current directory.
Moved file_exists() to files.c.

------------------------------------------------------------------------
r713 | daper | 2004-11-15 00:16:42 +0100 (Mon, 15 Nov 2004) | 2 lines

Added file_exists() from interface.c

------------------------------------------------------------------------
r712 | daper | 2004-11-15 00:16:28 +0100 (Mon, 15 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r711 | daper | 2004-11-15 00:16:14 +0100 (Mon, 15 Nov 2004) | 2 lines

Setting -DSYSTEM_THEMES_DIR.

------------------------------------------------------------------------
r710 | daper | 2004-11-15 00:15:55 +0100 (Mon, 15 Nov 2004) | 2 lines

New system themes directory.

------------------------------------------------------------------------
r709 | daper | 2004-11-14 23:39:24 +0100 (Sun, 14 Nov 2004) | 2 lines

Adde dignore patterns.

------------------------------------------------------------------------
r708 | daper | 2004-11-14 23:38:42 +0100 (Sun, 14 Nov 2004) | 2 lines

Removed bad themes pattern from ignore.

------------------------------------------------------------------------
r707 | daper | 2004-11-14 23:37:51 +0100 (Sun, 14 Nov 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r706 | daper | 2004-11-14 23:36:27 +0100 (Sun, 14 Nov 2004) | 2 lines

Added themes/Makefile.* ignore patterns.

------------------------------------------------------------------------
r705 | daper | 2004-11-14 23:35:16 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r704 | daper | 2004-11-14 23:32:12 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r703 | daper | 2004-11-14 23:31:59 +0100 (Sun, 14 Nov 2004) | 2 lines

Moved to themes.

------------------------------------------------------------------------
r702 | daper | 2004-11-14 23:31:44 +0100 (Sun, 14 Nov 2004) | 3 lines

Added themes directory.
Themes and documentation is now installed.

------------------------------------------------------------------------
r701 | daper | 2004-11-14 23:29:20 +0100 (Sun, 14 Nov 2004) | 2 lines

Added info about default and grey colors.

------------------------------------------------------------------------
r700 | daper | 2004-11-14 22:36:34 +0100 (Sun, 14 Nov 2004) | 2 lines

Added default and grey colors.

------------------------------------------------------------------------
r699 | daper | 2004-11-14 22:19:17 +0100 (Sun, 14 Nov 2004) | 2 lines

Redesigned directory matching code for the i command. This fixes a few issues.

------------------------------------------------------------------------
r698 | daper | 2004-11-14 22:17:38 +0100 (Sun, 14 Nov 2004) | 3 lines

find_match_dir() also matches empty string.
resolve_path() with constant file argument.

------------------------------------------------------------------------
r697 | daper | 2004-11-14 22:16:19 +0100 (Sun, 14 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r696 | daper | 2004-11-14 18:08:09 +0100 (Sun, 14 Nov 2004) | 2 lines

Fixed a comment.

------------------------------------------------------------------------
r695 | daper | 2004-11-14 15:55:48 +0100 (Sun, 14 Nov 2004) | 2 lines

Checking for AFMT_S24_LE.

------------------------------------------------------------------------
r694 | daper | 2004-11-14 15:02:22 +0100 (Sun, 14 Nov 2004) | 2 lines

Using AFMT_S24_LE only if present.

------------------------------------------------------------------------
r693 | daper | 2004-11-14 13:31:28 +0100 (Sun, 14 Nov 2004) | 3 lines

Not goint to a file if search pattern is empty.
Fixed refreshing window in i command.

------------------------------------------------------------------------
r692 | daper | 2004-11-14 13:13:00 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r691 | daper | 2004-11-14 13:09:44 +0100 (Sun, 14 Nov 2004) | 2 lines

colour -> color.

------------------------------------------------------------------------
r690 | daper | 2004-11-14 13:06:49 +0100 (Sun, 14 Nov 2004) | 2 lines

Fixed resolving '~' when using the i command.

------------------------------------------------------------------------
r689 | daper | 2004-11-14 13:02:16 +0100 (Sun, 14 Nov 2004) | 2 lines

Added fast going to a directory ('i' command).

------------------------------------------------------------------------
r688 | daper | 2004-11-14 13:01:45 +0100 (Sun, 14 Nov 2004) | 2 lines

Added find_match_dir().

------------------------------------------------------------------------
r687 | daper | 2004-11-14 13:01:29 +0100 (Sun, 14 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r686 | daper | 2004-11-14 11:31:05 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r685 | daper | 2004-11-14 11:30:43 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r684 | daper | 2004-11-14 10:46:38 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r683 | daper | 2004-11-14 10:45:01 +0100 (Sun, 14 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r682 | daper | 2004-11-14 10:42:15 +0100 (Sun, 14 Nov 2004) | 2 lines

Merged from trunk: Fixed clearing the request after doing it.

------------------------------------------------------------------------
r681 | daper | 2004-11-14 10:41:26 +0100 (Sun, 14 Nov 2004) | 2 lines

Fixed clearing the request after doing it.

------------------------------------------------------------------------
r680 | daper | 2004-11-14 09:52:58 +0100 (Sun, 14 Nov 2004) | 3 lines

Merged from trunk: Handling 8, 16, and 24 bits formats, refusing everything
else.

------------------------------------------------------------------------
r679 | daper | 2004-11-14 00:04:09 +0100 (Sun, 14 Nov 2004) | 2 lines

Merged from trunk: Fixed UseMmap=no.

------------------------------------------------------------------------
r678 | daper | 2004-11-14 00:03:16 +0100 (Sun, 14 Nov 2004) | 2 lines

Fixed UseMmap=no.

------------------------------------------------------------------------
r677 | daper | 2004-11-13 22:03:03 +0100 (Sat, 13 Nov 2004) | 2 lines

File extensions table for each format instead of a single extension.

------------------------------------------------------------------------
r676 | daper | 2004-11-13 21:48:25 +0100 (Sat, 13 Nov 2004) | 2 lines

Changed version to 2.1.2.

------------------------------------------------------------------------
r675 | daper | 2004-11-13 21:48:09 +0100 (Sat, 13 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r674 | daper | 2004-11-13 21:47:09 +0100 (Sat, 13 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r673 | daper | 2004-11-13 21:44:46 +0100 (Sat, 13 Nov 2004) | 2 lines

Merged from trunk: Fixed handling device open error.

------------------------------------------------------------------------
r672 | daper | 2004-11-13 21:43:35 +0100 (Sat, 13 Nov 2004) | 2 lines

Fixed handling device open errors.

------------------------------------------------------------------------
r671 | daper | 2004-11-13 21:42:56 +0100 (Sat, 13 Nov 2004) | 2 lines

Merged from trunk: Fixed setting bitrate.

------------------------------------------------------------------------
r670 | daper | 2004-11-13 21:41:06 +0100 (Sat, 13 Nov 2004) | 2 lines

Fixed setting bitrate.

------------------------------------------------------------------------
r669 | daper | 2004-11-13 21:18:53 +0100 (Sat, 13 Nov 2004) | 2 lines

Merged from trunk: Fixed UseMmap=yes.

------------------------------------------------------------------------
r668 | daper | 2004-11-13 21:18:06 +0100 (Sat, 13 Nov 2004) | 2 lines

Fixed UseMmap=yes.

------------------------------------------------------------------------
r667 | daper | 2004-11-13 20:44:51 +0100 (Sat, 13 Nov 2004) | 2 lines

Added missing example_theme.

------------------------------------------------------------------------
r666 | daper | 2004-11-13 20:44:08 +0100 (Sat, 13 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r665 | daper | 2004-11-13 20:20:37 +0100 (Sat, 13 Nov 2004) | 2 lines

Added FLAC support.

------------------------------------------------------------------------
r664 | daper | 2004-11-13 19:07:43 +0100 (Sat, 13 Nov 2004) | 2 lines

Added example_theme.

------------------------------------------------------------------------
r663 | daper | 2004-11-13 19:07:26 +0100 (Sat, 13 Nov 2004) | 2 lines

Changed version to 2.1.1.

------------------------------------------------------------------------
r662 | daper | 2004-11-13 19:07:05 +0100 (Sat, 13 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r661 | daper | 2004-11-13 15:54:04 +0100 (Sat, 13 Nov 2004) | 2 lines

Displaying bitrate up to 9999Kbps

------------------------------------------------------------------------
r660 | daper | 2004-11-13 14:31:27 +0100 (Sat, 13 Nov 2004) | 2 lines

Handling 8, 16, and 24 bits formats, refusing everything else.

------------------------------------------------------------------------
r659 | daper | 2004-11-13 11:43:10 +0100 (Sat, 13 Nov 2004) | 2 lines

Fixed opening device with unsupported sound format.

------------------------------------------------------------------------
r658 | daper | 2004-11-10 21:18:31 +0100 (Wed, 10 Nov 2004) | 3 lines

Merged from trunk: Added EV_OPTIONS - notice for clients when an option has
been changed.

------------------------------------------------------------------------
r657 | daper | 2004-11-10 21:17:42 +0100 (Wed, 10 Nov 2004) | 2 lines

Added EV_OPTIONS - notice for clients when an option has been changed.

------------------------------------------------------------------------
r656 | daper | 2004-11-10 13:13:09 +0100 (Wed, 10 Nov 2004) | 2 lines

Fixed a typo.

------------------------------------------------------------------------
r655 | daper | 2004-11-10 13:12:51 +0100 (Wed, 10 Nov 2004) | 2 lines

Fixed typo.

------------------------------------------------------------------------
r654 | daper | 2004-11-10 12:20:08 +0100 (Wed, 10 Nov 2004) | 2 lines

Changed version to 2.1.0

------------------------------------------------------------------------
r653 | daper | 2004-11-10 12:03:04 +0100 (Wed, 10 Nov 2004) | 2 lines

Merged from trunk: fixed tags_dup(): didn't copied the filled item.

------------------------------------------------------------------------
r652 | daper | 2004-11-10 12:00:21 +0100 (Wed, 10 Nov 2004) | 2 lines

Fixed tags_dup(): it didn't copied the filled item.

------------------------------------------------------------------------
r651 | daper | 2004-11-07 22:37:32 +0100 (Sun, 07 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r650 | daper | 2004-11-07 19:40:15 +0100 (Sun, 07 Nov 2004) | 2 lines

Ignoring SIGINT only if not running in foreground.

------------------------------------------------------------------------
r649 | daper | 2004-11-07 11:11:59 +0100 (Sun, 07 Nov 2004) | 2 lines

Fixed setting interface status while saving the playlist.

------------------------------------------------------------------------
r648 | daper | 2004-11-06 22:08:11 +0100 (Sat, 06 Nov 2004) | 2 lines

Updated copyright notice.

------------------------------------------------------------------------
r647 | daper | 2004-11-06 19:46:52 +0100 (Sat, 06 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r646 | daper | 2004-11-06 19:45:20 +0100 (Sat, 06 Nov 2004) | 2 lines

Clearing xterm title on fatal error.

------------------------------------------------------------------------
r645 | daper | 2004-11-06 19:44:54 +0100 (Sat, 06 Nov 2004) | 2 lines

Clearing xterm title on fatal error.

------------------------------------------------------------------------
r644 | daper | 2004-11-06 19:36:35 +0100 (Sat, 06 Nov 2004) | 2 lines

Chenged version to 2.1.0-beta

------------------------------------------------------------------------
r643 | daper | 2004-11-06 19:35:32 +0100 (Sat, 06 Nov 2004) | 2 lines

Created 2.1 branch.

------------------------------------------------------------------------
r642 | daper | 2004-11-06 19:33:26 +0100 (Sat, 06 Nov 2004) | 2 lines

Updated - new description of MOC, better sections, etc.

------------------------------------------------------------------------
r641 | daper | 2004-11-06 18:19:51 +0100 (Sat, 06 Nov 2004) | 3 lines

"Getting tags..." message while adding a directory to the playlist.
Fixed closing the connection.

------------------------------------------------------------------------
r640 | daper | 2004-11-06 18:18:44 +0100 (Sat, 06 Nov 2004) | 2 lines

Saving a playlist can be aborted while getting tags.

------------------------------------------------------------------------
r639 | daper | 2004-11-06 14:26:55 +0100 (Sat, 06 Nov 2004) | 2 lines

Added all 2.1.0 changes.

------------------------------------------------------------------------
r638 | daper | 2004-11-06 13:53:57 +0100 (Sat, 06 Nov 2004) | 2 lines

Don't sav the playlist if the file name is empty.

------------------------------------------------------------------------
r637 | daper | 2004-11-06 13:44:22 +0100 (Sat, 06 Nov 2004) | 4 lines

Reading the file time when the file is currenply played even if the time is
available. Prevents showing bad time from the playlist file which can be
malformed.

------------------------------------------------------------------------
r636 | daper | 2004-11-06 13:31:58 +0100 (Sat, 06 Nov 2004) | 2 lines

Don't read tags when loading a playlist when ReadTags is not set.

------------------------------------------------------------------------
r635 | daper | 2004-11-05 23:02:59 +0100 (Fri, 05 Nov 2004) | 2 lines

FIxed find_item_plists(): check if the item has tags before reading them.

------------------------------------------------------------------------
r634 | daper | 2004-11-05 22:41:03 +0100 (Fri, 05 Nov 2004) | 2 lines

Ignoring SIGINT when not in debug mode.

------------------------------------------------------------------------
r633 | daper | 2004-11-05 22:40:51 +0100 (Fri, 05 Nov 2004) | 2 lines

Handling SIG_CHLD - prevents some hangs when server exited.

------------------------------------------------------------------------
r632 | daper | 2004-11-05 22:28:11 +0100 (Fri, 05 Nov 2004) | 2 lines

Reading directories and getting tags can be interrupted.

------------------------------------------------------------------------
r631 | daper | 2004-11-05 22:27:35 +0100 (Fri, 05 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r630 | daper | 2004-11-05 22:27:27 +0100 (Fri, 05 Nov 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r629 | daper | 2004-11-05 22:27:12 +0100 (Fri, 05 Nov 2004) | 2 lines

Fixed loading malformed playlists.

------------------------------------------------------------------------
r628 | daper | 2004-11-05 22:25:41 +0100 (Fri, 05 Nov 2004) | 2 lines

Fixed getting time for files without any valid frame - return -1.

------------------------------------------------------------------------
r627 | daper | 2004-11-05 22:24:58 +0100 (Fri, 05 Nov 2004) | 3 lines

Pressing CTRL-C can interrupt long operations.
Fixed crash after error when getting time for a file.

------------------------------------------------------------------------
r626 | daper | 2004-11-05 20:08:38 +0100 (Fri, 05 Nov 2004) | 2 lines

Added notice about silence in mp3 files.

------------------------------------------------------------------------
r625 | daper | 2004-11-05 20:08:23 +0100 (Fri, 05 Nov 2004) | 2 lines

Added notice about silence in mp3 files.

------------------------------------------------------------------------
r624 | daper | 2004-11-05 15:03:59 +0100 (Fri, 05 Nov 2004) | 3 lines

Added assert() in alsa_close() that makes sure that the device was first
opened.

------------------------------------------------------------------------
r623 | daper | 2004-11-05 15:03:27 +0100 (Fri, 05 Nov 2004) | 2 lines

Fixed displaying time when the time couldn't be read.

------------------------------------------------------------------------
r622 | daper | 2004-11-05 15:02:14 +0100 (Fri, 05 Nov 2004) | 2 lines

audio_close() not closing the device when not opened.

------------------------------------------------------------------------
r621 | daper | 2004-11-05 14:42:25 +0100 (Fri, 05 Nov 2004) | 3 lines

Playing what remains in the buffer when closing the device.
Cleanups.

------------------------------------------------------------------------
r620 | daper | 2004-11-05 12:44:27 +0100 (Fri, 05 Nov 2004) | 2 lines

Some mixer cleanups.

------------------------------------------------------------------------
r619 | daper | 2004-11-05 12:13:31 +0100 (Fri, 05 Nov 2004) | 2 lines

Fixed player_cleanup(): Make sure that precache thread is not running.

------------------------------------------------------------------------
r618 | daper | 2004-11-05 11:27:46 +0100 (Fri, 05 Nov 2004) | 3 lines

When saving the playlist, make sure that the playlist file will appear in the
directory menu.

------------------------------------------------------------------------
r617 | daper | 2004-11-05 10:04:05 +0100 (Fri, 05 Nov 2004) | 2 lines

Icreased EVENTS_MAX to 20.

------------------------------------------------------------------------
r616 | daper | 2004-11-05 09:37:30 +0100 (Fri, 05 Nov 2004) | 2 lines

Not using 0 as invalid thread ID.

------------------------------------------------------------------------
r615 | daper | 2004-11-05 09:36:26 +0100 (Fri, 05 Nov 2004) | 3 lines

Fixed responding for signals there threads are not processes.
Using ATTR_UNUSED for unused function parameters.

------------------------------------------------------------------------
r614 | daper | 2004-11-05 09:35:25 +0100 (Fri, 05 Nov 2004) | 2 lines

Defined ATTR_UNUSED.

------------------------------------------------------------------------
r613 | daper | 2004-11-05 09:35:01 +0100 (Fri, 05 Nov 2004) | 2 lines

Using ATTR_UNUSED for unused function parameters.

------------------------------------------------------------------------
r612 | daper | 2004-11-04 23:51:00 +0100 (Thu, 04 Nov 2004) | 2 lines

Checking for libiconv().

------------------------------------------------------------------------
r611 | daper | 2004-11-04 23:38:53 +0100 (Thu, 04 Nov 2004) | 2 lines

Don't require iconv().

------------------------------------------------------------------------
r610 | daper | 2004-11-04 12:29:47 +0100 (Thu, 04 Nov 2004) | 2 lines

Check for iconv.h.

------------------------------------------------------------------------
r609 | daper | 2004-11-04 12:29:26 +0100 (Thu, 04 Nov 2004) | 2 lines

Doing str_iconv() for loaded file titles.

------------------------------------------------------------------------
r608 | daper | 2004-11-04 12:28:47 +0100 (Thu, 04 Nov 2004) | 2 lines

Initializing and cleanup iconv().

------------------------------------------------------------------------
r607 | daper | 2004-11-04 12:28:18 +0100 (Thu, 04 Nov 2004) | 2 lines

Added TagsIconv.

------------------------------------------------------------------------
r606 | daper | 2004-11-04 12:28:03 +0100 (Thu, 04 Nov 2004) | 2 lines

Added *_ivonc() functions for converting character set.

------------------------------------------------------------------------
r605 | daper | 2004-11-03 22:48:16 +0100 (Wed, 03 Nov 2004) | 2 lines

Fix cursor position in the user entry.

------------------------------------------------------------------------
r604 | daper | 2004-11-03 14:39:32 +0100 (Wed, 03 Nov 2004) | 2 lines

Fixed displaying time bigger than 99:59.

------------------------------------------------------------------------
r603 | daper | 2004-11-03 10:38:04 +0100 (Wed, 03 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r602 | daper | 2004-11-03 10:37:22 +0100 (Wed, 03 Nov 2004) | 2 lines

set_info_bitrate() in player.c using the get_bitrate() decoder function.

------------------------------------------------------------------------
r601 | daper | 2004-11-02 21:43:26 +0100 (Tue, 02 Nov 2004) | 2 lines

audio.c doesn't reopen the device if the sound parameters hasn't changed.

------------------------------------------------------------------------
r600 | daper | 2004-11-02 21:42:29 +0100 (Tue, 02 Nov 2004) | 2 lines

Added sound_params_eq() macro.

------------------------------------------------------------------------
r599 | daper | 2004-11-02 21:42:09 +0100 (Tue, 02 Nov 2004) | 2 lines

Don't close the audio device.

------------------------------------------------------------------------
r598 | daper | 2004-11-02 11:48:27 +0100 (Tue, 02 Nov 2004) | 2 lines

Added precaching.

------------------------------------------------------------------------
r597 | daper | 2004-11-02 11:48:07 +0100 (Tue, 02 Nov 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r596 | daper | 2004-11-02 11:44:40 +0100 (Tue, 02 Nov 2004) | 2 lines

Added Precache.

------------------------------------------------------------------------
r595 | daper | 2004-11-02 11:44:22 +0100 (Tue, 02 Nov 2004) | 2 lines

Passing next item's file name to player().

------------------------------------------------------------------------
r594 | daper | 2004-11-02 10:19:49 +0100 (Tue, 02 Nov 2004) | 2 lines

Fixed backing to the beginning of the file after counting time.

------------------------------------------------------------------------
r593 | daper | 2004-11-02 09:35:09 +0100 (Tue, 02 Nov 2004) | 2 lines

Fixed using mmap()ed memory in internal_time_count when UseMmap is set to no.

------------------------------------------------------------------------
r592 | daper | 2004-11-01 20:23:00 +0100 (Mon, 01 Nov 2004) | 2 lines

Fixed typo in a debug message.

------------------------------------------------------------------------
r591 | daper | 2004-11-01 20:16:39 +0100 (Mon, 01 Nov 2004) | 2 lines

Fixed default color for playlist menu item.

------------------------------------------------------------------------
r590 | daper | 2004-11-01 14:26:47 +0100 (Mon, 01 Nov 2004) | 3 lines

Fixed seeking without mmap().
Fixed seeking on VBR files.

------------------------------------------------------------------------
r589 | daper | 2004-11-01 14:26:08 +0100 (Mon, 01 Nov 2004) | 2 lines

Added UseMmap.

------------------------------------------------------------------------
r588 | daper | 2004-11-01 10:12:14 +0100 (Mon, 01 Nov 2004) | 1 line

Updated.
------------------------------------------------------------------------
r587 | daper | 2004-11-01 10:11:23 +0100 (Mon, 01 Nov 2004) | 3 lines

When loading the directory content, check if the tags can be copied from the
playlist.

------------------------------------------------------------------------
r586 | daper | 2004-11-01 10:10:10 +0100 (Mon, 01 Nov 2004) | 2 lines

Added missing plist_find_fname().

------------------------------------------------------------------------
r585 | daper | 2004-10-31 22:53:23 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed strtol() usage in plist_load_m3u() when the M3UEXT is not valid.

------------------------------------------------------------------------
r584 | daper | 2004-10-31 22:29:25 +0100 (Sun, 31 Oct 2004) | 2 lines

Added MOCDir option.

------------------------------------------------------------------------
r583 | daper | 2004-10-31 22:29:08 +0100 (Sun, 31 Oct 2004) | 2 lines

Added -C and -M options.

------------------------------------------------------------------------
r582 | daper | 2004-10-31 21:54:17 +0100 (Sun, 31 Oct 2004) | 3 lines

Fixed entry width.
Rereading directory after saving the playlist.

------------------------------------------------------------------------
r581 | daper | 2004-10-31 19:27:12 +0100 (Sun, 31 Oct 2004) | 2 lines

Asking the user if he wants to overwrite the playlist.

------------------------------------------------------------------------
r580 | daper | 2004-10-31 19:26:36 +0100 (Sun, 31 Oct 2004) | 2 lines

Added a debug message.

------------------------------------------------------------------------
r579 | daper | 2004-10-31 19:00:05 +0100 (Sun, 31 Oct 2004) | 2 lines

FIxed make_titles_file(): check if the item is not deleted.

------------------------------------------------------------------------
r578 | daper | 2004-10-31 18:47:45 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed setting zero time when playing ends.

------------------------------------------------------------------------
r577 | daper | 2004-10-31 16:57:10 +0100 (Sun, 31 Oct 2004) | 2 lines

Added a message when reading tags.

------------------------------------------------------------------------
r576 | daper | 2004-10-31 16:53:26 +0100 (Sun, 31 Oct 2004) | 2 lines

Removed useless update_curr_file() from switch_tags().

------------------------------------------------------------------------
r575 | daper | 2004-10-31 16:36:09 +0100 (Sun, 31 Oct 2004) | 2 lines

Begining of seek fix.

------------------------------------------------------------------------
r574 | daper | 2004-10-31 16:01:02 +0100 (Sun, 31 Oct 2004) | 2 lines

Added help for CTRL-t and CTRL-f.

------------------------------------------------------------------------
r573 | daper | 2004-10-31 15:58:50 +0100 (Sun, 31 Oct 2004) | 3 lines

Added CTLR-t, CTRL-f commands.
Fixed update_times(): don't update the menu when there is no menu.

------------------------------------------------------------------------
r572 | daper | 2004-10-31 15:12:47 +0100 (Sun, 31 Oct 2004) | 2 lines

Added set_iface_status_ref().

------------------------------------------------------------------------
r571 | daper | 2004-10-31 15:06:51 +0100 (Sun, 31 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r570 | daper | 2004-10-31 15:06:03 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed unmarking items when both curr_plist and the playlist are used.

------------------------------------------------------------------------
r569 | daper | 2004-10-31 15:00:55 +0100 (Sun, 31 Oct 2004) | 2 lines

Added some assert()s.

------------------------------------------------------------------------
r568 | daper | 2004-10-31 14:55:53 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed debug messages.

------------------------------------------------------------------------
r567 | daper | 2004-10-31 14:54:43 +0100 (Sun, 31 Oct 2004) | 3 lines

When searching for file time, trying to find it on both playlists, not only
when the file was found.

------------------------------------------------------------------------
r566 | daper | 2004-10-31 14:42:55 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed marking played item.

------------------------------------------------------------------------
r565 | daper | 2004-10-31 11:16:30 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed update_times: make sure that the file has tags.

------------------------------------------------------------------------
r564 | daper | 2004-10-31 11:12:35 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed make_menu(): check if the playlist item has tags before using them.

------------------------------------------------------------------------
r563 | daper | 2004-10-31 09:48:46 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed sorting a playlist with deleted items.

------------------------------------------------------------------------
r562 | daper | 2004-10-31 09:48:36 +0100 (Sun, 31 Oct 2004) | 2 lines

Merged from trunk: Not sorting playlist after adding a directory.

------------------------------------------------------------------------
r561 | daper | 2004-10-31 09:45:55 +0100 (Sun, 31 Oct 2004) | 2 lines

Not sorting playlist after adding a directory.

------------------------------------------------------------------------
r560 | daper | 2004-10-31 09:44:34 +0100 (Sun, 31 Oct 2004) | 2 lines

Fixed sorting a playlist with deleted items.

------------------------------------------------------------------------
r559 | daper | 2004-10-30 21:14:17 +0200 (Sat, 30 Oct 2004) | 2 lines

Message about the h command at startup.

------------------------------------------------------------------------
r558 | daper | 2004-10-30 21:09:54 +0200 (Sat, 30 Oct 2004) | 3 lines

When getting the file time, try to fill the time in hte playlist and
curr_plist.

------------------------------------------------------------------------
r557 | daper | 2004-10-30 13:53:19 +0200 (Sat, 30 Oct 2004) | 4 lines

Added time and format fields to the item structure that are optionaly shown
at the right side of files.


------------------------------------------------------------------------
r556 | daper | 2004-10-30 13:52:01 +0200 (Sat, 30 Oct 2004) | 3 lines

Adding time and format information to menu items.
Fixed default colour for info element.

------------------------------------------------------------------------
r555 | daper | 2004-10-30 13:41:56 +0200 (Sat, 30 Oct 2004) | 2 lines

Fixed loading playlists where there are white chars after file names.

------------------------------------------------------------------------
r554 | daper | 2004-10-30 13:38:42 +0200 (Sat, 30 Oct 2004) | 2 lines

moved isblank() to main.h.

------------------------------------------------------------------------
r553 | daper | 2004-10-30 13:32:21 +0200 (Sat, 30 Oct 2004) | 2 lines

Added some comments.

------------------------------------------------------------------------
r552 | daper | 2004-10-30 13:26:21 +0200 (Sat, 30 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r551 | daper | 2004-10-30 13:26:07 +0200 (Sat, 30 Oct 2004) | 3 lines

Added short name for every type.
Added find_type() and format_name().

------------------------------------------------------------------------
r550 | daper | 2004-10-30 13:25:04 +0200 (Sat, 30 Oct 2004) | 2 lines

Fixed info colours.

------------------------------------------------------------------------
r549 | daper | 2004-10-30 13:24:48 +0200 (Sat, 30 Oct 2004) | 2 lines

read_file_tags() returns tags even if the file was not recognized.

------------------------------------------------------------------------
r548 | daper | 2004-10-30 13:24:14 +0200 (Sat, 30 Oct 2004) | 2 lines

Read only files of supported format.

------------------------------------------------------------------------
r547 | daper | 2004-10-30 12:46:16 +0200 (Sat, 30 Oct 2004) | 2 lines

Changed default ShowTime value to IfAvailable.

------------------------------------------------------------------------
r546 | daper | 2004-10-30 12:28:46 +0200 (Sat, 30 Oct 2004) | 2 lines

Fixed make_titles_tags(): don't try to make a title for a deleted file.

------------------------------------------------------------------------
r545 | daper | 2004-10-29 22:03:08 +0200 (Fri, 29 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r544 | daper | 2004-10-29 22:02:25 +0200 (Fri, 29 Oct 2004) | 2 lines

Added strerror() to some interface_fatal() invokations.

------------------------------------------------------------------------
r543 | daper | 2004-10-29 21:57:47 +0200 (Fri, 29 Oct 2004) | 2 lines

Fixed error colour.

------------------------------------------------------------------------
r542 | daper | 2004-10-29 21:57:31 +0200 (Fri, 29 Oct 2004) | 3 lines

Removed bad chdir().
Fixed default error colour.

------------------------------------------------------------------------
r541 | daper | 2004-10-29 21:54:12 +0200 (Fri, 29 Oct 2004) | 2 lines

Removed buggy_xterm variable.

------------------------------------------------------------------------
r540 | daper | 2004-10-29 21:53:35 +0200 (Fri, 29 Oct 2004) | 2 lines

FIxed --theme option.

------------------------------------------------------------------------
r539 | daper | 2004-10-29 21:52:41 +0200 (Fri, 29 Oct 2004) | 2 lines

Adde -T --theme command line option.

------------------------------------------------------------------------
r538 | daper | 2004-10-29 21:52:26 +0200 (Fri, 29 Oct 2004) | 2 lines

Added info about themes.

------------------------------------------------------------------------
r537 | daper | 2004-10-29 21:52:12 +0200 (Fri, 29 Oct 2004) | 3 lines

Added info about themes.
Updated info about playlists.

------------------------------------------------------------------------
r536 | daper | 2004-10-29 21:51:38 +0200 (Fri, 29 Oct 2004) | 2 lines

Fixed default colours.

------------------------------------------------------------------------
r535 | daper | 2004-10-29 21:36:33 +0200 (Fri, 29 Oct 2004) | 2 lines

Fixed the message about sending themes.

------------------------------------------------------------------------
r534 | daper | 2004-10-29 21:34:07 +0200 (Fri, 29 Oct 2004) | 2 lines

Added info hout use a theme file.

------------------------------------------------------------------------
r533 | daper | 2004-10-29 21:30:37 +0200 (Fri, 29 Oct 2004) | 2 lines

Example theme file.

------------------------------------------------------------------------
r532 | daper | 2004-10-29 21:29:33 +0200 (Fri, 29 Oct 2004) | 2 lines

Added ShowFormat, ShowTime, Theme entries.

------------------------------------------------------------------------
r531 | daper | 2004-10-29 21:29:00 +0200 (Fri, 29 Oct 2004) | 5 lines

Added support for colour themes loaded from a file.
interface_fatal() with printf()-like arguments.
Updated menu usage.
Small cleanups.

------------------------------------------------------------------------
r530 | daper | 2004-10-29 21:26:29 +0200 (Fri, 29 Oct 2004) | 3 lines

All attributes stored per item, not per menu.
Added functions for setting item's attributes.

------------------------------------------------------------------------
r529 | daper | 2004-10-29 21:25:03 +0200 (Fri, 29 Oct 2004) | 4 lines

Added marked attributes to the menu_item structure.
Removed attributes from menu structure.
Updated prototypes.

------------------------------------------------------------------------
r528 | daper | 2004-10-29 21:21:21 +0200 (Fri, 29 Oct 2004) | 2 lines

Moved read_line() to files.c as a global function.

------------------------------------------------------------------------
r527 | daper | 2004-10-29 19:49:36 +0200 (Fri, 29 Oct 2004) | 2 lines

Added Theme, ShowTime, ShowFormat options.

------------------------------------------------------------------------
r526 | daper | 2004-10-29 19:46:26 +0200 (Fri, 29 Oct 2004) | 2 lines

Added format __attribute__ to error().

------------------------------------------------------------------------
r525 | daper | 2004-10-28 10:18:51 +0200 (Thu, 28 Oct 2004) | 2 lines

Don't require to be in playlist mode when saving the playlist.

------------------------------------------------------------------------
r524 | daper | 2004-10-28 10:01:47 +0200 (Thu, 28 Oct 2004) | 2 lines

Fixed the location of a saved playlist.

------------------------------------------------------------------------
r523 | daper | 2004-10-27 23:05:13 +0200 (Wed, 27 Oct 2004) | 3 lines

Saving playlists with EXTM3U extension.
Using file time read from #EXTINF.

------------------------------------------------------------------------
r522 | daper | 2004-10-27 23:02:55 +0200 (Wed, 27 Oct 2004) | 2 lines

Printing a message when saving a playlist.

------------------------------------------------------------------------
r521 | daper | 2004-10-27 10:08:22 +0200 (Wed, 27 Oct 2004) | 3 lines

Added a message about loading a playlist.
Fixed debug message.

------------------------------------------------------------------------
r520 | daper | 2004-10-27 09:54:53 +0200 (Wed, 27 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r519 | daper | 2004-10-27 09:54:23 +0200 (Wed, 27 Oct 2004) | 2 lines

Added pending event queue: prevents losing events.

------------------------------------------------------------------------
r518 | daper | 2004-10-27 09:53:24 +0200 (Wed, 27 Oct 2004) | 2 lines

Fixed losing EV_BITRATE.

------------------------------------------------------------------------
r517 | daper | 2004-10-26 22:11:17 +0200 (Tue, 26 Oct 2004) | 2 lines

When searcing for a file title or time, slook at curr_plist and the playlist.

------------------------------------------------------------------------
r516 | daper | 2004-10-26 22:10:20 +0200 (Tue, 26 Oct 2004) | 3 lines

Added a debug message.
Small cleanup.

------------------------------------------------------------------------
r515 | daper | 2004-10-26 21:51:53 +0200 (Tue, 26 Oct 2004) | 3 lines

read_file_tags() fills the tags structure with requested elements instead of
just creating a new structure each time.

------------------------------------------------------------------------
r514 | daper | 2004-10-26 21:50:48 +0200 (Tue, 26 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r513 | daper | 2004-10-26 21:50:25 +0200 (Tue, 26 Oct 2004) | 2 lines

New prototype for info() function, with tags_sel parameter.

------------------------------------------------------------------------
r512 | daper | 2004-10-26 21:49:47 +0200 (Tue, 26 Oct 2004) | 2 lines

Added the filled field to struct tags.

------------------------------------------------------------------------
r511 | daper | 2004-10-26 21:49:00 +0200 (Tue, 26 Oct 2004) | 2 lines

New *_info(): added tags_sel parameter.

------------------------------------------------------------------------
r510 | daper | 2004-10-26 21:48:09 +0200 (Tue, 26 Oct 2004) | 1 line

New read_file_tags() usage.
------------------------------------------------------------------------
r509 | daper | 2004-10-25 12:36:00 +0200 (Mon, 25 Oct 2004) | 2 lines

Setting tags->time.

------------------------------------------------------------------------
r508 | daper | 2004-10-25 12:32:04 +0200 (Mon, 25 Oct 2004) | 2 lines

Make a title from tags only when the title field is available.

------------------------------------------------------------------------
r507 | daper | 2004-10-25 12:14:48 +0200 (Mon, 25 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r506 | daper | 2004-10-25 12:14:29 +0200 (Mon, 25 Oct 2004) | 2 lines

Removed CMD_GET_STIME.

------------------------------------------------------------------------
r505 | daper | 2004-10-25 12:13:51 +0200 (Mon, 25 Oct 2004) | 2 lines

read_file_tags() always returns tags, even if there is no title.

------------------------------------------------------------------------
r504 | daper | 2004-10-25 12:10:16 +0200 (Mon, 25 Oct 2004) | 2 lines

Removed setting file time.

------------------------------------------------------------------------
r503 | daper | 2004-10-25 12:09:51 +0200 (Mon, 25 Oct 2004) | 2 lines

Added the time field to the tags structure.

------------------------------------------------------------------------
r502 | daper | 2004-10-25 12:09:20 +0200 (Mon, 25 Oct 2004) | 3 lines

Read file time from tags.
Added cache for find_title().

------------------------------------------------------------------------
r501 | daper | 2004-10-25 12:08:09 +0200 (Mon, 25 Oct 2004) | 2 lines

Fill tags->time field.

------------------------------------------------------------------------
r500 | daper | 2004-10-22 21:53:30 +0200 (Fri, 22 Oct 2004) | 2 lines

Added description for -s and -x options.

------------------------------------------------------------------------
r499 | daper | 2004-10-22 09:56:12 +0200 (Fri, 22 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r498 | daper | 2004-10-21 16:47:06 +0200 (Thu, 21 Oct 2004) | 2 lines

2.0.1 release.

------------------------------------------------------------------------
r497 | daper | 2004-10-21 16:15:28 +0200 (Thu, 21 Oct 2004) | 2 lines

Fixed broken menu after resizing terminal when help screen is displayed.

------------------------------------------------------------------------
r496 | daper | 2004-10-21 09:42:20 +0200 (Thu, 21 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r495 | daper | 2004-10-21 09:41:46 +0200 (Thu, 21 Oct 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r494 | daper | 2004-10-21 09:38:31 +0200 (Thu, 21 Oct 2004) | 2 lines

Fixed breaking menu when resizing terminal when help screen is displayed.

------------------------------------------------------------------------
r493 | daper | 2004-10-21 09:35:02 +0200 (Thu, 21 Oct 2004) | 2 lines

Fixed disappearing help screen when resizeing terminal.

------------------------------------------------------------------------
r492 | daper | 2004-10-21 09:31:08 +0200 (Thu, 21 Oct 2004) | 3 lines

Scrolled help.
Added help for searching.

------------------------------------------------------------------------
r491 | daper | 2004-10-20 23:34:47 +0200 (Wed, 20 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r490 | daper | 2004-10-20 23:33:36 +0200 (Wed, 20 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r489 | daper | 2004-10-20 23:32:30 +0200 (Wed, 20 Oct 2004) | 2 lines

Merged from trunk: Fixed displaying file title longer than the window.

------------------------------------------------------------------------
r488 | daper | 2004-10-20 23:31:54 +0200 (Wed, 20 Oct 2004) | 2 lines

Fixed displaying file title longer than the window.

------------------------------------------------------------------------
r487 | daper | 2004-10-20 22:51:51 +0200 (Wed, 20 Oct 2004) | 2 lines

Added HideFileExtension option.

------------------------------------------------------------------------
r486 | daper | 2004-10-20 14:43:32 +0200 (Wed, 20 Oct 2004) | 2 lines

Removed chdir() - it's not required, since all paths all absolute.

------------------------------------------------------------------------
r485 | daper | 2004-10-20 14:32:47 +0200 (Wed, 20 Oct 2004) | 2 lines

Testing return value of audio_send_pcm().

------------------------------------------------------------------------
r484 | daper | 2004-10-20 10:08:37 +0200 (Wed, 20 Oct 2004) | 2 lines

FIxed ALSA test (ALSA is not required).

------------------------------------------------------------------------
r483 | daper | 2004-10-19 23:58:25 +0200 (Tue, 19 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r482 | daper | 2004-10-19 23:58:02 +0200 (Tue, 19 Oct 2004) | 2 lines

Use debug() macro instead of #ifdef DEBUG.

------------------------------------------------------------------------
r481 | daper | 2004-10-19 23:57:34 +0200 (Tue, 19 Oct 2004) | 2 lines

Added debug macro.

------------------------------------------------------------------------
r480 | daper | 2004-10-19 23:43:51 +0200 (Tue, 19 Oct 2004) | 2 lines

Merged from 2.0: added changes for 2.0.1.

------------------------------------------------------------------------
r479 | daper | 2004-10-19 23:42:20 +0200 (Tue, 19 Oct 2004) | 2 lines

Added 2.0.1 changes.

------------------------------------------------------------------------
r478 | daper | 2004-10-19 23:31:47 +0200 (Tue, 19 Oct 2004) | 2 lines

Do not allow to add '..' to the playlist.

------------------------------------------------------------------------
r477 | daper | 2004-10-19 23:31:17 +0200 (Tue, 19 Oct 2004) | 2 lines

Merged from trunk: allow to seek only when playing.

------------------------------------------------------------------------
r476 | daper | 2004-10-19 23:29:55 +0200 (Tue, 19 Oct 2004) | 2 lines

Allow to seek only when playing.

------------------------------------------------------------------------
r475 | daper | 2004-10-19 23:29:31 +0200 (Tue, 19 Oct 2004) | 2 lines

Do not allow to add '..' to the playlist.

------------------------------------------------------------------------
r474 | daper | 2004-10-19 23:16:25 +0200 (Tue, 19 Oct 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r473 | daper | 2004-10-19 23:15:58 +0200 (Tue, 19 Oct 2004) | 2 lines

Added mixer.

------------------------------------------------------------------------
r472 | daper | 2004-10-19 23:14:52 +0200 (Tue, 19 Oct 2004) | 2 lines

Added AlsaDevice, AlsaMixer.

------------------------------------------------------------------------
r471 | daper | 2004-10-19 00:45:07 +0200 (Tue, 19 Oct 2004) | 3 lines

Added alsa_get_buf_fill().
Read the device name from options.

------------------------------------------------------------------------
r470 | daper | 2004-10-19 00:19:43 +0200 (Tue, 19 Oct 2004) | 2 lines

Added information about ALSA.

------------------------------------------------------------------------
r469 | daper | 2004-10-19 00:19:23 +0200 (Tue, 19 Oct 2004) | 2 lines

Added information about ALSA.

------------------------------------------------------------------------
r468 | daper | 2004-10-19 00:18:32 +0200 (Tue, 19 Oct 2004) | 2 lines

Added information about ALSA.

------------------------------------------------------------------------
r467 | daper | 2004-10-19 00:13:03 +0200 (Tue, 19 Oct 2004) | 2 lines

Opening device in non-blocking mode. This fixes resetting.

------------------------------------------------------------------------
r466 | daper | 2004-10-18 23:14:50 +0200 (Mon, 18 Oct 2004) | 2 lines

Don't require init/shutdown functions for output driver.

------------------------------------------------------------------------
r465 | daper | 2004-10-18 23:14:17 +0200 (Mon, 18 Oct 2004) | 2 lines

Don't need empty init/shutdown functions.

------------------------------------------------------------------------
r464 | daper | 2004-10-18 23:07:24 +0200 (Mon, 18 Oct 2004) | 2 lines

Checking for ALSA.

------------------------------------------------------------------------
r463 | daper | 2004-10-18 23:07:05 +0200 (Mon, 18 Oct 2004) | 2 lines

Include stdlib.h.

------------------------------------------------------------------------
r462 | daper | 2004-10-18 23:05:35 +0200 (Mon, 18 Oct 2004) | 2 lines

Added ALSA.

------------------------------------------------------------------------
r461 | daper | 2004-10-18 23:04:33 +0200 (Mon, 18 Oct 2004) | 2 lines

ALSA support without mixer. Not finished.

------------------------------------------------------------------------
r460 | daper | 2004-10-18 14:24:55 +0200 (Mon, 18 Oct 2004) | 2 lines

Moved MIN() to main.h.

------------------------------------------------------------------------
r459 | daper | 2004-10-17 16:32:58 +0200 (Sun, 17 Oct 2004) | 2 lines

Code cleanup: using menu_item->file menu_item->type.

------------------------------------------------------------------------
r458 | daper | 2004-10-17 16:11:30 +0200 (Sun, 17 Oct 2004) | 3 lines

Fixed segfault when after making a playlist from the command line, the f
command was used.

------------------------------------------------------------------------
r457 | daper | 2004-10-17 16:04:53 +0200 (Sun, 17 Oct 2004) | 2 lines

Fixed memory leak in make_titles_tags().

------------------------------------------------------------------------
r456 | daper | 2004-10-17 16:04:04 +0200 (Sun, 17 Oct 2004) | 3 lines

Changed menu and saved_menu into curr_plist_menu and playlist_menu. The menu
state is saved when switching between the playlist and the directory.

------------------------------------------------------------------------
r455 | daper | 2004-10-17 14:07:30 +0200 (Sun, 17 Oct 2004) | 2 lines

Changed version to 2.0.1

------------------------------------------------------------------------
r454 | daper | 2004-10-17 14:07:07 +0200 (Sun, 17 Oct 2004) | 2 lines

Merged from trunk: Fixed invoking MOC with relative path arguments.

------------------------------------------------------------------------
r453 | daper | 2004-10-17 14:04:03 +0200 (Sun, 17 Oct 2004) | 2 lines

Fixed invoking MOC with relative path arguments.

------------------------------------------------------------------------
r452 | daper | 2004-10-17 13:45:41 +0200 (Sun, 17 Oct 2004) | 2 lines

Don't play if moc was started with command line arguments that make a playlist.

------------------------------------------------------------------------
r451 | daper | 2004-10-17 12:18:09 +0200 (Sun, 17 Oct 2004) | 2 lines

Proper disconnecting when using parameters like --stop.

------------------------------------------------------------------------
r450 | daper | 2004-10-17 12:08:32 +0200 (Sun, 17 Oct 2004) | 2 lines

Changed version to 2.0.0

------------------------------------------------------------------------
r449 | daper | 2004-10-17 12:02:56 +0200 (Sun, 17 Oct 2004) | 2 lines

Fixed error messages.

------------------------------------------------------------------------
r448 | daper | 2004-10-17 11:54:03 +0200 (Sun, 17 Oct 2004) | 2 lines

Updated help.

------------------------------------------------------------------------
r447 | daper | 2004-10-17 11:51:46 +0200 (Sun, 17 Oct 2004) | 2 lines

Added BUGS section.

------------------------------------------------------------------------
r446 | daper | 2004-10-17 11:47:58 +0200 (Sun, 17 Oct 2004) | 2 lines

Don't test if create_file_name() returned NULL.

------------------------------------------------------------------------
r445 | daper | 2004-10-17 11:47:30 +0200 (Sun, 17 Oct 2004) | 2 lines

create_file_name() does fatal() when the path is too long.

------------------------------------------------------------------------
r444 | daper | 2004-10-17 11:43:34 +0200 (Sun, 17 Oct 2004) | 2 lines

Made file_type() public.

------------------------------------------------------------------------
r443 | daper | 2004-10-17 11:43:14 +0200 (Sun, 17 Oct 2004) | 2 lines

plist_save() cane use NULL cwd to always make absolute paths.

------------------------------------------------------------------------
r442 | daper | 2004-10-17 11:41:54 +0200 (Sun, 17 Oct 2004) | 2 lines

Save the playlist on exit and load it at startup.

------------------------------------------------------------------------
r441 | daper | 2004-10-17 11:40:58 +0200 (Sun, 17 Oct 2004) | 2 lines

Small logging fix.

------------------------------------------------------------------------
r440 | daper | 2004-10-16 20:59:20 +0200 (Sat, 16 Oct 2004) | 2 lines

Removed entry about priority.

------------------------------------------------------------------------
r439 | daper | 2004-10-16 20:59:12 +0200 (Sat, 16 Oct 2004) | 2 lines

Removed entry about priority.

------------------------------------------------------------------------
r438 | daper | 2004-10-16 20:58:41 +0200 (Sat, 16 Oct 2004) | 2 lines

Changed version to 2.0.0.

------------------------------------------------------------------------
r437 | daper | 2004-10-16 20:58:23 +0200 (Sat, 16 Oct 2004) | 2 lines

Removed entry about priority.

------------------------------------------------------------------------
r436 | daper | 2004-10-16 20:25:20 +0200 (Sat, 16 Oct 2004) | 2 lines

Release 2.0.0

------------------------------------------------------------------------
r435 | daper | 2004-10-12 22:14:58 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed removin end of line chars.

------------------------------------------------------------------------
r434 | daper | 2004-10-12 22:11:03 +0200 (Tue, 12 Oct 2004) | 2 lines

Changed CTEL-g to g for file search.

------------------------------------------------------------------------
r433 | daper | 2004-10-12 22:10:36 +0200 (Tue, 12 Oct 2004) | 2 lines

Added some logging.

------------------------------------------------------------------------
r432 | daper | 2004-10-12 22:03:29 +0200 (Tue, 12 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r431 | daper | 2004-10-12 22:03:22 +0200 (Tue, 12 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r430 | daper | 2004-10-12 22:03:05 +0200 (Tue, 12 Oct 2004) | 2 lines

Added saving playlist in m3u format.

------------------------------------------------------------------------
r429 | daper | 2004-10-12 22:02:31 +0200 (Tue, 12 Oct 2004) | 3 lines

Added common entry field.
Added V command: save the playlist.

------------------------------------------------------------------------
r428 | daper | 2004-10-12 13:11:08 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed reading root directory (double slash at the begining of paths).

------------------------------------------------------------------------
r427 | daper | 2004-10-12 13:10:36 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed going to root directory using '..'.

------------------------------------------------------------------------
r426 | daper | 2004-10-12 12:33:04 +0200 (Tue, 12 Oct 2004) | 2 lines

Directory for releases.

------------------------------------------------------------------------
r425 | daper | 2004-10-12 12:19:54 +0200 (Tue, 12 Oct 2004) | 2 lines

FIxed plist_find_fname(): handling NULL files.

------------------------------------------------------------------------
r424 | daper | 2004-10-12 12:19:21 +0200 (Tue, 12 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r423 | daper | 2004-10-12 12:19:05 +0200 (Tue, 12 Oct 2004) | 4 lines

Don't add a file that is already on the playlist.
Counting added files instead of returning plist->num.
Deleting incomplite items.

------------------------------------------------------------------------
r422 | daper | 2004-10-12 12:06:42 +0200 (Tue, 12 Oct 2004) | 3 lines

Making absolute paths from the paths in playlist file.
Added general plist_load(), also make titles if needed.

------------------------------------------------------------------------
r421 | daper | 2004-10-12 12:04:31 +0200 (Tue, 12 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r420 | daper | 2004-10-12 12:04:08 +0200 (Tue, 12 Oct 2004) | 2 lines

Printing a message after successfully loading a playlist.

------------------------------------------------------------------------
r419 | daper | 2004-10-12 11:24:58 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed free() order in menu_free().

------------------------------------------------------------------------
r418 | daper | 2004-10-12 11:21:41 +0200 (Tue, 12 Oct 2004) | 3 lines

Handling playlist files.
Fixed memory leak in make_menu().

------------------------------------------------------------------------
r417 | daper | 2004-10-12 11:20:50 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed memory leak in file_list_free().

------------------------------------------------------------------------
r416 | daper | 2004-10-12 11:04:35 +0200 (Tue, 12 Oct 2004) | 2 lines

Proper handling '..' in playlist.

------------------------------------------------------------------------
r415 | daper | 2004-10-12 11:01:54 +0200 (Tue, 12 Oct 2004) | 2 lines

Fixed segfault when switching to the playlist.

------------------------------------------------------------------------
r414 | daper | 2004-10-12 10:54:59 +0200 (Tue, 12 Oct 2004) | 3 lines

Changes for new read_directory().
Using absolute paths for directories.

------------------------------------------------------------------------
r413 | daper | 2004-10-12 10:52:41 +0200 (Tue, 12 Oct 2004) | 2 lines

Added playlist_file.[ch].

------------------------------------------------------------------------
r412 | daper | 2004-10-12 10:52:19 +0200 (Tue, 12 Oct 2004) | 6 lines

Changed read_directory() to fill 3 lists: sound files, directories and
playlists.
Use file_list instead of directory array.
file_type() recognizes playlists.
Made enum file_types public.

------------------------------------------------------------------------
r411 | daper | 2004-10-12 10:50:18 +0200 (Tue, 12 Oct 2004) | 3 lines

Moved ext_pos() to files.c.
Resolved mane conflict with enum file_type.

------------------------------------------------------------------------
r410 | daper | 2004-10-12 10:49:16 +0200 (Tue, 12 Oct 2004) | 3 lines

Adding '/' to the end of items of type F_DIR.
Handling type and file elements of struct menu_item.

------------------------------------------------------------------------
r409 | daper | 2004-10-12 10:48:10 +0200 (Tue, 12 Oct 2004) | 3 lines

Added file and file_type elements to struct menu_item.
Updated prototypes.

------------------------------------------------------------------------
r408 | daper | 2004-10-12 10:47:11 +0200 (Tue, 12 Oct 2004) | 3 lines

Added struct file_list, enum file_type.
Updated prototypes.

------------------------------------------------------------------------
r407 | daper | 2004-10-12 10:46:26 +0200 (Tue, 12 Oct 2004) | 2 lines

M3U load code. Not tested.

------------------------------------------------------------------------
r406 | daper | 2004-10-11 11:43:11 +0200 (Mon, 11 Oct 2004) | 3 lines

Using plist_deleted().
Logging errors from interface_error().

------------------------------------------------------------------------
r405 | daper | 2004-10-11 11:39:57 +0200 (Mon, 11 Oct 2004) | 2 lines

Using plist_deleted() and plist_set_title().

------------------------------------------------------------------------
r404 | daper | 2004-10-11 11:39:07 +0200 (Mon, 11 Oct 2004) | 2 lines

Added plist_set_title(), plist_set_file(), plist_deleted().

------------------------------------------------------------------------
r403 | daper | 2004-10-11 11:38:36 +0200 (Mon, 11 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r402 | daper | 2004-10-10 22:55:35 +0200 (Sun, 10 Oct 2004) | 3 lines

Fixed refreshing screen when going to a directory using search file.
Small code cleanup.

------------------------------------------------------------------------
r401 | daper | 2004-10-10 22:47:04 +0200 (Sun, 10 Oct 2004) | 5 lines

Made plist_free_item_fields() safer.
Fixed double free() in plist_clear().
In plist_find_fname() don't search deleted items.
Added some assert()s.

------------------------------------------------------------------------
r400 | daper | 2004-10-10 22:31:22 +0200 (Sun, 10 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r399 | daper | 2004-10-10 22:29:01 +0200 (Sun, 10 Oct 2004) | 2 lines

Merged from trunk: Fixed switching ReadTags when using playlist.

------------------------------------------------------------------------
r398 | daper | 2004-10-10 22:27:21 +0200 (Sun, 10 Oct 2004) | 2 lines

Fixed switching ReadTags when using playlist.

------------------------------------------------------------------------
r397 | daper | 2004-10-10 22:20:18 +0200 (Sun, 10 Oct 2004) | 2 lines

plist_delete() frees unused memory.

------------------------------------------------------------------------
r396 | daper | 2004-10-10 22:19:36 +0200 (Sun, 10 Oct 2004) | 2 lines

Checking for strcasestr().

------------------------------------------------------------------------
r395 | daper | 2004-10-10 22:19:08 +0200 (Sun, 10 Oct 2004) | 2 lines

Added menu_next_turn(), menu_get_selected(), menu_find_pattern_next().

------------------------------------------------------------------------
r394 | daper | 2004-10-10 22:18:09 +0200 (Sun, 10 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r393 | daper | 2004-10-10 22:17:51 +0200 (Sun, 10 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r392 | daper | 2004-10-10 22:16:29 +0200 (Sun, 10 Oct 2004) | 2 lines

Added searching menu (CTRL-g).

------------------------------------------------------------------------
r391 | daper | 2004-10-09 22:26:52 +0200 (Sat, 09 Oct 2004) | 2 lines

Fixed busy message.

------------------------------------------------------------------------
r390 | daper | 2004-10-09 19:41:56 +0200 (Sat, 09 Oct 2004) | 2 lines

Fixed log message.

------------------------------------------------------------------------
r389 | daper | 2004-10-09 19:39:12 +0200 (Sat, 09 Oct 2004) | 2 lines

Much logging only when DEBUG is defined.

------------------------------------------------------------------------
r388 | daper | 2004-10-09 19:33:10 +0200 (Sat, 09 Oct 2004) | 4 lines

Support for many clients simultaneously.
Removed time tracking (now in player.c).
Including server.h.

------------------------------------------------------------------------
r387 | daper | 2004-10-09 19:30:30 +0200 (Sat, 09 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r386 | daper | 2004-10-09 19:30:11 +0200 (Sat, 09 Oct 2004) | 2 lines

Tracking the time changes.

------------------------------------------------------------------------
r385 | daper | 2004-10-09 18:38:59 +0200 (Sat, 09 Oct 2004) | 3 lines

Logging much only when DEBUG is defined.
Removed logging prefixes.

------------------------------------------------------------------------
r384 | daper | 2004-10-09 18:38:22 +0200 (Sat, 09 Oct 2004) | 2 lines

Logging much only if DEBUG is defined.

------------------------------------------------------------------------
r383 | daper | 2004-10-09 11:14:43 +0200 (Sat, 09 Oct 2004) | 2 lines

Added CMD_GET_ERROR.

------------------------------------------------------------------------
r382 | daper | 2004-10-09 09:55:48 +0200 (Sat, 09 Oct 2004) | 2 lines

From 2.0 branch: Handling EV_ERROR.

------------------------------------------------------------------------
r381 | daper | 2004-10-09 09:48:14 +0200 (Sat, 09 Oct 2004) | 2 lines

Fixed hiding error message.

------------------------------------------------------------------------
r380 | daper | 2004-10-09 09:43:27 +0200 (Sat, 09 Oct 2004) | 2 lines

Handling EV_ERROR.

------------------------------------------------------------------------
r379 | daper | 2004-10-09 09:43:11 +0200 (Sat, 09 Oct 2004) | 2 lines

Handling CMD_GET_ERROR.

------------------------------------------------------------------------
r378 | daper | 2004-10-09 09:42:48 +0200 (Sat, 09 Oct 2004) | 2 lines

Added CMD_GET_ERROR.

------------------------------------------------------------------------
r377 | daper | 2004-10-09 09:08:34 +0200 (Sat, 09 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r376 | daper | 2004-10-09 09:07:55 +0200 (Sat, 09 Oct 2004) | 2 lines

Added --stop and --exit commands.

------------------------------------------------------------------------
r375 | daper | 2004-10-08 23:58:21 +0200 (Fri, 08 Oct 2004) | 2 lines

Merged from trunk: fixed setting file_info.title.

------------------------------------------------------------------------
r374 | daper | 2004-10-08 23:57:21 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed setting file_info.title.

------------------------------------------------------------------------
r373 | daper | 2004-10-08 23:55:19 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed setting title of a played file when COLS is bigger than the title size.

------------------------------------------------------------------------
r372 | daper | 2004-10-08 23:07:44 +0200 (Fri, 08 Oct 2004) | 3 lines

Merged from trunk: Dropped changing priority and scheduler agorithm. It caused
latencies due to not fair scheduling between decoder and the buffer thread.

------------------------------------------------------------------------
r371 | daper | 2004-10-08 23:05:44 +0200 (Fri, 08 Oct 2004) | 3 lines

Dropped changing priority and scheduler agorithm. It caused latencies due to
not fair scheduling between decoder and the buffer thread.

------------------------------------------------------------------------
r370 | daper | 2004-10-08 22:03:13 +0200 (Fri, 08 Oct 2004) | 2 lines

Merged from trunk: Fixed defining PATH_MAX.

------------------------------------------------------------------------
r369 | daper | 2004-10-08 22:02:05 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed defining PATH_MAX.

------------------------------------------------------------------------
r368 | daper | 2004-10-08 21:37:48 +0200 (Fri, 08 Oct 2004) | 2 lines

Merged from trunk: Fixed behaviour when $HOME is not set or is invalid.

------------------------------------------------------------------------
r367 | daper | 2004-10-08 21:37:05 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed behaviour when $HOME is not set or is invalid.

------------------------------------------------------------------------
r366 | daper | 2004-10-08 21:36:29 +0200 (Fri, 08 Oct 2004) | 2 lines

Added printf __attribute__ to fatal().

------------------------------------------------------------------------
r365 | daper | 2004-10-08 21:35:48 +0200 (Fri, 08 Oct 2004) | 2 lines

Added printf __attribute__ to interface_fatal().

------------------------------------------------------------------------
r364 | daper | 2004-10-08 21:23:04 +0200 (Fri, 08 Oct 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r363 | daper | 2004-10-08 21:20:54 +0200 (Fri, 08 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r362 | daper | 2004-10-08 21:18:41 +0200 (Fri, 08 Oct 2004) | 3 lines

Merged from trunk: added CMD_SEND_EVENTS. The server sends events only when the
client requests that.

------------------------------------------------------------------------
r361 | daper | 2004-10-08 21:17:17 +0200 (Fri, 08 Oct 2004) | 2 lines

Sending CMD_SEND_EVENTS at startup.

------------------------------------------------------------------------
r360 | daper | 2004-10-08 21:16:40 +0200 (Fri, 08 Oct 2004) | 2 lines

Sending events only after client requests them.

------------------------------------------------------------------------
r359 | daper | 2004-10-08 21:16:07 +0200 (Fri, 08 Oct 2004) | 2 lines

Added CMD_SEND_EVENTS.

------------------------------------------------------------------------
r358 | daper | 2004-10-08 20:59:25 +0200 (Fri, 08 Oct 2004) | 2 lines

Merged from trunk: fixed deadlock in flush_events().

------------------------------------------------------------------------
r357 | daper | 2004-10-08 20:54:49 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed deadlock in flush_events().

------------------------------------------------------------------------
r356 | daper | 2004-10-08 20:09:01 +0200 (Fri, 08 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r355 | daper | 2004-10-08 19:17:36 +0200 (Fri, 08 Oct 2004) | 2 lines

Changed version to 2.0.0-beta1

------------------------------------------------------------------------
r354 | daper | 2004-10-08 18:56:13 +0200 (Fri, 08 Oct 2004) | 2 lines

2.0 branch

------------------------------------------------------------------------
r353 | daper | 2004-10-08 18:55:45 +0200 (Fri, 08 Oct 2004) | 2 lines

Directory for branches.

------------------------------------------------------------------------
r352 | daper | 2004-10-08 18:43:12 +0200 (Fri, 08 Oct 2004) | 3 lines

Dropping root group.
Fixed includes.

------------------------------------------------------------------------
r351 | daper | 2004-10-08 18:42:39 +0200 (Fri, 08 Oct 2004) | 4 lines

Droping higher priority and scheduling algorithm by the server - it's only for
buffer thread.
Closing the client when flush_events() failed.

------------------------------------------------------------------------
r350 | daper | 2004-10-08 16:47:37 +0200 (Fri, 08 Oct 2004) | 2 lines

Don't use __attribute__ when we don't have it.

------------------------------------------------------------------------
r349 | daper | 2004-10-08 16:47:02 +0200 (Fri, 08 Oct 2004) | 2 lines

Checking for __attribute__.

------------------------------------------------------------------------
r348 | daper | 2004-10-08 16:15:36 +0200 (Fri, 08 Oct 2004) | 3 lines

Event queue instead of sending events from playing thread. This should prevent
blocking if send() would block. Also get rid of client_sock_mut.

------------------------------------------------------------------------
r347 | daper | 2004-10-08 15:57:44 +0200 (Fri, 08 Oct 2004) | 2 lines

Setting process priority and scheduler.

------------------------------------------------------------------------
r346 | daper | 2004-10-08 15:56:54 +0200 (Fri, 08 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r345 | daper | 2004-10-08 15:43:55 +0200 (Fri, 08 Oct 2004) | 2 lines

Updated.

------------------------------------------------------------------------
r344 | daper | 2004-10-08 15:39:24 +0200 (Fri, 08 Oct 2004) | 2 lines

Updated for new command line and behaviuor.

------------------------------------------------------------------------
r343 | daper | 2004-10-08 15:25:15 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed help text.

------------------------------------------------------------------------
r342 | daper | 2004-10-08 15:17:23 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed help text.

------------------------------------------------------------------------
r341 | daper | 2004-10-08 15:03:58 +0200 (Fri, 08 Oct 2004) | 3 lines

Moved isdir() to main.c.
interface_error() printf message to stderr when interface is not initialized.

------------------------------------------------------------------------
r340 | daper | 2004-10-08 15:03:12 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed logging in req_play().

------------------------------------------------------------------------
r339 | daper | 2004-10-08 15:02:38 +0200 (Fri, 08 Oct 2004) | 3 lines

audio_play() plays the first item from the playlist when empty file name is
given.

------------------------------------------------------------------------
r338 | daper | 2004-10-08 15:01:51 +0200 (Fri, 08 Oct 2004) | 2 lines

Added -a, -c, and -p options.

------------------------------------------------------------------------
r337 | daper | 2004-10-08 15:01:09 +0200 (Fri, 08 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r336 | daper | 2004-10-08 13:50:47 +0200 (Fri, 08 Oct 2004) | 2 lines

Printing the directory name in error message when go_to_dir() failed.

------------------------------------------------------------------------
r335 | daper | 2004-10-08 13:49:12 +0200 (Fri, 08 Oct 2004) | 3 lines

Added make_path() - create new cwd from a path.
If StartInMusicDir is set, go to MusicDir.

------------------------------------------------------------------------
r334 | daper | 2004-10-08 13:32:34 +0200 (Fri, 08 Oct 2004) | 2 lines

Fixed entering relative directory using command line.

------------------------------------------------------------------------
r333 | daper | 2004-10-08 13:32:06 +0200 (Fri, 08 Oct 2004) | 3 lines

Better resolve_path() - resolves really all '../'.
Including files.h.

------------------------------------------------------------------------
r332 | daper | 2004-10-05 22:41:18 +0200 (Tue, 05 Oct 2004) | 2 lines

Playing maximum AUDIO_PLAY_MAX (in seconds) at once.

------------------------------------------------------------------------
r331 | daper | 2004-10-05 22:30:25 +0200 (Tue, 05 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r330 | daper | 2004-10-05 22:29:47 +0200 (Tue, 05 Oct 2004) | 4 lines

Processing file names passed at command line - adding files to the playlist or
entering the directory.
Moved send_playlist() upper.

------------------------------------------------------------------------
r329 | daper | 2004-10-05 22:28:13 +0200 (Tue, 05 Oct 2004) | 2 lines

Passing command line arguments to interface_init().

------------------------------------------------------------------------
r328 | daper | 2004-10-05 22:27:29 +0200 (Tue, 05 Oct 2004) | 2 lines

Added StartInMusicDir.

------------------------------------------------------------------------
r327 | daper | 2004-10-05 22:27:06 +0200 (Tue, 05 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r326 | daper | 2004-10-05 21:32:03 +0200 (Tue, 05 Oct 2004) | 3 lines

Better handling --sound-driver.
Added -m option.

------------------------------------------------------------------------
r325 | daper | 2004-10-05 21:30:38 +0200 (Tue, 05 Oct 2004) | 3 lines

Added StartInMusicDir.
Fixed option_ignore_config().

------------------------------------------------------------------------
r324 | daper | 2004-10-05 20:42:18 +0200 (Tue, 05 Oct 2004) | 3 lines

Added option_ignore_config().
Made check_int/str_option() public.

------------------------------------------------------------------------
r323 | daper | 2004-10-05 20:41:28 +0200 (Tue, 05 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r322 | daper | 2004-10-05 20:12:56 +0200 (Tue, 05 Oct 2004) | 2 lines

Fixed sending playlist when there are deleted items.

------------------------------------------------------------------------
r321 | daper | 2004-10-05 11:43:37 +0200 (Tue, 05 Oct 2004) | 3 lines

Added d command.
Fixed printing number of files when switching between playlist/directory.

------------------------------------------------------------------------
r320 | daper | 2004-10-05 11:42:33 +0200 (Tue, 05 Oct 2004) | 2 lines

Added plist_count().

------------------------------------------------------------------------
r319 | daper | 2004-10-05 11:42:17 +0200 (Tue, 05 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r318 | daper | 2004-10-05 10:18:00 +0200 (Tue, 05 Oct 2004) | 2 lines

Handling CMD_DELETE.

------------------------------------------------------------------------
r317 | daper | 2004-10-05 10:17:43 +0200 (Tue, 05 Oct 2004) | 2 lines

Added CMD_DELETE.

------------------------------------------------------------------------
r316 | daper | 2004-10-05 10:17:25 +0200 (Tue, 05 Oct 2004) | 2 lines

Added audio_plist_delete().

------------------------------------------------------------------------
r315 | daper | 2004-10-05 10:16:11 +0200 (Tue, 05 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r314 | daper | 2004-10-05 10:15:42 +0200 (Tue, 05 Oct 2004) | 2 lines

Added plist_delete().

------------------------------------------------------------------------
r313 | daper | 2004-10-05 00:22:37 +0200 (Tue, 05 Oct 2004) | 2 lines

Updated help.

------------------------------------------------------------------------
r312 | daper | 2004-10-05 00:05:36 +0200 (Tue, 05 Oct 2004) | 2 lines

Added m command.

------------------------------------------------------------------------
r311 | daper | 2004-10-05 00:02:14 +0200 (Tue, 05 Oct 2004) | 2 lines

Saving the current directory to a file and entering this directory at startup.

------------------------------------------------------------------------
r310 | daper | 2004-10-04 23:35:47 +0200 (Mon, 04 Oct 2004) | 2 lines

Added ShowHiddenFiles entry.

------------------------------------------------------------------------
r309 | daper | 2004-10-04 23:35:30 +0200 (Mon, 04 Oct 2004) | 2 lines

Added ShowHiddenFiles option.

------------------------------------------------------------------------
r308 | daper | 2004-10-04 23:35:11 +0200 (Mon, 04 Oct 2004) | 2 lines

Ignoring hidden files if this option is set.

------------------------------------------------------------------------
r307 | daper | 2004-10-04 23:34:32 +0200 (Mon, 04 Oct 2004) | 2 lines

Added H command.

------------------------------------------------------------------------
r306 | daper | 2004-10-04 13:32:11 +0200 (Mon, 04 Oct 2004) | 2 lines

Updated for new configuration options.

------------------------------------------------------------------------
r305 | daper | 2004-10-04 13:31:50 +0200 (Mon, 04 Oct 2004) | 2 lines

Removed BUGS section.

------------------------------------------------------------------------
r304 | daper | 2004-10-04 09:43:08 +0200 (Mon, 04 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r303 | daper | 2004-10-04 09:41:31 +0200 (Mon, 04 Oct 2004) | 3 lines

Added the 'r' command: reread directory.
Removed usused logit().

------------------------------------------------------------------------
r302 | daper | 2004-10-04 09:40:42 +0200 (Mon, 04 Oct 2004) | 3 lines

Fixed menu_setcurritem(): check if the item exists.
Added menu_set_top_item().

------------------------------------------------------------------------
r301 | daper | 2004-10-04 09:39:39 +0200 (Mon, 04 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r300 | daper | 2004-10-04 09:14:28 +0200 (Mon, 04 Oct 2004) | 2 lines

Added ^r command: redraw the screen.

------------------------------------------------------------------------
r299 | daper | 2004-10-04 00:12:03 +0200 (Mon, 04 Oct 2004) | 2 lines

Temporary fixed reading sound driver option from the config file.

------------------------------------------------------------------------
r298 | daper | 2004-10-04 00:11:03 +0200 (Mon, 04 Oct 2004) | 2 lines

Remover sound driver parameter from server_init().

------------------------------------------------------------------------
r297 | daper | 2004-10-04 00:10:18 +0200 (Mon, 04 Oct 2004) | 2 lines

Sound Driver string read from options.

------------------------------------------------------------------------
r296 | daper | 2004-10-04 00:09:56 +0200 (Mon, 04 Oct 2004) | 2 lines

Playback and mixer devices, and mixer channel read from options.

------------------------------------------------------------------------
r295 | daper | 2004-10-04 00:09:00 +0200 (Mon, 04 Oct 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r294 | daper | 2004-10-04 00:08:26 +0200 (Mon, 04 Oct 2004) | 2 lines

Added options: OSSDevice, OSSMixerDevice, OSSMixerChannel, SoundDriver.

------------------------------------------------------------------------
r293 | daper | 2004-10-03 23:08:16 +0200 (Sun, 03 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r292 | daper | 2004-10-03 23:07:51 +0200 (Sun, 03 Oct 2004) | 3 lines

Fixed behaviour when seek failed.
Checking return value of audio_open().

------------------------------------------------------------------------
r291 | daper | 2004-10-03 23:06:41 +0200 (Sun, 03 Oct 2004) | 2 lines

Added wav.[ch].

------------------------------------------------------------------------
r290 | daper | 2004-10-03 23:06:28 +0200 (Sun, 03 Oct 2004) | 2 lines

Added wav type.

------------------------------------------------------------------------
r289 | daper | 2004-10-03 23:06:04 +0200 (Sun, 03 Oct 2004) | 2 lines

Added comment do audio_open().

------------------------------------------------------------------------
r288 | daper | 2004-10-03 23:05:39 +0200 (Sun, 03 Oct 2004) | 2 lines

Support for WAVE format.

------------------------------------------------------------------------
r287 | daper | 2004-10-03 18:26:31 +0200 (Sun, 03 Oct 2004) | 3 lines

Fixed hang when the client runs the server and it exits before sending the
ready message.

------------------------------------------------------------------------
r286 | daper | 2004-10-03 18:15:26 +0200 (Sun, 03 Oct 2004) | 2 lines

Made 'f' command working (switch ReadTags).

------------------------------------------------------------------------
r285 | daper | 2004-10-03 18:15:06 +0200 (Sun, 03 Oct 2004) | 2 lines

Don't read tags when tags are already attached to an item.

------------------------------------------------------------------------
r284 | daper | 2004-10-03 14:26:23 +0200 (Sun, 03 Oct 2004) | 2 lines

Removed checking for has_colors().

------------------------------------------------------------------------
r283 | daper | 2004-10-03 14:15:39 +0200 (Sun, 03 Oct 2004) | 2 lines

Don't add a file to the list if it's already on the list.

------------------------------------------------------------------------
r282 | daper | 2004-10-03 14:10:19 +0200 (Sun, 03 Oct 2004) | 2 lines

Don't allow to add a file to the playlist more than once.

------------------------------------------------------------------------
r281 | daper | 2004-10-03 12:44:47 +0200 (Sun, 03 Oct 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r280 | daper | 2004-10-03 12:10:34 +0200 (Sun, 03 Oct 2004) | 2 lines

Printing version at startup.

------------------------------------------------------------------------
r279 | daper | 2004-10-03 12:08:50 +0200 (Sun, 03 Oct 2004) | 2 lines

'M' command to hide interface message immedeiately.

------------------------------------------------------------------------
r278 | daper | 2004-10-03 12:08:08 +0200 (Sun, 03 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r277 | daper | 2004-10-03 11:57:25 +0200 (Sun, 03 Oct 2004) | 2 lines

Removing old socket and checking if the pid read from pid file is valid.

------------------------------------------------------------------------
r276 | daper | 2004-10-03 11:39:54 +0200 (Sun, 03 Oct 2004) | 2 lines

Removed unneeded TODO comments.

------------------------------------------------------------------------
r275 | daper | 2004-10-03 11:38:23 +0200 (Sun, 03 Oct 2004) | 2 lines

Checking if config values make sense.

------------------------------------------------------------------------
r274 | daper | 2004-10-03 10:55:53 +0200 (Sun, 03 Oct 2004) | 2 lines

Added help screen.

------------------------------------------------------------------------
r273 | daper | 2004-10-03 10:55:32 +0200 (Sun, 03 Oct 2004) | 2 lines

Added seeking.

------------------------------------------------------------------------
r272 | daper | 2004-10-03 10:30:13 +0200 (Sun, 03 Oct 2004) | 2 lines

Made working with new player.c API.

------------------------------------------------------------------------
r271 | daper | 2004-10-03 10:29:41 +0200 (Sun, 03 Oct 2004) | 2 lines

decoder_funcs made static.

------------------------------------------------------------------------
r270 | daper | 2004-10-02 23:33:19 +0200 (Sat, 02 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r269 | daper | 2004-10-02 23:33:05 +0200 (Sat, 02 Oct 2004) | 2 lines

Changed the seek prototype and comment: return the time.

------------------------------------------------------------------------
r268 | daper | 2004-10-02 23:32:07 +0200 (Sat, 02 Oct 2004) | 2 lines

Added seeking.

------------------------------------------------------------------------
r267 | daper | 2004-10-02 23:31:46 +0200 (Sat, 02 Oct 2004) | 2 lines

Added seeking.

------------------------------------------------------------------------
r266 | daper | 2004-10-02 23:01:19 +0200 (Sat, 02 Oct 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r265 | daper | 2004-10-02 23:01:05 +0200 (Sat, 02 Oct 2004) | 3 lines

audio_open() gets struct sound_params * as a parameter.
Destroying curr_playing_mutex.

------------------------------------------------------------------------
r264 | daper | 2004-10-02 23:00:13 +0200 (Sat, 02 Oct 2004) | 2 lines

Opening audio device moved to player.c.

------------------------------------------------------------------------
r263 | daper | 2004-10-02 22:58:16 +0200 (Sat, 02 Oct 2004) | 2 lines

decode() gets struct sound_params * as a parameter.

------------------------------------------------------------------------
r262 | daper | 2004-10-02 22:57:19 +0200 (Sat, 02 Oct 2004) | 2 lines

audio_open() takes struct sound_params * as argument.

------------------------------------------------------------------------
r261 | daper | 2004-10-02 22:56:13 +0200 (Sat, 02 Oct 2004) | 2 lines

Destroying client_socket_mut.

------------------------------------------------------------------------
r260 | daper | 2004-10-02 22:54:21 +0200 (Sat, 02 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r259 | daper | 2004-10-02 20:06:47 +0200 (Sat, 02 Oct 2004) | 2 lines

Fixed logging.

------------------------------------------------------------------------
r258 | daper | 2004-10-02 20:00:05 +0200 (Sat, 02 Oct 2004) | 1 line

Updated.
------------------------------------------------------------------------
r257 | daper | 2004-10-02 19:59:50 +0200 (Sat, 02 Oct 2004) | 2 lines

Added player.[ch].

------------------------------------------------------------------------
r256 | daper | 2004-10-02 19:59:22 +0200 (Sat, 02 Oct 2004) | 2 lines

Initialization of file_types.

------------------------------------------------------------------------
r255 | daper | 2004-10-02 19:58:59 +0200 (Sat, 02 Oct 2004) | 4 lines

Added conditional signal to struct buf that can be set by other thread.
Removed buf_wait_empty() and buf_abort_put().
Added buf_get_free().

------------------------------------------------------------------------
r254 | daper | 2004-10-02 19:57:27 +0200 (Sat, 02 Oct 2004) | 2 lines

Made working with new player.c/file_types.c.

------------------------------------------------------------------------
r253 | daper | 2004-10-02 19:56:26 +0200 (Sat, 02 Oct 2004) | 2 lines

New struct decoder_funcs instead of just play/info functions.

------------------------------------------------------------------------
r252 | daper | 2004-10-02 19:55:31 +0200 (Sat, 02 Oct 2004) | 2 lines

Generic decoder, replacement for much of the mp3/ogg code.

------------------------------------------------------------------------
r251 | daper | 2004-10-01 18:01:55 +0200 (Fri, 01 Oct 2004) | 2 lines

Checking for __FUNCTION__.

------------------------------------------------------------------------
r250 | daper | 2004-10-01 18:01:37 +0200 (Fri, 01 Oct 2004) | 2 lines

Fixed checking for __FUNCTION__.

------------------------------------------------------------------------
r249 | daper | 2004-10-01 11:20:25 +0200 (Fri, 01 Oct 2004) | 2 lines

Logging file name, line and function name with each entry.

------------------------------------------------------------------------
r248 | daper | 2004-09-29 08:44:00 +0200 (Wed, 29 Sep 2004) | 3 lines

Fixed stopping and going to the next song.
Added some logging.

------------------------------------------------------------------------
r247 | daper | 2004-09-23 18:28:53 +0200 (Thu, 23 Sep 2004) | 2 lines

Setting empty xterm title when nothing is played.

------------------------------------------------------------------------
r246 | daper | 2004-09-23 17:04:50 +0200 (Thu, 23 Sep 2004) | 2 lines

More ignore patterns for autoconf.

------------------------------------------------------------------------
r245 | daper | 2004-09-23 16:29:22 +0200 (Thu, 23 Sep 2004) | 2 lines

REmoved information about version checker.

------------------------------------------------------------------------
r244 | daper | 2004-09-23 10:13:31 +0200 (Thu, 23 Sep 2004) | 2 lines

Fixed an entry.

------------------------------------------------------------------------
r243 | daper | 2004-09-23 10:12:14 +0200 (Thu, 23 Sep 2004) | 4 lines

Fixed typos.
Added information about new key commands.
Updated.

------------------------------------------------------------------------
r242 | daper | 2004-09-23 09:32:58 +0200 (Thu, 23 Sep 2004) | 4 lines

Set the date.
Removed all options from old MOC, we fill it later.
Added BUGS section.

------------------------------------------------------------------------
r241 | daper | 2004-09-23 09:32:17 +0200 (Thu, 23 Sep 2004) | 2 lines

Added seeking.

------------------------------------------------------------------------
r240 | daper | 2004-09-22 22:39:14 +0200 (Wed, 22 Sep 2004) | 2 lines

Removed unneded and sometimes bad close() of server socket.

------------------------------------------------------------------------
r239 | daper | 2004-09-22 22:24:56 +0200 (Wed, 22 Sep 2004) | 2 lines

Fixed stopping.

------------------------------------------------------------------------
r238 | daper | 2004-09-22 19:46:35 +0200 (Wed, 22 Sep 2004) | 2 lines

Support for shuffle using plist_rand().

------------------------------------------------------------------------
r237 | daper | 2004-09-22 19:46:09 +0200 (Wed, 22 Sep 2004) | 2 lines

Added plist_rand().

------------------------------------------------------------------------
r236 | daper | 2004-09-22 19:45:25 +0200 (Wed, 22 Sep 2004) | 2 lines

Initializing random numer generator.

------------------------------------------------------------------------
r235 | daper | 2004-09-22 19:44:47 +0200 (Wed, 22 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r234 | daper | 2004-09-21 21:40:16 +0200 (Tue, 21 Sep 2004) | 5 lines

Added reset_dev to struct buf instead of resetting the device every time when
we get stop or pause. This fixes big CPU usage when the buffer has a lot of
free space and the buffer thread is paused.
Destroying the mutex and conditions when destroying the bufer.

------------------------------------------------------------------------
r233 | daper | 2004-09-21 21:37:50 +0200 (Tue, 21 Sep 2004) | 3 lines

Fixed usage of audio_play(), CMD_PLAY now requires the file name instead on an
index.

------------------------------------------------------------------------
r232 | daper | 2004-09-21 21:37:05 +0200 (Tue, 21 Sep 2004) | 5 lines

Added shuffled list (not working yet).
No real and fake index on the list: use the file name to choose an item.
Fixed audio_stop().
Fixed deadlock after many invokes of audio_play() in a short time.

------------------------------------------------------------------------
r231 | daper | 2004-09-21 21:34:52 +0200 (Tue, 21 Sep 2004) | 2 lines

Don't use buf_stop().

------------------------------------------------------------------------
r230 | daper | 2004-09-21 21:34:21 +0200 (Tue, 21 Sep 2004) | 2 lines

Added reset_dev to struct buf.

------------------------------------------------------------------------
r229 | daper | 2004-09-21 21:33:59 +0200 (Tue, 21 Sep 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r228 | daper | 2004-09-21 21:33:25 +0200 (Tue, 21 Sep 2004) | 3 lines

plist_next() now returns the real item index.
Added locking mutex to plist_find_fname().

------------------------------------------------------------------------
r227 | daper | 2004-09-21 21:29:42 +0200 (Tue, 21 Sep 2004) | 3 lines

Fixed usage of CMD_PLAY.
Checking for terminal size.

------------------------------------------------------------------------
r226 | daper | 2004-09-20 11:32:23 +0200 (Mon, 20 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r225 | daper | 2004-09-20 11:31:49 +0200 (Mon, 20 Sep 2004) | 2 lines

Fixed is_subdir().

------------------------------------------------------------------------
r224 | daper | 2004-09-19 23:00:25 +0200 (Sun, 19 Sep 2004) | 2 lines

Fixed setting bitrate, rate, and the number of channels.

------------------------------------------------------------------------
r223 | daper | 2004-09-19 22:31:58 +0200 (Sun, 19 Sep 2004) | 1 line

Removed old files.
------------------------------------------------------------------------
r222 | daper | 2004-09-19 22:26:25 +0200 (Sun, 19 Sep 2004) | 1 line

Removed old file
------------------------------------------------------------------------
r221 | daper | 2004-09-19 22:26:12 +0200 (Sun, 19 Sep 2004) | 1 line

Removed old file
------------------------------------------------------------------------
r220 | daper | 2004-09-19 18:17:56 +0200 (Sun, 19 Sep 2004) | 2 lines

Added mixer routines.

------------------------------------------------------------------------
r219 | daper | 2004-09-19 18:17:31 +0200 (Sun, 19 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r218 | daper | 2004-09-19 18:17:01 +0200 (Sun, 19 Sep 2004) | 3 lines

Setting/showing the mixer.
Mover communication routines heigher to avoid warning.

------------------------------------------------------------------------
r217 | daper | 2004-09-19 18:15:28 +0200 (Sun, 19 Sep 2004) | 2 lines

Handling CMD_GET_MIXER and CMD_SET_MIXER.

------------------------------------------------------------------------
r216 | daper | 2004-09-19 18:14:51 +0200 (Sun, 19 Sep 2004) | 2 lines

Added CMD_GET_MIXER and CMD_SET_MIXER.

------------------------------------------------------------------------
r215 | daper | 2004-09-19 16:01:17 +0200 (Sun, 19 Sep 2004) | 2 lines

Added log patterns.

------------------------------------------------------------------------
r214 | daper | 2004-09-19 16:00:39 +0200 (Sun, 19 Sep 2004) | 3 lines

Added read_directory_recurr().
Fixed comments.

------------------------------------------------------------------------
r213 | daper | 2004-09-19 15:59:36 +0200 (Sun, 19 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r212 | daper | 2004-09-19 15:59:09 +0200 (Sun, 19 Sep 2004) | 5 lines

Added commands for clearing the playlist and adding recursively directory
content.
Freeing the playlist.
Showing the number of file on the playlist and in the current directory.

------------------------------------------------------------------------
r211 | daper | 2004-09-19 14:36:28 +0200 (Sun, 19 Sep 2004) | 3 lines

Added playlist and commands: 'l' (switching between the playlist and the
current directory, and 'a' (add a file to the playlist).

------------------------------------------------------------------------
r210 | daper | 2004-09-19 14:34:46 +0200 (Sun, 19 Sep 2004) | 3 lines

Added plist_add_from_item().
Added some assert()s.

------------------------------------------------------------------------
r209 | daper | 2004-09-19 14:33:58 +0200 (Sun, 19 Sep 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r208 | daper | 2004-09-19 14:17:53 +0200 (Sun, 19 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r207 | daper | 2004-09-19 13:27:34 +0200 (Sun, 19 Sep 2004) | 2 lines

Added tags ignore pattern.

------------------------------------------------------------------------
r206 | daper | 2004-09-19 13:25:45 +0200 (Sun, 19 Sep 2004) | 2 lines

Fixed getting options value.

------------------------------------------------------------------------
r205 | daper | 2004-09-19 13:25:26 +0200 (Sun, 19 Sep 2004) | 2 lines

Fixed sending options value.

------------------------------------------------------------------------
r204 | daper | 2004-09-19 12:45:48 +0200 (Sun, 19 Sep 2004) | 2 lines

Removed unused client pattern.

------------------------------------------------------------------------
r203 | daper | 2004-09-19 12:45:05 +0200 (Sun, 19 Sep 2004) | 2 lines

Added *.tmp ignore pattern.

------------------------------------------------------------------------
r202 | daper | 2004-09-19 12:43:59 +0200 (Sun, 19 Sep 2004) | 2 lines

Added ignore property.

------------------------------------------------------------------------
r201 | daper | 2004-09-19 12:40:11 +0200 (Sun, 19 Sep 2004) | 2 lines

Created main trunk instead of just top level directory.

------------------------------------------------------------------------
r200 | daper | 2004-09-19 12:35:24 +0200 (Sun, 19 Sep 2004) | 2 lines

Directory for the main trunk.

------------------------------------------------------------------------
r199 | daper | 2004-09-19 12:30:09 +0200 (Sun, 19 Sep 2004) | 2 lines

Showing and setting Shuffle, Repeat, and AutoNext options.

------------------------------------------------------------------------
r198 | daper | 2004-09-19 12:29:15 +0200 (Sun, 19 Sep 2004) | 2 lines

Handling CMD_GET_OPTION and CMD_SET_OPTION.

------------------------------------------------------------------------
r197 | daper | 2004-09-19 12:28:42 +0200 (Sun, 19 Sep 2004) | 2 lines

Updated comments.

------------------------------------------------------------------------
r196 | daper | 2004-09-19 12:28:18 +0200 (Sun, 19 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r195 | daper | 2004-09-19 12:28:03 +0200 (Sun, 19 Sep 2004) | 2 lines

Using Repeat option.

------------------------------------------------------------------------
r194 | daper | 2004-09-19 11:22:34 +0200 (Sun, 19 Sep 2004) | 2 lines

Fixed comment.

------------------------------------------------------------------------
r193 | daper | 2004-09-18 18:25:10 +0200 (Sat, 18 Sep 2004) | 2 lines

Creating ~/.moc directory if not available.

------------------------------------------------------------------------
r192 | daper | 2004-09-18 18:05:16 +0200 (Sat, 18 Sep 2004) | 2 lines

New fatal() usage.

------------------------------------------------------------------------
r191 | daper | 2004-09-18 18:05:01 +0200 (Sat, 18 Sep 2004) | 2 lines

fatal() logs error using logit().

------------------------------------------------------------------------
r190 | daper | 2004-09-18 17:58:41 +0200 (Sat, 18 Sep 2004) | 2 lines

FIxed error message when opening mixer.

------------------------------------------------------------------------
r189 | daper | 2004-09-18 17:52:46 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed messages.

------------------------------------------------------------------------
r188 | daper | 2004-09-18 17:14:49 +0200 (Sat, 18 Sep 2004) | 3 lines

Use HAVE_OSS when initializing.
Fixed comment.

------------------------------------------------------------------------
r187 | daper | 2004-09-18 17:11:41 +0200 (Sat, 18 Sep 2004) | 5 lines

Parsing configuration file.
Fixed option_set_str()/option_get_str().
Changed default value of OutputBuffer to 512.
Changed find_option() to not doing fatal(), but returning -1.

------------------------------------------------------------------------
r186 | daper | 2004-09-18 17:07:55 +0200 (Sat, 18 Sep 2004) | 3 lines

Updated prototypes.
Fixed include.

------------------------------------------------------------------------
r185 | daper | 2004-09-18 17:07:27 +0200 (Sat, 18 Sep 2004) | 3 lines

Fixed freing options.
fatal() with printf()-like arguments.

------------------------------------------------------------------------
r184 | daper | 2004-09-18 17:06:02 +0200 (Sat, 18 Sep 2004) | 1 line

Updated prototype.
------------------------------------------------------------------------
r183 | daper | 2004-09-18 17:05:48 +0200 (Sat, 18 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r182 | daper | 2004-09-18 16:42:14 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed getting ShowStreamErrors option.

------------------------------------------------------------------------
r181 | daper | 2004-09-18 15:05:43 +0200 (Sat, 18 Sep 2004) | 2 lines

Setting rate and total time.

------------------------------------------------------------------------
r180 | daper | 2004-09-18 15:05:19 +0200 (Sat, 18 Sep 2004) | 3 lines

Sending events about change of rate, bitrate and number of channels.
Fixed CMD_GET_TIME.

------------------------------------------------------------------------
r179 | daper | 2004-09-18 15:03:51 +0200 (Sat, 18 Sep 2004) | 2 lines

Reseting total time, bitrate, rate and number of channels after playing a song.

------------------------------------------------------------------------
r178 | daper | 2004-09-18 15:02:54 +0200 (Sat, 18 Sep 2004) | 2 lines

Showing total time, bitrate, rate and stereo (handling related events).

------------------------------------------------------------------------
r177 | daper | 2004-09-18 13:34:49 +0200 (Sat, 18 Sep 2004) | 2 lines

Show if OSS and debugging is compiled in.

------------------------------------------------------------------------
r176 | daper | 2004-09-18 13:34:02 +0200 (Sat, 18 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r175 | daper | 2004-09-18 13:05:02 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed race when notifing about change of the state.

------------------------------------------------------------------------
r174 | daper | 2004-09-18 13:02:35 +0200 (Sat, 18 Sep 2004) | 3 lines

Uncommented detecting vorbis.
Showing if OSS is to be compiled.

------------------------------------------------------------------------
r173 | daper | 2004-09-18 13:01:38 +0200 (Sat, 18 Sep 2004) | 2 lines

Added ogg.[ch].

------------------------------------------------------------------------
r172 | daper | 2004-09-18 13:01:17 +0200 (Sat, 18 Sep 2004) | 2 lines

Support for ogg.

------------------------------------------------------------------------
r171 | daper | 2004-09-18 12:59:49 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed compilation error when some audio format is not used.

------------------------------------------------------------------------
r170 | daper | 2004-09-18 12:56:26 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed includes.

------------------------------------------------------------------------
r169 | daper | 2004-09-18 12:56:15 +0200 (Sat, 18 Sep 2004) | 2 lines

Removed unused mp3_time() prototype.

------------------------------------------------------------------------
r168 | daper | 2004-09-17 11:54:46 +0200 (Fri, 17 Sep 2004) | 2 lines

Fixed setting STATE_STOP.

------------------------------------------------------------------------
r167 | daper | 2004-09-16 21:08:24 +0200 (Thu, 16 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r166 | daper | 2004-09-16 21:06:44 +0200 (Thu, 16 Sep 2004) | 3 lines

Added attributes to menu structre.
Added menu_mark_plist_item()/menu_unmark_item()

------------------------------------------------------------------------
r165 | daper | 2004-09-16 21:05:42 +0200 (Thu, 16 Sep 2004) | 4 lines

Fixed sorting directories - '../' always on top.
Marking currently played file on the playlist.
Fixed usage on menu_new().

------------------------------------------------------------------------
r164 | daper | 2004-09-16 21:04:17 +0200 (Thu, 16 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r163 | daper | 2004-09-15 11:41:32 +0200 (Wed, 15 Sep 2004) | 2 lines

Fixed usage of audio_init().

------------------------------------------------------------------------
r162 | daper | 2004-09-15 11:41:20 +0200 (Wed, 15 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r161 | daper | 2004-09-15 11:40:57 +0200 (Wed, 15 Sep 2004) | 3 lines

Added --sound-driver option.
Added params variable to store program parameters in one place.

------------------------------------------------------------------------
r160 | daper | 2004-09-15 11:40:06 +0200 (Wed, 15 Sep 2004) | 2 lines

More plugin-like code for sound output: 2 drivers: OSS and null.

------------------------------------------------------------------------
r159 | daper | 2004-09-15 11:39:01 +0200 (Wed, 15 Sep 2004) | 2 lines

OSS is not required, we have null.

------------------------------------------------------------------------
r158 | daper | 2004-09-15 11:38:21 +0200 (Wed, 15 Sep 2004) | 3 lines

Added null_out.[ch]
Made oss.c optional.

------------------------------------------------------------------------
r157 | daper | 2004-09-15 11:37:41 +0200 (Wed, 15 Sep 2004) | 2 lines

Fake sound driver.

------------------------------------------------------------------------
r156 | daper | 2004-09-14 22:02:03 +0200 (Tue, 14 Sep 2004) | 2 lines

Setting the main window's title.

------------------------------------------------------------------------
r155 | daper | 2004-09-14 21:54:10 +0200 (Tue, 14 Sep 2004) | 2 lines

Fixed a warning when we don't have SIGWINCH.

------------------------------------------------------------------------
r154 | daper | 2004-09-14 21:49:59 +0200 (Tue, 14 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r153 | daper | 2004-09-14 21:46:49 +0200 (Tue, 14 Sep 2004) | 3 lines

Support for terminal resizing.
Removed useless init_screen().

------------------------------------------------------------------------
r152 | daper | 2004-09-14 21:45:28 +0200 (Tue, 14 Sep 2004) | 2 lines

Added menu_update_size().

------------------------------------------------------------------------
r151 | daper | 2004-09-14 21:45:06 +0200 (Tue, 14 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r150 | daper | 2004-09-14 20:51:29 +0200 (Tue, 14 Sep 2004) | 2 lines

Added xterm title.

------------------------------------------------------------------------
r149 | daper | 2004-09-14 19:54:02 +0200 (Tue, 14 Sep 2004) | 3 lines

find_title(): checking if the file is on the playlist, trying to read the tags
and build title. Return the file name it it all fails.

------------------------------------------------------------------------
r148 | daper | 2004-09-14 19:52:21 +0200 (Tue, 14 Sep 2004) | 2 lines

Added plist_find_fname().

------------------------------------------------------------------------
r147 | daper | 2004-09-14 19:52:02 +0200 (Tue, 14 Sep 2004) | 2 lines

Made read_file_tags() public.

------------------------------------------------------------------------
r146 | daper | 2004-09-14 19:51:32 +0200 (Tue, 14 Sep 2004) | 2 lines

Updated prototypes.

------------------------------------------------------------------------
r145 | daper | 2004-09-14 19:51:01 +0200 (Tue, 14 Sep 2004) | 2 lines

Fixed counting time.

------------------------------------------------------------------------
r144 | daper | 2004-09-14 17:47:10 +0200 (Tue, 14 Sep 2004) | 5 lines

Added tags_new().
plist_add() returns index of the added item.
Setting title of an item to NULL.
Added build_title().

------------------------------------------------------------------------
r143 | daper | 2004-09-14 17:45:30 +0200 (Tue, 14 Sep 2004) | 2 lines

Reading tags when ReadTags is on.

------------------------------------------------------------------------
r142 | daper | 2004-09-14 17:45:01 +0200 (Tue, 14 Sep 2004) | 4 lines

Fixed memory leak in make_titles_file().
Added make_titles_tags().
Added functions to read tags.

------------------------------------------------------------------------
r141 | daper | 2004-09-14 17:43:07 +0200 (Tue, 14 Sep 2004) | 3 lines

Fixed memory leak when reading tags.
Removed unnecessary code.

------------------------------------------------------------------------
r140 | daper | 2004-09-14 17:41:48 +0200 (Tue, 14 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r139 | daper | 2004-09-14 17:41:36 +0200 (Tue, 14 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r138 | daper | 2004-09-13 12:41:36 +0200 (Mon, 13 Sep 2004) | 2 lines

Cahanged name of FullInfo option to ReadTags.

------------------------------------------------------------------------
r137 | daper | 2004-09-11 21:44:13 +0200 (Sat, 11 Sep 2004) | 2 lines

Showing a message when reading a directory.

------------------------------------------------------------------------
r136 | daper | 2004-09-11 21:01:39 +0200 (Sat, 11 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r135 | daper | 2004-09-11 20:53:23 +0200 (Sat, 11 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r134 | daper | 2004-09-11 20:48:04 +0200 (Sat, 11 Sep 2004) | 2 lines

Added logs ignore pattern.

------------------------------------------------------------------------
r133 | daper | 2004-09-11 20:43:30 +0200 (Sat, 11 Sep 2004) | 2 lines

Pinging the server after connect.

------------------------------------------------------------------------
r132 | daper | 2004-09-11 20:43:03 +0200 (Sat, 11 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r131 | daper | 2004-09-11 20:42:48 +0200 (Sat, 11 Sep 2004) | 2 lines

Added ping/pong command end event.

------------------------------------------------------------------------
r130 | daper | 2004-09-11 20:42:20 +0200 (Sat, 11 Sep 2004) | 2 lines

Handle CMD_PING.

------------------------------------------------------------------------
r129 | daper | 2004-09-11 20:14:59 +0200 (Sat, 11 Sep 2004) | 2 lines

Fixed 100% CPU usage when paused.

------------------------------------------------------------------------
r128 | daper | 2004-09-11 18:56:04 +0200 (Sat, 11 Sep 2004) | 2 lines

Fixed oss_reset().

------------------------------------------------------------------------
r127 | daper | 2004-09-11 18:42:47 +0200 (Sat, 11 Sep 2004) | 2 lines

Added debug parameter to interface_init() to turn on logging to a file.

------------------------------------------------------------------------
r126 | daper | 2004-09-11 18:29:24 +0200 (Sat, 11 Sep 2004) | 6 lines

Handle keys: Q (kill the server), s (stop), n (next), p or space (pause).
Fixed exiting.
Handle EV_EXIT.
Updating current time when updating the status.
Fixed initializing file_info.time_left.

------------------------------------------------------------------------
r125 | daper | 2004-09-11 17:59:12 +0200 (Sat, 11 Sep 2004) | 2 lines

Added assert() in plist_find().

------------------------------------------------------------------------
r124 | daper | 2004-09-11 17:58:29 +0200 (Sat, 11 Sep 2004) | 3 lines

Fixed detecting the end of the playlist.
Added audio_next().

------------------------------------------------------------------------
r123 | daper | 2004-09-11 12:32:20 +0200 (Sat, 11 Sep 2004) | 2 lines

Handling CMD_NEXT.

------------------------------------------------------------------------
r122 | daper | 2004-09-11 12:25:08 +0200 (Sat, 11 Sep 2004) | 2 lines

Made hardware_buf_fill a member of struct buf instead of global variable.

------------------------------------------------------------------------
r121 | daper | 2004-09-11 12:24:22 +0200 (Sat, 11 Sep 2004) | 3 lines

After end of playing, first change the time to 0, and then notify about the
change of the state.

------------------------------------------------------------------------
r120 | daper | 2004-09-11 12:22:22 +0200 (Sat, 11 Sep 2004) | 2 lines

Setting audio parameters to 0 on close.

------------------------------------------------------------------------
r119 | daper | 2004-09-10 12:18:17 +0200 (Fri, 10 Sep 2004) | 2 lines

Initializing options.

------------------------------------------------------------------------
r118 | daper | 2004-09-10 12:17:49 +0200 (Fri, 10 Sep 2004) | 2 lines

Uset options AutoNext and OutputBuffer.

------------------------------------------------------------------------
r117 | daper | 2004-09-10 12:17:20 +0200 (Fri, 10 Sep 2004) | 2 lines

Replaced commented out options.show_errors with options_get_int().

------------------------------------------------------------------------
r116 | daper | 2004-09-10 12:16:31 +0200 (Fri, 10 Sep 2004) | 1 line

Added options.[ch] files.
------------------------------------------------------------------------
r115 | daper | 2004-09-10 12:15:59 +0200 (Fri, 10 Sep 2004) | 2 lines

Fixed segfault in find_title().

------------------------------------------------------------------------
r114 | daper | 2004-09-10 12:15:31 +0200 (Fri, 10 Sep 2004) | 1 line

Configuration options code.
------------------------------------------------------------------------
r113 | daper | 2004-09-10 10:21:28 +0200 (Fri, 10 Sep 2004) | 2 lines

Removed unused file.

------------------------------------------------------------------------
r112 | daper | 2004-09-10 10:19:58 +0200 (Fri, 10 Sep 2004) | 3 lines

Saving track as integer.
Replaced song_info with struct file_tags.

------------------------------------------------------------------------
r111 | daper | 2004-09-10 10:18:52 +0200 (Fri, 10 Sep 2004) | 2 lines

Removed songlist.h

------------------------------------------------------------------------
r110 | daper | 2004-09-10 10:18:22 +0200 (Fri, 10 Sep 2004) | 2 lines

Replaced song_info with struct file_tags.

------------------------------------------------------------------------
r109 | daper | 2004-09-10 09:51:46 +0200 (Fri, 10 Sep 2004) | 4 lines

Handling EV_STATE - showing the state and the played file name.
Don't invoke server_event() from get_data_*(), it breaks communicatios, the
only event we care is EV_STATE.

------------------------------------------------------------------------
r108 | daper | 2004-09-09 23:45:53 +0200 (Thu, 09 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r107 | daper | 2004-09-09 14:09:40 +0200 (Thu, 09 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r106 | daper | 2004-09-09 14:00:17 +0200 (Thu, 09 Sep 2004) | 3 lines

Fixed sending EV_CTIME.
Added CMD_GET_SNAME.

------------------------------------------------------------------------
r105 | daper | 2004-09-09 13:59:24 +0200 (Thu, 09 Sep 2004) | 2 lines

Changed behaviour of plist_next: return num not counting deleted items.

------------------------------------------------------------------------
r104 | daper | 2004-09-09 13:58:25 +0200 (Thu, 09 Sep 2004) | 3 lines

Fixed usage of plist_find()/plist_next().
Added audio_get_sname();

------------------------------------------------------------------------
r103 | daper | 2004-09-09 13:57:33 +0200 (Thu, 09 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r102 | daper | 2004-09-09 13:57:14 +0200 (Thu, 09 Sep 2004) | 2 lines

Allow to receive strings with length 0.

------------------------------------------------------------------------
r101 | daper | 2004-09-09 11:30:53 +0200 (Thu, 09 Sep 2004) | 2 lines

Added some features.

------------------------------------------------------------------------
r100 | daper | 2004-09-09 10:40:10 +0200 (Thu, 09 Sep 2004) | 2 lines

Marked items not yet done in the new code.

------------------------------------------------------------------------
r99 | daper | 2004-09-08 10:31:14 +0200 (Wed, 08 Sep 2004) | 6 lines

Showing the current time - handle EV_CTIME.
Fixed update_info_win() - do werase().
Added time_lest and stime_num to file_info structure.
Added CLR_NUMBERS.
Added get_data_int().

------------------------------------------------------------------------
r98 | daper | 2004-09-08 10:28:42 +0200 (Wed, 08 Sep 2004) | 2 lines

Fixed CMD_GET_CTIME.

------------------------------------------------------------------------
r97 | daper | 2004-09-07 23:45:46 +0200 (Tue, 07 Sep 2004) | 2 lines

Fixed freeing tags and playlist titles.

------------------------------------------------------------------------
r96 | daper | 2004-09-07 23:45:10 +0200 (Tue, 07 Sep 2004) | 1 line

Updated.
------------------------------------------------------------------------
r95 | daper | 2004-09-07 23:32:05 +0200 (Tue, 07 Sep 2004) | 2 lines

Changend pointer to the playlist item to number on the playlist in menu item.

------------------------------------------------------------------------
r94 | daper | 2004-09-07 23:31:07 +0200 (Tue, 07 Sep 2004) | 2 lines

Fixed send_str().

------------------------------------------------------------------------
r93 | daper | 2004-09-07 23:30:06 +0200 (Tue, 07 Sep 2004) | 6 lines

Added interface_message().
Updated used of menu_newitem().
Showing unknown events.
Added send_playlist().
Handling play file.

------------------------------------------------------------------------
r92 | daper | 2004-09-07 14:35:39 +0200 (Tue, 07 Sep 2004) | 2 lines

Added send_str().

------------------------------------------------------------------------
r91 | daper | 2004-09-07 11:34:32 +0200 (Tue, 07 Sep 2004) | 3 lines

Simplified menu_key().
Added handling page up, page down, home, end keys.

------------------------------------------------------------------------
r90 | daper | 2004-09-07 11:26:13 +0200 (Tue, 07 Sep 2004) | 3 lines

Fixed go_to_dir() if the argument is cwd variable.
Removed debug fprintf().

------------------------------------------------------------------------
r89 | daper | 2004-09-07 11:24:25 +0200 (Tue, 07 Sep 2004) | 3 lines

Fixed resolve_path() to work when the directory in only one level path or
only '/'.

------------------------------------------------------------------------
r88 | daper | 2004-09-07 10:49:37 +0200 (Tue, 07 Sep 2004) | 3 lines

Removed invoking menu_draw() from functions that change something in the menu.
Added menu_setcurritem_title().

------------------------------------------------------------------------
r87 | daper | 2004-09-07 10:48:17 +0200 (Tue, 07 Sep 2004) | 3 lines

Added selecting previous directory after entering '../'.
Moved drawing menu from go_to_dir() to menu_key().

------------------------------------------------------------------------
r86 | daper | 2004-09-07 10:45:58 +0200 (Tue, 07 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r85 | daper | 2004-09-07 09:59:24 +0200 (Tue, 07 Sep 2004) | 4 lines

Simplified go_to_dir() a bit, fixed storing cwd.
Commented out catching SIGTERM.
Handling going to a directory.

------------------------------------------------------------------------
r84 | daper | 2004-09-07 09:55:36 +0200 (Tue, 07 Sep 2004) | 2 lines

Added resolve_path().

------------------------------------------------------------------------
r83 | daper | 2004-09-04 18:18:58 +0200 (Sat, 04 Sep 2004) | 3 lines

Fixed initializing curr_plist when entering to a directory.
Fixed window redrawing.

------------------------------------------------------------------------
r82 | daper | 2004-09-04 18:07:40 +0200 (Sat, 04 Sep 2004) | 4 lines

Made curr_plist a pointer.
Added going to a directory.
Fixed entering back the previous directory when reading a directory failed.

------------------------------------------------------------------------
r81 | daper | 2004-09-04 17:58:07 +0200 (Sat, 04 Sep 2004) | 2 lines

New files with code handling menu.

------------------------------------------------------------------------
r80 | daper | 2004-09-04 17:57:49 +0200 (Sat, 04 Sep 2004) | 2 lines

New files provides functios to access directory content.

------------------------------------------------------------------------
r79 | daper | 2004-09-04 17:57:00 +0200 (Sat, 04 Sep 2004) | 1 line

Added new files.
------------------------------------------------------------------------
r78 | daper | 2004-09-04 17:56:30 +0200 (Sat, 04 Sep 2004) | 1 line

Updated
------------------------------------------------------------------------
r77 | daper | 2004-09-04 17:56:07 +0200 (Sat, 04 Sep 2004) | 3 lines

Added file_tags and title to the plist_item structure.
Updated prototypes.

------------------------------------------------------------------------
r76 | daper | 2004-09-04 17:55:11 +0200 (Sat, 04 Sep 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r75 | daper | 2004-09-04 17:54:43 +0200 (Sat, 04 Sep 2004) | 3 lines

Added tags to the plist_item structure.
Added plist_sort_fname().

------------------------------------------------------------------------
r74 | daper | 2004-09-04 17:53:06 +0200 (Sat, 04 Sep 2004) | 4 lines

Added interface_error().
Added drawing windows.
Added menu.

------------------------------------------------------------------------
r73 | daper | 2004-08-31 08:51:43 +0200 (Tue, 31 Aug 2004) | 1 line

Removed unused include.
------------------------------------------------------------------------
r72 | daper | 2004-08-31 08:51:09 +0200 (Tue, 31 Aug 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r71 | daper | 2004-08-31 08:50:50 +0200 (Tue, 31 Aug 2004) | 4 lines

Fixed ext_pos for names such as ./log
Added is_sound_file().
Fixed searching throughtypes table.

------------------------------------------------------------------------
r70 | daper | 2004-08-20 13:39:41 +0200 (Fri, 20 Aug 2004) | 3 lines

Redisigned interface.
No global playlist variable.

------------------------------------------------------------------------
r69 | daper | 2004-08-20 13:38:33 +0200 (Fri, 20 Aug 2004) | 1 line

Updated prototypes
------------------------------------------------------------------------
r68 | daper | 2004-08-20 13:38:14 +0200 (Fri, 20 Aug 2004) | 3 lines

Moved playlist handling stuff from server.c to audio.c, updated for the new
playlist interface.

------------------------------------------------------------------------
r67 | daper | 2004-08-20 13:37:01 +0200 (Fri, 20 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r66 | daper | 2004-08-10 19:06:45 +0200 (Tue, 10 Aug 2004) | 4 lines

Added initialization code, main window and information window, and
getting the input from the user.
Removed check_server().

------------------------------------------------------------------------
r65 | daper | 2004-08-10 19:04:42 +0200 (Tue, 10 Aug 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r64 | daper | 2004-08-10 19:04:19 +0200 (Tue, 10 Aug 2004) | 3 lines

Don't do double connection to check is the server is running, if it is, use
the fd instead of closing it.

------------------------------------------------------------------------
r63 | daper | 2004-08-10 19:02:41 +0200 (Tue, 10 Aug 2004) | 2 lines

Added logging when a client connect to a busy server.

------------------------------------------------------------------------
r62 | daper | 2004-08-10 17:13:09 +0200 (Tue, 10 Aug 2004) | 2 lines

Fixed checking for sys/select.h.

------------------------------------------------------------------------
r61 | daper | 2004-08-10 17:12:47 +0200 (Tue, 10 Aug 2004) | 2 lines

Fixed checking for sys/select.h

------------------------------------------------------------------------
r60 | daper | 2004-08-10 17:12:22 +0200 (Tue, 10 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r59 | daper | 2004-08-10 13:54:39 +0200 (Tue, 10 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r58 | daper | 2004-08-10 13:54:07 +0200 (Tue, 10 Aug 2004) | 3 lines

Added "Running the server..." message.
Use interface_end().

------------------------------------------------------------------------
r57 | daper | 2004-08-10 13:53:25 +0200 (Tue, 10 Aug 2004) | 2 lines

Buffer thread is exiting when buf->exit is set.

------------------------------------------------------------------------
r56 | daper | 2004-08-10 13:52:39 +0200 (Tue, 10 Aug 2004) | 2 lines

Replaced eos with exit in struct buf.

------------------------------------------------------------------------
r55 | daper | 2004-08-10 13:52:07 +0200 (Tue, 10 Aug 2004) | 6 lines

Added setsid().
Removed EV_EXIT from server_shutdown() - the socket is never valid there.
Filled busy().
Logging server PID.
Logging when server is about to exit due to signal.

------------------------------------------------------------------------
r54 | daper | 2004-08-10 13:50:28 +0200 (Tue, 10 Aug 2004) | 2 lines

Adding -g to compilation options when no --disable-debug.

------------------------------------------------------------------------
r53 | daper | 2004-08-10 13:49:54 +0200 (Tue, 10 Aug 2004) | 1 line

Updated prototypes
------------------------------------------------------------------------
r52 | daper | 2004-08-10 13:49:45 +0200 (Tue, 10 Aug 2004) | 4 lines

Handling quit, term, int signals.
Added interface_end();
Added beginning of interface_init();

------------------------------------------------------------------------
r51 | daper | 2004-08-10 12:22:11 +0200 (Tue, 10 Aug 2004) | 2 lines

Added ignoring SIGPIPE.

------------------------------------------------------------------------
r50 | daper | 2004-08-10 12:21:49 +0200 (Tue, 10 Aug 2004) | 2 lines

Added check_server() and server_connect().

------------------------------------------------------------------------
r49 | daper | 2004-08-10 12:20:00 +0200 (Tue, 10 Aug 2004) | 2 lines

Removed duplicate includes.

------------------------------------------------------------------------
r48 | daper | 2004-08-10 12:12:05 +0200 (Tue, 10 Aug 2004) | 2 lines

Ignore SIGPIPE, we know when the connection is broken without that.

------------------------------------------------------------------------
r47 | daper | 2004-08-10 11:10:19 +0200 (Tue, 10 Aug 2004) | 3 lines

Added new source files and few old that should be included in the past.
Removed old commented stuff.

------------------------------------------------------------------------
r46 | daper | 2004-08-10 11:08:53 +0200 (Tue, 10 Aug 2004) | 7 lines

Added copyright notice.
Include config.h.
Moved create_file_name() from server.c to main.c.
Added starting the interface and the server.
Added command line options for showing version and help, and --server,
--debug, --foreground.

------------------------------------------------------------------------
r45 | daper | 2004-08-10 11:06:37 +0200 (Tue, 10 Aug 2004) | 3 lines

Added copyright notice.
Include config.h.

------------------------------------------------------------------------
r44 | daper | 2004-08-10 11:05:45 +0200 (Tue, 10 Aug 2004) | 1 line

Updated prototypes
------------------------------------------------------------------------
r43 | daper | 2004-08-10 11:05:28 +0200 (Tue, 10 Aug 2004) | 6 lines

Changed version information from CVS to DEVEL.
Made use of EXRA_OBJS.
Added checking for some system headers.
Checking if system getopt_long is available.
Commented out vorbis checking.

------------------------------------------------------------------------
r42 | daper | 2004-08-10 11:03:32 +0200 (Tue, 10 Aug 2004) | 4 lines

Moved common send/receive routines to protocol.c.
Moved create_file_name() to main.c
Removed setsid() from server_init().

------------------------------------------------------------------------
r41 | daper | 2004-08-10 11:01:53 +0200 (Tue, 10 Aug 2004) | 1 line

Moved common send/receive routines to protocol.c.
------------------------------------------------------------------------
r40 | daper | 2004-08-10 11:00:56 +0200 (Tue, 10 Aug 2004) | 4 lines

Added copyright notice.
Include config.h.
Added #ifdefs for mad and vorbis.

------------------------------------------------------------------------
r39 | daper | 2004-08-10 11:00:05 +0200 (Tue, 10 Aug 2004) | 3 lines

Added copyright notice.
Include config.h.

------------------------------------------------------------------------
r38 | daper | 2004-08-10 10:59:15 +0200 (Tue, 10 Aug 2004) | 1 line

Replaced -W all with -W syntax for autoconf.
------------------------------------------------------------------------
r37 | daper | 2004-08-10 10:58:25 +0200 (Tue, 10 Aug 2004) | 1 line

Moved including config.h after the copyright notice.
------------------------------------------------------------------------
r36 | daper | 2004-08-10 10:57:30 +0200 (Tue, 10 Aug 2004) | 1 line

Updated copyright notice.
------------------------------------------------------------------------
r35 | daper | 2004-08-10 10:57:10 +0200 (Tue, 10 Aug 2004) | 3 lines

Added copyright notice.
Include config.h.

------------------------------------------------------------------------
r34 | daper | 2004-08-10 10:55:39 +0200 (Tue, 10 Aug 2004) | 1 line

Updated prototypes
------------------------------------------------------------------------
r33 | daper | 2004-08-10 10:55:19 +0200 (Tue, 10 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r32 | daper | 2004-08-10 10:54:37 +0200 (Tue, 10 Aug 2004) | 1 line

GNU getopt
------------------------------------------------------------------------
r31 | daper | 2004-08-10 10:54:01 +0200 (Tue, 10 Aug 2004) | 1 line

Files for the interface part.
------------------------------------------------------------------------
r30 | daper | 2004-08-09 15:16:57 +0200 (Mon, 09 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r29 | daper | 2004-08-09 14:15:50 +0200 (Mon, 09 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r28 | daper | 2004-08-09 14:15:38 +0200 (Mon, 09 Aug 2004) | 2 lines

Removed audio_reset() from buf_pause() - We can't do that in this thread.

------------------------------------------------------------------------
r27 | daper | 2004-08-09 14:14:52 +0200 (Mon, 09 Aug 2004) | 4 lines

Added events about change of sound parameters.
Fixed comments.
Added commands to get sound parameters.

------------------------------------------------------------------------
r26 | daper | 2004-08-09 14:13:34 +0200 (Mon, 09 Aug 2004) | 4 lines

Added sound_info structure and functions.
Sending EV_EXIT on exit.
Made client_sock global variable.

------------------------------------------------------------------------
r25 | daper | 2004-08-09 14:11:19 +0200 (Mon, 09 Aug 2004) | 2 lines

Added tracking the state

------------------------------------------------------------------------
r24 | daper | 2004-08-09 14:10:37 +0200 (Mon, 09 Aug 2004) | 1 line

Updated prototypes
------------------------------------------------------------------------
r23 | daper | 2004-08-09 14:10:02 +0200 (Mon, 09 Aug 2004) | 2 lines

Setting information about sound parameters and time.

------------------------------------------------------------------------
r22 | daper | 2004-08-08 20:07:03 +0200 (Sun, 08 Aug 2004) | 2 lines

Added seeking

------------------------------------------------------------------------
r21 | daper | 2004-08-08 20:06:19 +0200 (Sun, 08 Aug 2004) | 2 lines

Added xing files

------------------------------------------------------------------------
r20 | daper | 2004-08-08 16:40:50 +0200 (Sun, 08 Aug 2004) | 1 line

Updated prototypes.
------------------------------------------------------------------------
r19 | daper | 2004-08-08 16:40:32 +0200 (Sun, 08 Aug 2004) | 2 lines

Added time to struct buf.

------------------------------------------------------------------------
r18 | daper | 2004-08-08 16:40:16 +0200 (Sun, 08 Aug 2004) | 2 lines

Handling SIGPIPE

------------------------------------------------------------------------
r17 | daper | 2004-08-08 16:39:34 +0200 (Sun, 08 Aug 2004) | 2 lines

Moved timer code from audio.c to buf.c

------------------------------------------------------------------------
r16 | daper | 2004-08-08 16:38:46 +0200 (Sun, 08 Aug 2004) | 2 lines

Setting initial sound parameters to 0

------------------------------------------------------------------------
r15 | daper | 2004-08-08 12:23:14 +0200 (Sun, 08 Aug 2004) | 1 line


------------------------------------------------------------------------
r14 | daper | 2004-08-08 12:22:06 +0200 (Sun, 08 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r13 | daper | 2004-08-08 12:21:59 +0200 (Sun, 08 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r12 | daper | 2004-08-08 12:21:50 +0200 (Sun, 08 Aug 2004) | 9 lines

read_thread_signal() removed
Added audio_reset to read_thread() on stop and pause.
Fixed comments
buf_put() now returns 0 if noting was send.
Removed audio_reset() from buf_stop().
Fixed logging.
AUDIO_MAX_PLAY set to 8KB to avoid delays on pause or stop after removing
audio_reset() from other threads

------------------------------------------------------------------------
r11 | daper | 2004-08-08 12:18:23 +0200 (Sun, 08 Aug 2004) | 1 line

Updated
------------------------------------------------------------------------
r10 | daper | 2004-08-08 12:18:01 +0200 (Sun, 08 Aug 2004) | 5 lines

Fixed comments
Fixed send_int() return value
Simplified handle_client()


------------------------------------------------------------------------
r9 | daper | 2004-08-08 12:16:15 +0200 (Sun, 08 Aug 2004) | 5 lines

Clear request in get_request()
Removed audio_reset() when another thread is using oss
audio_send_buf() returns 0 if nothing was sent
added audio_seek()

------------------------------------------------------------------------
r8 | daper | 2004-08-08 12:13:15 +0200 (Sun, 08 Aug 2004) | 5 lines

Fixed usage of audio_send_buff()
Added seeking forward (doesn't work yet)
Fixed comments
Fixed getting play requests

------------------------------------------------------------------------
r7 | daper | 2004-08-08 12:11:08 +0200 (Sun, 08 Aug 2004) | 1 line

Fixed logging error in oss_reset()
------------------------------------------------------------------------
r6 | daper | 2004-07-29 11:01:59 +0200 (Thu, 29 Jul 2004) | 1 line

Updated
------------------------------------------------------------------------
r5 | daper | 2004-07-28 11:21:19 +0200 (Wed, 28 Jul 2004) | 1 line

Deleted Accidentally added Makefile
------------------------------------------------------------------------
r4 | daper | 2004-07-28 11:20:29 +0200 (Wed, 28 Jul 2004) | 1 line

Updated svn ignore pattern
------------------------------------------------------------------------
r3 | daper | 2004-07-28 11:16:36 +0200 (Wed, 28 Jul 2004) | 1 line

Added svn ignore pattern
------------------------------------------------------------------------
r2 | daper | 2004-07-28 11:03:46 +0200 (Wed, 28 Jul 2004) | 3 lines

Accidentally commited file.


------------------------------------------------------------------------
r1 | daper | 2004-07-28 10:45:55 +0200 (Wed, 28 Jul 2004) | 1 line

Initial source
------------------------------------------------------------------------