1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
Ben Key
d429d8e9c3 * configure.bat: Added support for --cflags and --ldflags
options that include quotes as long as command extensions are
enabled.  Specifically when -I, -L, and similar flags are used
to specify supplementary include and library directories a
directory name that includes spaces may now be used if it is
enclosed in quotes.

* INSTALL: Documented the change to configure.bat.
2011-05-04 21:56:16 -05:00
Juanma Barranquero
0898ca10c0 Implement dynamic loading of GnuTLS on Windows.
* lisp/term/w32-win.el (dynamic-library-alist): Add `gnutls'.

* nt/INSTALL: Clarify GnuTLS support.

* src/callproc.c, src/emacs.c: Include lisp.h before src/w32.h, not after.

* src/gnutls.c (Qgnutls_dll): Define.
  (DEF_GNUTLS_FN, LOAD_GNUTLS_FN): New macros.
  (gnutls_*): Declare function pointers.
  (init_gnutls_functions): New function to initialize function pointers.
  (emacs_gnutls_handshake, Fgnutls_error_string, Fgnutls_deinit)
  (emacs_gnutls_global_init, Fgnutls_bye): Use function pointers.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Wrappers for gnutls_record_check_pending and gnutls_transport_set_errno.
  (emacs_gnutls_write, emacs_gnutls_read)
  (emacs_gnutls_handle_error, Fgnutls_error_fatalp)
  (Fgnutls_available_p): New function.
  (Fgnutls_boot): Call Fgnutls_available_p.  Use function pointers.
  (syms_of_gnutls) <Qgnutls_dll>: Initialize and staticpro it.
  (syms_of_gnutls) <Sgnutls_available_p>: defsubr it.

* src/gnutls.h (GNUTLS_EMACS_ERROR_NOT_LOADED): New macro.
  (emacs_gnutls_write, emacs_gnutls_read): Mark as extern.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Declare.

* src/w32.c (QCloaded_from, Vlibrary_cache): Define.
  (w32_delayed_load): Move from image.c.  When loading a library, record
  its filename in the :loaded-from property of the library id.
  (globals_of_w32) <QCloaded_from, Vlibrary_cache>:
  Initialize and staticpro them.
  (emacs_gnutls_pull, emacs_gnutls_push): Call emacs_gnutls_* functions.

* src/image.c: Include w32.h.
  (Vimage_type_cache): Delete.
  (syms_of_image) <Vimage_type_cache>: Don't initialize and staticpro it.
  (CACHE_IMAGE_TYPE, Finit_image_library): Use Vlibrary_cache instead.
  (w32_delayed_load): Move to w32.c.

* src/process.c: Include lisp.h before src/w32.h, not after.
  (wait_reading_process_output): Call emacs_gnutls_record_check_pending
  instead of gnutls_record_check_pending.

* src/w32.h (VlibraryCache, QCloaded_from, w32_delayed_load): Declare.
2011-05-04 16:03:16 +02:00
Eli Zaretskii
6c06b142a0 nt/INSTALL: More details about problems with MSYS Bash.
Fixes: debbugs:8564
2011-04-28 23:28:51 +03:00
Eli Zaretskii
a8f9176117 nt/INSTALL: Mention problems with MSYS/Cygwin Bash right at the beginning.
Fixes: debbugs:8564
2011-04-28 20:25:14 +03:00
Ted Zlatanov
fd4af8d902 Add GnuTLS support for W32.
* 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.
2011-04-24 20:29:31 -05:00
Ben Key
4a1a6b5b7d Modified the code that parses the --cflags and --ldflags options to support parameters that include the = character as long as they are enclosed in quotes. 2011-04-15 17:48:00 -05:00
Glenn Morris
95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Eli Zaretskii
3d4cad2cc9 Fix merge of fix for bug #7716.
nt/INSTALL:
 nt/README.W32: `image-library-alist' was renamed to `dynamic-library-alist'.
2011-01-02 23:58:13 +02:00
Chong Yidong
7c420169ba Merge changes from emacs-23 branch 2011-01-02 15:31:19 -05:00
Eli Zaretskii
5be1c984b7 Fix bug #7716 with PNG image support libraries on Windows.
src/image.c <Qlibpng_version>: New variable.
 (syms_of_image): Intern and staticpro it.  Set its value to the
 version of PNG library we were compiled with.
 (my_png_error, png_load): Avoid GCC warnings about direct access
 to png_ptr->jmpbuf.
 lisp/term/w32-win.el (image-library-alist): Set up correctly for
 libpng versions both before and after 1.4.0.
 admin/nt/README.W32: Update the information about PNG support libraries.
 nt/INSTALL: Update the information about PNG support libraries.
