1. 11 Jul, 2011 1 commit
  2. 10 Jul, 2011 5 commits
    • Johan Bockgård's avatar
    • Jan Djärv's avatar
      * xmenu.c (menu_highlight_callback): Only pass frame to show_help_event · a560d974
      Jan Djärv authored
      for non-popups.
      Fixes: debbugs:3642
    • Andreas Schwab's avatar
      Protoize · 268c2c36
      Andreas Schwab authored
      * src/alloc.c (reset_malloc_hooks): Protoize.
      * src/cm.c (losecursor): Likewise.
      * src/ralloc.c (r_alloc_check): Likewise.
    • Andreas Schwab's avatar
      Protoize · 1dae0f0a
      Andreas Schwab authored
      * src/buffer.c (mmap_init, mmap_find, mmap_free_1, mmap_enlarge)
      (mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Protoize.
      * src/data.c (fmod): Likewise.
      * src/dispnew.c (swap_glyphs_in_rows): Likewise.
      * src/emacs.c (memory_warning_signal): Likewise.
      * src/floatfns.c (float_error): Likewise.
      * src/font.c (check_gstring, check_otf_features, otf_tag_symbol)
      (otf_open, font_otf_capability, generate_otf_features)
      (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
      * src/image.c (pbm_read_file): Likewise.
      * src/indent.c (string_display_width): Likewise.
      * src/intervals.c (check_for_interval, search_for_interval)
      (inc_interval_count, count_intervals, root_interval)
      (adjust_intervals_for_insertion, make_new_interval): Likewise.
      * src/lread.c (defalias): Likewise.
      * src/regex.c (set_image_of_range_1, set_image_of_range)
      (regex_grow_registers): Likewise.
      * src/sysdep.c (strerror): Likewise.
      * src/termcap.c (valid_filename_p, tprint, main): Likewise.
      * src/tparam.c (main): Likewise.
      * src/unexhp9k800.c (run_time_remap, save_data_space)
      (update_file_ptrs, read_header, write_header, calculate_checksum)
      (copy_file, copy_rest, display_header): Likewise.
      * src/widget.c (mark_shell_size_user_specified, create_frame_gcs):
      * src/xdisp.c (check_it): Likewise.
      * src/xfaces.c (register_color, unregister_color, unregister_colors):
      * src/xfns.c (print_fontset_result): Likewise.
      * src/xrdb.c (member, fatal, main): Likewise.
    • Paul Eggert's avatar
      Fix ChangeLog to reflect merge better. · 99033785
      Paul Eggert authored
  3. 09 Jul, 2011 5 commits
  4. 08 Jul, 2011 8 commits
    • Paul Eggert's avatar
      Simplify Emacs part of pthread_sigmask support. · 2a84b02d
      Paul Eggert authored
      * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid sigprocmask.
      * configure.in (AC_TYPE_UID_T): New dummy macro.
      Configure gnulib after adjusting LIBS,
      so that gnulib can assume the libraries in LIBS.
      * lib/pthread_sigmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
      New files, automatically imported from gnulib.
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * src/Makefile.in (LIB_PTHREAD_SIGMASK): New macro.
      (LIBES): Use it.
    • Jan Djärv's avatar
      Better fix that keeps corret margins in tooltip. · 1b854618
      Jan Djärv authored
      * gtkutil.c (qttip_cb): Set line wrap to FALSE for tooltip widget.
      (xg_prepare_tooltip): Revert text in x->ttip_lbl, margins was
      Fixes: debbugs:8591
    • Jan Djärv's avatar
      Don't let Gtk+ linewrap tooltips. · 0ce7e563
      Jan Djärv authored
      * gtkutil.c (xg_prepare_tooltip): Fix indentation and comment.
      Put text in x->ttip_lbl instead of gtk_tooltip_set_text.
      (xg_hide_tooltip): Fix comment.
      Fixes: debbugs:8591
    • Jan Djärv's avatar
      Fix breakage introduced by fixing Bug#8842. · 3fe4b549
      Jan Djärv authored
      * nsfns.m (Fx_open_connection): Put NSStringPboardType into
      * nsterm.m (initFrameFromEmacs): Don't use ns_return_types
      in registerServicesMenuSendTypes.
      (validRequestorForSendType): Don't check ns_return_types.
    • Jason Rumney's avatar
      * src/w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using · 5df75e47
      Jason Rumney authored
      frame struct members of non-existent frames.
      Fixes: debbugs:6284
    • Jan Djärv's avatar
      Fix warnings in ns*m files: Replace deprecated methods, declare new interfaces. · 4393663b
      Jan Djärv authored
      * emacs.c: Declare unexec_init_emacs_zone.
      * nsfns.m (check_ns_display_info): Cast to long and use %ld in error
      to avoid warning.
      * nsimage.m (allocInitFromFile): Don't use deprecated method
      bestRepresentationForDevice on OSX >= 10.6.
      * nsmenu.m (fillWithWidgetValue): Don't use depercated method
      sizeToFit on OSX >= 10.2.
      * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
      cString and lossyCString on OSX >= 10.4
      * nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4)
      (MAC_OS_X_VERSION_10_5): Define if not defined.
      (EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6.
      (EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6.
      (EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6.
      * nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and
      variable firstTime not needed on OSX >= 10.6.
      (setPosition): setFloatValue:knobProportion: is deprecated on OSX
      >= 10.5.  Use setKnobProportion, setDoubleValue.
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Fix services menu empty on OSX 1.6+. · 699c10bd
      Jan Djärv authored
      * nsfns.m (Fx_open_connection): Remove NSStringPboardType from
      (Fns_list_services): Just return Qnil on 10.6, code not working there.
      * nsmenu.m (ns_update_menubar): Remove useless setDelegate call
      on svcsMenu.
      * nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).
      * nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
      (ns_get_local_selection): Declare.
      * nsterm.m (QUTF8_STRING): Declare.
      (initFrameFromEmacs): Call registerServicesMenuSendTypes.
      (validRequestorForSendType): Return type is (id).
      Change indexOfObjectIdenticalTo to indexOfObject.
      Check if we have local selection before returning self (Bug#8842).
      (writeSelectionToPasteboard): Put local selection into paste board
      if we have a local selection (Bug#8842).
      (syms_of_nsterm): DEFSYM QUTF8_STRING.
  5. 07 Jul, 2011 6 commits
  6. 06 Jul, 2011 5 commits
  7. 05 Jul, 2011 3 commits
    • Juanma Barranquero's avatar
      Fix typos. · 9173deec
      Juanma Barranquero authored
    • Jan Djärv's avatar
      Use GConf and GSettings both, check GConf/GSettings toolbar style and font name. · 869795d6
      Jan Djärv authored
      * configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS.
      * lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event): 
      Update doc string.
      * src/xsettings.c: Use both GConf and GSettings if both are available.
      (store_config_changed_event): Add comment.
      (dpyinfo_valid, store_font_name_changed, map_tool_bar_style)
      (store_tool_bar_style_changed): New functions.
      (store_monospaced_changed): Add comment. Call dpyinfo_valid.
      (struct xsettings): Move font inside HAVE_XFT.
      Move inside HAVE_XFT.
      (something_changed_gsettingsCB): Renamed from something_changedCB.
      (GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
      (something_changed_gconfCB): Renamed from something_changedCB.
      Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also.
      (parse_settings): Move check for font inside HAVE_XFT.
      (read_settings, apply_xft_settings): Add comment.
      (read_and_apply_settings): Add comment.  Call map_tool_bar_style and
      store_tool_bar_style_changed.  Move check for font inside HAVE_XFT and
      call store_font_name_changed.
      (xft_settings_event): Add comment.
      (init_gsettings): Add comment.  Get values for GSETTINGS_TOOL_BAR_STYLE
      and GSETTINGS_FONT_NAME.  Move check for fonts within HAVE_XFT.
      (init_gconf): Add comment.  Get values for GCONF_TOOL_BAR_STYLE
      and GCONF_FONT_NAME.  Move check for fonts within HAVE_XFT.
      (xsettings_initialize): Call init_gsettings last.
      (xsettings_get_system_font, xsettings_get_system_normal_font): Add
    • Paul Eggert's avatar
      Random fixes. E.g., (random) never returned negative values. · d8ed26bd
      Paul Eggert authored
      * fns.c (Frandom): Use GET_EMACS_TIME for random seed, and add the
      subseconds part to the entropy, as that's a bit more random.
      Prefer signed to unsigned, since the signedness doesn't matter and
      in general we prefer signed.  When given a limit, use a
      denominator equal to INTMASK + 1, not to VALMASK + 1, because the
      latter isn't right if USE_2_TAGS_FOR_INTS.
      * sysdep.c (get_random): Return a value in the range 0..INTMASK,
      not 0..VALMASK.  Don't discard "excess" bits that random () returns.
  8. 04 Jul, 2011 7 commits