summaryrefslogtreecommitdiff
path: root/user/tlecarrour/schism.mdwn
blob: 3f72683209058f7ed4edb9c32141539faaa9415e (plain)
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
[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!tag open_issue_porting]]


schism
======

ImpulseTracker clone aiming at providing the same look&feel.  
**Home page**: [[http://nimh.org/schismtracker]]

[[!toc startlevel=2]]


* * *


Log
---

* **Started**: -
* **Discussed**: -
* **Draft Submitted**: -
* **Submitted**: -
* **Accepted**: -


* * *


ToDo
----

Here is the output of `grep -R PATH_MAX schism-0+20110101/*`:

    include/disko.h:        char tempname[PATH_MAX];
    include/disko.h:        char filename[PATH_MAX];
    include/headers.h:# undef PATH_MAX
    schism/disko.c:        if (len + 6 >= PATH_MAX) {
    schism/audio_loadsave.c:char song_filename[PATH_MAX + 1];
    schism/audio_loadsave.c:                strncpy(song_filename, file, PATH_MAX);
    schism/audio_loadsave.c:                song_filename[PATH_MAX] = '\0';
    schism/page_loadmodule.c:static char filename_entry[PATH_MAX + 1] = "";
    schism/page_loadmodule.c:static char dirname_entry[PATH_MAX + 1] = "";
    schism/page_loadmodule.c:char cfg_module_pattern[PATH_MAX + 1] = GLOB_DEFAULT;
    schism/page_loadmodule.c:static char glob_list_src[PATH_MAX + 1] = ""; // the pattern used to make glob_list (this is an icky hack)
    schism/page_loadmodule.c:        strncpy(glob_list_src, globspec, PATH_MAX);
    schism/page_loadmodule.c:        glob_list_src[PATH_MAX] = '\0';
    schism/page_loadmodule.c:        strncpy(cfg_dir_modules, ptr, PATH_MAX);
    schism/page_loadmodule.c:        cfg_dir_modules[PATH_MAX] = 0;
    schism/page_loadmodule.c:        create_textentry(widgets_loadmodule + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
    schism/page_loadmodule.c:        create_textentry(widgets_loadmodule + 3, 13, 47, 64, 2, 3, 0, NULL, dirname_entry, PATH_MAX);
    schism/page_loadmodule.c:        create_textentry(widgets_exportsave + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
    schism/page_loadmodule.c:        create_textentry(widgets_exportsave + 3, 13, 47, 64, 2, 0, 0, NULL, dirname_entry, PATH_MAX);
    schism/util.c:        char buf[PATH_MAX];
    schism/util.c:        if (strlen(filename) > PATH_MAX - 16) {
    schism/util.c:        char buf[PATH_MAX + 1];
    schism/util.c:        if (getcwd(buf, PATH_MAX))
    schism/util.c:        char buf[PATH_MAX + 1];
    schism/util.c:        if (getcwd(buf, PATH_MAX))
    schism/util.c:        char buf[PATH_MAX + 1];
    schism/util.c:        char buf[PATH_MAX];
    schism/util.c:        char buf2[PATH_MAX];
    schism/util.c:        if (!GetCurrentDirectory(PATH_MAX-1,buf)) return 0;
    schism/util.c:        snprintf(buf2, PATH_MAX-2, "%s.bat", name);
    schism/main.c:                strncpy(cfg_dir_modules, initial_dir, PATH_MAX);
    schism/main.c:                cfg_dir_modules[PATH_MAX] = 0;
    schism/main.c:                strncpy(cfg_dir_samples, initial_dir, PATH_MAX);
    schism/main.c:                cfg_dir_samples[PATH_MAX] = 0;
    schism/main.c:                strncpy(cfg_dir_instruments, initial_dir, PATH_MAX);
    schism/main.c:                cfg_dir_instruments[PATH_MAX] = 0;
    schism/page_loadinst.c:static char inst_cwd[PATH_MAX+1] = "";
    schism/page_loadinst.c:static char slash_search_str[PATH_MAX];
    schism/page_loadinst.c:                strncpy(cfg_dir_instruments, ptr, PATH_MAX);
    schism/page_loadinst.c:                cfg_dir_instruments[PATH_MAX] = 0;
    schism/page_loadinst.c:        strncpy(inst_cwd, ptr, PATH_MAX);
    schism/page_loadinst.c:        inst_cwd[PATH_MAX] = 0;
    schism/page_loadinst.c:                        if (slash_search_mode < PATH_MAX) {
    schism/config.c:char cfg_dir_modules[PATH_MAX + 1], cfg_dir_samples[PATH_MAX + 1], cfg_dir_instruments[PATH_MAX + 1],
    schism/config.c:        cfg_dir_dotschism[PATH_MAX + 1], cfg_font[NAME_MAX + 1];
    schism/config.c:        strncpy(cfg_dir_dotschism, ptr, PATH_MAX);
    schism/config.c:        cfg_dir_dotschism[PATH_MAX] = 0;
    schism/config.c:        cfg_get_string(&cfg, "Directories", "modules", cfg_dir_modules, PATH_MAX, tmp);
    schism/config.c:        cfg_get_string(&cfg, "Directories", "samples", cfg_dir_samples, PATH_MAX, tmp);
    schism/config.c:        cfg_get_string(&cfg, "Directories", "instruments", cfg_dir_instruments, PATH_MAX, tmp);
    schism/config.c:                strncpy(cfg_module_pattern, ptr, PATH_MAX);
    schism/config.c:                cfg_module_pattern[PATH_MAX] = 0;
    schism/page_vars.c:                         cfg_dir_modules, PATH_MAX);
    schism/page_vars.c:                         cfg_dir_samples, PATH_MAX);
    schism/page_vars.c:                         cfg_dir_instruments, PATH_MAX);
    schism/page_loadsample.c:static char current_filename[PATH_MAX];
    schism/page_loadsample.c:static char search_str[PATH_MAX];
    schism/page_loadsample.c:                                        PATH_MAX-1);
    schism/page_loadsample.c:                                        PATH_MAX-1);
    schism/page_loadsample.c:        strncpy(cfg_dir_samples, ptr, PATH_MAX);
    schism/page_loadsample.c:        cfg_dir_samples[PATH_MAX] = 0;
    schism/page_loadsample.c:                        if (search_pos < PATH_MAX) {


* * *


Comments
--------

Not yet started.

Looks like a lot, but most of them, if not all, are trivial.