1. 02 Jul, 2010 1 commit
  2. 30 Jun, 2010 4 commits
  3. 28 Jun, 2010 1 commit
    • Jan D's avatar
      Use non-deprecated Gtk+ functions, add changes for Gtk+3 with GSEAL_ENABLE. · e547b051
      Jan D authored
      * configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
      check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied
      by minimum required Gtk+ 2.6).  Add checks for functions introduced
      in Gtk+ 2.14 or newer.
      * xterm.h (gtk_widget_get_window, gtk_widget_get_mapped)
      (gtk_adjustment_get_page_size, gtk_adjustment_get_upper): New
      defines based on what configure finds.
      * xterm.c (XTflash): Use gtk_widget_get_window.
      (xg_scroll_callback): Use gtk_adjustment_get_upper and
      (handle_one_xevent): Use gtk_widget_get_mapped.
      (x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error
      * xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped.
      * gtkutil.h: Replace HAVE_GTK_FILE_BOTH with
      * gtkutil.c (xg_display_open, xg_display_close): Remove
      HAVE_GTK_MULTIDISPLAY, it is always defined.
      (xg_display_open): Return type is void.
      (gtk_dialog_get_action_area, gtk_dialog_get_content_area)
      (gtk_widget_get_sensitive, gtk_adjustment_set_page_size)
      (gtk_adjustment_get_step_increment): #define these if not found
      by configure.
      (remove_submenu): New define based on Gtk+ version.
      (xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar): Use
      (xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped.
      (xg_create_frame_widgets): Use gtk_widget_set_has_window.
      (create_dialog): Use gtk_dialog_get_action_area and
      (xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH
      and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW.  File chooser is always
      available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough.
      (xg_update_menubar, xg_update_submenu, xg_show_toolbar_item): Use
      g_object_ref and g_object_unref.
      (xg_update_menu_item, xg_tool_bar_menu_proxy): Use
      (xg_update_submenu): Use remove_submenu.
      (xg_update_scrollbar_pos): Don't use GtkFixedChild, use child
      properties instead to get old x and y position.
      (xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size,
      gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size,
      gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment.
      (xg_get_tool_bar_widgets): New function.
      (xg_tool_bar_menu_proxy, xg_show_toolbar_item)
      (update_frame_tool_bar): Call xg_get_tool_bar_widgets.
      (toolbar_set_orientation): New #define based on if configure
      finds gtk_orientable_set_orientation.
      (xg_create_tool_bar): Call toolbar_set_orientation.
      (xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start
      instead of gtk_box_pack_start_defaults.
  4. 03 Jun, 2010 1 commit
    • Dan Nicolaescu's avatar
      Move UNEXEC definition to autoconf. · eb697db5
      Dan Nicolaescu authored
      * configure.in (unxec): Do not define and substitute.
      (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
      * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec.
      * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in.
      * src/s/sol2-10.h (UNEXEC):
      * src/s/irix6-5.h (UNEXEC):
      * src/s/hpux10-20.h (UNEXEC):
      * src/s/gnu-linux.h (UNEXEC):
      * src/s/darwin.h (UNEXEC):
      * src/s/cygwin.h (UNEXEC):
      * src/s/bsd-common.h (UNEXEC):
      * src/s/aix4-2.h (UNEXEC):
      * src/m/alpha.h (UNEXEC): Likewise.
      * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
  5. 29 May, 2010 1 commit
  6. 27 May, 2010 1 commit
    • Glenn Morris's avatar
      Do not preprocess src/Makefile.in. · 81ac4f35
      Glenn Morris authored
      * configure.in: Do not preprocess src/Makefile.in.
      (cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
      (AC_EGREP_CPP): Test no longer needed.
      * configure: Regenerate.
      * config.bat: Do not preprocess src/Makefile.in.
      * make-dist: No more Makefile.c files.
      * INSTALL, src/README: Makefiles are not preprocessed.
      * src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
      Convert comments to Makefile format.
      * lib-src/Makefile.in (distclean): No more Makefile.c.
      * src/Makefile.in (bootstrap-clean): No more Makefile.c.
      * admin/notes/cpp: Remove file.
      * admin/quick-install-emacs (AVOID): No more Makefile.c files.
      * etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
      no longer occur.
  7. 26 May, 2010 3 commits
  8. 25 May, 2010 1 commit
  9. 22 May, 2010 1 commit
  10. 21 May, 2010 1 commit
  11. 20 May, 2010 1 commit
  12. 19 May, 2010 1 commit
  13. 18 May, 2010 1 commit
  14. 17 May, 2010 1 commit
    • Glenn Morris's avatar
      Combine the two stamp-oldxmenu cases. · 16455a85
      Glenn Morris authored
      * configure.in (OLDXMENU_DEPS): New output variable.
      * configure: Regenerate.
      * src/Makefile.in (OLDXMENU_DEPS): New, set by configure.
      (stamp-oldxmenu): Use $OLDXMENU_DEPS.
      * msdos/sed1v2.inp (OLDXMENU_DEPS): Edit to empty.
      * msdos/sed1x.inp (OLDXMENU_DEPS): Edit to ${OLDXMENU} ../src/${OLDXMENU}.
  15. 16 May, 2010 4 commits
    • Glenn Morris's avatar
      * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir. · 9a436f0c
      Glenn Morris authored
      * configure: Regenerate.
    • Glenn Morris's avatar
      Simplify temacs build rule. · b02a6645
      Glenn Morris authored
      * configure.in (TEMACS_LDFLAGS2): New output variable.
      * configure: Regenerate.
      * msdos/sed1v2.inp (TEMACS_LDFLAGS2): Edit to $(LDFLAGS).
      * src/Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
      (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.
    • Glenn Morris's avatar
      Simplify temacs build rule. · 8877ca0f
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable.
      (START_FILES): Set to empty if NS_IMPL_GNUSTEP.
      nothing uses.
      * configure: Regenerate.
      * src/Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
      (LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
      (temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
      Make most of the NS_IMPL_GNUSTEP case the same as the default case.
      * msdos/sed1v2.inp (GNUSTEP_SYSTEM_LIBRARIES): Remove.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): Edit to empty.
    • Dan Nicolaescu's avatar
      * configure.in: Remove references to usg5-4 and bsd-common, $opsys · 35a20d6c
      Dan Nicolaescu authored
      does not use them.
      (X11R5_INHIBIT_I18N): Remove, unused.
  16. 15 May, 2010 4 commits
  17. 14 May, 2010 2 commits
  18. 13 May, 2010 2 commits
  19. 12 May, 2010 1 commit
  20. 11 May, 2010 1 commit
  21. 10 May, 2010 2 commits
  22. 08 May, 2010 2 commits
  23. 07 May, 2010 3 commits
    • Vincent Belaïche's avatar
      * floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions. · 15e12598
      Vincent Belaïche authored
      * configure.in: Add tests for `isnan' and `copysign'.
    • Glenn Morris's avatar
      Regenerate configure. · e6df49e4
      Glenn Morris authored
    • Dan Nicolaescu's avatar
      Define LIB_STANDARD and START_FILES using autoconf. · 49ebbd65
      Dan Nicolaescu authored
      * s/usg5-4.h (LIB_STANDARD):
      * s/netbsd.h (START_FILES):
      * s/irix6-5.h (LIB_STANDARD):
      * s/hpux10-20.h (LIB_STANDARD, START_FILES):
      * s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * s/freebsd.h (START_FILES):
      * s/darwin.h (START_FILES):
      * s/cygwin.h (START_FILES):
      * s/aix4-2.h (LIB_STANDARD):
      * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in.
      * Makefile.in (STARTFILES): Rename to START_FILES, define using
      autoconf, not cpp.
      Define START_FILES and LIB_STANDARD using autoconf.
      * configure.in (START_FILES, LIB_STANDARD): New definitions, moved
      here from src/s/*.h.
      (HAVE_CRTIN): Remove, inline logic in the netbsd
      START_FILES/LIB_STANDARD computation.