Commit Graph

  • f15a49632f Define pdc_mouse_status in initscr.c instead of pdckbd.c. William McBrine 2006-09-10 20:26:29 +00:00
  • 91b33e5f0e Simplified; standardized. William McBrine 2006-09-10 20:21:05 +00:00
  • d3e6bbe903 Minor tweaks to bring it more in line with mscdos.mak. William McBrine 2006-08-31 12:39:03 +00:00
  • 0da9c7cea5 Most of the same mods as the Win32 version... I don't actually have the old MS C compiler to test, but everything in vcwin32.mak, except for the double-colon rules, works with nmake 1.5 (ca. 1994). William McBrine 2006-08-31 12:36:37 +00:00
  • 62ca2b97b3 Added Id string. William McBrine 2006-08-31 10:38:59 +00:00
  • 7d9321d0d8 More compact; replaced $(CC) $(CCFLAGS) with $(BUILD) where possible. William McBrine 2006-08-31 06:48:27 +00:00
  • 1fd672412b Inclusion of "-lxpm" was being based on the presence of DECkeysym.h. Also, EEXTRA was not used. William McBrine 2006-08-30 23:43:42 +00:00
  • 530da9894f Minor tweaks. William McBrine 2006-08-30 10:15:38 +00:00
  • 6bf8953337 Complete export lists, except for the wide-character functions. William McBrine 2006-08-30 02:16:20 +00:00
  • 731a2371e8 Warning suppression. William McBrine 2006-08-30 01:53:35 +00:00
  • e2eceb6d80 And now testcurs_dyn.exe can be built. William McBrine 2006-08-30 01:39:22 +00:00
  • 627c982b89 Complete exports list. William McBrine 2006-08-30 01:18:35 +00:00
  • bed12e7e96 Some missing exports (more to do); removed excess spaces. Even with this fix, testcurs_dyn.exe still doesn't build, and AFAICT, never has. William McBrine 2006-08-29 23:28:44 +00:00
  • 182945f654 Watcom make can regenerate wccdos.lrf from LIBOBJS and PDCOBJS. William McBrine 2006-08-29 07:56:41 +00:00
  • 2088359ad7 Do the substitution here as well. William McBrine 2006-08-28 20:19:44 +00:00
  • 4bf7f45520 Redundant traceon and traceoff. William McBrine 2006-08-28 20:19:20 +00:00
  • 71a134030c More unneeded stuff. (I may be pushing it a bit with the substitution, but it's POSIX, and I haven't found a system it breaks yet.) William McBrine 2006-08-28 11:26:16 +00:00
  • b86b28d3b5 Simpler. William McBrine 2006-08-28 10:01:31 +00:00
  • 33af48e56a Combined O2SHO and SAVE2O; moved O2SAVE to the same line as CC to avoid blanks. William McBrine 2006-08-28 04:17:52 +00:00
  • 9554d887bb Forgot this. William McBrine 2006-08-28 04:16:46 +00:00
  • 0ff94e95c2 Common dependencies. William McBrine 2006-08-28 03:30:00 +00:00
  • d695ee41b8 Don't hardwire the SHELL. William McBrine 2006-08-27 22:42:30 +00:00
  • f7f42a933b Don't really need "-o $@", except for the shared objects. William McBrine 2006-08-27 18:48:27 +00:00
  • 2db21a1973 Replaced $(O2SAVE) with @O2SAVE@, etc.; eliminates "expands to empty string" warnings under BSD. William McBrine 2006-08-27 18:19:58 +00:00
  • 044cfe6f49 Simpler. The "srcdir" configure variable was never set to anything but ".", and in fact wouldn't have worked if it was. William McBrine 2006-08-27 08:07:18 +00:00
  • 0c66b13fd1 Simpler include lines. William McBrine 2006-08-27 07:27:25 +00:00
  • 3f7da74b02 Check for redundant -I's. William McBrine 2006-08-27 07:08:46 +00:00
  • f2f2a591d4 MH's lib64 patch fixed the build on some platforms (e.g., the Fedora Core 3/AMD64 systems on cf.sf.net), but broke it on others (e.g., the SuSE 9/Power5 system). Here, I've adopted the standard AC_PATH_X as the starting point. This isn't quite right, either, but it builds on all the systems I can test on. William McBrine 2006-08-26 20:53:54 +00:00
  • c7929451b8 More unused stuff. William McBrine 2006-08-24 20:56:08 +00:00
  • 740c422115 The referenced libaries haven't been on the PDCurses page for a long time, nor can I find them elsewhere. I should probably remove the whole test; but for now, just these comments. William McBrine 2006-08-24 20:20:11 +00:00
  • 4cf05bc7f5 More things that don't seem to be necessary. William McBrine 2006-08-24 19:12:27 +00:00
  • 3a9e9b1a9c ...but at least there's no need to check for libdl or libdld. I think. William McBrine 2006-08-24 17:55:50 +00:00
  • f4c73b1be1 Argh... need to keep testing for dl.h and dlfcn.h, even though we don't use them. To Do: libtool! William McBrine 2006-08-24 17:34:38 +00:00
  • d6416152f7 Set up configure.ac so autoheader works; removed some obsolescent macros. Partly the suggestion of Tiziano Mueller. William McBrine 2006-08-23 19:31:01 +00:00
  • df22064f01 On Mac OS X, the linker wouldn't pull in pdc_mouse_status unless functions from mouse.c were used. So it has to go back to pdckbd.c. On the plus side, the mouse module will be linked less often. William McBrine 2006-08-23 19:06:59 +00:00
  • 092e834735 Unneeded includes and ifdefs. More to do here. William McBrine 2006-08-23 09:06:16 +00:00
  • 0af79f315f Unused variable for DJGPP. William McBrine 2006-08-21 18:51:09 +00:00
  • bfb56a7499 Merged remainder of pdcwin.c into window.c. William McBrine 2006-08-21 18:38:19 +00:00
  • 1c388f5a2b Moved PDC_chadd() to addch.c. William McBrine 2006-08-21 18:19:46 +00:00
  • fb1b2d1a93 Moved PDC_chins() to insch.c. William McBrine 2006-08-21 17:49:27 +00:00
  • 0533617d96 More renaming. William McBrine 2006-08-21 17:31:44 +00:00
  • c832d4ff53 Moved PDC_get_key_modifers() description into main getch man section. William McBrine 2006-08-21 17:01:21 +00:00
  • b59c9ba9a6 Static functions should probably not use the PDC_-style names, nor be listed in the man page. More of these to do. William McBrine 2006-08-21 16:42:41 +00:00
  • ff594f8b9c More tweaking. William McBrine 2006-08-21 07:16:44 +00:00
  • c5bb28d86f Minor reorgs, redundant code. William McBrine 2006-08-21 04:29:46 +00:00
  • 1973836762 Fix block cursor behavior in PDC_WIDE mode; remove redundant code. William McBrine 2006-08-21 01:27:53 +00:00
  • 67abf09847 One loop. William McBrine 2006-08-20 22:39:03 +00:00
  • 2755326c1b Mistaken duplication of echochar() and wechochar() descriptions here. William McBrine 2006-08-20 21:51:32 +00:00
  • 168e66f674 These functions are never defined as macros. William McBrine 2006-08-20 21:48:36 +00:00
  • 4a64550aa7 Formatting. William McBrine 2006-08-20 20:46:43 +00:00
  • e7b7676134 Removed the pointless PDC_wunderline(), PDC_wleftline() and PDC_wrightline(). For some reason, I thought they were being used by THE, but they're not. William McBrine 2006-08-20 20:35:00 +00:00
  • 52147de88b Broken logic in PDC_lineattr() -- when removing the highlight, it needs to be & instead of |. William McBrine 2006-08-20 20:25:16 +00:00
  • 44ddaa63c6 CC_LIST and corresponding comments are no longer needed. William McBrine 2006-08-20 16:48:35 +00:00
  • e54733b8d6 Comments. William McBrine 2006-08-20 06:57:56 +00:00
  • a51751ca86 Formatting. William McBrine 2006-08-20 03:41:11 +00:00
  • 86270d12e7 Moved sizeable to dos-only, static. William McBrine 2006-08-18 20:11:05 +00:00
  • 56ea54ac62 SP->sizeable was never set to anything but TRUE under OS/2. William McBrine 2006-08-18 20:02:04 +00:00
  • 2107dcd605 Removed PDC_OLDCURSOR. William McBrine 2006-08-17 22:05:41 +00:00
  • 2e67022f72 Added PDC_OLDCURSOR ifdef to bring back the old curs_set() behavior, if (like Mark Hessling) you really want it. William McBrine 2006-08-16 17:47:49 +00:00
  • fc85c781b4 Replaced MH_PROG_CC with AC_PROG_CC. Suggestion of Tiziano Mueller. William McBrine 2006-08-16 16:08:04 +00:00
  • fcd4a34e5a Made curs_set() mode descriptions fit the standard, rather than explicitly characterizing the cursor shape. Suggested indirectly by MH. William McBrine 2006-08-16 05:36:59 +00:00
  • 1e5e2e209c The call to VioGetConfig() is no longer needed at all (and taking it out fixes the crash I was having in ptest.exe -- similar to the fix I posted to the mailing list back in 2003); I'd better zero out the VIOMODEINFO structure for this last call to VioGetMode(), too. William McBrine 2006-08-15 19:27:27 +00:00
  • f3e93bc34f Comparable to the OS/2 changes -- functions consolidated in pdcscrn.c and made static. William McBrine 2006-08-13 06:32:29 +00:00
  • 38383834e9 OS/2 simplification; moved the video mode enum to pdcdos.h. William McBrine 2006-08-13 05:36:53 +00:00
  • 881c078ff2 Huh. William McBrine 2006-08-13 04:58:56 +00:00
  • a837908c8b Changed Trapped_Mouse_status to pdc_mouse_status, moved it to mouse.c, decapitalized actual_ and temp_, and got rid of the memcpy()s. William McBrine 2006-08-13 02:51:55 +00:00
  • 72bf06393d Made "regs" a local in each function where it's used. William McBrine 2006-08-13 02:11:36 +00:00
  • 262b6d86ab I believe these casts in memcpy() calls to be unnecessary. William McBrine 2006-08-13 00:05:39 +00:00
  • dc4db7921e Formatting. William McBrine 2006-08-12 22:22:49 +00:00
  • 763fdb304f Changed atrtab, trace_on, and _getch_win_ to pdc_atrtab, pdc_trace_on and pdc_getch_win; made c_gindex etc. private to getch.c; moved flushinp() to getch.c. (Not its "traditional" home, but who cares?) William McBrine 2006-08-12 22:22:05 +00:00
  • 16b4c7113f Removed casts from calloc(), malloc() and realloc(); simplified. William McBrine 2006-08-12 21:13:45 +00:00
  • af2dc4f623 Moved ctty into kernel.c, made it static. :-) Reverted it to no longer being calloc()ed. :-( William McBrine 2006-08-12 20:28:59 +00:00
  • bb4c7cedc3 Moved scrnmode and font out of SCREEN (to DOS and OS/2 only); added PDC_save_screen_mode(), corresponding to PDC_restore_screen_mode(). William McBrine 2006-08-12 20:11:36 +00:00
  • 533e8712db More stuff that doesn't need to be in SCREEN. William McBrine 2006-08-12 02:44:08 +00:00
  • 491cb52dcc Dropped support for Microway NDP, a long-dead compiler that was reputedly never very good anyway. William McBrine 2006-08-11 22:19:45 +00:00
  • 67caa388cb More privacy for PDC_get_font(); orig_font was not used. William McBrine 2006-08-11 22:10:36 +00:00
  • 3988ea44b1 Last of the platform ifdefs in the pdcurses directory. To Do: The win32 PDC_scr_close() needs work. William McBrine 2006-08-11 20:59:44 +00:00
  • d37f3f3cfe Added cast. Probably unneeded, but anyway. William McBrine 2006-08-11 20:23:13 +00:00
  • 856dbecb89 More ifdefs undone. Also, more structures are now dynamically allocated, saving space in the data segment (where that applies). William McBrine 2006-08-11 19:50:51 +00:00
  • dbc1b91f3e Simplified DJGPP makefile. William McBrine 2006-08-11 18:15:46 +00:00
  • d5297b33e7 Slight refinement. William McBrine 2006-08-11 07:33:25 +00:00
  • 18455c9d7d Some OS/2-specific things that don't need to be in SCREEN. William McBrine 2006-08-11 07:25:40 +00:00
  • be5d254c62 Need to commit these too. William McBrine 2006-08-11 07:08:22 +00:00
  • d07701650c More ifdef cleanup -- DOS and OS/2 prototypes moved out of curspriv.h, etc. William McBrine 2006-08-11 07:04:31 +00:00
  • 9741a9bbb9 More platform ifdef removal -- in the pdcurses directory, only endwin() and atrtab[]'s ifdefs remain. William McBrine 2006-08-11 06:17:48 +00:00
  • 81bc3e5d19 More ifdef elimination. William McBrine 2006-08-11 05:43:37 +00:00
  • a865f2e7b3 PDC_attr_passthru() simplified, after PDC_chadd(). William McBrine 2006-08-10 18:47:35 +00:00
  • 96ef965a81 Have to move the UNICODE define, too. William McBrine 2006-08-10 08:43:36 +00:00
  • 4fa4c265af No more INCLUDE_WINDOWS_H. William McBrine 2006-08-10 08:30:01 +00:00
  • 591002bada _default_lines: not useful. William McBrine 2006-08-10 07:17:15 +00:00
  • f92df4f8cd Now you can build the DLLs just by setting DLLBUILD=Y (or whatever) on the command line (i.e., "nmake -f vcwin32.mak DLLBUILD=Y"). William McBrine 2006-08-10 02:48:39 +00:00
  • 93b7806107 PDC_THREAD_BUILD still doesn't work; AFAICT, it has never worked; and due to lack of interest, it's never going to work. William McBrine 2006-08-10 02:34:18 +00:00
  • 46188140a5 In MSVC, the panel library doesn't work with the DLL unless built without CURSES_LIBRARY defined. But it does in LCC? William McBrine 2006-08-10 01:44:08 +00:00
  • 537df7d6f4 Same changes for MSVC as for LCC. William McBrine 2006-08-10 01:41:56 +00:00
  • 088420ad34 The LCC makefile will now build _either_ the static library _or_ the DLL, not both at once; and the "pdcurses/curses" distinction is abandoned. Plus other minor tweaks. To Do: LCC's make understands implicit rules, but is there any way to get it to do a search path? William McBrine 2006-08-09 22:48:51 +00:00
  • 329605d848 Oops, forgot to remove it. William McBrine 2006-08-09 19:33:20 +00:00
  • 37bfe8822b Just one makefile for Microsoft C for DOS (the only difference in the two files, "/EM", was apparently bogus); remove version references; plus, formatting. William McBrine 2006-08-09 19:32:36 +00:00
  • 0d79fb908f Comments. William McBrine 2006-08-09 15:35:40 +00:00
  • 7aff3692e3 Use makedist.mif even in Watcom. Less elegant in some respects, but I think it's the right thing. William McBrine 2006-08-09 07:51:14 +00:00
  • 02a6903153 Same for EMX, except there's no stripping. William McBrine 2006-08-08 20:49:16 +00:00