1. 10 Oct, 2012 2 commits
  2. 09 Oct, 2012 4 commits
  3. 08 Oct, 2012 15 commits
  4. 07 Oct, 2012 6 commits
    • Eli Zaretskii's avatar
      Don't abort when ralloc.c:relinquish cannot return a heap to the system. · 98daa893
      Eli Zaretskii authored
       src/ralloc.c (relinquish): If a heap is ready to be relinquished,
       but it still has blocs in it, don't return it to the system,
       instead of aborting.  (Bug#12402)
      98daa893
    • Jan Djärv's avatar
      Reformat last entries to fit 80 columns. · 8ad5b73b
      Jan Djärv authored
      8ad5b73b
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Check for OSX >= 10.4 to match what the maunal says and what we actually support. · 335f5ae4
      Jan Djärv authored
      * configure.ac: Check that OSX is 10.4 or newer.
      
      * etc/NEWS (NextStep/OSX port changes): OSX 10.4 or newer is required.
      
      * src/nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4.
      (ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4.
      
      * src/nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger.
      
      * src/nsmenu.m (fillWithWidgetValue:): Remove code for < MAC_OS_X_VERSION_10_2.
      
      * src/nsselect.m (ns_string_from_pasteboard): Remove check for >=
      MAC_OS_X_VERSION_10_4.
      
      * src/nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
      (EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
      (struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.
      335f5ae4
    • Jan Djärv's avatar
      * nsfns.m (ns_in_resize): Remove. · 3bc0a2f7
      Jan Djärv authored
      (x_set_icon_name, ns_set_name, ns_set_name_as_filename):  Remove ns_in_resize
      check.
      
      * nsterm.m (ns_in_resize): Remove.
      (ns_resize_handle_rect, mouseDown, mouseUp, mouseDragged): Remove.
      (ns_clear_frame, sendEvent, windowDidResize, drawRect:): Remove ns_in_resize
      check.
      (ns_clear_frame_area): Remove resize handle code.
      
      Fixes: debbugs:12479
      3bc0a2f7
    • Paul Eggert's avatar
      Improve sys_siglist detection. · c622b48f
      Paul Eggert authored
      * configure.ac (sys_siglist): Look for its decl in <signal.h>.
      Otherwise, it's not found in either Fedora 17 or Solaris 11.
      * src/sysdep.c (sys_siglist, init_signals): Use _sys_siglist if it's
      defined as a macro, as is done in Solaris.
      (sys_siglist_entries): New macro.
      (save_strsignal): Use it.
      * src/syssignal.h (safe_strsignal): Now ATTRIBUTE_CONST, to pacify
      GCC 4.7.2 on Fedora 17 with the fixed sys_siglist detection.
      c622b48f
  5. 06 Oct, 2012 2 commits
    • Jan Djärv's avatar
      Handle fullscreen parameter in initial/defult-frame-alist for NS. · 04fafa46
      Jan Djärv authored
      * nsfns.m (Fx_create_frame): Call x_default_parameter with
      fullscreen/Fullscreen.
      
      * nsterm.h (EmacsView): Rename tbar_height to tibar_height.
      tobar_height is new.
      
      * nsterm.m (x_make_frame_visible): Check for fullscreen.
      (ns_fullscreen_hook): Activate old style fullscreen with a timer.
      (ns_term_init): Set activateIgnoringOtherApps if old style fullscreen.
      (windowDidResize:): Check for correct window if old style fullscreen.
      Capitalize word in comment.  Remove incorrect comment.
      (initFrameFromEmacs:): tbar_height renamed tibar_height.
      (windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix
      error in drawing background.
      (toggleFullScreen:): Remove comment. Rearrange calls.
      Set toolbar values to zero, save old height in tobar_height.
      Restore tool bar height when leaving fullscreen.
      (canBecomeMainWindow): New function.
      04fafa46
    • Paul Eggert's avatar
  6. 05 Oct, 2012 2 commits
    • Eli Zaretskii's avatar
      Fix a typo in a w32proc.c declaration. · a65fbb5f
      Eli Zaretskii authored
       src/w32proc.c (stop_timer_thread): Fix declaration of 'err'.
      a65fbb5f
    • Eli Zaretskii's avatar
      Support setting file times of directories on MS-Windows. · 0d9f584b
      Eli Zaretskii authored
       src/w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so
       that time stamps of directories could also be changed.  Don't
       request the too broad GENERIC_WRITE, only the more restrictive
       FILE_WRITE_ATTRIBUTES access rights.
       src/fileio.c (Fset_file_times): Special-case ignoring errors for
       directories only on MSDOS, not on MS-Windows.
      0d9f584b
  7. 04 Oct, 2012 4 commits
  8. 02 Oct, 2012 5 commits
    • Paul Eggert's avatar
      * profiler.c (handle_profiler_signal): Fix a malloc race · a3c5c0c5
      Paul Eggert authored
      that caused Emacs to hang on Fedora 17 when profiling Lisp.
      a3c5c0c5
    • Jan Djärv's avatar
      914e743b
    • Eli Zaretskii's avatar
      Fix compilation warnings in the MS-Windows build. · d8ab37a8
      Eli Zaretskii authored
       src/w32proc.c (sys_wait): Declare 'signame' 'const char *', to be
       consistent with the change in return value of 'safe_strsignal'.
      
       nt/preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
       compiler warnings when using the value.
      d8ab37a8
    • Paul Eggert's avatar
      Prefer plain 'static' to 'static inline'. · 0a99eee1
      Paul Eggert authored
      * bidi.c (bidi_get_type, bidi_check_type, bidi_get_category)
      (bidi_set_sor_type, bidi_push_embedding_level)
      (bidi_pop_embedding_level, bidi_remember_char, bidi_copy_it)
      (bidi_cache_reset, bidi_cache_shrink, bidi_cache_fetch_state)
      (bidi_cache_search, bidi_cache_ensure_space)
      (bidi_cache_iterator_state, bidi_cache_find)
      (bidi_peek_at_next_level, bidi_set_paragraph_end)
      (bidi_count_bytes, bidi_char_at_pos, bidi_fetch_char)
      (bidi_explicit_dir_char, bidi_resolve_neutral_1):
      Now 'static', not 'static inline'.
      
      Fixes: debbugs:12541
      0a99eee1
    • Paul Eggert's avatar
      Count overruns when profiling; change units to ns. · b3ecad33
      Paul Eggert authored
      * lisp/profiler.el (profiler-sampling-interval): Change units
      from ms to ns, multiplying the default by 1000000 so that
      it remains 1 ms.
      (profiler-report-cpu-line-format): Give enough room for
      the maximum counters on 64-bit hosts.
      (profiler-report-render-calltree-1): Call them "CPU samples",
      not "Time (ms)", since they are not milliseconds now (and
      never really were).
      * src/profiler.c (handle_profiler_signal): Count sampling intervals, not ms.
      Give extra weight to samples after overruns, to attempt to count
      the time more accurately.
      (setup_cpu_timer): Change sampling interval units from ms to ns, since
      the underlying primitives nominally do ns.
      (Fprofiler_cpu_start): Document the change.  Mention that
      the sampling intervals are only approximate.
      b3ecad33