Dan Nicolaescu
d67b4f80db
* xterm.c (syms_of_xterm):
...
* xselect.c (syms_of_xselect):
* xmenu.c (syms_of_xmenu):
* xfns.c (syms_of_xfns):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* window.c (syms_of_window):
* w32fns.c (syms_of_w32fns):
* undo.c (syms_of_undo):
* textprop.c (syms_of_textprop):
* terminal.c (syms_of_terminal):
* syntax.c (syms_of_syntax):
* sound.c (syms_of_sound):
* search.c (syms_of_search):
* print.c (syms_of_print):
* minibuf.c (syms_of_minibuf):
* macros.c (syms_of_macros):
* keymap.c (syms_of_keymap, initial_define_key)
(initial_define_lispy_key):
* keyboard.c (syms_of_keyboard):
* insdel.c (syms_of_insdel):
* image.c (syms_of_image):
* fringe.c (syms_of_fringe):
* frame.c (syms_of_frame):
* fontset.c (syms_of_fontset):
* fns.c (syms_of_fns):
* fns.c (syms_of_fns):
* fileio.c (syms_of_fileio):
* fileio.c (syms_of_fileio):
* eval.c (syms_of_eval):
* doc.c (syms_of_doc):
* dispnew.c (syms_of_display):
* dired.c (syms_of_dired):
* dbusbind.c (syms_of_dbusbind):
* data.c (syms_of_data):
* composite.c (syms_of_composite):
* coding.c (syms_of_coding):
* cmds.c (syms_of_cmds):
* charset.c (define_charset_internal, syms_of_character):
* ccl.c (syms_of_ccl):
* category.c (syms_of_category, init_category_once):
* casetab.c (syms_of_casetab):
* casefiddle.c (syms_of_casefiddle):
* callint.c (syms_of_callint):
* bytecode.c (syms_of_bytecode):
* buffer.c (keys_of_buffer, syms_of_buffer):
* alloc.c (syms_of_alloc):
* process.c (syms_of_process, init_process):
* lread.c (syms_of_lread, init_obarray):
* font.c (build_style_table):
* emacs.c (syms_of_emacs, main): Replace calls to intern with
intern_c_string, calls to make_pure_string with
make_pure_c_string. Use pure_cons instead of Fcons.
* process.c (socket_options): Make it const.
(set_socket_option, init_process): Use a const pointer.
* lread.c (intern_c_string): New function.
(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
(defvar_int): Uset it. Make the name const char*.
* font.c (struct table_entry): Remove unused member. Make NAMES
constant.
(weight_table, slant_table, width_table): Make constant.
* emacs.c (struct standard_args): Make name and longname constant.
2009-11-06 06:50:52 +00:00
Stefan Monnier
d528b1ce66
(save_restriction_restore): Update the (pt/begv/vz)_markers
...
when applicable (bug#4851).
2009-11-03 21:34:59 +00:00
Dan Nicolaescu
d7306fe6b1
* alloc.c: Do not define struct catchtag.
...
* eval.c: Move struct catchtag definition ...
* lisp.h: ... here.
* image.c: Move png.h #include earlier to avoid warnings.
* xterm.c:
* xsmfns.c:
* xselect.c:
* xrdb.c:
* xmenu.c:
* xftfont.c:
* xfont.c:
* xfns.c:
* xfaces.c:
* xdisp.c:
* window.c:
* widget.c:
* w32xfns.c:
* w32uniscribe.c:
* w32term.c:
* w32select.c:
* w32reg.c:
* w32proc.c:
* w32menu.c:
* w32inevt.c:
* w32heap.c:
* w32font.c:
* w32fns.c:
* w32console.c:
* w32.c:
* w16select.c:
* vm-limit.c:
* unexsol.c:
* unexec.c:
* unexcw.c:
* unexaix.c:
* undo.c:
* tparam.c:
* textprop.c:
* terminfo.c:
* terminal.c:
* termcap.c:
* term.c:
* syntax.c:
* sound.c:
* sheap.c:
* search.c:
* scroll.c:
* region-cache.c:
* regex.c:
* ralloc.c:
* process.c:
* print.c:
* msdos.c:
* minibuf.c:
* menu.c:
* marker.c:
* macros.c:
* keymap.c:
* keyboard.c:
* intervals.c:
* insdel.c:
* indent.c:
* gtkutil.c:
* ftxfont.c:
* ftfont.c:
* fringe.c:
* frame.c:
* fontset.c:
* font.c:
* fns.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c:
* editfns.c:
* dosfns.c:
* doprnt.c:
* doc.c:
* dispnew.c:
* dired.c:
* dbusbind.c:
* data.c:
* composite.c:
* coding.c:
* cmds.c:
* cm.c:
* chartab.c:
* charset.c:
* character.c:
* ccl.c:
* category.c:
* casetab.c:
* casefiddle.c:
* callproc.c:
* callint.c:
* bytecode.c:
* buffer.c:
* atimer.c: Include setjmp.h. (Bug#4643)
* xlwmenu.c:
* lwlib.c:
* lwlib-utils.c:
* lwlib-Xm.c:
* lwlib-Xlw.c:
* lwlib-Xaw.c: Include setjmp.h.
2009-10-19 04:27:09 +00:00
Stefan Monnier
4c0354d71b
Remove leftover table unibyte_to_multibyte_table.
...
* character.c (unibyte_to_multibyte_table): Remove.
(Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE.
* charset.c (init_charset_once): Don't init unibyte_to_multibyte_table.
* character.h (UNIBYTE_TO_CHAR): New macro.
(MAKE_CHAR_MULTIBYTE): Use it.
(unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove.
* xdisp.c (get_next_display_element): USE ASCII_CHAR_P.
(message_dolog, set_message_1):
* search.c (Freplace_match):
* editfns.c (Fcompare_buffer_substrings):
* fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE.
(concat):
* insdel.c (copy_text, count_size_as_multibyte):
Use ASCII_CHAR_P and BYTE8_TO_CHAR.
* term.c (produce_glyphs):
* syntax.c (skip_chars): Use BYTE8_TO_CHAR.
* regex.c (RE_CHAR_TO_MULTIBYTE):
* cmds.c (internal_self_insert):
* buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
2009-10-18 03:08:32 +00:00
Chong Yidong
27a69fd9b3
* editfns.c (Ftranspose_regions): Doc fix (Bug#3248).
2009-05-10 21:48:11 +00:00
Kenichi Handa
bde257485d
(Ftranslate_region_internal): Use Fconcat to make a
...
string from a vector to handle Latin-1 characters correctly.
2009-04-17 02:15:17 +00:00
Stefan Monnier
9628fed721
* editfns.c (general_insert_function): Adjust to insdel.c changes.
...
* insdel.c (prepare_to_modify_buffer, signal_before_change):
Some more EMACS_INT.
* lisp.h (copy_text, count_size_as_multibyte): Fix last change.
2009-03-28 04:53:04 +00:00
Chong Yidong
c6493cdde3
(Ffloat_time): Doc fix (Bug#2768).
2009-03-24 17:37:58 +00:00
Eli Zaretskii
e00553bf16
(Fuser_uid, Fuser_real_uid): If UID as EMACS_INT is negative, produce
...
a float value.
2009-03-20 17:59:38 +00:00
Eli Zaretskii
7b1c38a4f2
(Fuser_login_name): Support float arguments. Doc fix.
2009-03-18 20:37:06 +00:00
Glenn Morris
76b6f70759
Add 2009 to copyright years.
2009-01-08 03:15:17 +00:00
Eli Zaretskii
d823c26bfd
(USER_FULL_NAME): Define to pw->pw_gecos if undefined.
...
(Fuser_full_name): Use USER_FULL_NAME instead of a literal pw->pw_gecos.
2008-08-23 16:51:47 +00:00
Dan Nicolaescu
6b0273cd0a
* editfns.c (Fuser_full_name): Replace the only use of
...
USER_FULL_NAME with its value.
* config.in: Regenerate.
* configure.in (freebsd, kfreebsd): Undo part of previous change.
(USER_FULL_NAME): Remove, not used anymore.
* configure: Regenerate.
2008-07-16 07:01:36 +00:00
Juanma Barranquero
43db14bbd8
Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
...
* 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.
2008-06-26 22:33:33 +00:00
Jim Meyering
c2cd06e61e
remove useless if-before-free tests
...
* lib-src/ebrowse.c (xfree): Likewise.
* lib-src/etags.c (process_file_name, free_tree, free_fdesc): Likewise.
(popclass_above, Prolog_functions, Erlang_functions): Likewise.
* lib-src/pop.c (pop_quit): Likewise.
* lwlib/lwlib-Xm.c (xm_update_one_value): Likewise.
* lwlib/lwlib.c (safe_free_str, free_widget_value_tree): Likewise.
* src/editfns.c (Fset_time_zone_rule): Likewise.
* src/lread.c (nosuffix): Likewise.
* src/ralloc.c (get_bloc): Likewise.
* src/regex.c (reg_free): Likewise.
* src/xftfont.c (xftfont_open, xftfont_close): Likewise.
* src/xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise.
* src/xsmfns.c (smc_save_yourself_CB): Likewise.
2008-06-02 06:00:54 +00:00
Glenn Morris
9ec0b715e2
Switch to recommended form of GPLv3 permissions notice.
2008-05-14 07:50:26 +00:00
Juanma Barranquero
7a6a86adef
(Ffield_string_no_properties): Fix typo in docstring.
2008-04-09 15:57:40 +00:00
Stefan Monnier
253c3c8280
(Fchar_equal): Check they are valid characters.
2008-03-17 20:23:06 +00:00
Jason Rumney
a03fc5a6e0
(initial_tz): New variable.
...
(syms_of_editfns): Initialize it.
(Fset_time_zone_rule): Set it when first called.
Use it when TZSTRING is nil.
2008-03-14 23:36:58 +00:00
Chong Yidong
575b782f82
(Fformat): Doc fix.
2008-02-26 16:36:52 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8cabe764e9
Add 2008 to copyright years.
2008-01-08 04:37:27 +00:00
Miles Bader
0bd5084171
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Andreas Schwab
ff6e6ac839
(Fformat): Handle %c specially since it requires the
...
argument to be of type int.
2007-11-23 13:27:46 +00:00
Andreas Schwab
89df6fc6bd
(Fformat): Handle %c specially since it requires the
...
argument to be of type int.
2007-11-23 13:27:34 +00:00
Andreas Schwab
6af41c87df
*** empty log message ***
2007-11-16 00:19:41 +00:00
Andreas Schwab
0df5538d11
*** empty log message ***
2007-11-16 00:19:22 +00:00
Andreas Schwab
791e6ff67d
Always take precision into account.
2007-11-16 00:18:16 +00:00
Andreas Schwab
0e4df721fa
Always take precision into account.
2007-11-16 00:17:40 +00:00
Andreas Schwab
023843b23b
(Fformat): When formatting an integer as float take precision into account.
2007-11-16 00:10:45 +00:00
Andreas Schwab
8875d2c00e
(Fformat): When formatting an integer as float take precision into account.
2007-11-16 00:10:00 +00:00
Andreas Schwab
b322c2058f
Fix last change.
2007-11-15 23:53:10 +00:00
Andreas Schwab
6e1ada1b21
Fix last change.
2007-11-15 23:52:51 +00:00
Andreas Schwab
f52fcaa4f3
(Fformat): Correctly format EMACS_INT values.
2007-11-15 23:45:21 +00:00
Andreas Schwab
0f860bd793
(Fformat): Correctly format EMACS_UINT values.
2007-11-15 23:38:14 +00:00
Miles Bader
63655c8314
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 887-889)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Eli Zaretskii
1ea40aa2f3
Replace abs' with eabs'.
2007-10-13 12:48:57 +00:00
Miles Bader
b2e6b10fe2
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 846-851)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 88-92)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 242-244)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e0f24100c7
Replace `iff' in comments.
2007-08-08 07:49:21 +00:00
Miles Bader
e468b87f91
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 824-831)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 70-74)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
684d6f5bcc
Switch license to GPLv3 or later.
2007-07-25 05:19:07 +00:00
Miles Bader
8c406a9bc4
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 806-813)
- Merge from emacs--rel--22
- Update from CVS
* emacs--rel--22 (patch 51-58)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 233-236)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-230
2007-07-15 04:47:46 +00:00
Stefan Monnier
d47ecf8be4
(Ftranspose_regions): Use EMACS_INT for positions.
2007-07-10 15:23:36 +00:00
Miles Bader
b361539260
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 793-802)
- Update from CVS
- Remove RCS keywords
- Merge from emacs--rel--22
* emacs--rel--22 (patch 42-50)
- Update from CVS
- Merge from gnus--rel--5.10
- Gnus ChangeLog tweaks
* gnus--rel--5.10 (patch 229-232)
- Merge from emacs--devo--0, emacs--rel--22
- ChangeLog tweak
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-223
2007-06-16 22:32:13 +00:00
Jason Rumney
c433c134bc
(Fget_internal_run_time) [WINDOWSNT]: Use w32_get_internal_run_time.
2007-06-14 15:59:58 +00:00
Miles Bader
fb9a13e3dc
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 781-792)
- Update from CVS
- Merge from gnus--rel--5.10
- Merge from emacs--rel--22
* emacs--rel--22 (patch 33-41)
* gnus--rel--5.10 (patch 226-228)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-219
2007-06-11 00:58:11 +00:00
Juanma Barranquero
977f6cfb17
(Fdelete_and_extract_region): Use empty_unibyte_string.
2007-06-08 20:18:14 +00:00