1. 26 Jun, 2008 8 commits
    • Juanma Barranquero's avatar
      Remove unneeded -Defines in the compiler command line (MinGW and MSVC). · 43db14bb
      Juanma Barranquero authored
      * 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.
      43db14bb
    • Jason Rumney's avatar
      * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. · c35f9821
      Jason Rumney authored
      * w32term.c (x_draw_glyph_string_foreground):
      (x_draw_composite_glyph_string_foreground): Sync with xterm.c.
      Use FONT_HANDLE macro.
      (x_draw_glyph_string): Use FONT_TEXTMETRIC macro.
      
      * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape):
      (uniscribe_encode_char): Use FONT_HANDLE macro.
      
      * w32font.c (Fx_select_font): Use FONT_HANDLE macro.
      (w32font_text_extents): Use precast w32_font.
      (w32font_close): Free cached metrics.
      (w32font_open_internal): Allocate space for name on stack.
      c35f9821
    • Chong Yidong's avatar
      1f8ad719
    • Jason Rumney's avatar
      (FONT_AVG_WIDTH): Remove obsolete macro. · 97e71655
      Jason Rumney authored
      (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants.
      97e71655
    • Juanma Barranquero's avatar
      * src/Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. · c9fc02c7
      Juanma Barranquero authored
      * lib-src/makefile.w32-in (obj): Remove w32bdf.o.
      c9fc02c7
    • Jason Rumney's avatar
      * w32bdf.c, w32bdf.h: Remove obsolete files. · 1b5defe6
      Jason Rumney authored
      * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c.
      
      * w32gui.h: Don't include w32bdf.h.
      (XCharStruct, enum w32_char_font_type, W32FontStruct):
      Remove obsolete font support.
      
      * w32font.h (struct w32font_info): Remove compat_w32_font.
      Add hfont member.
      (FONT_COMPAT): Remove obsolete macro.
      
      * w32font.c (w32font_close): Remove compat code. Delete hfont member.
      (w32font_encode_char, w32font_text_extents): Use new hfont member.
      (w32font_open_internal): Remove compat code. Set new hfont member.
      (Fx_select_font): Use new hfont member.
      
      * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape):
      (uniscribe_encode_char): Use new hfont member.
      
      * w32term.c (x_draw_glyph_string_foreground):
      (x_draw_composite_glyph_string_foreground): Use new hfont member.
      (x_draw_glyph_string): Use metrics in w32font_info.
      1b5defe6
    • Kenichi Handa's avatar
      1fc66bca
    • Dan Nicolaescu's avatar
      * unexnext.c: · f2a77c3a
      Dan Nicolaescu authored
      * m/ews4800.h:
      * m/hp9000s300.h:
      * m/ibm370aix.h:
      * m/mips-siemens.h:
      * m/ncr386.h:
      * m/next.h:
      * m/pmax.h:
      * m/powerpcle.h:
      * m/tandem-s2.h:
      * s/386bsd.h:
      * s/bsd386.h:
      * s/bsd4-1.h:
      * s/bsd4-2.h:
      * s/bsdos2-1.h:
      * s/bsdos2.h:
      * s/bsdos3.h:
      * s/bsdos4.h:
      * s/nextstep.h:
      * s/ultrix4-3.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-4-3.h:
      * s/ux4800.h:
      * s/uxpds.h:
      * s/uxpv.h: Remove support for obsolete systems.
      * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
      Remove, insert contents in s/hpux-10.20.h
      * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
      Remove, insert contents in s/aix-4.2.h
      * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
      * s/bsd4-3.h: Rename to ..
      * s/bsd-common.h: ... this.
      * src/data.c:
      * src/doc.c:
      * src/ecrt0.c:
      * src/emacs.c:
      * src/fileio.c:
      * src/floatfns.c:
      * src/keyboard.c:
      * src/mem-limits.h:
      * src/print.c:
      * src/process.c:
      * src/sysdep.c:
      * src/syssignal.h:
      * src/systty.h:
      * src/syswait.h:
      * src/term.c:
      * src/unexec.c:
      * src/unexelf.c:
      * src/unexhp9k800.c:
      * src/m/hp800.h:
      * src/m/ibmrs6000.h:
      * src/m/mips.h:
      * src/m/vax.h:
      * src/s/darwin.h:
      * src/s/freebsd.h:
      * src/s/gnu.h:
      * src/s/ms-w32.h:
      * src/s/msdos.h:
      * src/s/netbsd.h:
      * src/s/template.h: Remove references to obsolete variables.
      
      * Makefile.in: Add dependencies for all unexec files.
      (admindir): Remove unused variable.
      (UNEXEC_SRC): Remove references.
      
      * config.nt: Remove reference to UNEXEC_SRC.
      
      * lwlib.c: Remove references to obsolete variables.
      
      * fakemail.c: Remove references to obsolete variables.
      
      * os.texi: Remove references to obsolete systems.
      
      * configure.in:
      * configure: Remove references to obsolete systems.
      f2a77c3a
  2. 25 Jun, 2008 8 commits
  3. 24 Jun, 2008 6 commits
    • Andreas Schwab's avatar
      Fix thinko. · 56f6f760
      Andreas Schwab authored
      56f6f760
    • Andreas Schwab's avatar
      (bootstrap-clean): Do what distclean does but don't remove · fd13748d
      Andreas Schwab authored
      Makefile.
      (distclean): Depend on bootstrap-clean and remove Makefile.
      fd13748d
    • Andreas Schwab's avatar
      (${lispsource}/loaddefs.el): Renamed from · 4c3f18fe
      Andreas Schwab authored
      ../lisp/loaddefs.el.
      4c3f18fe
    • Chong Yidong's avatar
      * buffer.h (struct buffer): New member word_wrap. · faa6190f
      Chong Yidong authored
      * buffer.c (syms_of_buffer): New variables default-word-wrap and
      word-wrap.
      (init_buffer_once): Initialize them.
      
      * dispextern.h (struct it): Replace bool truncate_lines_p with a
      line_wrap enum possessing three possible values.
      
      * termopts.h: Replace truncate_partial_width_windows with
      Vtruncate_partial_width_windows.
      
      * dispnew.c (direct_output_for_insert): Avoid direct output when
      inserting a space with word wrap on.
      
      * indent.c (compute_motion): Obey integer values of
      truncate-partial-width-windows.
      
      * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object,
      replacing truncate_partial_width_windows.
      (init_iterator): If Vtruncate_partial_width_windows is an integer,
      truncate only if the window width is below that integer.
      (start_display. resize_mini_window, produce_stretch_glyph)
      (display_string, move_it_in_display_line_to): Use line_wrap.
      (back_to_previous_visible_line_start, reseat_1): Reset
      string_from_display_prop_p.
      (display_line): Extend default face to end of line when wrapping.
      (display_line, move_it_in_display_line_to): Add ability
      to wrap continued lines at word boundaries.
      faa6190f
    • Jason Rumney's avatar
      (Ffont_face_attributes): Multiply pixel size before point · c3bb5465
      Jason Rumney authored
      conversion to avoid multiplying rounding error.
      c3bb5465
    • Juanma Barranquero's avatar
      Fix typos. · f245f2c6
      Juanma Barranquero authored
      f245f2c6
  4. 23 Jun, 2008 1 commit
  5. 22 Jun, 2008 5 commits
  6. 21 Jun, 2008 6 commits
    • Stefan Monnier's avatar
      * src/Makefile.in (PRECOMP): Remove. · 768efd84
      Stefan Monnier authored
      (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP.
      (witness-emacs): Run `compile-first'.
      (.el.elc): Use the new compile-onefile target.
      * lisp/Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
      (all): Run compile-last.
      (compile-onefile): New target.
      (compile-first): Simplify.
      (compile-last): Don't treat COMPILE_FIRST specially.
      (COMPILE_FIRST): List the elc files rather than the el files.
      (ELCFILES): Update.
      768efd84
    • Kenichi Handa's avatar
    • Andreas Schwab's avatar
      58e8833b
    • Andreas Schwab's avatar
      0de59eae
    • Miles Bader's avatar
      Fix autoload building command in src Makefile · fb38e9c9
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1268
      fb38e9c9
    • Stefan Monnier's avatar
      Make "make" do a bootstrap if needed. · fc46d219
      Stefan Monnier authored
      * src/Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs.
      (bootstrapclean): Remove.
      (.el.elc): New rule.
      (PRECOMP): New var.
      (../lisp/subdirs.el): Remove.
      (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency.
      (witness-emacs): New target.
      (mostlyclean): Remove witness-emacs as well.
      (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}):
      Add witness-emacs dependency.
      * lisp/loadup.el: Don't add emacs-<VERS> name when bootstrapping.
      * lisp/Makefile.in (emacs-deps): Remove.
      ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
      (all): Use them.
      (autogen-clean): Remove.
      * Makefile.in (maybe_bootstrap, src/bootstrap-emacs${EXEEXT})
      (bootstrap-build): Remove.
      (top_bootclean): New var.
      (top_distclean, bootstrap-clean): Use it.
      (bootstrap): Don't recheck config.  Make normally.
      fc46d219
  7. 20 Jun, 2008 6 commits