Commit Graph

  • 352fa58628 Update sdl2 README with .so info Jude Melton-Houghton 2020-09-29 08:47:56 -04:00
  • e2821dfb94 Implement .so for sdl2 Jude Melton-Houghton 2020-09-29 08:46:17 -04:00
  • 692a7bb017 WINCON: Send real mouse position with scroll event Emmanuel Mathi-Amorim 2020-05-12 11:50:09 -04:00
  • 618e0aaa31 Partial reversal of 6e6962. Issue #61 remains fixed. I couldn't get the "new style" stable under Linux. Other fixes still applied. William McBrine 2019-12-21 17:12:00 -05:00
  • 73a3b5230f Open SDL windows on the "active" screen (the one with the mouse pointer). See issue #61. William McBrine 2019-12-20 00:27:47 -05:00
  • 43608d5024 SDL event filtering (at least in this case) doesn't work consistently. So, poll events at every pause, and push back everything except the window restore and expose. Ugly, but it seems to work. William McBrine 2019-12-12 11:19:02 -05:00
  • 84ed006c4d PDC_doupdate() on blinking (SDL2). William McBrine 2019-12-11 06:59:50 -05:00
  • 6e69627a90 More modern / correct SDL2 rendering. Fixes issue with dragging to alternate screen (see #61). sdltest needs work yet. William McBrine 2019-12-11 00:54:03 -05:00
  • 35bef88f14 PDC_doupdate() / PDC_napms() changes copied from SDL2 to SDL1. William McBrine 2019-12-08 14:37:39 -05:00
  • c85d95aebe Make SDL2 more responsive to expose/restore events -- see part 2 of #71. William McBrine 2019-12-08 10:52:38 -05:00
  • 67060f16b7 Hopefully clearer comments. William McBrine 2019-11-24 12:29:15 -05:00
  • 8a28cf80f6 No install target here. William McBrine 2019-10-16 22:08:08 -04:00
  • f407bdbda6 Autoconfed. William McBrine 2019-09-25 11:40:07 -04:00
  • e7d21889fe Merge pull request #74 from thrig/master William McBrine 2019-09-25 11:15:25 -04:00
  • 7bcad8f842 set LD_RXLIB1 on OpenBSD Jeremy Mates 2019-09-25 15:07:11 +00:00
  • a493e5e22c I think the key name table is better outside of keyname() -- there's a very slight reduction in the library size. William McBrine 2019-09-19 18:04:24 -04:00
  • 9f2c806e65 Dynamically allocate atrtab. William McBrine 2019-09-19 04:07:07 -04:00
  • d727feea46 Dynamically allocate the keyboard buffer; consolidate magic numbers. William McBrine 2019-09-17 16:46:39 -04:00
  • c40e9e5cf8 Use the direct function name here. William McBrine 2019-09-17 15:51:10 -04:00
  • e6d46d21e7 Dynamically allocate the ungetch buffer, and resize it to accomodate the full size of a PDC_getclipboard() paste. William McBrine 2019-09-17 14:33:59 -04:00
  • b803feef42 Allow PDC_COLS and PDC_LINES to work in X11, as in SDL. (Resource settings, including via the command line, still take precedence.) William McBrine 2019-09-15 11:56:27 -04:00
  • 00688c8f29 COLS / LINES handling in DOS and OS/2 doesn't seem useful. William McBrine 2019-09-15 11:14:18 -04:00
  • 956c5a445a Doesn't work. William McBrine 2019-09-15 10:33:43 -04:00
  • f294596357 Redundant code; on resize, move the cursor just enough to keep it onscreen, instead of resetting it. William McBrine 2019-09-15 05:53:19 -04:00
  • 2048b6b93e Removed meaningless argc/argv passing for non-X11 ports; made initscr() the core routine and Xinitscr() the wrapper, as it should be. William McBrine 2019-09-15 02:01:15 -04:00
  • 2579ae1049 Xinitscr() isn't available in SDL. William McBrine 2019-09-15 00:03:54 -04:00
  • b12c4a5212 In winsnstr() and wins_nwstr(), positive n values were treated as minimums eather than maximums. Broken since 3.0. Reported by Ulf Magnusson. GitHub issue #72. William McBrine 2019-09-14 15:11:51 -04:00
  • 7eb7598115 The probably better way. William McBrine 2019-09-11 11:46:45 -04:00
  • dcc68db1fd To match the change in PDC_scr_open(), free SP in delscreen() rather than PDC_scr_free(). William McBrine 2019-09-11 10:02:57 -04:00
  • e3c606be1e Updated comments. William McBrine 2019-09-11 09:52:24 -04:00
  • 492b402134 More common code now. William McBrine 2019-09-10 19:14:58 -04:00
  • e7b15a9f5e Hmm... xmas looks better this way (ozdemo is sloooow). William McBrine 2019-09-10 18:44:21 -04:00
  • 264e1336eb No longer needed. William McBrine 2019-09-10 17:54:29 -04:00
  • 6f25ffc884 Document PDC_doupdate(); remove obsolete note about PDC_update_rects(). William McBrine 2019-09-10 17:40:04 -04:00
  • 6801fc1159 Same for sdl1. William McBrine 2019-09-10 16:35:15 -04:00
  • 6f06bef327 PDC_doupdate() for sdl2. A bit of a kludge. For GitHub #71. William McBrine 2019-09-10 16:17:33 -04:00
  • 6503aa9277 The screen should really update on doupdate(), not just on idle. Tentative fix for x11. Reported by Mark Hessling. William McBrine 2019-09-10 10:06:24 -04:00
  • 7a2d7c8b36 No reason now for pair_set[] to remain separate. William McBrine 2019-09-09 00:17:09 -04:00
  • 4d1920e51c atrtab, unified again, in the new style. William McBrine 2019-09-08 23:53:55 -04:00
  • c05cd3427c rain and worm actually look better (or at least no worse, depending on the platform) without the erasures on resizing. William McBrine 2019-09-08 00:28:42 -04:00
  • 43ca5474ad Spurious initial KEY_RESIZE at start in x11 shut down firework, could cause other issues. There's probably a better way to deal with it. William McBrine 2019-09-07 23:17:39 -04:00
  • 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. William McBrine 2019-09-06 08:57:38 -04:00
  • 1ec46eff98 Moved sb_* variables to sb.c. William McBrine 2019-09-05 19:59:05 -04:00
  • 6c1f95c4fa Updated web site for 3.9. William McBrine 2019-09-04 16:08:02 -04:00
  • ac0de05462 Removed x11old. I had in mind to release this with 3.9, but it's suffering from bit rot already, and I can't bring myself to do it. William McBrine 2019-09-04 12:31:55 -04:00
  • 6afcc92d56 Autoconf for 3.9. William McBrine 2019-09-04 12:27:41 -04:00
  • b7984d0e68 Updated for 3.9. William McBrine 2019-09-04 12:17:18 -04:00
  • 50bb066f85 Document resolution of timeout(), per #68. William McBrine 2019-09-04 00:26:02 -04:00
  • bc3b2b8f7a Corrected description of napms(). #68 William McBrine 2019-09-04 00:07:59 -04:00
  • 997c56c169 Update manual. William McBrine 2019-09-03 10:58:41 -04:00
  • 2e1cb3de95 Document resolution of napms(), per issue #68. William McBrine 2019-09-03 10:41:21 -04:00
  • 7c2f2f13d1 Functions, XC_ -> PDC_ William McBrine 2019-09-02 19:53:55 -04:00
  • 6189c976a7 Move extern variables to the pdc_ namespace. William McBrine 2019-09-02 14:49:35 -04:00
  • 3a2b906a25 Re-ordered to match pdcscrn.c; hopefully more sensible. William McBrine 2019-09-02 11:25:14 -04:00
  • 9586814625 Exit here instead (calls PDC_scr_free() on the way out, via atexit()). William McBrine 2019-09-01 23:42:16 -04:00
  • b7064b4b72 Free SP in x11's PDC_scr_free(); don't exit. William McBrine 2019-09-01 23:16:07 -04:00
  • ed8903bf26 No more x11.c. William McBrine 2019-09-01 22:52:30 -04:00
  • 043bf7e4dc Finish dismantling x11.c. William McBrine 2019-09-01 22:49:27 -04:00
  • 88d2732171 Documentation updates. William McBrine 2019-09-01 10:42:54 -04:00
  • a57f0b3f1d Strip trailing spaces from selection; condensed. William McBrine 2019-09-01 00:49:56 -04:00
  • 3d7da3178a No more checking for max signals. William McBrine 2019-08-31 18:42:35 -04:00
  • 1fa2400cb6 More things that don't need to be public. William McBrine 2019-08-30 23:06:46 -04:00
  • be92ff7cf5 XCursesLINES and XCursesCOLS aren't really needed. William McBrine 2019-08-30 21:04:32 -04:00
  • 24acd29916 Unused. William McBrine 2019-08-30 20:15:48 -04:00
  • d6b477d536 Cursor color is set automatically now. William McBrine 2019-08-30 20:05:31 -04:00
  • 47f67f61ee Unneeded. William McBrine 2019-08-30 16:22:16 -04:00
  • 1733100a76 Capture mouse events without the need for translations or actions. William McBrine 2019-08-30 16:06:11 -04:00
  • 1a39d4fa6a Keyboard setup -> pdckbd.c William McBrine 2019-08-30 14:19:44 -04:00
  • 08b155aa56 Broke out parts of the (very long) XCursesInitscr(). More to do here. William McBrine 2019-08-30 01:53:07 -04:00
  • 6b99f87cc0 Seems OK... William McBrine 2019-08-29 21:22:00 -04:00
  • a6b1aeadb9 borderWidth wasn't working, and apparently, hasn't worked since at least 2.7. Hmm. William McBrine 2019-08-29 07:46:55 -04:00
  • bc1f93b4ca In the absence of scrollbars, make drawing = topLevel, for smoother resizing; make background(s) black. More testing needed. William McBrine 2019-08-29 00:12:39 -04:00
  • 3472f46a8c initialize_colors() -> pdcscrn.c William McBrine 2019-08-28 21:37:09 -04:00
  • 1a8044bc8f Better scrollbar isolation, a few others. William McBrine 2019-08-28 16:38:49 -04:00
  • 7515c5bbb5 XC_get_color() -> PDC_color_content(), XC_set_color() -> PDC_init_color(). William McBrine 2019-08-28 15:28:50 -04:00
  • 51037540bf To pdcdisp.c. William McBrine 2019-08-28 11:49:51 -04:00
  • e313a05bd0 Aligning with other ports. William McBrine 2019-08-27 20:07:24 -04:00
  • f111334b9b These should be unneeded. William McBrine 2019-08-27 16:25:31 -04:00
  • c0fd64beb7 Scrollbar stuff to sb.c. William McBrine 2019-08-27 16:20:22 -04:00
  • b0a3a33de2 More conventional names. William McBrine 2019-08-27 15:46:40 -04:00
  • 8268153508 Keyboard functions from x11.c to pdckbd.c. William McBrine 2019-08-27 15:29:55 -04:00
  • 1954934f5c Don't need XC_say(). William McBrine 2019-08-27 14:29:04 -04:00
  • a3d2e1ad4f Broke clipboard functions out of x11.c, into pdcclip.c. William McBrine 2019-08-27 14:22:44 -04:00
  • 3afe50b1be No longer needed. William McBrine 2019-08-27 09:18:26 -04:00
  • 4289e79326 Dismantled Xcurscr. William McBrine 2019-08-27 07:04:40 -04:00
  • a5889e8133 Don't need xc_atrtab etc. William McBrine 2019-08-27 06:10:42 -04:00
  • 530961a419 Unused. William McBrine 2019-08-27 05:57:02 -04:00
  • d626436c54 Unused return values. William McBrine 2019-08-27 05:27:44 -04:00
  • ef378b281a Obsolete comments. William McBrine 2019-08-27 00:15:17 -04:00
  • 1b9490963e Translations don't work in this version. William McBrine 2019-08-26 23:51:09 -04:00
  • 040c85f994 Don't need XCursesTitle(). William McBrine 2019-08-26 20:56:47 -04:00
  • c2df23c739 Overzealous comments. William McBrine 2019-08-26 14:25:39 -04:00
  • ed496a88f2 ...or uppercased. William McBrine 2019-08-26 13:58:51 -04:00
  • 3888a2eb92 Really no need for this to be three files. William McBrine 2019-08-26 13:51:12 -04:00
  • 1f086b802f No more signal trapping. William McBrine 2019-08-26 12:39:30 -04:00
  • ea2d66b782 Unneeded. William McBrine 2019-08-26 11:08:00 -04:00
  • acc679a003 Duplicate code. William McBrine 2019-08-25 22:29:16 -04:00
  • 563e71caed ...and for sdl1. William McBrine 2019-08-25 17:23:38 -04:00
  • 3ed1d77019 A couple more places where the offsets are needed. This has always been wrong, but I didn't realize it until I was able to try select-and-paste with sdltest. William McBrine 2019-08-25 16:10:14 -04:00
  • 703bab235c x11new is now the standard x11 port. William McBrine 2019-08-25 12:04:27 -04:00