William McBrine
6810d7201d
Add back Mac font for SDL1.
2023-06-12 12:11:12 -04:00
William McBrine
8ab6f88ebe
Dynamic libs for sdl1 needs work, should probably be deprecated anyway.
2023-05-28 17:39:21 -04:00
William McBrine
c1f68a8028
Merge pull request #102 from TurkeyMcMac/sdl2-shared
...
Implement SDL1 and SDL2 shared libraries
2023-05-28 17:02:38 -04:00
William McBrine
7b22dfa982
Return proper coordinates instead of -1,-1 for DOS/SDL/X11. To Do: test.
2023-05-26 22:32:46 -04:00
William McBrine
3c2694a36f
Line breaks
2022-01-14 16:21:05 -05:00
William McBrine
c9367727b0
Redundant distribution stati
2022-01-14 16:15:31 -05:00
Jude Melton-Houghton
2e3805e7ba
Clean up sdl1 pdcurses.so in make clean
2020-10-03 08:09:05 -04:00
Jude Melton-Houghton
14954927c2
Implement pdcurses.so recipe for sdl1
...
Since Mac is not listed as a supported *nix variant, I assumed the
suffix could always be .so for now. Unlike the sdl2 Makefile, this one
now builds both static and shared libraries at once. The sdl2 Makefile
would be harder to make work like this since its current architecture
seems suited to building just one library at a time.
2020-10-02 22:14:49 -04:00
William McBrine
35bef88f14
PDC_doupdate() / PDC_napms() changes copied from SDL2 to SDL1.
2019-12-08 14:37:39 -05:00
William McBrine
00688c8f29
COLS / LINES handling in DOS and OS/2 doesn't seem useful.
2019-09-15 11:26:12 -04:00
William McBrine
f294596357
Redundant code; on resize, move the cursor just enough to keep it
...
onscreen, instead of resetting it.
2019-09-15 08:22:01 -04:00
William McBrine
2048b6b93e
Removed meaningless argc/argv passing for non-X11 ports; made initscr()
...
the core routine and Xinitscr() the wrapper, as it should be.
2019-09-15 02:01:15 -04:00
William McBrine
2579ae1049
Xinitscr() isn't available in SDL.
2019-09-15 00:03:54 -04:00
William McBrine
dcc68db1fd
To match the change in PDC_scr_open(), free SP in delscreen() rather
...
than PDC_scr_free().
2019-09-11 10:02:57 -04:00
William McBrine
e3c606be1e
Updated comments.
2019-09-11 09:52:24 -04:00
William McBrine
492b402134
More common code now.
2019-09-10 19:14:58 -04:00
William McBrine
264e1336eb
No longer needed.
2019-09-10 17:54:29 -04:00
William McBrine
6f25ffc884
Document PDC_doupdate(); remove obsolete note about PDC_update_rects().
2019-09-10 17:40:04 -04:00
William McBrine
6801fc1159
Same for sdl1.
2019-09-10 16:35:32 -04:00
William McBrine
6503aa9277
The screen should really update on doupdate(), not just on idle.
...
Tentative fix for x11. Reported by Mark Hessling.
2019-09-10 10:06:24 -04:00
William McBrine
4d1920e51c
atrtab, unified again, in the new style.
2019-09-08 23:53:55 -04:00
William McBrine
48b0c12975
PDC_get_input_fd() only returned a meaningful result under x11, but this
...
is impossible to reproduce in the single-process model. All other
platforms always returned zero... which may or may not have actually
worked with select(). Better to deprecate this, discourage its use, and
suggest alternative mechanisms.
2019-09-06 09:05:43 -04:00
William McBrine
88d2732171
Documentation updates.
2019-09-01 13:53:02 -04:00
William McBrine
563e71caed
...and for sdl1.
2019-08-25 17:23:38 -04:00
William McBrine
145cd3317d
Similar patch for SDL1 -- although it doesn't really have clipboard
...
support, it works within an app.
2019-08-23 18:11:53 -04:00
William McBrine
c917070c39
responsibility
2019-08-17 12:32:58 -04:00
William McBrine
c18d86d4a2
save_key_modifiers isn't useful -- they can always be saved. A pseudo-
...
prototype is retained for backwards compatibility.
2019-08-05 02:26:52 -04:00
William McBrine
f5886b69c7
... and finally (for now), this. To Do: more testing.
2019-08-04 12:19:35 -04:00
William McBrine
9ce10d9a16
and even this
2019-08-04 00:18:12 -04:00
William McBrine
690f11dc8d
also this
2019-08-03 22:42:35 -04:00
William McBrine
9bfddf1368
Consolidate the dirtying.
2019-08-02 18:38:01 -04:00
William McBrine
224d67aef1
Dirtying mechanism for SDL -- small but noticeable speedup.
2019-08-02 18:04:14 -04:00
William McBrine
47a5be4a3e
xbm -> xpm
2019-05-30 17:31:03 -04:00
William McBrine
166b5205c8
MAX_COLORS -> PDC_MAXCOL, a consolidated definition.
2019-05-17 15:46:35 -04:00
William McBrine
e34674cb6d
Raise the maximum number of colors to 768 in SDL and X11. The logic is
...
that each color pair can have a unique foreground and background color
defined via init_color(), without altering any of the first (preset) 256
colors.
2019-05-12 23:18:32 -04:00
William McBrine
3c67ce4471
Adding the NetBSD functions reminded me how outdated the "Portability"
...
tables were. Hopefully this is more useful, if still questionable.
2019-05-12 18:35:47 -04:00
William McBrine
a0b7d587c1
Inconsistent line wrap length and spacing in "man page" descriptions.
2019-05-11 20:34:11 -04:00
William McBrine
e0c29054e8
Added has_mouse() for ncurses compatibility. See GitHub issue #62 .
2019-05-07 18:09:27 -04:00
William McBrine
4a15672341
Rebranding -- it's still public domain, but I'll no longer refer to it
...
as "Public Domain Curses". (Outside of the official docs, no one ever
did, anyway.)
2019-01-30 15:32:02 -05:00
William McBrine
07ab134f06
Renamed files to fit in 8.3, be (slightly) more informative.
2019-01-30 11:05:57 -05:00
William McBrine
5abce67c1a
Add a few more ncurses_tests; update to 6.1.
2019-01-18 19:23:47 -05:00
William McBrine
63d8c5308f
Simplified Makefile descriptions; removed version commitments.
2019-01-13 13:20:40 -05:00
William McBrine
7559fec119
Same for SDL1.
2019-01-08 05:52:34 -05:00
William McBrine
1bf3592453
Update SDL docs.
2019-01-07 12:10:32 -05:00
William McBrine
a04b8f4baa
Align with SDL2 -- build pdcurses.a (not libpdcurses.a).
2019-01-07 12:09:43 -05:00
William McBrine
8a032ef98d
Here too.
2018-12-31 05:26:56 -05:00
William McBrine
9b0616d5e5
Assume C99 == HAVE_VSSCANF and HAVE_VSNPRINTF; remove the defines from
...
the SDL Makefiles.
2018-12-29 12:55:53 -05:00
William McBrine
de1171129d
Merge sdl.md and x11.md into their respective READMEs.
2018-12-17 23:58:04 -05:00
William McBrine
43d5bc8fc1
The ACS tables are somewhat redundant, so break them out into /common.
2018-12-04 13:35:03 -05:00
William McBrine
2c460b3c5f
New "common" directory to unclutter the root, and eliminate a few more
...
redundant files from platform directories. (Yes, we already have
"pdcurses", but that's for the portable core; "common" is for files that
are more platform-specific, though shared by more than one platform.)
2018-12-04 12:36:39 -05:00