Danny Smith
110af2d2db
2003-08-24 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/objidl.h (COBJMACROS): Define macros only
if using C interace.
* include/unknwn.h: Ditto.
* include/comcat.h: Ditto.
2003-08-24 Filip Navara <xnavara@volny.cz>
* include/prsht.h (PSH_WIZARDHASFINISH, PSH_WIZARD_LITE,
PSH_NOCONTEXTHELP): Define.
(PSH_WIZARD97): Fix definition for _WIN32_IE >= 0x500.
* include/winuser.h (DFCS_TRANSPARENT, DFCS_HOT): Define.
(LPDLGTEMPLATE[AW]): Add typedefs.
2003-08-24 23:04:57 +00:00
Christopher Faylor
be1ea8cde7
* syscalls.cc (_remove_r): Define.
2003-08-23 18:03:16 +00:00
Christopher Faylor
5c6497b43f
* cygheap.h (enum cygheap_types): Add HEAP_MMAP.
...
(CYGHEAPSIZE): Add another 64K.
* mmap.cc: Use cmalloc, ccalloc and crealloc with HEAP_MMAP type throughout.
2003-08-23 00:03:54 +00:00
Christopher Faylor
7f32ba3a8d
* cygheap.cc (user_heap_info::max): New field.
...
* heap.cc (heap_init): Save pointer to end of heap reserved memory.
(sbrk): Don't attempt to commit memory beyond end of heap reserved memory.
Attempt to honor comment and reserve commitbytes if heapchunk fails.
2003-08-22 19:33:09 +00:00
Christopher Faylor
897c6b5231
* exceptions.cc (sigreturn): Don't clobber ebp in recursive signal calls.
2003-08-22 19:25:56 +00:00
Christopher Faylor
29cd21d03a
* exceptions.cc (sig_handle): Change so that default signals indicate success.
2003-08-22 17:01:53 +00:00
Danny Smith
01d699914d
2003-08-22 Filip Navara <xnavara@volny.cz>
...
* include/aclapi.h (BuildImpersonateExplicitAccessWithName[AW]):
Add prototypes.
BuildImpersonateTrustee[AW]): Add prototypes.
GetMultipleTrustee[AW]): Add prototypes.
GetMultipleTrusteeOperation[AW]): Add prototypes.
Add missing changelog entry from last commit.
2003-08-22 11:21:28 +00:00
Danny Smith
9e80cb966c
2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/winnt.h (IMAGE_SUBSYSTEM_XBOX): Add define.
2003-08-22 Mihai Preda <mihai_preda@users.sourceforge.net>
* include/shlobj.h (IPersistFolder::GetClassID):
Correct declaration.
(CMF_*) Add missing defines.
2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (DC_BUTTONS): Add define.
2003-08-22 Andrew Greenwood <lists@silverblade.co.uk>
* include/winuser.h (DC_GRADIENT): Add define.
2003-08-22 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/commctrl.h (BTNS_*): Define BTNS_* as successors to the
older TBSTYLE_* constants.
2003-08-22 10:50:54 +00:00
Christopher Faylor
095abc79ba
* sigproc.cc (wait_sig): Remove redundant test in do/while.
2003-08-22 03:40:49 +00:00
Christopher Faylor
a9f7754462
* sigproc.cc (wait_sig): Avoid infinite loop.
2003-08-22 01:07:01 +00:00
Christopher Faylor
b5c5b9996a
* speclib: Reenable removal of temp files.
2003-08-21 03:36:02 +00:00
Christopher Faylor
d688945c44
* miscfuncs.cc (low_priority_sleep): Sleep at same priority as main thread.
...
* sigproc.cc (wait_sig): Keep looping if there are more signals to consider and
we are flushing signals.
(sig_send): Put nonsync signals in the correct bucket.
2003-08-21 03:18:46 +00:00
Christopher Faylor
0b10f795f1
* speclib: Fix created lib to avoid "File truncated" problems.
2003-08-21 02:19:25 +00:00
Christopher Faylor
2bf794af9a
* exceptions.cc (interrupt_setup): Set sigsave.sig last to avoid a race.
2003-08-20 18:09:24 +00:00
Christopher Faylor
6f6d673cc5
* sigproc.cc (wait_sig): Ensure that myself->getsigtodo array is flushed on a
...
__SIGFLUSH. Christopher Faylor <cgf@redhat.com>
* exceptions.cc (_sigreturn): Handle nested signals without growing the stack.
2003-08-20 05:15:33 +00:00
Christopher Faylor
5f31e0f305
* exceptions.cc (pending_signals): Remove unneeded declaration.
...
* sigproc.cc (pending_signals): Make static.
(wait_sig): Use defined values rather than integers for rc. Never scan both
todo arrays as this could cause hangs if signals arrive from two different
sources. Rename saw_pending_signals to saw_failed_interrupt. Exit loop when
signal found. Enter low-priority sleep, if necessary, after finished
signalling completion. Set pending_signals when blocked
(from Pierre Humblet).
2003-08-20 02:31:26 +00:00
Christopher Faylor
6ac844b5e3
clarify
2003-08-20 01:19:04 +00:00
Christopher Faylor
06bb489932
* signal.cc (sigpending): Move.
...
* sigproc.cc (sigpending): To here.
(getlocal_sigtodo): Return process-local signal array.
(sigpending): Accommodate new process-local signal array.
(sig_send): Ditto.
(sig_set_pending): Ditto.
(wait_sig): Ditto.
2003-08-19 05:47:44 +00:00
Christopher Faylor
05cb7b17cb
Throughout, eliminate argument to sig_dispatch_pending.
...
* exceptions.cc (setup_handler): Move non-interruptible condition handling
(back) to wait_sig (as suggested by Pierre Humblet).
(set_process_mask): Don't worry about calling sig_dispatch_pending from
sigthread since it is detected in the function anyway.
(sig_handle): Eliminate thisproc arg. Don't call sig_dispatch_pending on
SIGCONT since that should happen automatically.
* sigproc.cc (sig_dispatch_pending): Eliminate justwake argument. Just return
when called from sigthread.
(wait_sig): Change some variables to bool. Change inner while to an if. Move
uninterruptible signal handling here.
(sigproc_terminate): Don't call sig_dispatch_pending. Just increment semaphore
on exit.
* speclib: Use slightly different (but still flawed) method for determining
symbols to extract from libraries.
2003-08-19 04:10:42 +00:00
Christopher Faylor
755f575f15
correct attribution, since this is not Pierre's patch.
2003-08-19 01:17:53 +00:00
Christopher Faylor
372cd2cbe6
* exceptions.cc (sigdelayed): Fix race where signal handler could get the wrong
...
mask.
2003-08-19 00:31:56 +00:00
Christopher Faylor
9d7f26eaf4
* path.cc (mount): Add null/empty check for input parameters.
...
(umount): Add null/empty check for input parameters.
2003-08-19 00:18:48 +00:00
Danny Smith
bb7c60962d
2003-08-17 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/commctrl.h (TB_*) Group defines together.
2003-08-17 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/winuser.h (ICON_SMALL2): Define.
* include/commctrl.h (TB_SETBUTTONWIDTH,TB_SETDRAWTEXTFLAGS):
Define.
* include/shlobj.h (SHDRAGIMAGE): Define structure.
(IDragSourceHelper) Define interface.
(IDropTargetHelper): Likewise.
(IExtractIcon): Unicode it.
(ICommDlgBrowser): Use IShellView type as param in OnDefaultCommand,
OnStateChange and IncludeObject methods.
2003-08-18 09:43:24 +00:00
Corinna Vinschen
981f9625f3
* grp.cc (read_group): Revert previous change.
...
* uinfo.cc (pwdgrp::load): Always reset curr_lines.
2003-08-17 17:50:40 +00:00
Corinna Vinschen
919497ee6b
* dump_setup.cc (check_package_files): Strip leading / and ./ from
...
package file names.
2003-08-17 17:26:08 +00:00
Corinna Vinschen
22d82f9f46
* errno.cc (errmap): Map ERROR_INVALID_BLOCK_LENGTH to EIO.
...
* fhandler_raw.cc (fhandler_dev_raw::raw_read): Set more accurate
errnos instead of EACCES.
(fhandler_dev_raw::raw_write): Ditto.
2003-08-17 17:12:18 +00:00
Christopher Faylor
293ce8104d
* path.cc (special_name): Accommodate all special names with extensions.
2003-08-17 16:33:15 +00:00
Danny Smith
597b518cb9
Add ChangeLog entry for last commit.
2003-08-17 08:55:28 +00:00
Danny Smith
5ca7a646d5
2003-08-17 Martin Fuchs <Martin-Fuchs@gmx.net>
...
* include/commctrl.h (TreeView_GetScrollTime,
TreeView_SetScrollTime): Define macros.
* include/winuser.h (GetShellWindow): Add prototype.
* include/objidl.h (STGMEDIUM): Correct lpszFileName type.
2003-08-17 08:47:37 +00:00
Corinna Vinschen
b723879025
* dump_setup.cc (package_find): Don't stop searching on missing
...
file list.
(package_list): Ditto.
* dump_setup.cc: (package_list): Make output terse unless
verbose requested. Fix formatting.
(package_find): Ditto.
2003-08-16 09:09:09 +00:00
Corinna Vinschen
200f243c42
* cygcheck.cc (main): Fix some formatting and help text printing.
...
* cygcheck.cc (find_package,list_package): New global
variables.
(usage): Add "--find-package" and "--list-package" options,
reformat output.
(longopts, opts): Add "--find-package" and "--list-package"
options.
(main): Process the "--find-package" and "--list-package"
flags. Add new semantic checks. Add calls to find_package()
and list_package().
* dump_setup.cc: Fix header comment.
(match_argv): Change return type to int to distinguish
between real matches and default ones.
(open_package_list): New static function.
(check_package_files): Factor out opening the package list
file into open_package_list().
(get_packages): New static function.
(dump_setup): Factor out getting a list of packages into
get_packages().
(package_list, package_find): New global functions.
2003-08-15 20:26:11 +00:00
Corinna Vinschen
92d897cde2
* mmap.cc (mmap64): Avoid crash if file size is less than requested
...
map length.
2003-08-15 12:05:08 +00:00
Corinna Vinschen
dae37d5d84
* regtool.cc (usage): Add missing linefeed. Move example to --help
...
text. Fix forward slash description.
2003-08-15 08:58:54 +00:00
Danny Smith
b98580a716
2003-08-15 Martin Fuchs <Martin-Fuchs@gmx.net>
...
* include/shguid.h (CLSID_DragDropHelper, IID_IDropTargetHelper,
IID_IDragSourceHelper): Declare.
* lib/shell32.c (CLSID_DragDropHelper, IID_IDropTargetHelper,
IID_IDragSourceHelper): Define.
2003-08-15 03:04:25 +00:00
Danny Smith
37f0dc7a05
2003-08-15 Andrew Greenwood <lists@silverblade.co.uk>
...
* include/wingdi.h (DEVMODE[AW]) Correct structure definition.
* include/ddk/ntapi.h (LPC_TYPE): Add LPC_CONNECTION_REFUSED.
* include/ddk/winddk.h (IRP_*): Add constants as anonymous enum.
2003-08-15 02:19:54 +00:00
Corinna Vinschen
e2b1a74c13
* dump_setup.cc (check_package_files): Fix extra '/' in filename.
...
Resize command buffer. Fix buffer overflow bug.
2003-08-13 19:37:40 +00:00
Corinna Vinschen
6763d47b1e
* path.cc (special_name): Add checks for some specials followed by
...
a "." and a FIXME comment.
2003-08-13 17:28:00 +00:00
Corinna Vinschen
ae89a49602
* cygwin.din: Accomodate change from cygwin_lstat to lstat.
...
* syscalls.cc: Add defines to avoid declaration issues when
renaming cygwin_lstat back to lstat.
(lstat): Reverted name change from cygwin_lstat.
2003-08-13 11:28:42 +00:00
Corinna Vinschen
c86c10b803
* include/sys/param.h (NBBY): Define if not defined.
...
* include/sys/param.h (setbit): Add new bitmap related macro.
(clrbit): Likewise.
(isset): Likewise.
(isclr): Likewise.
(howmany): Add new counting/rounding macro.
(rounddown): Likewise.
(roundup): Likewise.
(roundup2): Likewise.
(powerof2): Likewise
(MIN): Add macro for calculating min.
(MAX): Add macro for calculating max.
2003-08-12 10:23:40 +00:00
Danny Smith
6c7560c901
* lib/uuid.c (CGID_Explorer, CGID_ShellDocView,
...
CGID_ShellServiceObject): Remove definitions.
* lib/shell32.c (CGID_ShellServiceObject): Add definition.
Correct last ChangeLog entry for lib/shell32.def.
2003-08-10 09:19:06 +00:00
Christopher Faylor
e41630b08a
* dump_setup.cc (dump_setup): Check for the existence of the package list file.
...
Rework slightly to use static buffer for popen commands.
2003-08-10 01:07:04 +00:00
Danny Smith
46258d6fb8
2003-08-10 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/shlobj.h (SHELLSTATE): Add structure.
(SHGetSetSettings): Add prototype.
(SHGetSettings): Add prototype.
* lib/user32.def (SHGetSetSettings): Add stub.
2003-08-10 Phil Krylov <likewolf@users.sourceforge.net>
* include/commctrl.h (HDM_ORDERTOINDEX): Add define.
(Header_OrderToIndex): Add macro.
(Header_GetOrderArray): Add macro.
* include/commdlg.h (FR_MATCHALEFHAMZA,
FR_MATCHDIAC, FR_MATCHKASHIDA): Add defines.
2003-08-10 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/commctrl.h (TVM_GETSCROLLTIME,
TVM_SETSCROLLTIME): Add defines.
2003-08-10 00:40:01 +00:00
Christopher Faylor
58d4b72d33
* dump_setup.cc (version_len): New static variable.
...
(could_not_access,directory_exists): New static function.
(file_exists): Ditto.
(check_package_files): Ditto.
(dump_setup): Check the contents of each package if check_files is true and
output the result in the "Status" column. Flush output after each package.
* dump_setup.cc (dump_setup): Remove redundant null check. Add informative
message if package info not found.
2003-08-09 16:32:22 +00:00
Christopher Faylor
9d77d53601
* include/cygwin/version.h: Bump DLL minor number to 3.
2003-08-09 16:32:03 +00:00
Christopher Faylor
5c65fa0200
* include/stdint.h: Correctly define INT32_MIN.
2003-08-08 19:30:41 +00:00
Christopher Faylor
b344f1876c
* grp.cc (read_group): Set __group32.gr_mem pointer back to &null_ptr after
...
free() is called.
2003-08-08 19:28:34 +00:00
Christopher Faylor
0601b11fb6
fix typo
2003-08-06 03:39:36 +00:00
Christopher Faylor
8440f55d74
typo
2003-08-06 03:22:18 +00:00
Christopher Faylor
16f9bc1323
* Makefile.common: Hmm. Older compilers seem to need -nostdinc.
2003-08-06 02:35:33 +00:00
Christopher Faylor
c6f80f3e29
* Makefile.common: Don't send -nostdinc++ with g++.
2003-08-06 02:06:43 +00:00