1. 08 Jun, 2007 1 commit
  2. 06 Mar, 2007 1 commit
  3. 21 Jan, 2007 1 commit
  4. 24 Nov, 2006 1 commit
  5. 12 Nov, 2006 1 commit
  6. 19 Oct, 2006 1 commit
  7. 11 Aug, 2006 1 commit
  8. 18 Jul, 2006 1 commit
  9. 05 Mar, 2006 1 commit
  10. 28 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xselect.c (x_catch_errors_unwind): New function. · c525d842
      Chong Yidong authored
      	(x_reply_selection_request): Put x_uncatch_errors in an unwind.
      	(Fx_get_atom_name): Call x_uncatch_errors earlier.
      
      	* window.c (Qscroll_up, Qscroll_down): New syms.
      	(window_scroll_pixel_based): Make preserve_y static to avoid
      	getting point stuck when scrolling 1 line.
      c525d842
  11. 27 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary · 4545fa20
      Chong Yidong authored
      	argument.
      
      	* xterm.c: (x_load_font, x_term_init, XTmouse_position)
      	(handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
      	x_uncatch_errors.
      
      	* xselect.c (x_own_selection, x_decline_selection_request)
      	(x_reply_selection_request, x_get_foreign_selection)
      	(Fx_get_atom_name, Fx_send_client_event): Likewise.
      
      	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
      	Likewise.
      4545fa20
  12. 25 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xterm.h (x_catch_errors) Return value changed to void. · 9ba8e10d
      Chong Yidong authored
      	(x_uncatch_errors): Unused count argument deleted.
      
      	* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
      	it can be called in a signal handler.
      	(x_catch_errors_unwind): Function deleted.
      	(x_uncatch_errors): Deallocate last x_error_message_stack struct.
      	(x_check_errors): Call x_uncatch_errors before signalling error.
      
      	(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
      	(x_connection_closed, x_list_fonts): Use new versions of
      	x_catch_errors and x_uncatch_errors.
      
      	* xselect.c (x_own_selection, x_decline_selection_request)
      	(x_reply_selection_request, x_get_foreign_selection)
      	(Fx_get_atom_name, Fx_send_client_event): Likewise.
      
      	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
      	Likewise.
      
      	* eval.c (record_unwind_protect): Add an assertion.
      9ba8e10d
  13. 06 Feb, 2006 1 commit
  14. 19 Dec, 2005 1 commit
  15. 07 Aug, 2005 1 commit
  16. 12 Jul, 2005 1 commit
  17. 04 Jul, 2005 1 commit
  18. 23 Jun, 2005 1 commit
  19. 17 Jun, 2005 1 commit
  20. 17 Feb, 2005 1 commit
  21. 14 Feb, 2005 1 commit
  22. 08 Feb, 2005 1 commit
  23. 07 Feb, 2005 1 commit
    • Jan Djärv's avatar
      * xselect.c (x_reply_selection_request): Pass long array to · e22cf39c
      Jan Djärv authored
      XChangeProperty so that 64 bit longs are handeled correctly.
      (x_get_window_property): If format is 32 and long is bigger than 32
      bits convert data from XGetWindowProperty from long array to int array.
      (lisp_data_to_selection_data): When the input is a vector and the
      format is 32, allocate a long array even if long is bigger than 32 bits.
      (x_fill_property_data): Use char, short and long as the man page
      for XChangeProperty specifies.  This way the data returned is OK for
      both 32 and 64 bit machines.
      (x_handle_dnd_message): Calculate size correctly even for 64 bit
      machines.
      (Fx_send_client_event): Undo change from 2005-02-05,
      x_fill_property_data now handles that case.
      e22cf39c
  24. 05 Feb, 2005 1 commit
  25. 07 Jan, 2005 1 commit
    • Jan Djärv's avatar
      * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) · ff59904a
      Jan Djärv authored
      (xg_tool_bar_callback, xg_tool_bar_help_callback)
      (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler
      warning.
      
      * xselect.c (x_get_foreign_selection, x_fill_property_data)
      (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with
      XFLOAT_DATA to get extract number from Lisp object.
      ff59904a
  26. 22 Dec, 2004 1 commit
  27. 09 Nov, 2004 1 commit
  28. 05 Nov, 2004 2 commits
    • Kim F. Storm's avatar
      * xselect.c (struct selection_event_queue, selection_queue) · dd0fe424
      Kim F. Storm authored
      (x_queue_selection_requests, x_queue_event)
      (x_start_queuing_selection_requests)
      (x_stop_queuing_selection_requests): Add new queue for selection
      input events to replace previous XEvent queue in xterm.c.
      (queue_selection_requests_unwind): Adapt to new queue.
      (x_reply_selection_request): Adapt to new queue.  Unexpect
      wait_object in case of x errors (memory leak).
      (x_handle_selection_request, x_handle_selection_clear): Make static.
      (x_handle_selection_event): New function.  May queue selection events.
      (wait_for_property_change_unwind): Use save_value instead of cons.
      Clear property_change_reply_object.
      (wait_for_property_change): Abort if already waiting.
      Use save_value instead of cons for unwind data.
      (x_handle_property_notify): Skip events already arrived, but don't
      free them, as "arrived" field is checked by wait_for_property_change,
      and it will be freed by unwind or explicit unexpect_property_change.
      (x_get_foreign_selection): Add to new queue.
      (receive_incremental_selection): Don't unexpect wait_object when done
      as it has already been freed by previous wait_for_property_change.
      dd0fe424
    • Jan Djärv's avatar
      * xselect.c (TRACE3): New debug macro. · 9c3ad9e1
      Jan Djärv authored
      (x_reply_selection_request): Use it.
      (receive_incremental_selection): In call to TRACE0, the name of
      a symbol is in xname.
      9c3ad9e1
  29. 28 Oct, 2004 1 commit
  30. 10 Sep, 2004 2 commits
  31. 20 Aug, 2004 1 commit
  32. 19 Aug, 2004 1 commit
  33. 16 Jun, 2004 1 commit
  34. 16 Feb, 2004 1 commit
  35. 10 Feb, 2004 1 commit
  36. 05 Feb, 2004 1 commit
  37. 03 Feb, 2004 1 commit
    • Jan Djärv's avatar
      * xselect.c: Include termhooks.h and X11/Xproto.h · 1fb3821b
      Jan Djärv authored
      (x_check_property_data, x_fill_property_data)
      (x_property_data_to_lisp, mouse_position_for_drop)
      (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support.
      (Fx_send_client_event): Moved here from xfns.c.
      (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message.
      1fb3821b
  38. 01 Sep, 2003 1 commit