Changeset 30959
- Timestamp:
- 03/08/09 23:15:15 (4 years ago)
- Location:
- lang/cplusplus/i3/trunk
- Files:
-
- 8 modified
-
configure.ac (modified) (1 diff)
-
src/Common.h (modified) (1 diff)
-
src/Main.cpp (modified) (1 diff)
-
src/gui-gnustep/Gui.cpp (modified) (1 diff)
-
src/mol/include/mol/Thread.h (modified) (1 diff)
-
src/mol/include/mol/gui-gnustep/PrecompiledHeaders.h (modified) (1 diff)
-
src/os-windows/Os.cpp (modified) (2 diffs)
-
src/os-windows/Os.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/i3/trunk/configure.ac
r30765 r30959 126 126 # 127 127 128 AX_BOOST_BASE([1.3 5.0])128 AX_BOOST_BASE([1.38.0]) 129 129 #AX_BOOST_PROGRAM_OPTIONS 130 130 #AX_BOOST_UNIT_TEST_FRAMEWORK -
lang/cplusplus/i3/trunk/src/Common.h
r30459 r30959 17 17 18 18 #include <iconv.h> 19 20 #ifdef ENABLE_NLS 19 21 #include <libintl.h> 22 #endif 20 23 21 24 //#include <argtable2.h> -
lang/cplusplus/i3/trunk/src/Main.cpp
r30461 r30959 32 32 } 33 33 } 34 //alert(_("bye")); 34 35 35 return EXIT_SUCCESS; 36 36 } -
lang/cplusplus/i3/trunk/src/gui-gnustep/Gui.cpp
r30881 r30959 34 34 { 35 35 //char foo[sizeof(NSObject)]; 36 NSObject obj;37 NSObject* objptr = &obj;38 memset(objptr, 0, sizeof(*objptr));39 [objptr init];36 //NSObject obj; 37 //NSObject* objptr = &obj; 38 //memset(objptr, 0, sizeof(*objptr)); 39 //[objptr init]; 40 40 [NSApp run]; 41 41 return 0; -
lang/cplusplus/i3/trunk/src/mol/include/mol/Thread.h
r30881 r30959 4 4 #ifdef MOL_GUI_GNUSTEP 5 5 inline static void* init_thread() { 6 [NSApplication sharedApplication]; 7 return [[NSAutoreleasePool alloc] init]; 6 //[NSApplication sharedApplication]; 7 //return [[NSAutoreleasePool alloc] init]; 8 return NULL; 8 9 } 9 10 inline static void release_thread(void* p) { 10 [static_cast<NSAutoreleasePool*>(p) dealloc]; 11 if (p) { 12 //[static_cast<NSAutoreleasePool*>(p) dealloc]; 13 } 11 14 } 12 15 #else -
lang/cplusplus/i3/trunk/src/mol/include/mol/gui-gnustep/PrecompiledHeaders.h
r30432 r30959 7 7 8 8 extern "C" { 9 #import <Cocoa/Cocoa.h> 9 #import <Foundation/Foundation.h> 10 #import <AppKit/AppKit.h> 10 11 } 11 12 -
lang/cplusplus/i3/trunk/src/os-windows/Os.cpp
r30765 r30959 339 339 { 340 340 #if defined(UNICODE) || defined(_UNICODE) 341 #ifdef ENABLE_NLS 341 342 Utf8ToUtf16Stream s(stderr); 342 343 struct fp_func fp_func = {s}; … … 345 346 bind_textdomain_codeset(PACKAGE_NAME,"UTF-16LE"); 346 347 #else 348 exit_status e = i3::execute_popt((size_t)argc, (const char**)argv, boost::lambda::constant(stdout)); 349 #endif 350 #else 351 #ifdef ENABLE_NLS 347 352 const char* codeset = bind_textdomain_codeset(PACKAGE_NAME,NULL); 348 353 bind_textdomain_codeset(PACKAGE_NAME,"UTF-8"); 349 354 exit_status e = i3::execute_popt((size_t)argc, (const char**)argv, boost::lambda::constant(stdout)); 350 355 bind_textdomain_codeset(PACKAGE_NAME,codeset); 356 #else 357 exit_status e = i3::execute_popt((size_t)argc, (const char**)argv, boost::lambda::constant(stdout)); 358 #endif 351 359 #endif 352 360 return e; -
lang/cplusplus/i3/trunk/src/os-windows/Os.h
r25972 r30959 3 3 #include "WindowsCommon.h" 4 4 5 #ifdef ENABLE_NLS 5 6 #include "wlibintl.h" 7 #endif 8 6 9 // disable POSIX/XSI format strings 7 10 #undef fprintf
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)