1. 15 Feb, 2005 1 commit
    • Jason Rumney's avatar
      2004-11-08 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> · 52c7f9ee
      Jason Rumney authored
              * w32select.c: Summary: Thorough rework to implement Unicode
              clipboard operations and delayed rendering.
      
              Drop last_clipboard_text and related code, keep track of
              ownership via clipboard_owner instead.  Drop old #if0
              sections.
      
              (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
              (clipboard_owner, modifying_clipboard, cfg_coding_system)
              (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
              (current_coding_system, current_requires_encoding)
              (current_num_nls, current_clipboard_type, current_lcid): New
              static variables.
      
              (convert_to_handle_as_ascii, convert_to_handle_as_coded)
              (render, render_all, run_protected, lisp_error_handler)
              (owner_callback, create_owner, setup_config)
              (enum_locale_callback, cp_from_locale, coding_from_cp): New
              local functions.
      
              (term_w32select, globals_of_w32select): New global functions.
      
              (Fw32_set_clipboard_data): Ignore parameter FRAME, use
              clipboard_owner instead.  Use delayed rendering and provide
              all text formats.  Provide CF_LOCALE if necessary.
      
              (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and
              CF_LOCALE.  Fall back to CF_TEXT, if CF_UNICODETEXT is not
              available.  Force DOS line-ends for decoding.
      
              (Fx_selection_exists_p): Handle CF_UNICODETEXT.
      
              (syms_of_w32select): Init and register new variables.
      
              * w32.h: Add prototypes for globals_of_w32select and
              term_w32select.  Make the neighboring K&R declarations into
              prototypes, too.
      
              * emacs.c: Include w32.h to get function prototypes.
              (main): Call globals_of_w32select.
      
              * w32.c (term_ntproc): Call term_w32select.
      
              * mule-cmds.el (set-locale-environment): Remove call to
              set-selection-coding-system on Windows.
      
              * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
      52c7f9ee
  2. 01 Sep, 2003 1 commit
  3. 04 Feb, 2003 1 commit
  4. 17 Nov, 2002 1 commit
  5. 03 May, 2002 1 commit
  6. 14 Oct, 2001 1 commit
  7. 08 Oct, 2001 1 commit
  8. 03 Sep, 2000 1 commit
  9. 22 Aug, 2000 1 commit
    • Andrew Innes's avatar
      (malloc, free, realloc, calloc): Rename if · bfba227f
      Andrew Innes authored
      USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it
      cannot override the CRT malloc.
      (_WINSOCK_H): Define to prevent normal winsock
      definitions from being used.
      (sys_nerr): Provide default definition.
      (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same
      name with _ prepended.
      (NSIG): Define if not known.
      (get_emacs_configuration): Provide extern declaration.
      (get_emacs_configuration_options): Provide extern declaration.
      (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options.
      bfba227f
  10. 16 Jun, 1999 1 commit
  11. 02 May, 1999 1 commit
  12. 10 Dec, 1998 1 commit
  13. 19 Aug, 1998 1 commit
  14. 10 Jun, 1998 1 commit
  15. 01 Jun, 1998 1 commit
  16. 23 Apr, 1998 1 commit
  17. 17 Apr, 1998 1 commit
  18. 03 Sep, 1997 1 commit
    • Geoff Voelker's avatar
      (INTERRUPT_INPUT): Don't define. · 7f470eff
      Geoff Voelker authored
      (bcopy): Use memmove instead of memcpy.
      (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define.
      Undef system calls before redefining.  Emulated calls redefined
      to sys_*, real calls redefined to _*.
      (DebPrint): Macro defined.
      
      Use pragmas to place Emacs initialized data in
      EMDATA segment, and Emacs uninitialized data in EMBSS segment.
      7f470eff
  19. 10 Jul, 1997 1 commit
  20. 01 Jul, 1997 1 commit
    • Geoff Voelker's avatar
      Duplicate undefs from config.in to check completeness. · 2a741506
      Geoff Voelker authored
      (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
      (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET,
      HAVE_LIMITS_H, HAVE_STRERROR): Define.
      [HAVE_NTGUI] (HAVE_MENUS): Define.
      (SYSTEM_PURESIZE_EXTRA): Increase value.
      2a741506
  21. 19 Nov, 1996 1 commit
  22. 17 Sep, 1996 1 commit
  23. 14 May, 1996 1 commit
  24. 03 May, 1996 1 commit
    • Geoff Voelker's avatar
      Include string.h. · 4e36126c
      Geoff Voelker authored
      (HAVE_FREXP, HAVE_FMOD): Macros removed.
      (struct timeval, struct timezone, gettimeofday): Declarations removed.
      (HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
      (DIRECTORY_SEP): Use Vdirectory_sep_char.
      (EXEC_SUFFIXES): Add .cmd to list of suffixes.
      (EXEC_SUFFIXES): Add .cmd to list of suffixes.
      > (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS,
      TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR,
      HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP,
      HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
      (access, chdir, chmod, close, creat, ctime, dup, dup2, fopen,
      link, mkdir, mktemp, open, pipe, read, rename, rmdir, select,
      sleep, unlink, write, spawnve, wait, kill, signal):
      Macros redefined from win32_* to sys_*.
      [__STDC__]: Define when including direct.h, io.h, stdio.h.
      (struct nt_stat): Definition removed.
      (stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid,
      st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
      4e36126c
  25. 15 Jan, 1996 1 commit
  26. 07 Nov, 1995 1 commit
  27. 12 Apr, 1995 1 commit
    • Karl Heuer's avatar
      (HAVE_RANDOM): Defined. · 3360970a
      Karl Heuer authored
      (random): Macro undefined.
      (srandom): Macro undefined.
      (HAVE_UTIME): Defined.
      (utime): Defined.
      (EMACS_CONFIGURATION): Defined.
      (_VARARGS_): Defined.
      (_CALLBACK_): Defined.
      (ctime): Defined to be nt_ctime.
      (NULL): Defined when missing from included system files.
      (EMACS_CONFIG_OPTIONS): Defined.
      (LISP_FLOAT_TYPE): Defined.
      (HAVE_TZNAME): Defined.
      (HAVE_TIMEVAL): Defined.
      (struct timeval): Defined.
      (struct timezone): Defined.
      (struct nt_stat): Defined.
      3360970a
  28. 21 Jan, 1995 1 commit
  29. 03 Nov, 1994 1 commit
  30. 01 Nov, 1994 2 commits
  31. 18 Sep, 1994 1 commit
  32. 09 Jun, 1993 1 commit
  33. 25 May, 1993 1 commit
  34. 20 May, 1993 1 commit
    • Jim Blandy's avatar
      Some more changes from Michael K. Johnson for Linux. · 161aa2f8
      Jim Blandy authored
      	* s/template.h: Mention that you should #define HAVE_TERMIO or
      	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
      	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
      	tcsetpgrp to *pgid; it's just a status value.
      	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
      	systems using XFree386, and perhaps is inappropriate in general.
      	* m/intel386.h: #undefine the integer size macros, since the Linux
      	<values.h> file #defines them itself.
      	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
      	fails, fall back on ULIMIT_BREAK_VALUE.
      	* process.c: Linux needs the WAITTYPE, etc. definitions.
      	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
      	no need to use SYSV names.
      	* s/linux.h: New file.
      161aa2f8
  35. 10 May, 1993 1 commit
  36. 04 May, 1993 1 commit
  37. 11 Mar, 1993 1 commit
  38. 24 Apr, 1992 1 commit
  39. 22 Feb, 1992 1 commit