aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (child_setup_tty, init_sys_modes): Use CDISABLE.Kim F. Storm2004-08-191-9/+9
|
* (child_setup_tty) [SIGNALS_VIA_CHARACTERS]:Richard M. Stallman2004-08-161-10/+13
| | | | | | Set VQUIT and VINTR chars to the standard ones if they are unset. [AIX]: Don't do that here. And don't force VINTR to standard when SIGNALS_VIA_CHARACTERS.
* mac.c (sys_select): Block input around call toSteven Tamm2004-07-191-4/+0
| | | | | | | | 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
* (BUFFER_SIZE_FACTOR): Remove.Kim F. Storm2004-02-271-22/+8
| | | | | | | | (read_input_waiting): Adapt to new read_socket_hook interface. Remove allocation and initialization of local input_event buffer, as read_socket_hook stores events directly in fifo. Allocate and initialize local hold_quit event to handle postponed quit event (and store it if set by kbd_buffer_store_event_hold).
* Move include stdio.h to same place as in other files.Jan Djärv2004-02-091-1/+1
|
* (mkdir, rmdir): Also check synch_process_termsig.Jan Djärv2004-01-261-2/+4
|
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* (kbd_input_ast, read_input_waiting): Don't pass uninitializedStefan Monnier2003-06-151-3/+8
| | | | data to kbd_buffer_store_event.
* Remove redundant include of unistd.h, stdlib.h. UseDave Love2003-06-121-12/+3
| | | | HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED.
* Make (few) trivial substitutions for renamed andKim F. Storm2003-05-241-3/+3
| | | | new macros in dispextern.h, frame.h and window.h.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-47/+47
|
* Have emacs_read use sys_read on carbon/Mac OS XSteven Tamm2002-12-081-0/+4
|
* (fcntl.h): Test only HAVE_FCNTL_H.Richard M. Stallman2002-12-041-9/+1
|
* (stuff_char) [PROTOTYPES]: Provide ISO C arglist.Dave Love2002-11-221-0/+4
|
* [MSDOS]: Don't define request_sigio andEli Zaretskii2002-08-191-1/+3
| | | | unrequest_sigio, they are defined on msdos.c.
* [!VMS]: Include sys/files.h.Richard M. Stallman2002-08-171-0/+4
|
* (start_of_data): Don't define the function if a macroKen Raeburn2002-07-241-0/+2
| | | | form has been defined.
* (end_of_text, end_of_data): Unused functions deleted.Ken Raeburn2002-07-211-37/+0
|
* (emacs_write): Buffer pointer now const.Ken Raeburn2002-07-191-1/+1
|
* (emacs_open, set_file_times): String pointer args nowKen Raeburn2002-07-161-2/+2
| | | | point to const.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-4/+4
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* (sys_signal): Test BROKEN_SA_RESTART.Richard M. Stallman2002-07-111-3/+5
|
* *** empty log message ***Pavel Janík2002-06-131-3/+3
|
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-6/+6
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* (wait_for_termination): Use sigsuspend rather than sigpause.Stefan Monnier2002-03-221-5/+1
|
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|
* (sys_subshell): Fix last change.Eli Zaretskii2002-03-041-4/+5
|
* (sys_subshell) [MSDOS]: If PWD is set in theEli Zaretskii2002-03-041-2/+16
| | | | environment, pass it down with corrected value.
* (init_system_name): Put unused variable `p' in #if 0.Pavel Janík2002-02-081-0/+2
|
* Include <config.h>.Pavel Janík2002-01-011-1/+3
|
* Test GNU_LINUX, not LINUX.Richard M. Stallman2001-12-111-2/+2
|
* Comment change.Richard M. Stallman2001-11-191-1/+1
|
* (wait_for_kbd_input) [VMS]: Do not call clear_waiting_for_input withPavel Janík2001-11-161-1/+1
| | | | argument.
* (child_setup_tty): Don't clear ICRNL or INLCR.Richard M. Stallman2001-11-111-0/+2
|
* (delete-exited-processes): Change doc-string comments to `new style' ↵Pavel Janík2001-10-211-2/+2
| | | | [w/`doc:' keyword].
* (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:Gerd Moellmann2001-10-081-0/+5
| | | | Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
* Don't define min/max.Gerd Moellmann2001-10-081-2/+0
|
* (wait_for_termination) [POSIX_SIGNALS]: TerminateGerd Moellmann2001-09-211-1/+2
| | | | only if kill returns -1, and errno is ESRCH.
* (wait_for_termination): Add a FIXME comment for the use of non-POSIXGerd Moellmann2001-09-201-0/+5
| | | | sigpause.
* (getwd) [!HAVE_GETWD]: Unblock input before returning.Gerd Moellmann2001-04-051-1/+4
|
* Call redisplay_preserve_echo_area with additional arg.Gerd Moellmann2001-01-161-1/+1
|
* (random): Revert the declaration.Dave Love2001-01-101-0/+5
|
* Update copyright.Gerd Moellmann2001-01-051-1/+1
|
* Don't prototype srandom; it takes an unsigned argumentGerd Moellmann2001-01-051-0/+4
| | | | on some systems, and an unsigned long on others, like FreeBSD 4.1.
* (random, srandom): Declare explicitly.Dave Love2001-01-041-1/+7
|
* Move the code for declaring h_errno after #include <netdb.h>.Kenichi Handa2000-11-211-6/+6
|
* (emacs_ospeed): New variable.Gerd Moellmann2000-11-191-18/+14
| | | | | (toplevel): Don't declare ospeed extern. (init_baud_rate): Use emacs_ospeed instead of ospeed.
* (read_input_waiting): Remove extraneous argument toAndrew Innes2000-11-051-1/+1
| | | | read_socket_hook.
* Initial check-in: changes for building Emacs under Mac OS.Andrew Choi2000-10-221-1565/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Andrew Choi <akochoi@i-cable.com> * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. * dispnew.c [macintosh]: Include macterm.h. (init_display) [macintosh]: initialization for window system. * emacs.c (main) [macintosh]: Call syms_of_textprop, syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, syms_of_search, x_term_init, and init_keyboard before calling init_window_once. Also, call syms_of_xmenu. * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of default fontset to Monaco. * frame.c [macintosh]: Include macterm.h. Remove declarations of NewMacWindow and DisposeMacWindow. (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame instead of calling NewMacWindow and setting fields of f->output_data.mac directly. Call init_frame_faces. (Fdelete_frame) [macintosh]: Remove unused code. (Fmodify_frame_parameters) [macintosh]: Call x_set_frame_parameters instead of mac_set_frame_parameters. * frame.h [macintosh]: Define menu_bar_lines field in struct frame. Define FRAME_EXTERNAL_MENU_BAR macro. * keyboard.c [macintosh]: Include macterm.h. (kbd_buffer_get_event) [macintosh]: Generate delete_window_event and menu_bar_activate_event type events as for X and NT. (make_lispy_event) [macintosh]: Construct lisp events of type MENU_BAR_EVENT as for X and NT. * sysdep.c [macintosh]: Remove declaration for sys_signal. Include stdlib.h. Remove definition of Vx_bitmap_file_path. (sys_subshell) [macintosh]: Remove definition entirely. (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and Vwindow_system_version here. Remove initialization of Vx_bitmap_file_path. (read_input_waiting): Correct the number of parameters passed to read_socket_hook. Move all Macintosh functions to mac/mac.c. * term.c [macintosh]: Include macterm.h. * window.c [macintosh]: Include macterm.h. * xdisp.c [macintosh]: Include macterm.h. Declare set_frame_menubar and pending_menu_activation. (echo_area_display) [macintosh]: Do not return if terminal frame is the selected frame. (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). Allow only the selected frame to set menu bar. (redisplay_window) [macintosh]: Obtain menu bar to redisplay by calling FRAME_EXTERNAL_MENU_BAR (f). (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). * xfaces.c [macintosh]: Include macterm.h. Define x_display_info and check_x. Declare XCreateGC. Define x_create_gc and x_free_gc. Initialize font_sort_order. (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, but call x_list_fonts instead of w32_list_fonts. (Finternal_face_x_get_resource) [macintosh]: Do not call display_x_get_resource. (prepare_face_for_display) [macintosh]: Set xgcv.font. (realize_x_face) [macintosh]: Load the font if it is specified in ATTRS. (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt. * cus-edit.el (custom-button-face): Use 3D look for mac. (custom-button-pressed-face): Likewise. * faces.el (set-face-attributes-from-resources): Handle mac frames in the same way as x and w32 frames. (face-valid-attribute-values): Likewise. (read-face-attribute): Likewise. (defined-colors): Likewise. (color-defined-p): Likewise. (color-values): Likewise. (display-grayscale-p): Likewise. (face-set-after-frame-default): Likewise. (mode-line): Same default face as for x and w32. (tool-bar): Likewise. * frame.el: Remove call to frame-notice-user-settings at end of the file. * info.el (Info-fontify-node): make underlines invisible for mac as for x, pc, and w32 frame types. * term/mac-win.el: New file.
* Don't include string.h.Dave Love2000-10-061-2/+3
| | | | (h_errno): Declare conditional also on TRY_AGAIN.