1. 06 Aug, 2010 8 commits
    • Jan D's avatar
      Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings. · 3d608a86
      Jan D authored
      * configure.in: Check for util.h.
      
      * src/bidi.c (bidi_dump_cached_states): Fix fprintf warning.
      
      * src/emacs.c: Include src/nsterm.h if HAVE_NS.
      
      * src/image.c (xpm_scan, xpm_make_color_table_v)
      (xpm_put_color_table_v, xpm_get_color_table_v)
      (xpm_make_color_table_h, xpm_put_color_table_h)
      (xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
      (xpm_load): Convert to ANSI C prototypes.
      
      * src/lisp.h (fmod_float): Declare.
      
      * src/menu.h (x_set_menu_bar_line): Declare.
      (free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
      
      * src/window.c: Include menu.h.
      
      * src/nsfns.m (have_menus_p, ns_display_info_for_name)
      (x_set_cursor_type, ns_appkit_version_str)
      (ns_appkit_version_int, ns_do_applescript)
      (x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
      (syms_of_nsfns): Convert to ANSI C prototypes.
      
      * src/nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
      prototypes.
      
      * src/nsimage.m (ns_load_image): Move NSTRACE after declarations.
      
      * src/nsmenu.m (popup_activated, name_is_separator)
      (syms_of_nsmenu): Convert to ANSI C prototypes.
      (runMenuAt): Prototypes and move declarations before code.
      
      * src/nsterm.h : Include sysselect.h.
      (x_sync, x_get_focus_frame, x_set_mouse_position)
      (x_set_mouse_pixel_position, x_make_frame_visible)
      (x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
      (x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
      (x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
      (syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
      Declare
      
      * src/process.c: Check HAVE_UTIL_H. Include src/nsterm.h if HAVE_NS.
      
      * src/nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
      (ns_ring_bell, ns_defined_color, hide_hourglass)
      (x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
      Convert to ANSI C prototypes.
      (x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
      before code.
      
      * src/sysdep.c: Check HAVE_TERM_H
      
      * src/term.c: Check HAVE_SYS_IOCTL_H.
      
      * src/unexmacosx.c (print_region_list, print_regions)
      (build_region_list, find_emacs_zone_regions)
      (unexec_regions_merge, read_load_commands, dump_it)
      (unexec_init_emacs_zone): Convert to ANSI C prototypes.
      
      * src/xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
      3d608a86
    • Dan Nicolaescu's avatar
      emacsclient.c cleanups. · 0613f5d5
      Dan Nicolaescu authored
      * lib-src/emacsclient.c: Move socket related #includes together with the
      rest of the #includes.  Move a WINDOWSNT includes closer together.
      (HAVE_CONFIG_H): Remove.
      (NO_RETURN): Remove, defined in config.h.
      (main): Convert definition to standard C.
      0613f5d5
    • Dan Nicolaescu's avatar
    • Katsumi Yamaoka's avatar
      cbfb9427
    • Juanma Barranquero's avatar
      src/ChangeLog: Fix entry. · c95b508f
      Juanma Barranquero authored
      c95b508f
    • Dan Nicolaescu's avatar
      Cleanup process.c. · fce70521
      Dan Nicolaescu authored
      * src/process.c: Remove HAVE_SOCKETS #ifdefs inside #ifdef
      subprocesses, only MSDOS does not define HAVE_SOCKETS.
      (socket_options): Use const char* for name.
      fce70521
    • Juanma Barranquero's avatar
      Fix changes in... · a11889ab
      Juanma Barranquero authored
      Fix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics.uci.edu for Windows build.
      
      * dired.c (compile_pattern):
      * syssignal.h (signal_handler_t): Restore declarations.
      
      * w32font.c (Qlatin): Remove declaration.
      
      * menu.h (xmalloc_widget_value, digest_single_submenu): Declare.
      * xmenu.c [USE_X_TOOLKIT || USE_GTK]:
        Don't declare xmalloc_widget_value and digest_single_submenu.
      a11889ab
    • Dan Nicolaescu's avatar
  2. 05 Aug, 2010 11 commits
    • Dan Nicolaescu's avatar
      Remove extern declarations in .c files, .h files have them. · 04bab72c
      Dan Nicolaescu authored
      * src/data.c:
      * src/dired.c:
      * src/editfns.c:
      * src/filelock.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/ftfont.c:
      * src/gtkutil.c:
      * src/indent.c:
      * src/keyboard.c:
      * src/keymap.c:
      * src/lread.c:
      * src/menu.c:
      * src/print.c:
      * src/search.c:
      * src/sound.c:
      * src/window.c:
      * src/xdisp.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xfont.c:
      * src/xftfont.c:
      * src/xmenu.c:
      * src/xterm.c: Remove declarations.
      04bab72c
    • Dan Nicolaescu's avatar
      Cleanup syssignal.h. · dff94ed5
      Dan Nicolaescu authored
      * src/syssignal.h (sighold, sigrelse, RETSIGTYPE): Remove, unused.
      (main_thread): Move down to remove #ifdef.
      (SIGMASKTYPE, SIGEMPTYMASK, SIGFULLMASK, sigmask, sigunblock):
      Remove conditional definition following unconditional ones.
      dff94ed5
    • Dan Nicolaescu's avatar
      Add declarations to header files. · 99f3388e
      Dan Nicolaescu authored
      * src/keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove
      declarations, menu.h has them.
      (QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
      (Vinput_method_function, Qinput_method_function)
      (Qevent_symbol_element_mask, last_event_timestamp):
      * src/dispextern.h (Voverflow_newline_into_fringe):
      * src/font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
      (syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
      (syms_of_w32font, syms_of_nsfont):
      * src/fontset.h (find_font_encoding, Qlatin):
      * src/frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
      (Vtool_bar_mode, set_frame_menubar):
      * src/ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
      * src/xterm.h (Qx_gtk_map_stock):
      * src/keymap.h (meta_prefix_char): Add declarations.
      
      * src/lisp.h: Remove HAVE_SHM code, unused.
      (QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
      (QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
      (Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
      (Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
      (Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
      (Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
      (Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
      (Qmode_line_inactive, Qmouse, Qoverriding_local_map)
      (Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
      (Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
      (Qwindow_scroll_functions, Vafter_load_alist)
      (Vauto_save_list_file_name, Vface_alternative_font_family_alist)
      (Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
      (Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
      (Vprint_length, Vprint_level, Vscalable_fonts_allowed)
      (Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
      (Vwindow_system_version, Vx_no_window_manager, initial_argc)
      (initial_argv, last_nonmenu_event, load_in_progress)
      (noninteractive_need_newline, scroll_margin): Add declarations.
      99f3388e
    • Dan Nicolaescu's avatar
      * src/term.c: Remove dead code. · 9f5dd6f2
      Dan Nicolaescu authored
      9f5dd6f2
    • Dan Nicolaescu's avatar
      Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux. · 6254cdda
      Dan Nicolaescu authored
      * src/term.c (dissociate_if_controlling_tty): Use USG5 instead of
      USG.  This is equivalent to defined (USG) && !defined (BSD_PGRPS),
      which is what was there before BSD_PGRPS was removed.
      6254cdda
    • Dan Nicolaescu's avatar
      Regenerate configure. · 52eeb591
      Dan Nicolaescu authored
      52eeb591
    • Eli Zaretskii's avatar
      REALLY rename src/unexec.c => src/unexcoff.c. · 2b2ecd42
      Eli Zaretskii authored
       admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.
      2b2ecd42
    • Eli Zaretskii's avatar
      Rename src/unexec.c => src/unexcoff.c. · 29cf3e20
      Eli Zaretskii authored
       src/unexcoff.c: Renamed from unexec.c.
       src/deps.mk (unexcoff.o): Rename unexec.[co] => unexcoff.[co].
       configure.in (UNEXEC_OBJ): Rename unexec.o => unexcoff.o.
       admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.
       etc/AUTHORS: Rename unexec.o => unexcoff.o.
       etc/PROBLEMS: Rename unexec.o => unex*.o.
       lisp/emacs-lisp/find-gc.el (find-gc-source-files): Rename
       unexec.c => unexcoff.c.
       lisp/emacs-lisp/authors.el (authors-fixed-entries): Rename
       unexec.c => unexcoff.c.
       msdos/sed1v2.inp (UNEXEC_OBJ): Edit to unexcoff.o, due to renaming of
       unexec.c => unexcoff.c.
      29cf3e20
    • Michael Albinus's avatar
      * tramp.texi (External packages): File attributes cache flushing · bbb6ffa1
      Michael Albinus authored
      for asynchronous processes.
      bbb6ffa1
    • Michael Albinus's avatar
      * net/tramp.el (tramp-handle-dired-uncache): Flush directory · 39e1bf0b
      Michael Albinus authored
      cache, not only file cache.
      (tramp-process-sentinel): New defun.
      (tramp-handle-start-file-process): Use it, in order to invalidate
      file caches.
      39e1bf0b
    • Nick Roberts's avatar
      Fix compilation error. · 3d15fe78
      Nick Roberts authored
      3d15fe78
  3. 04 Aug, 2010 2 commits
  4. 03 Aug, 2010 3 commits
  5. 02 Aug, 2010 8 commits
  6. 01 Aug, 2010 7 commits
  7. 31 Jul, 2010 1 commit