Commit Graph

  • f712f9d268 The old, dual-process x11 port is now deprecated. William McBrine 2019-08-25 12:00:15 -04:00
  • 22fd0baf80 Reflect the new arrangement. William McBrine 2019-08-25 02:09:03 -04:00
  • 717d4e001d Moved the docs from "man" to "docs". The docs/man thing was too confusing. William McBrine 2019-08-25 02:02:59 -04:00
  • ed3963cfbd Move the favicon and logo image to inline data. William McBrine 2019-08-25 01:55:27 -04:00
  • 02030a3a2a Time to do away with these kludges, I hope; CSS integrated into index.html to reduce file count in docs/. William McBrine 2019-08-24 23:42:39 -04:00
  • 145cd3317d Similar patch for SDL1 -- although it doesn't really have clipboard support, it works within an app. William McBrine 2019-08-23 18:11:53 -04:00
  • 12d3876f67 Copy on select, paste on middle-click. To Do: It would be useful to distinguish between selection (XA_PRIMARY) and copy (XA_CLIPBOARD), where possible. William McBrine 2019-08-23 16:03:43 -04:00
  • 4f359e2667 Temporarily revert the XA_CLIPBOARD support, since UTF-8 isn't working there. William McBrine 2019-08-23 09:36:17 -04:00
  • a070ac91f6 UTF-8 conversion is handled via pdcurses/util.c now. William McBrine 2019-08-23 07:53:14 -04:00
  • 50312e7acb Set last_button_no on every ButtonPress, read it on every MotionNotify; also, removed some problem debug statements. William McBrine 2019-08-22 16:43:41 -04:00
  • de28baae72 More like this -- anchor point constant. William McBrine 2019-08-22 13:22:17 -04:00
  • 8c0a8b2dbb No longer needed. William McBrine 2019-08-22 12:47:01 -04:00
  • 05f5b5c978 Tighter; allow for larger buffer in UTF-8 mode. William McBrine 2019-08-22 10:45:12 -04:00
  • 7c72915336 Universal select/copy, first pass. Needs a little tweaking still. William McBrine 2019-08-22 08:11:00 -04:00
  • 08fda1e812 Updated for SDL 2.0.10. William McBrine 2019-08-20 20:32:16 -04:00
  • 2fc7e66d23 Shift-Ctrl-V paste, for all platforms (to the extent that they have a working PDC_getclipboard()). William McBrine 2019-08-20 15:05:07 -04:00
  • da420f7e52 Hmm. William McBrine 2019-08-20 14:37:31 -04:00
  • ed660cb754 Enable the clipboard test for PDCurses. William McBrine 2019-08-19 10:43:03 -04:00
  • e47e31c425 In x11new, PDC_getclipboard() now reads from CLIPBORAD instead of PRIMARY, while PDC_setclipboard() sets both; plus fixes for _convert_proc(). Works on Mac, still not quite right on Linux. William McBrine 2019-08-19 10:36:12 -04:00
  • 0ab3964f6a Non-working selection/paste code in x11new. To be replaced. William McBrine 2019-08-18 13:26:30 -04:00
  • f8d7dc5f7f Unneeded. William McBrine 2019-08-18 09:24:05 -04:00
  • bd5ed15a7d x11new/pdcx11.c no longer needed. William McBrine 2019-08-18 09:18:10 -04:00
  • ed6efbc669 More reorg. William McBrine 2019-08-18 09:16:39 -04:00
  • ef50b5ac33 Unneedful things. William McBrine 2019-08-18 07:41:49 -04:00
  • 2c96f750c4 Simplified exit. William McBrine 2019-08-18 05:50:49 -04:00
  • 0ae864ab4c Dismantled XCursesProcessRequest(). William McBrine 2019-08-18 05:44:07 -04:00
  • cb4bafcbae Working PDC_setclipboard() for x11new, take 1. William McBrine 2019-08-18 04:15:51 -04:00
  • 8034083d12 Working PDC_getclipboard() for x11new (needs refinement); removed XCursesInstruct[AndWait](). William McBrine 2019-08-18 00:40:35 -04:00
  • c917070c39 responsibility William McBrine 2019-08-17 12:32:58 -04:00
  • 1db90fccc5 More like this. William McBrine 2019-08-16 20:50:17 -04:00
  • f3a0ce5009 "When using cross-compilers, windres has various prefixes. A patch like that helps" -- Marc-Andre Lureau William McBrine 2019-08-14 08:58:11 -04:00
  • 20d15611ef More ISO dates. William McBrine 2019-08-07 08:07:39 -04:00
  • a9d9d7d95f ISO date format. William McBrine 2019-08-06 21:34:04 -04:00
  • bcfa29e9bf Suppress cursor during dirty redraw. William McBrine 2019-08-06 12:44:41 -04:00
  • 4529afb945 Suppress cursor during extended color displays in testcurs. William McBrine 2019-08-06 12:42:25 -04:00
  • c18d86d4a2 save_key_modifiers isn't useful -- they can always be saved. A pseudo- prototype is retained for backwards compatibility. William McBrine 2019-08-05 02:26:52 -04:00
  • f5886b69c7 ... and finally (for now), this. To Do: more testing. William McBrine 2019-08-04 12:19:35 -04:00
  • f5c844fcdb this too William McBrine 2019-08-04 11:35:26 -04:00
  • 9ce10d9a16 and even this William McBrine 2019-08-04 00:16:36 -04:00
  • 74dba12aef and this William McBrine 2019-08-03 23:22:59 -04:00
  • 690f11dc8d also this William McBrine 2019-08-03 22:42:35 -04:00
  • e9ae8dd303 This makes more sense here. William McBrine 2019-08-03 21:59:45 -04:00
  • 9bfddf1368 Consolidate the dirtying. William McBrine 2019-08-02 18:27:09 -04:00
  • 224d67aef1 Dirtying mechanism for SDL -- small but noticeable speedup. William McBrine 2019-08-02 18:04:14 -04:00
  • 2f95683e60 We can now revert resized to a bool. William McBrine 2019-07-28 19:28:32 -04:00
  • c17e778160 The x11 SIGWINCH handler caused more problems than it solved. William McBrine 2019-07-27 20:04:35 -04:00
  • 985e8439c1 Fix for broken composed keys in x11new. William McBrine 2019-07-26 12:12:57 -04:00
  • 24f0a59256 Only use these attributes if defined for the terminal. William McBrine 2019-07-19 08:28:48 -04:00
  • af54b43b92 Italic for ConEmu. William McBrine 2019-07-19 00:56:31 -04:00
  • e7e7b99ad8 Color redefinition (via ANSI sequences) and 768 colors for ConEmu. As an extension, color_content() now returns all -1's for unmapped colors, and init_color() accepts all -1's to reset the color to an unmapped state. This is a bit of hackery to fit with what testcurs already did, and to get around the (AFAIK) lack of any way to get the proper values for colors 0-15 in ConEmu. Currently only implemented for wincon. William McBrine 2019-07-17 23:59:14 -04:00
  • e5ea2f06fb Fewer places to modify the SDL version/location. William McBrine 2019-07-15 08:12:00 -04:00
  • 07d22542ae Merge branch 'master' of wendy:pdcurses William McBrine 2019-07-14 23:49:01 -04:00
  • 63f0a4d912 Updated for SDL2_ttf 2.0.15. William McBrine 2019-07-14 23:02:58 -04:00
  • f687f32e55 Windows 10 1903 behaves erraticly when changing the palette, so adopt the dirtying mechanism from X11 to update the full screen on a pause, after init_color(). Could be more selective. William McBrine 2019-07-14 21:44:11 -04:00
  • 10e73dcbe1 Synced William McBrine 2019-07-06 18:40:56 -04:00
  • 17e1150f57 Spacing. William McBrine 2019-07-04 09:05:30 -04:00
  • 87abd9c6f8 SP checks for slk. More to do here. William McBrine 2019-07-02 06:41:47 -04:00
  • 7e04826f99 Return ERR (-1) from mouseinterval() on no SP. William McBrine 2019-07-01 23:38:16 -04:00
  • aa47fd9a02 Actually return NULL from wunctrl() when appropriate, and stop claiming that unctrl() does so. William McBrine 2019-07-01 17:57:19 -04:00
  • f4c2058bdd Most curses functions assumed a valid SP (i.e. that initscr() had already been called). Now, instead, they return ERR or other appropriate values. Part 1. Suggestion of Simon Sobisch. William McBrine 2019-06-30 20:07:40 -04:00
  • 47a5be4a3e xbm -> xpm William McBrine 2019-05-30 17:31:03 -04:00
  • 31b3c469b0 More like this, probably. William McBrine 2019-05-26 17:57:18 -04:00
  • 25e7af1aa5 Some more interesting test material for tuidemo's pager (UTF-8 mode only). No platform can yet render this perfectly. William McBrine 2019-05-26 11:50:37 -04:00
  • 027ee510e4 Recent versions of clang throw an error over "-install_name". I can't find any documentation about this, but everything seems to work if I remove it. More to research. William McBrine 2019-05-20 19:45:08 -04:00
  • c1374033a2 Hold back screen updates due to palette changes in X11 until paused. This relies on a general screen "dirtying" mechanism that might have other uses. William McBrine 2019-05-18 14:33:19 -04:00
  • 43d08f30b8 Center gradient William McBrine 2019-05-17 17:20:08 -04:00
  • 166b5205c8 MAX_COLORS -> PDC_MAXCOL, a consolidated definition. William McBrine 2019-05-16 23:57:30 -04:00
  • a75a9444db Use DIVROUND here too, for consistency. William McBrine 2019-05-16 11:54:43 -04:00
  • 7c43bd6990 Return ERR from color_content() if unmapped (>= 16) in wincon. William McBrine 2019-05-16 11:10:18 -04:00
  • 6ebc10f22f 768 colors for the Windows console; also, colors 16-255 can now be remapped. William McBrine 2019-05-16 10:52:11 -04:00
  • 42229601a8 Demo of COLORS > 256 added to colorTest() in testcurs; reorganized colorTest(). Based on Bill Gray's RGB test from newtest. Works in SDL; works in X11 but slooooow. William McBrine 2019-05-13 14:24:55 -04:00
  • 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. William McBrine 2019-05-12 23:18:32 -04:00
  • 42c280fd8e Update MANUAL.md. William McBrine 2019-05-12 18:39:12 -04:00
  • 3c67ce4471 Adding the NetBSD functions reminded me how outdated the "Portability" tables were. Hopefully this is more useful, if still questionable. William McBrine 2019-05-12 18:35:47 -04:00
  • a0b7d587c1 Inconsistent line wrap length and spacing in "man page" descriptions. William McBrine 2019-05-11 18:17:56 -04:00
  • 7c00f33999 From NetBSD: underscore(), underend(), wunderscore(), wunderend(). After Karthik Kumar Viswanathan. William McBrine 2019-05-11 08:56:36 -04:00
  • e449e65597 touchoverlap(), from NetBSD, by way of Karthik Kumar Viswanathan. William McBrine 2019-05-11 08:39:29 -04:00
  • 610d0eda37 Some functions from ncurses / NetBSD curses: is_keypad(), is_leaveok(), is_pad(), set_tabsize(). Code by Karthik Kumar Viswanathan. William McBrine 2019-05-11 07:20:17 -04:00
  • e0c29054e8 Added has_mouse() for ncurses compatibility. See GitHub issue #62. William McBrine 2019-05-07 18:09:27 -04:00
  • 11eb42e192 Better, yet no different. William McBrine 2019-04-20 14:14:30 -04:00
  • 33b4f5765f SDL2 windows were freezing on moving to another screen (reported by Mark Hessling); also, all resizes resulted in an extra hidden resize. This fixes those, but still isn't quite right (observe the behavior of sdltest when dragged to another screen, or any program maximized after such a move). William McBrine 2019-04-19 15:15:42 -04:00
  • e5b37d54c9 startswith William McBrine 2019-04-01 09:28:31 -04:00
  • ff1aceba3b Spacing William McBrine 2019-04-01 09:09:38 -04:00
  • 225f964edb Python is overkill for this. William McBrine 2019-03-31 20:41:38 -04:00
  • 9496141224 Single-process, single-thread version of the X11 port added as x11new/. No select/paste support yet. Needs more testing (only tested on Ubuntu 18.10 and macOS 10.14.3). Much, much faster than the two-process version. Will replace the old version if/when it proves stable etc. William McBrine 2019-03-12 22:35:08 -04:00
  • e7b9e47bfd Clarification William McBrine 2019-03-02 08:09:07 -05:00
  • a0c69dc356 Warning suppression. William McBrine 2019-02-24 13:26:32 -05:00
  • 0e6394ab66 Leftover pre-XIM William McBrine 2019-02-24 13:16:54 -05:00
  • 287d740e33 Tighten it up. William McBrine 2019-02-23 03:56:13 -05:00
  • 953b2bc503 Drop Purity support. William McBrine 2019-02-23 03:38:09 -05:00
  • eb58c787b2 Make the wide-character X11 build the default (--disable-widec for narrow). William McBrine 2019-02-23 03:33:04 -05:00
  • 6d85027ec1 Limit the scope of these options. William McBrine 2019-02-22 02:20:05 -05:00
  • 8e41f71218 Check for standard C++ (>= 98), where native bool should exist, and use that; otherwise (pre-/non-standard C++) fall back to the old behavior. Satisfies clang, hopefully doesn't mess anything else up. William McBrine 2019-02-20 11:41:15 -05:00
  • 771af8c94c X libs not needed when dynamic linking. (Always true?) William McBrine 2019-02-20 11:39:27 -05:00
  • 407d9c205b Merge pull request #54 from vyv03354/master William McBrine 2019-02-20 09:10:09 -05:00
  • e67e247b71 Correctly restore Insert mode and QuickEdit mode vyv03354 2019-02-20 22:10:03 +09:00
  • 09dbd638e8 This too. William McBrine 2019-02-10 16:53:30 -05:00
  • 37cbf87ab2 Make XIM standard; remove "classic" compose system. William McBrine 2019-02-10 16:47:24 -05:00
  • 19e6e3f4c0 Part 4 - Make Xpm mandatory in configure. William McBrine 2019-02-09 09:49:05 -05:00
  • a71fca2e3c Part 3 - Streamlined _get_icon(); removed some dead / never-used code. To Do: Find a way to test xbm loading. William McBrine 2019-02-09 09:20:05 -05:00