1. 27 Apr, 2011 2 commits
  2. 26 Apr, 2011 1 commit
  3. 25 Apr, 2011 1 commit
    • Ted Zlatanov's avatar
      Add GnuTLS support for W32. · fd4af8d9
      Ted Zlatanov authored
      * nt/configure.bat: New options --without-gnutls and --lib, new build
      variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
      library setup with trivial modifications.
      * nt/INSTALL: Add instructions for GnuTLS support.
      * nt/gmake.defs: Prefix USER_LIBS with -l.
      fd4af8d9
  4. 15 Apr, 2011 1 commit
  5. 06 Apr, 2011 2 commits
  6. 27 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Remove (RET)SIGTYPE; it is identical to void on all supported systems. · 9af30bdf
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html
      
      * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
      (AH_BOTTOM): Do not define SIGTYPE.
      
      * lib-src/emacsclient.c: Replace SIGTYPE with void.
      
      * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
      
      * src/syssignal.h: Replace RETSIGTYPE with void.
      
      * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c:
      * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c:
      * src/xterm.c: Replace SIGTYPE with void everywhere.
      
      * src/s/template.h (SIGTYPE): Remove commented out definition.
      * src/s/usg5-4-common.h (SIGTYPE): Remove definition.
      
      * admin/CPP-DEFINES: Remove SIGTYPE.
      9af30bdf
  7. 25 Mar, 2011 1 commit
    • Juanma Barranquero's avatar
      nt/*.c, src/*.c: Remove unused variables. · 0f4a96b5
      Juanma Barranquero authored
      * nt/addpm.c (main): Remove unused variable `retval'.
      * nt/preprep.c (main): Remove unused variable `ptr'.
      * src/dispextern.h (glyph_matric): Use #if GLYPH_DEBUG, not #ifdef.
      * src/fileio.c (check_executable) [DOS_NT]: Remove unused variables `len'
        and `suffix'.
        (Fset_file_selinux_context) [HAVE_LIBSELINUX]: Move here declaration
        of variables specific to SELinux and computation of `encoded_absname'.
      * src/image.c (XPutPixel): Remove unused variable `height'.
      * src/keyboard.c (make_lispy_event): Remove unused variable `hpos'.
      * src/unexw32.c (get_section_info): Remove unused variable `section'.
      * src/w32.c (stat): Remove unused variables `drive_root' and `devtype'.
        (system_process_attributes): Remove unused variable `sess'.
        (sys_read): Remove unused variable `err'.
      * src/w32fns.c (top): Wrap variables with #if GLYPH_DEBUG, not #ifdef.
        (w32_wnd_proc): Remove unused variable `isdead'.
        (unwind_create_frame): Use #if GLYPH_DEBUG, not #ifdef.
        (Fx_server_max_request_size): Remove unused variable `dpyinfo'.
        (x_create_tip_frame): Remove unused variable `tem'.
      * src/w32inevt.c (w32_console_read_socket): Remove unused variable `no_events'.
      * src/w32term.c (x_draw_composite_glyph_string_foreground):
        Remove unused variable `width'.
      0f4a96b5
  8. 23 Mar, 2011 1 commit
    • Juanma Barranquero's avatar
      w32: Fix some warnings reported by -Wall -Wextra. · 9c88f339
      Juanma Barranquero authored
      * lib-src/ntlib.c: Include <ctype.h>.
      
      * nt/cmdproxy.c: Include <ctype.h>.
        (make_absolute): Remove unused variable `i'.
      
      * src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'.
        (w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer.
        (Fx_close_connection): Remove unused variable `i'.
      
      * src/w32font.c (w32font_draw): Return number of glyphs.
        (w32font_open_internal): Remove unused variable `i'.
        (w32font_driver): Add missing initializer.
      
      * src/w32menu.c (utf8to16): Remove unused variable `utf16'.
        (fill_in_menu): Remove unused variable `items_added'.
      
      * src/w32term.c (last_mouse_press_frame): Remove static global variable.
        (w32_clip_to_row): Remove unused variable `f'.
        (x_delete_terminal): Remove unused variable `i'.
      
      * src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'.
        (NOTHING): Remove unused static global variable.
        (uniscribe_check_otf): Remove unused variable `table'.
        (uniscribe_font_driver): Add missing initializers.
      9c88f339
  9. 07 Mar, 2011 1 commit
  10. 01 Mar, 2011 1 commit
  11. 27 Feb, 2011 1 commit
  12. 26 Feb, 2011 1 commit
  13. 21 Feb, 2011 2 commits
    • Christoph Scholtes's avatar
      Add stdint.h for MS-Windows. · 9f8370e6
      Christoph Scholtes authored
       nt/inc/stdint.h: New file, to support compilation with tool chains
       that do not have stdint.h (e.g. MSVC).
       lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
       $(EMACS_ROOT)/nt/inc/stdint.h.
      9f8370e6
    • Eli Zaretskii's avatar
      Adapt MS-Windows build to import of filemode.c from gnulib. · 25c51af3
      Eli Zaretskii authored
       nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
       (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
       (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
       (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
       (lstat): Define to stat.
       lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
       src/makefile.w32-in and adapt.  Depend on stamp_BLD.
       (GNULIBOBJS): Add $(BLD)/filemode.$(O).
       src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
       lib/makefilw.w32-in.
       ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
       (GLOBAL_SOURCES): Remove filemode.c.
       (OBJ1): Remove $(BLD)/filemode.$(O).
       lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
       ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
       Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
      25c51af3
  14. 09 Feb, 2011 1 commit
    • Eli Zaretskii's avatar
      Update the Windows build according to 2011-02-08T21:42:56Z!tromey@redhat.com... · d37f40ed
      Eli Zaretskii authored
      Update the Windows build according to 2011-02-08T21:42:56Z!tromey@redhat.com and 2011-02-09T17:04:43Z!schwab@linux-m68k.org.
      
       src/makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj): New
       macros.
       (globals.h, gl-stamp): New targets.
       (clean): Clean gl-stamp and globals.h.
       nt/makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
       "make-docfile" target in lib-src, before bootstrapping the src
       directory.  Needed since building in src needs to run make-docfile
       to produce globals.h.
      d37f40ed
  15. 04 Feb, 2011 1 commit
  16. 31 Jan, 2011 2 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and... · 70b0d280
      Eli Zaretskii authored
      Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu.
      
       lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
       $(BLD)/time_r.$(O).
       ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
       $(EMACS_ROOT)/src/m/intel386.h.
       ($(BLD)/strftime.$(O)): 
       ($(BLD)/time_r.$(O)): Define prerequisites.
       src/makefile.w32-in (OBJ2): Remove strftime.$(O).
       ($(BLD)/strftime.$(O)): Remove prerequisites.
       lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
       (ECLIENT_CFLAGS): Remove -DVERSION.
       ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
       nt/config.nt (VERSION): Uncomment definition.
       (restrict): Define.
       nt/inc/stdbool.h: New file.
       admin/admin.el (set-version): Remove lib-src/makefile.w32-in.  Add
       nt/config.nt.
      70b0d280
  17. 29 Jan, 2011 2 commits
    • Eli Zaretskii's avatar
      Fix the bootstrap on MS-Windows. · 1e338cfc
      Eli Zaretskii authored
       makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
      1e338cfc
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and... · f915f0f7
      Eli Zaretskii authored
      Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
      
       lib/makefile.w32-in:
       lib/getopt_.h: New files.
       src/s/ms-w32.h (HAVE_MKTIME): Remove.
       src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
       (GNULIB): New variable.
       (LIBS): Add $(GNULIB).
       $(TEMACS): Depend on $(GNULIB).
       <top-level>: Fix font-lock disrupted by a lone `"'.
       src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
       (GETOPTOBJS, GETOPTDEPS): Remove targets.
       (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
       ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
       (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
       and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
       (clean): Don't remove getopt.h.
       (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
       ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
       $(EMACS_ROOT)/lib/getopt.h.
       nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
       (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
       (bootstrap-clean-gmake, clean-other-dirs-nmake)
       (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
       (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
       (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
       (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
       nt/configure.bat: Create lib/makefile.
       nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
       (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
       (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
      f915f0f7
  18. 25 Jan, 2011 1 commit
  19. 15 Jan, 2011 1 commit
  20. 07 Jan, 2011 1 commit
  21. 02 Jan, 2011 2 commits
  22. 31 Dec, 2010 2 commits
  23. 23 Nov, 2010 1 commit
  24. 13 Oct, 2010 1 commit
    • Juanma Barranquero's avatar
      Rename `image-library-alist' to `dynamic-library-alist'. · 2e288d54
      Juanma Barranquero authored
      * etc/NEWS: Mention `dynamic-library-alist'.
      
      * lisp/image.el (image-library-alist): Declare as obsolete alias.
        (image-type-available-p): Use `dynamic-library-alist'.
      
      * lisp/term/w32-win.el (dynamic-library-alist):
        Use instead of `image-library-alist'.
      
      * nt/INSTALL: Refer to `dynamic-library-alist'.
      
      * src/image.c (Vimage_library_alist)
        (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
        (lookup_image_type): Use Vdynamic_library_alist.
        (Finit_image_library): Doc fix.
      
      * src/emacs.c (Vdynamic_library_alist)
        (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
        Doc fix.
      
      * src/lisp.h (Vdynamic_library_alist): Declare extern.
      2e288d54
  25. 06 Oct, 2010 1 commit
  26. 01 Oct, 2010 3 commits
    • Eli Zaretskii's avatar
      nt/ChangeLog: Fix last entry. · 1dc253e8
      Eli Zaretskii authored
      1dc253e8
    • Eli Zaretskii's avatar
      Support TAGS targets in the w32 build. · 73077a9a
      Eli Zaretskii authored
       nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
       emacs-src.tags: New file.
       src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
       (TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
       (nt-TAGS-gmake, nt-TAGS-nmake): New targets.
       lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
       (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
       (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
       lib-src/makefile.w32-in (tags, TAGS): New targets.
      73077a9a
    • Eli Zaretskii's avatar
      Fix bug #7102. · 19d5deef
      Eli Zaretskii authored
       gmake.defs: Add a comment with a single quote to fix fontification.
      19d5deef
  27. 29 Sep, 2010 1 commit
  28. 28 Sep, 2010 1 commit
    • Juanma Barranquero's avatar
      nt/*.c: Use const char*; remove unused code. · 0597ab06
      Juanma Barranquero authored
      * addpm.c (entry, add_registry, main):
      * addsection.c (file_data, open_input_file, open_output_file)
        (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
        (COPY_CHUNK):
      * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
        (skip_nonspace, get_next_token, search_dir, make_absolute)
        (spawn, main):
      * preprep.c (file_data, open_input_file, open_output_file)
        (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
        Use const char*.
      
      * cmdproxy.c (stdin): Don't define, not used.
        (main): Don't assign remlen after last use.
      0597ab06
  29. 22 Sep, 2010 1 commit
  30. 19 Aug, 2010 1 commit
  31. 12 Aug, 2010 1 commit