X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fio-layer%2FChangeLog;h=19ee14aca039dc104ad188c86b5a91ab536ae3f9;hb=aae20b33d0f5235361bf19210c2a6f7d7ce88aa7;hp=70920215716b76ad6dc26fe2b4633036fcf038b8;hpb=42e254f05458e3abf2bd6869e01bc89184d3379c;p=mono.git diff --git a/mono/io-layer/ChangeLog b/mono/io-layer/ChangeLog index 70920215716..19ee14aca03 100644 --- a/mono/io-layer/ChangeLog +++ b/mono/io-layer/ChangeLog @@ -1,3 +1,207 @@ +2005-09-26 Sebastien Pouliot + + * io.c: Apply patch from #76192 (Can't write files past 2gb on AMD64 + (x86_64)) for Brion on IRC (Dick approved it). + +2005-09-23 Dick Porter + + * processes.c: Don't wait for processes that have already been + signalled; also fix typo. + + * handles.c: Improve locking inside new handle and handle + searching functions. + +2005-09-20 Dick Porter + + * collection.c: + * processes.c: Periodically waitpid for known process IDs. Fixes + bug 74870. + +2005-09-15 Gonzalo Paniagua Javier + + * io.c: + (CreateFile): if the file is a named pipe, treat the handle as a pipe, + not as a file. Fixes bug #76075. + +2005-08-27 Zoltan Varga + + * atomic.h: Add support for intel icc. + +2005-08-25 Zoltan Varga + + * io-layer.h: Include winbase.h not WinBase.h. + +2005-08-19 Dick Porter + + * threads.c, threads.h, thread-private.h: Use a gsize to store the + thread ID, so it can hold a 64 bit value if needed. + +2005-07-26 Gonzalo Paniagua Javier + + * error.c: map ENOENT to WSAECONNREFUSED. It might happen when + connecting to unix sockets. Closes bug #75632. + +2005-07-05 Dick Porter + + * io.c: Make sure SIGPIPE is ignored when calling write(2). + Prevents the runtime exiting when writing to a closed pipe, + fixing bug 75468. + +2005-06-30 Dick Porter + + * shared.c (_wapi_shm_semaphores_init): Add some helpful error + messages when semget () fails due to lack of resources. + +2005-06-21 Dick Porter + + * mutex-private.h: + * thread-private.h: + * mutexes.c: + * threads.c: Keep a list of owned mutexes in each thread handle, + so that it is easier to abandon them when the thread exits. + Removes a bottleneck when multiple threads are finishing in + parallel. + +2005-06-12 Gonzalo Paniagua Javier + + * io.c: (GetLogicalDrives) when a bogus line is read, don't leak memory. + When the buffer has not enough space, close the file before returning. + +2005-06-09 Duncan Mak + + * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to + all public headers. Fixes #74919. + +2005-05-30 Zoltan Varga + + * atomic.h: Add IA64 atomic ops. + +2005-05-26 Gonzalo Paniagua Javier + + * processes.c: make ExitCode be valid even if the user didn't call + WaitForExit() and is just polling on HasExited. + +2005-05-17 Dick Porter + + * io.c (file_getfilesize): Clear the error value, so that files + with sizes with the low bits 0xFFFFFFFF can be distinguished from + a genuine error. + +2005-05-11 Gonzalo Paniagua Javier + + * shared.c: forgot to ignore a warning. + +2005-05-10 Gonzalo Paniagua Javier + + * shared.c: don't display warnings after reboots. + +2005-05-07 Gonzalo Paniagua Javier + + * sockets.c: on windows, getsockopt/setsockopt for send/receive timeout + use an integer in milliseconds. We were using a struct timeval. + +2005-05-06 Dick Porter + + * handles-private.h: + * mutexes.c: + * wapi-private.h: + * shared.h: + * shared.c: + * wait.c: + * handles.c: + * collection.h: Use SysV semaphores for managing access to the + shared memory - in return for the ludicrous api we get + synchronisation primitives that can be cleaned up by the kernel + even when a process quits unexpectedly. This removes the + timestamp issues. + +2005-05-05 Lluis Sanchez Gual + + * handles.c: Always use polling in the waits, since + mono_cond_timedwait can't be interruped by the thread abort signal. + +2005-04-30 Gonzalo Paniagua Javier + + * events.c: calling Set on AutoResetEvent several times has the same + effect as calling it only once if no thread is waiting for it. + +2005-04-29 Dick Porter + + * processes.c (EnumProcesses): Use a GArray instead of a GPtrArray + now it's storing pids not handles, also fixes memory leak caused + by unclear glib documentation. + + * sockets.c (WSACleanup): Remove unused variable + +2005-04-29 Dick Porter + + * handles.c (_wapi_handle_check_share_by_pid): For systems that + don't have file descriptor info in /proc check that the original + opener of a file is still there, if a share violation would + otherwise happen. + +2005-04-28 Gonzalo Paniagua Javier + + * handles.c: + * handles-private.h: added _wapi_handle_forecch that loops through all + the handles and call a callback function when a handle of the given + type is found. + + * sockets.c: no need to keep open sockets in an array, as we have them + in the handles structure. + + Fixes bug #74755. + +2005-04-28 Dick Porter + + * processes.c: Cope with handles that are only around for as long + as the search is running. If we're searching for process handles, + check to see if the process is still running and signal it if not. + + * handles.c (_wapi_search_handle): Search in the shared space as + well. Fixed bug 74752. + + * mutexes.c: + * handles.c (_wapi_handle_new_from_offset): + _wapi_handle_new_for_existing_ns () was doing exactly the same as + this, so deleted it. + +2005-04-26 Dick Porter + + * handles.c: Fix stupid thinko where if a new shared handle is + created but a collection was needed to free some space, it + returned an error anyway. Should fix the messages shown in bug + 74659. + +2005-04-25 Dick Porter + + * handles.c (_wapi_handle_check_share): Only consider mono + processes when looking to see if a file is still being held open, + while checking share permissions. + +2005-04-25 Dick Porter + + * sockets.c: + * io.c: + * wapi-private.h (struct _WapiHandleOps): + * handles.c (_wapi_handle_unref): When destroying handles, save + the handle data and call the close function only after the array + slot has been cleared. This prevents race conditions with file + descriptors, fixing bug 74713. + + * mutexes.c: Delete the handle close functions, they didn't do + anything anyway + + * error.c (_wapi_get_win32_file_error): Add a mapping for EINTR so + the "Unknown error" g_warning doesn't get displayed. + +2005-04-25 Dick Porter + + * wapi-private.h: + * threads.c: Make thread handles process-private for now to take + some of the space pressure off the shared memory, while I work on + a real fix. + 2005-04-21 Dick Porter * handles.c (_wapi_handle_check_share): Make sure there is a "fd"