1. 06 May, 1996 1 commit
  2. 05 May, 1996 8 commits
  3. 04 May, 1996 2 commits
  4. 03 May, 1996 29 commits
    • Richard M. Stallman's avatar
      Include nt/inc/arpa and nt/inc/netinet in the dist. · e827bc37
      Richard M. Stallman authored
      Don't include config.w95.
      e827bc37
    • Geoff Voelker's avatar
      Allow for optimized build. · 138d2349
      Geoff Voelker authored
      138d2349
    • Geoff Voelker's avatar
      [BUILD_TYPE]: Build optimized version in its own dir. · b5e9eb93
      Geoff Voelker authored
      (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
      b5e9eb93
    • Geoff Voelker's avatar
      (OBJDIR, BLD): Remove macro definitions. · d6cb678c
      Geoff Voelker authored
      ,
      d6cb678c
    • Geoff Voelker's avatar
      Include string.h. · 4e36126c
      Geoff Voelker authored
      (HAVE_FREXP, HAVE_FMOD): Macros removed.
      (struct timeval, struct timezone, gettimeofday): Declarations removed.
      (HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
      (DIRECTORY_SEP): Use Vdirectory_sep_char.
      (EXEC_SUFFIXES): Add .cmd to list of suffixes.
      (EXEC_SUFFIXES): Add .cmd to list of suffixes.
      > (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS,
      TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR,
      HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP,
      HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
      (access, chdir, chmod, close, creat, ctime, dup, dup2, fopen,
      link, mkdir, mktemp, open, pipe, read, rename, rmdir, select,
      sleep, unlink, write, spawnve, wait, kill, signal):
      Macros redefined from win32_* to sys_*.
      [__STDC__]: Define when including direct.h, io.h, stdio.h.
      (struct nt_stat): Definition removed.
      (stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid,
      st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
      4e36126c
    • Geoff Voelker's avatar
      Include frame.h. · 97aab3a2
      Geoff Voelker authored
      (hEvent): Renamed to h_input_available.
      (init_crit, delete_crit, get_next_msg, post_msg):
      Use h_input_available.
      (GetFrameDC, ReleaseFrameDC): New functions.
      (leave_crit): Function removed.
      97aab3a2
    • Geoff Voelker's avatar
      (struct win32_palette_entry): New structure. · aba66c88
      Geoff Voelker authored
      (win32_display_info): New fields has_palette, p_colors_in_use,
      n_colors_in_use, h_palette.
      (win32_output): New field h_old_palette.
      (WM_EMACS_SETWINDOWPOS): New macro.
      (WM_EMACS_DESTROY_WINDOW): Value redefined.
      aba66c88
    • Geoff Voelker's avatar
      (Vwindow_system): Declared. · 52cf03a1
      Geoff Voelker authored
      (win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
      Use Get/ReleaseFrameDC.
      
      (pixel_to_glyph_coords): Support tty mode.
      (w32_read_socket): Explicitly use FALSE.
      Handle WM_PALLETTECHANGED event.
      (parse_button): Handle mouse button emulation.
      
      (my_show_window, my_set_window_pos): New functions.
      (x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame):
      Use my_set_window_pos.
      (x_make_frame_visible, x_iconify_frame): Use my_show_window.
      
      (x_draw_box): Don't trim right and bottom.
      (x_make_frame_visible): Don't invoke SetForgroundWindow.
      
      (win32_term_init): Use GetDC directly.  Initialize palette
      and win32_num_mouse_buttons.
      (win32_update_begin): Regenerate palette if necessary.
      (x_delete_display): Free palette.
      
      (win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if
      conditional is defined.
      52cf03a1
    • Geoff Voelker's avatar
      (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data): · 69cddef0
      Geoff Voelker authored
      Calculate exact size of clipboard string with CRs removed or inserted.
      69cddef0
    • Geoff Voelker's avatar
      (REG_ROOT): Remove trailing backslash. · f79eea00
      Geoff Voelker authored
      f79eea00
    • Geoff Voelker's avatar
      (continuation of previous checkin) · d573caac
      Geoff Voelker authored
      (Fwin32_rgb): Dead procedure removed.
      (Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color,
      win32_regenerate_palette, win32_unmap_color): New functions.
      (syms_of_w32fns): Set up new lisp functions.
      (define_color): Use palettes.  Simulate use of PALETTE_RGB to
      use closest color instead of dithering.
      (map_mode): Function removed.
      (WIN32_COLOR, SET_WIN32_COLOR): New macros.
      
      	(win32_init_class): Don't set CS_OWNDC in the WNDCLASS style.
      (win32_createwindow): Invoke ShowWindow to discard defaults
      from parent.
      (win32_wnd_proc): Use separate critical sections appropriately.
      Handle palette change, show window, and set window position messages.
      Record WINDOWPLACEMENT structure length.
      D
      Detect quit_char.
      (Fx_create_frame): Set scrollbar width to be the system standard.
      
      (Ffocus_frame, Funfocus_frame): Functions now do nothing.
      
      (x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
      "light", "extralight", and "thin" fonts.
      (x_to_win32_charset, win32_to_x_charset): New functions.
      (win32_to_x_font): Use new height units.  Use win32_to_x_charset.
      (x_to_win32_font): Use x_to_win32_charset.  Support Win32 font names
      in addition to X font names.
      
      (win32_load_font, Fx_list_fonts, Fx_display_color_cells,
      Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly.
      
      (Fx_open_connection): Support external color mapping files.
      
      (win32_abort): Map abort button to abort, retry to debug, and
      ignore to continue.
      d573caac
    • Geoff Voelker's avatar
      (quit_char, Vwin32_enable_italics, Vwin32_enable_palette): · 5ac45f98
      Geoff Voelker authored
      New variables.
      (syms_of_win32fns): Set up new lisp variables.
      5ac45f98
    • Geoff Voelker's avatar
      (WinMain): Function removed. · c2ccbd43
      Geoff Voelker authored
      (_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up
      WinMain args as crt0.c would.
      c2ccbd43
    • Geoff Voelker's avatar
      Include config.h after CRT headers. Include fcntl.h. · c519b5e1
      Geoff Voelker authored
      (child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h.
      (DebugPrint): New macro.
      (new_child): Create input event structures for child processes.
      (delete_child): New function.
      (reader_thread): Return nonzero upon failure.  Use _sys_read_ahead.
      (create_child): Add child_process and parent PID arguments.
      Don't create input event or thread structures here.
      Fixup Win95 negative process IDs.
      (register_child): Don't set consumed event; instead, set thread
      status so that select will release it.
      (remove_child): Renamed to reap_process.  Only free resources
      of synchronous children.
      (win32_wait): Renamed to sys_wait.  Sanity check to make sure
      handle to subprocess exists.  Don't reclaim thread resources here.
      (win32_spawnve): Renamed to sys_spawnve.
      Check for proper wait mode first thing.
      Convert command name to DOS format.
      Quote whitespace and quotes in arguments to subprocess.
      Use alloca instead of malloc.
      If max subprocesses, return EAGAIN in hopes of another completing.
      (sys_select): Add support for socket input.  Remove dead code.
      Check input from children fairly.
      (sys_select) [HAVE_TIMEVAL]: Remove conditional check and code.
      (win32_kill_process): Renamed to sys_kill.  Use OpenProcess
      to terminate process.
      (prepate_standard_handles, reset_standard_handles): Moved here
      from nt.c.
      c519b5e1
    • Geoff Voelker's avatar
      (win32_kdb_patch_key): Initialize isdead. · 407c1745
      Geoff Voelker authored
      (key_event) [HAVE_NTGUI]: Use Windows key code.
      407c1745
    • Geoff Voelker's avatar
      Include lisp.h. · 8dfdd41f
      Geoff Voelker authored
      (allocate_heap): Use VALBITS to determine size of heap.
      (allocate_heap) [WINDOWS95]: Conditional code removed.
      (sbrk): Use VALMASK instead of an unsigned integer mask.
      8dfdd41f
    • Geoff Voelker's avatar
      Check to see if already included. · b3fa71dc
      Geoff Voelker authored
      (fd_set, filedesc): New structures.
      (child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved
      from ntproc.c.
      (FD_SET, FD_CLR, FD_ISSET, FD_ZERO): Operate on fd_set structures.
      (SELECT_TYPE): New macro.
      New child process status enumeration.
      (FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET):
      New macros.
      (fd_info, new_child, delete_child): Declared.
      b3fa71dc
    • Geoff Voelker's avatar
      (nt_stat, nt_ctime): Functions deleted. · 480b0c5b
      Geoff Voelker authored
      Undefine macros of CRT functions.
      480b0c5b
    • Geoff Voelker's avatar
      (SUBSYSTEM) [NTGUI]: Remove conditional. · 2fd5e802
      Geoff Voelker authored
      (LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
      (nt.obj): Add dependency to nt.h.
      2fd5e802
    • Geoff Voelker's avatar
      Initial revision · c911543b
      Geoff Voelker authored
      c911543b
    • Geoff Voelker's avatar
      Include ntlib.h. · 14f29224
      Geoff Voelker authored
      (nt_sleep): Rename to sleep.
      (getwd): Return directory.
      (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
      sys_ctime, sys_fopen): New functions.
      14f29224
    • Geoff Voelker's avatar
      (LOCAL_FLAGS): Include path to NT shadow includes. · c81ebaba
      Geoff Voelker authored
      (movemail.exe, fakemail.exe): Now built under Win32.
      c81ebaba
    • Geoff Voelker's avatar
      af99aa46
    • Geoff Voelker's avatar
      (original-make-auto-save-file-name): New symbol bound · 4e0cd0df
      Geoff Voelker authored
      to old value of make-auto-save-file-name.
      (make-auto-save-file-name): New function overriding old.
      4e0cd0df
    • Geoff Voelker's avatar
      (F_OK, X_OK, W_OK, R_OK): New macros. · 6c89f572
      Geoff Voelker authored
      6c89f572
    • Geoff Voelker's avatar
      Build and install runemacs.exe. · b1dd4ab3
      Geoff Voelker authored
      b1dd4ab3
    • Geoff Voelker's avatar
      (CONFIG_H) [WIN95]: Use config.nt. · ff4fcfcd
      Geoff Voelker authored
      ff4fcfcd
    • Geoff Voelker's avatar
      a3d351a3
    • Geoff Voelker's avatar
      (REG_ROOT): Don't use a trailing backslash. · c6e63684
      Geoff Voelker authored
      (env_vars): Rename field emacs_path to emacs_dir.
      (main): Add link to runemacs instead of emacs.
      c6e63684