1. 07 Apr, 2013 1 commit
    • Dmitry Antipov's avatar
      Get rid of some platform-specific functions examining window · 7452b7bd
      Dmitry Antipov authored
      system and its capabilities.  This is a partial rework of the
      2013-04-05 change.
      * lisp.h (have_menus_p): Remove prototype.  This function is
      replaced with platform-independent window_system_available.
      (check_window_system): Move to...
      * frame.h (decode_window_system_frame, window_system_available):
      ...here, add new prototypes.
      * frame.c (window_system_available, decode_window_system_frame):
      New functions.
      (check_window_system): Platform-independent now.
      * xterm.h (x_in_use): Remove declaration.
      (check_x_frame):
      * w32term.h (check_x_frame):
      * nsterm.h (check_x_frame): Remove prototypes.  This function
      is replaced with platform-independent decode_window_system_frame.
      * msdos.c (have_menus_p): Remove.
      * nsfns.m (check_window_system, have_menus_p, check_ns_frame):
      Remove platform-specific functions.  Use check_window_system,
      decode_window_system_frame and check_ns_display_info where
      appropriate.  Minor style and comment tweaks.
      * w32fns.c (w32_in_use, check_window_system, have_menus_p)
      (check_x_frame): Likewise.
      * xfns.c (x_in_use, check_window_system, have_menus_p, check_x_frame):
      Likewise.
      * fileio.c, fns.c, font.c, fontset.c, image.c, menu.c, nsmenu.m:
      * nsselect.m, nsterm.m, w32font.c, w32menu.c, xfaces.c, xgselect.c:
      * xmenu.c, xselect.c: All related users changed.
      7452b7bd
  2. 06 Apr, 2013 5 commits
  3. 05 Apr, 2013 10 commits
  4. 04 Apr, 2013 8 commits
  5. 03 Apr, 2013 3 commits
  6. 02 Apr, 2013 3 commits
    • Fabrice Niessen's avatar
      3a2b589f
    • Paul Eggert's avatar
      Prefer < to > in range checks such as 0 <= i && i < N. · 7216e43b
      Paul Eggert authored
      This makes it easier to visualize quantities on a number line.
      This patch doesn't apply to all such range checks,
      only to the range checks affected by the 2013-03-24 change.
      This patch reverts most of the 2013-03-24 change.
      * alloc.c (xpalloc, Fgarbage_collect):
      * ccl.c (ccl_driver, resolve_symbol_ccl_program):
      * character.c (string_escape_byte8):
      * charset.c (read_hex):
      * data.c (cons_to_unsigned):
      * dispnew.c (update_frame_1):
      * doc.c (Fsubstitute_command_keys):
      * doprnt.c (doprnt):
      * editfns.c (hi_time, decode_time_components):
      * fileio.c (file_offset):
      * fns.c (larger_vector, make_hash_table, Fmake_hash_table):
      * font.c (font_intern_prop):
      * frame.c (x_set_alpha):
      * gtkutil.c (get_utf8_string):
      * indent.c (check_display_width):
      * keymap.c (Fkey_description):
      * lisp.h (FIXNUM_OVERFLOW_P, vcopy):
      * lread.c (read1):
      * minibuf.c (read_minibuf_noninteractive):
      * process.c (wait_reading_process_output):
      * search.c (Freplace_match):
      * window.c (get_phys_cursor_glyph):
      * xdisp.c (redisplay_internal):
      * xsmfns.c (smc_save_yourself_CB):
      Prefer < to > for range checks.
      * dispnew.c (sit_for): Don't mishandle NaNs.
      This fixes a bug introduced in the 2013-03-24 change.
      * editfns.c (decode_time_components): Don't hoist comparison.
      This fixes another bug introduced in the 2013-03-24 change.
      7216e43b
    • Paul Eggert's avatar
      Use UTF-8 for most files with non-ASCII characters. · 4b725a70
      Paul Eggert authored
      * admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
      (leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
      Now utf-8, not iso-2022-7bit.  Also, files that contain non-UTF-8
      characters are now encoded in utf-8-emacs, not iso-2022-7bit.
      * etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
      Switch from iso-2022-7bit to utf-8.
      * leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
      * leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
      * leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
      * leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
      * leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
      * leim/quail/vnvni.el, leim/quail/welsh.el:
      * lisp/international/latin1-disp.el, lisp/international/mule-util.el:
      * lisp/language/cyril-util.el, lisp/language/european.el:
      * lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
      * lisp/language/tibet-util.el, lisp/language/tibetan.el:
      * lisp/language/viet-util.el:
      Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
      
      Fixes: debbugs:13936
      4b725a70
  7. 01 Apr, 2013 5 commits
  8. 31 Mar, 2013 5 commits