-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog-v0.1
1438 lines (972 loc) · 49.8 KB
/
ChangeLog-v0.1
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
1999-08-09 Michael Krause <[email protected]>
* Released v0.1.11
* app/gui.c (gui_init): Menubar in non-GNOME version doesn't have
a 4 pixel gap around it any longer.
* app/envelope-box.c (envelope_box_set_envelope): Install dummy
envelope if env pointer is NULL.
* app/instrument-editor.c (instrument_editor_update): Initialize
empty envelope if instrument is null.
1999-08-08 Michael Krause <[email protected]>
* app/xm-player.c: Replace 1+!linearfreq by
1+(!linearfreq&&!ismod) in some commands to fix excessive vibrato
depth for ProTracker modules.
* app/audio.c (audio_prepare_for_playing): Allocating scopebufs[]
according to that new GUI option.
* app/gui-settings.c: Added "Scopes Buffer Size" option.
1999-08-07 Michael Krause <[email protected]>
* app/sample-editor.c (sample_editor_save_wav): Fix "bytes per
second" field in saved WAV header (Stefan Hager).
* app/gui-settings.c: Load / save all settings, move "hexmode" and
"advance cursor" options from menubar into this window.
1999-08-06 Michael Krause <[email protected]>
* app/gui-settings.[ch]: New dialog which contains GUI parameters.
* app/preferences.c: Removed "Preferences" notebook page.
* app/instrument-editor.c (instrument_editor_set_instrument):
Doing most work in _update() instead of here; fixes bug where
loading sample into fresh instrument wouldn't initialize the
instrument editor page.
(instrument_editor_load_instrument): Initialize sample editor.
* app/scope-group.c (scope_group_timeout): rewritten to use the
new scope buffer layout.
* app/audio.c (audio_prepare_for_playing): renamed from
mixer_prepare().
(mixer_mix_and_handle_scopes): rewritten to use a different scope
buffer layout.
* app/drivers/oss-output.c (oss_open): Find out number of
fragments used by sound driver and make corresponding corrections
to get_play_time(). Now the GUI is really synchronized to audio,
even with large fragment sizes.
1999-08-05 Michael Krause <[email protected]>
* app/gui.c (gui_init): Set minimum possible "Jump" value to 0.
* app/keys.c (keys_dialog): Initialize cw_combostrings (multiple
window openings could leave the combo box empty)
* app/xm.c (xm_load_xi): Bug fix: missing string termination
(erikyyy again).
* app/instrument-editor.c (instrument_editor_load_instrument):
Close file after reading (thanks to erikyyy).
1999-08-02 Michael Krause <[email protected]>
* Released v0.1.10
* configure.in, acconfig.h, app/sample-editor.c: ST can now build
without libaudiofile. In that case, you will not be able to load
samples in the sample editor.
* app/menubar.c: Added "Load XI" menu item to "Instrument" menu.
* app/xm.c (xm_load_xm_instrument): Fix volfade loading.
* app/instrument-editor.c: Add "Load Instrument" function.
* app/xm.c (xm_load_xi): New function that loads an instrument in
XI format (funny that it isn't the same instrument format as found
in XM modules...)
1999-07-27 Michael Krause <[email protected]>
* app/keys.c (keys_init): Removed unnecessary "symspercode > 4"
check.
1999-07-26 Michael Krause <[email protected]>
* app/tips-dialog.c (read_tips_file): Correct "can't find tips
file" message.
1999-07-25 Michael Krause <[email protected]>
* app/drivers/oss-output.c (oss_make_config_widgets): Some layout
beautification. Added delay estimation.
1999-07-21 Michael Krause <[email protected]>
* Released v0.1.9
* app/Makefile.am (soundtracker_SOURCES): Oh I hate it when that
happens. I left out a source file from the
distribution. Reinserted driver.h ... who said "brown paper bag"?
* Released v0.1.8
* app/tracker.c (tracker_expose): Fixed a long-standing bug that
an X expose wouldn't redraw the cursor line correctly.
* soundtracker_tips.txt: Added some useful tips.
* app/tips-dialog.c: I hope this helps reducing stupid questions.
People don't read the README or the FAQ anyway :( This was grabbed
from the GIMP source code.
* app/drivers/oss-output.c: Added configuration widget / loader /
saver. Basically the same as the preferences.c code in previous
versions. This will need beautification!
* app/audioconfig.[ch]: Audio configuration dialog.
* app/preferences.c: Removed all audio-related preferences. These
are handled by the drivers themselves now.
1999-07-20 Michael Krause <[email protected]>
* app/sample-editor.c: Rewritten for the new sampling driver
interface. Cool feature: SoundTracker can sample while it's
playing a module, if your sound card supports full duplex.
* app/driver.h: Split into driver-out.h and driver-in.h; Sampling
drivers are controlled by the main thread now instead of going
through the audio thread and a sampling buffer. The "base class"
of the driver classes is still in driver.h.
* app/sample-editor.c (sample_editor_load_wav): Fixed 8 bit sample
loading.
1999-07-18 Michael Krause <[email protected]>
* app/scope-group.c (scope_group_timeout), app/track-editor.c
(tracker_timeout): Changed to use driver->get_play_time().
* app/time-buffer.c (time_buffer_get): Return NULL if list is
empty.
* app/drivers/oss-output.c (oss_poll_ready_playing): An OSS
playing driver for the new driver concept.
* app/audio.c (mixer_mix_and_handle_scopes):
(mixer_mix): return pointer to end of mixed data.
(audio_mix): This routine contains the "main loop", as seen from
the driver's view, now. It calls the player and mixer modules.
* Again some changes to the driver subsystem; this time not as
deep as in the 0.0.11 changes, and the resulting code is a bit
easier. The driver objects handle configuration on their own now,
including own GTK+ widgets. Besides, the driver has a
get_play_time(), which handles what audio_time() did before.
1999-07-15 Michael Krause <[email protected]>
* README, INSTALL, FAQ: Updated
1999-07-04 Michael Krause <[email protected]>
* Released v0.1.7
* app/sample-editor.c (sample_editor_update_mixer_position):
Update sample display accordingly.
* app/audio.c (mixer_mix_and_handle_scopes): Added mixer position
time buffer.
* app/scope-group.c (scope_group_scope_event): Right mouse button
inverts global channel status.
* app/xm.c (xm_load_mod): Call xm_init_locks().
* app/gui.c: Finally added clipping indicator LED again
* app/audio.c (mixer_mix_and_handle_scopes): Added clipping
indicator time buffer.
* app/track-editor.c (tracker_timeout): Use time_buffer
* app/audio.c (audio_play): Use time_buffer
* app/time-buffer.c: New API to handle some audio->gui
synchronization (pattern play position, mixer position, clipping
indicator etc.) in a more generalized way.
* Use gthread functions instead of pthread functions everywhere.
1999-06-29 Michael Krause <[email protected]>
* configure.in: Remove pthread check, add gthread module to gtk
check instead. Install some stupid workaround to get the gthread
stuff into the command line.
1999-06-28 Michael Krause <[email protected]>
* app/sample-display.c: Added "zero
line". (sample_display_do_marker_line): Make marker lines more
visible. Fix small bug that would cause the line at the rightmost
position not to be displayed.
* app/gui.c: Added pitchbend reset button.
1999-06-22 Michael Krause <[email protected]>
* app/preferences.c, app/menubar.c, app/track-editor.c: Added
"Advance Cursor in FX Columns" toggle.
* app/track-editor.c, app/gui.c: Some global variables clean-up.
* app/tracker.c: Removed tracker_note_typed_advance(), added
tracker_redraw_row(), tracker_redraw_current_row(),
tracker_step_cursor_row() instead.
* app/gui.c: Add a "Jump" spin button. Reduce default width of
Instrument / Sample entries.
1999-06-13 Michael Krause <[email protected]>
* Released v0.1.6
* app/xm.c (xm_load_mod): Call st_clean_instrument() for each
instrument to initialize it.
(xm_check_envelope): Check envelope settings here..
* app/st-subs.c (st_clean_instrument): Set panning envelope to
constant 32 (middle panning).
* app/envelope-box.c: More work on the envelope editor. Not much
code is left from the old version.
1999-06-12 Michael Krause <[email protected]>
* app/envelope-box.c: Using the GNOME canvas widget for the
graphical envelope editor. Really easy to use. This is fun. Now,
the very first real reason for a GNOME-only SoundTracker :)
* app/sample-editor.c (sample_editor_load_wav): Checking for
maximum sample length.
(sample_editor_ok_clicked): Dito
* app/xm.c (XM_Load): Add check for correct sample lengths (don't
need to add a similar check for MOD's, cause MOD samples are
generally limited to 1 << 17 bytes).
* app/mixers/lqmono.c (lqmono_startnote): Check for maximum sample
length.
* app/mixer.h, app/mixers/lqmono.c: New mixer structure field
"max_sample_length".
* configure.in (gnome): Remove zvt from linker flags.
1999-06-08 Michael Krause <[email protected]>
* Released v0.1.5
* Makefile.am (bindist): Added rules for automatic generation of
my binary distributions. This really saves me some work :)
* app/xm-player.c: Some fixes from the current OpenCP CVS version:
(xm_player_playnote_fasttracker): Set procins to 0 if procnot ==
97. (xmpPlayTick): Set procins to 0 if procnot == 97. Vibrato
depth is twice as deep in non-linear frequencies mode (replace 1
by 1+!linearfreq in some commands). Retrigger command fixes.
* app/menubar.c: Synchronized non-GNOME menu with the new version.
Optimized mymenu structure a bit.
1999-06-06 Michael Krause <[email protected]>
* app/sample-editor.c (sample_editor_load_wav): Display error if
file is unreadable (don't crash).
* app/drivers/oss.c, app/xm.c, app/preferences.c,
app/sample-editor.c: Make use of new error handling functions.
* app/gui.c (read_mixer_pipe): Handle new backpipe id for errors
and warnings
(display simple gnome requesters for now).
* app/errors.[ch] (error_error_common):
(error_error):
(error_warning): New file, new functions to handle errors and
warnings more conveniently for the user.
* app/gui-subs.c (gui_update_spin_adjustment): Moved here from
gui.c
(gnome_error_dialog): New function
* app/drivers/oss.c (oss_open): Added workaround for Linux bug
(some sound drivers, when in use by another program, block when
opened instead of returning EBUSY). Wrote a mail to Thomas Sailer.
1999-06-04 Michael Krause <[email protected]>
* app/menubar.c (menubar_save_settings_on_exit_toggled):
(menubar_save_settings_now): Add "Save Settings now" and "Save
Settings on Exit" (default: on) menu items.
* app/gui.c (gui_init): Remove initialization of scopes display
and backing store options. This is handled in
menubar.c:menubar_init_prefs() automatically.
* app/menubar.c: Move "Display Scopes" and "Use Backing Store"
toggles from preferences page to the Settings menu. Add these
settings to the preferences structure. "Use Backing Store" is off
by default now, so that the tracker doesn't use too much CPU time
for first-time users.
* app/track-editor.c (track_editor_handle_column_input):
(track_editor_handle_hex_column_input):
(track_editor_handle_semidec_column_input): Handling decimal
instrument column correctly.
* app/tracker.c (init_display):
(print_notes_line): Line numbers dec/hex display.
* app/menubar.c (menubar_hexmode_toggled):
(menubar_init_prefs): Added hex/dec switch to menu bar.
* app/preferences.c (prefs_get_line):
(prefs_get_int):
(prefs_put_int):
(prefs_load_config):
(prefs_save_config): Loading and saving preferences on startup and
exit now.
* app/tracker.c (note2string): Instrument numbers can be displayed
in decimal or hexadecimal.
1999-05-28 Michael Krause <[email protected]>
* Released v0.1.4
* app/keys.c (keys_init): Clear unused entries in xkeymap[] (Jon
Forsberg <[email protected]>).
1999-05-26 Michael Krause <[email protected]>
* Released v0.1.3
* app/menubar.c (mymenu): Adjusted menus for non-GNOME version.
1999-05-16 Michael Krause <[email protected]>
* Installed glibc-2.1.1pre2 today, and... well, I had to recompile
some parts of my system, but the sound pause bug is gone now!
Seems like this was really a glibc-2.0.7pre3 bug. Life is fun
again, now that I've fixed one of the most disturbing bugs in my
system :-)
* FAQ: Mentioning the problem here as well...
1999-05-11 Michael Krause <[email protected]>
* Got a new machine today, a 400MHz K6-2. The sound pause bug
introduced with kernel 2.2.3 is still present. I really start
believing this is not a soundtracker bug. Besides that, the new
computer rocks...
1999-05-02 Michael Krause <[email protected]>
* app/instrument-editor.c (instrument_page_create): Add the
clavier widget and necessary callback functions.
(instrument_editor_clavierkey_press_event): Modify samplemap
appropriately.
* app/clavier.c (clavier_draw_label, clavier_set_key_labels):
Added these functions.
(clavier_expose): Clear before drawing.
(clavier_realize): Initializing color GC's.
(clavier_init): Initializing font.
* app/clavier.[ch]: This is Simon Kågedal's Clavier widget, taken
from clavier-0.1.3.
* app/st-subs.c (st_clear_pattern): Clear all the allocated track
space, not just the visible part.
(st_clear_track): optimized
* app/menubar.c: Added "Delete unused instruments", "Find unused
pattern", "Copy current to unused pattern", "Clear unused
patterns", "Pack patterns" and "Optimize module" functions to the
menu. Menu structure changed. Some key shortcuts added.
(menubar_handle_keys): Handling key shortcuts here.
* app/gui.c (change_current_pattern): Renamed to
gui_change_current_pattern() and made public.
* app/st-subs.c (st_copy_pattern, st_is_empty_track,
st_is_empty_pattern, st_find_first_unused_and_empty_pattern,
st_is_pattern_used_in_song): New functions.
(st_dup_pattern): Using st_copy_pattern(). Initializing
alloc_length field.
* app/module-info.c: Removed "Delete unused instruments" button.
(modinfo_copy_to_empty_pattern, modinfo_find_empty_pattern,
modinfo_clear_unused_patterns, modinfo_reorder_patterns,
modinfo_pack_patterns, modinfo_optimize_module): New functions.
* Released v0.1.2
1999-05-01 Michael Krause <[email protected]>
* app/gui-subs.c (gnome_warning_dialog): Pure GTK+ implementation.
* app/gui.c (gui_enable_sampler_mode): Fixes for the new GUI
layout in 0.1.1.
* app/menubar.c: Added menubar_enable() and menubar_disable()
* app/gui-subs.c (gnome_app_ok_cancel_modal): Moved from menubar.c
to this file.
* app/gtkspinbutton.[ch]: Removed.
* app/gui-subs.c (gui_subs_create_slider):
(gui_put_labelled_spin_button): Use extspinbutton_new() instead of
gtk_spin_button_new()
* app/extspinbutton.[ch]: New widget which inherits from
GtkSpinButton. The old gtkspinbutton size adjustment hack has been
implemented in a clean object-oriented fashion now.
* app/track-editor.c (tracker_page_handle_keys): Added support for
keyoff note.
* app/keys.c: Added keyoff note key.
1999-04-30 Michael Krause <[email protected]>
* app/xm.c (XM_Load): Trap xm_load_xm_instruments errors
(xm_load_xm_instrument): Return error codes instead of doing
exit(1).
* app/instrument-editor.c (instrument_page_handle_keys),
app/module-info.c (modinfo_page_handle_keys), app/sample-editor.c
(sampler_page_handle_keys): Adjusted for new keys handling
* app/gui.c (gui_play_note): Signature changed; takes note number
instead of KeySym now.
* app/track-editor.c (tracker_page_handle_keys): Adjusted for new
keys handling.
(track_editor_handle_column_input): Renamed from insert_note();
the note column is handled at the beginning of
tracker_page_handle_keys() directly.
* app/keys.[ch]: New file name of notekeys.[ch]. Some fixes to
handle more key combinations.
1999-04-28 Michael Krause <[email protected]>
* app/st-subs.c (st_clean_song): Initialize xm->flags to zero.
1999-04-27 Michael Krause <[email protected]>
* app/notekeys.c: Nearly rewritten for the configuration
dialog. Still a little bit buggy, and it can't save the settings,
but better than nothing for now.
* app/gui-subs.c (build_option_menu): Taken from testgtk.c
(get_clist_in_scrolled_window): Moved from module-info.c
1999-04-23 Michael Krause <[email protected]>
* app/notekeys.c: Start designing notekeys configuration dialog.
* app/menubar.c: Added "Settings" / "Keyboard Configuration".
1999-04-22 Michael Krause <[email protected]>
* app/audio.c: Added #include <string.h> for glibc 2.1.1
1999-04-19 Michael Krause <[email protected]>
* app/track-editor.c (insert_note):
(tracker_page_handle_keys): accept capital letters as key
accelerators as well. Don't worry about additional modifiers.
* app/sample-editor.c: Use mixer_sample_word_length instead of
accessing type field directly.
(sample_editor_copy_cut_common): remove_clicked() extended to
handle the copy'n'paste buffer. Cut, Remove and Copy call this
one.
(sample_editor_convert_sample): added
(sample_editor_resolution_changed): use convert_sample()
(sample_editor_paste_clicked): implemented
(sample_editor_page_create): enable cut, copy and paste buttons.
(sample_editor_resolution_changed),
(sample_editor_copy_cut_common),
(sample_editor_paste_clicked): remove set_sample(NULL) calls; fixes
crashes while unlock()ing (oops :D).
(sample_editor_init_sample): added
* app/mixer.h (mixer_sample_word_length): New helper function.
1999-04-18 Michael Krause <[email protected]>
* app/gui.c (programlist_initialize): This function could destroy
the restart position value. Fixed.
1999-04-13 Michael Krause <[email protected]>
* app/audio.c (audio_raise_priority): Replace nice() call by
sched_setscheduler() call to get realtime priority. Now
soundtracker crashes the whole machine randomly while playing :(
Using nice() only for now. You can remove the "&& 0" condition to
test the realtime scheduler if you want.
* app/audio.c: Added #include <errno.h>
1999-03-22 Michael Krause <[email protected]>
* configure.in, INSTALL: audiofile 0.1.5 is sufficient.
1999-03-21 Michael Krause <[email protected]>
* Released v0.1.1
* INSTALL: Updated requirements.
* app/module-info.c (get_clist_in_scrolled_window),
app/gtkspinbutton.c: Remove gtk+-1.0 special-casing.
* configure.in: Require gtk+-1.2.0. I really need some new
functions like gtk_table_resize() and gtk_window_set_modal().
1999-03-20 Michael Krause <[email protected]>
* app/envelope-box.c (envelope_box_new): Removed
put_labelled_spin_button in favour of
gui-subs.c/gui_put_labelled_spin_button()
* app/gui-subs.c (gui_put_labelled_spin_button): Additional
argument 'callbackdata'
* app/menubar.c: Added non-GNOME implementations of the menu bar
and the dialog functions; this is based on Peter Zelezny's
xchat-0.9.2/menu.c.
* app/scope-group.c: ScopeGroup is now a GTK+ widget and uses a
table to layout the scopes in two rows. Hmm, yes. Much better :-)
* app/sample-display.c (sample_display_size_request): Reduced
minimum height to 32 pixels.
* app/gui.c (gui_init): Reworked layout of the upper part of the
main window. Hmm, yes. Much better :-)
* app/gui-subs.c (gui_subs_create_slider): Returns GtkWidget
instead of adding it to a destbox.
* app/gui-subs.h: Added type field to gui_subs_slider through
which you can disable the hscale in addition to the spinbutton.
* app/preferences.c (prefs_page_create), app/instrument-editor.c
(instrument_editor_update): Use gui_subs_set_slider().
* app/gui-subs.c (gui_subs_set_slider_value):
(gui_subs_get_slider_value): Added new functions for opaque
handling of "gui_subs_slider"s.
* app/preferences.c: Moved Doublebuffer and Scopes toggles to the
preferences page.
1999-03-19 Michael Krause <[email protected]>
* app/sample-editor.c (sample_editor_loopradio_changed): Only
update sample.looptype if it has really changed.
* app/track-editor.c, app/sample-editor.c,
app/instrument-editor.c, app/envelope-box.c, app/gui.c,
app/module-info.c: Update xm->modified at all relevant places.
* app/xm.h (xm_get_modified, xm_set_modified): Helper functions to
access the modified flag.
* app/gui.c (file_selected), app/menubar.c
(menubar_clear_clicked): Implemented confirmation dialogs.
* app/menubar.c: Added menu bar containing functions which don't
have to be available as buttons. Moved some stuff from gui.c here.
(menubar_quit_requested): This was gui_quit_requested(), and now
it asks the user before actually quitting (in case the module has
been modified).
* app/gui.c (gui_init): Added GNOME code (some the above GNOME
stuff is also inspired by Greg S. Hayes' work).
* configure.in: Added GNOME check; copied from xchat-0.9.2 because
it includes a --disable-gnome option which is essential for me.
* app/xm.c (xm_load_mod): Add some more sanity checks to the loop
point initialization.
1999-03-16 Michael Krause <[email protected]>
* app/sample-editor.c (sample_editor_load_wav): Sample loader uses
the audiofile library now. Kinda works, but I didn't really
understand the audiofile API.
* configure.in: Added check for audiofile library.
1999-03-07 Michael Krause <[email protected]>
* app/audio.c (mixer_mix_and_handle_scopes): Call mixer->mix with
scopebufs == NULL when scopes are disabled in the GUI.
* app/mixers/lqmono.c (lqmono_mix): Only write scope data if
scopebufs != NULL.
* app/scope-group.c: Made scopes_on variable global.
1999-03-02 Michael Krause <[email protected]>
* app/audio.c (audio_thread): Don't die if poll() returns EINTR.
* app/Makefile.am: Added install-exec-local rule which sets the
setuid bit on the soundtracker executable.
* app/main.c (main): Handle user ID's correctly. SoundTracker can
now safely run setuid root; the mixer thread will run at a high
priority then.
* The audio subsystem is now automatically informed of loop
setting changes; you don't have to play the song to initialize the
sample settings any longer. You can also load, edit and save
samples without having to stop playing.
* app/xm-player.c (xmplayer_play_note): Don't modify
channel->nextsamp (fixes segfault).
* app/sample-editor.c: Lock the sample before changing it in any
way and tell the mixer about it.
* app/mixers/lqmono.c (lqmono_mix): Lock the sample we are
currently mixing.
* app/xm-player.c (channel): Removed nextsampid and cursampid
* app/xm.c, app/sample-editor.c, app/xm-player.c: Update for new
sample structure
* app/lqmono.c: Updated; removed the big sample info array.
* app/audio.c (driver_startnote): Changed signature to use pointer
to st_mixer_sample_info
* app/xm-player.c (xmplayer_init_playing): Removed sample
initialization, it's not needed any longer
* app/audio.c: Removed driver_setsample
* app/mixer.h, app/xm.h et al: Sample structure updated;
encapsulated mixer relevant data. Added synchronization mutex.
* app/audio.c (mixer_mix): Removed some stupid debugging code.
* app/driver.h, app/drivers/oss.c: Removed some superfluous code
that I've prepared to handle self-mixing soundcards. I'm not going
to implement this feature in the near future, and it needs more
code changes anyway, so I'm removing it completely.
* app/xm.c (xm_load_mod): Load more module formats (patch by Maik
Naeher)
1999-02-17 Michael Krause <[email protected]>
* Released v0.1.0
* app/preferences.c: Added sliders adjusting the update frequency
of the scopes and the pattern scrolling.
* app/scope-group.c (scope_group_set_update_freq):
* app/track-editor.c (tracker_set_update_freq): New functions
* app/xm-player.c: * app/audio.c: * app/scope-group.c: Channels
can be muted again by toggling its scope button.
* app/module-info.c (modinfo_page_handle_keys): Added Linear/Amiga
frequency choices, and ProTracker mode toggle. Besides that, you
can play notes on the keyboard in the module info page now.
* app/gui.c: Added Tempo and BPM sliders.
* app/gui-subs.c (gui_subs_create_slider): Generic
slider/spinbutton combination.
* app/gui.c: Moved general GUI helper functions to gui-subs.c
* app/xm-player.c (xmplayer_init_play_song): When starting playing
at song position 0, reinitialize tempo and bpm.
* app/audio.c (audio_play):
(audio_ctlpipe_set_songpos): * app/gui.c (gui_update_player_pos):
(read_mixer_pipe): Proper "set song position" synchronization.
(read_mixer_pipe): gui_enable(1) when playing has stopped.
(gui_enable): Handling some more widgets here.
1999-02-11 Michael Krause <[email protected]>
* app/gui.c (init_xm): Call tracker_set_num_channels().
* app/tracker.c (tracker_set_num_channels): New
function. tracker.c is independent of the global xm pointer now.
1999-02-06 Michael Krause <[email protected]>
* app/xm-player.c (xmplayer_final_channel_ops): Don't handle
envelopes, vibrato and volfade in ProTracker mode.
(PlayNote): Split function into two, one for PT and one for FT, to
avoid excessive ismod checks.
(xm_player_playnote_protracker): Remove unnecessary statements,
dealing with keyoff, sustain and so on..
1999-02-05 Michael Krause <[email protected]>
* app/xm-player.c (PlayNote): Moved note initialization to
xm_player_start_note().
(xmpPlayTick): Moved glissando handling to
xm_player_handle_glissando().
(PlayNote): Moved frq initialization to xm_player_get_note_freq().
(channel): Renamed ArpNotes to ArpOffsets.
(xmpPlayTick): Arpeggios for ProTracker modules use curtick % 3 as
arpeggio index.
(xm_player_get_note_frq): For ProTracker modules we fetch the
correct period value from the new table 'protracker_periods',
which was taken from the original ProTracker replayer.
(xmplayer_final_channel_ops): For ProTracker modules we calculate
the frequency out of the period according to the Amiga
Manuals. All these changes result in a perfect mod replay: long
samples no longer get out of sync as they do in most
(all?) other PC module players.
(xmpPlayTick): E10 and E20 are no-ops in ProTracker (they don't
take the last-used value and slide around).
(freqrange): Fixed frequency range check for ProTracker modules.
1999-01-30 Michael Krause <[email protected]>
* app/envelope-box.c: Removed frame
1999-01-28 Michael Krause <[email protected]>
* app/instrument-editor.c: Added volfade and vibrato widgets
* app/xm.c (xm_load_xm_instrument): vibtype sanity check
* app/gui.c: Moved some GUI helper functions from preferences.c
1999-01-21 Michael Krause <[email protected]>
* Released v0.0.13
1999-01-20 Michael Krause <[email protected]>
* app/gui.c (gui_update_player_pos): Moved gdk_flush() call from
the beginning of read_mixer_pipe() to the end of this function.
1999-01-16 Michael Krause <[email protected]>
* app/gui.c: Disabled clipping LED.
1999-01-15 Michael Krause <[email protected]>
* app/preferences.c: Preferences page for main window
notebook. Playing parameters can be set independently for editing
and playing mode. Added necessary extensions to the audio
subsystem (driver->setprefs() function). We don't load & save the
preferences yet.
* app/scope-group.c, app/track-editor.c, app/audio.c (audio_time),
app/gui.c (gui_audio_tick): Don't let audio subsystem issue ticks
into the backpipe; use time stamps in public variables
(audio_playerpos_*) instead.
* app/gui.c (gui_update_player_pos): Return if set_songpos_count
!= 0.
* app/audio.c (audio_play): Using last_synctime_driver instead of
player time as time stamp.
1999-01-14 Michael Krause <[email protected]>
* app/drivers/oss.c (oss_open): fragsize is returned as a byte
count by OSS, but was used as a sample count in the code (this
resulted in oss_poll_ready_playing() blocking at the write()
call). Fixed. Playback should be smoother now.
1999-01-11 Michael Krause <[email protected]>
* app/track-editor.c (tracker_timeout):
(tracker_start_updating):
(tracker_stop_updating):
(tracker_set_time): New functions, mostly c'n'p from
scope-group.c. Pattern and song position are updated independent
of audio player ticks now; this should give smoother and more
exact display updates when using large fragment sizes.
* app/gui.c (gui_update_player_pos): This is not done from
track-editor.c since some of the variables should belong to gui.c
only.
* app/audio.c (audio_play): Added ring buffer for player position.
1998-12-29 Michael Krause <[email protected]>
* app/xm-player.c (xmpPlayTick): Did the same change to the Fine
VolSlide effects.
1998-12-26 Michael Krause <[email protected]>
* app/xm-player.c (xmpPlayTick): Bug fix: The A00 effect (VolSlide
with argument 0) in ProTracker modules does nothing, in
FastTracker modules it uses the previously used argument
(mod.Stardust Memories by Jester).
1998-12-19 Michael Krause <[email protected]>
* app/xm.c (XM_Load): A failed header length checking doesn't
prevent loading the rest of the module. SoundTracker versions
earlier than 0.0.12 could save the wrong value in here and 0.0.12
couldn't load those modules.
* app/xm-player.c: Ported KB's OpenCP fixes from 981126. This
mostly affects PlayNote(), vibrato and some strange envelope
sustain handling fix.
1998-12-13 Michael Krause <[email protected]>
* Released v0.0.12
* app/sample-display.c (sample_display_draw_main): Removed
assertion check against s->width, which was frequently triggered
when changing the number of channels. We're just returning
immediately now.
* app/gui.c (read_mixer_pipe): PLAYING_STOPPED case: enabling GUI
and setting pattern position only if GUI was disabled.
1998-12-12 Michael Krause <[email protected]>
* app/module-info.c (modinfo_delete_unused_instruments): This
function is triggered by the new button "Delete unused
instruments" and deletes all unused instrument in the current XM.
* app/st-subs.c (st_instrument_used_in_song): New function, finds
out if an instrument is used in an XM.
* app/gui.c (programlist_songpos_changed): Don't change editing
pattern when browsing in the playlist.
* app/gtkspinbutton.c (gtk_spin_button_insert_text),
app/module-info.c: gtk+-1.1.7 compatibility fixes.
* app/xm-player.c (xmplayer_play_note): Clear channel data before
initializing new note.
* app/sample-editor.c (sample_editor_update): Check current_sample
against NULL and disable the editor if there's no sample.
* app/xm.c (XM_Save): Saving amiga frequencies flag if set.
* app/sample-editor.c: Sampling is working again. Enabled
'Monitor' button.
1998-12-11 Michael Krause <[email protected]>
* app/drivers/oss.c (oss_open): Added sampling support.
* app/audio.c (audio_lock, audio_unlock): Added locking
primitives. (audio_sampled): Added basic support for sampling;
limited to 16bit 44.1kHz mono sampling currently.
1998-12-10 Michael Krause <[email protected]>
* app/xm-player.c (xmplayer_final_channel_ops): If ismod is set,
pan channels 0 and 3 to the left and channels 1 and 2 to the right
(Amiga stereo support is very digital: left or right :D)
* app/mixers/lqmono.c: Support stereo mixing.
* app/audio.c (mixer_mix): Fixed stereo-to-mono conversion.
* app/xm-player.c (xmplayer_final_channel_ops): ch->chFinalPitch
== 0 is only wrong for Amiga frequencies.
* app/gui.c (play_song, play_pattern): Moved GUI disabling calls
to read_mixer_pipe(). (gui_enable): renamed from
gui_enable_widgets_for_play_mode().
* app/gui.h: New convenience macros (GUI_ENABLED, GUI_EDITING).
Renamed playing to gui_playing_mode and exported enum's.
* app/gui.c (read_mixer_pipe), app/track-editor.c, app/audio.c:
Note playing and editing fixed.
1998-12-09 Michael Krause <[email protected]>
* app/scope-group.c (scope_group_create): Setting group spacing to
0. Making buttons insensitive.
* app/xm-player.c (xmplayer_final_channel_ops): Test
ch->chFinalPitch against 0 before setting sample frequency. Fixes
crashes on a lot of modules.
* app/xm.c (xm_save_xm_pattern): Empty patterns are saved with
data length 0.
1998-12-08 Michael Krause <[email protected]>
* app/xm.c: Various bug fixes and note saving compression:
(xm_save_xm_instrument): Always use 40 as sample header size.
(xm_put_xm_note): xm_save_xm_note() renamed, renders into a buffer
now instead of into a file. Added note compression.
(xm_save_xm_pattern): Rewritten for xm_put_xm_note().
(XM_Save): put_le_32(xh + 60, ...) instead of put_le_16(). XM's
saved by ST can be loaded into MikIT and FastTracker now :)
(XM_Load): get_le_32(xh + 60, ...) instead of get_le_16().
1998-12-03 Michael Krause <[email protected]>
* Released v0.0.11-fixes patch
* app/audio.c: #include <sys/time.h> needed for glibc2.
* app/module-info.c: Replaced GTK_HAVE_FEATURES_1_1_5 check by
explicit check of gtk version.
1998-12-01 Michael Krause <[email protected]>
* Released v0.0.11
* app/audio.c, app/gui.c: Clipping indicator working again.
* app/audio.c (driver_sync): Pitchbend can now be changed while
playing without crashing.
* app/gui.c (gui_init): Added pitchbend slider.
* app/gui.c (gui_adj_amplification_changed): Updated for the new
audio.c.
* app/audio.c, app/xm-player.c: Added keyboard note playing.
Entered notes are played on the channel the cursor is positioned
in, not in a hidden internal 33rd one as v0.0.10 and earlier did
it.
1998-11-30 Michael Krause <[email protected]>
* app/scope-group.c (scope_group_timeout): Fixed the remaining
bugs (rewritten).
* app/sample-display.c (sample_display_set_data): These functions
can copy the provided sample into their own buffer now.
1998-11-29 Michael Krause <[email protected]>
* app/scope-group.c, app/audio.c, app/mixer.h: I finally have
working scopes again. The new code updates the scopes
independently of the audio thread, so the scopes are updated
frequently even if the audio fragment size is large. There are
still some bugs in here, and the code needs cleanup, but that
doesn't matter at the moment.
* app/sample-display.c (sample_display_new): Widget can be created
without the loop and selection editing properties; it is basically
the scope widget in that case.
* Removed scope.c and scope.h; sample-display.c offers the same
functionality.
1998-11-28 Michael Krause <[email protected]>
* app/xm-player.c, app/audio.c, app/drivers/oss.c: Updated to use
the new polling scheme.
* app/driver.h: Added general fd poll() functions for the driver
modules.
1998-11-25 Michael Krause <[email protected]>
* Whoo. I see that my just recently updated Emacs has a new date
style. And I always wondered who's interested in the exact day
time in a ChangeLog :)
* app/module-info.c (get_clist_in_scrolled_window): New function