cancel
f145d7d6f8
Fix tool build script for tcc compiler in debug
tcc wants -bt10 instead of -bt 10, otherwise it might interpret 10 as a
file name.
5 years ago
cancel
fbcf24f968
Change TUI menu code to not use 'menu' library
This commit implements the Qnav/Qmenu system directly in ncurses,
replacing the old implementation which relied on the 'menu' library.
The new code is shorter, easier to read, and doesn't need the 'menu'
library to be linked.
For users, the behavior of the menus should be the same.
We still rely on the 'form' library for text field input in the menus.
5 years ago
Sigrid Haflínudóttir
440e84edfc
make it compile and run under OpenBSD
5 years ago
cancel
64678e0b7c
Fix unbound env variable error in tool script
Forgot that our strict options would make this fail.
5 years ago
cancel
e1d9215cec
Add protection against $CC=*mingw32*.exe on cygwin
*mingw32*.exe will not build the orca TUI correctly, though it may build
the CLI. If the compiler name isn't specified, like with `-c gcc`, then
it may default to the CC environment variable, which may be set to mingw
gcc instead of 'regular' cygwin gcc. This patch to `tool` fixes this
issue by guarding against the two known names of the mingw compiler .exe
when the detected OS is cygwin, and ignoring them, and instead
specifying `gcc` directly (unless overridden by the user with the `-c`
option.)
5 years ago
cancel
1642d83765
Rename bank.h/.c to vmio.h/.c
5 years ago
cancel
a6cd6ff2d9
Add some more sanitize options to build script
5 years ago
cancel
de388d38b4
Add -Wno-missing-field-initializers on Mac clang
5 years ago
cancel
b201a6a391
Add Mac pbcopy/pbpaste support for clipboard
5 years ago
cancel
14c8610315
Change to use altnerate heap string implementation.
`sdd` was the first attempt at making one of these
individually-allocated string management/utility things. I didn't end up
liking the design, so I tried again from scratch, and called the new one
`oso`. Let's see how that one turns out. The name might change again in
the future, though I feel better about the design of this one.
5 years ago
cancel
34d04ad4c3
Remove -b flag from tcc
Seems to not work properly on AMD64. Causes a fault when it
shouldn't.
5 years ago
cancel
c012ed4337
Cleanup
5 years ago
cancel
178d7ee31c
Clean up some options warnings in tool for tcc
5 years ago
cancel
b50f496107
Add tcc debug flag and more warning flags
Adds -Wwrite-strings for all compilers.
Adds -b for tcc in debug builds (bounds check.)
5 years ago
cancel
d92a2562ff
Add detection of tcc compiler to tool script
5 years ago
cancel
6933288711
Rename gbstring.h/.c to sdd.h/.c
5 years ago
cancel
09d9d53ece
Add start of gbstring.h/.c
Derived from gingerBill's public domain gb_string.h
5 years ago
cancel
61412eb2f0
Rename cboard.c/.h to sysmisc.c/.h
5 years ago
cancel
39c119e579
Remove prefs.h/prefs.c
Too many files. These aren't needed. Fold them in.
5 years ago
cancel
4beba07146
Add start of prefs reading
5 years ago
cancel
5068a37553
Add better error message for old opts usage in tool
Will hopefully make it easier for people to use old guides floating
around on the internet.
5 years ago
cancel
cd47fcc4f1
Change references to name 'PortMIDI' to 'PortMidi'
This is the official project capitalization.
5 years ago
cancel
96897adad8
Update message in debug+portmidi builds
5 years ago
cancel
d7eed89ead
Update readme and tool script for new usage
5 years ago
cancel
c47b6e3c88
Update and simplify build tool script
5 years ago
cancel
23329f713a
Add start of X clipboard support
via xclip. Using popen instead of pipes right now, so stderr from
xclip might be sent to terminal, which is bad.
5 years ago
cancel
bbb1bbd91d
Remove mark.h and mark.c
Contents were folded into field.h and field.c.
5 years ago
cancel
eaef5482d5
Add -Wshadow to tool build flags.
And fixes a shadowed (but harmless) loop counter warning.
5 years ago
Nicola Pisanti
733ee3ae99
adds --nomouse option when compiling
6 years ago
cancel
11fb32dec8
Fix shellcheck SC1117
Harmless in this case, but annoying to see.
6 years ago
cancel
3e3298f948
Guard use of -march=nehalem to gcc >= 4.9
Fixes #14
6 years ago
cancel
cdccd3aeb6
Add warning to build tool about asan in debug builds with portmidi
6 years ago
cancel
18629ae8d7
Add build tool stuff for portmidi library
6 years ago
cancel
c13b21dca7
Tweak mac hard-coded clang version
6 years ago
cancel
f48f3792a6
Add more cc vers/id flag logic to build tool
6 years ago
cancel
107dca71fa
Add special case for mac clang version number
6 years ago
cancel
64839b916e
Change compiler detection to use cpp macros
6 years ago
cancel
e1a9def193
Add start of forms use
6 years ago
cancel
9b81391d76
Change to use 'strict' void style fn decls
6 years ago
cancel
8514233eae
Change build tool to only specify no-pie for clang >= 6.0.0
6 years ago
cancel
2cf1742c36
Add -finput-charset=UTF-8 to cc flags
6 years ago
cancel
002a7b949d
Add dynamic homebrew prefix on mac
6 years ago
cancel
2004b2cb37
Temp fix for libncursesw
Need to fix up tool script to use ncursesx6-config
6 years ago
cancel
9803343f14
Add start of new menu/nav-stack system
6 years ago
cancel
2593bab7b3
Fix tool script for gcc build in cygwin
6 years ago
cancel
18e8675003
Add start of OSC output
6 years ago
cancel
9d8ed749fc
Cleanup
6 years ago
cancel
5b66f2cf8d
Change sokol_time.h to get -isystem for include
Generates Wconversion warning on mac, otherwise.
6 years ago
cancel
d0c3b97a80
Add WIP timing stuff
6 years ago
cancel
ba88a00dad
Add comment in tool
6 years ago