Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
[bpt/emacs.git] / src / ChangeLog
index ca2d697..a2db98d 100644 (file)
@@ -1,3 +1,235 @@
+2002-04-26  Andrew Choi  <akochoi@shaw.ca>
+
+       * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add.
+       [HAVE_CARBON]: Include Mac object files.
+
+       * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c,
+       fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c,
+       termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8,
+       MAC_OSX, and MAC_OS instead of macintosh.
+
+       * editfns.c [MAC_OS8]: Include stdio.h.
+
+       * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init.
+
+       * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of
+       Apple Monaco.
+
+       * process.c: Declare QCfamily and QCfilter as extern.
+       (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before
+       calling select.
+
+       * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and
+       tgetent.
+       
+       * tparam.c [MAC_OSX]: Don't define BC and UP.
+       
+       * config.in [HAVE_CARBON]: Add.
+
+       * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: Move
+       here from mac/src and mac/inc.
+
+       * s/darwin.h, m/powermac.h, unexmacosx.c: New files.
+       
+2002-04-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_phys_cursor_glyph): Undo last change.  Compute
+       phys_cursor_width from the x position returned by x_draw_glyhs,
+       which is cheaper.
+       (x_display_and_set_cursor): Compute the buffer-local value
+       of `cursor-in-non-selected-windows' only when needed.
+
+2002-04-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box
+       cursor on a stretch glyph has a width that depends on
+       x_stretch_cursor_p.
+
+2002-04-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * abbrev.c (abbrev-start-location): Doc fix.
+
+       * indent.c (Fvertical_motion): Fix last change.
+
+2002-04-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * indent.c (Fvertical_motion): Move to the start of the line
+       containing PT before moving up or down.
+
+2002-04-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the
+       case of writing a whole row, more or less analogous to the case of
+       writing only parts of a row.
+
+       * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to
+       0 for NO_CURSOR.
+       
+       * xterm.c (notice_overwritten_cursor): Fix an off by 1 error.
+
+2002-04-23  Colin Walters  <walters@verbum.org>
+
+       * buffer.c (syms_of_buffer): Doc fix.
+
+2002-04-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (notice_overwritten_cursor): Handle the special case
+       of the cursor being in the first blank non-text line at the
+       end of a window.
+       
+       * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor)
+       (x_draw_phys_cursor_glyph): Set phys_cursor_width here.
+       (x_display_and_set_cursor): Don't set phys_cursor_width here, for
+       bar cursors only, to make phys_cursor_width contain what its name
+       suggests.
+       (notice_overwritten_cursor): Consider the cursor image erased if
+       the output area intersects the cursor image in y-direction.
+
+2002-04-23  Simon Marshall  <simon@gnu.org>
+
+       * xfns.c (x_set_mouse_color): Change default for cross_cursor
+       to XC_hand2.
+
+2002-04-23  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xdisp.c: Remove unused global variable
+       `minibuf_prompt_pixel_width'.
+
+2002-04-22  Kim F. Storm  <storm@cua.dk>
+
+       * textprop.c (remove_properties): Fixed trap for malformed plist.
+
+2002-04-22  Richard M. Stallman  <rms@gnu.org>
+
+       * cmds.c (Fend_of_line): Handle intangible text in mid line.
+
+       * window.c (make_window): Initialize height_fixed_p,
+       last_cursor_off_p, and p->cursor_off_p slots.
+
+2002-04-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * fns.c (use-dialog-box): Doc fix.
+
+2002-04-19  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xterm.c (note_mode_line_or_margin_highlight): Remove unused
+       variables `row', `i' and `area'.
+       (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to
+       toolkit library.
+
+2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xfaces.c (clear_font_table): Don't free the default font of
+       a frame even if it's on another display.
+       (Finternal_set_lisp_face_attribute): Don't use XFRAME on something
+       that could be Qt.
+
+2002-04-19  Juanma Barranquero  <lektu@terra.es>
+
+       * indent.c (Fmove_to_column): Remove unused local variable
+       `next_boundary_byte'.
+       (current_column_1): Likewise.
+
+2002-04-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (Qhbar): New variable.
+       (syms_of_msdos): Intern and staticpro it.
+       (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
+       cursor type.
+
+2002-04-19  Dave Lambert <dlambert@acm.org>
+
+       Theses change implement an underscore-like (`hbar') cursor.
+
+       * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR.
+
+       * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed.
+       Handle the `hbar' cursor type.
+       (x_display_and_set_cursor): Handle the HBAR_CURSOR case.
+
+       * xfns.c (Qhbar): New variable.
+       (syms_of_xfns): Intern and staticpro it.
+       (x_specified_cursor_type): Handle `hbar' cursor.
+
+       * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is
+       not defined.
+
+2002-04-18  Richard M. Stallman  <rms@gnu.org>
+
+       * textprop.c (remove_properties): New arg LIST allows scanning
+       either a list or a plist.
+       (interval_has_some_properties_list): New function, like
+       interval_has_some_properties using list instead of plist.
+       All callers changed.
+       (Fremove_list_of_text_properties): New function.
+       (syms_of_textprop): Defsubr it.
+
+2002-04-17  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined.
+
+2002-04-17  Juanma Barranquero  <lektu@terra.es>
+
+       * indent.c (Fmove_to_column): Remove unused local variable `end_byte'.
+
+2002-04-17  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * window.c (coordinates_in_window): Don't report on margin area
+       if its width is zero.
+
+2002-04-16  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fx_file_dialog): Decode file name before using.
+
+       * w32term.c (construct_drag_n_drop): Likewise.
+
+2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * puresize.h (BASE_PURESIZE): Increase to 830000, since we now
+       store load-history in pure space.
+
+       * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000.
+
+2002-04-16  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xterm.c (Qlatin_1, Qutf_8): New vars.
+       (syms_of_xterm): Initialize them.
+       (XTread_socket): Eliminate incorrect optimization that tried to avoid
+       decoding the output of X*LookupString.
+       Always use latin-1 to decode the output of XLookupString.
+       Try Xutf8LookupString if XmbLookupString failed.
+
+       * region-cache.c (new_region_cache): Use BEG.
+
+2002-04-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system
+       configuration files.
+       (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P
+       returns 0.
+
+2002-04-15  Andreas Schwab  <schwab@suse.de>
+
+       * config.in: Regenerated using autoheader.
+
+       * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h,
+       m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h,
+       m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h,
+       m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h,
+       m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h,
+       m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h,
+       m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h,
+       m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h,
+       m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h
+       m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h,
+       m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h,
+       m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h,
+       m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h,
+       m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h,
+       m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h,
+       s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and
+       STACK_DIRECTION, now set by autoconf.
+
 2002-04-14  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * dispnew.c (marginal_area_string): Sort arguments.
@@ -6,7 +238,7 @@
 
 2002-04-13  Richard M. Stallman  <rms@gnu.org>
 
-       * fileio.c (Finsert_file_contents): 
+       * fileio.c (Finsert_file_contents):
        Don't call temp_output_buffer_setup--do just part, by hand.
 
        * coding.c (run_pre_post_conversion_on_str):
 
        * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN.
        (Qleft_margin, Qright_margin): Declare.
-       (coordinates_in_window, (Fcoordinates_in_window_p): Deal with
-       margins.
+       (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins.
 
        * xterm.c (note_mode_line_or_margin_highlight): Renamed from
        note_mode_line_highlight and extended.