newlib-cygwin/winsup/cygwin
Corinna Vinschen 4b65f19045 * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
truncated multibyte characters on input.
	(fhandler_console::write_replacement_char): Declare new method.
	* fhandler_console.cc (CONVERT_LIMIT): Raise to 64K.
	(fhandler_console::fhandler_console): Initialize trunc_buf.
	(ERR): Define as independent value again.
	(fhandler_console::write_replacement_char): New method to print
	replacement chars.
	(fhandler_console::write_normal): Add handling for truncated multibyte
	sequences.  Call next_char instead of pathetic CharNextExA function.
	Don't change src, rather just work with found later on.
	* miscfuncs.cc (is_cp_multibyte): Move here from strfuncs.cc.
	Don't call Windows function, restrict to well-known ANSI/OEM codepages
	and UTF-8.
	(next_char): Call CharNextExA only for doublebyte codepages.
	Implement for UTF-8 here.
	* strfuncs.cc (is_cp_multibyte): Move to miscfuncs.cc.
	* winsup.h (next_char): Declare.
	* include/limits.h (MB_LEN_MAX): Set to maximum value of MB_CUR_MAX
	as defined by newlib for now.
2008-02-06 18:24:50 +00:00
..
config/i386
include * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
lib * lib/cygwin_attach_dll.c: Fix compiler warning. 2007-08-02 14:30:17 +00:00
libc * Makefile.in (DLL_OFILES): Remove memmem.o. 2008-01-15 13:45:42 +00:00
regex * cygtls.cc (_cygtls::handle_threadlist_exception): Make an error fatal. 2005-12-23 22:50:20 +00:00
regexp
CYGWIN_LICENSE * CYGWIN_LICENSE: Fix web pages and contact information. 2007-01-15 12:19:01 +00:00
ChangeLog * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
ChangeLog-1995 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1996 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1997 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 fix minor typo 2006-01-16 19:52:21 +00:00
ChangeLog-2006 * ChangeLog: Happy New Year. 2007-01-03 11:14:53 +00:00
ChangeLog-2007 * newsym: First stab at understanding data as well as functions. 2008-01-01 18:51:23 +00:00
Makefile.in * Makefile.in (install-libs): Overwrite newlib's libg.a with symlink 2008-01-15 17:42:10 +00:00
ROADMAP
acconfig.h
aclocal.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
analyze_sigfe * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
assert.cc * assert.cc (__assert_func): New function, to match newlib header 2007-06-27 12:46:35 +00:00
autoload.cc * autoload.cc (CharToOemA): Remove. 2008-02-05 17:37:10 +00:00
automode.c
binmode.c
child_info.h * child_info.h (child_info_spawn::__stdin): New element. 2006-12-11 18:55:29 +00:00
config.h.in white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
configure update to newer autoconf 2006-05-24 16:59:03 +00:00
configure.in * select.cc (start_thread_socket): Delay setting thread local exitsock until we 2006-05-24 03:39:29 +00:00
cpuid.h
crt0.c * crt0.cc: Remove PPC considerations. 2005-09-29 14:28:22 +00:00
ctype.cc * include/ctype.h: New file. 2005-03-23 17:11:24 +00:00
cxx.cc * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
cygerrno.h * cygerrno.h (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +00:00
cygheap.cc * cygheap.cc (_csbrk): Don't request zero bytes from VirtualAlloc, 2007-12-11 15:16:19 +00:00
cygheap.h * cygheap.h (struct cwdstuff): Add dir member to store cwd handle. 2008-01-31 14:18:49 +00:00
cyglsa.h * cyglsa.h: New header file. 2006-11-27 12:59:59 +00:00
cygmagic * cygmagic: Remove debugging cruft missed on 2005-05-21. 2005-05-30 00:54:01 +00:00
cygmalloc.h * cygmalloc.h (__set_ENOMEM): Declare. 2007-02-08 11:35:52 +00:00
cygserver.h
cygserver_ipc.h
cygserver_msg.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_sem.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_shm.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygthread.cc * cygthread.cc (cygthread::terminate_thread): In debugging output, use name of 2006-06-03 21:44:01 +00:00
cygthread.h Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
cygtls.cc Change many cygheap allocation routines to their *_abort analogs. 2007-11-26 21:30:49 +00:00
cygtls.h * cygtls.h (_cygtls::inside_kernel): Move function declaration into _cygtls 2007-07-29 05:22:05 +00:00
cygwin-shilka
cygwin.din * cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf, 2007-12-30 21:12:08 +00:00
cygwin.sc * cygwin.sc: Remove duplicated .debug_macinfo section. 2007-04-18 13:11:35 +00:00
cygwin_version.h
dcrt0.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
debug.cc * debug.cc (close_handle): Change debug output format slightly. 2007-07-10 01:21:03 +00:00
debug.h * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
devices.cc * devices.in (dev_storage): Use native NT device name for kmsg mailslot. 2007-08-13 15:08:25 +00:00
devices.h * Makefile.in (DLL_OFILES): Add fhandler_procnet.o. 2007-01-17 19:26:58 +00:00
devices.in * devices.in (dev_storage): Use native NT device name for kmsg mailslot. 2007-08-13 15:08:25 +00:00
dir.cc * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING. 2007-08-16 14:46:23 +00:00
dlfcn.cc * path.h (path_conv::operator char *): Delete. 2007-08-16 15:07:42 +00:00
dll_init.cc * dcrt0.cc: Include string.h. 2007-12-12 12:12:24 +00:00
dll_init.h * dcrt0.cc: Include string.h. 2007-12-12 12:12:24 +00:00
dll_init.sgml
dllfixdbg * dllfixdbg: Eliminate extra objcopy step. 2007-11-08 14:36:49 +00:00
dlmalloc.c
dlmalloc.h
dtable.cc * dtable.cc (POSIX_NAMED_PIPE): New define. 2007-12-16 21:21:23 +00:00
dtable.h Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
dtable.sgml
environ.cc * autoload.cc (CharToOemA): Remove. 2008-02-05 17:37:10 +00:00
environ.h * environ.cc (env_win32_to_posix_path_list): Declare. 2006-08-02 15:11:48 +00:00
errno.cc * environ.cc (build_env): Don't put an empty environment variable into the 2006-09-07 20:42:53 +00:00
exceptions.cc * dtable.cc (POSIX_NAMED_PIPE): New define. 2007-12-16 21:21:23 +00:00
exec.cc minor comment restructuring 2006-02-15 22:11:13 +00:00
external.cc * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
external.sgml
fcntl.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
fhandler.cc * dtable.cc (POSIX_NAMED_PIPE): New define. 2007-12-16 21:21:23 +00:00
fhandler.h * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
fhandler_clipboard.cc * dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current 2008-01-31 20:26:01 +00:00
fhandler_console.cc * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_disk_file::link): Open file with 2008-01-21 14:51:55 +00:00
fhandler_dsp.cc Change many cygheap allocation routines to their *_abort analogs. 2007-11-26 21:30:49 +00:00
fhandler_fifo.cc * fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name 2007-12-04 13:29:44 +00:00
fhandler_floppy.cc * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate 2007-05-22 07:16:19 +00:00
fhandler_mailslot.cc * devices.in (dev_storage): Use native NT device name for kmsg mailslot. 2007-08-13 15:08:25 +00:00
fhandler_mem.cc * fhandler_mem.cc (fhandler_dev_mem::open): Fix comment. 2006-12-06 16:33:03 +00:00
fhandler_netdrive.cc * dir.cc (readdir_worker): Drop dir parameter from call to 2007-07-26 17:30:54 +00:00
fhandler_nodevice.cc
fhandler_proc.cc * fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name 2007-12-04 13:29:44 +00:00
fhandler_process.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
fhandler_procnet.cc * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
fhandler_random.cc * fhandler.h (class fhandler_dev_random): Add dummy_offset member. 2007-12-22 13:26:47 +00:00
fhandler_raw.cc * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member 2007-03-06 14:48:25 +00:00
fhandler_registry.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
fhandler_serial.cc * exceptions.cc (dummy_ctrl_c_handler): Remove. 2007-02-23 10:51:59 +00:00
fhandler_socket.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
fhandler_tape.cc * fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of 2007-11-28 16:45:34 +00:00
fhandler_termios.cc * dcrt0.cc (dll_crt0_0): Call tty_list::init_session here. 2006-06-03 20:32:07 +00:00
fhandler_tty.cc * fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of 2007-12-05 16:50:18 +00:00
fhandler_virtual.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
fhandler_windows.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
fhandler_zero.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
flock.cc
fork.cc * fork.cc: White space. 2007-07-07 16:43:03 +00:00
gcrt0.c
gendef * gendef (sigbe): Reset "incyg" while the stack lock is active to avoid a 2007-08-09 17:20:09 +00:00
gendevices * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
gentls_offsets * sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE. 2006-05-16 03:14:24 +00:00
glob.cc Add accidentally missing checkins. 2007-03-06 16:29:40 +00:00
gmon.c
gmon.h
grp.cc * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token. 2007-07-16 20:01:15 +00:00
heap.cc * cygheap.h (struct user_heap_info): Add slop member. 2006-10-31 18:41:16 +00:00
heap.h
hires.h * hires.h (hires_ms::initime_ms): Delete. 2005-12-07 22:28:49 +00:00
hookapi.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
how-autoload-works.txt white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
how-cygheap-works.txt
how-cygtls-works.txt * dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment 2005-06-04 02:11:50 +00:00
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-to-debug-cygwin.txt Put an underscore in front of the "active" in "strace.active". 2006-05-28 21:39:37 +00:00
how-vfork-works.txt
init.cc * init.cc (in_dllentry): Delete. 2007-07-14 15:58:32 +00:00
ioctl.cc * ioctl.cc (ioctl): Accommodate change in reported pty master device number. 2006-06-04 20:32:58 +00:00
ipc.cc
localtime.cc * localtime.cc (tzset): Guard by a muto for thread safety. 2007-12-11 16:14:24 +00:00
lsearch.cc * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
malloc.cc * malloc.cc: Update to version 2.8.3. 2005-12-10 17:09:58 +00:00
malloc_wrapper.cc * cygmalloc.h (__set_ENOMEM): Declare. 2007-02-08 11:35:52 +00:00
mcount.c
miscfuncs.cc * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
mktemp.cc * mktemp.cc (_gettemp): Open temp files in binary mode. 2006-04-17 15:09:13 +00:00
mkvers.sh
mmap.cc Drop old SetResourceLock stuff in favor of mutos. 2007-11-27 14:45:14 +00:00
mmap_helper.h * winsup.h: Turn on DEBUGGING by default for now. 2006-08-10 14:15:00 +00:00
msg.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
mtinfo.h * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. 2006-07-26 15:59:39 +00:00
net.cc * net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH. 2007-10-31 16:06:01 +00:00
netdb.cc * fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of 2007-12-05 16:50:18 +00:00
newsym * newsym: First stab at understanding data as well as functions. 2008-01-01 18:51:23 +00:00
ntdll.h * ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define. 2008-01-22 17:43:22 +00:00
ntea.cc Remove extraneous whitespace. 2007-02-20 00:16:18 +00:00
passwd.cc Throughout remove all usage of wincap.has_security. 2007-02-23 15:15:50 +00:00
path.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
path.h * ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define. 2008-01-22 17:43:22 +00:00
path.sgml
perprocess.h
pinfo.cc * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
pinfo.h * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
pipe.cc * tty.cc: Update copyright. 2008-01-01 19:07:36 +00:00
poll.cc * poll.cc (poll): Return count of fds with events instead of total 2007-12-13 10:57:08 +00:00
posix.sgml * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
posix_ipc.cc * posix_ipc.cc (ipc_names): Rename max_len to prefix_len. Store 2007-11-27 17:04:19 +00:00
profil.c
profil.h
pseudo-reloc.cc
pthread.cc * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
pwdgrp.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
random.cc * Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance on 2007-07-08 15:04:34 +00:00
registry.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
registry.h * dir.cc (readdir_worker): Minor code cleanup. 2006-01-03 17:44:26 +00:00
resource.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
rmsym
scandir.cc * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set 2005-03-01 11:51:29 +00:00
sched.cc * Makefile.in (DLL_IMPORTS): Add libntdll.a. 2007-02-22 10:54:47 +00:00
sec_acl.cc * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING. 2007-08-16 14:46:23 +00:00
sec_auth.cc * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes 2007-07-20 14:29:43 +00:00
sec_helper.cc * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes 2007-07-20 14:29:43 +00:00
security.cc * security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENT 2007-09-18 14:36:29 +00:00
security.h * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes 2007-07-20 14:29:43 +00:00
select.cc update copyright 2007-07-07 17:29:20 +00:00
sem.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
shared.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
shared.sgml
shared_info.h * cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash, 2007-10-23 16:26:28 +00:00
shm.cc * shm.cc: Include sync.h 2007-11-06 13:29:53 +00:00
signal.cc * signal.cc (usleep): Use useconds_t for the type as per POSIX. 2007-06-12 20:49:48 +00:00
sigproc.cc Change many cygheap allocation routines to their *_abort analogs. 2007-11-26 21:30:49 +00:00
sigproc.h * sigproc.cc (waitq_head): Don't initialize to zero. 2006-07-14 00:50:55 +00:00
smallprint.cc * smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type. 2008-02-04 12:00:19 +00:00
sortdin * sortdin: Ignore all leading underscores when deriving a sort key. 2006-07-05 16:06:50 +00:00
spawn.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
speclib
stackdump.sgml
strace.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
strfuncs.cc * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
string.h * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
strsep.cc
strsig.cc * cygwin/strsig.cc (__signals): New macro. 2007-07-10 00:12:54 +00:00
sync.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
sync.h * exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when 2007-02-20 14:31:26 +00:00
syscalls.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
sysconf.cc * cygwin.din (confstr): Export. 2007-06-11 17:38:27 +00:00
syslog.cc * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA. 2007-02-26 12:39:25 +00:00
termios.cc * termios.cc (setspeed): Support new baud rates introduced 2007-02-05. 2007-09-26 08:57:35 +00:00
textmode.c
textreadmode.c
thread.cc * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
thread.h Drop old SetResourceLock stuff in favor of mutos. 2007-11-27 14:45:14 +00:00
timer.cc revert erroneous checkin 2006-02-20 02:06:37 +00:00
times.cc * fhandler.h (fhandler_base::pc): Make public. 2007-08-14 14:48:52 +00:00
tlsoffsets.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
tty.cc * tty.cc: Update copyright. 2008-01-01 19:07:36 +00:00
tty.h * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. 2006-07-26 15:59:39 +00:00
tz_posixrules.h
uinfo.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
uname.cc * exceptions.cc (dummy_ctrl_c_handler): Remove. 2007-02-23 10:51:59 +00:00
wait.cc Change pthread::cancelable_wait to just cancelable_wait, throughout. 2005-06-09 05:11:51 +00:00
wchar.h * dcrt0.cc: Include string.h. 2007-12-12 12:12:24 +00:00
winbase.h * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
wincap.cc * dcrt0.cc: Include string.h. 2007-12-12 12:12:24 +00:00
wincap.h * autoload.cc (SetSecurityDescriptorControl): Drop. 2007-07-19 09:06:54 +00:00
window.cc Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
winf.cc * string.h: Re-enable inline strcasematch and strncasematch 2008-02-01 12:37:51 +00:00
winf.h * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH 2007-12-05 15:10:20 +00:00
wininfo.h GCC 4.1 fixes. 2006-07-17 19:30:30 +00:00
winsup.h * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for 2008-02-06 18:24:50 +00:00
winver.rc