Changeset 29 for NEWT0/trunk


Ignore:
Timestamp:
06/05/05 00:25:43 (7 years ago)
Author:
gnue
Message:

add src/utils folder
add endian_utils.c endian_utils.h files
Real or Int32 data convert little endian to big endian in NSOF

Location:
NEWT0/trunk
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/Makefile.in

    r18 r29  
    55build = ./build 
    66ext = ./ext 
     7utils = $(srcdir)/utils 
    78parser = $(srcdir)/parser 
    89core = $(srcdir)/newt_core 
     
    3536MAINOBJ       = $(objdir)/main.o 
    3637 
     38UTILSOBJS     = $(objdir)/endian_utils.o 
     39 
    3740COREOBJS      = $(objdir)/NewtBC.o \ 
    3841                $(objdir)/NewtEnv.o \ 
     
    5356                $(objdir)/lookup_words.o 
    5457 
    55 NEWTLIBS      = $(ext)/protoFILE \ 
    56                 $(ext)/protoREGEX 
     58NEWTLIBS      = $(ext)/protoFILE \ 
     59                $(ext)/protoREGEX 
    5760 
    5861 
     
    8487newt: $(build) $(objdir) $(yytmp) $(NEWT) $(LDIMPORT) 
    8588 
    86 $(NEWT): $(MAINOBJ) $(PARSEROBJS) $(COREOBJS) 
    87     $(CC) $(LDFLAGS) $(LIBS) $(MAINOBJ) $(PARSEROBJS) $(COREOBJS) $(LIBS) -o $@ 
     89$(NEWT): $(MAINOBJ) $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) 
     90    $(CC) $(LDFLAGS) $(LIBS) $(MAINOBJ) $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) $(LIBS) -o $@ 
    8891 
    8992 
     
    9396$(MAINOBJ): $(srcdir)/main.c $(srcdir)/version.h 
    9497    $(CC) $(CFLAGS) $(INCS) -c -o $@ $(srcdir)/main.c 
     98 
     99 
     100### UTILITIES 
     101 
     102$(objdir)/endian_utils.o: $(utils)/endian_utils.c $(utils)/endian_utils.h 
     103    $(CC) $(CFLAGS) $(INCS) -c -o $@ $(utils)/endian_utils.c 
    95104 
    96105 
  • NEWT0/trunk/newt.xcode/gnue.mode1

    r28 r29  
    186186    <array/> 
    187187    <key>OpenEditors</key> 
    188     <array> 
    189         <dict> 
    190             <key>Content</key> 
    191             <dict> 
    192                 <key>PBXProjectModuleGUID</key> 
    193                 <string>F55100B00838B72B00C35ACB</string> 
    194                 <key>PBXProjectModuleLabel</key> 
    195                 <string>version.h</string> 
    196                 <key>PBXSplitModuleInNavigatorKey</key> 
    197                 <dict> 
    198                     <key>Split0</key> 
    199                     <dict> 
    200                         <key>PBXProjectModuleGUID</key> 
    201                         <string>F55100B10838B72B00C35ACB</string> 
    202                         <key>PBXProjectModuleLabel</key> 
    203                         <string>version.h</string> 
    204                         <key>_historyCapacity</key> 
    205                         <integer>0</integer> 
    206                         <key>bookmark</key> 
    207                         <string>F55100B40838B72B00C35ACB</string> 
    208                         <key>history</key> 
    209                         <array> 
    210                             <string>F55100A90838B72000C35ACB</string> 
    211                         </array> 
    212                     </dict> 
    213                     <key>SplitCount</key> 
    214                     <string>1</string> 
    215                 </dict> 
    216                 <key>StatusBarVisibility</key> 
    217                 <true/> 
    218             </dict> 
    219             <key>Geometry</key> 
    220             <dict> 
    221                 <key>Frame</key> 
    222                 <string>{{0, 20}, {750, 461}}</string> 
    223                 <key>PBXModuleWindowStatusBarHidden2</key> 
    224                 <false/> 
    225                 <key>RubberWindowFrame</key> 
    226                 <string>84 176 750 502 0 0 1024 746 </string> 
    227             </dict> 
    228         </dict> 
    229         <dict> 
    230             <key>Content</key> 
    231             <dict> 
    232                 <key>PBXProjectModuleGUID</key> 
    233                 <string>F5B230F90838B648009D5D86</string> 
    234                 <key>PBXProjectModuleLabel</key> 
    235                 <string>NewtVM.c</string> 
    236                 <key>PBXSplitModuleInNavigatorKey</key> 
    237                 <dict> 
    238                     <key>Split0</key> 
    239                     <dict> 
    240                         <key>PBXProjectModuleGUID</key> 
    241                         <string>F5B230FA0838B648009D5D86</string> 
    242                         <key>PBXProjectModuleLabel</key> 
    243                         <string>NewtVM.c</string> 
    244                         <key>_historyCapacity</key> 
    245                         <integer>0</integer> 
    246                         <key>bookmark</key> 
    247                         <string>F55100B50838B72B00C35ACB</string> 
    248                         <key>history</key> 
    249                         <array> 
    250                             <string>F5B230FC0838B648009D5D86</string> 
    251                         </array> 
    252                     </dict> 
    253                     <key>SplitCount</key> 
    254                     <string>1</string> 
    255                 </dict> 
    256                 <key>StatusBarVisibility</key> 
    257                 <true/> 
    258             </dict> 
    259             <key>Geometry</key> 
    260             <dict> 
    261                 <key>Frame</key> 
    262                 <string>{{0, 20}, {750, 461}}</string> 
    263                 <key>PBXModuleWindowStatusBarHidden2</key> 
    264                 <false/> 
    265                 <key>RubberWindowFrame</key> 
    266                 <string>229 222 750 502 0 0 1024 746 </string> 
    267             </dict> 
    268         </dict> 
    269     </array> 
     188    <array/> 
    270189    <key>PerspectiveWidths</key> 
    271190    <array> 
     
    338257                                <string>08FB7794FE84155DC02AAC07</string> 
    339258                                <string>08FB7795FE84155DC02AAC07</string> 
     259                                <string>F503AC690851DFD9009BA497</string> 
    340260                                <string>F5ACB05106412D4900DB6CF9</string> 
     261                                <string>F5ACB05206412D4900DB6CF9</string> 
     262                                <string>F5DE1344082AD4A500BB42A5</string> 
     263                                <string>F541CF5007D8582D0071DCE6</string> 
    341264                                <string>1C37FBAC04509CD000000102</string> 
    342265                                <string>1C37FAAC04509CD000000102</string> 
     
    346269                            <array> 
    347270                                <array> 
    348                                     <integer>19</integer> 
    349                                     <integer>1</integer> 
    350                                     <integer>0</integer> 
     271                                    <integer>53</integer> 
     272                                    <integer>52</integer> 
    351273                                </array> 
    352274                            </array> 
    353275                            <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> 
    354                             <string>{{0, 0}, {186, 506}}</string> 
     276                            <string>{{0, 582}, {186, 506}}</string> 
    355277                        </dict> 
    356278                        <key>PBXTopSmartGroupGIDs</key> 
     
    371293                        </array> 
    372294                        <key>RubberWindowFrame</key> 
    373                         <string>132 124 815 565 0 0 1024 746 </string> 
     295                        <string>130 166 815 565 0 0 1024 746 </string> 
    374296                    </dict> 
    375297                    <key>Module</key> 
     
    382304                    <array> 
    383305                        <dict> 
     306                            <key>BecomeActive</key> 
     307                            <true/> 
    384308                            <key>ContentConfiguration</key> 
    385309                            <dict> 
     
    387311                                <string>1CE0B20306471E060097A5F4</string> 
    388312                                <key>PBXProjectModuleLabel</key> 
    389                                 <string>MyNewFile14.java</string> 
     313                                <string>endian_utils.c</string> 
    390314                                <key>PBXSplitModuleInNavigatorKey</key> 
    391315                                <dict> 
     
    395319                                        <string>1CE0B20406471E060097A5F4</string> 
    396320                                        <key>PBXProjectModuleLabel</key> 
    397                                         <string>MyNewFile14.java</string> 
     321                                        <string>endian_utils.c</string> 
     322                                        <key>_historyCapacity</key> 
     323                                        <integer>0</integer> 
     324                                        <key>bookmark</key> 
     325                                        <string>F515EBA10851ED770055D03A</string> 
     326                                        <key>history</key> 
     327                                        <array> 
     328                                            <string>F57BB5830851DB5600302BD1</string> 
     329                                            <string>F57BB5EC0851DEB100302BD1</string> 
     330                                            <string>F57BB5EE0851DEB100302BD1</string> 
     331                                            <string>F57BB5EF0851DEB100302BD1</string> 
     332                                            <string>F503AC840851E12A009BA497</string> 
     333                                            <string>F503AC850851E12A009BA497</string> 
     334                                            <string>F503AC880851E12A009BA497</string> 
     335                                        </array> 
     336                                        <key>prevStack</key> 
     337                                        <array> 
     338                                            <string>F57BB5890851DB5600302BD1</string> 
     339                                            <string>F57BB58A0851DB5600302BD1</string> 
     340                                            <string>F57BB58B0851DB5600302BD1</string> 
     341                                            <string>F57BB58C0851DB5600302BD1</string> 
     342                                            <string>F57BB5F10851DEB100302BD1</string> 
     343                                            <string>F503AC860851E12A009BA497</string> 
     344                                        </array> 
    398345                                    </dict> 
    399346                                    <key>SplitCount</key> 
     
    406353                            <dict> 
    407354                                <key>Frame</key> 
    408                                 <string>{{0, 0}, {607, 0}}</string> 
     355                                <string>{{0, 0}, {607, 429}}</string> 
    409356                                <key>RubberWindowFrame</key> 
    410                                 <string>132 124 815 565 0 0 1024 746 </string> 
     357                                <string>130 166 815 565 0 0 1024 746 </string> 
    411358                            </dict> 
    412359                            <key>Module</key> 
    413360                            <string>PBXNavigatorGroup</string> 
    414361                            <key>Proportion</key> 
    415                             <string>0pt</string> 
    416                         </dict> 
    417                         <dict> 
    418                             <key>BecomeActive</key> 
    419                             <true/> 
     362                            <string>429pt</string> 
     363                        </dict> 
     364                        <dict> 
    420365                            <key>ContentConfiguration</key> 
    421366                            <dict> 
     
    428373                            <dict> 
    429374                                <key>Frame</key> 
    430                                 <string>{{0, 5}, {607, 519}}</string> 
     375                                <string>{{0, 434}, {607, 90}}</string> 
    431376                                <key>RubberWindowFrame</key> 
    432                                 <string>132 124 815 565 0 0 1024 746 </string> 
     377                                <string>130 166 815 565 0 0 1024 746 </string> 
    433378                            </dict> 
    434379                            <key>Module</key> 
    435380                            <string>XCDetailModule</string> 
    436381                            <key>Proportion</key> 
    437                             <string>519pt</string> 
     382                            <string>90pt</string> 
    438383                        </dict> 
    439384                    </array> 
     
    454399            <key>TableOfContents</key> 
    455400            <array> 
    456                 <string>F55100AE0838B72B00C35ACB</string> 
     401                <string>F515EBA20851ED770055D03A</string> 
    457402                <string>1CE0B1FE06471DED0097A5F4</string> 
    458                 <string>F55100AF0838B72B00C35ACB</string> 
     403                <string>F515EBA30851ED770055D03A</string> 
    459404                <string>1CE0B20306471E060097A5F4</string> 
    460405                <string>1CE0B20506471E060097A5F4</string> 
     
    590535    <key>WindowOrderList</key> 
    591536    <array> 
    592         <string>F5B230F90838B648009D5D86</string> 
    593537        <string>/Volumes/Pawn/User/Development/Newt/NEWT0/newt.xcode</string> 
    594         <string>F55100B00838B72B00C35ACB</string> 
    595538    </array> 
    596539    <key>WindowString</key> 
    597     <string>132 124 815 565 0 0 1024 746 </string> 
     540    <string>130 166 815 565 0 0 1024 746 </string> 
    598541    <key>WindowTools</key> 
    599542    <array> 
     
    611554                    <array> 
    612555                        <dict> 
    613                             <key>BecomeActive</key> 
    614                             <true/> 
    615556                            <key>ContentConfiguration</key> 
    616557                            <dict> 
     
    618559                                <string>1CD0528F0623707200166675</string> 
    619560                                <key>PBXProjectModuleLabel</key> 
    620                                 <string>NewtFns.c</string> 
     561                                <string>endian_utils.c</string> 
    621562                                <key>StatusBarVisibility</key> 
    622563                                <true/> 
     
    627568                                <string>{{0, 0}, {789, 269}}</string> 
    628569                                <key>RubberWindowFrame</key> 
    629                                 <string>188 162 789 551 0 0 1024 746 </string> 
     570                                <string>216 175 789 551 0 0 1024 746 </string> 
    630571                            </dict> 
    631572                            <key>Module</key> 
     
    635576                        </dict> 
    636577                        <dict> 
     578                            <key>BecomeActive</key> 
     579                            <true/> 
    637580                            <key>ContentConfiguration</key> 
    638581                            <dict> 
     
    651594                                <string>{{0, 274}, {789, 236}}</string> 
    652595                                <key>RubberWindowFrame</key> 
    653                                 <string>188 162 789 551 0 0 1024 746 </string> 
     596                                <string>216 175 789 551 0 0 1024 746 </string> 
    654597                            </dict> 
    655598                            <key>Module</key> 
     
    674617            <array> 
    675618                <string>F5AE5683082409020043A79D</string> 
    676                 <string>F5B230F10838B632009D5D86</string> 
     619                <string>F503AC790851E080009BA497</string> 
    677620                <string>1CD0528F0623707200166675</string> 
    678621                <string>XCMainBuildResultsModuleGUID</string> 
     
    681624            <string>xcode.toolbar.config.build</string> 
    682625            <key>WindowString</key> 
    683             <string>188 162 789 551 0 0 1024 746 </string> 
     626            <string>216 175 789 551 0 0 1024 746 </string> 
    684627            <key>WindowToolGUID</key> 
    685628            <string>F5AE5683082409020043A79D</string> 
     
    805748                            <array> 
    806749                                <dict> 
     750                                    <key>BecomeActive</key> 
     751                                    <true/> 
    807752                                    <key>ContentConfiguration</key> 
    808753                                    <dict> 
     
    810755                                        <string>1CDD528C0622207200134675</string> 
    811756                                        <key>PBXProjectModuleLabel</key> 
    812                                         <string>NewtFns.h</string> 
     757                                        <string>NewtType.h</string> 
    813758                                        <key>StatusBarVisibility</key> 
    814759                                        <true/> 
     
    819764                                        <string>{{0, 0}, {788, 401}}</string> 
    820765                                        <key>RubberWindowFrame</key> 
    821                                         <string>574 28 788 659 0 0 1024 746 </string> 
     766                                        <string>425 70 788 659 0 0 1024 746 </string> 
    822767                                    </dict> 
    823768                                    <key>Module</key> 
     
    831776                        </dict> 
    832777                        <dict> 
    833                             <key>BecomeActive</key> 
    834                             <true/> 
    835778                            <key>ContentConfiguration</key> 
    836779                            <dict> 
     
    845788                                <string>{{0, 406}, {788, 212}}</string> 
    846789                                <key>RubberWindowFrame</key> 
    847                                 <string>574 28 788 659 0 0 1024 746 </string> 
     790                                <string>425 70 788 659 0 0 1024 746 </string> 
    848791                            </dict> 
    849792                            <key>Module</key> 
     
    868811            <array> 
    869812                <string>1C530D57069F1CE1000CFCEE</string> 
    870                 <string>F5B230E30838B5DF009D5D86</string> 
    871                 <string>F5B230E40838B5DF009D5D86</string> 
     813                <string>F57BB5E10851DD8A00302BD1</string> 
     814                <string>F57BB5E20851DD8A00302BD1</string> 
    872815                <string>1CDD528C0622207200134675</string> 
    873816                <string>1CD0528E0623707200166675</string> 
    874817            </array> 
    875818            <key>WindowString</key> 
    876             <string>574 28 788 659 0 0 1024 746 </string> 
     819            <string>425 70 788 659 0 0 1024 746 </string> 
    877820            <key>WindowToolGUID</key> 
    878821            <string>1C530D57069F1CE1000CFCEE</string> 
     
    971914                                        <key>sizes</key> 
    972915                                        <array> 
    973                                             <string>{{0, 0}, {491, 168}}</string> 
    974                                             <string>{{0, 173}, {491, 270}}</string> 
     916                                            <string>{{0, 0}, {493, 168}}</string> 
     917                                            <string>{{0, 173}, {493, 270}}</string> 
    975918                                        </array> 
    976919                                    </dict> 
     
    1021964            <array> 
    1022965                <string>1C0AD2B3069F1EA900FABCE6</string> 
    1023                 <string>F5B230F70838B646009D5D86</string> 
     966                <string>F503AC720851E060009BA497</string> 
    1024967                <string>1CD0528B0623707200166675</string> 
    1025                 <string>F5B230F80838B646009D5D86</string> 
     968                <string>F503AC730851E060009BA497</string> 
    1026969            </array> 
    1027970            <key>ToolbarConfiguration</key> 
     
    10591002                            <dict> 
    10601003                                <key>Frame</key> 
    1061                                 <string>{{0, 0}, {452, 0}}</string> 
     1004                                <string>{{0, 0}, {634, 0}}</string> 
    10621005                                <key>RubberWindowFrame</key> 
    1063                                 <string>153 358 452 308 0 0 1024 746 </string> 
     1006                                <string>404 263 634 385 0 0 1024 746 </string> 
    10641007                            </dict> 
    10651008                            <key>Module</key> 
     
    10811024                            <dict> 
    10821025                                <key>Frame</key> 
    1083                                 <string>{{0, 5}, {452, 262}}</string> 
     1026                                <string>{{0, 5}, {634, 339}}</string> 
    10841027                                <key>RubberWindowFrame</key> 
    1085                                 <string>153 358 452 308 0 0 1024 746 </string> 
     1028                                <string>404 263 634 385 0 0 1024 746 </string> 
    10861029                            </dict> 
    10871030                            <key>Module</key> 
    10881031                            <string>PBXCVSModule</string> 
    10891032                            <key>Proportion</key> 
    1090                             <string>262pt</string> 
     1033                            <string>339pt</string> 
    10911034                        </dict> 
    10921035                    </array> 
    10931036                    <key>Proportion</key> 
    1094                     <string>267pt</string> 
     1037                    <string>344pt</string> 
    10951038                </dict> 
    10961039            </array> 
     
    11061049            <array> 
    11071050                <string>F55FF12C083848EC006E6FFF</string> 
    1108                 <string>F55FF12D083848EC006E6FFF</string> 
     1051                <string>F515B91E084FDD7F00271B6C</string> 
    11091052                <string>1C78EAB2065D492600B07095</string> 
    11101053                <string>1CD052920623707200166675</string> 
     
    11131056            <string>xcode.toolbar.config.scm</string> 
    11141057            <key>WindowString</key> 
    1115             <string>153 358 452 308 0 0 1024 746 </string> 
     1058            <string>404 263 634 385 0 0 1024 746 </string> 
    11161059            <key>WindowToolGUID</key> 
    11171060            <string>F55FF12C083848EC006E6FFF</string> 
     
    12251168                    <array> 
    12261169                        <dict> 
     1170                            <key>BecomeActive</key> 
     1171                            <true/> 
    12271172                            <key>ContentConfiguration</key> 
    12281173                            <dict> 
     
    12841229            <array> 
    12851230                <string>1C0AD2AF069F1E9B00FABCE6</string> 
    1286                 <string>F5AE56AC082409F50043A79D</string> 
     1231                <string>F515B926084FDE4400271B6C</string> 
    12871232                <string>1CA6456E063B45B4001379D8</string> 
    12881233            </array> 
  • NEWT0/trunk/newt.xcode/gnue.pbxuser

    r28 r29  
    5555            }; 
    5656            PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { 
    57                 PBXFileTableDataSourceColumnSortingDirectionKey = 1; 
    58                 PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; 
     57                PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; 
     58                PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Warnings_ColumnID; 
    5959                PBXFileTableDataSourceColumnWidthsKey = ( 
    6060                    20, 
     
    134134                    20, 
    135135                    325, 
    136                     12, 
     136                    38, 
    137137                    20, 
    138138                    73, 
     
    150150                ); 
    151151            }; 
    152             PBXPerProjectTemplateStateSaveDate = 137934611; 
     152            PBXPerProjectTemplateStateSaveDate = 139586892; 
    153153            PBXPrepackagedSmartGroups_v2 = ( 
    154154                { 
     
    829829                RubberWindowFrame = "374 174 745 468 0 0 1024 746 "; 
    830830            }; 
    831             PBXWorkspaceStateSaveDate = 137934611; 
     831            PBXWorkspaceStateSaveDate = 139586892; 
    832832        }; 
    833833        perUserProjectItems = { 
    834             F55100A90838B72000C35ACB = F55100A90838B72000C35ACB; 
    835             F55100B40838B72B00C35ACB = F55100B40838B72B00C35ACB; 
    836             F55100B50838B72B00C35ACB = F55100B50838B72B00C35ACB; 
    837             F5B230FC0838B648009D5D86 = F5B230FC0838B648009D5D86; 
     834            F503AC840851E12A009BA497 = F503AC840851E12A009BA497; 
     835            F503AC850851E12A009BA497 = F503AC850851E12A009BA497; 
     836            F503AC860851E12A009BA497 = F503AC860851E12A009BA497; 
     837            F503AC880851E12A009BA497 = F503AC880851E12A009BA497; 
     838            F515EBA10851ED770055D03A = F515EBA10851ED770055D03A; 
     839            F57BB5830851DB5600302BD1 = F57BB5830851DB5600302BD1; 
     840            F57BB5890851DB5600302BD1 = F57BB5890851DB5600302BD1; 
     841            F57BB58A0851DB5600302BD1 = F57BB58A0851DB5600302BD1; 
     842            F57BB58B0851DB5600302BD1 = F57BB58B0851DB5600302BD1; 
     843            F57BB58C0851DB5600302BD1 = F57BB58C0851DB5600302BD1; 
     844            F57BB5EC0851DEB100302BD1 = F57BB5EC0851DEB100302BD1; 
     845            F57BB5EE0851DEB100302BD1 = F57BB5EE0851DEB100302BD1; 
     846            F57BB5EF0851DEB100302BD1 = F57BB5EF0851DEB100302BD1; 
     847            F57BB5F10851DEB100302BD1 = F57BB5F10851DEB100302BD1; 
    838848        }; 
    839849        sourceControlManager = F5AFECA0055CDC00002C8506; 
     
    847857        ); 
    848858    }; 
     859    F503AC6A0851DFD9009BA497 = { 
     860        uiCtxt = { 
     861            sepNavIntBoundsRect = "{{0, 0}, {566, 546}}"; 
     862            sepNavSelRange = "{265, 0}"; 
     863            sepNavVisRect = "{{0, 126}, {566, 397}}"; 
     864        }; 
     865    }; 
     866    F503AC840851E12A009BA497 = { 
     867        fRef = F5ACB05306412D4900DB6CF9; 
     868        isa = PBXTextBookmark; 
     869        name = "ree, u"; 
     870        rLen = 6; 
     871        rLoc = 3335; 
     872        rType = 0; 
     873        vrLen = 656; 
     874        vrLoc = 2882; 
     875    }; 
     876    F503AC850851E12A009BA497 = { 
     877        fRef = F57E7A1307FD365100256511; 
     878        isa = PBXTextBookmark; 
     879        name = "NewtNSOF.c: 15"; 
     880        rLen = 0; 
     881        rLoc = 311; 
     882        rType = 0; 
     883        vrLen = 544; 
     884        vrLoc = 0; 
     885    }; 
     886    F503AC860851E12A009BA497 = { 
     887        fRef = F5ACB05306412D4900DB6CF9; 
     888        isa = PBXTextBookmark; 
     889        name = "ree, u"; 
     890        rLen = 6; 
     891        rLoc = 3335; 
     892        rType = 0; 
     893        vrLen = 656; 
     894        vrLoc = 2882; 
     895    }; 
     896    F503AC880851E12A009BA497 = { 
     897        fRef = F503AC6A0851DFD9009BA497; 
     898        isa = PBXTextBookmark; 
     899        name = "endian_utils.c: 14"; 
     900        rLen = 0; 
     901        rLoc = 265; 
     902        rType = 0; 
     903        vrLen = 594; 
     904        vrLoc = 229; 
     905    }; 
     906    F515EBA10851ED770055D03A = { 
     907        fRef = F503AC6A0851DFD9009BA497; 
     908        isa = PBXTextBookmark; 
     909        name = "endian_utils.c: 14"; 
     910        rLen = 0; 
     911        rLoc = 265; 
     912        rType = 0; 
     913        vrLen = 594; 
     914        vrLoc = 229; 
     915    }; 
    849916    F51B87450714CD1100D01694 = { 
    850917        uiCtxt = { 
     
    887954    F53BCC700670CDF00013103E = { 
    888955        uiCtxt = { 
    889             sepNavIntBoundsRect = "{{0, 0}, {601, 888}}"; 
    890             sepNavSelRange = "{860, 11}"; 
    891             sepNavVisRect = "{{0, 403}, {601, 372}}"; 
     956            sepNavIntBoundsRect = "{{0, 0}, {747, 882}}"; 
     957            sepNavSelRange = "{1171, 6}"; 
     958            sepNavVisRect = "{{0, 513}, {747, 369}}"; 
    892959            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    893960        }; 
     
    895962    F541CF5107D8582D0071DCE6 = { 
    896963        uiCtxt = { 
    897             sepNavIntBoundsRect = "{{0, 0}, {601, 374}}"; 
    898             sepNavSelRange = "{325, 0}"; 
    899             sepNavVisRect = "{{0, 0}, {601, 374}}"; 
     964            sepNavIntBoundsRect = "{{0, 0}, {566, 397}}"; 
     965            sepNavSelRange = "{90, 8}"; 
     966            sepNavVisRect = "{{0, 0}, {566, 397}}"; 
    900967            sepNavWindowFrame = "{{404, 112}, {750, 558}}"; 
    901968        }; 
    902969    }; 
    903     F55100A90838B72000C35ACB = { 
    904         fRef = F5E14ADB057984FA009742A2; 
    905         isa = PBXBookmark; 
    906     }; 
    907     F55100B40838B72B00C35ACB = { 
     970    F55860F307E09F5F0080D223 = { 
     971        uiCtxt = { 
     972            sepNavIntBoundsRect = "{{0, 0}, {747, 16072}}"; 
     973            sepNavSelRange = "{7448, 6}"; 
     974            sepNavVisRect = "{{0, 5409}, {747, 369}}"; 
     975            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
     976        }; 
     977    }; 
     978    F55860F907E09F800080D223 = { 
     979        uiCtxt = { 
     980            sepNavIntBoundsRect = "{{0, 0}, {747, 602}}"; 
     981            sepNavSelRange = "{601, 6}"; 
     982            sepNavVisRect = "{{0, 233}, {747, 369}}"; 
     983            sepNavWindowFrame = "{{443, 63}, {750, 558}}"; 
     984        }; 
     985    }; 
     986    F55A5AF70726499E002A520F = { 
     987        uiCtxt = { 
     988            sepNavIntBoundsRect = "{{0, 0}, {747, 512}}"; 
     989            sepNavSelRange = "{458, 6}"; 
     990            sepNavVisRect = "{{0, 143}, {747, 369}}"; 
     991        }; 
     992    }; 
     993    F5622ED907E0273B009AAF9A = { 
     994        uiCtxt = { 
     995            sepNavIntBoundsRect = "{{0, 0}, {566, 596}}"; 
     996            sepNavSelRange = "{538, 0}"; 
     997            sepNavVisRect = "{{0, 185}, {566, 397}}"; 
     998            sepNavWindowFrame = "{{15, 138}, {788, 603}}"; 
     999        }; 
     1000    }; 
     1001    F5622F2307E029FC009AAF9A = { 
     1002        uiCtxt = { 
     1003            sepNavIntBoundsRect = "{{0, 0}, {566, 397}}"; 
     1004            sepNavSelRange = "{343, 0}"; 
     1005            sepNavVisRect = "{{0, 0}, {566, 397}}"; 
     1006        }; 
     1007    }; 
     1008    F5622F2407E029FC009AAF9A = { 
     1009        uiCtxt = { 
     1010            sepNavIntBoundsRect = "{{0, 0}, {566, 397}}"; 
     1011            sepNavSelRange = "{344, 14}"; 
     1012            sepNavVisRect = "{{0, 0}, {566, 397}}"; 
     1013            sepNavWindowFrame = "{{38, 117}, {788, 603}}"; 
     1014        }; 
     1015    }; 
     1016    F57BB5830851DB5600302BD1 = { 
    9081017        fRef = F5E14ADB057984FA009742A2; 
    9091018        isa = PBXTextBookmark; 
    9101019        name = "version.h: NEWT_BUILD"; 
    9111020        rLen = 0; 
    912         rLoc = 528; 
     1021        rLoc = 525; 
    9131022        rType = 0; 
    914         vrLen = 1337; 
    915         vrLoc = 250; 
    916     }; 
    917     F55100B50838B72B00C35ACB = { 
    918         fRef = F5ACB06A06412D4900DB6CF9; 
     1023        vrLen = 882; 
     1024        vrLoc = 0; 
     1025    }; 
     1026    F57BB5890851DB5600302BD1 = { 
     1027        fRef = F5E14ADB057984FA009742A2; 
    9191028        isa = PBXTextBookmark; 
    920         name = "NewtVM.c: 3501"; 
     1029        name = "version.h: NEWT_BUILD"; 
    9211030        rLen = 0; 
    922         rLoc = 70751; 
     1031        rLoc = 525; 
    9231032        rType = 0; 
    924         vrLen = 1460; 
    925         vrLoc = 69455; 
    926     }; 
    927     F55860F307E09F5F0080D223 = { 
    928         uiCtxt = { 
    929             sepNavIntBoundsRect = "{{0, 0}, {854, 16431}}"; 
    930             sepNavSelRange = "{19360, 0}"; 
    931             sepNavVisRect = "{{0, 14377}, {854, 293}}"; 
    932             sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    933         }; 
    934     }; 
    935     F55860F907E09F800080D223 = { 
    936         uiCtxt = { 
    937             sepNavIntBoundsRect = "{{0, 0}, {854, 604}}"; 
    938             sepNavSelRange = "{574, 17}"; 
    939             sepNavVisRect = "{{0, 270}, {854, 293}}"; 
    940             sepNavWindowFrame = "{{443, 63}, {750, 558}}"; 
    941         }; 
    942     }; 
    943     F55A5AF70726499E002A520F = { 
    944         uiCtxt = { 
    945             sepNavIntBoundsRect = "{{0, 0}, {854, 521}}"; 
    946             sepNavSelRange = "{393, 0}"; 
    947             sepNavVisRect = "{{0, 227}, {854, 293}}"; 
    948         }; 
    949     }; 
    950     F5622ED907E0273B009AAF9A = { 
    951         uiCtxt = { 
    952             sepNavIntBoundsRect = "{{0, 0}, {601, 609}}"; 
    953             sepNavSelRange = "{538, 0}"; 
    954             sepNavVisRect = "{{0, 224}, {601, 372}}"; 
    955         }; 
    956     }; 
    957     F5622F2307E029FC009AAF9A = { 
    958         uiCtxt = { 
    959             sepNavIntBoundsRect = "{{0, 0}, {601, 374}}"; 
    960             sepNavSelRange = "{343, 0}"; 
    961             sepNavVisRect = "{{0, 0}, {601, 374}}"; 
    962         }; 
    963     }; 
    964     F5622F2407E029FC009AAF9A = { 
    965         uiCtxt = { 
    966             sepNavIntBoundsRect = "{{0, 0}, {601, 374}}"; 
    967             sepNavSelRange = "{344, 14}"; 
    968             sepNavVisRect = "{{0, 0}, {601, 374}}"; 
    969         }; 
     1033        vrLen = 882; 
     1034        vrLoc = 0; 
     1035    }; 
     1036    F57BB58A0851DB5600302BD1 = { 
     1037        fRef = F57E7A1307FD365100256511; 
     1038        isa = PBXTextBookmark; 
     1039        name = "NewtNSOF.c: 14"; 
     1040        rLen = 0; 
     1041        rLoc = 260; 
     1042        rType = 0; 
     1043        vrLen = 513; 
     1044        vrLoc = 0; 
     1045    }; 
     1046    F57BB58B0851DB5600302BD1 = { 
     1047        fRef = F5F69C0107E8F36E0086BCEA; 
     1048        isa = PBXTextBookmark; 
     1049        name = "platform.h: 19"; 
     1050        rLen = 0; 
     1051        rLoc = 307; 
     1052        rType = 0; 
     1053        vrLen = 419; 
     1054        vrLoc = 0; 
     1055    }; 
     1056    F57BB58C0851DB5600302BD1 = { 
     1057        fRef = F5DE1345082AD4A500BB42A5; 
     1058        isa = PBXTextBookmark; 
     1059        name = HAVE_STDINT_H; 
     1060        rLen = 13; 
     1061        rLoc = 346; 
     1062        rType = 0; 
     1063        vrLen = 450; 
     1064        vrLoc = 0; 
     1065    }; 
     1066    F57BB5900851DB5600302BD1 = { 
     1067        isa = PBXFileReference; 
     1068        lastKnownFileType = sourcecode.c.h; 
     1069        name = endian_utils.h; 
     1070        path = /Volumes/Pawn/User/Development/Newt/NEWT0/src/utils/endian_utils.h; 
     1071        refType = 0; 
     1072        sourceTree = "<absolute>"; 
     1073    }; 
     1074    F57BB5EC0851DEB100302BD1 = { 
     1075        fRef = F57BB5900851DB5600302BD1; 
     1076        isa = PBXTextBookmark; 
     1077        name = ENDIAN; 
     1078        rLen = 6; 
     1079        rLoc = 243; 
     1080        rType = 0; 
     1081        vrLen = 430; 
     1082        vrLoc = 0; 
     1083    }; 
     1084    F57BB5EE0851DEB100302BD1 = { 
     1085        fRef = F5DE1345082AD4A500BB42A5; 
     1086        isa = PBXTextBookmark; 
     1087        name = "config.h: 3"; 
     1088        rLen = 0; 
     1089        rLoc = 122; 
     1090        rType = 0; 
     1091        vrLen = 450; 
     1092        vrLoc = 0; 
     1093    }; 
     1094    F57BB5EF0851DEB100302BD1 = { 
     1095        fRef = F5F69C0107E8F36E0086BCEA; 
     1096        isa = PBXTextBookmark; 
     1097        name = "platform.h: 26"; 
     1098        rLen = 0; 
     1099        rLoc = 409; 
     1100        rType = 0; 
     1101        vrLen = 397; 
     1102        vrLoc = 81; 
     1103    }; 
     1104    F57BB5F10851DEB100302BD1 = { 
     1105        fRef = F57BB5900851DB5600302BD1; 
     1106        isa = PBXTextBookmark; 
     1107        name = ENDIAN; 
     1108        rLen = 6; 
     1109        rLoc = 243; 
     1110        rType = 0; 
     1111        vrLen = 430; 
     1112        vrLoc = 0; 
    9701113    }; 
    9711114    F57E7A0C07FD362400256511 = { 
    9721115        uiCtxt = { 
    973             sepNavIntBoundsRect = "{{0, 0}, {749, 588}}"; 
    974             sepNavSelRange = "{444, 0}"; 
    975             sepNavVisRect = "{{0, 86}, {749, 474}}"; 
     1116            sepNavIntBoundsRect = "{{0, 0}, {747, 588}}"; 
     1117            sepNavSelRange = "{585, 6}"; 
     1118            sepNavVisRect = "{{0, 177}, {747, 369}}"; 
    9761119            sepNavWindowFrame = "{{135, 72}, {788, 603}}"; 
    9771120        }; 
     
    9791122    F57E7A1307FD365100256511 = { 
    9801123        uiCtxt = { 
    981             sepNavIntBoundsRect = "{{0, 0}, {711, 14319}}"; 
    982             sepNavSelRange = "{19836, 0}"; 
    983             sepNavVisRect = "{{0, 13579}, {711, 429}}"; 
    984             sepNavWindowFrame = "{{202, 188}, {750, 558}}"; 
     1124            sepNavIntBoundsRect = "{{0, 0}, {572, 15341}}"; 
     1125            sepNavSelRange = "{311, 0}"; 
     1126            sepNavVisRect = "{{0, 9}, {566, 397}}"; 
     1127            sepNavWindowFrame = "{{477, 163}, {750, 558}}"; 
    9851128        }; 
    9861129    }; 
     
    9941137    F5ACB05306412D4900DB6CF9 = { 
    9951138        uiCtxt = { 
    996             sepNavIntBoundsRect = "{{0, 0}, {711, 1685}}"; 
    997             sepNavSelRange = "{569, 9}"; 
    998             sepNavVisRect = "{{0, 232}, {711, 429}}"; 
     1139            sepNavIntBoundsRect = "{{0, 0}, {566, 1685}}"; 
     1140            sepNavSelRange = "{3335, 6}"; 
     1141            sepNavVisRect = "{{0, 1263}, {566, 397}}"; 
    9991142            sepNavWindowFrame = "{{280, 46}, {750, 558}}"; 
    10001143        }; 
     
    10181161    F5ACB05606412D4900DB6CF9 = { 
    10191162        uiCtxt = { 
    1020             sepNavIntBoundsRect = "{{0, 0}, {711, 3739}}"; 
    1021             sepNavSelRange = "{3300, 13}"; 
    1022             sepNavVisRect = "{{0, 1070}, {711, 429}}"; 
     1163            sepNavIntBoundsRect = "{{0, 0}, {747, 3739}}"; 
     1164            sepNavSelRange = "{8111, 0}"; 
     1165            sepNavVisRect = "{{0, 3370}, {747, 369}}"; 
    10231166            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    10241167        }; 
     
    10341177    F5ACB05806412D4900DB6CF9 = { 
    10351178        uiCtxt = { 
    1036             sepNavIntBoundsRect = "{{0, 0}, {740, 1022}}"; 
    1037             sepNavSelRange = "{1261, 6}"; 
    1038             sepNavVisRect = "{{0, 631}, {740, 180}}"; 
     1179            sepNavIntBoundsRect = "{{0, 0}, {747, 1022}}"; 
     1180            sepNavSelRange = "{1693, 6}"; 
     1181            sepNavVisRect = "{{0, 653}, {747, 369}}"; 
    10391182            sepNavWindowFrame = "{{107, 99}, {750, 558}}"; 
    10401183        }; 
     
    10431186        uiCtxt = { 
    10441187            sepNavIntBoundsRect = "{{0, 0}, {747, 2273}}"; 
    1045             sepNavSelRange = "{2953, 6}"; 
    1046             sepNavVisRect = "{{0, 934}, {747, 369}}"; 
     1188            sepNavSelRange = "{6718, 0}"; 
     1189            sepNavVisRect = "{{0, 1904}, {747, 369}}"; 
    10471190            sepNavWindowFrame = "{{290, 81}, {750, 558}}"; 
    10481191        }; 
     
    10501193    F5ACB05A06412D4900DB6CF9 = { 
    10511194        uiCtxt = { 
    1052             sepNavIntBoundsRect = "{{0, 0}, {601, 399}}"; 
    1053             sepNavSelRange = "{164, 0}"; 
    1054             sepNavVisRect = "{{0, 0}, {601, 374}}"; 
     1195            sepNavIntBoundsRect = "{{0, 0}, {747, 638}}"; 
     1196            sepNavSelRange = "{694, 6}"; 
     1197            sepNavVisRect = "{{0, 269}, {747, 369}}"; 
    10551198            sepNavWindowFrame = "{{84, 120}, {750, 558}}"; 
    10561199        }; 
     
    10581201    F5ACB05B06412D4900DB6CF9 = { 
    10591202        uiCtxt = { 
    1060             sepNavIntBoundsRect = "{{0, 0}, {854, 1172}}"; 
    1061             sepNavSelRange = "{1238, 6}"; 
    1062             sepNavVisRect = "{{0, 879}, {854, 293}}"; 
     1203            sepNavIntBoundsRect = "{{0, 0}, {747, 1130}}"; 
     1204            sepNavSelRange = "{1633, 0}"; 
     1205            sepNavVisRect = "{{0, 761}, {747, 369}}"; 
    10631206            sepNavWindowFrame = "{{84, 120}, {750, 558}}"; 
    10641207        }; 
     
    10671210        uiCtxt = { 
    10681211            sepNavIntBoundsRect = "{{0, 0}, {792, 3526}}"; 
    1069             sepNavSelRange = "{7998, 0}"; 
    1070             sepNavVisRect = "{{0, 2561}, {740, 180}}"; 
     1212            sepNavSelRange = "{10717, 0}"; 
     1213            sepNavVisRect = "{{0, 3157}, {747, 369}}"; 
    10711214            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    10721215        }; 
     
    10741217    F5ACB05D06412D4900DB6CF9 = { 
    10751218        uiCtxt = { 
    1076             sepNavIntBoundsRect = "{{0, 0}, {758, 3840}}"; 
    1077             sepNavSelRange = "{5375, 0}"; 
    1078             sepNavVisRect = "{{0, 2592}, {601, 372}}"; 
     1219            sepNavIntBoundsRect = "{{0, 0}, {788, 3767}}"; 
     1220            sepNavSelRange = "{7806, 0}"; 
     1221            sepNavVisRect = "{{0, 3398}, {747, 369}}"; 
    10791222            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    10801223        }; 
     
    10821225    F5ACB05E06412D4900DB6CF9 = { 
    10831226        uiCtxt = { 
    1084             sepNavIntBoundsRect = "{{0, 0}, {601, 787}}"; 
    1085             sepNavSelRange = "{1121, 7}"; 
    1086             sepNavVisRect = "{{0, 406}, {601, 372}}"; 
     1227            sepNavIntBoundsRect = "{{0, 0}, {747, 784}}"; 
     1228            sepNavSelRange = "{1289, 6}"; 
     1229            sepNavVisRect = "{{0, 409}, {747, 369}}"; 
    10871230            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    10881231        }; 
     
    10901233    F5ACB05F06412D4900DB6CF9 = { 
    10911234        uiCtxt = { 
    1092             sepNavIntBoundsRect = "{{0, 0}, {740, 2098}}"; 
    1093             sepNavSelRange = "{2227, 14}"; 
    1094             sepNavVisRect = "{{0, 1394}, {740, 180}}"; 
     1235            sepNavIntBoundsRect = "{{0, 0}, {747, 2098}}"; 
     1236            sepNavSelRange = "{302, 75}"; 
     1237            sepNavVisRect = "{{0, 110}, {747, 369}}"; 
    10951238            sepNavWindowFrame = "{{107, 99}, {750, 558}}"; 
    10961239        }; 
     
    10981241    F5ACB06006412D4900DB6CF9 = { 
    10991242        uiCtxt = { 
    1100             sepNavIntBoundsRect = "{{0, 0}, {740, 1782}}"; 
     1243            sepNavIntBoundsRect = "{{0, 0}, {747, 1782}}"; 
    11011244            sepNavSelRange = "{2849, 0}"; 
    1102             sepNavVisRect = "{{0, 1602}, {740, 180}}"; 
     1245            sepNavVisRect = "{{0, 1413}, {747, 369}}"; 
    11031246            sepNavWindowFrame = "{{532, 81}, {750, 558}}"; 
    11041247        }; 
     
    11061249    F5ACB06106412D4900DB6CF9 = { 
    11071250        uiCtxt = { 
    1108             sepNavIntBoundsRect = "{{0, 0}, {770, 36579}}"; 
    1109             sepNavSelRange = "{23749, 7}"; 
    1110             sepNavVisRect = "{{0, 13591}, {740, 180}}"; 
     1251            sepNavIntBoundsRect = "{{0, 0}, {770, 28893}}"; 
     1252            sepNavSelRange = "{42722, 6}"; 
     1253            sepNavVisRect = "{{0, 25706}, {747, 369}}"; 
    11111254            sepNavWindowFrame = "{{242, 131}, {750, 558}}"; 
    11121255        }; 
     
    11141257    F5ACB06206412D4900DB6CF9 = { 
    11151258        uiCtxt = { 
    1116             sepNavIntBoundsRect = "{{0, 0}, {740, 11952}}"; 
    1117             sepNavSelRange = "{14512, 7}"; 
    1118             sepNavVisRect = "{{0, 10273}, {740, 180}}"; 
     1259            sepNavIntBoundsRect = "{{0, 0}, {747, 11952}}"; 
     1260            sepNavSelRange = "{14106, 6}"; 
     1261            sepNavVisRect = "{{0, 9815}, {747, 369}}"; 
    11191262            sepNavWindowFrame = "{{257, 100}, {750, 558}}"; 
    11201263        }; 
     
    11221265    F5ACB06306412D4900DB6CF9 = { 
    11231266        uiCtxt = { 
    1124             sepNavIntBoundsRect = "{{0, 0}, {749, 10052}}"; 
    1125             sepNavSelRange = "{6910, 0}"; 
    1126             sepNavVisRect = "{{0, 6065}, {749, 474}}"; 
     1267            sepNavIntBoundsRect = "{{0, 0}, {747, 10052}}"; 
     1268            sepNavSelRange = "{4860, 6}"; 
     1269            sepNavVisRect = "{{0, 4331}, {747, 369}}"; 
    11271270            sepNavWindowFrame = "{{247, 132}, {788, 603}}"; 
    11281271        }; 
     
    11301273    F5ACB06406412D4900DB6CF9 = { 
    11311274        uiCtxt = { 
    1132             sepNavIntBoundsRect = "{{0, 0}, {748, 28756}}"; 
    1133             sepNavSelRange = "{39610, 0}"; 
    1134             sepNavVisRect = "{{0, 28499}, {748, 237}}"; 
     1275            sepNavIntBoundsRect = "{{0, 0}, {747, 28756}}"; 
     1276            sepNavSelRange = "{39179, 6}"; 
     1277            sepNavVisRect = "{{0, 28373}, {747, 369}}"; 
    11351278            sepNavWindowFrame = "{{204, 188}, {750, 558}}"; 
    11361279        }; 
     
    11541297    F5ACB06706412D4900DB6CF9 = { 
    11551298        uiCtxt = { 
    1156             sepNavIntBoundsRect = "{{0, 0}, {728, 56151}}"; 
    1157             sepNavSelRange = "{66969, 41}"; 
    1158             sepNavVisRect = "{{0, 47978}, {711, 429}}"; 
     1299            sepNavIntBoundsRect = "{{0, 0}, {747, 27619}}"; 
     1300            sepNavSelRange = "{22025, 6}"; 
     1301            sepNavVisRect = "{{0, 14604}, {747, 369}}"; 
    11591302            sepNavWindowFrame = "{{355, 125}, {750, 558}}"; 
    11601303        }; 
     
    11781321    F5ACB06A06412D4900DB6CF9 = { 
    11791322        uiCtxt = { 
    1180             sepNavIntBoundsRect = "{{0, 0}, {711, 54524}}"; 
    1181             sepNavSelRange = "{70751, 0}"; 
    1182             sepNavVisRect = "{{0, 48621}, {711, 429}}"; 
     1323            sepNavIntBoundsRect = "{{0, 0}, {747, 51962}}"; 
     1324            sepNavSelRange = "{68151, 6}"; 
     1325            sepNavVisRect = "{{0, 48075}, {747, 369}}"; 
    11831326            sepNavWindowFrame = "{{229, 166}, {750, 558}}"; 
    11841327        }; 
     
    12221365    F5AFECA0055CDC00002C8506 = { 
    12231366        fallbackIsa = XCSourceControlManager; 
    1224         isSCMEnabled = 0; 
     1367        isSCMEnabled = 1; 
    12251368        isa = PBXSourceControlManager; 
    12261369        scmConfiguration = { 
    1227         }; 
    1228         scmType = scm.cvs; 
     1370            SubversionToolPath = /usr/local/bin/svn; 
     1371        }; 
     1372        scmType = scm.subversion; 
    12291373    }; 
    12301374    F5AFECA1055CDC00002C8506 = { 
     
    12351379        activeExec = 0; 
    12361380    }; 
    1237     F5B230FC0838B648009D5D86 = { 
    1238         fRef = F5ACB06A06412D4900DB6CF9; 
    1239         isa = PBXTextBookmark; 
    1240         name = "NewtVM.c: 3501"; 
    1241         rLen = 0; 
    1242         rLoc = 70751; 
    1243         rType = 0; 
    1244         vrLen = 1524; 
    1245         vrLoc = 69391; 
    1246     }; 
    12471381    F5DE1345082AD4A500BB42A5 = { 
    12481382        uiCtxt = { 
    1249             sepNavIntBoundsRect = "{{0, 0}, {711, 429}}"; 
    1250             sepNavSelRange = "{346, 13}"; 
    1251             sepNavVisRect = "{{0, 0}, {711, 429}}"; 
     1383            sepNavIntBoundsRect = "{{0, 0}, {566, 397}}"; 
     1384            sepNavSelRange = "{122, 0}"; 
     1385            sepNavVisRect = "{{0, 0}, {566, 397}}"; 
    12521386            sepNavWindowFrame = "{{15, 183}, {750, 558}}"; 
    12531387        }; 
     
    12551389    F5E14ADA057984FA009742A2 = { 
    12561390        uiCtxt = { 
    1257             sepNavIntBoundsRect = "{{0, 0}, {854, 6571}}"; 
    1258             sepNavSelRange = "{3617, 0}"; 
    1259             sepNavVisRect = "{{0, 2592}, {854, 293}}"; 
     1391            sepNavIntBoundsRect = "{{0, 0}, {747, 6510}}"; 
     1392            sepNavSelRange = "{1104, 6}"; 
     1393            sepNavVisRect = "{{0, 733}, {747, 369}}"; 
    12601394            sepNavWindowFrame = "{{38, 162}, {750, 558}}"; 
    12611395        }; 
     
    12631397    F5E14ADB057984FA009742A2 = { 
    12641398        uiCtxt = { 
    1265             sepNavIntBoundsRect = "{{0, 0}, {711, 725}}"; 
    1266             sepNavSelRange = "{528, 0}"; 
    1267             sepNavVisRect = "{{0, 195}, {711, 429}}"; 
    1268             sepNavWindowFrame = "{{84, 120}, {750, 558}}"; 
     1399            sepNavIntBoundsRect = "{{0, 0}, {566, 725}}"; 
     1400            sepNavSelRange = "{525, 0}"; 
     1401            sepNavVisRect = "{{0, 0}, {566, 397}}"; 
     1402            sepNavWindowFrame = "{{377, 154}, {750, 558}}"; 
    12691403        }; 
    12701404    }; 
     
    12791413    F5E14B0A05798559009742A2 = { 
    12801414        uiCtxt = { 
    1281             sepNavIntBoundsRect = "{{0, 0}, {740, 602}}"; 
    1282             sepNavSelRange = "{90, 12}"; 
    1283             sepNavVisRect = "{{0, 0}, {740, 180}}"; 
     1415            sepNavIntBoundsRect = "{{0, 0}, {747, 602}}"; 
     1416            sepNavSelRange = "{602, 6}"; 
     1417            sepNavVisRect = "{{0, 229}, {747, 369}}"; 
    12841418            sepNavWindowFrame = "{{153, 57}, {750, 558}}"; 
    12851419        }; 
     
    12871421    F5E14B0B05798559009742A2 = { 
    12881422        uiCtxt = { 
    1289             sepNavIntBoundsRect = "{{0, 0}, {740, 11438}}"; 
    1290             sepNavSelRange = "{458, 12}"; 
    1291             sepNavVisRect = "{{0, 330}, {740, 180}}"; 
     1423            sepNavIntBoundsRect = "{{0, 0}, {747, 11438}}"; 
     1424            sepNavSelRange = "{13997, 6}"; 
     1425            sepNavVisRect = "{{0, 9406}, {747, 369}}"; 
    12921426            sepNavWindowFrame = "{{130, 78}, {750, 558}}"; 
    12931427        }; 
     
    13031437    F5E14B0D05798559009742A2 = { 
    13041438        uiCtxt = { 
    1305             sepNavIntBoundsRect = "{{0, 0}, {601, 563}}"; 
    1306             sepNavSelRange = "{496, 0}"; 
    1307             sepNavVisRect = "{{0, 178}, {601, 372}}"; 
     1439            sepNavIntBoundsRect = "{{0, 0}, {747, 560}}"; 
     1440            sepNavSelRange = "{476, 6}"; 
     1441            sepNavVisRect = "{{0, 181}, {747, 369}}"; 
    13081442            sepNavWindowFrame = "{{38, 162}, {750, 558}}"; 
    13091443        }; 
     
    13111445    F5F69C0107E8F36E0086BCEA = { 
    13121446        uiCtxt = { 
    1313             sepNavIntBoundsRect = "{{0, 0}, {711, 448}}"; 
    1314             sepNavSelRange = "{308, 0}"; 
    1315             sepNavVisRect = "{{0, 19}, {711, 429}}"; 
     1447            sepNavIntBoundsRect = "{{0, 0}, {566, 448}}"; 
     1448            sepNavSelRange = "{409, 0}"; 
     1449            sepNavVisRect = "{{0, 37}, {566, 397}}"; 
    13161450            sepNavWindowFrame = "{{356, 131}, {750, 558}}"; 
    13171451        }; 
     
    13211455        functionName = "NewtErrOutOfBounds()"; 
    13221456        isa = PBXFileBreakpoint; 
    1323         lineNumber = 1880; 
     1457        lineNumber = 1879; 
    13241458        state = 1; 
    13251459    }; 
  • NEWT0/trunk/newt.xcode/project.pbxproj

    r14 r29  
    6969        08FB7795FE84155DC02AAC07 = { 
    7070            children = ( 
     71                F503AC690851DFD9009BA497, 
    7172                F5ACB05106412D4900DB6CF9, 
    7273                F5E14B0805798559009742A2, 
     
    133134                GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; 
    134135                GCC_WARN_UNKNOWN_PRAGMAS = NO; 
    135                 HEADER_SEARCH_PATHS = ""; 
     136                HEADER_SEARCH_PATHS = "\"src\" \"src/newt_core/incs\""; 
    136137                INSTALL_PATH = "$(HOME)/bin"; 
    137138                LIBRARY_SEARCH_PATHS = ""; 
     
    181182                F55A5AF80726499E002A520F, 
    182183                F5622F0407E0290F009AAF9A, 
    183                 F5622F0507E02910009AAF9A, 
     184                F5E7071A083F3B52001BF0BF, 
    184185                F5622F2607E029FC009AAF9A, 
    185186                F5622F2707E029FC009AAF9A, 
     
    188189                F57E7A0D07FD362400256511, 
    189190                F5DE1346082AD4A500BB42A5, 
     191                F503AC6D0851DFD9009BA497, 
    190192            ); 
    191193            isa = PBXHeadersBuildPhase; 
     
    211213                F55860F407E09F5F0080D223, 
    212214                F57E7A1407FD365100256511, 
     215                F503AC6C0851DFD9009BA497, 
    213216            ); 
    214217            isa = PBXSourcesBuildPhase; 
     
    281284//F53 
    282285//F54 
     286        F503AC690851DFD9009BA497 = { 
     287            children = ( 
     288                F503AC6A0851DFD9009BA497, 
     289                F503AC6B0851DFD9009BA497, 
     290            ); 
     291            isa = PBXGroup; 
     292            name = utils; 
     293            path = src/utils; 
     294            refType = 4; 
     295            sourceTree = "<group>"; 
     296        }; 
     297        F503AC6A0851DFD9009BA497 = { 
     298            fileEncoding = "-2147483647"; 
     299            isa = PBXFileReference; 
     300            lastKnownFileType = sourcecode.c.c; 
     301            path = endian_utils.c; 
     302            refType = 4; 
     303            sourceTree = "<group>"; 
     304        }; 
     305        F503AC6B0851DFD9009BA497 = { 
     306            fileEncoding = "-2147483647"; 
     307            isa = PBXFileReference; 
     308            lastKnownFileType = sourcecode.c.h; 
     309            path = endian_utils.h; 
     310            refType = 4; 
     311            sourceTree = "<group>"; 
     312        }; 
     313        F503AC6C0851DFD9009BA497 = { 
     314            fileRef = F503AC6A0851DFD9009BA497; 
     315            isa = PBXBuildFile; 
     316            settings = { 
     317            }; 
     318        }; 
     319        F503AC6D0851DFD9009BA497 = { 
     320            fileRef = F503AC6B0851DFD9009BA497; 
     321            isa = PBXBuildFile; 
     322            settings = { 
     323            }; 
     324        }; 
    283325        F51B87450714CD1100D01694 = { 
    284326            fileEncoding = "-2147483647"; 
     
    398440                F5622ED907E0273B009AAF9A, 
    399441            ); 
     442            includeInIndex = 1; 
    400443            isa = PBXGroup; 
    401444            path = Newton; 
     
    463506        F5622F0407E0290F009AAF9A = { 
    464507            fileRef = F5622ED907E0273B009AAF9A; 
    465             isa = PBXBuildFile; 
    466             settings = { 
    467             }; 
    468         }; 
    469         F5622F0507E02910009AAF9A = { 
    470             fileRef = F541CF5107D8582D0071DCE6; 
    471508            isa = PBXBuildFile; 
    472509            settings = { 
     
    11131150            }; 
    11141151        }; 
     1152        F5E7071A083F3B52001BF0BF = { 
     1153            fileRef = F541CF5107D8582D0071DCE6; 
     1154            isa = PBXBuildFile; 
     1155            settings = { 
     1156            }; 
     1157        }; 
    11151158        F5F69C0107E8F36E0086BCEA = { 
    11161159            fileEncoding = 4; 
  • NEWT0/trunk/src/newt_core/NewtNSOF.c

    r25 r29  
    1313/* ƒwƒbƒ_ƒtƒ@ƒCƒ‹ */ 
    1414#include <string.h> 
     15#include "utils/endian_utils.h" 
    1516 
    1617#include "NewtNSOF.h" 
     
    5253static newtErr      NSOFWriteImmediate(nsof_stream_t * nsof, newtRefArg r); 
    5354static newtErr      NSOFWriteCharacter(nsof_stream_t * nsof, newtRefArg r); 
    54 static newtErr      NSOFWriteBinary(nsof_stream_t * nsof, newtRefArg r); 
     55static newtErr      NSOFWriteBinary(nsof_stream_t * nsof, newtRefArg r, uint16_t objtype); 
    5556static newtErr      NSOFWriteSymbol(nsof_stream_t * nsof, newtRefArg r); 
    5657static newtErr      NSOFWriteNamedMP(nsof_stream_t * nsof, newtRefArg r); 
     
    341342 * @param nsof      [i/o]NSOFƒoƒbƒtƒ@ 
    342343 * @param r         [in] ƒoƒCƒiƒŠƒIƒuƒWƒFƒNƒg 
    343  * 
    344  * @return          ƒGƒ‰[ƒR[ƒh 
    345  * 
    346  * @note            nsof->data ‚ª NULL ‚̏ꍇ‚Í nsof->offset ‚̂ݍXV‚³‚ê‚é 
    347  */ 
    348  
    349 newtErr NSOFWriteBinary(nsof_stream_t * nsof, newtRefArg r) 
     344 * @param objtype   [in] ƒIƒuƒWƒFƒNƒgƒ^ƒCƒv 
     345 * 
     346 * @return          ƒGƒ‰[ƒR[ƒh 
     347 * 
     348 * @note            nsof->data ‚ª NULL ‚̏ꍇ‚Í nsof->offset ‚̂ݍXV‚³‚ê‚é 
     349 */ 
     350 
     351newtErr NSOFWriteBinary(nsof_stream_t * nsof, newtRefArg r, uint16_t objtype) 
    350352{ 
    351353    newtRefVar  klass; 
     
    370372    } 
    371373 
    372     if (nsof->data) memcpy(nsof->data + nsof->offset, NewtRefToBinary(r), size); 
     374    if (nsof->data) 
     375    { 
     376        uint8_t *   data; 
     377 
     378        data = nsof->data + nsof->offset; 
     379 
     380        switch (objtype) 
     381        { 
     382            case kNewtInt32: 
     383                if (NSOFIsNOS(nsof->verno)) 
     384                { 
     385                    nsof->lastErr = kNErrNSOFWrite; 
     386                } 
     387                else 
     388                { 
     389                    int32_t n; 
     390 
     391                    n = NewtRefToInteger(r); 
     392                    n = htonl(n); 
     393                    memcpy(data, (uint8_t *)&n, sizeof(n)); 
     394                } 
     395                break; 
     396 
     397            case kNewtReal: 
     398                { 
     399                    double  n; 
     400 
     401                    n = NewtRefToReal(r); 
     402                    n = htond(n); 
     403                    memcpy(data, (uint8_t *)&n, sizeof(n)); 
     404                } 
     405                break; 
     406 
     407            default: 
     408                memcpy(data, NewtRefToBinary(r), size); 
     409                break; 
     410        } 
     411    } 
     412 
    373413    nsof->offset += size; 
    374414 
     
    592632        if (foundPrecedent < 0) 
    593633        { 
     634            uint16_t    objtype; 
     635 
    594636            NcAddArraySlot(nsof->precedents, r); 
    595  
    596             switch (NewtGetRefType(r, true)) 
     637            objtype = NewtGetRefType(r, true); 
     638 
     639            switch (objtype) 
    597640            { 
    598641                case kNewtArray: 
     
    618661 
    619662                default: 
    620                     NSOFWriteBinary(nsof, r); 
     663                    NSOFWriteBinary(nsof, r, objtype); 
    621664                    break; 
    622665            } 
     
    692735{ 
    693736    newtRefVar  klass; 
    694     newtRefVar  r; 
     737    newtRefVar  r = kNewtRefUnbind; 
    695738    int32_t     xlen; 
     739    uint8_t *   data; 
    696740 
    697741    xlen = NSOFReadXlong(nsof); 
     
    707751    } 
    708752 
    709     r = NewtMakeBinary(klass, nsof->data + nsof->offset, xlen, false);  
     753    data = nsof->data + nsof->offset; 
     754 
     755    if (klass == NSSYM0(int32)) 
     756    { 
     757        if (NSOFIsNOS(nsof->verno)) 
     758        { 
     759            nsof->lastErr = kNErrNSOFRead; 
     760        } 
     761        else 
     762        { 
     763            int32_t n; 
     764 
     765            memcpy(&n, data, sizeof(n)); 
     766            n = ntohl(n); 
     767            r= NewtMakeInteger(n); 
     768        } 
     769    } 
     770    else if (klass == NSSYM0(real)) 
     771    { 
     772        double  n; 
     773 
     774        memcpy(&n, data, sizeof(n)); 
     775        n = ntohd(n); 
     776        r= NewtMakeReal(n); 
     777    } 
     778    else 
     779    { 
     780        r = NewtMakeBinary(klass, data, xlen, false); 
     781    } 
     782 
    710783    nsof->offset += xlen; 
    711784 
  • NEWT0/trunk/src/version.h

    r28 r29  
    1919#define NEWT_VERSION    "0.1.0"                                 ///< ƒo[ƒWƒ‡ƒ“ 
    2020#define NEWT_COPYRIGHT  "Copyright (C) 2003-2005 Makoto Nukui"  ///< ƒRƒs[ƒ‰ƒCƒg 
    21 #define NEWT_BUILD      "2005-05-16-4"                          ///< ƒrƒ‹ƒh”ԍ† 
     21#define NEWT_BUILD      "2005-06-04-1"                          ///< ƒrƒ‹ƒh”ԍ† 
    2222#define NEWT_PARAMS     "[switches] [--] [programfile]"         ///< ˆø” 
    2323 
Note: See TracChangeset for help on using the changeset viewer.