ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
November 2010
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
16 participants
491 discussions
Start a n
N
ew thread
[fireball] 49507: Create a branch for Oleg's network bringup.
by fireball@svn.reactos.org
Author: fireball Date: Sat Nov 6 09:37:26 2010 New Revision: 49507 URL:
http://svn.reactos.org/svn/reactos?rev=49507&view=rev
Log: Create a branch for Oleg's network bringup. Added: branches/baikalnet/ (props changed) - copied from r49501, trunk/reactos/ Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Sat Nov 6 09:37:26 2010 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sat Nov 6 09:37:26 2010 @@ -1,0 +1,14 @@ +*.iso +makefile.auto +makefile-*.auto +config-*.rbuild +obj-* +output-* +reactos +reactos.* +RosBE-Logs +*.sln +*.ncb +*.suo +versionreport.xml +config.rbuild Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ --- svn:mergeinfo (added) +++ svn:mergeinfo Sat Nov 6 09:37:26 2010 @@ -1,0 +1,4 @@ +/branches/header-work:45691-47721 +/branches/reactos-yarotows:45219-46371,46373-48025,48027-49273 +/branches/ros-amd64-bringup:36852 +/branches/ros-amd64-bringup/reactos:34711-34712,34741,34743,34770,34780-34782,34803,34812,34839,34842,34864,34870,34874,34877,34908-34909,34917,34965,35323-35324,35347-35348,35361,35436,35509,35515,35588,35655,35683,35739,35746,35762,35771,35777,35781,35789,35805,35823,35827,35902,35904-35906,35942,35947-35949,35952-35953,35966,36011-36013,36172,36360,36380,36388-36389,36393,36397,36443,36445,36475,36502-36503,36505,36570,36614,36852,36898-36899,36930,36936,36949,36951,36958,36961,36964,36969,36972,36987-36988,36990,36992,37019,37322-37323,37333-37334,37434,37472,37475,37536,37820-37821,37868-37869,37873,37990-37991,38013-38014,38092,38100,38148-38151,38264-38265,38268,38355,39151,39333,39335,39345,39639,40120,40122-40123,40125,40127-40128,40155,40247,40324,40608,40753,40926-40928,40986-40987,40989,40991,40993,40995-40996,41000-41001,41027-41030,41044-41045,41047-41050,41052,41070,41082-41086,41097-41098,41101,41449,41479-41480,41483-41485,41499-41500,41502,41531,41536,41540,41546-41547,41549,43080,43426,43451,43454,43506,43566,43574,43598,43600-43602,43604-43605,43677,43682,43757,43775,43836,43838-43840,43852,43857-43858,43860,43905-43907,43952,43954,43965,43969,43979,43981,43992,44002,44036-44037,44039-44040,44044-44045,44053,44065,44095,44123,44143-44144,44205,44238,44257,44259,44294,44338-44339,44385,44389,44391,44426,44460,44467-44468,44470-44471,44499,44501,44503-44504,44506,44510-44512,44521,44523-44526,44530,44540,44601,44634,44639,44772,44818,45124,45126-45127,45430,46394,46404,46478,46511,46523-46524,46526,46534-46535,46537-46539,46589,46805,46868,47472,47846-47847,47878,47882 Propchange: branches/baikalnet/ ------------------------------------------------------------------------------ tsvn:logminsize = 10
14 years, 1 month
1
0
0
0
[tkreuzer] 49506: [MINGW] #if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Nov 6 09:17:04 2010 New Revision: 49506 URL:
http://svn.reactos.org/svn/reactos?rev=49506&view=rev
Log: [MINGW] #if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice. Modified: branches/cmake-bringup/lib/3rdparty/mingw/merr.c Modified: branches/cmake-bringup/lib/3rdparty/mingw/merr.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/merr.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/merr.c [iso-8859-1] Sat Nov 6 09:17:04 2010 @@ -10,6 +10,7 @@ int __defaultmatherr = 0; +#if 0 int __CRTDECL _matherr (struct _exception *pexcept) { @@ -51,3 +52,4 @@ return 0; } +#endif
14 years, 1 month
1
0
0
0
[tkreuzer] 49505: [MINGW] Don't define __ImageBase to something else on MSVC builds
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Nov 6 00:25:57 2010 New Revision: 49505 URL:
http://svn.reactos.org/svn/reactos?rev=49505&view=rev
Log: [MINGW] Don't define __ImageBase to something else on MSVC builds Modified: branches/cmake-bringup/lib/3rdparty/mingw/crt_handler.c branches/cmake-bringup/lib/3rdparty/mingw/crtexe.c branches/cmake-bringup/lib/3rdparty/mingw/pesect.c branches/cmake-bringup/lib/3rdparty/mingw/pseudo-reloc.c Modified: branches/cmake-bringup/lib/3rdparty/mingw/crt_handler.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/crt_handler.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/crt_handler.c [iso-8859-1] Sat Nov 6 00:25:57 2010 @@ -16,7 +16,9 @@ #if defined (_WIN64) && defined (__ia64__) #error FIXME: Unsupported __ImageBase implementation. #else +#ifndef _MSC_VER #define __ImageBase __MINGW_LSYMBOL(_image_base__) +#endif /* This symbol is defined by the linker. */ extern IMAGE_DOS_HEADER __ImageBase; #endif Modified: branches/cmake-bringup/lib/3rdparty/mingw/crtexe.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/crtexe.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/crtexe.c [iso-8859-1] Sat Nov 6 00:25:57 2010 @@ -33,7 +33,10 @@ #endif /* Hack, for bug in ld. Will be removed soon. */ +#ifndef _MSC_VER #define __ImageBase __MINGW_LSYMBOL(_image_base__) +#endif + /* This symbol is defined by ld. */ extern IMAGE_DOS_HEADER __ImageBase; Modified: branches/cmake-bringup/lib/3rdparty/mingw/pesect.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/pesect.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/pesect.c [iso-8859-1] Sat Nov 6 00:25:57 2010 @@ -11,7 +11,9 @@ #error FIXME: Unsupported __ImageBase implementation. #else /* Hack, for bug in ld. Will be removed soon. */ +#ifndef _MSC_VER #define __ImageBase __MINGW_LSYMBOL(_image_base__) +#endif /* This symbol is defined by the linker. */ extern IMAGE_DOS_HEADER __ImageBase; #endif Modified: branches/cmake-bringup/lib/3rdparty/mingw/pseudo-reloc.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/pseudo-reloc.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/pseudo-reloc.c [iso-8859-1] Sat Nov 6 00:25:57 2010 @@ -46,7 +46,10 @@ extern char __RUNTIME_PSEUDO_RELOC_LIST__; extern char __RUNTIME_PSEUDO_RELOC_LIST_END__; -extern char __MINGW_LSYMBOL(_image_base__); +#ifndef _MSC_VER +#define __ImageBase __MINGW_LSYMBOL(_image_base__) +#endif +extern char __ImageBase; void _pei386_runtime_relocator (void); @@ -363,5 +366,5 @@ ++was_init; do_pseudo_reloc (&__RUNTIME_PSEUDO_RELOC_LIST__, &__RUNTIME_PSEUDO_RELOC_LIST_END__, - &__MINGW_LSYMBOL(_image_base__)); + &__ImageBase); }
14 years, 1 month
1
0
0
0
[akhaldi] 49504: [CMAKE] - Fix and enable browseui.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Nov 5 23:25:51 2010 New Revision: 49504 URL:
http://svn.reactos.org/svn/reactos?rev=49504&view=rev
Log: [CMAKE] - Fix and enable browseui. Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
============================================================================== --- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:25:51 2010 @@ -12,7 +12,7 @@ add_subdirectory(batt) add_subdirectory(bcrypt) add_subdirectory(beepmidi) -#add_subdirectory(browseui) #FIXME: shellbrowser.cpp:152: error: expected constructor, destructor, or type conversion before 'SHAlloc' +add_subdirectory(browseui) add_subdirectory(cabinet) add_subdirectory(cards) add_subdirectory(cfgmgr32) @@ -40,7 +40,7 @@ add_subdirectory(gdi32) add_subdirectory(gdiplus) add_subdirectory(getuname) -add_subdirectory(glu32)# FIXME: set_cpp()? +add_subdirectory(glu32) add_subdirectory(hhctrl.ocx) add_subdirectory(hid) add_subdirectory(hlink) Modified: branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/browseu…
============================================================================== --- branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:25:51 2010 @@ -1,11 +1,17 @@ set_unicode() -add_definitions(-D__WINESRC__) +add_definitions( + -D__WINESRC__ + -DUNICODE -D_UNICODE + -DROS_Headers) + remove_definitions(-D_WIN32_WINNT=0x502) add_definitions(-D_WIN32_WINNT=0x600) -include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) -include_directories(${REACTOS_SOURCE_DIR}/lib/atl) + +include_directories( + ${REACTOS_SOURCE_DIR}/include/reactos/wine + ${REACTOS_SOURCE_DIR}/lib/atl) spec2def(browseui.dll browseui.spec) @@ -34,13 +40,16 @@ set_module_type(browseui win32dll) +target_link_libraries(browseui stlport -lsupc++ -lgcc) + target_link_libraries(browseui atlnew uuid wine) add_importlibs(browseui - msvcrt + mingw32 + coldname shlwapi shell32 comctl32 @@ -49,6 +58,8 @@ oleaut32 user32 advapi32 + msvcrt + kernel32 ntdll) add_cab_target(browseui 1)
14 years, 1 month
1
0
0
0
[akhaldi] 49503: [CMAKE] - Explicitly disable auto imports for executables. - Set a proper linker invocation for C++ modules.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Nov 5 23:17:29 2010 New Revision: 49503 URL:
http://svn.reactos.org/svn/reactos?rev=49503&view=rev
Log: [CMAKE] - Explicitly disable auto imports for executables. - Set a proper linker invocation for C++ modules. Modified: branches/cmake-bringup/gcc.cmake Modified: branches/cmake-bringup/gcc.cmake URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/gcc.cmake?rev=495…
============================================================================== --- branches/cmake-bringup/gcc.cmake [iso-8859-1] (original) +++ branches/cmake-bringup/gcc.cmake [iso-8859-1] Fri Nov 5 23:17:29 2010 @@ -1,9 +1,7 @@ - if(NOT CMAKE_CROSSCOMPILING) add_definitions(-fshort-wchar) - else() @@ -11,14 +9,14 @@ link_directories("${REACTOS_SOURCE_DIR}/importlibs" ${REACTOS_BINARY_DIR}/lib/3rdparty/mingw) set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_CXX_COMPILER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") -set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--kill-at") +set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--kill-at -Wl,--disable-auto-import") # -Wl,-T,${REACTOS_SOURCE_DIR}/global.lds # Compiler Core add_definitions(-pipe -fms-extensions) set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") - +set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") set(CMAKE_RC_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") # Debugging (Note: DWARF-4 on 4.5.1 when we ship)
14 years, 1 month
1
0
0
0
[spetreolle] 49502: [CMAKE] Bootcd/Livecd : Add dplayx, ntfs and mup. Add forgotten wined3d importlib, my bad.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Fri Nov 5 23:14:29 2010 New Revision: 49502 URL:
http://svn.reactos.org/svn/reactos?rev=49502&view=rev
Log: [CMAKE] Bootcd/Livecd : Add dplayx, ntfs and mup. Add forgotten wined3d importlib, my bad. Added: branches/cmake-bringup/dll/directx/dplayx/CMakeLists.txt (with props) branches/cmake-bringup/importlibs/libwined3d.a (with props) Modified: branches/cmake-bringup/dll/directx/CMakeLists.txt branches/cmake-bringup/drivers/filesystems/mup/CMakeLists.txt branches/cmake-bringup/drivers/filesystems/ntfs/CMakeLists.txt branches/cmake-bringup/media/CMakeLists.txt Modified: branches/cmake-bringup/dll/directx/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/CMake…
============================================================================== --- branches/cmake-bringup/dll/directx/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:14:29 2010 @@ -10,7 +10,7 @@ add_subdirectory(dinput8) add_subdirectory(dmusic) add_subdirectory(dplay) -#add_subdirectory(dplayx) +add_subdirectory(dplayx) add_subdirectory(dsound) #add_subdirectory(dsound_new) add_subdirectory(dxdiagn) Added: branches/cmake-bringup/dll/directx/dplayx/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/dplay…
============================================================================== --- branches/cmake-bringup/dll/directx/dplayx/CMakeLists.txt (added) +++ branches/cmake-bringup/dll/directx/dplayx/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:14:29 2010 @@ -1,0 +1,38 @@ +set_rc_compiler() + +spec2def(dplayx.dll dplayx.spec) + +list(APPEND SOURCE + dpclassfactory.c + dplay.c + dplaysp.c + dplayx_global.c + dplayx_main.c + dplayx_messages.c + dplobby.c + lobbysp.c + name_server.c + regsvr.c + version.rc + dplayx.def) + +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +add_library(dplayx SHARED ${SOURCE}) +set_module_type(dplayx win32dll) + +target_link_libraries(dplayx + ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def + wine + uuid + dxguid) + +add_importlibs(dplayx + advapi32 + ole32 + user32 + winmm + msvcrt + kernel32 + ntdll) + Propchange: branches/cmake-bringup/dll/directx/dplayx/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/cmake-bringup/drivers/filesystems/mup/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
============================================================================== --- branches/cmake-bringup/drivers/filesystems/mup/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/filesystems/mup/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:14:29 2010 @@ -6,3 +6,5 @@ set_module_type(mup kernelmodedriver) add_importlibs(mup ntoskrnl hal) + +add_cab_target(mup 2) Modified: branches/cmake-bringup/drivers/filesystems/ntfs/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
============================================================================== --- branches/cmake-bringup/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:14:29 2010 @@ -23,3 +23,6 @@ add_importlibs(ntfs ntoskrnl hal) add_pch(ntfs ${CMAKE_CURRENT_SOURCE_DIR}/ntfs.h ${SOURCE}) + +add_minicd_target(ntfs reactos) +add_livecd_target(ntfs reactos/system32/drivers) Added: branches/cmake-bringup/importlibs/libwined3d.a URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libwin…
============================================================================== Binary file - no diff available. Propchange: branches/cmake-bringup/importlibs/libwined3d.a ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: branches/cmake-bringup/media/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/media/CMakeLists.…
============================================================================== --- branches/cmake-bringup/media/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/media/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:14:29 2010 @@ -7,6 +7,7 @@ add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit reactos KDBinit) add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services reactos services) -add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/hosts reactos/system32/drivers/etc hosts) -add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit reactos/system32/drivers/etc KDBinit) -add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services reactos/system32/drivers/etc services) +add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/hosts 5) +add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit 5) +add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services 5) +add_cab(${CMAKE_CURRENT_SOURCE_DIR}/sounds/ReactOS_LogOn.wav 8)
14 years, 1 month
1
0
0
0
[tkreuzer] 49501: Fix build
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Nov 5 23:12:59 2010 New Revision: 49501 URL:
http://svn.reactos.org/svn/reactos?rev=49501&view=rev
Log: Fix build Modified: trunk/reactos/lib/sdk/crt/printf/streamout.c trunk/reactos/lib/sdk/crt/printf/vsprintf.c Modified: trunk/reactos/lib/sdk/crt/printf/streamout.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/streamo…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] Fri Nov 5 23:12:59 2010 @@ -11,6 +11,7 @@ #include <tchar.h> #include <strings.h> #include <math.h> +#include <float.h> #ifdef _UNICODE #define streamout wstreamout Modified: trunk/reactos/lib/sdk/crt/printf/vsprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vsprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vsprintf.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/printf/vsprintf.c [iso-8859-1] Fri Nov 5 23:12:59 2010 @@ -1,4 +1,3 @@ -#include "myfunc.h" /* * COPYRIGHT: GNU GPL, see COPYING in the top level directory * PROJECT: ReactOS crt library
14 years, 1 month
1
0
0
0
[akhaldi] 49500: [CMAKE] - Fix and enable glu32 and winemp3.acm
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Nov 5 23:06:24 2010 New Revision: 49500 URL:
http://svn.reactos.org/svn/reactos?rev=49500&view=rev
Log: [CMAKE] - Fix and enable glu32 and winemp3.acm Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt branches/cmake-bringup/dll/win32/glu32/CMakeLists.txt branches/cmake-bringup/dll/win32/winemp3.acm/CMakeLists.txt Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
============================================================================== --- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:06:24 2010 @@ -40,7 +40,7 @@ add_subdirectory(gdi32) add_subdirectory(gdiplus) add_subdirectory(getuname) -#add_subdirectory(glu32)# FIXME: set_cpp()? +add_subdirectory(glu32)# FIXME: set_cpp()? add_subdirectory(hhctrl.ocx) add_subdirectory(hid) add_subdirectory(hlink) @@ -199,7 +199,7 @@ add_subdirectory(version) add_subdirectory(wdmaud.drv) add_subdirectory(windowscodecs) -#add_subdirectory(winemp3.acm) #FIXME: ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator)' +add_subdirectory(winemp3.acm) add_subdirectory(winfax) add_subdirectory(wing32) add_subdirectory(winhttp) Modified: branches/cmake-bringup/dll/win32/glu32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/glu32/C…
============================================================================== --- branches/cmake-bringup/dll/win32/glu32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/glu32/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:06:24 2010 @@ -1,15 +1,17 @@ -set_cpp() -add_definitions(-DRESOLVE_3D_TEXTURE_SUPPORT) -add_definitions(-DBUILD_GL32) -add_definitions(-DLIBRARYBUILD) -add_definitions(-D_DLL -D__USE_CRTIMP) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/internals) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/interface) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/nurbtess) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libtess) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libutil) +add_definitions( + -DRESOLVE_3D_TEXTURE_SUPPORT + -DBUILD_GL32 + -DLIBRARYBUILD + -D_DLL -D__USE_CRTIMP) + +include_directories( + include + libnurbs/internals + libnurbs/interface + libnurbs/nurbtess + libtess + libutil) spec2def(glu32.dll glu32.spec) @@ -107,12 +109,14 @@ set_entrypoint(glu32 0) -add_importlibs( - glu32 - gcc - msvcrt +target_link_libraries(glu32 stlport -lsupc++ -lgcc) + +add_importlibs(glu32 + mingw32 + coldname opengl32 gdi32 + msvcrt kernel32 ntdll) Modified: branches/cmake-bringup/dll/win32/winemp3.acm/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/winemp3…
============================================================================== --- branches/cmake-bringup/dll/win32/winemp3.acm/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/winemp3.acm/CMakeLists.txt [iso-8859-1] Fri Nov 5 23:06:24 2010 @@ -1,13 +1,17 @@ -add_definitions(-D_DLL -D__USE_CRTIMP) -add_definitions(-D__WINESRC__ -DWIN32) +add_definitions( + -D_DLL -D__USE_CRTIMP + -D__WINESRC__ + -DWIN32) -include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) -include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123) +include_directories( + ${REACTOS_SOURCE_DIR}/include/reactos/wine + ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123) spec2def(winemp3.acm winemp3.acm.spec) -add_library(winemp3.acm SHARED mpegl3.c +add_library(winemp3.acm SHARED + mpegl3.c ${CMAKE_CURRENT_BINARY_DIR}/winemp3.def) set_entrypoint(winemp3.acm 0)
14 years, 1 month
1
0
0
0
[tkreuzer] 49499: [CRT] New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current i...
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Nov 5 22:21:36 2010 New Revision: 49499 URL:
http://svn.reactos.org/svn/reactos?rev=49499&view=rev
Log: [CRT] New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch. Added: trunk/reactos/lib/sdk/crt/printf/ (with props) trunk/reactos/lib/sdk/crt/printf/_cprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/_snprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/_snwprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/_vcprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/_vsnprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/_vsnwprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/fprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/fwprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/printf.c (with props) trunk/reactos/lib/sdk/crt/printf/sprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/streamout.c (with props) trunk/reactos/lib/sdk/crt/printf/swprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vfprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vfwprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vsprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vswprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/vwprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/wprintf.c (with props) trunk/reactos/lib/sdk/crt/printf/wstreamout.c (with props) trunk/reactos/lib/sdk/crt/stdio/lock_file.c (with props) Modified: trunk/reactos/ (props changed) trunk/reactos/boot/freeldr/freeldr/debug.c trunk/reactos/config.template.rbuild trunk/reactos/lib/rtl/rtl.rbuild trunk/reactos/lib/rtl/sprintf.c trunk/reactos/lib/rtl/swprintf.c trunk/reactos/lib/sdk/crt/conio/cprintf.c trunk/reactos/lib/sdk/crt/crt.rbuild trunk/reactos/lib/sdk/crt/libcntpr.rbuild trunk/reactos/lib/sdk/crt/mbstring/mbstrlen.c trunk/reactos/lib/sdk/crt/stdio/file.c trunk/reactos/lib/sdk/crt/stdio/lnx_sprintf.c trunk/reactos/lib/sdk/crt/string/wcs.c trunk/reactos/modules/directory.rbuild Propchange: trunk/reactos/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Fri Nov 5 22:21:36 2010 @@ -1,4 +1,4 @@ /branches/header-work:45691-47721 -/branches/reactos-yarotows:45219-49273 +/branches/reactos-yarotows:45219-46371,46373-48025,48027-49273 /branches/ros-amd64-bringup:36852 /branches/ros-amd64-bringup/reactos:34711-34712,34741,34743,34770,34780-34782,34803,34812,34839,34842,34864,34870,34874,34877,34908-34909,34917,34965,35323-35324,35347-35348,35361,35436,35509,35515,35588,35655,35683,35739,35746,35762,35771,35777,35781,35789,35805,35823,35827,35902,35904-35906,35942,35947-35949,35952-35953,35966,36011-36013,36172,36360,36380,36388-36389,36393,36397,36443,36445,36475,36502-36503,36505,36570,36614,36852,36898-36899,36930,36936,36949,36951,36958,36961,36964,36969,36972,36987-36988,36990,36992,37019,37322-37323,37333-37334,37434,37472,37475,37536,37820-37821,37868-37869,37873,37990-37991,38013-38014,38092,38100,38148-38151,38264-38265,38268,38355,39151,39333,39335,39345,39639,40120,40122-40123,40125,40127-40128,40155,40247,40324,40608,40753,40926-40928,40986-40987,40989,40991,40993,40995-40996,41000-41001,41027-41030,41044-41045,41047-41050,41052,41070,41082-41086,41097-41098,41101,41449,41479-41480,41483-41485,41499-41500,41502,41531,41536,41540,41546-41547,41549,43080,43426,43451,43454,43506,43566,43574,43598,43600-43602,43604-43605,43677,43682,43757,43775,43836,43838-43840,43852,43857-43858,43860,43905-43907,43952,43954,43965,43969,43979,43981,43992,44002,44036-44037,44039-44040,44044-44045,44053,44065,44095,44123,44143-44144,44205,44238,44257,44259,44294,44338-44339,44385,44389,44391,44426,44460,44467-44468,44470-44471,44499,44501,44503-44504,44506,44510-44512,44521,44523-44526,44530,44540,44601,44634,44639,44772,44818,45124,45126-45127,45430,46394,46404,46478,46511,46523-46524,46526,46534-46535,46537-46539,46589,46805,46868,47472,47846-47847,47878,47882 Modified: trunk/reactos/boot/freeldr/freeldr/debug.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/debug…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/debug.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/debug.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -66,6 +66,19 @@ BOOLEAN DebugStartOfLine = TRUE; +// We need to emulate these, because the original ones don't work in freeldr +int __cdecl wctomb(char *mbchar, wchar_t wchar) +{ + *mbchar = wchar; + return 1; +} + +int __cdecl mbtowc (wchar_t *wchar, const char *mbchar, size_t count) +{ + *wchar = *mbchar; + return 1; +} + VOID DebugInit(VOID) { if (DebugPort & RS232) Modified: trunk/reactos/config.template.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/config.template.rbuild?rev…
============================================================================== --- trunk/reactos/config.template.rbuild [iso-8859-1] (original) +++ trunk/reactos/config.template.rbuild [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -104,4 +104,9 @@ --> <property name="NEWCC" value="0" /> +<!-- + Whether to compile the new sprintf +--> +<property name="NEWSPRINTF" value="1" /> + </group> Modified: trunk/reactos/lib/rtl/rtl.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/rtl.rbuild?rev=494…
============================================================================== --- trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -6,6 +6,11 @@ <define name="_NTSYSTEM_" /> <define name="_NTDLLBUILD_" /> <include base="rtl">.</include> + + <if property="NEWSPRINTF" value="1"> + <define name="USE_NEW_SPRINTF" /> + </if> + <if property="ARCH" value="i386"> <directory name="i386"> <file>debug_asm.S</file> Modified: trunk/reactos/lib/rtl/sprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/sprintf.c?rev=4949…
============================================================================== --- trunk/reactos/lib/rtl/sprintf.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/sprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,3 +1,5 @@ + +#ifndef USE_NEW_SPRINTF /* * PROGRAMMERS: David Welch * Eric Kohl @@ -741,3 +743,5 @@ } /* EOF */ +#endif + Modified: trunk/reactos/lib/rtl/swprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=494…
============================================================================== --- trunk/reactos/lib/rtl/swprintf.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/swprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,3 +1,4 @@ +#ifndef USE_NEW_SPRINTF /* * PROGRAMMERS: David Welch * Eric Kohl @@ -740,3 +741,4 @@ } /* EOF */ +#endif Modified: trunk/reactos/lib/sdk/crt/conio/cprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/conio/cprintf.…
============================================================================== --- trunk/reactos/lib/sdk/crt/conio/cprintf.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/conio/cprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -5,6 +5,7 @@ * PURPOSE: C Runtime * PROGRAMMER: Magnus Olsen (Imported from wine cvs 2006-05-23) */ +#ifndef USE_NEW_SPRINTF #include <precomp.h> @@ -38,3 +39,5 @@ free (mem); return retval; } + +#endif Modified: trunk/reactos/lib/sdk/crt/crt.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/crt.rbuild?rev…
============================================================================== --- trunk/reactos/lib/sdk/crt/crt.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/crt.rbuild [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -26,6 +26,33 @@ <define name="_MSVCRT_" /> <define name="_MT" /> <define name="_CRTBLD" /> + + <if property="NEWSPRINTF" value="1"> + <define name="USE_NEW_SPRINTF" /> + <directory name="printf"> + <file>_cprintf.c</file> + <file>_snprintf.c</file> + <file>_snwprintf.c</file> + <file>_vcprintf.c</file> + <file>_vsnprintf.c</file> + <file>_vsnwprintf.c</file> + <file>fprintf.c</file> + <file>fwprintf.c</file> + <file>printf.c</file> + <file>sprintf.c</file> + <file>streamout.c</file> + <file>swprintf.c</file> + <file>vfprintf.c</file> + <file>vfwprintf.c</file> + <file>vprintf.c</file> + <file>vsprintf.c</file> + <file>vswprintf.c</file> + <file>vwprintf.c</file> + <file>wprintf.c</file> + <file>wstreamout.c</file> + </directory> + </if> + <directory name="conio"> <file>cgets.c</file> <file>cprintf.c</file> @@ -123,6 +150,7 @@ <file>ldiv.c</file> <file>logf.c</file> <file>modf.c</file> + <file>powf.c</file> <file>rand.c</file> <file>s_modf.c</file> <file>sinf.c</file> @@ -343,6 +371,7 @@ <file>wpopen.c</file> <file>wstat.c</file> <file>wstat64.c</file> + <file>lock_file.c</file> </directory> <directory name="stdlib"> <file>_exit.c</file> Modified: trunk/reactos/lib/sdk/crt/libcntpr.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/libcntpr.rbuil…
============================================================================== --- trunk/reactos/lib/sdk/crt/libcntpr.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/libcntpr.rbuild [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -9,6 +9,25 @@ <define name="_LIBCNT_" /> <define name="_CRTBLD" /> <define name="__CRT__NO_INLINE" /> + + <if property="NEWSPRINTF" value="1"> + <define name="USE_NEW_SPRINTF" /> + <directory name="printf"> + <file>_snprintf.c</file> + <file>_snwprintf.c</file> + <file>_vcprintf.c</file> + <file>_vsnprintf.c</file> + <file>_vsnwprintf.c</file> + <file>sprintf.c</file> + <file>streamout.c</file> + <file>swprintf.c</file> + <file>vprintf.c</file> + <file>vsprintf.c</file> + <file>vswprintf.c</file> + <file>wstreamout.c</file> + </directory> + </if> + <if property="ARCH" value="i386"> <define name="__MINGW_IMPORT">"extern __attribute__ ((dllexport))"</define> </if> @@ -32,6 +51,9 @@ <file>seh.s</file> </directory> </if> + </directory> + <directory name="float"> + <file>isnan.c</file> </directory> <directory name="math"> <if property="ARCH" value="i386"> @@ -54,6 +76,7 @@ <file>floor_asm.s</file> <file>ftol_asm.s</file> <file>log_asm.s</file> + <file>log10_asm.s</file> <file>pow_asm.s</file> <file>sin_asm.s</file> <file>sqrt_asm.s</file> @@ -207,6 +230,10 @@ <file>wtol.c</file> </directory> + <directory name="mbstring"> + <file>mbstrlen.c</file> + </directory> + <directory name="wstring"> <file>wcsicmp.c</file> <file>wcslwr.c</file> Modified: trunk/reactos/lib/sdk/crt/mbstring/mbstrlen.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/mbstring/mbstr…
============================================================================== --- trunk/reactos/lib/sdk/crt/mbstring/mbstrlen.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/mbstring/mbstrlen.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -12,7 +12,12 @@ #include <mbstring.h> #include <stdlib.h> +#ifdef _LIBCNT_ +unsigned short *NlsLeadByteInfo; +#define isleadbyte(c) NlsLeadByteInfo[c] +#else int isleadbyte(int byte); +#endif /* * @implemented Propchange: trunk/reactos/lib/sdk/crt/printf/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Fri Nov 5 22:21:36 2010 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: trunk/reactos/lib/sdk/crt/printf/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: trunk/reactos/lib/sdk/crt/printf/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: trunk/reactos/lib/sdk/crt/printf/ ------------------------------------------------------------------------------ tsvn:logminsize = 10 Added: trunk/reactos/lib/sdk/crt/printf/_cprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_cprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_cprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_cprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,25 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_vcprintf.c + * PURPOSE: Implementation of _vcprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdarg.h> + +int _vcprintf(const char* format, va_list argptr); + +int +_cdecl +_cprintf(const char * format, ...) +{ + va_list argptr; + int result; + + va_start(argptr, format); + result = _vcprintf(format, argptr); + va_end(argptr); + return result; +} + Propchange: trunk/reactos/lib/sdk/crt/printf/_cprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/_snprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_snprin…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_snprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_snprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,39 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_snprintf.c + * PURPOSE: Implementation of _snprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <tchar.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +_cdecl +_snprintf(char *buffer, size_t count, const char *format, ...) +{ + va_list argptr; + int result; + FILE stream; + + stream._base = buffer; + stream._ptr = stream._base; + stream._charbuf = 0; + stream._bufsiz = (unsigned long)-1; + stream._cnt = stream._bufsiz; + stream._flag = 0; + stream._tmpfname = 0; + + va_start(argptr, format); + result = streamout(&stream, format, argptr); + va_end(argptr); + + *stream._ptr = '\0'; + return result; +} + + Propchange: trunk/reactos/lib/sdk/crt/printf/_snprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/_snwprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_snwpri…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_snwprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_snwprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,42 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_snwprintf.c + * PURPOSE: Implementation of _snwprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +__cdecl +_snwprintf( + wchar_t *buffer, + size_t count, + const wchar_t *format, + ...) +{ + va_list argptr; + int result; + FILE stream; + + stream._base = (char*)buffer; + stream._ptr = stream._base; + stream._bufsiz = count * sizeof(wchar_t); + stream._cnt = stream._bufsiz; + stream._flag = _IOSTRG | _IOWRT; + stream._tmpfname = 0; + stream._charbuf = 0; + + va_start(argptr, format); + result = wstreamout(&stream, format, argptr); + va_end(argptr); + + /* Only zero terminate if there is enough space left */ + if (stream._cnt >= sizeof(wchar_t)) *(wchar_t*)stream._ptr = L'\0'; + + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/_snwprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/_vcprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_vcprin…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_vcprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_vcprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,18 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_vcprintf.c + * PURPOSE: Implementation of _vcprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdarg.h> + +int +_cdecl +_vcprintf(const char* format, va_list va) +{ + return 0; +} + + Propchange: trunk/reactos/lib/sdk/crt/printf/_vcprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/_vsnprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_vsnpri…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_vsnprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_vsnprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,37 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_vsnprintf.c + * PURPOSE: Implementation of _vsnprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +__cdecl +_vsnprintf( + char *buffer, + size_t count, + const char *format, + va_list argptr) +{ + int result; + FILE stream; + + stream._base = buffer; + stream._ptr = stream._base; + stream._bufsiz = count; + stream._cnt = stream._bufsiz; + stream._flag = _IOSTRG | _IOWRT; + stream._tmpfname = 0; + stream._charbuf = 0; + + result = streamout(&stream, format, argptr); + *stream._ptr = '\0'; + + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/_vsnprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/_vsnwprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/_vsnwpr…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/_vsnwprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/_vsnwprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,37 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/_vsnwprintf.c + * PURPOSE: Implementation of _vsnwprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +__cdecl +_vsnwprintf( + wchar_t *buffer, + size_t count, + const wchar_t *format, + va_list argptr) +{ + int result; + FILE stream; + + stream._base = (char*)buffer; + stream._ptr = stream._base; + stream._bufsiz = count * sizeof(wchar_t); + stream._cnt = stream._bufsiz; + stream._flag = _IOSTRG | _IOWRT; + stream._tmpfname = 0; + stream._charbuf = 0; + + result = wstreamout(&stream, format, argptr); + *(wchar_t*)stream._ptr = L'\0'; + + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/_vsnwprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/fprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/fprintf…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/fprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/fprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,24 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/fprintf.c + * PURPOSE: Implementation of fprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int +_cdecl +fprintf(FILE *stream, const char *format, ...) +{ + va_list argptr; + int result; + + va_start(argptr, format); + result = vfprintf(stream, format, argptr); + va_end(argptr); + return result; +} + Propchange: trunk/reactos/lib/sdk/crt/printf/fprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/fwprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/fwprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/fwprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/fwprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,23 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/fwprintf.c + * PURPOSE: Implementation of fwprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int +__cdecl +fwprintf(FILE* file, const wchar_t *format, ...) +{ + va_list argptr; + int result; + + va_start(argptr, format); + result = vfwprintf(file, format, argptr); + va_end(argptr); + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/fwprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/printf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/printf.…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/printf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/printf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,27 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/printf.c + * PURPOSE: Implementation of printf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <tchar.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +_cdecl +printf(const char *format, ...) +{ + va_list argptr; + int result; + + va_start(argptr, format); + result = streamout(stdout, format, argptr); + va_end(argptr); + return result; +} + Propchange: trunk/reactos/lib/sdk/crt/printf/printf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/sprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/sprintf…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/sprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/sprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,38 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/sprintf.c + * PURPOSE: Implementation of sprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <limits.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +_cdecl +sprintf(char *buffer, const char *format, ...) +{ + va_list argptr; + int result; + FILE stream; + + stream._base = buffer; + stream._ptr = stream._base; + stream._charbuf = 0; + stream._bufsiz = INT_MAX; + stream._cnt = stream._bufsiz; + stream._flag = 0; + stream._tmpfname = 0; + + va_start(argptr, format); + result = streamout(&stream, format, argptr); + va_end(argptr); + + *stream._ptr = '\0'; + return result; +} + Propchange: trunk/reactos/lib/sdk/crt/printf/sprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/streamout.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/streamo…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/streamout.c (added) +++ trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,629 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/streamout.c + * PURPOSE: Implementation of streamout + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <tchar.h> +#include <strings.h> +#include <math.h> + +#ifdef _UNICODE +#define streamout wstreamout +#define format_float format_floatw +#endif + +#define MB_CUR_MAX 10 +#define BUFFER_SIZE (32 + 17) + +int mbtowc(wchar_t *wchar, const char *mbchar, size_t count); +int wctomb(char *mbchar, wchar_t wchar); + +typedef struct _STRING +{ + unsigned short Length; + unsigned short MaximumLength; + void *Buffer; +} STRING; + +enum +{ + /* Formatting flags */ + FLAG_ALIGN_LEFT = 0x01, + FLAG_FORCE_SIGN = 0x02, + FLAG_FORCE_SIGNSP = 0x04, + FLAG_PAD_ZERO = 0x08, + FLAG_SPECIAL = 0x10, + + /* Data format flags */ + FLAG_SHORT = 0x100, + FLAG_LONG = 0x200, + FLAG_WIDECHAR = FLAG_LONG, + FLAG_INT64 = 0x400, +#ifdef _WIN64 + FLAG_INTPTR = FLAG_INT64, +#else + FLAG_INTPTR = 0, +#endif + FLAG_LONGDOUBLE = 0x800, +}; + +#define va_arg_f(argptr, flags) \ + (flags & FLAG_INT64) ? va_arg(argptr, __int64) : \ + (flags & FLAG_SHORT) ? (short)va_arg(argptr, int) : \ + va_arg(argptr, int) + +#define va_arg_fu(argptr, flags) \ + (flags & FLAG_INT64) ? va_arg(argptr, unsigned __int64) : \ + (flags & FLAG_SHORT) ? (unsigned short)va_arg(argptr, int) : \ + va_arg(argptr, unsigned int) + +#define va_arg_ffp(argptr, flags) \ + (flags & FLAG_LONGDOUBLE) ? va_arg(argptr, long double) : \ + va_arg(argptr, double) + +#ifdef _LIBCNT_ +# define _flsbuf(chr, stream) 0 +#endif + +#define get_exp(f) floor(f > 0 ? log10(f) : log10(-f)) + +void +#ifdef _LIBCNT +/* Due to restrictions in kernel mode regarding the use of floating point, + we prevent it from being inlined */ +__declspec(noinline) +#endif +format_float( + TCHAR chr, + unsigned int flags, + int precision, + TCHAR **string, + const TCHAR **prefix, + va_list *argptr) +{ + static const TCHAR digits_l[] = _T("0123456789abcdef0x"); + static const TCHAR digits_u[] = _T("0123456789ABCDEF0X"); + static const TCHAR _nan[] = _T("#QNAN"); + static const TCHAR _infinity[] = _T("#INF"); + const TCHAR *digits = digits_l; + int exponent = 0; + long double fpval; + int num_digits, val32, base = 10; + __int64 val64; + + if (precision == -1) precision = 6; + + fpval = va_arg_ffp(*argptr, flags); + exponent = get_exp(fpval); + + switch (chr) + { + case _T('G'): + digits = digits_u; + case _T('g'): + if (exponent < -4 || exponent >= precision) goto case_e; + break; + + case _T('E'): + digits = digits_u; + case _T('e'): + case_e: + fpval /= pow(10., exponent); + val32 = exponent >= 0 ? exponent : -exponent; + + // FIXME: handle length of exponent field: + //
http://msdn.microsoft.com/de-de/library/0fatw238%28VS.80%29.aspx
+ num_digits = 3; + while (num_digits--) + { + *--(*string) = digits[val32 % 10]; + val32 /= 10; + } + + /* Sign for the exponent */ + *--(*string) = exponent > 0 ? _T('+') : _T('-'); + + /* Add 'e' or 'E' separator */ + *--(*string) = digits[0xe]; + break; + + case _T('A'): + digits = digits_u; + case _T('a'): +// base = 16; + // FIXME: TODO + + case _T('f'): + break; + } + + /* CHECKME: Windows seems to handle a max of 17 digits(?) */ + num_digits = precision <= 17 ? precision : 17; + + /* Handle sign */ + if (fpval < 0) + { + fpval = -fpval; + *prefix = _T("-"); + } + else if (flags & FLAG_FORCE_SIGN) + *prefix = _T("+"); + else if (flags & FLAG_FORCE_SIGNSP) + *prefix = _T(" "); + + /* Handle special cases first */ + if (_isnan(fpval)) + { + (*string) -= sizeof(_nan) / sizeof(TCHAR) - 1; + _tcscpy((*string), _nan); + val64 = 1; + } + else if (!_finite(fpval)) + { + (*string) -= sizeof(_infinity) / sizeof(TCHAR) - 1; + _tcscpy((*string), _infinity); + val64 = 1; + } + else + { + val64 = (__int64)fpval; + fpval -= val64; + fpval *= pow(10., precision); + + while (num_digits--) + { + *--(*string) = digits[(__int64)fpval % 10]; + fpval /= 10; + } + } + + *--(*string) = _T('.'); + + /* Gather digits in reverse order */ + do + { + *--(*string) = digits[val64 % base]; + val64 /= base; + } + while (val64); + +} + +static +int +streamout_char(FILE *stream, int chr) +{ + /* Flush the buffer if neccessary */ + if (stream->_cnt < sizeof(TCHAR)) + { + return _flsbuf(chr, stream) != EOF; + } + + *(TCHAR*)stream->_ptr = chr; + stream->_ptr += sizeof(TCHAR); + stream->_cnt -= sizeof(TCHAR); + + return 1; +} + +static +int +streamout_astring(FILE *stream, const char *string, int count) +{ + TCHAR chr; + int written = 0; + + while (count--) + { +#ifdef _UNICODE + int len; + if ((len = mbtowc(&chr, string, MB_CUR_MAX)) < 1) break; + string += len; +#else + chr = *string++; +#endif + if (streamout_char(stream, chr) == 0) return -1; + written++; + } + + return written; +} + +static +int +streamout_wstring(FILE *stream, const wchar_t *string, int count) +{ + wchar_t chr; + int written = 0; + + while (count--) + { +#ifndef _UNICODE + char mbchar[MB_CUR_MAX], *ptr = mbchar; + int mblen; + + mblen = wctomb(mbchar, *string++); + if (mblen <= 0) return written; + + while (chr = *ptr++, mblen--) +#else + chr = *string++; +#endif + { + if (streamout_char(stream, chr) == 0) return -1; + written++; + } + } + + return written; +} + +#ifdef _UNICODE +#define streamout_string streamout_wstring +#else +#define streamout_string streamout_astring +#endif + + +int +_cdecl +streamout(FILE *stream, const TCHAR *format, va_list argptr) +{ + static const TCHAR digits_l[] = _T("0123456789abcdef0x"); + static const TCHAR digits_u[] = _T("0123456789ABCDEF0X"); + static const char *_nullstring = "(null)"; + TCHAR buffer[BUFFER_SIZE + 1]; + TCHAR chr, *string; + STRING *nt_string; + const TCHAR *digits, *prefix; + int base, len, prefixlen, fieldwidth, precision, padding; + int written = 1, written_all = 0; + unsigned int flags; + __int64 val64; + + buffer[BUFFER_SIZE] = '\0'; + + while (written >= 0) + { + chr = *format++; + + /* Check for end of format string */ + if (chr == _T('\0')) break; + + /* Check for 'normal' character */ + if (chr != _T('%')) + { + /* Write the character to the stream */ + if ((written = streamout_char(stream, chr)) == -1) return -1; + written_all += written; + /* Continue with next char */ + continue; + } + + /* Handle flags */ + flags = 0; + while (1) + { + chr = *format++; + if (chr == _T('-')) flags |= FLAG_ALIGN_LEFT; + else if (chr == _T('+')) flags |= FLAG_FORCE_SIGN; + else if (chr == _T(' ')) flags |= FLAG_FORCE_SIGNSP; + else if (chr == _T('0')) flags |= FLAG_PAD_ZERO; + else if (chr == _T('#')) flags |= FLAG_SPECIAL; + else break; + } + + /* Handle field width modifier */ + if (chr == _T('*')) + { + fieldwidth = va_arg(argptr, int); + chr = *format++; + } + else + { + fieldwidth = 0; + while (chr >= _T('0') && chr <= _T('9')) + { + fieldwidth = fieldwidth * 10 + (chr - _T('0')); + chr = *format++; + } + } + + /* Handle precision modifier */ + if (chr == '.') + { + chr = *format++; + + if (chr == _T('*')) + { + precision = va_arg(argptr, int); + chr = *format++; + } + else + { + precision = 0; + while (chr >= _T('0') && chr <= _T('9')) + { + precision = precision * 10 + (chr - _T('0')); + chr = *format++; + } + } + } + else precision = -1; + + /* Handle argument size prefix */ + while (1) + { + if (chr == _T('h')) flags |= FLAG_SHORT; + else if (chr == _T('w')) flags |= FLAG_WIDECHAR; + else if (chr == _T('L')) flags |= 0; // FIXME: long double + else if (chr == _T('l')) + { + flags |= FLAG_LONG; +#if SUPPORT_LL + if (format[0] == _T('l')) + { + format++; + flags |= FLAG_INT64; + } +#endif + } + else if (chr == _T('I')) + { + if (format[0] == _T('3') && format[1] == _T('2')) + { + format += 2; + } + else if (format[0] == _T('6') && format[1] == _T('4')) + { + format += 2; + flags |= FLAG_INT64; + } + else if (format[0] == _T('x') || format[0] == _T('X') || + format[0] == _T('d') || format[0] == _T('i') || + format[0] == _T('u') || format[0] == _T('o')) + { + flags |= FLAG_INTPTR; + } + else break; + } + else break; + chr = *format++; + } + + /* Handle the format specifier */ + digits = digits_l; + string = &buffer[BUFFER_SIZE]; + base = 10; + prefix = 0; + switch (chr) + { + case _T('n'): + if (flags & FLAG_INT64) + *va_arg(argptr, __int64*) = written_all; + else if (flags & FLAG_SHORT) + *va_arg(argptr, short*) = written_all; + else + *va_arg(argptr, int*) = written_all; + continue; + + case _T('C'): +#ifndef _UNICODE + if (!(flags & FLAG_SHORT)) flags |= FLAG_WIDECHAR; +#endif + goto case_char; + + case _T('c'): +#ifdef _UNICODE + if (!(flags & FLAG_SHORT)) flags |= FLAG_WIDECHAR; +#endif + case_char: + string = buffer; + len = 1; + if (flags & FLAG_WIDECHAR) + { + ((wchar_t*)string)[0] = va_arg(argptr, int); + ((wchar_t*)string)[1] = _T('\0'); + } + else + { + ((char*)string)[0] = va_arg(argptr, int); + ((char*)string)[1] = _T('\0'); + } + break; + + case _T('Z'): + nt_string = va_arg(argptr, void*); + if (nt_string && (string = nt_string->Buffer)) + { + len = nt_string->Length; + if (flags & FLAG_WIDECHAR) len /= sizeof(wchar_t); + break; + } + string = 0; + goto case_string; + + case _T('S'): + string = va_arg(argptr, void*); +#ifndef _UNICODE + if (!(flags & FLAG_SHORT)) flags |= FLAG_WIDECHAR; +#endif + goto case_string; + + case _T('s'): + string = va_arg(argptr, void*); +#ifdef _UNICODE + if (!(flags & FLAG_SHORT)) flags |= FLAG_WIDECHAR; +#endif + + case_string: + if (!string) + { + string = (TCHAR*)_nullstring; + flags &= ~FLAG_WIDECHAR; + } + + if (flags & FLAG_WIDECHAR) + len = wcslen((wchar_t*)string); + else + len = strlen((char*)string); + if (precision >= 0 && len > precision) len = precision; + break; + + case _T('G'): + case _T('E'): + case _T('A'): + case _T('g'): + case _T('e'): + case _T('a'): + case _T('f'): +#ifdef _UNICODE + flags |= FLAG_WIDECHAR; +#else + flags &= ~FLAG_WIDECHAR; +#endif + /* Use external function, one for kernel one for user mode */ + format_float(chr, flags, precision, &string, &prefix, &argptr); + len = _tcslen(string); + break; + + case _T('d'): + case _T('i'): + val64 = va_arg_f(argptr, flags); + + if (val64 < 0) + { + val64 = -val64; + prefix = _T("-"); + } + else if (flags & FLAG_FORCE_SIGN) + prefix = _T("+"); + else if (flags & FLAG_FORCE_SIGNSP) + prefix = _T(" "); + + goto case_number; + + case _T('o'): + base = 8; + if (flags & FLAG_SPECIAL) prefix = _T("0"); + /* Fall through */ + + case _T('u'): + val64 = (unsigned __int64)va_arg_fu(argptr, flags); + goto case_number; + + case _T('p'): + precision = 2 * sizeof(void*); + flags &= ~FLAG_PAD_ZERO; + flags |= FLAG_INTPTR; + /* Fall through */ + + case _T('X'): + digits = digits_u; + /* Fall through */ + + case _T('x'): + val64 = (unsigned __int64)va_arg_fu(argptr, flags); + base = 16; + if (flags & FLAG_SPECIAL) + { + prefix = &digits[16]; + } + + case_number: +#ifdef _UNICODE + flags |= FLAG_WIDECHAR; +#else + flags &= ~FLAG_WIDECHAR; +#endif + /* Gather digits in reverse order */ + do + { + *--string = digits[val64 % base]; + val64 /= base; + precision--; + } + while (val64); + + while (precision-- > 0) *--string = '0'; + len = _tcslen(string); + break; + + default: + /* Treat anything else as a new character */ + format--; + continue; + } + + /* Calculate padding */ + prefixlen = prefix ? _tcslen(prefix) : 0; + padding = fieldwidth - len - prefixlen; + + /* Optional left space padding */ + if ((flags & (FLAG_ALIGN_LEFT | FLAG_PAD_ZERO)) == 0) + { + while (padding-- > 0) + { + if ((written = streamout_char(stream, _T(' '))) == -1) return -2; + written_all += written; + } + } + + /* Optional prefix */ + if (prefix) + { + written = streamout_string(stream, prefix, prefixlen); + if (written == -1) return -3; + written_all += written; + } + + /* Optional left '0' padding */ + if ((flags & (FLAG_ALIGN_LEFT | FLAG_PAD_ZERO)) == FLAG_PAD_ZERO) + { + while (padding-- > 0) + { + if ((written = streamout_char(stream, _T('0'))) == -1) return -4; + written_all += written; + } + } + + /* Output the string */ + if (flags & FLAG_WIDECHAR) + written = streamout_wstring(stream, (wchar_t*)string, len); + else + written = streamout_astring(stream, (char*)string, len); + if (written == -1) return -5; + written_all += written; + +#if 0 && SUPPORT_FLOAT + /* Optional right '0' padding */ + while (precision-- > 0) + { + if ((written = streamout_char(stream, _T('0'))) == -1) return -6; + written_all += written; + len++; + } +#endif + + /* Optional right padding */ + if (flags & FLAG_ALIGN_LEFT) + { + while (padding-- > 0) + { + if ((written = streamout_char(stream, _T(' '))) == -1) return -7; + written_all += written; + } + } + + } + + if (written == -1) return -8; + + return written_all; +} + Propchange: trunk/reactos/lib/sdk/crt/printf/streamout.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/swprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/swprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/swprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/swprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,39 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/swprintf.c + * PURPOSE: Implementation of swprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <limits.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +_cdecl +swprintf(wchar_t *buffer, const wchar_t *format, ...) +{ + va_list argptr; + int result; + FILE stream; + + stream._base = (char*)buffer; + stream._ptr = stream._base; + stream._charbuf = 0; + stream._bufsiz = INT_MAX; + stream._cnt = stream._bufsiz; + stream._flag = 0; + stream._tmpfname = 0; + + va_start(argptr, format); + result = wstreamout(&stream, format, argptr); + va_end(argptr); + + *(wchar_t*)stream._ptr = '\0'; + return result; +} + + Propchange: trunk/reactos/lib/sdk/crt/printf/swprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vfprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vfprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vfprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vfprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,29 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vfprintf.c + * PURPOSE: Implementation of vfprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +void _cdecl _lock_file(FILE* file); +void _cdecl _unlock_file(FILE* file); +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +_cdecl +vfprintf(FILE *stream, const char *format, va_list argptr) +{ + int result; + + _lock_file(stream); + + result = streamout(stream, format, argptr); + + _unlock_file(stream); + + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/vfprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vfwprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vfwprin…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vfwprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vfwprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,20 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vfwprintf.c + * PURPOSE: Implementation of vfwprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +__cdecl +vfwprintf(FILE* file, const wchar_t *format, va_list argptr) +{ + return wstreamout(file, format, argptr); +} + Propchange: trunk/reactos/lib/sdk/crt/printf/vfwprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vprintf…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,19 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vprintf.c + * PURPOSE: Implementation of vprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +__cdecl +vprintf(const char *format, va_list argptr) +{ + return streamout(stdout, format, argptr); +} Propchange: trunk/reactos/lib/sdk/crt/printf/vprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vsprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vsprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vsprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vsprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,38 @@ +#include "myfunc.h" +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vsprintf.c + * PURPOSE: Implementation of vsprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <limits.h> + +int _cdecl streamout(FILE *stream, const char *format, va_list argptr); + +int +__cdecl +vsprintf( + char *buffer, + const char *format, + va_list argptr) +{ + int result; + FILE stream; + + stream._base = buffer; + stream._ptr = stream._base; + stream._charbuf = 0; + stream._bufsiz = INT_MAX; + stream._cnt = stream._bufsiz; + stream._flag = _IOSTRG|_IOWRT|_IOMYBUF; + stream._tmpfname = 0; + + result = streamout(&stream, format, argptr); + *stream._ptr = '\0'; + + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/vsprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vswprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vswprin…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vswprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vswprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,18 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vswprintf.c + * PURPOSE: Implementation of vswprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> +#include <limits.h> + +int +__cdecl +vswprintf(wchar_t *buffer, const wchar_t *format, va_list argptr) +{ + return _vsnwprintf(buffer, INT_MAX, format, argptr); +} Propchange: trunk/reactos/lib/sdk/crt/printf/vswprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/vwprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/vwprint…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/vwprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/vwprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,19 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/vwprintf.c + * PURPOSE: Implementation of vwprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +__cdecl +vwprintf(const wchar_t *format, va_list argptr) +{ + return wstreamout(stdout, format, argptr); +} Propchange: trunk/reactos/lib/sdk/crt/printf/vwprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/wprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/wprintf…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/wprintf.c (added) +++ trunk/reactos/lib/sdk/crt/printf/wprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,25 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/wprintf.c + * PURPOSE: Implementation of wprintf + * PROGRAMMER: Timo Kreuzer + */ + +#include <stdio.h> +#include <stdarg.h> + +int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); + +int +__cdecl +wprintf(const wchar_t *format, ...) +{ + va_list argptr; + int result; + + va_start(argptr, format); + result = wstreamout(stdout, format, argptr); + va_end(argptr); + return result; +} Propchange: trunk/reactos/lib/sdk/crt/printf/wprintf.c ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/lib/sdk/crt/printf/wstreamout.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/wstream…
============================================================================== --- trunk/reactos/lib/sdk/crt/printf/wstreamout.c (added) +++ trunk/reactos/lib/sdk/crt/printf/wstreamout.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,12 @@ +/* + * COPYRIGHT: GNU GPL, see COPYING in the top level directory + * PROJECT: ReactOS crt library + * FILE: lib/sdk/crt/printf/wstreamout.c + * PURPOSE: Implementation of wstreamout + * PROGRAMMER: Timo Kreuzer + */ + +#define _UNICODE +#define UNICODE + +#include "streamout.c" Propchange: trunk/reactos/lib/sdk/crt/printf/wstreamout.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/lib/sdk/crt/stdio/file.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/file.c?r…
============================================================================== --- trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -2814,6 +2814,7 @@ return file; } +#ifndef USE_NEW_SPRINTF /********************************************************************* * vfprintf (MSVCRT.@) */ @@ -2947,6 +2948,7 @@ va_end(valist); return res; } +#endif /********************************************************************* * ungetc (MSVCRT.@) @@ -2984,6 +2986,7 @@ return mwc; } +#ifndef USE_NEW_SPRINTF /********************************************************************* * wprintf (MSVCRT.@) */ @@ -2996,6 +2999,7 @@ va_end(valist); return res; } +#endif /********************************************************************* * _getmaxstdio (MSVCRT.@) Modified: trunk/reactos/lib/sdk/crt/stdio/lnx_sprintf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/lnx_spri…
============================================================================== --- trunk/reactos/lib/sdk/crt/stdio/lnx_sprintf.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/stdio/lnx_sprintf.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -14,7 +14,7 @@ * Lars Wirzenius & Linus Torvalds * Wirzenius wrote this portably, Torvalds fucked it up :-) */ - +#ifndef USE_NEW_SPRINTF #include <precomp.h> #include <wchar.h> @@ -879,3 +879,4 @@ } #endif /* EOF */ +#endif Added: trunk/reactos/lib/sdk/crt/stdio/lock_file.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/lock_fil…
============================================================================== --- trunk/reactos/lib/sdk/crt/stdio/lock_file.c (added) +++ trunk/reactos/lib/sdk/crt/stdio/lock_file.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -1,0 +1,15 @@ + +#include <stdio.h> + +void +_cdecl +_lock_file(FILE* file) +{ +} + +void +_cdecl +_unlock_file(FILE* file) +{ +} + Propchange: trunk/reactos/lib/sdk/crt/stdio/lock_file.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/lib/sdk/crt/string/wcs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/wcs.c?r…
============================================================================== --- trunk/reactos/lib/sdk/crt/string/wcs.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/string/wcs.c [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -388,6 +388,7 @@ return r; } +#ifndef USE_NEW_SPRINTF static int pf_handle_string_format( pf_output *out, const void* str, int len, pf_flags *flags, BOOL capital_letter) { @@ -879,6 +880,7 @@ return _vsnwprintf( str, INT_MAX, format, args ); } #endif +#endif /********************************************************************* * wcscoll (MSVCRT.@) Modified: trunk/reactos/modules/directory.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/modules/directory.rbuild?r…
============================================================================== --- trunk/reactos/modules/directory.rbuild [iso-8859-1] (original) +++ trunk/reactos/modules/directory.rbuild [iso-8859-1] Fri Nov 5 22:21:36 2010 @@ -22,4 +22,11 @@ </xi:fallback> </xi:include> </directory> + <!-- directory name="3rdparty"> + <xi:include href="3rdparty/directory.rbuild"> + <xi:fallback> + <xi:include href="empty.rbuild" /> + </xi:fallback> + </xi:include> + </directory --> </group>
14 years, 1 month
1
0
0
0
[spetreolle] 49498: [CMAKE] Bootcd: Add some directx dlls.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Fri Nov 5 21:49:09 2010 New Revision: 49498 URL:
http://svn.reactos.org/svn/reactos?rev=49498&view=rev
Log: [CMAKE] Bootcd: Add some directx dlls. Added: branches/cmake-bringup/dll/directx/wine/ddraw/CMakeLists.txt (with props) branches/cmake-bringup/dll/directx/wine/wined3d/CMakeLists.txt (with props) Modified: branches/cmake-bringup/dll/directx/CMakeLists.txt branches/cmake-bringup/dll/directx/d3d8thk/CMakeLists.txt branches/cmake-bringup/dll/directx/dinput8/CMakeLists.txt branches/cmake-bringup/dll/directx/dmusic/CMakeLists.txt branches/cmake-bringup/dll/directx/dplay/CMakeLists.txt branches/cmake-bringup/dll/directx/ksproxy/CMakeLists.txt branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt branches/cmake-bringup/dll/directx/wine/CMakeLists.txt branches/cmake-bringup/dll/directx/wine/d3d8/CMakeLists.txt branches/cmake-bringup/dll/win32/CMakeLists.txt Modified: branches/cmake-bringup/dll/directx/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/CMake…
============================================================================== --- branches/cmake-bringup/dll/directx/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -1,10 +1,10 @@ add_subdirectory(amstream) -#add_subdirectory(bdaplgin) -#add_subdirectory(d3d8) +#add_subdirectory(bdaplgin) #disabled in trunk +#add_subdirectory(d3d8) #disabled in trunk add_subdirectory(d3d8thk) -#add_subdirectory(d3d9) -#add_subdirectory(ddraw) +#add_subdirectory(d3d9) #disabled in trunk +#add_subdirectory(ddraw) #disabled in trunk add_subdirectory(devenum) add_subdirectory(dinput) add_subdirectory(dinput8) @@ -17,8 +17,8 @@ #add_subdirectory(ksproxy)# undefined reference to `operator new(unsigned int)' add_subdirectory(ksuser) add_subdirectory(msdmo) -#add_subdirectory(msdvbnp) -#add_subdirectory(msvidctl) +#add_subdirectory(msdvbnp) #disabled in trunk +#add_subdirectory(msvidctl) #disabled in trunk add_subdirectory(qedit) add_subdirectory(quartz) -#add_subdirectory(wine) +add_subdirectory(wine) Modified: branches/cmake-bringup/dll/directx/d3d8thk/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/d3d8t…
============================================================================== --- branches/cmake-bringup/dll/directx/d3d8thk/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/d3d8thk/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -8,3 +8,5 @@ add_importlibs(d3d8thk gdi32) add_dependencies(d3d8thk psdk buildno_header) + +add_cab_target(d3d8thk 1) Modified: branches/cmake-bringup/dll/directx/dinput8/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/dinpu…
============================================================================== --- branches/cmake-bringup/dll/directx/dinput8/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/dinput8/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -30,3 +30,5 @@ ntdll) add_dependencies(dinput8 psdk buildno_header) + +add_cab_target(dinput8 1) Modified: branches/cmake-bringup/dll/directx/dmusic/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/dmusi…
============================================================================== --- branches/cmake-bringup/dll/directx/dmusic/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/dmusic/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -38,3 +38,5 @@ ntdll) add_dependencies(dmusic psdk buildno_header) + +add_cab_target(dmusic 1) Modified: branches/cmake-bringup/dll/directx/dplay/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/dplay…
============================================================================== --- branches/cmake-bringup/dll/directx/dplay/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/dplay/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -22,3 +22,5 @@ ntdll) add_dependencies(dplay psdk buildno_header) + +add_cab_target(dplay 1) Modified: branches/cmake-bringup/dll/directx/ksproxy/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/kspro…
============================================================================== --- branches/cmake-bringup/dll/directx/ksproxy/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/ksproxy/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -1,3 +1,4 @@ +set_cpp() spec2def(ksproxy.ax ksproxy.spec) @@ -37,8 +38,9 @@ advapi32 ole32 setupapi + ksuser msvcrt - ksuser + kernel32 ntdll) add_dependencies(ksproxy psdk buildno_header) Modified: branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/msdmo…
============================================================================== --- branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -27,3 +27,5 @@ ntdll) add_dependencies(msdmo dxdsk psdk buildno_header) + +add_cab_target(msdmo 1) Modified: branches/cmake-bringup/dll/directx/wine/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/wine/…
============================================================================== --- branches/cmake-bringup/dll/directx/wine/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/wine/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -20,5 +20,5 @@ #add_subdirectory(d3dx9_40) #add_subdirectory(d3dx9_41) #add_subdirectory(d3dx9_42) -#add_subdirectory(ddraw) -#add_subdirectory(wined3d) +add_subdirectory(ddraw) +add_subdirectory(wined3d) Modified: branches/cmake-bringup/dll/directx/wine/d3d8/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/wine/…
============================================================================== --- branches/cmake-bringup/dll/directx/wine/d3d8/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/directx/wine/d3d8/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -12,12 +12,12 @@ d3d8_main.c device.c directx.c - indexbuffer.c - pixelshader.c + #indexbuffer.c + #pixelshader.c surface.c swapchain.c texture.c - vertexbuffer.c + #vertexbuffer.c vertexdeclaration.c vertexshader.c volume.c Added: branches/cmake-bringup/dll/directx/wine/ddraw/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/wine/…
============================================================================== --- branches/cmake-bringup/dll/directx/wine/ddraw/CMakeLists.txt (added) +++ branches/cmake-bringup/dll/directx/wine/ddraw/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -1,0 +1,52 @@ +set_rc_compiler() + +spec2def(ddraw.dll ddraw.spec) + +list(APPEND SOURCE + clipper.c + ddraw.c + device.c + executebuffer.c + light.c + main.c + material.c + palette.c + parent.c + regsvr.c + stubs.c + surface.c + utils.c + vertexbuffer.c + viewport.c + version.rc + ddraw.def) + +add_definitions( + -D__WINESRC__ + -DUSE_WIN32_OPENGL) + +if(MSVC) + add_definitions(/FIwine/typeof.h) +endif() +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +add_library(ddraw SHARED ${SOURCE}) +set_module_type(ddraw win32dll) + +target_link_libraries(ddraw + ${CMAKE_CURRENT_BINARY_DIR}/ddraw.def + wine + uuid + dxguid + ${PSEH_LIB}) + +add_importlibs(ddraw + advapi32 + gdi32 + ole32 + user32 + wined3d + msvcrt + kernel32 + ntdll) + Propchange: branches/cmake-bringup/dll/directx/wine/ddraw/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/cmake-bringup/dll/directx/wine/wined3d/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/wine/…
============================================================================== --- branches/cmake-bringup/dll/directx/wine/wined3d/CMakeLists.txt (added) +++ branches/cmake-bringup/dll/directx/wine/wined3d/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -1,0 +1,73 @@ +set_rc_compiler() + +spec2def(wined3.dll wined3d.spec) + +list(APPEND SOURCE + ati_fragment_shader.c + arb_program_shader.c + basetexture.c + buffer.c + clipper.c + context.c + cubetexture.c + device.c + directx.c + drawprim.c + gl_compat.c + glsl_shader.c + nvidia_texture_shader.c + palette.c + query.c + resource.c + shader.c + shader_sm1.c + shader_sm4.c + state.c + stateblock.c + surface_base.c + surface.c + surface_gdi.c + swapchain.c + swapchain_base.c + swapchain_gdi.c + texture.c + utils.c + vertexdeclaration.c + view.c + volume.c + volumetexture.c + wined3d_main.c + version.rc + wined3d.def) + +if(ARCH MATCHES amd64) +list(APPEND SOURCE + powf.c + sqrtf.c) +endif() + +add_definitions( + -D__WINESRC__ + -DUSE_WIN32_OPENGL) + +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +add_library(wined3d SHARED ${SOURCE}) +set_module_type(wined3d win32dll) + +target_link_libraries(wined3d + ${CMAKE_CURRENT_BINARY_DIR}/wined3d.def + wine + uuid) + +add_importlibs(wined3d + user32 + opengl32 + gdi32 + advapi32 + msvcrt + kernel32 + ntdll) +add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/wined3d.def) + +add_cab_target(wined3d 1) Propchange: branches/cmake-bringup/dll/directx/wine/wined3d/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
============================================================================== --- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Fri Nov 5 21:49:09 2010 @@ -12,7 +12,7 @@ add_subdirectory(batt) add_subdirectory(bcrypt) add_subdirectory(beepmidi) -#add_subdirectory(browseui)#FIXME: shellbrowser.cpp:152: error: expected constructor, destructor, or type conversion before 'SHAlloc' +#add_subdirectory(browseui) #FIXME: shellbrowser.cpp:152: error: expected constructor, destructor, or type conversion before 'SHAlloc' add_subdirectory(cabinet) add_subdirectory(cards) add_subdirectory(cfgmgr32) @@ -56,7 +56,7 @@ add_subdirectory(initpki) add_subdirectory(inseng) add_subdirectory(iphlpapi) -#add_subdirectory(iprtprio) +#add_subdirectory(iprtprio) # not built in trunk add_subdirectory(itircl) add_subdirectory(itss) add_subdirectory(jscript) @@ -199,13 +199,13 @@ add_subdirectory(version) add_subdirectory(wdmaud.drv) add_subdirectory(windowscodecs) -#add_subdirectory(winemp3.acm)#FIXME: ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator)' +#add_subdirectory(winemp3.acm) #FIXME: ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator)' add_subdirectory(winfax) add_subdirectory(wing32) add_subdirectory(winhttp) add_subdirectory(wininet) add_subdirectory(winmm) -#add_subdirectory(winscard) +#add_subdirectory(winscard) # not built in trunk add_subdirectory(winspool) add_subdirectory(winsta) add_subdirectory(wintrust)
14 years, 1 month
1
0
0
0
← Newer
1
...
35
36
37
38
39
40
41
...
50
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Results per page:
10
25
50
100
200