From: Earnie B. <ea...@us...> - 2004-04-30 12:43:16
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32162 Modified Files: ChangeLog.MSYS Makefile.in window.cc Log Message: * Makefile.in (new-$(DLL_NAME)): Add -luser32 to link command. * window.cc: Add TRACE_IN throughout. (Winmain): Revert the changes from 04-22. Add a FIXME MessageBox. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** ChangeLog.MSYS 23 Apr 2004 02:11:57 -0000 1.66 --- ChangeLog.MSYS 30 Apr 2004 12:42:49 -0000 1.67 *************** *** 1,2 **** --- 1,8 ---- + 2004-04-30 Earnie Boyd <ea...@us...> + + * Makefile.in (new-$(DLL_NAME)): Add -luser32 to link command. + * window.cc: Add TRACE_IN throughout. + (Winmain): Revert the changes from 04-22. Add a FIXME MessageBox. + 2004-04-22 Earnie Boyd <ea...@us...> Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/Makefile.in,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile.in 19 Apr 2003 01:03:46 -0000 1.8 --- Makefile.in 30 Apr 2004 12:42:49 -0000 1.9 *************** *** 202,206 **** -e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) version.o winver.o \ $(DLL_IMPORTS) $(MALLOC_OBJ) $(LIBM) $(LIBC) \ ! -lstdc++ -lgcc -lshell32 -luuid -lkernel32 -lnetapi32 dll_ofiles: $(DLL_OFILES) --- 202,206 ---- -e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) version.o winver.o \ $(DLL_IMPORTS) $(MALLOC_OBJ) $(LIBM) $(LIBC) \ ! -lstdc++ -lgcc -lshell32 -luuid -lkernel32 -lnetapi32 -luser32 dll_ofiles: $(DLL_OFILES) Index: window.cc =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/window.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** window.cc 23 Apr 2004 02:11:57 -0000 1.4 --- window.cc 30 Apr 2004 12:42:49 -0000 1.5 *************** *** 31,34 **** --- 31,35 ---- WndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { + TRACE_IN; #ifndef NOSTRACE strace.wm (uMsg, wParam, lParam); *************** *** 73,76 **** --- 74,78 ---- Winmain (VOID *) { + TRACE_IN; MSG msg; WNDCLASS wc; *************** *** 110,124 **** } - ShowWindow(ourhwnd, SW_SHOW); - UpdateWindow(ourhwnd); - /* Start the message loop. */ while (GetMessage (&msg, ourhwnd, 0, 0) == TRUE) { - TranslateMessage (&msg); DispatchMessage (&msg); } return msg.wParam; } --- 112,124 ---- } /* Start the message loop. */ while (GetMessage (&msg, ourhwnd, 0, 0) == TRUE) { DispatchMessage (&msg); } + /* FIXME: If this MessageBox never appears then this code is never executed */ + MessageBox(ourhwnd, "If this MessageBox is visible send email to\nmi...@li... with a submit of \"FIXME MB\"", "FIXME", 0); return msg.wParam; } *************** *** 127,130 **** --- 127,131 ---- gethwnd () { + TRACE_IN; if (ourhwnd != NULL) return ourhwnd; *************** *** 151,154 **** --- 152,156 ---- window_terminate () { + TRACE_IN; if (ourhwnd) SendMessage (ourhwnd, WM_DESTROY, 0, 0); *************** *** 159,162 **** --- 161,165 ---- setitimer (int which, const struct itimerval *value, struct itimerval *oldvalue) { + TRACE_IN; UINT elapse; *************** *** 204,207 **** --- 207,211 ---- getitimer (int which, struct itimerval *value) { + TRACE_IN; UINT elapse, val; *************** *** 235,238 **** --- 239,243 ---- alarm (unsigned int seconds) { + TRACE_IN; int ret; struct itimerval newt, oldt; |