aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-1/+6
| | | | | | (NULL) [WINDOWSNT]: Define NULL if not defined. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
* (run_mac_command, closedir): Use `xfree' instead of `free'.Gerd Moellmann2000-08-051-2/+1
|
* (opendir, GetTempDirName, run_mac_command): Use xmallocGerd Moellmann2000-08-051-12/+13
| | | | | instead of malloc. (run_mac_command, closedir): Use `xfree' instead of `free'.
* Undefine setpgrp before setting it.Dave Love2000-06-231-2/+3
|
* (sigprocmask_set): New variable.Gerd Moellmann2000-06-201-0/+4
|
* Conditionally include stdlib.h, unistd.h.Dave Love2000-06-021-4/+7
| | | | (VFORK_RETURN_TYPE): Remove.
* (ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'.Gerd Moellmann2000-05-261-0/+5
|
* (setpgrp): Don't define if USG and BSD_PGRPS are not defined.Gerd Moellmann2000-05-241-0/+2
|
* (setpgrp) [HAVE_SETPGID]: Define as setpgid.Gerd Moellmann2000-05-231-0/+4
|
* (setup_pty): Treat case that UNIX98_PTYS is definedGerd Moellmann2000-05-201-1/+1
| | | | like SYSV_PTYS.
* [WINDOWSNT]: Use sys_read and sys_write to ensure correct line-endingJason Rumney2000-03-011-2/+2
| | | | convention is followed.
* (start_of_text): Don't define this function for NetBSDGerd Moellmann2000-03-011-0/+2
| | | | with ELF.
* (vfork) [!HAVE_VFORK]: Removed.Gerd Moellmann2000-02-161-14/+0
|
* (sys_select): Turn atimers off and on instead ofGerd Moellmann2000-01-251-16/+9
| | | | recording and restoring old alarm handler