Commit graph

3251 commits

Author SHA1 Message Date
Christopher Faylor d8ee8ca551 * spawn.cc (spawn_guts): Show more of command line in strace output. 2003-05-19 01:43:31 +00:00
Danny Smith 8dc6cea2e8 2003-05-18 Manu B <manubee@users.sourceforge.net>
* include/commctrl.h (TVSORTCB): Rename old TV_SORTCB structure.

2003-05-18  Bang Jun-Young <junyoung@netbsd.org>

	* include/winbase.h (CREATE_DEFAULT_ERROR_MODE,
	DEBUG_PROCESS, DEBUG_ONLY_THIS_PROCESS, CREATE_SUSPENDED,
	DETACHED_PROCESS, CREATE_NEW_CONSOLE, NORMAL_PRIORITY_CLASS,
	IDLE_PRIORITY_CLASS, HIGH_PRIORITY_CLASS, REALTIME_PRIORITY_CLASS,
	CREATE_NEW_PROCESS_GROUP, CREATE_UNICODE_ENVIRONMENT,
	CREATE_SEPARATE_WOW_VDM, CREATE_SHARED_WOW_VDM, CREATE_FORCEDOS,
	CREATE_NO_WINDOW): Convert to hexadecimal form for better
	readability.
	(BELOW_NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS,
	CREATE_BREAKAWAY_FROM_JOB, CREATE_WITH_USERPROFILE): Add.
2003-05-18 10:20:47 +00:00
Danny Smith 8ed969331b * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
but still protect inline definition with __STRICT_ANSI__
2003-05-15 22:28:57 +00:00
Danny Smith 90e1332c38 Remove isascii.o, add isascii.c to repository 2003-05-15 22:21:00 +00:00
Thomas Pfaff c8fa3426af * thread.h (pthread::init_mainthread): Remove function parameter.
(MTinterface::Init): Ditto.
* thread.cc (MTinterface::Init): Remove function parameter.
Always initialize reent_key.
(pthread::init_mainthread): Remove function parameter.
(MTinterface::fixup_after_fork): Fix pthread::init_mainthread call.
* dcrt0.cc (dll_crt_0_1) Fix calls to MTinterface::Init and
pthread::init_mainthread.
Call pthread::init_mainthread only when not forked.
2003-05-15 19:42:51 +00:00
Corinna Vinschen f2669f5d16 * fhandler_proc.cc (format_proc_meminfo): Make swap memory output
Linux style values.
2003-05-15 11:56:51 +00:00
Danny Smith a445a0b0ce * include/ddk/ndis.h (NDIS30_MINIPORT_CHARACTERISTICS_S):
Unname anonymous unions if NONAMELESSUNION not defined.
2003-05-15 01:04:07 +00:00
Danny Smith 620c28a975 * string_old.c: Remove, splitting into...
* strcasecmp.c: New file.
	* strncasecmp.c: New file.
	* wscmpi.c : New file.
	* ctype_old.c: Remove, splitting into...
	* isascii.c: New file.
	* iscsym.c: New file.
	* iscsymf.c: New file.
	* toascii.c: New file.
	* Makefile.in (MOLD_OBJS): Adjust.
	(SRCDIST_FILES): Adjust.
2003-05-15 00:21:12 +00:00
Danny Smith 6c4ce46ce1 2003-05-14 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GMEM_VALID_FLAGS): Add.
2003-05-15 00:10:33 +00:00
Danny Smith 3927f0a891 * include/math.h (fabs) : Remove inline definition.
(fabsf): Likewise.
	(fabsl): Likewise.
