You can subscribe to this list here.
2004 |
Jan
|
Feb
(48) |
Mar
(80) |
Apr
(9) |
May
(2) |
Jun
(91) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <sp...@us...> - 2004-02-23 18:27:25
|
Update of /cvsroot/rtk/rtk/test/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11319/test/core Modified Files: CMakeLists.txt dict0.cpp string0.cpp Log Message: CMakeList rewritten to be more elegant dict0.cpp fixed so it works in ASCII mode also Some minor changes in string0.cpp also Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/CMakeLists.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CMakeLists.txt 21 Feb 2004 23:49:03 -0000 1.2 --- CMakeLists.txt 23 Feb 2004 18:13:36 -0000 1.3 *************** *** 40,58 **** LINK_DIRECTORIES(${RTK_SOURCE_DIR}/lib ${RTK_SOURCE_DIR}/src/core/lib ${RTK_SOURCE_DIR}/src/core) ! # Debug test ! ADD_EXECUTABLE(test_core_debug0 debug0.cpp) ! TARGET_LINK_LIBRARIES(test_core_debug0 ${RTK_LIBRTK}) ! ! # SList test ! ADD_EXECUTABLE(test_core_list0 list0.cpp) ! TARGET_LINK_LIBRARIES(test_core_list0 ${RTK_LIBRTK}) ! ! # String test ! ADD_EXECUTABLE(test_core_string0 string0.cpp) ! TARGET_LINK_LIBRARIES(test_core_string0 ${RTK_LIBRTK}) ! ! # Variant test ! ADD_EXECUTABLE(test_core_variant0 variant0.cpp) ! TARGET_LINK_LIBRARIES(test_core_variant0 ${RTK_LIBRTK}) ## --- 40,47 ---- LINK_DIRECTORIES(${RTK_SOURCE_DIR}/lib ${RTK_SOURCE_DIR}/src/core/lib ${RTK_SOURCE_DIR}/src/core) ! FOREACH(NAME debug0 list0 variant0 array0 dict0 error0) ! ADD_EXECUTABLE(test_core_${NAME} ${NAME}.cpp) ! TARGET_LINK_LIBRARIES(test_core_${NAME} ${RTK_LIBRTK}) ! ENDFOREACH(NAME) ## Index: dict0.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/dict0.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** dict0.cpp 21 Feb 2004 15:11:34 -0000 1.5 --- dict0.cpp 23 Feb 2004 18:13:36 -0000 1.6 *************** *** 47,51 **** void DictPrint(const RCHAR* oString, void* oData,void *userData) { ! rprintf(L"Dict[\"%s\"]=%s\n", oString, (RCHAR *)oData); } --- 47,51 ---- void DictPrint(const RCHAR* oString, void* oData,void *userData) { ! rprintf(_R("Dict[\"%s\"]=%s\n"), oString, (RCHAR *)oData); } *************** *** 93,106 **** if (!oDict.Replace(oTmp, (void*)oString.c_str())) ! rprintf(L"Error!\n"); ! if (!oDict.Replace(L"Two", (void*)oTmp.c_str())) ! rprintf(L"Error!\n"); ! rprintf(_R("Loopup(\"One\") = %s\n"), (RCHAR*)oDict.Lookup(L"One")); ! rprintf(_R("oDict[\"Two\"] = %s\n"), (RCHAR*)oDict[L"Two"]); ! rprintf(L"\nNumber of DictNodes: %d\n", oDict.GetCount()); oDict.Enumerate(DictPrint); --- 93,106 ---- if (!oDict.Replace(oTmp, (void*)oString.c_str())) ! rprintf(_R("Error!\n")); ! if (!oDict.Replace(_R("Two"), (void*)oTmp.c_str())) ! rprintf(_R("Error!\n")); ! rprintf(_R("Loopup(\"One\") = %s\n"), (RCHAR*)oDict.Lookup(_R("One"))); ! rprintf(_R("oDict[\"Two\"] = %s\n"), (RCHAR*)oDict[_R("Two")]); ! rprintf(_R("\nNumber of DictNodes: %d\n"), oDict.GetCount()); oDict.Enumerate(DictPrint); Index: string0.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/string0.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** string0.cpp 22 Feb 2004 11:50:15 -0000 1.8 --- string0.cpp 23 Feb 2004 18:13:36 -0000 1.9 *************** *** 124,128 **** rfgets(0,0,0); rgets(0); ! rgettchar(); rungetc(0,0); --- 124,128 ---- rfgets(0,0,0); rgets(0); ! rgetchar(); rungetc(0,0); |
From: <sp...@us...> - 2004-02-23 18:25:16
|
Update of /cvsroot/rtk/rtk/test/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10939/test/core Added Files: run_test debug0.out Log Message: Added script to test the test suite --- NEW FILE: run_test --- #!/bin/sh ############################################################################## # run-test # $Id: run_test,v 1.1 2004/02/23 18:11:40 space2 Exp $ # Executes a series of test # You can specify the test name to execute one test or all to execute # all tests (it will search for test_core_*) # # Todo: this should work for unicode too # Check arguments if [ "x$1" = "x" ]; then echo "Usage: run_test <test_base_name|all>"; echo "Example: run_test debug0"; exit fi # Check which test suite to run PWD=`pwd` TESTSUITE=`basename "$PWD"` # Check if all test need to be executed if [ "$1" = "all" ]; then for i in test_${TESTSUITE}_*; do BASENAME=${i##test_${TESTSUITE}_} $0 $BASENAME done exit fi # String any extensions if present NAME=${1%%.*} # Some variables TESTTMP=`mktemp /tmp/rtk-test-XXXXXX` TESTOUT=${NAME}.out trap "rm -f $TESTTMP" 0 1 2 3 9 11 13 15 # Execute the test echo -n "Testing $NAME ... "; ./test_${TESTSUITE}_${NAME} > $TESTTMP if cmp --quiet $TESTOUT $TESTTMP; then echo "Passed"; else echo "!!!FAILED!!!"; echo "diff -aur:"; diff -aur $TESTOUT $TESTTMP fi --- NEW FILE: debug0.out --- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Example code for the DEBUGing functionality of Rtk -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- DEBUG: A very important message ! MSGBOX: A very important message ! DEBUG: An important message! MSGBOX: An important message! DEBUG: You should know about this! |
From: <sp...@us...> - 2004-02-23 18:23:44
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10501/rtk Modified Files: Array.h Log Message: t didn't compiled for me the old way, I removed the ## in the macro, not is works Index: Array.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/Array.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Array.h 22 Feb 2004 11:50:15 -0000 1.4 --- Array.h 23 Feb 2004 18:10:07 -0000 1.5 *************** *** 185,189 **** { \ public: \ ! class_name() : Array(sizeof(##type)) { } \ const type *bsearch(const type *key, CmpFunction cmpfunc) { Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ const type *lfind(const type *key, CmpFunction cmpfunc) { Array::lfind(ARRAY_DATA(key), cmpfunc); } \ --- 185,189 ---- { \ public: \ ! class_name() : Array(sizeof(type)) { } \ const type *bsearch(const type *key, CmpFunction cmpfunc) { Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ const type *lfind(const type *key, CmpFunction cmpfunc) { Array::lfind(ARRAY_DATA(key), cmpfunc); } \ |
From: <de...@us...> - 2004-02-22 19:15:01
|
Update of /cvsroot/rtk/rtk/src/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31358 Modified Files: CMakeLists.txt Log Message: Small change... |
From: <de...@us...> - 2004-02-22 19:09:41
|
Update of /cvsroot/rtk/rtk/src/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30040 Modified Files: CMakeLists.txt Log Message: Fixed problem with unistd.h on Windows. However this should be just specified for some specific compilers... Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/rtk/rtk/src/core/CMakeLists.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CMakeLists.txt 21 Feb 2004 23:49:04 -0000 1.5 --- CMakeLists.txt 22 Feb 2004 18:56:47 -0000 1.6 *************** *** 26,35 **** # Bug reports: bu...@rt... # Suggestions: rf...@rt... #################################################################### SET(RTK_CORE_SFILES ! SList.cpp Dict.cpp ! error.cpp String.cpp ! debug.cpp ) --- 26,39 ---- # Bug reports: bu...@rt... # Suggestions: rf...@rt... + # + # Authors (chronological order): + # Dejan Lekic , de...@nu... + # Contributors + # N/A #################################################################### SET(RTK_CORE_SFILES ! SList.cpp Dict.cpp debug.cpp ! error.cpp String.cpp Array.cpp ) *************** *** 55,63 **** ENDIF (RTK_OPT_UNICODE) ! INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake) ! CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) ! IF (HAVE_UNISTD_H) ! ADD_DEFINITIONS(-DHAVE_UNISTD_H) ! ENDIF (HAVE_UNISTD_H) ## --- 59,69 ---- ENDIF (RTK_OPT_UNICODE) ! IF (NOT WIN32) ! INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake) ! CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) ! IF (HAVE_UNISTD_H) ! ADD_DEFINITIONS(-DHAVE_UNISTD_H) ! ENDIF (HAVE_UNISTD_H) ! ENDIF (NOT WIN32) ## |
From: <laz...@us...> - 2004-02-22 13:30:17
|
Update of /cvsroot/rtk/rtk/src/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22024 Modified Files: call_main.c Log Message: added comments Index: call_main.c =================================================================== RCS file: /cvsroot/rtk/rtk/src/core/call_main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** call_main.c 18 Jan 2004 20:17:07 -0000 1.2 --- call_main.c 22 Feb 2004 13:17:32 -0000 1.3 *************** *** 1,2 **** --- 1,44 ---- + /** + * + * RTK + * Fast and easy cross-platform GUI ToolKit. + * + * Copyright (C) 2001-200x RTK Development Team + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the slightly modified (see the "EXCEPTION NOTICE" part + * of RTK Library License) GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * and along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA . + * + * Also you should have received a copy of RTK Library License, if not please + * write an e-mail to some of RTK authors (listed in file AUTHORS). + * + * Bug reports: bu...@rt... + * Suggestions: rf...@rt... + ***************************************************************************/ + + /** + * $Source$ + ***** + * Authors (chronological order): + * Mikko Lahteenmaki, mikko§rtk.cx + * Dejan Lekic, dejan§rtk.cx + * Contributors (chronological order): + * $fname $lname, $email + ***** + * T0D0 List: + * - + ***************************************************************************/ + /* * This WinMain() function can be overridden by an application and *************** *** 70,71 **** --- 112,119 ---- #endif /* _RTK_WIN32_ && !RTK_DLL && !__GNUC__ */ + + /** + * $Id$ + ***************************************************************************/ + + |