Danny Smith
dad3363707
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
...
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.
2006-09-17 22:27:56 +00:00
Danny Smith
3e231d9a38
* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
2006-09-16 07:35:45 +00:00
Christopher Faylor
8552e20ec4
white space
2006-09-13 15:33:37 +00:00
Christopher Faylor
aa45b3b73d
Check in previously mentioned change to cygcheck.cc
2006-09-13 15:32:04 +00:00
Christopher Faylor
56ec0f9c9c
* Makefile.in: Fix -ntdll typo.
...
* cygcheck.cc (main): Restore POSIXLY_CORRECT before displaying user's
environment.
2006-09-12 15:14:51 +00:00
Chris Sutcliffe
1a0a1d3218
Forgot ChangeLog in last commit
2006-09-12 00:29:39 +00:00
Chris Sutcliffe
3742ca27a4
2006-09-11 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
...
* lib/Makefile.in: fix typo.
* lib/ddk/Makefile.in: fix typo.
* lib/directx/Makefile.in: fix typo.
Thanks to Keith Marshall (keithmarshall at users dot sourceforge dot net)
for pointing it out.
2006-09-12 00:29:04 +00:00
Christopher Faylor
c48cea17a8
* Makefile.in: Semi-revert 2006-08-30 change.
2006-09-11 16:06:35 +00:00
Chris Sutcliffe
08b5122764
2006-09-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Remove files from lib directory with distclean target
2006-09-10 22:55:43 +00:00
Danny Smith
910edf4a02
* include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
...
(__MINGW_IMPORT): Ansify.
* include/stdlib.h (_sleep, _beep, _seterrormode): Add
__MINGW_ATTRIB_DEPRECATED.
2006-09-10 21:16:05 +00:00
Chris Sutcliffe
88a815f3c0
2006-09-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/winuser.h (CS_DROPSHADOW): Define.
2006-09-10 14:55:24 +00:00
Keith Marshall
7146ace87f
* aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
...
Redundant macros; deleted.
* configure.in (LIB_AC_PROG_CC): Replaced by...
(AC_PROG_CC): ...this.
* configure: Regenerated.
2006-09-10 14:44:55 +00:00
Danny Smith
635f4bd398
2006-09-08 Michael Gerdau <mgdde@users.sourceforge.net>
...
* include/uxtheme.h: (TMT_GRADIENTCOLOR4, TMT_GRADIENTCOLOR5,
TMT_SHADOWCOLOR, TMT_GLOWCOLOR, TMT_TEXTBORDERCOLOR,
TMT_TEXTSHADOWCOLOR, TMT_GLYPHTEXTCOLOR, TMT_GLYPHTRANSPARENTCOLOR,
TMT_FILLCOLORHINT, TMT_BORDERCOLORHINT, TMT_ACCENTCOLORHINT):
Increase each constant by 1.
2006-09-08 01:16:46 +00:00
Christopher Faylor
d6b1ac7faa
* environ.cc (build_env): Don't put an empty environment variable into the
...
environment. Optimize use of "len".
* errno.cc (ERROR_MORE_DATA): Translate to EMSGSIZE rather than EAGAIN.
2006-09-07 20:42:53 +00:00
Danny Smith
19ff420025
[mingw-Bugs-1553275]
...
* include/wingdi.h (SetLayout): Add prototype.
(GetLayout): Likewise.
2006-09-07 09:09:13 +00:00
Danny Smith
ab1d66234a
* mingwex/gdtoa/misc.c (pow5mult): Restore original code.
...
* mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
* mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
2006-09-06 22:03:16 +00:00
Danny Smith
a046f426ed
[mingw-Bugs-1550139]
...
* include/oleauto.h (GetRecordInfoFromTypeInfo): Add prototype.
(GetRecordInfoFromGuids): Add prototype.
2006-09-02 09:00:45 +00:00
Danny Smith
1202770601
* include/winbase.h: Add comment about 'missing' SEM flag.
2006-09-01 01:28:30 +00:00
Danny Smith
e635b30956
Import David Gay's gdtoa library.
...
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-08-31 23:48:56 +00:00
Corinna Vinschen
55283468e6
* grp.cc (initgroups32): Run get_server_groups under original token.
...
* syscalls.cc (seteuid32): Slightly reorganize code creating a token.
2006-08-31 15:57:56 +00:00
Christopher Faylor
c9f1f4b438
* Makefile.in: Make install-license .PHONY. Make sure that doc directory is
...
created before copying to it.
2006-08-31 00:53:48 +00:00
Corinna Vinschen
7e5d0e9f95
* Makefile.in: Make installation of CYGWIN_LICENSE configurable.
...
* aclocal.m4: Regenerate.
* configure.in: Add GCC_NO_EXECUTABLES call. Add configuration for
INSTALL_LICENSE. Make cygwin subdirectory optional. Add sanity
check for cygwin resp. mingw subdirectories dependent of the target.
* configure: Regenerate.
2006-08-30 13:05:46 +00:00
Corinna Vinschen
3cdac9e9d4
* Makefile.in: Add with_cross_host to allow more granular checks.
...
Set installation directories accordingly. Override CC setting only
if building a Cygwin target.
* aclocal.m4: Regenerate.
* configure.in: Move AC_CANONICAL_SYSTEM check up. Add
GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
Test AC_ALLOCA only if building on a native system.
* configure: Regenerate.
2006-08-30 13:05:05 +00:00
Corinna Vinschen
fc0256b600
* configure.in: Substitute with_cross_host in depending files.
...
* configure: Regenerate.
* lib/Makefile.in: Add with_cross_host to allow more granular checks.
Set installation directories accordingly.
* lib/ddk/Makefile.in: Ditto.
* lib/directx/Makefile.in: Ditto.
2006-08-30 13:04:41 +00:00
Christopher Faylor
1cc0c5d6f9
* child_info.h (child_info_spawn::~child_info_spawn): Don't close myself_pinfo
...
handle when spawning.
2006-08-27 16:46:27 +00:00
Chris Sutcliffe
d9baa656ed
2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/ctype.h: Fix typo.
2006-08-27 12:14:58 +00:00
Joshua Daniel Franklin
1e069c300d
* faq-setup.xml (faq.setup.uninstall): Mention Safe Mode
...
requirement for accessing the Security tab in XP Home.
* faq-using.xml (faq.using.chmod): Mention FAT32.
2006-08-26 19:11:00 +00:00
Danny Smith
80f52ae1dd
* include/ctype.h: Expose iswblank if __cplusplus.
...
* include/wctype.h: Expose iswblank if __cplusplus.
2006-08-25 09:10:05 +00:00
Corinna Vinschen
f1f69c58bf
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.
2006-08-20 12:31:07 +00:00
Corinna Vinschen
b0662a051b
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximize
...
performance on remote shares.
(fhandler_disk_file::opendir): Move comment about Samba weirdness into
fhandler_disk_file::readdir. Don't disallow
FileIdBothDirectoryInformation on Samba.
(fhandler_disk_file::readdir): Workaround Samba problem with
FileIdBothDirectoryInformation by rereading already read entries
using FileBothDirectoryInformation. Change comment about Samba
weirdness explaining this change.
2006-08-20 12:18:12 +00:00
Christopher Faylor
ffa6849093
* fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check for
...
non-error return from lseek.
2006-08-19 21:44:58 +00:00
Corinna Vinschen
30691bd756
* fhandler_serial.cc (raw_read): Evaluate minchars taking the
...
vmin_ > ulen case into account. Simplify evaluating the bytes to read.
Don't use bytes in Queue value from ClearCommError call in case vtime_
is > 0. Reformat GetOverlappedResult call. Simplify call to ReadFile.
2006-08-17 14:51:48 +00:00
Corinna Vinschen
94dc73adc5
* security.cc (subauth): Initialize user_token to NULL. Add comment.
2006-08-14 11:32:11 +00:00
Corinna Vinschen
e39a29e36b
* shared.cc (open_shared): Desperately try to get shared memory, only
...
when DEBUGGING enabled for now.
2006-08-11 15:40:07 +00:00
Danny Smith
fc43c1d925
* lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...
...
* lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.
2006-08-10 21:06:01 +00:00
Christopher Faylor
1767b8d028
* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.
2006-08-10 20:25:54 +00:00
Christopher Faylor
2f98d8bdc7
revert erroneous checkin
2006-08-10 14:16:24 +00:00
Christopher Faylor
44d67b9b31
* winsup.h: Turn on DEBUGGING by default for now.
2006-08-10 14:15:00 +00:00
Corinna Vinschen
887e02e478
* fhandler_disk_file.cc (fhandler_disk_file::lock): Handle
...
ERROR_NOT_LOCKED returned from UnlockFileEx.
2006-08-10 08:44:43 +00:00
Christopher Faylor
eab543a1d6
* overview2.sgml: Remove inaccurate "full support for windows pathnames"
...
clause.
2006-08-09 16:13:56 +00:00
Corinna Vinschen
6f3105405d
* path.h (SYMLINK_EA_NAME): Remove.
...
(SHORTCUT_HDR_SIZE): Ditto.
2006-08-09 15:33:46 +00:00
Christopher Faylor
bbf38a55c6
* autoload.cc (GetHandleInformation): Declare new function.
...
(SetHandleInformation): Ditto.
* debug.cc (add_handle): Use SetHandleInformation to protect handle.
(close_handle): Use SetHandleInformation to unprotect handle.
* spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.
2006-08-09 15:04:32 +00:00
Corinna Vinschen
7636b58590
* autoload.cc (NtSetInformationFile): Define.
...
* cygwin.din: Export posix_fadvise and posix_fallocate.
* fhandler.cc (fhandler_base::fadvise): New method.
(fhandler_base::ftruncate): Add allow_truncate parameter.
* fhandler.h (class fhandler_base): Add fadvise method. Accomodate
new parameter to ftruncate.
(class fhandler_pipe): Add fadvise and ftruncate methods.
(class fhandler_disk_file): Add fadvise method. Accomodate new
parameter to ftruncate.
* fhandler_disk_file.cc (fhandler_disk_file::fadvise): New method.
(fhandler_disk_file::ftruncate): Accomodate new allow_truncate
parameter. Set EOF using NtSetInformationFile on NT.
* ntdll.h (struct _FILE_END_OF_FILE_INFORMATION): Define.
(NtSetInformationFile): Declare.
* pipe.cc (fhandler_pipe::fadvise): New method.
(fhandler_pipe::ftruncate): Ditto.
* syscalls.cc (posix_fadvise): New function.
(posix_fallocate): Ditto.
(ftruncate64): Accomodate second parameter to fhandler's ftruncate
method.
* include/fcntl.h: Add POSIX_FADV_* flags. Add declarations of
posix_fadvise and posix_fallocate.
* include/cygwin/version.h: Bump API minor number.
2006-08-07 19:29:14 +00:00
Danny Smith
840d9c1abe
* include/ctype.h: Remove stray ')'.
2006-08-03 21:05:05 +00:00
Corinna Vinschen
fb43e6237c
* path.cc (vconcat): Don't convert backslahes to slashes.
...
(cygpath): Return native path with all backslashes.
2006-08-03 15:29:30 +00:00
Danny Smith
bb1a7afa67
* include/ctype.h (_BLANK): Expand comment.
...
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
2006-08-03 07:44:30 +00:00
Christopher Faylor
9e4051d4b7
fix typo
2006-08-03 03:59:27 +00:00
Christopher Faylor
bee65cb860
* Makefile.in (subauth): Add dependency on mingw.
2006-08-03 03:47:54 +00:00
Christopher Faylor
6f1d48621e
* environ.cc (env_win32_to_posix_path_list): Declare.
...
(conv_envvars): Use env_win32_to_posix_path_list rather than
cygwin_win32_to_posix_path_list.
(posify): Translate back to win32 path if errno is EIDRM.
* environ.h: Update copyright. Define ENV_CVT.
* path.cc (conv_path_list): If converting for the environment and removed an
element set errno to ENV_CVT.
(env_win32_to_posix_path_list): New function.
2006-08-02 15:11:48 +00:00
Corinna Vinschen
2dba45f4aa
* Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
...
* cygpath.cc: Include DDK headers.
(RtlAllocateUnicodeString): New static inline function.
(get_device_name): New static function to evaluate DOS path from
native NT path.
(get_device_paths): New function to do the same for path lists.
(doit): Call get_device_paths/get_device_name where appropriate.
2006-08-02 09:48:18 +00:00