2010-12-31 14:38:06 +02:00
Stefan Monnier
4a47c27573 Merge from emacs-23 2010-11-17 22:54:14 -05:00
Eli Zaretskii
d226db8cfe Document non-support for MSVC versions later than 8.0. 2010-11-10 15:39:17 +02:00
Juanma Barranquero
2e288d54f0 Rename image-library-alist' to dynamic-library-alist'.
* 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.
2010-10-13 16:50:06 +02:00
Juanma Barranquero
6072fed48b nt/INSTALL: Add note about problematic characters passed to configure. 2010-10-06 12:55:03 +02:00
Christoph Scholtes
e3aef5c688 New make target for Windows platform: make dist (bug#6602)
* admin/admin.el: Write version number to nt/makefile.w32-in.
* admin/nt/makedist.bat: Remove; replaced with `zipdist.bat'
  in the nt/ directory.
* admin/nt/README.W32: Relocate to nt/ directory.
* etc/NEWS: Document new --distfiles configure.bat option and
  `dist' make target on Windows.
* nt/INSTALL: Document new dist target and add section about
  creating binary distributions.
* nt/configure.bat: New parameter `--distfiles'.
* nt/makefile.w32-in: Add version number, new target `dist'.
  Add new target `install-shortcuts'.
* nt/zipdist.bat: New file; create zipped binary distribution,
  replaces admin/nt/makedist.bat.
2010-07-24 15:35:31 +02:00
Juanma Barranquero
a917e3f2ce * nt/INSTALL: Add note about backslashes in Windows paths.
Fix typos.  Simplify references to Windows versions.
2010-07-21 11:37:35 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juanma Barranquero
6d96d18fcf INSTALL: Remove obsolete notes about line endings, and fix some typos. 2009-12-28 16:24:26 +01:00
Karl Fogel
ee6f37f26d * INSTALL: Update for CVS->Bazaar switchover. 2009-12-27 18:40:01 -05:00
Juanma Barranquero
1640b45278 * INSTALL: Add comment about TCC; fix typos. 2009-02-24 11:05:40 +00:00
Jason Rumney
707a78b298 Postscript image support apparently isn't complete on any platform
(see emacs-devel discussion concluding 2009-01-10 05:10 GMT)
2009-01-10 05:23:42 +00:00
Glenn Morris
f5d0ac07d6 Add 2009 to copyright years. 2009-01-08 03:38:51 +00:00
Jason Rumney
8bc63b1a23 * configure.bat: New option --with-svg.
* INSTALL: Document experimental SVG support.
2009-01-03 12:57:28 +00:00
Glenn Morris
eef0be9e86 Switch to recommended form of GPLv3 permissions notice. 2008-05-09 05:14:16 +00:00
Jason Rumney
5739d6f8ee Document make targets. 2008-04-10 08:59:23 +00:00
Eli Zaretskii
4a00b4b341 Improve wording of last change. 2008-04-05 08:21:58 +00:00
Jason Rumney
a25fe28877 Update W32 API requirements. 2008-04-04 22:06:51 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Jason Rumney
a74722ee04 Add note about GTK image libraries. 2008-02-11 15:43:56 +00:00
Jason Rumney
10de355d63 Added note about line ends of lisp/international uni-*.el files. 2008-02-11 10:10:46 +00:00
Jason Rumney
471e312dbf Add note about ldefs-boot.el line ends. 2008-02-09 12:09:55 +00:00
Glenn Morris
6d344054d1 Add 2008 to copyright years. 2008-01-07 08:15:16 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Eli Zaretskii
23636b09aa Add information about where to find GDB, and warn against --no-debug option
to configure.bat.
2007-05-22 12:58:01 +00:00
Eli Zaretskii
55fcf5c6d4 Fix URL of EmacsW32 site where building with image support is described. 2007-05-19 08:01:36 +00:00
Eli Zaretskii
16fb735f4a Add information about building with Cygwin Make 3.80. 2007-05-04 13:41:15 +00:00
Eli Zaretskii
5376eb82e4 Mention the VCVARS32.BAT batch file for VS.NET users. 2007-03-31 10:40:19 +00:00
Richard M. Stallman
029e460397 Say explicitly this is not for Cygwin. 2007-03-09 18:12:34 +00:00
Juanma Barranquero
0d8012882e Fix typo. 2007-03-09 14:52:22 +00:00
Eli Zaretskii
195e32b742 There's no such thing as "Windows32" binaries.
Say explicitly that the instructions here are not for Cygwin.
2007-03-09 14:38:54 +00:00
Richard M. Stallman
190871ef25 Replace "win32". 2007-03-08 17:54:14 +00:00
Eli Zaretskii
309c91ff8c Add URL of another site with detailed build instructions. 2007-03-03 11:10:51 +00:00
Jason Rumney
bbf5b3653c Noted where we first mention MSVC 2.0 and later that "or later" stops at 7.0. 2007-03-03 01:05:49 +00:00
Glenn Morris
7f6d64f85a Switch to standard GPL text for license. 2007-02-11 00:15:39 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Eli Zaretskii
ecfd8ceb2b Update table of supported Make ports. Show "make -j" command that is known
to work.
2006-12-27 13:54:18 +00:00
Eli Zaretskii
e84b63f17c Explain how to invoke GNU Make for parallel builds. 2006-12-22 22:15:41 +00:00