Changeset 35976

Show
Ignore:
Timestamp:
11/24/09 01:47:08 (4 years ago)
Author:
saturday06
Message:

qwedrftgyhu

Location:
lang/objective-cplusplus/i3/trunk
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/InputWindow.cpp

    r35623 r35976  
    1515} 
    1616 
     17} 
    1718 
    18 } 
     19 
  • lang/objective-cplusplus/i3/trunk/src/Mediator.cpp

    r34497 r35976  
    1919#if !defined(MIL_GUI_COCOA) || defined(__APPLE__) 
    2020    // threaded 
    21     inputWindow.createGui(); 
     21    inputWindow.createUI(); 
    2222    completionWindow.start(); 
    2323    outputWindow.start(); 
  • lang/objective-cplusplus/i3/trunk/src/OutputWindow.cpp

    r34447 r35976  
    33#include "Mediator.h" 
    44 
     5namespace i3 { 
    56using namespace mil; 
    67 
    7 namespace i3 { 
    8  
    98OutputWindow::OutputWindow(Mediator& mediator): mediator(mediator) { 
    10  
    119} 
    1210 
  • lang/objective-cplusplus/i3/trunk/src/OutputWindow.h

    r34940 r35976  
     1#pragma once 
     2 
    13/** 
    24 * 
    35 */ 
    46 
    5 #pragma once 
    67#include <mil/GuiModule.h> 
    78#include "Common.h" 
     9#include "OutputWindowPlatform.h" 
    810 
    911namespace i3 { 
     
    1113class Mediator; 
    1214 
    13 class OutputWindow : public mil::GuiModule<OutputWindow> { 
     15class OutputWindow : public OutputWindowPlatform<OutputWindow> { 
    1416public: 
    1517    Mediator& mediator; 
     
    2426 
    2527} 
     28 
  • lang/objective-cplusplus/i3/trunk/src/gui-windows/InputWindowPlatform.cpp

    r35968 r35976  
    466466template <> 
    467467void InputWindowPlatform<InputWindow>::run() { 
    468     createGui(); 
     468    createUI(); 
    469469    UpdateWindow(hLocalWnd); 
    470470    ShowWindow(hLocalWnd, SW_SHOW); 
     
    473473 
    474474template <> 
    475 void InputWindowPlatform<InputWindow>::createGui() { 
     475void InputWindowPlatform<InputWindow>::createUI() { 
    476476    if (hLocalWnd) { 
    477477        return; 
  • lang/objective-cplusplus/i3/trunk/src/gui-windows/InputWindowPlatform.h

    r35968 r35976  
    1717    ~InputWindowPlatform(); 
    1818 
    19     void createGui(); 
     19    void createUI(); 
    2020    void run(); 
    2121 
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/ModuleCommon.h

    r35633 r35976  
    5151        MIL_MODULE_SUPER_CHILD_TYPE(Target)& o = 
    5252            MIL_MODULE_GET_SUPER_CHILD(target); 
    53  
     53         
     54                o.beforeExecute(data); 
    5455        o.execute(data); 
     56                o.afterExecute(data); 
    5557    } 
    5658 
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/gui-windows/GuiModule.h

    r35836 r35976  
    140140    } 
    141141 
    142     void createGui() { 
     142    void createUI() { 
    143143    } 
    144144 
  • lang/objective-cplusplus/i3/trunk/windows/i3.vcproj

    r35689 r35976  
    116116                </Configuration> 
    117117                <Configuration 
     118                        Name="Release|Win32" 
     119                        OutputDirectory="bin" 
     120                        IntermediateDirectory="build\$(ProjectName).$(ConfigurationName).$(PlatformName)" 
     121                        ConfigurationType="1" 
     122                        UseOfATL="1" 
     123                        CharacterSet="1" 
     124                        WholeProgramOptimization="1" 
     125                        > 
     126                        <Tool 
     127                                Name="VCPreBuildEventTool" 
     128                        /> 
     129                        <Tool 
     130                                Name="VCCustomBuildTool" 
     131                        /> 
     132                        <Tool 
     133                                Name="MASM" 
     134                        /> 
     135                        <Tool 
     136                                Name="VCXMLDataGeneratorTool" 
     137                        /> 
     138                        <Tool 
     139                                Name="VCWebServiceProxyGeneratorTool" 
     140                        /> 
     141                        <Tool 
     142                                Name="VCMIDLTool" 
     143                        /> 
     144                        <Tool 
     145                                Name="VCCLCompilerTool" 
     146                                Optimization="3" 
     147                                EnableIntrinsicFunctions="true" 
     148                                FavorSizeOrSpeed="1" 
     149                                EnableFiberSafeOptimizations="true" 
     150                                AdditionalIncludeDirectories="..\src\;&quot;..\src\gui-windows&quot;;..\src\mil\include;&quot;..\src\os-windows&quot;;&quot;..\src\os-windows\msvc&quot;" 
     151                                StringPooling="true" 
     152                                RuntimeLibrary="0" 
     153                                BufferSecurityCheck="false" 
     154                                RuntimeTypeInfo="false" 
     155                                UsePrecompiledHeader="0" 
     156                                WarningLevel="4" 
     157                                Detect64BitPortabilityProblems="false" 
     158                                DebugInformationFormat="3" 
     159                                EnablePREfast="true" 
     160                        /> 
     161                        <Tool 
     162                                Name="VCManagedResourceCompilerTool" 
     163                        /> 
     164                        <Tool 
     165                                Name="VCResourceCompilerTool" 
     166                        /> 
     167                        <Tool 
     168                                Name="VCPreLinkEventTool" 
     169                        /> 
     170                        <Tool 
     171                                Name="VCLinkerTool" 
     172                                OutputFile="$(OutDir)\$(ProjectName).$(ConfigurationName).$(PlatformName).exe" 
     173                                LinkIncremental="1" 
     174                                AdditionalLibraryDirectories="" 
     175                                IgnoreAllDefaultLibraries="false" 
     176                                IgnoreDefaultLibraryNames="" 
     177                                GenerateDebugInformation="true" 
     178                                SubSystem="2" 
     179                                OptimizeReferences="2" 
     180                                EnableCOMDATFolding="2" 
     181                                RandomizedBaseAddress="1" 
     182                                DataExecutionPrevention="0" 
     183                                TargetMachine="1" 
     184                        /> 
     185                        <Tool 
     186                                Name="VCALinkTool" 
     187                        /> 
     188                        <Tool 
     189                                Name="VCManifestTool" 
     190                        /> 
     191                        <Tool 
     192                                Name="VCXDCMakeTool" 
     193                        /> 
     194                        <Tool 
     195                                Name="VCBscMakeTool" 
     196                        /> 
     197                        <Tool 
     198                                Name="VCFxCopTool" 
     199                        /> 
     200                        <Tool 
     201                                Name="VCAppVerifierTool" 
     202                        /> 
     203                        <Tool 
     204                                Name="VCPostBuildEventTool" 
     205                        /> 
     206                </Configuration> 
     207                <Configuration 
     208                        Name="Debug_Analyze|Win32" 
     209                        OutputDirectory="bin" 
     210                        IntermediateDirectory="build\$(ProjectName).$(ConfigurationName).$(PlatformName)" 
     211                        ConfigurationType="1" 
     212                        UseOfATL="1" 
     213                        CharacterSet="1" 
     214                        > 
     215                        <Tool 
     216                                Name="VCPreBuildEventTool" 
     217                        /> 
     218                        <Tool 
     219                                Name="VCCustomBuildTool" 
     220                        /> 
     221                        <Tool 
     222                                Name="MASM" 
     223                        /> 
     224                        <Tool 
     225                                Name="VCXMLDataGeneratorTool" 
     226                        /> 
     227                        <Tool 
     228                                Name="VCWebServiceProxyGeneratorTool" 
     229                        /> 
     230                        <Tool 
     231                                Name="VCMIDLTool" 
     232                        /> 
     233                        <Tool 
     234                                Name="VCCLCompilerTool" 
     235                                AdditionalOptions="/wd4355 /D_SCL_SECURE_NO_WARNINGS" 
     236                                Optimization="0" 
     237                                AdditionalIncludeDirectories="..\src\;&quot;..\src\gui-windows&quot;;..\src\mil\include;&quot;..\src\os-windows&quot;;&quot;..\src\os-windows\msvc&quot;" 
     238                                MinimalRebuild="true" 
     239                                BasicRuntimeChecks="3" 
     240                                SmallerTypeCheck="true" 
     241                                RuntimeLibrary="1" 
     242                                RuntimeTypeInfo="true" 
     243                                UsePrecompiledHeader="2" 
     244                                PrecompiledHeaderThrough="PrecompiledHeaders.h" 
     245                                PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch" 
     246                                WarningLevel="4" 
     247                                WarnAsError="false" 
     248                                Detect64BitPortabilityProblems="false" 
     249                                DebugInformationFormat="4" 
     250                                EnablePREfast="true" 
     251                        /> 
     252                        <Tool 
     253                                Name="VCManagedResourceCompilerTool" 
     254                        /> 
     255                        <Tool 
     256                                Name="VCResourceCompilerTool" 
     257                        /> 
     258                        <Tool 
     259                                Name="VCPreLinkEventTool" 
     260                        /> 
     261                        <Tool 
     262                                Name="VCLinkerTool" 
     263                                OutputFile="$(OutDir)\$(ProjectName).$(ConfigurationName).$(PlatformName).exe" 
     264                                LinkIncremental="2" 
     265                                AdditionalLibraryDirectories="" 
     266                                GenerateManifest="false" 
     267                                GenerateDebugInformation="true" 
     268                                SubSystem="1" 
     269                                RandomizedBaseAddress="1" 
     270                                DataExecutionPrevention="0" 
     271                                TargetMachine="1" 
     272                        /> 
     273                        <Tool 
     274                                Name="VCALinkTool" 
     275                        /> 
     276                        <Tool 
     277                                Name="VCManifestTool" 
     278                        /> 
     279                        <Tool 
     280                                Name="VCXDCMakeTool" 
     281                        /> 
     282                        <Tool 
     283                                Name="VCBscMakeTool" 
     284                        /> 
     285                        <Tool 
     286                                Name="VCFxCopTool" 
     287                        /> 
     288                        <Tool 
     289                                Name="VCAppVerifierTool" 
     290                        /> 
     291                        <Tool 
     292                                Name="VCPostBuildEventTool" 
     293                        /> 
     294                </Configuration> 
     295                <Configuration 
    118296                        Name="Debug|x64" 
    119297                        OutputDirectory="bin" 
     
    208386                </Configuration> 
    209387                <Configuration 
    210                         Name="Release|Win32" 
     388                        Name="Release|x64" 
    211389                        OutputDirectory="bin" 
    212390                        IntermediateDirectory="build\$(ProjectName).$(ConfigurationName).$(PlatformName)" 
     
    233411                        <Tool 
    234412                                Name="VCMIDLTool" 
     413                                TargetEnvironment="3" 
    235414                        /> 
    236415                        <Tool 
     
    273452                                RandomizedBaseAddress="1" 
    274453                                DataExecutionPrevention="0" 
    275                                 TargetMachine="1" 
    276                         /> 
    277                         <Tool 
    278                                 Name="VCALinkTool" 
    279                         /> 
    280                         <Tool 
    281                                 Name="VCManifestTool" 
    282                         /> 
    283                         <Tool 
    284                                 Name="VCXDCMakeTool" 
    285                         /> 
    286                         <Tool 
    287                                 Name="VCBscMakeTool" 
    288                         /> 
    289                         <Tool 
    290                                 Name="VCFxCopTool" 
    291                         /> 
    292                         <Tool 
    293                                 Name="VCAppVerifierTool" 
    294                         /> 
    295                         <Tool 
    296                                 Name="VCPostBuildEventTool" 
    297                         /> 
    298                 </Configuration> 
    299                 <Configuration 
    300                         Name="Release|x64" 
    301                         OutputDirectory="bin" 
    302                         IntermediateDirectory="build\$(ProjectName).$(ConfigurationName).$(PlatformName)" 
    303                         ConfigurationType="1" 
    304                         UseOfATL="1" 
    305                         CharacterSet="1" 
    306                         WholeProgramOptimization="1" 
    307                         > 
    308                         <Tool 
    309                                 Name="VCPreBuildEventTool" 
    310                         /> 
    311                         <Tool 
    312                                 Name="VCCustomBuildTool" 
    313                         /> 
    314                         <Tool 
    315                                 Name="MASM" 
    316                         /> 
    317                         <Tool 
    318                                 Name="VCXMLDataGeneratorTool" 
    319                         /> 
    320                         <Tool 
    321                                 Name="VCWebServiceProxyGeneratorTool" 
    322                         /> 
    323                         <Tool 
    324                                 Name="VCMIDLTool" 
    325                                 TargetEnvironment="3" 
    326                         /> 
    327                         <Tool 
    328                                 Name="VCCLCompilerTool" 
    329                                 Optimization="3" 
    330                                 EnableIntrinsicFunctions="true" 
    331                                 FavorSizeOrSpeed="1" 
    332                                 EnableFiberSafeOptimizations="true" 
    333                                 AdditionalIncludeDirectories="..\src\;&quot;..\src\gui-windows&quot;;..\src\mil\include;&quot;..\src\os-windows&quot;;&quot;..\src\os-windows\msvc&quot;" 
    334                                 StringPooling="true" 
    335                                 RuntimeLibrary="0" 
    336                                 BufferSecurityCheck="false" 
    337                                 RuntimeTypeInfo="false" 
    338                                 UsePrecompiledHeader="0" 
    339                                 WarningLevel="4" 
    340                                 Detect64BitPortabilityProblems="false" 
    341                                 DebugInformationFormat="3" 
    342                                 EnablePREfast="true" 
    343                         /> 
    344                         <Tool 
    345                                 Name="VCManagedResourceCompilerTool" 
    346                         /> 
    347                         <Tool 
    348                                 Name="VCResourceCompilerTool" 
    349                         /> 
    350                         <Tool 
    351                                 Name="VCPreLinkEventTool" 
    352                         /> 
    353                         <Tool 
    354                                 Name="VCLinkerTool" 
    355                                 OutputFile="$(OutDir)\$(ProjectName).$(ConfigurationName).$(PlatformName).exe" 
    356                                 LinkIncremental="1" 
    357                                 AdditionalLibraryDirectories="" 
    358                                 IgnoreAllDefaultLibraries="false" 
    359                                 IgnoreDefaultLibraryNames="" 
    360                                 GenerateDebugInformation="true" 
    361                                 SubSystem="2" 
    362                                 OptimizeReferences="2" 
    363                                 EnableCOMDATFolding="2" 
    364                                 RandomizedBaseAddress="1" 
    365                                 DataExecutionPrevention="0" 
    366454                                TargetMachine="17" 
    367                         /> 
    368                         <Tool 
    369                                 Name="VCALinkTool" 
    370                         /> 
    371                         <Tool 
    372                                 Name="VCManifestTool" 
    373                         /> 
    374                         <Tool 
    375                                 Name="VCXDCMakeTool" 
    376                         /> 
    377                         <Tool 
    378                                 Name="VCBscMakeTool" 
    379                         /> 
    380                         <Tool 
    381                                 Name="VCFxCopTool" 
    382                         /> 
    383                         <Tool 
    384                                 Name="VCAppVerifierTool" 
    385                         /> 
    386                         <Tool 
    387                                 Name="VCPostBuildEventTool" 
    388                         /> 
    389                 </Configuration> 
    390                 <Configuration 
    391                         Name="Debug_Analyze|Win32" 
    392                         OutputDirectory="bin" 
    393                         IntermediateDirectory="build\$(ProjectName).$(ConfigurationName).$(PlatformName)" 
    394                         ConfigurationType="1" 
    395                         UseOfATL="1" 
    396                         CharacterSet="1" 
    397                         > 
    398                         <Tool 
    399                                 Name="VCPreBuildEventTool" 
    400                         /> 
    401                         <Tool 
    402                                 Name="VCCustomBuildTool" 
    403                         /> 
    404                         <Tool 
    405                                 Name="MASM" 
    406                         /> 
    407                         <Tool 
    408                                 Name="VCXMLDataGeneratorTool" 
    409                         /> 
    410                         <Tool 
    411                                 Name="VCWebServiceProxyGeneratorTool" 
    412                         /> 
    413                         <Tool 
    414                                 Name="VCMIDLTool" 
    415                         /> 
    416                         <Tool 
    417                                 Name="VCCLCompilerTool" 
    418                                 AdditionalOptions="/wd4355 /D_SCL_SECURE_NO_WARNINGS" 
    419                                 Optimization="0" 
    420                                 AdditionalIncludeDirectories="..\src\;&quot;..\src\gui-windows&quot;;..\src\mil\include;&quot;..\src\os-windows&quot;;&quot;..\src\os-windows\msvc&quot;" 
    421                                 MinimalRebuild="true" 
    422                                 BasicRuntimeChecks="3" 
    423                                 SmallerTypeCheck="true" 
    424                                 RuntimeLibrary="1" 
    425                                 RuntimeTypeInfo="true" 
    426                                 UsePrecompiledHeader="2" 
    427                                 PrecompiledHeaderThrough="PrecompiledHeaders.h" 
    428                                 PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch" 
    429                                 WarningLevel="4" 
    430                                 WarnAsError="false" 
    431                                 Detect64BitPortabilityProblems="false" 
    432                                 DebugInformationFormat="4" 
    433                                 EnablePREfast="true" 
    434                         /> 
    435                         <Tool 
    436                                 Name="VCManagedResourceCompilerTool" 
    437                         /> 
    438                         <Tool 
    439                                 Name="VCResourceCompilerTool" 
    440                         /> 
    441                         <Tool 
    442                                 Name="VCPreLinkEventTool" 
    443                         /> 
    444                         <Tool 
    445                                 Name="VCLinkerTool" 
    446                                 OutputFile="$(OutDir)\$(ProjectName).$(ConfigurationName).$(PlatformName).exe" 
    447                                 LinkIncremental="2" 
    448                                 AdditionalLibraryDirectories="" 
    449                                 GenerateManifest="false" 
    450                                 GenerateDebugInformation="true" 
    451                                 SubSystem="1" 
    452                                 RandomizedBaseAddress="1" 
    453                                 DataExecutionPrevention="0" 
    454                                 TargetMachine="1" 
    455455                        /> 
    456456                        <Tool 
     
    660660                                </File> 
    661661                                <File 
     662                                        RelativePath="..\src\mil\include\mil\os-windows\Debug.h" 
     663                                        > 
     664                                </File> 
     665                                <File 
    662666                                        RelativePath="..\src\mil\include\mil\Debug.h" 
    663667                                        > 
    664668                                </File> 
    665669                                <File 
    666                                         RelativePath="..\src\mil\include\mil\os-windows\Debug.h" 
    667                                         > 
    668                                 </File> 
    669                                 <File 
    670670                                        RelativePath="..\src\mil\include\mil\DoubleBuffer.h" 
    671671                                        > 
     
    688688                                </File> 
    689689                                <File 
     690                                        RelativePath="..\src\mil\include\mil\GuiModule.h" 
     691                                        > 
     692                                </File> 
     693                                <File 
    690694                                        RelativePath="..\src\mil\include\mil\gui-windows\GuiModule.h" 
    691695                                        > 
    692696                                </File> 
    693697                                <File 
    694                                         RelativePath="..\src\mil\include\mil\GuiModule.h" 
    695                                         > 
    696                                 </File> 
    697                                 <File 
    698698                                        RelativePath="..\src\mil\include\mil\gui-windows\MessageCracker-inl.h" 
    699699                                        > 
     
    736736                                </File> 
    737737                                <File 
     738                                        RelativePath="..\src\mil\include\mil\Thread.h" 
     739                                        > 
     740                                </File> 
     741                                <File 
    738742                                        RelativePath="..\src\mil\include\mil\os-windows\Thread.h" 
    739                                         > 
    740                                 </File> 
    741                                 <File 
    742                                         RelativePath="..\src\mil\include\mil\Thread.h" 
    743743                                        > 
    744744                                </File> 
     
    809809                        </File> 
    810810                        <File 
     811                                RelativePath="..\src\gui-windows\OutputWindowPlatform.cpp" 
     812                                > 
     813                        </File> 
     814                        <File 
     815                                RelativePath="..\src\gui-windows\OutputWindowPlatform.h" 
     816                                > 
     817                        </File> 
     818                        <File 
    811819                                RelativePath="..\src\os-windows\Pty.cpp" 
    812820                                > 
     
    821829                                <FileConfiguration 
    822830                                        Name="Debug|Win32" 
     831                                        > 
     832                                        <Tool 
     833                                                Name="VCCLCompilerTool" 
     834                                                UsePrecompiledHeader="1" 
     835                                        /> 
     836                                </FileConfiguration> 
     837                                <FileConfiguration 
     838                                        Name="Debug_Analyze|Win32" 
    823839                                        > 
    824840                                        <Tool 
     
    836852                                </FileConfiguration> 
    837853                                <FileConfiguration 
    838                                         Name="Debug_Analyze|Win32" 
     854                                        Name="Debug_Analyze|x64" 
    839855                                        > 
    840856                                        <Tool 
     
    843859                                        /> 
    844860                                </FileConfiguration> 
     861                        </File> 
     862                        <File 
     863                                RelativePath="..\src\os-windows\Utf8ToUtf16Stream.cpp" 
     864                                > 
     865                        </File> 
     866                        <File 
     867                                RelativePath="..\src\os-windows\msvc\win_iconv.c" 
     868                                > 
    845869                                <FileConfiguration 
    846                                         Name="Debug_Analyze|x64" 
     870                                        Name="Debug|Win32" 
    847871                                        > 
    848872                                        <Tool 
    849873                                                Name="VCCLCompilerTool" 
    850                                                 UsePrecompiledHeader="1" 
     874                                                UsePrecompiledHeader="0" 
    851875                                        /> 
    852876                                </FileConfiguration> 
    853                         </File> 
    854                         <File 
    855                                 RelativePath="..\src\os-windows\Utf8ToUtf16Stream.cpp" 
    856                                 > 
    857                         </File> 
    858                         <File 
    859                                 RelativePath="..\src\os-windows\msvc\win_iconv.c" 
    860                                 > 
    861877                                <FileConfiguration 
    862                                         Name="Debug|Win32" 
     878                                        Name="Release|Win32" 
     879                                        > 
     880                                        <Tool 
     881                                                Name="VCCLCompilerTool" 
     882                                                UsePrecompiledHeader="0" 
     883                                        /> 
     884                                </FileConfiguration> 
     885                                <FileConfiguration 
     886                                        Name="Debug_Analyze|Win32" 
    863887                                        > 
    864888                                        <Tool 
     
    876900                                </FileConfiguration> 
    877901                                <FileConfiguration 
    878                                         Name="Release|Win32" 
    879                                         > 
    880                                         <Tool 
    881                                                 Name="VCCLCompilerTool" 
    882                                                 UsePrecompiledHeader="0" 
    883                                         /> 
    884                                 </FileConfiguration> 
    885                                 <FileConfiguration 
    886902                                        Name="Release|x64" 
    887                                         > 
    888                                         <Tool 
    889                                                 Name="VCCLCompilerTool" 
    890                                                 UsePrecompiledHeader="0" 
    891                                         /> 
    892                                 </FileConfiguration> 
    893                                 <FileConfiguration 
    894                                         Name="Debug_Analyze|Win32" 
    895903                                        > 
    896904                                        <Tool