1. 13 Feb, 2013 1 commit
  2. 12 Feb, 2013 2 commits
    • Paul Eggert's avatar
      Improve AIX port some more. · f53f992a
      Paul Eggert authored
      With this, it should be as good as it was in 23.3, though it's
      still pretty bad: the dumped emacs does not run.  See Mark Fleishman in
      http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html
      * unexaix.c (start_of_text): Remove.
      (_data, _text): Declare as char[], not int, as AIX manual suggests.
      (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr)
      (orig_load_scnptr, orig_data_scnptr):
      Now off_t, not long, since they are file offsets.
      (make_hdr): Use _data, not start_of_data ().
      This is the key part of the fix.
      (make_hdr, unrelocate_symbols): Use off_t for file offsets.
      (unrelocate_symbols): Cast pointers to intptr_t, not to ulong.
      
      Fixes: debbugs:13650
      f53f992a
    • Paul Eggert's avatar
      * pre-crt0.c (data_start): Initialize to 1. · 4458c255
      Paul Eggert authored
      This ports to compilers that optimize the external declaration
      'int x = 0;' as if it were 'int x;' to shrink the executable.
      4458c255
  3. 11 Feb, 2013 2 commits
    • Paul Eggert's avatar
      Improve AIX port. · 227be86d
      Paul Eggert authored
      This doesn't fix the bug, but it makes progress: Emacs builds now.
      * unexaix.c: Include inttypes.h, stdarg.h.
      (report_error, report_error_1): Mark as _Noreturn.
      (report_error): Don't report the wrong errno.
      (report_error_1): Now varargs.  All callers changed.
      (make_hdr): Use uintptr_t, not unsigned, when converting pointers
      to unsigned.  Don't use ADDR_CORRECT, as it no longer exists.
      (write_ptr): Use %p to print address rather than %lx and a cast
      to unsigned long.  Grow buffer a bit, to be safer.
      
      Fixes: debbugs:13650
      227be86d
    • Eli Zaretskii's avatar
      Fix rare aborts in bidi.c. · 713bfeaa
      Eli Zaretskii authored
       src/bidi.c (bidi_resolve_neutral): After finding the next
       non-neutral character, accept NEUTRAL_ON type as well, because
       directional control characters, such as LRE and RLE, have their
       type converted to that by bidi_resolve_weak.  This avoids aborts
       when LRE/RLE follows a run of neutrals.
       (bidi_move_to_visually_next): Assert that return value of
       bidi_peek_at_next_level is non-negative.  Negative values will
       cause an infloop.
      713bfeaa
  4. 06 Feb, 2013 1 commit
  5. 05 Feb, 2013 1 commit
  6. 01 Feb, 2013 2 commits
  7. 27 Jan, 2013 1 commit
  8. 26 Jan, 2013 1 commit
  9. 25 Jan, 2013 2 commits
  10. 23 Jan, 2013 1 commit
    • Eli Zaretskii's avatar
      Fix bug #13515 with processing DBCS file names on MS-Windows. · 6d2851de
      Eli Zaretskii authored
       src/w32.c (max_filename_mbslen): New function.
       (normalize_filename, readdir): Use it to detect locales where ANSI
       encoding of file names uses a double-byte character set (DBCS).
       If a DBCS encoding is used, advance by characters using
       CharNextExA, instead of incrementing a 'char *' pointer.  Use
       _mbslwr instead of _strlwr.
      6d2851de
  11. 22 Jan, 2013 1 commit
  12. 20 Jan, 2013 1 commit
    • Andreas Schwab's avatar
      Fixes: debbugs:13505 · ba14c607
      Andreas Schwab authored
      * src/coding.c (detect_coding_iso_2022): Move back mis-reordered code
      at check_extra_latin label.
      ba14c607
  13. 17 Jan, 2013 1 commit
  14. 13 Jan, 2013 2 commits
  15. 12 Jan, 2013 1 commit
  16. 11 Jan, 2013 3 commits
  17. 05 Jan, 2013 1 commit
    • Eli Zaretskii's avatar
      Improve display of glyph matrix by dump-glyph-matrix. · b630991b
      Eli Zaretskii authored
       src/xdisp.c (dump_glyph): Align glyph data better.  Use "pD" instead
       of a non-portable "t" to print ptrdiff_t values.  Allow up to 9
       digits for buffer positions, before misalignment starts.  Display
       "0" for integer "object" field.
       (dump_glyph_row): Adapt the header line to changes in dump_glyph.
       Display the newline glyph more unambiguously.
      b630991b
  18. 04 Jan, 2013 2 commits
  19. 01 Jan, 2013 1 commit
  20. 31 Dec, 2012 1 commit
  21. 29 Dec, 2012 1 commit
    • Andreas Schwab's avatar
      Properly configure GNUstep libraries · 2550c6e4
      Andreas Schwab authored
      * configure.ac (TEMACS_LDFLAGS2): Don't define.
      (LIBS_GNUSTEP): Set for GNUstep and substitute.
      (LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.
      
      * src/Makefile.in (TEMACS_LDFLAGS2): Remove.
      (LIBS_GNUSTEP): Define.
      (LIBES): Add $(LIBS_GNUSTEP).
      (temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).
      2550c6e4
  22. 27 Dec, 2012 2 commits
  23. 24 Dec, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames. · f5c81c80
      Eli Zaretskii authored
       src/fileio.c (file_name_as_directory, directory_file_name): Accept
       an additional argument MULTIBYTE to indicate whether the input C
       came from a multibyte or a unibyte Lisp string; all callers
       adjusted.  Don't assume the input string is always multibyte.
       (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
       don't ENCODE_FILE them, and return a unibyte string if the input
       was unibyte.
       (Fexpand_file_name): Don't mix unibyte with multibyte strings, and
       don't assume the input strings will always be multibyte.  If the
       input strings are multibyte, decode strings obtained from C
       library functions.
      f5c81c80
  24. 22 Dec, 2012 1 commit
  25. 21 Dec, 2012 3 commits
  26. 15 Dec, 2012 1 commit
  27. 14 Dec, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #12621 with crashes on MS-Windows in LookupAccountSid. · 92340ec7
      Eli Zaretskii authored
       src/w32.c (get_name_and_id): Always pass NULL as the first argument
       of lookup_account_sid.  Avoids crashes with UNC file names that
       refer to DFS domains, not to specific machine names.  (Bug#12621)
       Remove now unused argument FNAME; all callers changed.
       (get_file_owner_and_group): Remove now unused argument FNAME; all
       callers changed.
      92340ec7
  28. 11 Dec, 2012 1 commit
  29. 10 Dec, 2012 1 commit