aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindowSteven Tamm2004-10-101-18/+29
| | | | | | | | | | | | | | (x_lower_frame): Add BLOCK_INPUT around SendBehind (make_mac_frame): Add BLOCK_INPUT around the making of a terminal frame (mac_initialize): Add BLOCK_INPUT around carbon initialization macgui.h (mktime): Use emacs_mktime macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. Make a cancel file-open dialog be like C-g. mac.c (mktime): Use emacs_mktime (Fdo_applescript): Add BLOCK_INPUT around do_applescript (Fmac_paste_function): Add better error handling for carbon cut/paste
* config.in (HAVE_MALLOC_MALLOC_H): RegenerateSteven Tamm2004-10-081-0/+1
| | | | | | | | macterm.c (mac_check_for_quit_char): Remove warning for using NULL where 0 should be used unexmacosx.c: Use malloc/malloc.h on Tiger instead of objc/malloc.h mac.c: Include time.h for Tiger compatibility
* mac.c (sys_select): Block input around call toSteven Tamm2004-07-191-66/+80
| | | | | | | | ReceiveNextEvent to prevent breakage. Correctly handle blocking on event queue only by calling ReceiveNextEvent instead of select (since GUI events aren't on an fd). (sys_read): Remove function sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON
* Fixing typo in sys_select.Steven Tamm2004-07-191-1/+1
|
* Fixes for Ctrl-G support on carbon, replacing old timeout based pollingSteven Tamm2004-07-191-27/+30
| | | | | | | | | | | | | | with alarm based polling. mac.c (sys_select): Redo sys_select to use alarm-based polling instead of 1 sec timeouts (like solaris). macterm.c (x_make_frame_visible): Comment in polling on frame creation. keyboard.c: Undef SIGIO on Carbon atimer.c (alarm_signal_handler): Call alarm handlers after scheduling. eval.c (Feval): Remove quit_char test process.c (wait_reading_process_input): Remove clearing stdin for select call on process input
* (struct my_group): Added.Lars Hansen2003-11-221-0/+15
| | | | (getgrgid): Added.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* mac.c (init_mac_osx_environment): Switch libexec and bin so that self-Steven Tamm2003-04-081-2/+2
| | | | cohntained application find libexec files.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-8/+8
|
* * macterm.c (mac_check_for_quit_char): Correctly set theSteven Tamm2002-12-121-4/+14
| | | | | | modifiers of the event to 0. * mac.c (sys_select): Duplicate rfds before calling select to ensure that rfds survive the while loop.
* Modifying sys_read to not check the event queue if timeout=0 and to neverSteven Tamm2002-12-101-1/+6
| | | | use a timeout larger than the one passed in.
* Fixed OSX sys_read to not call select if IO is non-blockingSteven Tamm2002-12-101-1/+3
|
* sys_select: Call mac_check_for_quit_char every second while blockingSteven Tamm2002-12-081-1/+52
| | | | | sys_read: Use sys_select to test for input first before calling read to allow sys_select to test for quit_char.
* Fix typo in comment.Juanma Barranquero2002-10-181-143/+143
|
* 2002-08-15 Andrew Choi <akochoi@shaw.ca>Andrew Choi2002-08-161-0/+136
| | | | | | * mac.c (init_mac_osx_environment): New function. * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment.
* 2002-08-10 Andrew Choi <akochoi@shaw.ca>Andrew Choi2002-08-111-0/+24
| | | | | | | | | * mac.c (sys_select) [MAC_OSX]: New function. * macterm.c (MakeMeTheFrontProcess): New function. (mac_initialize): Call MakeMeTheFrontProcess. * s/darwin.h: Define select to sys_select.
* 2002-08-02 Andrew Choi <akochoi@shaw.ca>Andrew Choi2002-08-021-2/+0
| | | | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-6/+6
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* 2002-06-17 Andrew Choi <akochoi@shaw.ca>Andrew Choi2002-06-171-2/+5
| | | | | | | * mac.c (do_applescript): Call initialize_applescript if necessary when first called. Dispose of result_desc only when there is no error. (Fdo_applescript): Use %d format specifier instead of %ld.
* In src/:Andrew Choi2002-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-16 Andrew Choi <akochoi@shaw.ca> * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of Vdefault_fontset to Monaco with mac-roman coding. * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine init_process before and after inclusion of Carbon/Carbon.h, resp. * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and cursor_gc. (add_font_name_table_entry): New function. (init_font_name_table): Use add_font_name_table_entry; add italic, bold, and bold-italic entries for truetype fonts. * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces for Mac too. (try_font_list) [MAC_OS]: If no font matches given registry, try fonts with any registry matching face_family. (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. * s/darwin.h: If autoconf detects the Ncurses library, define LIBS_TERMCAP to -lncurses to use it. In lisp/: 2002-06-16 Andrew Choi <akochoi@shaw.ca> * term/mac-win.el (scalable-fonts-allowed): Set to t.
* (mac-cut-function): Doc fix.Pavel Janík2002-05-061-1/+1
|
* (run_mac_command): Update call to openp.Stefan Monnier2002-04-301-1/+1
|
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-0/+2758
lisp/ChangeLog, and src/ChangeLog for list of changes.