1. 03 Jun, 2010 1 commit
    • Glenn Morris's avatar
      NOT_C_CODE is always true now. · 0d4bcf4d
      Glenn Morris authored
      * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
      
      * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
      Remove NOT_C_CODE tests, it is always true now.
      
      * nt/config.nt: Remove NOT_C_CODE tests, it is always true now.
      
      * admin/CPP-DEFINES: Remove NOT_C_CODE.
      0d4bcf4d
  2. 13 May, 2010 1 commit
    • Glenn Morris's avatar
      Remove some unused #define's, previously replaced by variables. · 0116466b
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define.
      
      * src/Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
      (LIBX_BASE): Use $LD_SWITCH_X_SITE.
      
      * nt/config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
      
      * msdos/sed1v2.inp: Comment.
      0116466b
  3. 11 May, 2010 1 commit
  4. 08 May, 2010 1 commit
  5. 04 May, 2010 1 commit
    • Glenn Morris's avatar
      Move LD_SWITCH_X_SITE_AUX from cpp to autoconf. · 27a2cdfc
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
      (LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
      
      * nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
      
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
      variable.
      * src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
      * src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
      LD_SWITCH_SYSTEM_tmp.
      * src/Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
      New variables, set by configure.
      27a2cdfc
  6. 20 Apr, 2010 1 commit
  7. 10 Mar, 2010 1 commit
  8. 13 Jan, 2010 2 commits
  9. 28 Dec, 2009 1 commit
  10. 27 Dec, 2009 1 commit
  11. 14 Sep, 2009 1 commit
  12. 03 Jul, 2009 1 commit
  13. 30 Jun, 2009 1 commit
    • Jason Rumney's avatar
      bug#1849 - Windows 7 Taskbar Support · ff90fbde
      Jason Rumney authored
      * w32term.c (w32_initialize): Use GetModuleHandle for library that
      is already loaded.
      Set user model ID if supported (bug#1849).
      
      * runemacs.c (set_user_model_id): New function.
      (WinMain): Use it.
      
      * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
      that is already loaded.
      (w32_set_user_model_id): New function.
      (main): Use it to associate emacsclient with emacs (bug#1849).
      ff90fbde
  14. 21 Jun, 2009 1 commit
  15. 21 Mar, 2009 1 commit
    • Eli Zaretskii's avatar
      inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned. · 22749e9a
      Eli Zaretskii authored
      inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
      	  (getpwuid): Argument is now unsigned.
      	  uid_t is now unsigned.
      
      ntlib.c (setuid): Argument is now unsigned.
      	(getuid): Return value is now unsigned.
      	(getpwuid): Argument is now unsigned.
      	(fchown): UID and GID arguments are now unsigned.
      
      ntlib.h (fchown): UID and GID arguments are now unsigned.
      	(getuid): Return value is now unsigned.
      	(setuid): Argument is now unsigned.
      	(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
      
      w32.c   (getpwuid): Change argument type to unsigned.
      	(struct w32_id): Change type of `rid' member to unsigned.
      	(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
      	argument ID to unsigned.  All callers changed.
      	(getuid, geteuid, getgid, getegid): Change return type to unsigned.
      22749e9a
  16. 24 Feb, 2009 1 commit
  17. 26 Jan, 2009 1 commit
  18. 15 Jan, 2009 2 commits
  19. 08 Jan, 2009 1 commit
  20. 03 Jan, 2009 3 commits
  21. 25 Dec, 2008 1 commit
  22. 19 Dec, 2008 2 commits
    • Dan Nicolaescu's avatar
      Reorganize implementation of Flist_system_processes and · 06e111a6
      Dan Nicolaescu authored
      Fsystem_process_attributes.  No functional changes.
      * process.c: Don't #include pwd.h, grp.h and limits.h.
      (Flist_system_processes): Just call list_system_processes.
      (Fsystem_process_attributes): Just call system_process_attributes.
      (procfs_list_system_processes, time_from_jiffies)
      (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
      (procfs_get_total_memory, procfs_system_process_attributes): Move ...
      
      * sysdep.c: ... here.  Include pwd.h, grp.h and limits.h.
      (list_system_processes): Rename from
      procfs_list_system_processes.  Enclose in #ifdef HAVE_PROCFS.
      Provide a do nothing implementation.
      (system_process_attributes): Rename from
      procfs_list_system_processes.
      (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
      (procfs_get_total_memory):  Enclose in #ifdef GNU_LINUX.
      
      * w32.c (list_system_processes): Rename from
      w32_list_system_processes.
      (system_process_attributes): Rename from
      w32_system_process_attributes.
      
      * s/gnu-linux.h (LISTPROC, PROCATTR): Remove.
      
      * process.h (w32_list_system_processes)
      (w32_system_process_attributes): Remove.
      (list_system_processes, system_process_attributes): New
      prototypes.
      
      * config.nt (LISTPROC, PROCATTR): Remove.
      06e111a6
    • Glenn Morris's avatar
      File name fix, for AUTHORS. · 67cd381d
      Glenn Morris authored
      67cd381d
  23. 17 Dec, 2008 1 commit
  24. 24 Sep, 2008 1 commit
  25. 05 Sep, 2008 1 commit
  26. 09 Aug, 2008 1 commit
  27. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      default.
      * config.in: Regenerate.
      
      * config.nt (MULTI_KBOARD): Remove.
      
      * configure.in (MULTI_KBOARD): Remove.
      69ab3201
  28. 28 Jul, 2008 1 commit
  29. 23 Jul, 2008 2 commits
    • Jason Rumney's avatar
      * configure.bat: New option --profile. · 75663c75
      Jason Rumney authored
      * gmake.defs: Set cflags and ldflags for profiling when specified.
      75663c75
    • Dan Nicolaescu's avatar
      * config.in: Regenerate. · 77ccee09
      Dan Nicolaescu authored
      * s/ms-w32.h (subprocesses): Define unconditionally.
      * s/template.h (subprocesses): Update comment.
      * s/vms.h (subprocesses):
      * s/usg5-4.h (subprocesses):
      * s/hpux10-20.h (subprocesses):
      * s/gnu-linux.h (subprocesses):
      * s/cygwin.h (subprocesses):
      * s/bsd-common.h (subprocesses):
      * s/aix4-2.h (subprocesses):
      * s/darwin.h (subprocesses): Do not define, defined by default now.
      
      * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
      Remove all references.
      (temacs): Add GNUStep specific ld flags.
      
      * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
      
      * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
      
      * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
      
      * configure.in (LD_SWITCH_SITE): Remove, set the values directly
      in src/Makefile.in.
      (static): Remove, autoconf would always comment it out anyway.
      (subprocesses): Define unconditionally.
      77ccee09
  30. 18 Jul, 2008 1 commit
  31. 13 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * config.nt (HAVE_FACES): Remove, unused. · bdee2ef3
      Dan Nicolaescu authored
      * s/vms.h: Use __GNUC__ instead of _GNUC_.
      
      * m/macppc.h:
      * m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.
      
      * m/ibms390x.h (XINT, XUINT): Don't define, same as the default
      (SPECIAL_EMACS_INT):
      * m/ia64.h (SPECIAL_EMACS_INT):
      * m/amdx86-64.h (SPECIAL_EMACS_INT):
      * s/gnu.h (NLIST_STRUCT):
      * aix4-2.h (X11R5_INHIBIT_I18N):
      * s/gnu-linux.h (LINUX):
      * s/msdos.h (HAVE_FACES):
      * s/ms-w32.h (HAVE_FACES): Don't define, unused.
      
      * systty.h:
      * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
      anymore.
      bdee2ef3
  32. 26 Jun, 2008 2 commits
    • Juanma Barranquero's avatar
      Remove unneeded -Defines in the compiler command line (MinGW and MSVC). · 43db14bb
      Juanma Barranquero authored
      * nt/nmake.defs:
      * nt/gmake.defs (FONT_CFLAGS): Remove.
      (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
      (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
      and _CRTAPI1.
      (ARCH_FLAGS): Don't include _X86_.
      
      * nt/config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
      
      * src/makefile.w32-in (LOCAL_FLAGS):
      Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
      
      * src/sysdep.c (_spawnlp, _getpid):
      Declare with explicit _cdecl instead of _CRTAPI1.
      
      * src/editfns.c (Fget_internal_run_time):
      Check for WINDOWSNT with #ifdef, not #if.
      43db14bb
    • Dan Nicolaescu's avatar
      * unexnext.c: · f2a77c3a
      Dan Nicolaescu authored
      * m/ews4800.h:
      * m/hp9000s300.h:
      * m/ibm370aix.h:
      * m/mips-siemens.h:
      * m/ncr386.h:
      * m/next.h:
      * m/pmax.h:
      * m/powerpcle.h:
      * m/tandem-s2.h:
      * s/386bsd.h:
      * s/bsd386.h:
      * s/bsd4-1.h:
      * s/bsd4-2.h:
      * s/bsdos2-1.h:
      * s/bsdos2.h:
      * s/bsdos3.h:
      * s/bsdos4.h:
      * s/nextstep.h:
      * s/ultrix4-3.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-4-3.h:
      * s/ux4800.h:
      * s/uxpds.h:
      * s/uxpv.h: Remove support for obsolete systems.
      * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
      Remove, insert contents in s/hpux-10.20.h
      * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
      Remove, insert contents in s/aix-4.2.h
      * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
      * s/bsd4-3.h: Rename to ..
      * s/bsd-common.h: ... this.
      * src/data.c:
      * src/doc.c:
      * src/ecrt0.c:
      * src/emacs.c:
      * src/fileio.c:
      * src/floatfns.c:
      * src/keyboard.c:
      * src/mem-limits.h:
      * src/print.c:
      * src/process.c:
      * src/sysdep.c:
      * src/syssignal.h:
      * src/systty.h:
      * src/syswait.h:
      * src/term.c:
      * src/unexec.c:
      * src/unexelf.c:
      * src/unexhp9k800.c:
      * src/m/hp800.h:
      * src/m/ibmrs6000.h:
      * src/m/mips.h:
      * src/m/vax.h:
      * src/s/darwin.h:
      * src/s/freebsd.h:
      * src/s/gnu.h:
      * src/s/ms-w32.h:
      * src/s/msdos.h:
      * src/s/netbsd.h:
      * src/s/template.h: Remove references to obsolete variables.
      
      * Makefile.in: Add dependencies for all unexec files.
      (admindir): Remove unused variable.
      (UNEXEC_SRC): Remove references.
      
      * config.nt: Remove reference to UNEXEC_SRC.
      
      * lwlib.c: Remove references to obsolete variables.
      
      * fakemail.c: Remove references to obsolete variables.
      
      * os.texi: Remove references to obsolete systems.
      
      * configure.in:
      * configure: Remove references to obsolete systems.
      f2a77c3a
  33. 25 Jun, 2008 1 commit