2003-05-14 01:03:20 +00:00
Danny Smith 1b89c1742e * include/prsht.h (PROPSHEETHEADER[AW]: Mark
anonymous unions as GCC extension.
2003-05-13 10:53:13 +00:00
Corinna Vinschen 5d575f7dcd * include/cygwin/config.h: Define __USE_INTERNAL_STAT64 appropriately. 2003-05-13 09:26:17 +00:00
Danny Smith b823fca9ba * include/oleidl.h (LPENUMOLEDOCUMENTVIEWS): Remove typedef.
(IEnumOleDocumentViews): Remove commented out DECLARE_ENUMERATOR.
	* include/docobj.h  (LPENUMOLEDOCUMENTVIEWS): Add typedef (previously
	commented out).
	(IEnumOleDocumentViews): Add definition using DECLARE_ENUMERATOR.
2003-05-13 02:05:12 +00:00
Earnie Boyd 3b30f11fbf * include/commctrl.h: (MCSC_BACKGROUND, MCSC_TEXT, MCSC_TITLEBK,
MCSC_TITLETEXT, MCSC_MONTHBK, MCSCTRAILTEXT): Define.
	Thanks to: Robert Wishlaw  <rwishlaw @ shaw . ca>
2003-05-12 12:29:00 +00:00
Corinna Vinschen 194d9eb318 * Makefile.in (CYGWIN_START): Define as crt0.o. Add to TARGET_LIBS.
* fhandler.h (fhandler_virtual::fstat): Remove useless declaration.
	* fhandler_virtual.cc: Remove _COMPILING_NEWLIB define.
	* ipc.cc (ftok): Use stat64.
	* syscalls.cc (_fstat64): Remove alias.
	(_fstat): Ditto.
	(_stat): Ditto.
	(_fstat64_r): New function.
	(_fstat_r): Ditto.
	(_stat64_r): Ditto.
	(stat_r): Ditto.
	* crt0.o: New file, moved from newlib.
	* include/sys/param.h: Ditto.
	* include/sys/utime.h: Ditto.
	* include/sys/utmp.h: Ditto.
	* include/sys/dirent.h: Ditto.  Expose different struct dirent,
	dependening of the environment.
2003-05-12 11:06:27 +00:00
Corinna Vinschen 01859fc441 * Makefile.common: Remove newlib_sys_include and
newlib_sys_include_include entirely.  Set CRT0 to cygwin/crt0.o.
2003-05-12 11:06:00 +00:00
Danny Smith 214d1b21cb * include/olectl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Move from here to...
	* include/ocidl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
	IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Here, as per documentation.
2003-05-12 10:43:08 +00:00
Danny Smith e9a398893f 2003-05-12 Mattia Barbon <mbarbon@dsi.unive.it>
* include/oleauto.h (VarR8FromDec, VarDecFromR8): Add prototypes.
	* include/winbase.h (TerminateJobObject,
	AssignProcessToJobObject): Likewise.
	* include/servprov.h: New header.
	* lib/test.c: Include servprov.h.

Correct ChangeLog typo
2003-05-12 10:35:35 +00:00
Corinna Vinschen cc95baad41 Replace ino_t by __ino64_t throughout. 2003-05-11 21:52:09 +00:00
Corinna Vinschen aee7085346 * include/cygwin/types.h: Add key_t typedef. 2003-05-11 12:50:18 +00:00
Christopher Faylor 066ca06fd0 * dir.cc (readdir): Fill out new old_d_ino field.
* fhandler.h (fhandler_base::namehash): Define as ino_t.
(fhandler_base::get_namehash): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Accommodate new 64
bit st_ino.
* fhandler_socket.cc (fhandler_socket::fstat): Ditto.
* path.cc (hash_path_name): Return ino_t.
* syscalls.cc (stat64_to_stat32): Convert 64 bit inode to 32 bit.
* winsup.h (hash_path_name): Declare as returning ino_t.
* include/cygwin/stat.h (__stat32): Use 32 bit st_ino.
(__stat64): Use 64 bit st_ino.
* include/cygwin/types.h (__ino64_t): Define.
(__ino32_t): Ditto.
(ino_t): Define appropriately.
2003-05-11 00:10:11 +00:00
Danny Smith bf759a5ae6 * include/shlguid.h (CGID_ShellServiceObject): Declare.
* lib/uuid.c (CGID_ShellServiceObject): Define guid.
	Thanks to Chris Sutcliffe  <ir0nh34d#users.sourceforge.net>
	* include/winuser.h (SetLayeredWindowAttributes): Add prototype.
	* lib/user32.def (SetLayeredWindowAttributes): Add stub.
	* lib/uuid.c (CGID_Explorer, CGID_ShellDocView): Define guids.
2003-05-10 09:20:11 +00:00
Corinna Vinschen 3e66a81cd1 * Makefile.in (NEW_FUNCTIONS): All 32/64 from 0.79 API get
leading underscore.
	* cygwin.din: Ditto.
	* include/cygwin/version.h: Bump API minor number.
2003-05-09 22:11:25 +00:00
Corinna Vinschen d3b450f3a1 * include/cygwin/config.h: New file. 2003-05-09 21:27:40 +00:00
Corinna Vinschen 8e67b974a9 * libltp/include/test.h: Remove gethostid declaration. 2003-05-09 20:53:22 +00:00
Christopher Faylor b92899cca0 revert errnoneous checkin 2003-05-09 17:58:20 +00:00
Christopher Faylor 9508ebc53d * cygthread.cc (cygthread::detach): Prioritize waiting for I/O completion over
waiting for signal delivery.
2003-05-09 17:56:58 +00:00
Joshua Daniel Franklin af9315f8a3 * cygwin-ug-net.in.sgml: Remove outdated revision information and authors names 2003-05-09 00:05:02 +00:00
Earnie Boyd 85051ee6c1 * include/_mingw.h: Change version to 3.0
* Makefile.in: Ditto.
2003-05-07 03:12:17 +00:00
Thomas Pfaff 0bb7254f38 * signal.cc (nanosleep): Do not wait twice for signal arrival. 2003-05-06 19:39:10 +00:00
Earnie Boyd 4c6bc0ed42 Uh hum, just not my day 2003-05-06 16:04:25 +00:00
Earnie Boyd 60e9842b39 * configure: Regenerate 2003-05-06 14:48:34 +00:00
Earnie Boyd 3a1f652308 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
* mingwex/configure.in (W32API_INCLUDE): Ditto.
	* profile/configure.in (W32API_INCLUDE): Ditto.
2003-05-06 14:46:06 +00:00
Earnie Boyd 98a430bcbe Oops. Add ending quotes to CFLAGS value. 2003-05-06 13:35:20 +00:00
Earnie Boyd 42fbaad1e8 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
of multiply defined symbols if the symbols is defined locally.  E.G.:
	A local definition of malloc causes this problem.
	* configure: Regenerate.
	* profile/Makefile.in (W32API_INCLUDE): New variable.
	(ALL_CFLAGS): Use W32API_INCLUDE value.
	(ALL_CXXFLAGS): Ditto.
	(gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
	Thanks to Jeff Bonggren <jbon@users.sf.net>.
	* profile/configure.in (W32API_INCLUDE): Set default value.
	* profile/configure: Regenerate.
	* mingwex/Makefile.in (W32API_INCLUDE): New variable.
	(ALL_CFLAGS): Use W32API-INCLUDE value.
	(ALL_CXXFLAGS): Ditto.
	* mingwex/configure.in (W32API_INCLUDE): Set default value.
	* mingwex/configure: Regenerate.
2003-05-06 13:26:44 +00:00
Earnie Boyd fe2f86961e * Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Include W32API_INCLUDE value.
	(ALL_CXXFLAGS): Ditto.
	* configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
	(W32API_INCLUDE): Set default value.
	* configure: Regenerate.
2003-05-05 16:04:11 +00:00
Danny Smith 2937200d0e * include/commctrl.h (STATUSCLASSNAME, TOOLBARCLASSNAME,
TOOLTIPS_CLASS, TRACKBAR_CLASS, UPDOWN_CLASS, PROGRESS_CLASS,
	HOTKEY_CLASS): Remove dupicate defines for UNICODE case.
2003-05-05 09:16:35 +00:00
Corinna Vinschen a6d745f53c * include/cygwin/types.h: Fix erroneous definition of ino_t from
2003-04-28.
2003-05-03 18:14:29 +00:00
Corinna Vinschen 40d3c80413 * syscalls.cc (chown_worker): Allow chown'ing of socket files. 2003-05-03 16:03:19 +00:00
Danny Smith 1a2060aa43 2003-05-02 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/richedit.h (EM_FINDTEXTEXW, EM_FINDTEXTW,
	EM_GETAUTOURLDETECT, EM_GETBIDIOPTIONS, EM_GETEDITSTYLE,
	EM_GETIMECOLOR, EM_GETIMEOPTIONS, EM_GETPUNCTUATION,
	EM_GETWORDWRAPMODE, EM_RECONVERSION, EM_SETBIDIOPTIONS,
	EM_SETEDITSTYLE, EM_SETIMECOLOR, EM_SETIMEOPTIONS,
	EM_SETPALETTE, EM_SETPUNCTUATION, EM_SETTEXTEX,
	EM_SETWORDWRAPMODE, RICHEDIT_CLASS10A): Add defines.
2003-05-02 00:46:57 +00:00
Danny Smith b349465ef3 2003-05-02 Francois Ferrand <typz@sourceforge.users.net>
* include/commctrl.h (TBM_*): Add missing trackbar defines.
2003-05-02 00:16:03 +00:00
Danny Smith 41e7de4863 * include/cplext.h (CPLPAGE_MOUSE_WHEEL,
CPLPAGE_DISPLAY_BACKGROUND): Add defines.
2003-05-02 00:11:49 +00:00
Thomas Pfaff 2238537c36 * Makefile.in: Revert patch from 2003-04-17. 2003-04-30 22:18:24 +00:00
Danny Smith 14dbd34e9e * include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
(SetDCPenColor, SetDCBrushColor): Add prototypes.
	* lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
2003-04-30 09:28:15 +00:00
Christopher Faylor 6ef342e460 * profil.h (PROFADDR): Prevent overflow when text segments are larger than
256k.
* profil.c (profthr_func): Raise thread priority for more accurate sampling.
* path.cc (hash_path_name): Use ino_t as type.
2003-04-28 20:10:54 +00:00
Christopher Faylor 878251d460 really check in correct fix. 2003-04-27 03:14:02 +00:00
Christopher Faylor 7d6d38aaec * errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23. 2003-04-27 03:09:17 +00:00
Joshua Daniel Franklin 45bfd8ed74 * mkpasswd.c (usage) Remove extra newline from description output. 2003-04-26 22:33:00 +00:00
Danny Smith 98dc5aa07f 2003-04-26 Bang Jun-Young <junyoung@netbsd.org>
* include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.
2003-04-26 22:00:16 +00:00
Joshua Daniel Franklin aa275fe010 * cygcheck.cc (usage) Add description output. 2003-04-26 21:52:03 +00:00