1. 31 Aug, 2012 6 commits
  2. 30 Aug, 2012 11 commits
  3. 29 Aug, 2012 5 commits
  4. 28 Aug, 2012 15 commits
    • Stefan Monnier's avatar
      * cl-lib.el (buffer-string): Simplify last change. · d5e2bcd3
      Stefan Monnier authored
      Fixes: debbugs:12293
      d5e2bcd3
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-lib.el (buffer-string): Fix setter macro. · 9fba804b
      Stefan Monnier authored
      Fixes: debbugs:12293
      9fba804b
    • Glenn Morris's avatar
    • Andreas Schwab's avatar
      * admin/charsets/mule-charsets.el (header): Fix typo. · 01e0f0f5
      Andreas Schwab authored
      * etc/charsets/MULE-ethiopic.map: Fix typo in comment.
      * etc/charsets/MULE-ipa.map: Likewise.
      * etc/charsets/MULE-is13194.map: Likewise.
      * etc/charsets/MULE-lviscii.map: Likewise.
      * etc/charsets/MULE-sisheng.map: Likewise.
      * etc/charsets/MULE-tibetan.map: Likewise.
      * etc/charsets/MULE-uviscii.map: Likewise.
      01e0f0f5
    • Jan Djärv's avatar
      Improve NS dialogs. Add close button, remove ugly casts. · 7f8941d8
      Jan Djärv authored
      * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize
      button_values to NULL. Call setStykeMask so dialogs get a close button.
      (windowShouldClose:): Set window_closed.
      (dealloc): New member, free button_values.
      (process_dialog:): Make member function. Remove window argument,
      replace window with self. Count buttons and allocate and store values
      in button_values.
      (addButton:value:row:): value is int with the name tag.  Call setTag
      with tag. Remove return self, declare return value as void.
      (addString:row:): Remove return self, declare return value as void.
      (addSplit): Remove return self, declare return value as void.
      (clicked:): Remove return self, declare return value as void.
      Set dialog_return to button_values[seltag]. Code formatting change.
      (initFromContents:isQuestion:): Adjust call to process_dialog.
      Code formatting change.
      (timeout_handler:): Set timer_fired to YES.
      (runDialogAt:): Set timer_fired to NO.
      Handle click on close button as quit.
      
      * nsterm.h (EmacsDialogPanel): Make timer_fired BOOL.
      Add window_closed and button_values.  Add void as return value for
      add(Button|String|Split).  addButton takes int instead of Lisp_Object.
      Add process_dialog as new member.
      7f8941d8
    • Glenn Morris's avatar
    • Martin Rudalics's avatar
      In Fset_window_configuration install revison of reverted fix. · 37b9743e
      Martin Rudalics authored
      * window.c (Fset_window_configuration): Install revision of reverted
      fix.
      37b9743e
    • Martin Rudalics's avatar
      Remove handling of auto-buffer-name window parameter. · 457294dd
      Martin Rudalics authored
      * window.c (Fset_window_configuration): Remove handling of
      auto-buffer-name window parameter.
      457294dd
    • Kenichi Handa's avatar
      merge trunk · 4eb4de01
      Kenichi Handa authored
      4eb4de01
    • Dmitry Antipov's avatar
      Do not allow to set major mode for a dead buffer. · 4f2daf31
      Dmitry Antipov authored
      * buffer.c (Fset_buffer_major_mode): Signal an error
      if the buffer is dead.
      (Fother_buffer, other_buffer_safely): Remove redundant
      nested declaration.
      4f2daf31
    • Katsumi Yamaoka's avatar
    • Juri Linkov's avatar
      * lisp/info.el (Info-fontify-node): Hide empty lines at the end of the node. · d44688e4
      Juri Linkov authored
      Fixes: debbugs:12272
      d44688e4
    • Dmitry Antipov's avatar
      Always use set_buffer_if_live to restore original buffer at unwind. · 66322887
      Dmitry Antipov authored
      * buffer.h (record_unwind_current_buffer): New function.
      * bytecode.c, dispnew.c, editfns.c, fileio.c, fns.c, insdel.c:
      * keyboard.c, keymap.c, minibuf.c, print.c, process.c, textprop.c:
      * undo.c, window.c: Adjust users.
      * buffer.c (set_buffer_if_live): Fix comment.
      66322887
    • Dmitry Antipov's avatar
      Fix usage of set_buffer_internal. · a3d794a1
      Dmitry Antipov authored
      * buffer.h (set_buffer_internal): Make it BUFFER_INLINE.
      * buffer.c (set_buffer_if_live): Use set_buffer_internal.
      * coding.c (decode_coding): Omit redundant test.
      * fileio.c (decide_coding_unwind): Likewise.
      * fns.c (secure_hash): Likewise.
      * insdel.c (modify_region): Likewise.
      * keyboard.c (command_loop_1): Likewise.
      * print.c (PRINTFINISH): Likewise.
      * xdisp.c (run_window_scroll_functions): Use set_buffer_internal.
      a3d794a1
    • Paul Eggert's avatar
      * dispnew.c: Use bool for boolean. · 59ea14cd
      Paul Eggert authored
      (frame_garbaged, display_completed, delayed_size_change)
      (fonts_changed_p, add_window_display_history)
      (add_frame_display_history, verify_row_hash)
      (adjust_glyph_matrix, clear_window_matrices, glyph_row_slice_p)
      (row_equal_p, realloc_glyph_pool)
      (allocate_matrices_for_frame_redisplay)
      (showing_window_margins_p)
      (adjust_frame_glyphs_for_frame_redisplay)
      (build_frame_matrix_from_leaf_window, make_current)
      (mirrored_line_dance, mirror_line_dance, update_frame)
      (update_window_tree, update_single_window)
      (check_current_matrix_flags, update_window, update_text_area)
      (update_window_line, set_window_update_flags, scrolling_window)
      (update_frame_1, scrolling, buffer_posn_from_coords)
      (do_pending_window_change, change_frame_size)
      (change_frame_size_1, sit_for):
      Use bool for boolean.
      (clear_glyph_matrix_rows): Rename from enable_glyph_matrix_rows,
      and remove last int (actually boolean) argument, which was always 0.
      All callers changed.
      * dispextern.h, frame.h, lisp.h: Reflect above API changes.
      * dispextern.h (struct composition_it): Use bool for boolean.
      (struct glyph_matrix): Don't assume buffer sizes can fit in 'int'.
      (struct bidi_it): Use unsigned:1, not int, for boolean prev_was_pdf.
      * dired.c (file_name_completion):
      Use bool for boolean.  (This was missed in an earlier change.)
      59ea14cd
  5. 27 Aug, 2012 3 commits
    • Martin Rudalics's avatar
      In Fset_window_configuration revert first part of last change. · 95072a94
      Martin Rudalics authored
      * window.c (Fset_window_configuration): Revert first part of
      last change.
      95072a94
    • Jan Djärv's avatar
      * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize · 0f19feff
      Jan Djärv authored
      dialog_return.
      (windowShouldClose:): Use stop instead of stopModalWithCode.
      (clicked:): Ditto, and also set dialog_return.
      (timeout_handler:): Use stop instead of abortModal.  Send a dummy
      event.
      (runDialogAt:): Make ret Lisp_Object.  Set it from dialog_return when
      modal loop returns.
      
      * nsterm.h (NSPanel): New class variable dialog_return.
      
      Fixes: debbugs:12258
      0f19feff
    • Paul Eggert's avatar
      * composite.c, data.c, dbusbind.c, dired.c: Use bool for booleans. · de1339b0
      Paul Eggert authored
      * composite.c (find_composition, composition_gstring_p)
      (composition_reseat_it, find_automatic_composition):
      * data.c (let_shadows_buffer_binding_p)
      (let_shadows_global_binding_p, set_internal, make_blv)
      (Fmake_variable_buffer_local, Fmake_local_variable)
      (Fmake_variable_frame_local, arithcompare, cons_to_unsigned)
      (cons_to_signed, arith_driver):
      * dbusbind.c (xd_in_read_queued_messages):
      * dired.c (directory_files_internal, file_name_completion):
      Use bool for booleans.
      * dired.c (file_name_completion):
      * process.h (fd_callback):
      Omit int (actually boolean) argument.  It wasn't being used.
      All uses changed.
      * composite.h, lisp.h: Reflect above API changes.
      de1339b0