Juanma Barranquero
0597ab06f6
nt/*.c: Use const char*; remove unused code.
...
* 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.
2010-09-28 02:55:08 +02:00
Juanma Barranquero
926cd98cf1
nt/addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
2010-08-19 18:38:41 +02:00
Jason Rumney
856a6b7709
(add_registry): Set path for runemacs.exe to use.
2010-08-12 22:28:43 +08:00
Juanma Barranquero
7c3320d8b9
Convert some more functions to standard C.
...
* lib-src/emacsclient.c (get_current_dir_name, w32_get_resource)
(w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
(close_winsock, initialize_sockets, w32_find_emacs_process)
(w32_give_focus):
* lib-src/ntlib.c (getlogin, getuid, getgid, getegid):
* nt/addpm.c (add_registry, main):
* nt/cmdproxy.c (get_env_size):
* nt/ddeclient.c (main):
* nt/runemacs.c (set_user_model_id):
* src/alloc.c (emacs_blocked_free, emacs_blocked_malloc)
(emacs_blocked_realloc, uninterrupt_malloc):
* src/fringe.c (w32_reset_fringes):
* src/image.c (convert_mono_to_color_image, lookup_rgb_color)
(init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
* src/sound.c (be2hs, do_play_sound):
* src/vm-limit.c (get_lim_data, ret_lim_data):
* src/w32term.c (x_free_frame_resources):
* src/xfaces.c (x_create_gc, x_free_gc):
Convert definitions to standard C.
2010-07-20 22:21:03 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Jason Rumney
84ef4ca220
(main): Try using COM to create start menu shortcuts
...
before resorting to DDE (Bug#202)
Remove second command-line argument.
2009-01-15 15:03:15 +00:00
Glenn Morris
f5d0ac07d6
Add 2009 to copyright years.
2009-01-08 03:38:51 +00:00
Glenn Morris
eef0be9e86
Switch to recommended form of GPLv3 permissions notice.
2008-05-09 05:14:16 +00:00
Juanma Barranquero
c44b4b4643
Include malloc.h.
...
(add_registry): Cast return value of alloca.
2008-02-25 11:28:07 +00:00
Jason Rumney
f1cefe09d6
(add_registry): Add an App Paths registry key.
...
Look for GTK and add it to the DLL search path for Emacs if found.
2008-02-11 15:36:20 +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
Glenn Morris
62eda0e2b1
Update copyright for years from Emacs 21 to present (mainly adding
...
2001).
2007-01-16 02:38:27 +00:00
Jason Rumney
ebe98f49a5
(add_registry): Don't change the registry unless keys
...
already exist from a previous version.
2006-03-12 18:10:29 +00:00
Jason Rumney
f4c6fac4e8
(main): Accept -q as alternative for /q.
2006-03-12 17:16:54 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Thien-Thi Nguyen
b65d8176e6
Update years in copyright notice; nfc.
2005-08-10 15:40:54 +00:00
Lute Kamstra
364c38d3af
Update FSF's address.
2005-07-04 15:47:28 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Jason Rumney
676a30259f
(env_vars): Remove EMACSLOCKDIR.
2002-06-13 18:39:50 +00:00
Andrew Innes
5488afcc56
(env_vars): Add a version-independent site-lisp
...
directory to EMACSLOADPATH, after the version dependent one.
2001-01-19 14:55:29 +00:00
Andrew Innes
5205d900d6
(main): Accept /q to mean install based on addpm's
...
location without asking. Remove reference to emacs.bat which is
now obsolete.
2000-08-22 21:43:12 +00:00
Gerd Moellmann
e005bb40cb
(env_vars): Include leim in default EMACSLOADPATH
...
definition.
1999-11-22 14:37:08 +00:00
Geoff Voelker
59ee44271e
(main): Explicitly check result of message box for OK.
1998-07-21 04:00:21 +00:00
Geoff Voelker
0655d4d4b6
addpm.c (env_vars): Fix misplaced % in SHELL entry.
1997-10-01 05:42:45 +00:00
Geoff Voelker
9296c0e8d1
(env_vars): Put site-lisp before lisp in EMACSLOADPATH.
...
Quote group name. Allow different icons to be specified.
(env_vars): No longer set INFOPATH.
1997-09-03 02:18:15 +00:00
Geoff Voelker
65cd66876a
(env_vars): Set SHELL to cmdproxy.
...
(main): Initialize idDde to 0.
Determine emacs_path from module file name.
Prompt for install.
1997-08-17 01:44:27 +00:00
Geoff Voelker
8144f59c30
(env_vars): Add site-lisp to EMACSLOADPATH.
1997-01-05 02:14:41 +00:00
Richard M. Stallman
26b430b7b3
(env_vars): Use slashes, not backslashes.
1996-06-03 17:44:23 +00:00
Richard M. Stallman
8a7a40e536
(env_vars): Set SHELL registry entry to value of COMSPEC environment variable.
1996-05-08 17:50:59 +00:00
Geoff Voelker
c6e6368426
(REG_ROOT): Don't use a trailing backslash.
...
(env_vars): Rename field emacs_path to emacs_dir.
(main): Add link to runemacs instead of emacs.
1996-05-03 18:19:05 +00:00
Erik Naggum
bf2b146b13
Update FSF's ddress in preamble
1996-01-15 08:32:56 +00:00
Geoff Voelker
2cc1905e48
(env_vars): New variable.
...
(add_registry): New procedure.
(main): Use values of configuration environment variables from
the registry if defined, the process environment otherwise.
1995-11-07 07:58:00 +00:00
Richard M. Stallman
6fbcbee7e5
Mostly rewritten.
1995-06-20 02:53:59 +00:00
Geoff Voelker
cef9e134b1
Initial revision
1995-06-10 02:24:19 +00:00