summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace to follow coding guidelines.Juanma Barranquero2010-07-0717-167/+167
|
* * coding.c, sysdep.c: Convert some more functions to standard C.Juanma Barranquero2010-07-073-107/+124
|
* * coding.c: Use SPECPDL_INDEX, DOS_NT.Juanma Barranquero2010-07-072-8/+14
|
* Minor zone.el fixes for bug#6483.Glenn Morris2010-07-062-35/+42
| | | | | | | | | | | | | | | Zone did not like the intangible newlines etc in the gomoku buffer. * lisp/play/zone.el (top-level): Do not require timer, tabify, or cl. (zone-shift-left): Ignore intangibility, and any errors from forward-char. (zone-shift-right): Remove no-op end-of-line. Ignore intangibility. (zone-pgm-putz-with-case): Use upcase-region rather than inserting, deleting, and copying text properties. (zone-line-specs, zone-pgm-stress): Check forward-line exit status. (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting to point-max is hard. (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes. (zone-fill-out-screen): Ignore intangibility.
* * src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.Dan Nicolaescu2010-07-062-2/+4
|
* * configure.in (getenv): Remove K&R declaration.Dan Nicolaescu2010-07-063-10/+4
|
* Make the function member of Lisp_Subr use standard C prototypes.Dan Nicolaescu2010-07-063-43/+62
| | | | | | | * src/lisp.h (struct Lisp_Subr): Use a union for the function member. (DECL_ALIGN): Add a cast for the function. * src/eval.c (Feval, Ffuncall): Use the proper type for each type function call.
* * fringe.c (draw_fringe_bitmap_1): Use lookup_named_face to getChong Yidong2010-07-062-5/+9
| | | | fringe face id, so face-remapping-alist works (Bug#6091).
* src/w32*.c: Convert function definitions to standard C.Juanma Barranquero2010-07-0614-822/+442
|
* Fix conflicting declarations of x_get_keysym_nameAndreas Schwab2010-07-064-2/+13
| | | | | | | * xterm.c (x_get_keysym_name): Change type of parameter to int. * lisp.h: Declare x_get_keysym_name. * keyboard.c (modify_event_symbol): Don't declare x_get_keysym_name here.
* Clean up movemail sourceAndreas Schwab2010-07-062-23/+40
| | | | | | | | | | | | | | | | | * movemail.c: Add MAIL_USE_POP around prototypes. Include <string.h> if HAVE_STRING_H. (strerror): Only declare if !HAVE_STRERROR. (fatal): Make static. (error): Likewise. (pfatal_with_name): Likewise. (pfatal_and_delete). Likewise. (concat): Likewise. (xmalloc): Likewise. (popmail): Likewise. (pop_retr): Likewise. (mbx_write): Likewise. (mbx_delimit_begin): Likewise. (mbx_delimit_end): Likewise.
* * movemail.c: Add MAIL_USE_POP around prototypes.Andreas Schwab2010-07-062-0/+6
|
* * src/ecrt0.c: Revert conversion to standard C.Dan Nicolaescu2010-07-052-3/+9
|
* Set default-frame-alist, if necessary, in menu/tool-bar-mode.Chong Yidong2010-07-053-9/+24
| | | | | | * menu-bar.el (menu-bar-mode): * tool-bar.el (tool-bar-mode): Replace default-frame-alist element if it has been set.
* Fix multi-click selection behavior (Bug#6565).Chong Yidong2010-07-052-5/+16
| | | | | * lisp/mouse.el (mouse-drag-track): Call mouse-start-end to handle word/line selection (Bug#6565).
* Convert function definitions and declarations to standard C.Dan Nicolaescu2010-07-055-26/+26
| | | | | | | | | * src/vm-limit.c (memory_warnings): * src/keyboard.c (modify_event_symbol): * src/floatfns.c (rounding_driver, ceiling2, floor2, truncate2) (round2, emacs_rint): * src/process.c (send_process, old_sigpipe): Convert function definitions and declarations to standard C.
* Convert most remaining function definitions to standard C.Juanma Barranquero2010-07-0510-1827/+811
| | | | | | | | * buffer.c, cm.c, eval.c, keyboard.c, process.c, term.c, vm-limit.c, * xdisp.c: Convert function definitions to standard C. * cm.c (cmputc): Arg C is now int, not char. * process.c (Fmake_network_process): Cast sockaddr_in* to sockaddr*.
* Set _NET_WM(_ICON)_NAME as per Extended Window Manager Hints (Bug#6563).Jan D2010-07-054-3/+40
| | | | | | | | | | | * xterm.h (Xatom_net_wm_name, Xatom_net_wm_icon_name): New. * xterm.c (x_term_init): Intern the _NET_WM_NAME and _NET_WM_ICON_NAME atoms. * xfns.c (x_set_name_internal): Set the EWMH _NET_WM_NAME and _NET_WM_ICON_NAME properties, too, matching what is done in the Gtk+ case.
* * xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype.Jan D2010-07-052-4/+4
|
* Fix some bad prototypes and formatting after conversion from K&R declaration.Jan D2010-07-057-77/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lwlib/lwlib-Xaw.c: Include <ctype.h> for isdigit. (fill_xft_data, set_text): Remove unused variable screen. (draw_text): Cast bp to FcChar8*. (find_xft_data): Return 0 if inst or xft_data is not set. (wm_delete_window): Correct prototype. Initialize widget to 0 and return if widget is still 0 after loop. * lwlib/xlwmenu.c (XlwMenuSetValues, XlwMenuInitialize): Correct prototype. (display_menu_item): Remove unused variable gi. (make_windows_if_needed): Remove unused variable screen. (XlwMenuRedisplay): Remove unused variable i. * src/gtkutil.c (xg_get_pixbuf_from_pix_and_mask) (xg_get_image_for_pixmap, create_dialog) (xg_get_file_with_selection, xg_get_file_name, update_cl_data) (menuitem_highlight_callback, make_menu_item) (xg_create_one_menuitem, create_menus, xg_update_menu_item) (xg_create_scroll_bar, xg_update_scrollbar_pos) (xg_set_toolkit_scroll_bar_thumb, xg_tool_bar_button_cb) (xg_tool_bar_proxy_help_callback, xg_tool_bar_detach_callback) (xg_tool_bar_attach_callback, xg_tool_bar_help_callback) (xg_tool_bar_item_expose_callback): Reformat prototype. (xg_update_menubar): GList *group => GSList *group. (xg_modify_menubar_widgets): Initialize witem to 0, check witem != 0 before use. (update_frame_tool_bar): 4:th param to xg_get_image_for_pixmap changed to GTK_IMAGE (wimage). * src/xsettings.c (something_changedCB, parse_settings) (apply_xft_settings): Reformat prototype. (something_changedCB, init_gconf): Remove unused variable i. (read_settings): Remove unused variable long_len. * src/xsmfns.c (SSDATA): New macro. (smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings passed to strlen/strcpy/strcat. (create_client_leader_window): Surround with #ifndef USE_GTK. Cast 7:th arg to XChangeProperty to (unsigned char *)
* * src/atimer.c: Use "" instead of <> for local includes forDan Nicolaescu2010-07-042-5/+8
| | | | consistency with the rest of the code.
* Convert declarations or definitions to standard C.Dan Nicolaescu2010-07-0419-204/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/xsmfns.c (smc_save_yourself_CB, smc_error_handler): * src/xrdb.c (get_system_name): * src/window.c (shrink_windows): * src/syntax.c (forw_comment): * src/scroll.c (calculate_scrolling, calculate_direct_scrolling) (ins_del_costs): * src/mem-limits.h (start_of_data): * src/lread.c (readevalloop): * src/gtkutil.c (xg_dialog_response_cb, xg_get_file_with_chooser) (xg_get_file_with_selection, xg_update_menubar, xg_update_submenu): * src/frame.c (x_get_focus_frame): * src/floatfns.c (fmod_float): * src/fileio.c (choose_write_coding_system): * src/emacs.c (fatal_error_signal, init_cmdargs, argmatch) (malloc_initialize_hook, sort_args, synchronize_locale): * src/doprnt.c (doprnt): * src/dired.c (compile_pattern): * src/data.c (fmod_float): * src/chartab.c (map_sub_char_table, map_sub_char_table_for_charset) (map_char_table_for_charset): * src/charset.c (define_charset_internal): * src/alloc.c (Fgarbage_collect): Convert declarations or definitions to standard C.
* * fileio.c (read_non_regular, read_non_regular_quit): Rename arg.Juanma Barranquero2010-07-052-5/+5
|
* * src/lread.c (read1): Fix up last change to not mess up `c'.Tetsurou Okazaki2010-07-042-24/+32
| | | | Fixes: debbugs:6490
* * strftime.c: Revert conversion to standard C ↵Juanma Barranquero2010-07-042-4/+23
| | | | (2010-07-04T07:50:25Z!dann@ics.uci.edu).
* * lisp/bookmark.el (bookmark-bmenu-switch-other-window,Karl Fogel2010-07-041-6/+3
| | | | | bookmark-bmenu-other-window, bookmark-bmenu-2-window): Don't override ambient binding of `bookmark-automatically-show-annotations'. (Bug #6515)
* * unexelf.c (round_up, find_section): Use ElfW macro for arguments.Juanma Barranquero2010-07-042-3/+6
|
* * print.c (strout): Use const char* for arg PTR.Juanma Barranquero2010-07-042-1/+3
|
* * net/dbus.el (dbus-send-signal): Declare function.Juanma Barranquero2010-07-042-0/+5
|
* Fix comments and whitespace.Juanma Barranquero2010-07-045-17/+7
|
* Fix more prototypes.Juanma Barranquero2010-07-044-3/+8
| | | | | | * atimer.c (start_atimer): Use EMACS_TIME, not struct timeval. * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval. * xgselect.c (xg_select): Use SELECT_TYPE, EMACS_TIME.
* Fix prototypes.Juanma Barranquero2010-07-044-7/+18
| | | | | | | | * dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent. * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object, as required by internal_condition_case_1. * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object. (analyse_first): Fix "const const".
* * dbus.texi (Receiving Method Calls): Add optional argumentMichael Albinus2010-07-042-3/+12
| | | | EMITS-SIGNAL to `dbus-register-property'.
* * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).Michael Albinus2010-07-042-13/+50
| | | | | (dbus-register-property): New optional argument EMITS-SIGNAL. (dbus-property-handler): Send signal "PropertiesChanged" if requested.
* Convert (most) functions in src to standard C.Dan Nicolaescu2010-07-0476-4821/+1932
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c: Convert function definitions to standard C. * src/atimer.c: * src/bidi.c: * src/bytecode.c: * src/callint.c: * src/callproc.c: * src/casefiddle.c: * src/casetab.c: * src/category.c: * src/ccl.c: * src/character.c: * src/charset.c: * src/chartab.c: * src/cmds.c: * src/coding.c: * src/composite.c: * src/data.c: * src/dbusbind.c: * src/dired.c: * src/dispnew.c: * src/doc.c: * src/doprnt.c: * src/ecrt0.c: * src/editfns.c: * src/fileio.c: * src/filelock.c: * src/filemode.c: * src/fns.c: * src/font.c: * src/fontset.c: * src/frame.c: * src/fringe.c: * src/ftfont.c: * src/ftxfont.c: * src/gtkutil.c: * src/indent.c: * src/insdel.c: * src/intervals.c: * src/keymap.c: * src/lread.c: * src/macros.c: * src/marker.c: * src/md5.c: * src/menu.c: * src/minibuf.c: * src/prefix-args.c: * src/print.c: * src/ralloc.c: * src/regex.c: * src/region-cache.c: * src/scroll.c: * src/search.c: * src/sound.c: * src/strftime.c: * src/syntax.c: * src/sysdep.c: * src/termcap.c: * src/terminal.c: * src/terminfo.c: * src/textprop.c: * src/tparam.c: * src/undo.c: * src/unexelf.c: * src/window.c: * src/xfaces.c: * src/xfns.c: * src/xfont.c: * src/xftfont.c: * src/xgselect.c: * src/xmenu.c: * src/xrdb.c: * src/xselect.c: * src/xsettings.c: * src/xsmfns.c: * src/xterm.c: Likewise.
* * lib-src/fakemail.c (action): Convert function definitions to standard C.Dan Nicolaescu2010-07-033-9/+11
| | | | | | (add_a_stream): * lib-src/test-distrib.c (cool_read): (main): Likewise.
* Convert function definitions in oldXMenu to standard C.Dan Nicolaescu2010-07-0333-241/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * oldXMenu/Activate.c: Convert function definitions to standard C. * oldXMenu/AddPane.c: * oldXMenu/AddSel.c: * oldXMenu/ChgPane.c: * oldXMenu/ChgSel.c: * oldXMenu/Create.c: * oldXMenu/DelPane.c: * oldXMenu/DelSel.c: * oldXMenu/Destroy.c: * oldXMenu/Error.c: * oldXMenu/EvHand.c: * oldXMenu/FindPane.c: * oldXMenu/FindSel.c: * oldXMenu/InsPane.c: * oldXMenu/InsSel.c: * oldXMenu/Internal.c: * oldXMenu/Locate.c: * oldXMenu/Post.c: * oldXMenu/Recomp.c: * oldXMenu/SetAEQ.c: * oldXMenu/SetFrz.c: * oldXMenu/SetPane.c: * oldXMenu/SetSel.c: * oldXMenu/X10.h: * oldXMenu/XCrAssoc.c: * oldXMenu/XDelAssoc.c: * oldXMenu/XDestAssoc.c: * oldXMenu/XLookAssoc.c: * oldXMenu/XMakeAssoc.c: * oldXMenu/XMenu.h: * oldXMenu/XMenuInt.h: * oldXMenu/insque.c: Likewise.
* Convert function definitions in lwlib files to standard C.Dan Nicolaescu2010-07-037-401/+149
| | | | | | | | | * lwlib/lwlib-Xaw.c: Convert function definitions to standard C. * lwlib/lwlib-Xlw.c: * lwlib/lwlib-utils.c: * lwlib/lwlib.c: * lwlib/lwlib.h: * lwlib/xlwmenu.c: Likewise.
* ebrowse.c (check_namespace): Fix indentation.Eli Zaretskii2010-07-031-2/+2
|
* Fix menu bar and colors on MS-DOS.Eli Zaretskii2010-07-033-77/+119
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos.c (IT_set_frame_parameters): Set menu-bar-lines according to menu-bar-mode, if not set in the frame parameters or in default-frame-alist. Fix setting of colors in frames other than the initial one. Fix reversal of colors when `reverse' is specified in the frame parameters. Call update_face_from_frame_parameter instead of internal-set-lisp-face-attribute. Initialize screen colors from initial_screen_colors[] when f->default_face_done_p is zero, instead of depending on being called with default-frame-alist as the alist argument. xfaces.c (update_face_from_frame_parameter): Move out of HAVE_WINDOW_SYSTEM portion. Condition window-system only parts with HAVE_WINDOW_SYSTEM.
| * Fix setting colors on MS-DOS frames.Eli Zaretskii2010-07-033-77/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos.c (IT_set_frame_parameters): Fix setting of colors in frames other than the initial one. Fix reversal of colors when `reverse' is specified in the frame parameters. Call update_face_from_frame_parameter instead of internal-set-lisp-face-attribute. Initialize screen colors from initial_screen_colors[] when f->default_face_done_p is zero, instead of depending on being called with default-frame-alist as the alist argument. xfaces.c (update_face_from_frame_parameter): Move out of HAVE_WINDOW_SYSTEM portion. Condition window-system only parts with HAVE_WINDOW_SYSTEM.
| * Fix menu bar display on MS-DOS.Eli Zaretskii2010-07-032-0/+22
| | | | | | | | | | | | msdos.c (IT_set_frame_parameters): Set menu-bar-lines according to menu-bar-mode, if not set in the frame parameters or in default-frame-alist.
* | Fix invalid castAndreas Schwab2010-07-032-4/+10
| | | | | | | | | | | | * sorted-doc.c (cmpdoc): Fix signature. (qsort_compare): Delete. (main): Remove cast.
* | lib-src/ebrowse.c (match_qualified_namespace_alias): Check for null pointer.Juanma Barranquero2010-07-032-1/+5
|/
* w32console.c (sys_tputs): Adjust argument list to prototype in term.c.Eli Zaretskii2010-07-032-1/+6
|
* Fix prototypes.Juanma Barranquero2010-07-038-8/+29
| | | | | | | | | | | | * src/cm.c (evalcost): Fix arg type. * src/cm.h (evalcost): Fix prototype. * src/lisp.h (memory_warnings): Fix prototype. * lib-src/ebrowse.c (match_qualified_namespace_alias): Pass sym* to find_namespace, not link*. * lib-src/emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET. * lib-src/sorted-doc.c (qsort_compare): New typedef. (main): Use it to cast cmpdoc.
* Fix typo in last change.Chong Yidong2010-07-021-3/+4
|
* Take note of mouse dragging changes in NEWS.Chong Yidong2010-07-021-0/+4
|
* Simplify mouse-dragging implementation.Chong Yidong2010-07-023-242/+136
| | | | | | | | | | | | | | | | Now that DEL deletes active regions, we can handle it by using the ordinary region instead of a separate overlay. * mouse.el (mouse-drag-overlay): Variable deleted. (mouse-move-drag-overlay, mouse-show-mark): Functions deleted. (mouse--remap-link-click-p): New function. (mouse-drag-track): Handle dragging by using temporary Transient Mark mode, instead of a special overlay. (mouse-kill-ring-save, mouse-save-then-kill): Don't call mouse-show-mark. * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay deleted.
* Convert function definitions to standard C.Dan Nicolaescu2010-07-0214-734/+347
| | | | | | | | | | | | | | | * lib-src/update-game-score.c: Convert function definitions to standard C. * lib-src/sorted-doc.c: * lib-src/profile.c: * lib-src/pop.c: * lib-src/movemail.c: * lib-src/make-docfile.c: * lib-src/hexl.c: * lib-src/fakemail.c: * lib-src/etags.c: * lib-src/ebrowse.c: * lib-src/digest-doc.c: * lib-src/b2m.c: Likewise.