From neoneye at rubyforge.org Wed Mar 2 13:06:42 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 13:06:44 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503021806.j22I6gdS024670@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv24600 Modified Files: weblog.html Log Message: added a weblog entry for today. Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** weblog.html 15 Feb 2005 17:24:23 -0000 1.6 --- weblog.html 2 Mar 2005 18:06:40 -0000 1.7 *************** *** 40,43 **** --- 40,60 ---- I have a small appartment in Copenhagen, the capital of Denmark.

+

I got my Big Mac - 02 mar 2005

+

This Wensday I recieved my minimac. Now my desktop looks like this. + Right most on the floor you see my big old machine. Right most on the + table you see the mac mini. Left most on the table you see my lego model + I used to develop AEditors new data structure.

+

Recently I cleaned up my appartment, I carried 3 computers, 10 keyboards, + one 15" crt display, some boxes with stuff in down to my basement. When I + cleaned up I managed to find a computer hidden under my bed which I totally + had forgotten. The really amazing thing is that I also cleaned up some time ago, + where I carried down 6 computers to my basement, plus 3 crt displays. + Now im confident that the huge computer on the picture is the only remaining + computer that I must carry down to the basement.

+ macmini and display +

Below you see a cookie box. They didn't tasted that good, but they + had a cool name.

+ ruby cookies +

A new view on things - 15 feb 2005

I recieved the 19" tft display last week, its a Samsung *************** *** 178,180 **** ! \ No newline at end of file --- 195,197 ---- ! From neoneye at rubyforge.org Wed Mar 2 13:06:43 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 13:06:44 2005 Subject: [Aeditor-commit] projects/documents/homepage2/data neoneye_desktop.jpg ruby_cookies.jpg Message-ID: <200503021806.j22I6hdS024674@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2/data In directory rubyforge.org:/tmp/cvs-serv24600/data Added Files: neoneye_desktop.jpg ruby_cookies.jpg Log Message: added a weblog entry for today. --- NEW FILE: ruby_cookies.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: neoneye_desktop.jpg --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Wed Mar 2 13:15:39 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 13:15:40 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503021815.j22IFddS025025@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv25020 Modified Files: weblog.html Log Message: ThreeDayMonk pointed out that I had misspelled im.. I'm is correct. Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** weblog.html 2 Mar 2005 18:06:40 -0000 1.7 --- weblog.html 2 Mar 2005 18:15:37 -0000 1.8 *************** *** 34,39 ****

Weblog about editors and Ruby

!

Hi, welcome to my blog, my name is Simon Strandgaard and im the ! author of AEditor. My age is 25 years and im studying mathematics and computer science. I usually chat on irc, logged in as neoneye on the #ruby-lang channel. --- 34,39 ----

Weblog about editors and Ruby

!

Hi, welcome to my blog, my name is Simon Strandgaard and I'm the ! author of AEditor. My age is 25 years and I'm studying mathematics and computer science. I usually chat on irc, logged in as neoneye on the #ruby-lang channel. *************** *** 50,54 **** had forgotten. The really amazing thing is that I also cleaned up some time ago, where I carried down 6 computers to my basement, plus 3 crt displays. ! Now im confident that the huge computer on the picture is the only remaining computer that I must carry down to the basement.

macmini and display --- 50,54 ---- had forgotten. The really amazing thing is that I also cleaned up some time ago, where I carried down 6 computers to my basement, plus 3 crt displays. ! Now I'm confident that the huge computer on the picture is the only remaining computer that I must carry down to the basement.

macmini and display *************** *** 73,77 **** snowboarded the first 2 hours and afterwards switched to alpine ski (because I got beaten up too badly and because I was a little sick). ! Anyway my sickness disappeared on the ski vacation and im now ready to do some more programming again. Its impossible to serious coding when you are in great pain.

--- 73,77 ---- snowboarded the first 2 hours and afterwards switched to alpine ski (because I got beaten up too badly and because I was a little sick). ! Anyway my sickness disappeared on the ski vacation and I'm now ready to do some more programming again. Its impossible to serious coding when you are in great pain.

*************** *** 82,86 **** been busy with solving all kind of issues (Things that I really should have been doing ages ago). Im usually very bad at solving ! realworld issues, because im sucked into a computer most of the time.

Someone tried to break in to my appartment this weekend, --- 82,86 ---- been busy with solving all kind of issues (Things that I really should have been doing ages ago). Im usually very bad at solving ! realworld issues, because I'm sucked into a computer most of the time.

Someone tried to break in to my appartment this weekend, *************** *** 117,121 ****

Today I talked in phone with the tax woman, attempting to figure out how to solve a tax issue of mine. But I never really understood ! this. Maybe im bad at money.

And today perhaps my 19" tft display will arrive?

--- 117,121 ----

Today I talked in phone with the tax woman, attempting to figure out how to solve a tax issue of mine. But I never really understood ! this. Maybe I'm bad at money.

And today perhaps my 19" tft display will arrive?

*************** *** 166,170 **** more editing strategies, eventually add templates. First I add features which is new to me. ! Afterwards I can add all the features that im already familiarized myself with: syntax coloring, undo/redo, macroes.

--- 166,170 ---- more editing strategies, eventually add templates. First I add features which is new to me. ! Afterwards I can add all the features that I'm already familiarized myself with: syntax coloring, undo/redo, macroes.

*************** *** 173,177 ****

Just before christmas I decided to begin from scratch again. After doing lots of analysis during the fall of 2004, I now ! feel that im ready to try out my new ideas. While it has been christmas I have implemented a new datastructure that is superior to earlier editor datastructures of mine. Its faster, --- 173,177 ----

Just before christmas I decided to begin from scratch again. After doing lots of analysis during the fall of 2004, I now ! feel that I'm ready to try out my new ideas. While it has been christmas I have implemented a new datastructure that is superior to earlier editor datastructures of mine. Its faster, From neoneye at rubyforge.org Wed Mar 2 14:10:25 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 14:10:27 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503021910.j22JAPdS027897@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv27859 Modified Files: weblog.html Log Message: changed format to from jpg to png.. somehow I got permission denied when I access these images on rubyforge. png works. Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** weblog.html 2 Mar 2005 18:15:37 -0000 1.8 --- weblog.html 2 Mar 2005 19:10:22 -0000 1.9 *************** *** 52,59 **** Now I'm confident that the huge computer on the picture is the only remaining computer that I must carry down to the basement.

! macmini and display

Below you see a cookie box. They didn't tasted that good, but they had a cool name.

! ruby cookies

A new view on things - 15 feb 2005

--- 52,59 ---- Now I'm confident that the huge computer on the picture is the only remaining computer that I must carry down to the basement.

! macmini and display

Below you see a cookie box. They didn't tasted that good, but they had a cool name.

! ruby cookies

A new view on things - 15 feb 2005

From neoneye at rubyforge.org Wed Mar 2 14:10:25 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 14:10:27 2005 Subject: [Aeditor-commit] projects/documents/homepage2/data neoneye_desktop.png ruby_cookies.png neoneye_desktop.jpg ruby_cookies.jpg Message-ID: <200503021910.j22JAPdS027899@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2/data In directory rubyforge.org:/tmp/cvs-serv27859/data Added Files: neoneye_desktop.png ruby_cookies.png Removed Files: neoneye_desktop.jpg ruby_cookies.jpg Log Message: changed format to from jpg to png.. somehow I got permission denied when I access these images on rubyforge. png works. --- ruby_cookies.jpg DELETED --- --- NEW FILE: ruby_cookies.png --- (This appears to be a binary file; contents omitted.) --- neoneye_desktop.jpg DELETED --- --- NEW FILE: neoneye_desktop.png --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Wed Mar 2 16:52:34 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 16:52:35 2005 Subject: [Aeditor-commit] projects/documents/homepage2/data lego_model_of_caching_system.jpg Message-ID: <200503022152.j22LqYdS002854@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2/data In directory rubyforge.org:/tmp/cvs-serv2837 Added Files: lego_model_of_caching_system.jpg Log Message: took a picture of my lego model. --- NEW FILE: lego_model_of_caching_system.jpg --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Wed Mar 2 17:09:27 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 2 17:09:28 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503022209.j22M9RdS005038@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv5030 Modified Files: weblog.html Log Message: updated todays weblog entry with a closeup of the lego model. Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** weblog.html 2 Mar 2005 19:10:22 -0000 1.9 --- weblog.html 2 Mar 2005 22:09:25 -0000 1.10 *************** *** 53,56 **** --- 53,70 ---- computer that I must carry down to the basement.

macmini and display + +

Below you see the lego model I used for building the new caching system + for AEditor. The white pieces of paper with text on is actual text on a + line. The small yellow pieces of paper indicates the end of line state. + Whenever a line is modified then we flag it as dirty. Later when we need + to update the display, we run the lexer for the dirty lines. Depending on + the state we get back from the lexer, in case it corresponds to the next + line state, then we stop propagating. In case its different then we simply + flag the following line as dirty. The most tricky part is when you want + to insert or remove entire lines.

+

Don't worry if you don't understand what I said above. My point is only + that I could not have though it out without lego and unittesting.

+ lego model +

Below you see a cookie box. They didn't tasted that good, but they had a cool name.

From neoneye at rubyforge.org Tue Mar 8 13:21:54 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:21:55 2005 Subject: [Aeditor-commit] projects/experimental/macirb - New directory Message-ID: <200503081821.j28ILsdS001419@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb In directory rubyforge.org:/tmp/cvs-serv1415/macirb Log Message: Directory /var/cvs/aeditor/projects/experimental/macirb added to the repository From neoneye at rubyforge.org Tue Mar 8 13:24:01 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:24:02 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj - New directory Message-ID: <200503081824.j28IO1dS001487@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj In directory rubyforge.org:/tmp/cvs-serv1481/English.lproj Log Message: Directory /var/cvs/aeditor/projects/experimental/macirb/English.lproj added to the repository From neoneye at rubyforge.org Tue Mar 8 13:24:01 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:24:02 2005 Subject: [Aeditor-commit] projects/experimental/macirb/macirb.xcode - New directory Message-ID: <200503081824.j28IO1dS001490@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode In directory rubyforge.org:/tmp/cvs-serv1481/macirb.xcode Log Message: Directory /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode added to the repository From neoneye at rubyforge.org Tue Mar 8 13:24:33 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:24:34 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj/MainMenu.nib - New directory Message-ID: <200503081824.j28IOXdS001514@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv1509/MainMenu.nib Log Message: Directory /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib added to the repository From neoneye at rubyforge.org Tue Mar 8 13:27:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:27:15 2005 Subject: [Aeditor-commit] projects/experimental/macirb Info.plist macirb_Prefix.pch main.m version.plist Message-ID: <200503081827.j28IRCdS001604@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb In directory rubyforge.org:/tmp/cvs-serv1565 Added Files: Info.plist macirb_Prefix.pch main.m version.plist Log Message: It would be a nice exercise in learning Cocoa.. to build a GUI frontend for IRB. This is the empty skeleton for the project, only InterfaceBuilder stuff at this moment. --- NEW FILE: Info.plist --- CFBundleDevelopmentRegion English CFBundleExecutable macirb CFBundleIconFile CFBundleIdentifier com.apple.myCocoaApp CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType APPL CFBundleSignature ???? CFBundleVersion 1.0 NSMainNibFile MainMenu NSPrincipalClass NSApplication --- NEW FILE: main.m --- // // main.m // macirb // // Created by Simon Strandgaard on 8/3-05. // Copyright __MyCompanyName__ 2005. All rights reserved. // #import int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **) argv); } --- NEW FILE: macirb_Prefix.pch --- // // Prefix header for all source files of the 'macirb' target in the 'macirb' project // #ifdef __OBJC__ #import #endif --- NEW FILE: version.plist --- BuildVersion 92 CFBundleVersion 1.0 ProductBuildVersion 7K571 ProjectName NibPBTemplates SourceVersion 1200000 From neoneye at rubyforge.org Tue Mar 8 13:27:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:27:15 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj InfoPlist.strings Message-ID: <200503081827.j28IRCdS001605@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj In directory rubyforge.org:/tmp/cvs-serv1565/English.lproj Added Files: InfoPlist.strings Log Message: It would be a nice exercise in learning Cocoa.. to build a GUI frontend for IRB. This is the empty skeleton for the project, only InterfaceBuilder stuff at this moment. --- NEW FILE: InfoPlist.strings --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Tue Mar 8 13:27:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:27:15 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj/MainMenu.nib classes.nib info.nib keyedobjects.nib Message-ID: <200503081827.j28IRCdS001606@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv1565/English.lproj/MainMenu.nib Added Files: classes.nib info.nib keyedobjects.nib Log Message: It would be a nice exercise in learning Cocoa.. to build a GUI frontend for IRB. This is the empty skeleton for the project, only InterfaceBuilder stuff at this moment. --- NEW FILE: info.nib --- IBDocumentLocation 94 102 356 240 0 0 1280 1002 IBEditorPositions 29 94 344 318 44 0 0 1280 1002 IBFramework Version 364.0 IBOpenObjects 29 21 IBSystem Version 7U16 --- NEW FILE: classes.nib --- { IBClasses = ({CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }); IBVersion = 1; } --- NEW FILE: keyedobjects.nib --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Tue Mar 8 13:27:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 13:27:15 2005 Subject: [Aeditor-commit] projects/experimental/macirb/macirb.xcode project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503081827.j28IRCdS001609@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode In directory rubyforge.org:/tmp/cvs-serv1565/macirb.xcode Added Files: project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: It would be a nice exercise in learning Cocoa.. to build a GUI frontend for IRB. This is the empty skeleton for the project, only InterfaceBuilder stuff at this moment. --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 080E96DDFE201D6D7F000001 = { children = ( ); isa = PBXGroup; name = Classes; refType = 4; sourceTree = ""; }; 089C165CFE840E0CC02AAC07 = { children = ( 089C165DFE840E0CC02AAC07, ); isa = PBXVariantGroup; name = InfoPlist.strings; refType = 4; sourceTree = ""; }; 089C165DFE840E0CC02AAC07 = { fileEncoding = 10; isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; refType = 4; sourceTree = ""; }; //080 //081 //082 //083 //084 //100 //101 //102 //103 //104 1058C7A0FEA54F0111CA2CBB = { children = ( 1058C7A1FEA54F0111CA2CBB, ); isa = PBXGroup; name = "Linked Frameworks"; refType = 4; sourceTree = ""; }; 1058C7A1FEA54F0111CA2CBB = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; refType = 0; sourceTree = ""; }; 1058C7A2FEA54F0111CA2CBB = { children = ( 29B97325FDCFA39411CA2CEA, 29B97324FDCFA39411CA2CEA, ); isa = PBXGroup; name = "Other Frameworks"; refType = 4; sourceTree = ""; }; //100 //101 //102 //103 //104 //190 //191 //192 //193 //194 19C28FACFE9D520D11CA2CBB = { children = ( 8D1107320486CEB800E47090, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = ""; }; //190 //191 //192 //193 //194 //290 //291 //292 //293 //294 29B97313FDCFA39411CA2CEA = { buildSettings = { }; buildStyles = ( 4A9504CCFFE6A4B311CA0CBA, 4A9504CDFFE6A4B311CA0CBA, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 29B97314FDCFA39411CA2CEA; projectDirPath = ""; targets = ( 8D1107260486CEB800E47090, ); }; 29B97314FDCFA39411CA2CEA = { children = ( 080E96DDFE201D6D7F000001, 29B97315FDCFA39411CA2CEA, 29B97317FDCFA39411CA2CEA, 29B97323FDCFA39411CA2CEA, 19C28FACFE9D520D11CA2CBB, ); isa = PBXGroup; name = macirb; path = ""; refType = 4; sourceTree = ""; }; 29B97315FDCFA39411CA2CEA = { children = ( 32CA4F630368D1EE00C91783, 29B97316FDCFA39411CA2CEA, ); isa = PBXGroup; name = "Other Sources"; path = ""; refType = 4; sourceTree = ""; }; 29B97316FDCFA39411CA2CEA = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; refType = 4; sourceTree = ""; }; 29B97317FDCFA39411CA2CEA = { children = ( 8D1107310486CEB800E47090, 089C165CFE840E0CC02AAC07, 29B97318FDCFA39411CA2CEA, ); isa = PBXGroup; name = Resources; path = ""; refType = 4; sourceTree = ""; }; 29B97318FDCFA39411CA2CEA = { children = ( 29B97319FDCFA39411CA2CEA, ); isa = PBXVariantGroup; name = MainMenu.nib; path = ""; refType = 4; sourceTree = ""; }; 29B97319FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; refType = 4; sourceTree = ""; }; 29B97323FDCFA39411CA2CEA = { children = ( 1058C7A0FEA54F0111CA2CBB, 1058C7A2FEA54F0111CA2CBB, ); isa = PBXGroup; name = Frameworks; path = ""; refType = 4; sourceTree = ""; }; 29B97324FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; refType = 0; sourceTree = ""; }; 29B97325FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; refType = 0; sourceTree = ""; }; //290 //291 //292 //293 //294 //320 //321 //322 //323 //324 32CA4F630368D1EE00C91783 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = macirb_Prefix.pch; refType = 4; sourceTree = ""; }; //320 //321 //322 //323 //324 //4A0 //4A1 //4A2 //4A3 //4A4 4A9504CCFFE6A4B311CA0CBA = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = YES; }; isa = PBXBuildStyle; name = Development; }; 4A9504CDFFE6A4B311CA0CBA = { buildSettings = { COPY_PHASE_STRIP = YES; GCC_ENABLE_FIX_AND_CONTINUE = NO; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Deployment; }; //4A0 //4A1 //4A2 //4A3 //4A4 //8D0 //8D1 //8D2 //8D3 //8D4 8D1107260486CEB800E47090 = { buildPhases = ( 8D1107290486CEB800E47090, 8D11072C0486CEB800E47090, 8D11072E0486CEB800E47090, ); buildRules = ( ); buildSettings = { GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = macirb_Prefix.pch; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; PRODUCT_NAME = macirb; WRAPPER_EXTENSION = app; }; dependencies = ( ); isa = PBXNativeTarget; name = macirb; productInstallPath = "$(HOME)/Applications"; productName = macirb; productReference = 8D1107320486CEB800E47090; productType = "com.apple.product-type.application"; }; 8D1107290486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072A0486CEB800E47090, 8D11072B0486CEB800E47090, ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072A0486CEB800E47090 = { fileRef = 29B97318FDCFA39411CA2CEA; isa = PBXBuildFile; settings = { }; }; 8D11072B0486CEB800E47090 = { fileRef = 089C165CFE840E0CC02AAC07; isa = PBXBuildFile; settings = { }; }; 8D11072C0486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072D0486CEB800E47090, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072D0486CEB800E47090 = { fileRef = 29B97316FDCFA39411CA2CEA; isa = PBXBuildFile; settings = { ATTRIBUTES = ( ); }; }; 8D11072E0486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072F0486CEB800E47090, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072F0486CEB800E47090 = { fileRef = 1058C7A1FEA54F0111CA2CBB; isa = PBXBuildFile; settings = { }; }; 8D1107310486CEB800E47090 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; refType = 4; sourceTree = ""; }; 8D1107320486CEB800E47090 = { explicitFileType = wrapper.application; includeInIndex = 0; isa = PBXFileReference; path = macirb.app; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 29B97313FDCFA39411CA2CEA; } --- NEW FILE: simonstrandgaard.pbxuser --- // !$*UTF8*$! { 29B97313FDCFA39411CA2CEA = { activeBuildStyle = 4A9504CCFFE6A4B311CA0CBA; activeExecutable = 6EBC055607DE212600063CE8; activeTarget = 8D1107260486CEB800E47090; codeSenseManager = 6EBC055E07DE213B00063CE8; executables = ( 6EBC055607DE212600063CE8, ); perUserDictionary = { PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, 131, 20, 30, 43, 43, 20, ); PBXFileTableDataSourceColumnsKey = ( PBXFileDataSource_FiletypeID, PBXFileDataSource_Filename_ColumnID, PBXFileDataSource_Built_ColumnID, PBXFileDataSource_ObjectSize_ColumnID, PBXFileDataSource_Errors_ColumnID, PBXFileDataSource_Warnings_ColumnID, PBXFileDataSource_Target_ColumnID, ); }; PBXPerProjectTemplateStateSaveDate = 131997990; PBXPrepackagedSmartGroups_v2 = ( { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; activationKey = OldTargetSmartGroup; clz = PBXTargetSmartGroup; description = "Displays all targets of the project."; globalID = 1C37FABC04509CD000000102; name = Targets; preferences = { image = Targets; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXTargetSmartGroup2; description = "Displays all targets of the project as well as nested build phases."; globalID = 1C37FBAC04509CD000000102; name = Targets; preferences = { image = Targets; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXExecutablesSmartGroup; description = "Displays all executables of the project."; globalID = 1C37FAAC04509CD000000102; name = Executables; preferences = { image = Executable; }; }, { " PBXTransientLocationAtTop " = bottom; absolutePathToBundle = ""; clz = PBXErrorsWarningsSmartGroup; description = "Displays files with errors or warnings."; globalID = 1C08E77C0454961000C914BD; name = "Errors and Warnings"; preferences = { fnmatch = ""; image = WarningsErrors; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = 1CC0EA4004350EF90044410B; name = "Implementation Files"; preferences = { canSave = 1; fnmatch = ""; image = SmartFolder; isLeaf = 0; recursive = 1; regex = "?*\\.[mcMC]"; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "This group displays Interface Builder NIB Files."; globalID = 1CC0EA4004350EF90041110B; name = "NIB Files"; preferences = { canSave = 1; fnmatch = "*.nib"; image = SmartFolder; isLeaf = 0; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = no; absolutePathToBundle = ""; clz = PBXFindSmartGroup; description = "Displays Find Results."; globalID = 1C37FABC05509CD000000102; name = "Find Results"; preferences = { image = spyglass; }; }, { PBXTransientLocationAtTop = no; absolutePathToBundle = ""; clz = PBXBookmarksSmartGroup; description = "Displays Project Bookmarks."; globalID = 1C37FABC05539CD112110102; name = Bookmarks; preferences = { image = Bookmarks; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = XCSCMSmartGroup; description = "Displays files with interesting SCM status."; globalID = E2644B35053B69B200211256; name = SCM; preferences = { image = PBXRepository; isLeaf = 0; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXSymbolsSmartGroup; description = "Displays all symbols for the project."; globalID = 1C37FABC04509CD000100104; name = "Project Symbols"; preferences = { image = ProjectSymbols; isLeaf = 1; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = PBXTemplateMarker; name = "Simple Filter SmartGroup"; preferences = { canSave = 1; fnmatch = "*.nib"; image = SmartFolder; isLeaf = 0; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = PBXTemplateMarker; name = "Simple Regular Expression SmartGroup"; preferences = { canSave = 1; fnmatch = ""; image = SmartFolder; isLeaf = 0; recursive = 1; regex = "?*\\.[mcMC]"; root = ""; }; }, { PBXTransientLocationAtTop = bottom; clz = XDDesignSmartGroup; description = "Displays Xdesign models"; globalID = 2E4A936305E6979E00701470; name = Design; preferences = { image = Design; isLeaf = 0; }; }, ); PBXWorkspaceStateSaveDate = 131997990; }; perUserProjectItems = { 6EBC055907DE213B00063CE8 = 6EBC055907DE213B00063CE8; 6EBC055A07DE213B00063CE8 = 6EBC055A07DE213B00063CE8; }; sourceControlManager = 6EBC055D07DE213B00063CE8; userBuildSettings = { }; }; 32CA4F630368D1EE00C91783 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {927.347, 254}}"; sepNavSelRange = "{0, 0}"; sepNavVisRect = "{{0, 0}, {311, 254}}"; }; }; 6EBC055607DE212600063CE8 = { activeArgIndex = 2147483647; activeArgIndices = ( ); argumentStrings = ( ); configStateDict = { }; cppStopOnCatchEnabled = 0; cppStopOnThrowEnabled = 0; customDataFormattersEnabled = 1; debuggerPlugin = GDBDebugging; disassemblyDisplayState = 0; enableDebugStr = 1; environmentEntries = ( ); isa = PBXExecutable; libgmallocEnabled = 0; name = macirb; shlibInfoDictList = ( ); sourceDirectories = ( ); }; 6EBC055907DE213B00063CE8 = { fRef = 32CA4F630368D1EE00C91783; isa = PBXTextBookmark; name = "macirb_Prefix.pch: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 143; vrLoc = 0; }; 6EBC055A07DE213B00063CE8 = { fRef = 32CA4F630368D1EE00C91783; isa = PBXTextBookmark; name = "macirb_Prefix.pch: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 143; vrLoc = 0; }; 6EBC055D07DE213B00063CE8 = { fallbackIsa = XCSourceControlManager; isSCMEnabled = 0; isa = PBXSourceControlManager; scmConfiguration = { }; scmType = ""; }; 6EBC055E07DE213B00063CE8 = { indexTemplatePath = ""; isa = PBXCodeSenseManager; usesDefaults = 1; wantsCodeCompletion = 1; wantsCodeCompletionAutoSuggestions = 0; wantsCodeCompletionCaseSensitivity = 1; wantsCodeCompletionListAlways = 1; wantsCodeCompletionOnlyMatchingItems = 1; wantsCodeCompletionParametersIncluded = 1; wantsCodeCompletionPlaceholdersInserted = 1; wantsCodeCompletionTabCompletes = 1; wantsIndex = 1; }; 8D1107260486CEB800E47090 = { activeExec = 0; executables = ( 6EBC055607DE212600063CE8, ); }; } --- NEW FILE: simonstrandgaard.mode1 --- ActivePerspectiveName Project AllowedModules BundleLoadPath MaxInstances n Module PBXSmartGroupTreeModule Name Groups and Files Outline View [...1072 lines suppressed...] StatusbarIsVisible TableOfContents 1C0AD2AF069F1E9B00FABCE6 1C0AD2B0069F1E9B00FABCE6 1CA6456E063B45B4001379D8 ToolbarConfiguration xcode.toolbar.config.classbrowser WindowString 385 179 630 352 0 0 1440 878 WindowToolGUID 1C0AD2AF069F1E9B00FABCE6 WindowToolIsVisible From neoneye at rubyforge.org Tue Mar 8 14:52:49 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 14:52:51 2005 Subject: [Aeditor-commit] projects/experimental/macirb EvalController.h EvalController.m Message-ID: <200503081952.j28JqndS006036@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb In directory rubyforge.org:/tmp/cvs-serv5979 Added Files: EvalController.h EvalController.m Log Message: When entering text in the evalfield.. and pressing enter or clicking eval, then the text is inserted into the output textview. (Im very excited this is my first cocoa program that im writing on my own.. previous I have only been reading tutorials). --- NEW FILE: EvalController.h --- /* EvalController */ #import @interface EvalController : NSObject { IBOutlet NSTextField *evalField; IBOutlet NSTextView *output; } - (IBAction)eval:(id)sender; @end --- NEW FILE: EvalController.m --- #import "EvalController.h" @implementation EvalController - (IBAction)eval:(id)sender { NSString *str = [evalField stringValue]; printf("eval \"%s\"\n", [str cString]); NSString *str2 = [str stringByAppendingString:@"\n"]; NSRange range; range = NSMakeRange([[output string] length], 0); [output replaceCharactersInRange: range withString: str2]; // TODO: how to delete str2 NSRange range2; range2 = NSMakeRange([[output string] length], 0); [output scrollRangeToVisible: range2]; } @end From neoneye at rubyforge.org Tue Mar 8 14:52:49 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 14:52:51 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj/MainMenu.nib classes.nib info.nib keyedobjects.nib Message-ID: <200503081952.j28JqndS006039@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv5979/English.lproj/MainMenu.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: When entering text in the evalfield.. and pressing enter or clicking eval, then the text is inserted into the output textview. (Im very excited this is my first cocoa program that im writing on my own.. previous I have only been reading tutorials). Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** info.nib 8 Mar 2005 18:27:10 -0000 1.1 --- info.nib 8 Mar 2005 19:52:47 -0000 1.2 *************** *** 4,8 **** IBDocumentLocation ! 94 102 356 240 0 0 1280 1002 IBEditorPositions --- 4,8 ---- IBDocumentLocation ! 805 617 356 240 0 0 1280 1002 IBEditorPositions Index: classes.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/classes.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** classes.nib 8 Mar 2005 18:27:10 -0000 1.1 --- classes.nib 8 Mar 2005 19:52:47 -0000 1.2 *************** *** 1,4 **** { ! IBClasses = ({CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }); IBVersion = 1; } \ No newline at end of file --- 1,13 ---- { ! IBClasses = ( ! { ! ACTIONS = {eval = id; }; ! CLASS = EvalController; ! LANGUAGE = ObjC; ! OUTLETS = {evalField = NSTextField; output = NSTextView; }; ! SUPERCLASS = NSObject; ! }, ! {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } ! ); IBVersion = 1; } \ No newline at end of file Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsQuMwOt and /tmp/cvs5kfFR9 differ From neoneye at rubyforge.org Tue Mar 8 14:52:49 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 14:52:51 2005 Subject: [Aeditor-commit] projects/experimental/macirb/macirb.xcode project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503081952.j28JqndS006043@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode In directory rubyforge.org:/tmp/cvs-serv5979/macirb.xcode Modified Files: project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: When entering text in the evalfield.. and pressing enter or clicking eval, then the text is inserted into the output textview. (Im very excited this is my first cocoa program that im writing on my own.. previous I have only been reading tutorials). Index: project.pbxproj =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/project.pbxproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.pbxproj 8 Mar 2005 18:27:10 -0000 1.1 --- project.pbxproj 8 Mar 2005 19:52:47 -0000 1.2 *************** *** 8,11 **** --- 8,13 ---- 080E96DDFE201D6D7F000001 = { children = ( + 6EBC057D07DE2F8D00063CE8, + 6EBC057E07DE2F8D00063CE8, ); isa = PBXGroup; *************** *** 257,260 **** --- 259,300 ---- //4A3 //4A4 + //6E0 + //6E1 + //6E2 + //6E3 + //6E4 + 6EBC057D07DE2F8D00063CE8 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = EvalController.h; + refType = 4; + sourceTree = ""; + }; + 6EBC057E07DE2F8D00063CE8 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.objc; + path = EvalController.m; + refType = 4; + sourceTree = ""; + }; + 6EBC057F07DE2F8D00063CE8 = { + fileRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXBuildFile; + settings = { + }; + }; + 6EBC058007DE2F8D00063CE8 = { + fileRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXBuildFile; + settings = { + }; + }; + //6E0 + //6E1 + //6E2 + //6E3 + //6E4 //8D0 //8D1 *************** *** 293,296 **** --- 333,337 ---- 8D11072A0486CEB800E47090, 8D11072B0486CEB800E47090, + 6EBC057F07DE2F8D00063CE8, ); isa = PBXResourcesBuildPhase; *************** *** 313,316 **** --- 354,358 ---- files = ( 8D11072D0486CEB800E47090, + 6EBC058007DE2F8D00063CE8, ); isa = PBXSourcesBuildPhase; Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simonstrandgaard.pbxuser 8 Mar 2005 18:27:10 -0000 1.1 --- simonstrandgaard.pbxuser 8 Mar 2005 19:52:47 -0000 1.2 *************** *** 10,13 **** --- 10,27 ---- ); perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXErrorsWarningsDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXErrorsWarningsDataSource_LocationID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 357.8799, + 200.2085, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXErrorsWarningsDataSource_TypeID, + PBXErrorsWarningsDataSource_MessageID, + PBXErrorsWarningsDataSource_LocationID, + ); + }; PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; *************** *** 15,21 **** PBXFileTableDataSourceColumnWidthsKey = ( 20, ! 131, 20, ! 30, 43, 43, --- 29,35 ---- PBXFileTableDataSourceColumnWidthsKey = ( 20, ! 580, 20, ! 104, 43, 43, *************** *** 214,217 **** --- 228,288 ---- 6EBC055907DE213B00063CE8 = 6EBC055907DE213B00063CE8; 6EBC055A07DE213B00063CE8 = 6EBC055A07DE213B00063CE8; + 6EBC056207DE2BD900063CE8 = 6EBC056207DE2BD900063CE8; + 6EBC057307DE2C1200063CE8 = 6EBC057307DE2C1200063CE8; + 6EBC057507DE2C1800063CE8 = 6EBC057507DE2C1800063CE8; + 6EBC057707DE2DF200063CE8 = 6EBC057707DE2DF200063CE8; + 6EBC058107DE2FC900063CE8 = 6EBC058107DE2FC900063CE8; + 6EBC058207DE2FC900063CE8 = 6EBC058207DE2FC900063CE8; + 6EBC058307DE2FC900063CE8 = 6EBC058307DE2FC900063CE8; + 6EBC058407DE2FC900063CE8 = 6EBC058407DE2FC900063CE8; + 6EBC058507DE2FC900063CE8 = 6EBC058507DE2FC900063CE8; + 6EBC058607DE2FC900063CE8 = 6EBC058607DE2FC900063CE8; + 6EBC058707DE2FC900063CE8 = 6EBC058707DE2FC900063CE8; + 6EBC058807DE2FC900063CE8 = 6EBC058807DE2FC900063CE8; + 6EBC058D07DE305800063CE8 = 6EBC058D07DE305800063CE8; + 6EBC058E07DE305800063CE8 = 6EBC058E07DE305800063CE8; + 6EBC058F07DE305800063CE8 = 6EBC058F07DE305800063CE8; + 6EBC059007DE305800063CE8 = 6EBC059007DE305800063CE8; + 6EBC059107DE305800063CE8 = 6EBC059107DE305800063CE8; + 6EBC059207DE305800063CE8 = 6EBC059207DE305800063CE8; + 6EBC059307DE305800063CE8 = 6EBC059307DE305800063CE8; + 6EBC059407DE305800063CE8 = 6EBC059407DE305800063CE8; + 6EBC059707DE31D700063CE8 = 6EBC059707DE31D700063CE8; + 6EBC059807DE31D700063CE8 = 6EBC059807DE31D700063CE8; + 6EBC059907DE31D700063CE8 = 6EBC059907DE31D700063CE8; + 6EBC059A07DE31D700063CE8 = 6EBC059A07DE31D700063CE8; + 6EBC059E07DE31F400063CE8 = 6EBC059E07DE31F400063CE8; + 6EBC05A007DE324600063CE8 = 6EBC05A007DE324600063CE8; + 6EBC05A207DE327700063CE8 = 6EBC05A207DE327700063CE8; + 6EBC05AA07DE32C200063CE8 = 6EBC05AA07DE32C200063CE8; + 6EBC05AC07DE339D00063CE8 = 6EBC05AC07DE339D00063CE8; + 6EBC05AE07DE33AE00063CE8 = 6EBC05AE07DE33AE00063CE8; + 6EBC05B007DE341900063CE8 = 6EBC05B007DE341900063CE8; + 6EBC05B207DE347200063CE8 = 6EBC05B207DE347200063CE8; + 6EBC05B407DE348100063CE8 = 6EBC05B407DE348100063CE8; + 6EBC05B607DE354C00063CE8 = 6EBC05B607DE354C00063CE8; + 6EBC05B807DE35D600063CE8 = 6EBC05B807DE35D600063CE8; + 6EBC05B907DE35D600063CE8 = 6EBC05B907DE35D600063CE8; + 6EBC05BA07DE35D600063CE8 = 6EBC05BA07DE35D600063CE8; + 6EBC05BB07DE35D600063CE8 = 6EBC05BB07DE35D600063CE8; + 6EBC05BC07DE35D600063CE8 = 6EBC05BC07DE35D600063CE8; + 6EBC05C007DE365100063CE8 = 6EBC05C007DE365100063CE8; + 6EBC05C207DE365700063CE8 = 6EBC05C207DE365700063CE8; + 6EBC05C407DE36A900063CE8 = 6EBC05C407DE36A900063CE8; + 6EBC05C607DE36BE00063CE8 = 6EBC05C607DE36BE00063CE8; + 6EBC05C807DE372400063CE8 = 6EBC05C807DE372400063CE8; + 6EBC05CB07DE376100063CE8 = 6EBC05CB07DE376100063CE8; + 6EBC05CC07DE376100063CE8 = 6EBC05CC07DE376100063CE8; + 6EBC05CE07DE382C00063CE8 = 6EBC05CE07DE382C00063CE8; + 6EBC05D007DE383E00063CE8 = 6EBC05D007DE383E00063CE8; + 6EBC05D207DE391B00063CE8 = 6EBC05D207DE391B00063CE8; + 6EBC05D307DE391B00063CE8 = 6EBC05D307DE391B00063CE8; + 6EBC05D407DE391B00063CE8 = 6EBC05D407DE391B00063CE8; + 6EBC05D507DE391B00063CE8 = 6EBC05D507DE391B00063CE8; + 6EBC05D607DE391B00063CE8 = 6EBC05D607DE391B00063CE8; + 6EBC05D807DE398600063CE8 = 6EBC05D807DE398600063CE8; + 6EBC05DA07DE399700063CE8 = 6EBC05DA07DE399700063CE8; + 6EBC05DC07DE39B000063CE8 = 6EBC05DC07DE39B000063CE8; + 6EBC05DE07DE3A4D00063CE8 = 6EBC05DE07DE3A4D00063CE8; }; sourceControlManager = 6EBC055D07DE213B00063CE8; *************** *** 221,227 **** 32CA4F630368D1EE00C91783 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {927.347, 254}}"; sepNavSelRange = "{0, 0}"; ! sepNavVisRect = "{{0, 0}, {311, 254}}"; }; }; --- 292,298 ---- 32CA4F630368D1EE00C91783 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {927.347, 525}}"; sepNavSelRange = "{0, 0}"; ! sepNavVisRect = "{{0, 0}, {566, 525}}"; }; }; *************** *** 239,242 **** --- 310,314 ---- debuggerPlugin = GDBDebugging; disassemblyDisplayState = 0; + dylibVariantSuffix = ""; enableDebugStr = 1; environmentEntries = ( *************** *** 292,295 **** --- 364,962 ---- wantsIndex = 1; }; + 6EBC056207DE2BD900063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC057307DE2C1200063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC057507DE2C1800063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC057707DE2DF200063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC057D07DE2F8D00063CE8 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {834, 628}}"; + sepNavSelRange = "{99, 11}"; + sepNavVisRect = "{{0, 0}, {834, 628}}"; + }; + }; + 6EBC057E07DE2F8D00063CE8 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {834, 628}}"; + sepNavSelRange = "{505, 0}"; + sepNavVisRect = "{{0, 0}, {834, 628}}"; + sepNavWindowFrame = "{{38, 418}, {750, 558}}"; + }; + }; + 6EBC058107DE2FC900063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC058207DE2FC900063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC058307DE2FC900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 98; + vrLoc = 0; + }; + 6EBC058407DE2FC900063CE8 = { + fRef = 32CA4F630368D1EE00C91783; + isa = PBXTextBookmark; + name = "macirb_Prefix.pch: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 143; + vrLoc = 0; + }; + 6EBC058507DE2FC900063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC058607DE2FC900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 98; + vrLoc = 0; + }; + 6EBC058707DE2FC900063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC058807DE2FC900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 7"; + rLen = 0; + rLoc = 103; + rType = 0; + vrLen = 115; + vrLoc = 0; + }; + 6EBC058C07DE301000063CE8 = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = NSTextField.h; + path = /System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSTextField.h; + refType = 0; + sourceTree = ""; + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {678.907, 1160}}"; + sepNavSelRange = "{184, 11}"; + sepNavVisRect = "{{0, 0}, {566, 525}}"; + }; + }; + 6EBC058D07DE305800063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 8"; + rLen = 0; + rLoc = 166; + rType = 0; + vrLen = 126; + vrLoc = 0; + }; + 6EBC058E07DE305800063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC058F07DE305800063CE8 = { + fRef = 6EBC058C07DE301000063CE8; + isa = PBXTextBookmark; + rLen = 1; + rLoc = 10; + rType = 1; + }; + 6EBC059007DE305800063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 7"; + rLen = 0; + rLoc = 103; + rType = 0; + vrLen = 115; + vrLoc = 0; + }; + 6EBC059107DE305800063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC059207DE305800063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 8"; + rLen = 0; + rLoc = 166; + rType = 0; + vrLen = 126; + vrLoc = 0; + }; + 6EBC059307DE305800063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC059407DE305800063CE8 = { + fRef = 6EBC058C07DE301000063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 184; + rType = 0; + vrLen = 600; + vrLoc = 0; + }; + 6EBC059707DE31D700063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC059807DE31D700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 10"; + rLen = 0; + rLoc = 218; + rType = 0; + vrLen = 185; + vrLoc = 0; + }; + 6EBC059907DE31D700063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC059A07DE31D700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 216; + rType = 0; + vrLen = 187; + vrLoc = 0; + }; + 6EBC059E07DE31F400063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 250; + rType = 0; + vrLen = 187; + vrLoc = 0; + }; + 6EBC05A007DE324600063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 10"; + rLen = 0; + rLoc = 217; + rType = 0; + vrLen = 214; + vrLoc = 0; + }; + 6EBC05A207DE327700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 11"; + rLen = 0; + rLoc = 240; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05AA07DE32C200063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = printf; + rLen = 6; + rLoc = 133; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05AC07DE339D00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 7"; + rLen = 0; + rLoc = 90; + rType = 0; + vrLen = 224; + vrLoc = 0; + }; + 6EBC05AE07DE33AE00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 7"; + rLen = 0; + rLoc = 90; + rType = 0; + vrLen = 224; + vrLoc = 0; + }; + 6EBC05B007DE341900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 8"; + rLen = 0; + rLoc = 145; + rType = 0; + vrLen = 234; + vrLoc = 0; + }; + 6EBC05B207DE347200063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05B407DE348100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05B607DE354C00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05B807DE35D600063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC05B907DE35D600063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05BA07DE35D600063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05BB07DE35D600063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC05BC07DE35D600063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 213; + rType = 0; + vrLen = 241; + vrLoc = 0; + }; + 6EBC05C007DE365100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 13"; + rLen = 0; + rLoc = 253; + rType = 0; + vrLen = 375; + vrLoc = 0; + }; + 6EBC05C207DE365700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 13"; + rLen = 0; + rLoc = 253; + rType = 0; + vrLen = 375; + vrLoc = 0; + }; + 6EBC05C407DE36A900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 8"; + rLen = 0; + rLoc = 152; + rType = 0; + vrLen = 316; + vrLoc = 0; + }; + 6EBC05C607DE36BE00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 173; + rType = 0; + vrLen = 316; + vrLoc = 0; + }; + 6EBC05C807DE372400063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 9"; + rLen = 0; + rLoc = 173; + rType = 0; + vrLen = 315; + vrLoc = 0; + }; + 6EBC05CB07DE376100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSString; + rLen = 8; + rLoc = 91; + rType = 0; + vrLen = 315; + vrLoc = 0; + }; + 6EBC05CC07DE376100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSString; + rLen = 8; + rLoc = 91; + rType = 0; + vrLen = 315; + vrLoc = 0; + }; + 6EBC05CE07DE382C00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 14"; + rLen = 0; + rLoc = 364; + rType = 0; + vrLen = 402; + vrLoc = 0; + }; + 6EBC05D007DE383E00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 14"; + rLen = 0; + rLoc = 364; + rType = 0; + vrLen = 402; + vrLoc = 0; + }; + 6EBC05D207DE391B00063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC05D307DE391B00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 14"; + rLen = 0; + rLoc = 364; + rType = 0; + vrLen = 402; + vrLoc = 0; + }; + 6EBC05D407DE391B00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 14"; + rLen = 0; + rLoc = 364; + rType = 0; + vrLen = 402; + vrLoc = 0; + }; + 6EBC05D507DE391B00063CE8 = { + fRef = 6EBC057D07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = NSTextField; + rLen = 11; + rLoc = 99; + rType = 0; + vrLen = 192; + vrLoc = 0; + }; + 6EBC05D607DE391B00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 14"; + rLen = 0; + rLoc = 364; + rType = 0; + vrLen = 402; + vrLoc = 0; + }; + 6EBC05D807DE398600063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 17"; + rLen = 0; + rLoc = 404; + rType = 0; + vrLen = 443; + vrLoc = 0; + }; + 6EBC05DA07DE399700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 17"; + rLen = 0; + rLoc = 476; + rType = 0; + vrLen = 443; + vrLoc = 0; + }; + 6EBC05DC07DE39B000063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05DE07DE3A4D00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; 8D1107260486CEB800E47090 = { activeExec = 0; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.mode1,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simonstrandgaard.mode1 8 Mar 2005 18:27:10 -0000 1.1 --- simonstrandgaard.mode1 8 Mar 2005 19:52:47 -0000 1.2 *************** *** 205,210 **** - BecomeActive - ContentConfiguration --- 205,208 ---- *************** *** 251,260 **** ! 17 ! 16 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey ! {{0, 0}, {225, 379}} PBXTopSmartGroupGIDs --- 249,259 ---- ! 3 ! 1 ! 0 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey ! {{0, 0}, {225, 753}} PBXTopSmartGroupGIDs *************** *** 264,268 **** Frame ! {{0, 0}, {242, 397}} GroupTreeTableConfiguration --- 263,267 ---- Frame ! {{0, 0}, {242, 771}} GroupTreeTableConfiguration *************** *** 271,275 **** RubberWindowFrame ! 272 455 600 439 0 0 1280 1002 Module --- 270,274 ---- RubberWindowFrame ! 3 150 1123 813 0 0 1280 1002 Module *************** *** 287,291 **** 1CE0B20306471E060097A5F4 PBXProjectModuleLabel ! macirb_Prefix.pch PBXSplitModuleInNavigatorKey --- 286,290 ---- 1CE0B20306471E060097A5F4 PBXProjectModuleLabel ! EvalController.m PBXSplitModuleInNavigatorKey *************** *** 295,304 **** 1CE0B20406471E060097A5F4 PBXProjectModuleLabel ! macirb_Prefix.pch bookmark ! 6EBC055A07DE213B00063CE8 history ! 6EBC055907DE213B00063CE8 --- 294,320 ---- 1CE0B20406471E060097A5F4 PBXProjectModuleLabel ! EvalController.m bookmark ! 6EBC05DE07DE3A4D00063CE8 history ! 6EBC058107DE2FC900063CE8 ! 6EBC05D207DE391B00063CE8 ! 6EBC05D307DE391B00063CE8 ! ! prevStack ! ! 6EBC058407DE2FC900063CE8 ! 6EBC058507DE2FC900063CE8 ! 6EBC058607DE2FC900063CE8 ! 6EBC058707DE2FC900063CE8 ! 6EBC059007DE305800063CE8 ! 6EBC059107DE305800063CE8 ! 6EBC059207DE305800063CE8 ! 6EBC059907DE31D700063CE8 ! 6EBC05BA07DE35D600063CE8 ! 6EBC05BB07DE35D600063CE8 ! 6EBC05D407DE391B00063CE8 ! 6EBC05D507DE391B00063CE8 *************** *** 312,323 **** Frame ! {{0, 0}, {352, 286}} RubberWindowFrame ! 272 455 600 439 0 0 1280 1002 Module PBXNavigatorGroup Proportion ! 286pt --- 328,339 ---- Frame ! {{0, 0}, {875, 660}} RubberWindowFrame ! 3 150 1123 813 0 0 1280 1002 Module PBXNavigatorGroup Proportion ! 660pt *************** *** 332,338 **** Frame ! {{0, 293}, {352, 104}} RubberWindowFrame ! 272 455 600 439 0 0 1280 1002 Module --- 348,354 ---- Frame ! {{0, 667}, {875, 104}} RubberWindowFrame ! 3 150 1123 813 0 0 1280 1002 Module *************** *** 343,347 **** Proportion ! 352pt --- 359,363 ---- Proportion ! 875pt *************** *** 388,398 **** WindowOrderList /Users/simonstrandgaard/code/aeditor/projects/experimental/macirb/macirb.xcode WindowString ! 272 455 600 439 0 0 1280 1002 WindowTools Identifier windowTool.build --- 404,418 ---- WindowOrderList + 6EBC059B07DE31D700063CE8 + 1C0AD2B3069F1EA900FABCE6 /Users/simonstrandgaard/code/aeditor/projects/experimental/macirb/macirb.xcode WindowString ! 3 150 1123 813 0 0 1280 1002 WindowTools + FirstTimeWindowDisplayed + Identifier windowTool.build *************** *** 427,431 **** {{0, 0}, {500, 215}} RubberWindowFrame ! 192 257 500 500 0 0 1280 1002 Module --- 447,451 ---- {{0, 0}, {500, 215}} RubberWindowFrame ! 293 371 500 500 0 0 1280 1002 Module *************** *** 443,446 **** --- 463,470 ---- PBXProjectModuleLabel Build + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 GeometryConfiguration *************** *** 449,453 **** {{0, 222}, {500, 236}} RubberWindowFrame ! 192 257 500 500 0 0 1280 1002 Module --- 473,477 ---- {{0, 222}, {500, 236}} RubberWindowFrame ! 293 371 500 500 0 0 1280 1002 Module *************** *** 471,476 **** TableOfContents ! 1C78EAA5065D492600B07095 ! 1C78EAA6065D492600B07095 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID --- 495,500 ---- TableOfContents ! 6EBC059B07DE31D700063CE8 ! 6EBC059C07DE31D700063CE8 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID *************** *** 479,483 **** xcode.toolbar.config.build WindowString ! 192 257 500 500 0 0 1280 1002 --- 503,511 ---- xcode.toolbar.config.build WindowString ! 293 371 500 500 0 0 1280 1002 ! WindowToolGUID ! 6EBC059B07DE31D700063CE8 ! WindowToolIsVisible ! *************** *** 739,742 **** --- 767,772 ---- + FirstTimeWindowDisplayed + Identifier windowTool.run *************** *** 796,800 **** {{0, 0}, {458, 143}} RubberWindowFrame ! 342 452 458 185 0 0 1440 878 Module --- 826,830 ---- {{0, 0}, {458, 143}} RubberWindowFrame ! 293 686 458 185 0 0 1280 1002 Module *************** *** 819,834 **** 1C0AD2B3069F1EA900FABCE6 ! 1C0AD2B4069F1EA900FABCE6 1CD0528B0623707200166675 ! 1C0AD2B5069F1EA900FABCE6 ToolbarConfiguration xcode.toolbar.config.run WindowString ! 342 452 458 185 0 0 1440 878 WindowToolGUID 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! --- 849,864 ---- 1C0AD2B3069F1EA900FABCE6 ! 6EBC058907DE2FC900063CE8 1CD0528B0623707200166675 ! 6EBC058A07DE2FC900063CE8 ToolbarConfiguration xcode.toolbar.config.run WindowString ! 293 686 458 185 0 0 1280 1002 WindowToolGUID 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! From neoneye at rubyforge.org Tue Mar 8 15:27:27 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 15:27:28 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj/MainMenu.nib info.nib keyedobjects.nib Message-ID: <200503082027.j28KRRdS008485@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv8467/English.lproj/MainMenu.nib Modified Files: info.nib keyedobjects.nib Log Message: now the window is resizable. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** info.nib 8 Mar 2005 19:52:47 -0000 1.2 --- info.nib 8 Mar 2005 20:27:25 -0000 1.3 *************** *** 12,15 **** --- 12,19 ---- IBFramework Version 364.0 + IBLockedObjects + + 208 + IBOpenObjects Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvswxfoVy and /tmp/cvsMEeRqF differ From neoneye at rubyforge.org Tue Mar 8 15:27:27 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 15:27:28 2005 Subject: [Aeditor-commit] projects/experimental/macirb/macirb.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503082027.j28KRRdS008490@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode In directory rubyforge.org:/tmp/cvs-serv8467/macirb.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: now the window is resizable. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simonstrandgaard.pbxuser 8 Mar 2005 19:52:47 -0000 1.2 --- simonstrandgaard.pbxuser 8 Mar 2005 20:27:25 -0000 1.3 *************** *** 285,288 **** --- 285,294 ---- 6EBC05DC07DE39B000063CE8 = 6EBC05DC07DE39B000063CE8; 6EBC05DE07DE3A4D00063CE8 = 6EBC05DE07DE3A4D00063CE8; + 6EBC05E007DE3B2700063CE8 = 6EBC05E007DE3B2700063CE8; + 6EBC05E207DE3E6400063CE8 = 6EBC05E207DE3E6400063CE8; + 6EBC05E407DE3E7E00063CE8 = 6EBC05E407DE3E7E00063CE8; + 6EBC05E607DE41F900063CE8 = 6EBC05E607DE41F900063CE8; + 6EBC05E807DE42E200063CE8 = 6EBC05E807DE42E200063CE8; + 6EBC05EA07DE430400063CE8 = 6EBC05EA07DE430400063CE8; }; sourceControlManager = 6EBC055D07DE213B00063CE8; *************** *** 959,962 **** --- 965,1028 ---- vrLoc = 0; }; + 6EBC05E007DE3B2700063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05E207DE3E6400063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05E407DE3E7E00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05E607DE41F900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05E807DE42E200063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05EA07DE430400063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; 8D1107260486CEB800E47090 = { activeExec = 0; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.mode1,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simonstrandgaard.mode1 8 Mar 2005 19:52:47 -0000 1.2 --- simonstrandgaard.mode1 8 Mar 2005 20:27:25 -0000 1.3 *************** *** 296,300 **** EvalController.m bookmark ! 6EBC05DE07DE3A4D00063CE8 history --- 296,300 ---- EvalController.m bookmark ! 6EBC05EA07DE430400063CE8 history From neoneye at rubyforge.org Tue Mar 8 15:58:03 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 15:58:03 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503082058.j28Kw3dS009466@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv9455 Modified Files: weblog.html Log Message: Learning about Cocoa Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** weblog.html 2 Mar 2005 22:09:25 -0000 1.10 --- weblog.html 8 Mar 2005 20:58:01 -0000 1.11 *************** *** 40,43 **** --- 40,52 ---- I have a small appartment in Copenhagen, the capital of Denmark.

+

Cocoa Crazy - 08 mar 2005

+

Today I wrote my first Cocoa program. I figured that I needed a + nice IRB frontend for mac. This would be a good subject + to learn about cocoa.

+ IRB for mac +

I got the frontend working relatively quickly. Now i'm investigating + how to get it connected with IRB. I suspect that I need to embed ruby into + objective C.

+

I got my Big Mac - 02 mar 2005

This Wensday I recieved my minimac. Now my desktop looks like this. From neoneye at rubyforge.org Tue Mar 8 15:58:03 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 15:58:05 2005 Subject: [Aeditor-commit] projects/documents/homepage2/data mac_irb1.png Message-ID: <200503082058.j28Kw3dS009470@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2/data In directory rubyforge.org:/tmp/cvs-serv9455/data Added Files: mac_irb1.png Log Message: Learning about Cocoa --- NEW FILE: mac_irb1.png --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Tue Mar 8 17:36:44 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 17:36:46 2005 Subject: [Aeditor-commit] projects/experimental/macirb/English.lproj/MainMenu.nib keyedobjects.nib Message-ID: <200503082236.j28MaidS015238@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv15228/English.lproj/MainMenu.nib Modified Files: keyedobjects.nib Log Message: monospaced font Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvs0MRsvu and /tmp/cvs71dyy1 differ From neoneye at rubyforge.org Tue Mar 8 17:36:44 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 8 17:36:46 2005 Subject: [Aeditor-commit] projects/experimental/macirb/macirb.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503082236.j28MaidS015242@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode In directory rubyforge.org:/tmp/cvs-serv15228/macirb.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: monospaced font Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** simonstrandgaard.pbxuser 8 Mar 2005 20:27:25 -0000 1.3 --- simonstrandgaard.pbxuser 8 Mar 2005 22:36:42 -0000 1.4 *************** *** 291,294 **** --- 291,309 ---- 6EBC05E807DE42E200063CE8 = 6EBC05E807DE42E200063CE8; 6EBC05EA07DE430400063CE8 = 6EBC05EA07DE430400063CE8; + 6EBC05EC07DE432A00063CE8 = 6EBC05EC07DE432A00063CE8; + 6EBC05EE07DE436E00063CE8 = 6EBC05EE07DE436E00063CE8; + 6EBC05F007DE500100063CE8 = 6EBC05F007DE500100063CE8; + 6EBC05F207DE5C8300063CE8 = 6EBC05F207DE5C8300063CE8; + 6EBC05F407DE5CC100063CE8 = 6EBC05F407DE5CC100063CE8; + 6EBC05F607DE5DD300063CE8 = 6EBC05F607DE5DD300063CE8; + 6EBC05FA07DE5DE400063CE8 = 6EBC05FA07DE5DE400063CE8; + 6EBC05FC07DE5DF500063CE8 = 6EBC05FC07DE5DF500063CE8; + 6EBC05FE07DE5E9900063CE8 = 6EBC05FE07DE5E9900063CE8; + 6EBC060007DE5FB800063CE8 = 6EBC060007DE5FB800063CE8; + 6EBC060207DE5FCC00063CE8 = 6EBC060207DE5FCC00063CE8; + 6EBC060407DE607F00063CE8 = 6EBC060407DE607F00063CE8; + 6EBC060607DE608F00063CE8 = 6EBC060607DE608F00063CE8; + 6EBC060807DE60FD00063CE8 = 6EBC060807DE60FD00063CE8; + 6EBC060A07DE614E00063CE8 = 6EBC060A07DE614E00063CE8; }; sourceControlManager = 6EBC055D07DE213B00063CE8; *************** *** 1025,1028 **** --- 1040,1193 ---- vrLoc = 0; }; + 6EBC05EC07DE432A00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05EE07DE436E00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05F007DE500100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05F207DE5C8300063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05F407DE5CC100063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05F607DE5DD300063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05FA07DE5DE400063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05FC07DE5DF500063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC05FE07DE5E9900063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060007DE5FB800063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060207DE5FCC00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060407DE607F00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060607DE608F00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060807DE60FD00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; + 6EBC060A07DE614E00063CE8 = { + fRef = 6EBC057E07DE2F8D00063CE8; + isa = PBXTextBookmark; + name = "EvalController.m: 19"; + rLen = 0; + rLoc = 505; + rType = 0; + vrLen = 516; + vrLoc = 0; + }; 8D1107260486CEB800E47090 = { activeExec = 0; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/macirb/macirb.xcode/simonstrandgaard.mode1,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** simonstrandgaard.mode1 8 Mar 2005 20:27:25 -0000 1.3 --- simonstrandgaard.mode1 8 Mar 2005 22:36:42 -0000 1.4 *************** *** 296,300 **** EvalController.m bookmark ! 6EBC05EA07DE430400063CE8 history --- 296,300 ---- EvalController.m bookmark ! 6EBC060A07DE614E00063CE8 history From neoneye at rubyforge.org Sat Mar 12 11:33:45 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sat Mar 12 11:33:46 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor - New directory Message-ID: <200503121633.j2CGXjdS009086@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv9082/mac_aeditor Log Message: Directory /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor added to the repository From neoneye at rubyforge.org Sat Mar 12 11:37:17 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sat Mar 12 11:37:18 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode - New directory Message-ID: <200503121637.j2CGbHdS009185@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv9179/mac_aeditor.xcode Log Message: Directory /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode added to the repository From neoneye at rubyforge.org Sat Mar 12 11:39:33 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sat Mar 12 11:39:34 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor Info.plist canvas.h canvas.m main.m version.plist Message-ID: <200503121639.j2CGdXdS009263@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv9226 Added Files: Info.plist canvas.h canvas.m main.m version.plist Log Message: This is an early skeleton for a macosx frontend for aeditor. (btw: xcode generates a bunch of files, I wonder if im adding too many to cvs.. or perhaps too few). --- NEW FILE: Info.plist --- CFBundleDevelopmentRegion English CFBundleExecutable mac_aeditor CFBundleIconFile CFBundleIdentifier com.apple.myCocoaApp CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType APPL CFBundleSignature ???? CFBundleVersion 1.0 NSMainNibFile MainMenu NSPrincipalClass NSApplication --- NEW FILE: main.m --- // // main.m // mac_aeditor // // Created by Simon Strandgaard on 12/3-05. // Copyright __MyCompanyName__ 2005. All rights reserved. // #import int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **) argv); } --- NEW FILE: canvas.m --- // // canvas.m // mac_aeditor // // Created by Simon Strandgaard on 12/3-05. // Copyright 2005 __MyCompanyName__. All rights reserved. // #import "canvas.h" @implementation canvas - (id)initWithFrame:(NSRect)frame { self = [super initWithFrame:frame]; if (self) { // Initialization code here. } return self; } - (void)drawRect:(NSRect)rect { // Drawing code here. } - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; printf("key event %s\n", [key cString]); } - (BOOL)acceptsFirstResponder { return YES; } @end --- NEW FILE: canvas.h --- // // canvas.h // mac_aeditor // // Created by Simon Strandgaard on 12/3-05. // Copyright 2005 __MyCompanyName__. All rights reserved. // #import @interface canvas : NSView { } @end --- NEW FILE: version.plist --- BuildVersion 92 CFBundleVersion 1.0 ProductBuildVersion 7K571 ProjectName NibPBTemplates SourceVersion 1200000 From neoneye at rubyforge.org Sat Mar 12 11:39:33 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sat Mar 12 11:39:34 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503121639.j2CGdXdS009266@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv9226/mac_aeditor.xcode Added Files: project.pbxproj simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: This is an early skeleton for a macosx frontend for aeditor. (btw: xcode generates a bunch of files, I wonder if im adding too many to cvs.. or perhaps too few). --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 080E96DDFE201D6D7F000001 = { children = ( 6E2C7A9C07E34FEC00483E08, 6E2C7A9D07E34FEC00483E08, ); isa = PBXGroup; name = Classes; refType = 4; sourceTree = ""; }; 089C165CFE840E0CC02AAC07 = { children = ( 089C165DFE840E0CC02AAC07, ); isa = PBXVariantGroup; name = InfoPlist.strings; refType = 4; sourceTree = ""; }; 089C165DFE840E0CC02AAC07 = { fileEncoding = 10; isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; refType = 4; sourceTree = ""; }; //080 //081 //082 //083 //084 //100 //101 //102 //103 //104 1058C7A0FEA54F0111CA2CBB = { children = ( 1058C7A1FEA54F0111CA2CBB, ); isa = PBXGroup; name = "Linked Frameworks"; refType = 4; sourceTree = ""; }; 1058C7A1FEA54F0111CA2CBB = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; refType = 0; sourceTree = ""; }; 1058C7A2FEA54F0111CA2CBB = { children = ( 29B97325FDCFA39411CA2CEA, 29B97324FDCFA39411CA2CEA, ); isa = PBXGroup; name = "Other Frameworks"; refType = 4; sourceTree = ""; }; //100 //101 //102 //103 //104 //190 //191 //192 //193 //194 19C28FACFE9D520D11CA2CBB = { children = ( 8D1107320486CEB800E47090, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = ""; }; //190 //191 //192 //193 //194 //290 //291 //292 //293 //294 29B97313FDCFA39411CA2CEA = { buildSettings = { }; buildStyles = ( 4A9504CCFFE6A4B311CA0CBA, 4A9504CDFFE6A4B311CA0CBA, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 29B97314FDCFA39411CA2CEA; projectDirPath = ""; targets = ( 8D1107260486CEB800E47090, ); }; 29B97314FDCFA39411CA2CEA = { children = ( 080E96DDFE201D6D7F000001, 29B97315FDCFA39411CA2CEA, 29B97317FDCFA39411CA2CEA, 29B97323FDCFA39411CA2CEA, 19C28FACFE9D520D11CA2CBB, ); isa = PBXGroup; name = mac_aeditor; path = ""; refType = 4; sourceTree = ""; }; 29B97315FDCFA39411CA2CEA = { children = ( 32CA4F630368D1EE00C91783, 29B97316FDCFA39411CA2CEA, ); isa = PBXGroup; name = "Other Sources"; path = ""; refType = 4; sourceTree = ""; }; 29B97316FDCFA39411CA2CEA = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; refType = 4; sourceTree = ""; }; 29B97317FDCFA39411CA2CEA = { children = ( 8D1107310486CEB800E47090, 089C165CFE840E0CC02AAC07, 29B97318FDCFA39411CA2CEA, ); isa = PBXGroup; name = Resources; path = ""; refType = 4; sourceTree = ""; }; 29B97318FDCFA39411CA2CEA = { children = ( 29B97319FDCFA39411CA2CEA, ); isa = PBXVariantGroup; name = MainMenu.nib; path = ""; refType = 4; sourceTree = ""; }; 29B97319FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; refType = 4; sourceTree = ""; }; 29B97323FDCFA39411CA2CEA = { children = ( 1058C7A0FEA54F0111CA2CBB, 1058C7A2FEA54F0111CA2CBB, ); isa = PBXGroup; name = Frameworks; path = ""; refType = 4; sourceTree = ""; }; 29B97324FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; refType = 0; sourceTree = ""; }; 29B97325FDCFA39411CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; refType = 0; sourceTree = ""; }; //290 //291 //292 //293 //294 //320 //321 //322 //323 //324 32CA4F630368D1EE00C91783 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = mac_aeditor_Prefix.pch; refType = 4; sourceTree = ""; }; //320 //321 //322 //323 //324 //4A0 //4A1 //4A2 //4A3 //4A4 4A9504CCFFE6A4B311CA0CBA = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = YES; }; isa = PBXBuildStyle; name = Development; }; 4A9504CDFFE6A4B311CA0CBA = { buildSettings = { COPY_PHASE_STRIP = YES; GCC_ENABLE_FIX_AND_CONTINUE = NO; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Deployment; }; //4A0 //4A1 //4A2 //4A3 //4A4 //6E0 //6E1 //6E2 //6E3 //6E4 6E2C7A9C07E34FEC00483E08 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = canvas.h; refType = 4; sourceTree = ""; }; 6E2C7A9D07E34FEC00483E08 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = canvas.m; refType = 4; sourceTree = ""; }; 6E2C7A9E07E34FEC00483E08 = { fileRef = 6E2C7A9C07E34FEC00483E08; isa = PBXBuildFile; settings = { }; }; 6E2C7A9F07E34FEC00483E08 = { fileRef = 6E2C7A9D07E34FEC00483E08; isa = PBXBuildFile; settings = { }; }; //6E0 //6E1 //6E2 //6E3 //6E4 //8D0 //8D1 //8D2 //8D3 //8D4 8D1107260486CEB800E47090 = { buildPhases = ( 8D1107290486CEB800E47090, 8D11072C0486CEB800E47090, 8D11072E0486CEB800E47090, ); buildRules = ( ); buildSettings = { GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = mac_aeditor_Prefix.pch; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; PRODUCT_NAME = mac_aeditor; WRAPPER_EXTENSION = app; }; dependencies = ( ); isa = PBXNativeTarget; name = mac_aeditor; productInstallPath = "$(HOME)/Applications"; productName = mac_aeditor; productReference = 8D1107320486CEB800E47090; productType = "com.apple.product-type.application"; }; 8D1107290486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072A0486CEB800E47090, 8D11072B0486CEB800E47090, 6E2C7A9E07E34FEC00483E08, ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072A0486CEB800E47090 = { fileRef = 29B97318FDCFA39411CA2CEA; isa = PBXBuildFile; settings = { }; }; 8D11072B0486CEB800E47090 = { fileRef = 089C165CFE840E0CC02AAC07; isa = PBXBuildFile; settings = { }; }; 8D11072C0486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072D0486CEB800E47090, 6E2C7A9F07E34FEC00483E08, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072D0486CEB800E47090 = { fileRef = 29B97316FDCFA39411CA2CEA; isa = PBXBuildFile; settings = { ATTRIBUTES = ( ); }; }; 8D11072E0486CEB800E47090 = { buildActionMask = 2147483647; files = ( 8D11072F0486CEB800E47090, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D11072F0486CEB800E47090 = { fileRef = 1058C7A1FEA54F0111CA2CBB; isa = PBXBuildFile; settings = { }; }; 8D1107310486CEB800E47090 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; refType = 4; sourceTree = ""; }; 8D1107320486CEB800E47090 = { explicitFileType = wrapper.application; includeInIndex = 0; isa = PBXFileReference; path = mac_aeditor.app; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 29B97313FDCFA39411CA2CEA; } --- NEW FILE: simonstrandgaard.pbxuser --- // !$*UTF8*$! { 089C165DFE840E0CC02AAC07 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {711, 428}}"; sepNavSelRange = "{122, 0}"; sepNavVisRect = "{{0, 0}, {711, 428}}"; sepNavWindowFrame = "{{38, 418}, {750, 558}}"; }; }; 29B97313FDCFA39411CA2CEA = { activeBuildStyle = 4A9504CCFFE6A4B311CA0CBA; activeExecutable = 6E777EA307E34FA4008405DA; activeTarget = 8D1107260486CEB800E47090; addToTargets = ( 8D1107260486CEB800E47090, ); codeSenseManager = 6E777EB207E34FB2008405DA; executables = ( 6E777EA307E34FA4008405DA, ); perUserDictionary = { PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, 352, 20, 67, 43, 43, 20, ); PBXFileTableDataSourceColumnsKey = ( PBXFileDataSource_FiletypeID, PBXFileDataSource_Filename_ColumnID, PBXFileDataSource_Built_ColumnID, PBXFileDataSource_ObjectSize_ColumnID, PBXFileDataSource_Errors_ColumnID, PBXFileDataSource_Warnings_ColumnID, PBXFileDataSource_Target_ColumnID, ); }; PBXPerProjectTemplateStateSaveDate = 132337606; PBXPrepackagedSmartGroups_v2 = ( { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; activationKey = OldTargetSmartGroup; clz = PBXTargetSmartGroup; description = "Displays all targets of the project."; globalID = 1C37FABC04509CD000000102; name = Targets; preferences = { image = Targets; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXTargetSmartGroup2; description = "Displays all targets of the project as well as nested build phases."; globalID = 1C37FBAC04509CD000000102; name = Targets; preferences = { image = Targets; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXExecutablesSmartGroup; description = "Displays all executables of the project."; globalID = 1C37FAAC04509CD000000102; name = Executables; preferences = { image = Executable; }; }, { " PBXTransientLocationAtTop " = bottom; absolutePathToBundle = ""; clz = PBXErrorsWarningsSmartGroup; description = "Displays files with errors or warnings."; globalID = 1C08E77C0454961000C914BD; name = "Errors and Warnings"; preferences = { fnmatch = ""; image = WarningsErrors; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = 1CC0EA4004350EF90044410B; name = "Implementation Files"; preferences = { canSave = 1; fnmatch = ""; image = SmartFolder; isLeaf = 0; recursive = 1; regex = "?*\\.[mcMC]"; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "This group displays Interface Builder NIB Files."; globalID = 1CC0EA4004350EF90041110B; name = "NIB Files"; preferences = { canSave = 1; fnmatch = "*.nib"; image = SmartFolder; isLeaf = 0; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = no; absolutePathToBundle = ""; clz = PBXFindSmartGroup; description = "Displays Find Results."; globalID = 1C37FABC05509CD000000102; name = "Find Results"; preferences = { image = spyglass; }; }, { PBXTransientLocationAtTop = no; absolutePathToBundle = ""; clz = PBXBookmarksSmartGroup; description = "Displays Project Bookmarks."; globalID = 1C37FABC05539CD112110102; name = Bookmarks; preferences = { image = Bookmarks; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = XCSCMSmartGroup; description = "Displays files with interesting SCM status."; globalID = E2644B35053B69B200211256; name = SCM; preferences = { image = PBXRepository; isLeaf = 0; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXSymbolsSmartGroup; description = "Displays all symbols for the project."; globalID = 1C37FABC04509CD000100104; name = "Project Symbols"; preferences = { image = ProjectSymbols; isLeaf = 1; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = PBXTemplateMarker; name = "Simple Filter SmartGroup"; preferences = { canSave = 1; fnmatch = "*.nib"; image = SmartFolder; isLeaf = 0; recursive = 1; regex = ""; root = ""; }; }, { PBXTransientLocationAtTop = bottom; absolutePathToBundle = ""; clz = PBXFilenameSmartGroup; description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; globalID = PBXTemplateMarker; name = "Simple Regular Expression SmartGroup"; preferences = { canSave = 1; fnmatch = ""; image = SmartFolder; isLeaf = 0; recursive = 1; regex = "?*\\.[mcMC]"; root = ""; }; }, { PBXTransientLocationAtTop = bottom; clz = XDDesignSmartGroup; description = "Displays Xdesign models"; globalID = 2E4A936305E6979E00701470; name = Design; preferences = { image = Design; isLeaf = 0; }; }, ); PBXWorkspaceStateSaveDate = 132337606; }; perUserProjectItems = { 6E2C7AA007E3501A00483E08 = 6E2C7AA007E3501A00483E08; 6E2C7AA107E3501A00483E08 = 6E2C7AA107E3501A00483E08; 6E2C7AA207E3501A00483E08 = 6E2C7AA207E3501A00483E08; 6E2C7AA307E3501A00483E08 = 6E2C7AA307E3501A00483E08; 6E2C7AA407E3501A00483E08 = 6E2C7AA407E3501A00483E08; 6E2C7AA507E3501A00483E08 = 6E2C7AA507E3501A00483E08; 6E2C7AA807E3506A00483E08 = 6E2C7AA807E3506A00483E08; 6E2C7AAB07E350C700483E08 = 6E2C7AAB07E350C700483E08; 6E2C7AAC07E350C700483E08 = 6E2C7AAC07E350C700483E08; 6E2C7AAD07E350E500483E08 = 6E2C7AAD07E350E500483E08; 6E2C7AAE07E350EB00483E08 = 6E2C7AAE07E350EB00483E08; 6E2C7AAF07E3512600483E08 = 6E2C7AAF07E3512600483E08; 6E2C7AB307E3513D00483E08 = 6E2C7AB307E3513D00483E08; 6E2C7AB407E3515C00483E08 = 6E2C7AB407E3515C00483E08; 6E2C7AB507E3516D00483E08 = 6E2C7AB507E3516D00483E08; 6E2C7AB607E3518400483E08 = 6E2C7AB607E3518400483E08; 6E2C7AB707E3518900483E08 = 6E2C7AB707E3518900483E08; 6E2C7AB807E351A100483E08 = 6E2C7AB807E351A100483E08; 6E2C7AB907E351BA00483E08 = 6E2C7AB907E351BA00483E08; 6E2C7ABF07E3520A00483E08 = 6E2C7ABF07E3520A00483E08; 6E2C7AC407E3521E00483E08 = 6E2C7AC407E3521E00483E08; 6E2C7AC707E3523E00483E08 = 6E2C7AC707E3523E00483E08; }; sourceControlManager = 6E777EB107E34FB2008405DA; userBuildSettings = { }; }; 6E2C7A9C07E34FEC00483E08 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {646.501, 661}}"; sepNavSelRange = "{0, 0}"; sepNavVisRect = "{{0, 0}, {569, 661}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; }; 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {646.501, 760}}"; sepNavSelRange = "{485, 0}"; sepNavVisRect = "{{0, 99}, {569, 661}}"; }; }; 6E2C7AA007E3501A00483E08 = { fRef = 6E2C7A9C07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 207; vrLoc = 0; }; 6E2C7AA107E3501A00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 409; vrLoc = 0; }; 6E2C7AA207E3501A00483E08 = { fRef = 6E2C7A9C07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 207; vrLoc = 0; }; 6E2C7AA307E3501A00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 409; vrLoc = 0; }; 6E2C7AA407E3501A00483E08 = { fRef = 6E2C7A9C07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 207; vrLoc = 0; }; 6E2C7AA507E3501A00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 23"; rLen = 0; rLoc = 400; rType = 0; vrLen = 409; vrLoc = 0; }; 6E2C7AA807E3506A00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 23"; rLen = 0; rLoc = 400; rType = 0; vrLen = 409; vrLoc = 0; }; 6E2C7AAB07E350C700483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AAC07E350C700483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AAD07E350E500483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AAE07E350EB00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AAF07E3512600483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB307E3513D00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB407E3515C00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB507E3516D00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB607E3518400483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB707E3518900483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 505; rType = 0; vrLen = 612; vrLoc = 32; }; 6E2C7AB807E351A100483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 40"; rLen = 0; rLoc = 564; rType = 0; vrLen = 551; vrLoc = 143; }; 6E2C7AB907E351BA00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 518; rType = 0; vrLen = 563; vrLoc = 143; }; 6E2C7ABF07E3520A00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 485; rType = 0; vrLen = 551; vrLoc = 35; }; 6E2C7AC407E3521E00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 485; rType = 0; vrLen = 551; vrLoc = 35; }; 6E2C7AC707E3523E00483E08 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; name = "canvas.m: 29"; rLen = 0; rLoc = 485; rType = 0; vrLen = 551; vrLoc = 35; }; 6E777EA307E34FA4008405DA = { activeArgIndex = 2147483647; activeArgIndices = ( ); argumentStrings = ( ); configStateDict = { }; cppStopOnCatchEnabled = 0; cppStopOnThrowEnabled = 0; customDataFormattersEnabled = 1; debuggerPlugin = GDBDebugging; disassemblyDisplayState = 0; dylibVariantSuffix = ""; enableDebugStr = 1; environmentEntries = ( ); isa = PBXExecutable; libgmallocEnabled = 0; name = mac_aeditor; shlibInfoDictList = ( ); sourceDirectories = ( ); }; 6E777EB107E34FB2008405DA = { fallbackIsa = XCSourceControlManager; isSCMEnabled = 0; isa = PBXSourceControlManager; scmConfiguration = { }; scmType = ""; }; 6E777EB207E34FB2008405DA = { indexTemplatePath = ""; isa = PBXCodeSenseManager; usesDefaults = 1; wantsCodeCompletion = 1; wantsCodeCompletionAutoSuggestions = 0; wantsCodeCompletionCaseSensitivity = 1; wantsCodeCompletionListAlways = 1; wantsCodeCompletionOnlyMatchingItems = 1; wantsCodeCompletionParametersIncluded = 1; wantsCodeCompletionPlaceholdersInserted = 1; wantsCodeCompletionTabCompletes = 1; wantsIndex = 1; }; 8D1107260486CEB800E47090 = { activeExec = 0; executables = ( 6E777EA307E34FA4008405DA, ); }; } --- NEW FILE: simonstrandgaard.mode1 --- ActivePerspectiveName Project AllowedModules BundleLoadPath MaxInstances n Module PBXSmartGroupTreeModule Name Groups and Files Outline View [...1081 lines suppressed...] StatusbarIsVisible TableOfContents 1C0AD2AF069F1E9B00FABCE6 1C0AD2B0069F1E9B00FABCE6 1CA6456E063B45B4001379D8 ToolbarConfiguration xcode.toolbar.config.classbrowser WindowString 385 179 630 352 0 0 1440 878 WindowToolGUID 1C0AD2AF069F1E9B00FABCE6 WindowToolIsVisible From neoneye at rubyforge.org Tue Mar 15 06:38:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 06:38:13 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151138.j2FBcCdS007400@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv7379 Modified Files: canvas.m Log Message: we can now render more lines of text (with the correct height). Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** canvas.m 12 Mar 2005 16:39:31 -0000 1.1 --- canvas.m 15 Mar 2005 11:38:10 -0000 1.2 *************** *** 9,12 **** --- 9,15 ---- #import "canvas.h" + #define FONTSIZE 24 + #define FONTNAME @"Courier" + @implementation canvas *************** *** 21,35 **** - (void)drawRect:(NSRect)rect { ! // Drawing code here. } ! - (void)keyDown:(NSEvent *)theEvent ! { NSString *key = [theEvent characters]; printf("key event %s\n", [key cString]); } ! - (BOOL)acceptsFirstResponder ! { return YES; } --- 24,51 ---- - (void)drawRect:(NSRect)rect { ! NSString* texts[2] = { ! @"im number0", ! @"and im 1" ! }; ! NSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE]; ! NSColor* color = [NSColor blackColor]; ! NSDictionary* attrs = [ ! NSDictionary dictionaryWithObjectsAndKeys: ! font, NSFontAttributeName, ! color, NSForegroundColorAttributeName, nil ! ]; ! NSSize size = [@"text1" sizeWithAttributes:attrs]; ! int i; ! for(i=0; i<8; i++) { ! [texts[i%2] drawAtPoint:NSMakePoint(0,size.height * i) withAttributes:attrs]; ! } } ! - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; printf("key event %s\n", [key cString]); } ! - (BOOL)acceptsFirstResponder { return YES; } From neoneye at rubyforge.org Tue Mar 15 06:38:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 06:38:13 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151138.j2FBcCdS007402@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv7379/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: we can now render more lines of text (with the correct height). Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simonstrandgaard.pbxuser 12 Mar 2005 16:39:31 -0000 1.1 --- simonstrandgaard.pbxuser 15 Mar 2005 11:38:10 -0000 1.2 *************** *** 3,9 **** 089C165DFE840E0CC02AAC07 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {711, 428}}"; sepNavSelRange = "{122, 0}"; ! sepNavVisRect = "{{0, 0}, {711, 428}}"; sepNavWindowFrame = "{{38, 418}, {750, 558}}"; }; --- 3,9 ---- 089C165DFE840E0CC02AAC07 = { uiCtxt = { [...1128 lines suppressed...] ! fRef = 6E2C7A9D07E34FEC00483E08; ! isa = PBXTextBookmark; ! name = "canvas.m: 30"; ! rLen = 0; ! rLoc = 534; ! rType = 0; ! vrLen = 775; ! vrLoc = 313; ! }; ! 6E8C0DE707E701630008C136 = { ! fRef = 6E2C7A9D07E34FEC00483E08; ! isa = PBXTextBookmark; ! name = "canvas.m: 30"; ! rLen = 0; ! rLoc = 534; ! rType = 0; ! vrLen = 775; ! vrLoc = 313; }; 8D1107260486CEB800E47090 = { Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simonstrandgaard.mode1 12 Mar 2005 16:39:31 -0000 1.1 --- simonstrandgaard.mode1 15 Mar 2005 11:38:10 -0000 1.2 *************** *** 249,259 **** ! 8 ! 5 0 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey ! {{0, 0}, {186, 682}} PBXTopSmartGroupGIDs --- 249,258 ---- ! 1 0 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey ! {{0, 0}, {186, 886}} PBXTopSmartGroupGIDs *************** *** 263,267 **** Frame ! {{0, 0}, {203, 700}} GroupTreeTableConfiguration --- 262,266 ---- Frame ! {{0, 0}, {203, 904}} GroupTreeTableConfiguration *************** *** 270,274 **** RubberWindowFrame ! 127 207 819 742 0 0 1280 1002 Module --- 269,273 ---- RubberWindowFrame ! -1 56 1218 946 0 0 1280 1002 Module *************** *** 296,304 **** canvas.m bookmark ! 6E2C7AC707E3523E00483E08 history ! 6E2C7AA007E3501A00483E08 ! 6E2C7AAB07E350C700483E08 prevStack --- 295,305 ---- canvas.m bookmark ! 6E8C0DE707E701630008C136 history ! 6E8C0D9D07E6F25A0008C136 ! 6E8C0D9E07E6F25A0008C136 ! 6E8C0DD207E6FF410008C136 ! 6E8C0DD307E6FF410008C136 prevStack *************** *** 306,310 **** 6E2C7AA207E3501A00483E08 6E2C7AA307E3501A00483E08 ! 6E2C7AA407E3501A00483E08 --- 307,319 ---- 6E2C7AA207E3501A00483E08 6E2C7AA307E3501A00483E08 ! 6E8C0DA107E6F25A0008C136 ! 6E8C0DA207E6F25A0008C136 ! 6E8C0DA307E6F25A0008C136 ! 6E8C0DA407E6F25A0008C136 ! 6E8C0DA507E6F25A0008C136 ! 6E8C0DD407E6FF410008C136 ! 6E8C0DD507E6FF410008C136 ! 6E8C0DD607E6FF410008C136 ! 6E8C0DD707E6FF410008C136 *************** *** 318,329 **** Frame ! {{0, 0}, {610, 693}} RubberWindowFrame ! 127 207 819 742 0 0 1280 1002 Module PBXNavigatorGroup Proportion ! 693pt --- 327,338 ---- Frame ! {{0, 0}, {1009, 803}} RubberWindowFrame ! -1 56 1218 946 0 0 1280 1002 Module PBXNavigatorGroup Proportion ! 803pt *************** *** 338,353 **** Frame ! {{0, 700}, {610, 0}} RubberWindowFrame ! 127 207 819 742 0 0 1280 1002 Module XCDetailModule Proportion ! 0pt Proportion ! 610pt --- 347,362 ---- Frame ! {{0, 810}, {1009, 94}} RubberWindowFrame ! -1 56 1218 946 0 0 1280 1002 Module XCDetailModule Proportion ! 94pt Proportion ! 1009pt *************** *** 364,370 **** TableOfContents ! 6E2C7AA607E3501A00483E08 1CE0B1FE06471DED0097A5F4 ! 6E2C7AA707E3501A00483E08 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 --- 373,379 ---- TableOfContents ! 6E8C0D9107E6EA650008C136 1CE0B1FE06471DED0097A5F4 ! 6E8C0D9207E6EA650008C136 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 *************** *** 398,402 **** WindowString ! 127 207 819 742 0 0 1280 1002 WindowTools --- 407,411 ---- WindowString ! -1 56 1218 946 0 0 1280 1002 WindowTools *************** *** 778,783 **** sizes ! {{0, 0}, {491, 167}} ! {{0, 176}, {491, 267}} --- 787,792 ---- sizes ! {{0, 0}, {366, 167}} ! {{0, 176}, {366, 267}} *************** *** 828,834 **** 1C0AD2B3069F1EA900FABCE6 ! 6E2C7AB007E3512600483E08 1CD0528B0623707200166675 ! 6E2C7AB107E3512600483E08 ToolbarConfiguration --- 837,843 ---- 1C0AD2B3069F1EA900FABCE6 ! 6E8C0D9307E6EA650008C136 1CD0528B0623707200166675 ! 6E8C0D9407E6EA650008C136 ToolbarConfiguration From neoneye at rubyforge.org Tue Mar 15 08:19:32 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:19:33 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151319.j2FDJWdS012972@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv12948 Modified Files: canvas.m Log Message: better organized code. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** canvas.m 15 Mar 2005 11:38:10 -0000 1.2 --- canvas.m 15 Mar 2005 13:19:30 -0000 1.3 *************** *** 9,15 **** #import "canvas.h" ! #define FONTSIZE 24 #define FONTNAME @"Courier" @implementation canvas --- 9,20 ---- #import "canvas.h" ! #define FONTSIZE 12 #define FONTNAME @"Courier" + static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; + static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT = 0x256E; + static unichar UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT = 0x2570; + static unichar UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT = 0x256F; + static unichar UC_SQUARE_MM_SQUARED = 0x339F; @implementation canvas *************** *** 24,31 **** - (void)drawRect:(NSRect)rect { ! NSString* texts[2] = { ! @"im number0", ! @"and im 1" ! }; NSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE]; NSColor* color = [NSColor blackColor]; --- 29,52 ---- - (void)drawRect:(NSRect)rect { ! NSRect bounds = [self bounds]; ! printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); ! ! // build some strings to output ! NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"str %@%@ str 0123", ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ! ]; ! texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"str %@%@ str '%@'", ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], ! [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1] ! ! ]; ! texts[1] = str1; ! ! ! // pick a font NSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE]; NSColor* color = [NSColor blackColor]; *************** *** 35,42 **** color, NSForegroundColorAttributeName, nil ]; ! NSSize size = [@"text1" sizeWithAttributes:attrs]; int i; ! for(i=0; i<8; i++) { ! [texts[i%2] drawAtPoint:NSMakePoint(0,size.height * i) withAttributes:attrs]; } } --- 56,77 ---- color, NSForegroundColorAttributeName, nil ]; ! NSSize size = [@"m" sizeWithAttributes:attrs]; ! printf("fontsize x=%f y=%f\n", size.width, size.height); ! int lines = (bounds.size.height+size.height-1)/size.height; ! ! ! // fill backgound ! [[NSColor whiteColor] set]; ! [NSBezierPath fillRect:bounds]; ! ! // fill lines of text int i; ! for(i=0; i < lines; i++) { ! NSPoint point = NSMakePoint( ! 0, ! bounds.size.height - size.height * (i+1) ! ); ! NSString *s = [NSString stringWithFormat:@"%3i %@", i, texts[i%2]]; ! [s drawAtPoint:point withAttributes:attrs]; } } From neoneye at rubyforge.org Tue Mar 15 08:19:32 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:19:33 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151319.j2FDJWdS012976@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv12948/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: better organized code. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simonstrandgaard.pbxuser 15 Mar 2005 11:38:10 -0000 1.2 --- simonstrandgaard.pbxuser 15 Mar 2005 13:19:30 -0000 1.3 *************** *** 296,299 **** --- 296,475 ---- 6E8C0DE607E701560008C136 = 6E8C0DE607E701560008C136; 6E8C0DE707E701630008C136 = 6E8C0DE707E701630008C136; + 6E8C0DE807E701970008C136 = 6E8C0DE807E701970008C136; + 6E8C0DE907E701B50008C136 = 6E8C0DE907E701B50008C136; + 6E8C0DEA07E701B90008C136 = 6E8C0DEA07E701B90008C136; + 6E8C0DEB07E702370008C136 = 6E8C0DEB07E702370008C136; + 6E8C0DEE07E702870008C136 = 6E8C0DEE07E702870008C136; + 6E8C0DEF07E702870008C136 = 6E8C0DEF07E702870008C136; + 6E8C0DF207E7028A0008C136 = 6E8C0DF207E7028A0008C136; [...2645 lines suppressed...] + isa = PBXTextBookmark; + name = "canvas.m: 72"; + rLen = 0; + rLoc = 2106; + rType = 0; + vrLen = 854; + vrLoc = 1604; + }; + 6E8C0EA607E7194E0008C136 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 37"; + rLen = 0; + rLoc = 1040; + rType = 0; + vrLen = 431; + vrLoc = 696; + }; 8D1107260486CEB800E47090 = { activeExec = 0; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simonstrandgaard.mode1 15 Mar 2005 11:38:10 -0000 1.2 --- simonstrandgaard.mode1 15 Mar 2005 13:19:30 -0000 1.3 *************** *** 244,254 **** 29B97317FDCFA39411CA2CEA 19C28FACFE9D520D11CA2CBB 1C37FABC05509CD000000102 PBXSmartGroupTreeModuleOutlineStateSelectionKey ! 1 ! 0 --- 244,256 ---- 29B97317FDCFA39411CA2CEA 19C28FACFE9D520D11CA2CBB + 1C08E77C0454961000C914BD 1C37FABC05509CD000000102 + 1CC0EA4004350EF90041110B PBXSmartGroupTreeModuleOutlineStateSelectionKey ! 21 ! 20 *************** *** 295,299 **** canvas.m bookmark ! 6E8C0DE707E701630008C136 history --- 297,301 ---- canvas.m bookmark ! 6E8C0EA507E7194E0008C136 history *************** *** 403,406 **** --- 405,409 ---- WindowOrderList + 6E8C0DF007E702870008C136 1C0AD2B3069F1EA900FABCE6 /Users/simonstrandgaard/code/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode *************** *** 411,414 **** --- 414,419 ---- + FirstTimeWindowDisplayed + Identifier windowTool.build *************** *** 424,428 **** 1CD0528F0623707200166675 PBXProjectModuleLabel ! <No Editor> PBXSplitModuleInNavigatorKey --- 429,433 ---- 1CD0528F0623707200166675 PBXProjectModuleLabel ! canvas.m PBXSplitModuleInNavigatorKey *************** *** 431,434 **** --- 436,447 ---- PBXProjectModuleGUID 1CD052900623707200166675 + PBXProjectModuleLabel + canvas.m + bookmark + 6E8C0EA607E7194E0008C136 + history + + 6E8C0E5007E7113D0008C136 + SplitCount *************** *** 443,447 **** {{0, 0}, {500, 215}} RubberWindowFrame ! 192 257 500 500 0 0 1280 1002 Module --- 456,460 ---- {{0, 0}, {500, 215}} RubberWindowFrame ! 42 479 500 500 0 0 1280 1002 Module *************** *** 459,462 **** --- 472,479 ---- PBXProjectModuleLabel Build + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 GeometryConfiguration *************** *** 465,469 **** {{0, 222}, {500, 236}} RubberWindowFrame ! 192 257 500 500 0 0 1280 1002 Module --- 482,486 ---- {{0, 222}, {500, 236}} RubberWindowFrame ! 42 479 500 500 0 0 1280 1002 Module *************** *** 487,492 **** TableOfContents ! 1C78EAA5065D492600B07095 ! 1C78EAA6065D492600B07095 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID --- 504,509 ---- TableOfContents ! 6E8C0DF007E702870008C136 ! 6E8C0DF107E702870008C136 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID *************** *** 495,499 **** xcode.toolbar.config.build WindowString ! 192 257 500 500 0 0 1280 1002 --- 512,520 ---- xcode.toolbar.config.build WindowString ! 42 479 500 500 0 0 1280 1002 ! WindowToolGUID ! 6E8C0DF007E702870008C136 ! WindowToolIsVisible ! From neoneye at rubyforge.org Tue Mar 15 08:20:59 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:21:00 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151320.j2FDKxdS013017@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv13001/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: xcode locks it files.. so I couldn't commit. I just realized that when I saw the list of errors. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** simonstrandgaard.pbxuser 15 Mar 2005 13:19:30 -0000 1.3 --- simonstrandgaard.pbxuser 15 Mar 2005 13:20:57 -0000 1.4 *************** *** 225,242 **** }; perUserProjectItems = { - 6E2C7AA007E3501A00483E08 = 6E2C7AA007E3501A00483E08; 6E2C7AA207E3501A00483E08 = 6E2C7AA207E3501A00483E08; 6E2C7AA307E3501A00483E08 = 6E2C7AA307E3501A00483E08; - 6E2C7AA407E3501A00483E08 = 6E2C7AA407E3501A00483E08; - 6E2C7AAB07E350C700483E08 = 6E2C7AAB07E350C700483E08; - 6E2C7AC907E353C300483E08 = 6E2C7AC907E353C300483E08; - 6E8C0D9007E6EA650008C136 = 6E8C0D9007E6EA650008C136; - 6E8C0D9507E6EAA10008C136 = 6E8C0D9507E6EAA10008C136; [...2581 lines suppressed...] isa = PBXTextBookmark; --- 467,471 ---- rType = 1; }; ! 6E8C0EA907E7197D0008C136 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; *************** *** 2987,2991 **** vrLoc = 1604; }; ! 6E8C0EA607E7194E0008C136 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; --- 477,481 ---- vrLoc = 1604; }; ! 6E8C0EAA07E7197D0008C136 = { fRef = 6E2C7A9D07E34FEC00483E08; isa = PBXTextBookmark; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** simonstrandgaard.mode1 15 Mar 2005 13:19:30 -0000 1.3 --- simonstrandgaard.mode1 15 Mar 2005 13:20:57 -0000 1.4 *************** *** 297,301 **** canvas.m bookmark ! 6E8C0EA507E7194E0008C136 history --- 297,301 ---- canvas.m bookmark ! 6E8C0EA907E7197D0008C136 history *************** *** 439,443 **** canvas.m bookmark ! 6E8C0EA607E7194E0008C136 history --- 439,443 ---- canvas.m bookmark ! 6E8C0EAA07E7197D0008C136 history From neoneye at rubyforge.org Tue Mar 15 08:24:09 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:24:11 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj - New directory Message-ID: <200503151324.j2FDO9dS013149@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj In directory rubyforge.org:/tmp/cvs-serv13145/English.lproj Log Message: Directory /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj added to the repository From neoneye at rubyforge.org Tue Mar 15 08:24:42 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:24:43 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib - New directory Message-ID: <200503151324.j2FDOgdS013174@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv13168/MainMenu.nib Log Message: Directory /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib added to the repository From neoneye at rubyforge.org Tue Mar 15 08:25:17 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:25:18 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj InfoPlist.strings Message-ID: <200503151325.j2FDPHdS013210@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj In directory rubyforge.org:/tmp/cvs-serv13203/English.lproj Added Files: InfoPlist.strings Log Message: for some reasone these files could not be commited. --- NEW FILE: InfoPlist.strings --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Tue Mar 15 08:25:17 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 08:25:18 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib classes.nib info.nib objects.nib Message-ID: <200503151325.j2FDPHdS013213@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv13203/English.lproj/MainMenu.nib Added Files: classes.nib info.nib objects.nib Log Message: for some reasone these files could not be commited. --- NEW FILE: info.nib --- IBDocumentLocation 94 102 356 240 0 0 1280 1002 IBEditorPositions 29 94 344 318 44 0 0 1280 1002 IBFramework Version 364.0 IBOpenObjects 29 21 IBSystem Version 7U16 --- NEW FILE: objects.nib --- (This appears to be a binary file; contents omitted.) --- NEW FILE: classes.nib --- { IBClasses = ( {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, {CLASS = canvas; LANGUAGE = ObjC; SUPERCLASS = NSView; } ); IBVersion = 1; } From neoneye at rubyforge.org Tue Mar 15 09:54:49 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 09:54:51 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151454.j2FEsndS020438@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv20317 Modified Files: canvas.m Log Message: the height of the glyphs are now measured better. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** canvas.m 15 Mar 2005 13:19:30 -0000 1.3 --- canvas.m 15 Mar 2005 14:54:47 -0000 1.4 *************** *** 34,43 **** // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"str %@%@ str 0123", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"str %@%@ str '%@'", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], --- 34,43 ---- // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"str %@%@ sMr 0123", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"str %@%@ sMtr '%@'", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], *************** *** 56,62 **** color, NSForegroundColorAttributeName, nil ]; ! NSSize size = [@"m" sizeWithAttributes:attrs]; ! printf("fontsize x=%f y=%f\n", size.width, size.height); ! int lines = (bounds.size.height+size.height-1)/size.height; --- 56,67 ---- color, NSForegroundColorAttributeName, nil ]; ! //NSSize size = [@"m" sizeWithAttributes:attrs]; ! //NSSize size = [font boundingRectForFont].size; ! NSSize size = [font boundingRectForGlyph: 0x4d].size; ! //float lineheight = [font defaultLineHeightForFont] - 2.0; ! float lineheight = size.height; ! printf("fontsize x=%f y=%f lineheight=%f\n", size.width, size.height, lineheight); ! printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); ! int lines = (bounds.size.height+lineheight-1.0)/lineheight; *************** *** 70,74 **** NSPoint point = NSMakePoint( 0, ! bounds.size.height - size.height * (i+1) ); NSString *s = [NSString stringWithFormat:@"%3i %@", i, texts[i%2]]; --- 75,79 ---- NSPoint point = NSMakePoint( 0, ! bounds.size.height - lineheight * (i+1) ); NSString *s = [NSString stringWithFormat:@"%3i %@", i, texts[i%2]]; From neoneye at rubyforge.org Tue Mar 15 09:54:49 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 09:54:51 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151454.j2FEsndS020440@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv20317/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: the height of the glyphs are now measured better. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** simonstrandgaard.pbxuser 15 Mar 2005 13:20:57 -0000 1.4 --- simonstrandgaard.pbxuser 15 Mar 2005 14:54:47 -0000 1.5 *************** *** 45,49 **** ); }; ! PBXPerProjectTemplateStateSaveDate = 132573782; PBXPrepackagedSmartGroups_v2 = ( { --- 45,49 ---- ); }; ! PBXPerProjectTemplateStateSaveDate = 132588031; PBXPrepackagedSmartGroups_v2 = ( { *************** *** 222,230 **** }, ); ! PBXWorkspaceStateSaveDate = 132573782; }; perUserProjectItems = { 6E2C7AA207E3501A00483E08 = 6E2C7AA207E3501A00483E08; 6E2C7AA307E3501A00483E08 = 6E2C7AA307E3501A00483E08; 6E8C0D9D07E6F25A0008C136 = 6E8C0D9D07E6F25A0008C136; 6E8C0D9E07E6F25A0008C136 = 6E8C0D9E07E6F25A0008C136; --- 222,278 ---- }, ); ! PBXWorkspaceStateSaveDate = 132588031; }; perUserProjectItems = { 6E2C7AA207E3501A00483E08 = 6E2C7AA207E3501A00483E08; 6E2C7AA307E3501A00483E08 = 6E2C7AA307E3501A00483E08; + 6E8A102707E7220C00E625E1 = 6E8A102707E7220C00E625E1; + 6E8A102A07E7220F00E625E1 = 6E8A102A07E7220F00E625E1; + 6E8A102B07E7224800E625E1 = 6E8A102B07E7224800E625E1; + 6E8A102E07E7228800E625E1 = 6E8A102E07E7228800E625E1; + 6E8A103007E7251A00E625E1 = 6E8A103007E7251A00E625E1; + 6E8A103107E725AD00E625E1 = 6E8A103107E725AD00E625E1; + 6E8A103207E725B600E625E1 = 6E8A103207E725B600E625E1; + 6E8A103307E725FD00E625E1 = 6E8A103307E725FD00E625E1; + 6E8A103407E7265200E625E1 = 6E8A103407E7265200E625E1; + 6E8A103507E7272500E625E1 = 6E8A103507E7272500E625E1; + 6E8A103607E7273D00E625E1 = 6E8A103607E7273D00E625E1; + 6E8A103707E7282B00E625E1 = 6E8A103707E7282B00E625E1; + 6E8A103807E7282F00E625E1 = 6E8A103807E7282F00E625E1; + 6E8A103907E72A5900E625E1 = 6E8A103907E72A5900E625E1; + 6E8A103A07E72A6C00E625E1 = 6E8A103A07E72A6C00E625E1; + 6E8A103B07E72A9B00E625E1 = 6E8A103B07E72A9B00E625E1; + 6E8A103C07E72ACC00E625E1 = 6E8A103C07E72ACC00E625E1; + 6E8A103D07E72AD700E625E1 = 6E8A103D07E72AD700E625E1; + 6E8A104307E72B4300E625E1 = 6E8A104307E72B4300E625E1; + 6E8A104707E72BB000E625E1 = 6E8A104707E72BB000E625E1; + 6E8A104807E72BB600E625E1 = 6E8A104807E72BB600E625E1; + 6E8A104A07E72BF300E625E1 = 6E8A104A07E72BF300E625E1; + 6E8A104B07E72BF300E625E1 = 6E8A104B07E72BF300E625E1; + 6E8A104C07E72BF900E625E1 = 6E8A104C07E72BF900E625E1; + 6E8A104D07E72C5600E625E1 = 6E8A104D07E72C5600E625E1; + 6E8A104E07E72C6300E625E1 = 6E8A104E07E72C6300E625E1; + 6E8A104F07E72C6300E625E1 = 6E8A104F07E72C6300E625E1; + 6E8A105007E72C6D00E625E1 = 6E8A105007E72C6D00E625E1; + 6E8A105107E72C9500E625E1 = 6E8A105107E72C9500E625E1; + 6E8A105207E72C9500E625E1 = 6E8A105207E72C9500E625E1; + 6E8A105407E72CC000E625E1 = 6E8A105407E72CC000E625E1; + 6E8A105507E72CCB00E625E1 = 6E8A105507E72CCB00E625E1; + 6E8A105607E72CCB00E625E1 = 6E8A105607E72CCB00E625E1; + 6E8A105707E72CDA00E625E1 = 6E8A105707E72CDA00E625E1; + 6E8A105807E72CDE00E625E1 = 6E8A105807E72CDE00E625E1; + 6E8A105907E72CDE00E625E1 = 6E8A105907E72CDE00E625E1; + 6E8A105A07E72CEE00E625E1 = 6E8A105A07E72CEE00E625E1; + 6E8A105B07E72CEE00E625E1 = 6E8A105B07E72CEE00E625E1; + 6E8A105C07E72D0700E625E1 = 6E8A105C07E72D0700E625E1; + 6E8A105D07E72D1500E625E1 = 6E8A105D07E72D1500E625E1; + 6E8A105E07E72D1500E625E1 = 6E8A105E07E72D1500E625E1; + 6E8A105F07E72D3700E625E1 = 6E8A105F07E72D3700E625E1; + 6E8A106007E72D3700E625E1 = 6E8A106007E72D3700E625E1; + 6E8A106107E72F7C00E625E1 = 6E8A106107E72F7C00E625E1; + 6E8A106207E72F7E00E625E1 = 6E8A106207E72F7E00E625E1; + 6E8A106307E72F7E00E625E1 = 6E8A106307E72F7E00E625E1; + 6E8A106407E72F8600E625E1 = 6E8A106407E72F8600E625E1; + 6E8A106507E72F8600E625E1 = 6E8A106507E72F8600E625E1; 6E8C0D9D07E6F25A0008C136 = 6E8C0D9D07E6F25A0008C136; 6E8C0D9E07E6F25A0008C136 = 6E8C0D9E07E6F25A0008C136; *************** *** 245,248 **** --- 293,297 ---- }; sourceControlManager = 6E777EB107E34FB2008405DA; + userBookmarkGroup = 6E8A102607E721FF00E625E1; userBuildSettings = { }; *************** *** 258,264 **** 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 1958}}"; ! sepNavSelRange = "{2106, 0}"; ! sepNavVisRect = "{{0, 1165}, {968, 771}}"; }; }; --- 307,314 ---- 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2068}}"; ! sepNavSelRange = "{944, 0}"; ! sepNavVisRect = "{{0, 510}, {968, 771}}"; ! sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; }; *************** *** 330,333 **** --- 380,877 ---- wantsIndex = 1; }; + 6E8A102607E721FF00E625E1 = { + children = ( + 6E8A104007E72B1000E625E1, + ); + isa = PBXBookmarkGroup; + name = Root; + }; + 6E8A102707E7220C00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 71"; + rLen = 0; + rLoc = 2236; + rType = 0; + vrLen = 854; + vrLoc = 1604; + }; + 6E8A102A07E7220F00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 71"; + rLen = 0; + rLoc = 2236; + rType = 0; + vrLen = 854; + vrLoc = 1604; + }; + 6E8A102B07E7224800E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 71"; + rLen = 0; + rLoc = 2236; + rType = 0; + vrLen = 854; + vrLoc = 1604; + }; + 6E8A102E07E7228800E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "NSSize size = [@\"m\" sizeWithAttributes:attrs];"; + rLen = 46; + rLoc = 1759; + rType = 0; + vrLen = 1232; + vrLoc = 865; + }; + 6E8A103007E7251A00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = NSGlyph; + rLen = 0; + rLoc = 1754; + rType = 0; + vrLen = 1210; + vrLoc = 865; + }; + 6E8A103107E725AD00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1996; + rType = 0; + vrLen = 1248; + vrLoc = 865; + }; + 6E8A103207E725B600E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 2027; + rType = 0; + vrLen = 1248; + vrLoc = 865; + }; + 6E8A103307E725FD00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "[s drawAtPoint:point withAttributes:attrs];"; + rLen = 43; + rLoc = 2392; + rType = 0; + vrLen = 859; + vrLoc = 1675; + }; + 6E8A103407E7265200E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "- (void)drawRect:(NSRect)rect {\n\tNSRect bounds = [self bounds];\n\tprintf(\"bounds x=%f y=%f\\n\", bounds.size.width, bounds.size.height);\n\t\n\t// build some strings to output\n\tNSString* texts[2];\n\tNSString* str0 = [NSString stringWithFormat:@\"str %@%@ str 0123\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1]\n\t];\n\ttexts[0] = str0; \n\tNSString* str1 = [NSString stringWithFormat:@\"str %@%@ str '%@'\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1],\n\t\t[NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1]\n\t\t\n\t];\n\ttexts[1] = str1; \n\t\n\t\n\t// pick a font\n\tNSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE];\n\tNSColor* color = [NSColor blackColor]; \n\tNSDictionary* attrs = [\n\t\tNSDictionary dictionaryWithObjectsAndKeys: \n\t\tfont, NSFontAttributeName, \n\t\tcolor, NSForegroundColorAttributeName, nil\n\t];\n\t//NSGlyph\n\tNSSize size = [@\"m\" sizeWithAttributes:attrs];\n\tprintf(\"fontsize x=%f y=%f\\n\", size.width, size.height);\n\tprintf(\"fixed pitch %s\\n\", [font isFixedPitch] ? \"yes\" : \"no\");\n\tint lines = (bounds.size.height+size.height-1)/size.height;\n\n\t\n\t// fill backgound\n\t[[NSColor whiteColor] set];\n\t[NSBezierPath fillRect:bounds];\n\n\t// fill lines of text\n\tint i;\n\tfor(i=0; i < lines; i++) { \n\t\tNSPoint point = NSMakePoint(\n\t\t\t0, \n\t\t\tbounds.size.height - size.height * (i+1)\n\t\t);\n\t\tNSString *s = [NSString stringWithFormat:@\"%3i %@\", i, texts[i%2]];\n\t\t[s drawAtPoint:point withAttributes:attrs]; \n\t}\n}"; + rLen = 1745; + rLoc = 696; + rType = 0; + vrLen = 1196; + vrLoc = 617; + }; + 6E8A103507E7272500E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "- (void)drawRect:(NSRect)rect {\n\tNSRect bounds = [self bounds];\n\tprintf(\"bounds x=%f y=%f\\n\", bounds.size.width, bounds.size.height);\n\t\n\t// build some strings to output\n\tNSString* texts[2];\n\tNSString* str0 = [NSString stringWithFormat:@\"str %@%@ str 0123\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1]\n\t];\n\ttexts[0] = str0; \n\tNSString* str1 = [NSString stringWithFormat:@\"str %@%@ str '%@'\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1],\n\t\t[NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1]\n\t\t\n\t];\n\ttexts[1] = str1; \n\t\n\t\n\t// pick a font\n\tNSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE];\n\tNSColor* color = [NSColor blackColor]; \n\tNSDictionary* attrs = [\n\t\tNSDictionary dictionaryWithObjectsAndKeys: \n\t\tfont, NSFontAttributeName, \n\t\tcolor, NSForegroundColorAttributeName, nil\n\t];\n\t//NSGlyph\n\tNSSize size = [@\"m\" sizeWithAttributes:attrs];\n\tprintf(\"fontsize x=%f y=%f\\n\", size.width, size.height);\n\tprintf(\"fixed pitch %s\\n\", [font isFixedPitch] ? \"yes\" : \"no\");\n\tint lines = (bounds.size.height+size.height-1)/size.height;\n\n\t\n\t// fill backgound\n\t[[NSColor whiteColor] set];\n\t[NSBezierPath fillRect:bounds];\n\n\t// fill lines of text\n\tint i;\n\tfor(i=0; i < lines; i++) { \n\t\tNSPoint point = NSMakePoint(\n\t\t\t0, \n\t\t\tbounds.size.height - size.height * (i+1)\n\t\t);\n\t\tNSString *s = [NSString stringWithFormat:@\"%3i %@\", i, texts[i%2]];\n\t\t[s drawAtPoint:point withAttributes:attrs]; \n\t}\n}"; + rLen = 1745; + rLoc = 696; + rType = 0; + vrLen = 1196; + vrLoc = 617; + }; + 6E8A103607E7273D00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "- (void)drawRect:(NSRect)rect {\n\tNSRect bounds = [self bounds];\n\tprintf(\"bounds x=%f y=%f\\n\", bounds.size.width, bounds.size.height);\n\t\n\t// build some strings to output\n\tNSString* texts[2];\n\tNSString* str0 = [NSString stringWithFormat:@\"str %@%@ str 0123\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1]\n\t];\n\ttexts[0] = str0; \n\tNSString* str1 = [NSString stringWithFormat:@\"str %@%@ str '%@'\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1],\n\t\t[NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1]\n\t\t\n\t];\n\ttexts[1] = str1; \n\t\n\t\n\t// pick a font\n\tNSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE];\n\tNSColor* color = [NSColor blackColor]; \n\tNSDictionary* attrs = [\n\t\tNSDictionary dictionaryWithObjectsAndKeys: \n\t\tfont, NSFontAttributeName, \n\t\tcolor, NSForegroundColorAttributeName, nil\n\t];\n\t//NSGlyph\n\tNSSize size = [@\"m\" sizeWithAttributes:attrs];\n\tprintf(\"fontsize x=%f y=%f\\n\", size.width, size.height);\n\tprintf(\"fixed pitch %s\\n\", [font isFixedPitch] ? \"yes\" : \"no\");\n\tint lines = (bounds.size.height+size.height-1)/size.height;\n\n\t\n\t// fill backgound\n\t[[NSColor whiteColor] set];\n\t[NSBezierPath fillRect:bounds];\n\n\t// fill lines of text\n\tint i;\n\tfor(i=0; i < lines; i++) { \n\t\tNSPoint point = NSMakePoint(\n\t\t\t0, \n\t\t\tbounds.size.height - size.height * (i+1)\n\t\t);\n\t\tNSString *s = [NSString stringWithFormat:@\"%3i %@\", i, texts[i%2]];\n\t\t[s drawAtPoint:point withAttributes:attrs]; \n\t}\n}"; + rLen = 1745; + rLoc = 696; + rType = 0; + vrLen = 1196; + vrLoc = 617; + }; + 6E8A103707E7282B00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "- (void)drawRect:(NSRect)rect {\n\tNSRect bounds = [self bounds];\n\tprintf(\"bounds x=%f y=%f\\n\", bounds.size.width, bounds.size.height);\n\t\n\t// build some strings to output\n\tNSString* texts[2];\n\tNSString* str0 = [NSString stringWithFormat:@\"str %@%@ str 0123\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1]\n\t];\n\ttexts[0] = str0; \n\tNSString* str1 = [NSString stringWithFormat:@\"str %@%@ str '%@'\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1],\n\t\t[NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1]\n\t\t\n\t];\n\ttexts[1] = str1; \n\t\n\t\n\t// pick a font\n\tNSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE];\n\tNSColor* color = [NSColor blackColor]; \n\tNSDictionary* attrs = [\n\t\tNSDictionary dictionaryWithObjectsAndKeys: \n\t\tfont, NSFontAttributeName, \n\t\tcolor, NSForegroundColorAttributeName, nil\n\t];\n\t//NSGlyph\n\tNSSize size = [@\"m\" sizeWithAttributes:attrs];\n\tprintf(\"fontsize x=%f y=%f\\n\", size.width, size.height);\n\tprintf(\"fixed pitch %s\\n\", [font isFixedPitch] ? \"yes\" : \"no\");\n\tint lines = (bounds.size.height+size.height-1)/size.height;\n\n\t\n\t// fill backgound\n\t[[NSColor whiteColor] set];\n\t[NSBezierPath fillRect:bounds];\n\n\t// fill lines of text\n\tint i;\n\tfor(i=0; i < lines; i++) { \n\t\tNSPoint point = NSMakePoint(\n\t\t\t0, \n\t\t\tbounds.size.height - size.height * (i+1)\n\t\t);\n\t\tNSString *s = [NSString stringWithFormat:@\"%3i %@\", i, texts[i%2]];\n\t\t[s drawAtPoint:point withAttributes:attrs]; \n\t}\n}"; + rLen = 1745; + rLoc = 696; + rType = 0; + vrLen = 1196; + vrLoc = 617; + }; + 6E8A103807E7282F00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "- (void)drawRect:(NSRect)rect {\n\tNSRect bounds = [self bounds];\n\tprintf(\"bounds x=%f y=%f\\n\", bounds.size.width, bounds.size.height);\n\t\n\t// build some strings to output\n\tNSString* texts[2];\n\tNSString* str0 = [NSString stringWithFormat:@\"str %@%@ str 0123\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1]\n\t];\n\ttexts[0] = str0; \n\tNSString* str1 = [NSString stringWithFormat:@\"str %@%@ str '%@'\",\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1],\n\t\t[NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1],\n\t\t[NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1]\n\t\t\n\t];\n\ttexts[1] = str1; \n\t\n\t\n\t// pick a font\n\tNSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE];\n\tNSColor* color = [NSColor blackColor]; \n\tNSDictionary* attrs = [\n\t\tNSDictionary dictionaryWithObjectsAndKeys: \n\t\tfont, NSFontAttributeName, \n\t\tcolor, NSForegroundColorAttributeName, nil\n\t];\n\t//NSGlyph\n\tNSSize size = [@\"m\" sizeWithAttributes:attrs];\n\tprintf(\"fontsize x=%f y=%f\\n\", size.width, size.height);\n\tprintf(\"fixed pitch %s\\n\", [font isFixedPitch] ? \"yes\" : \"no\");\n\tint lines = (bounds.size.height+size.height-1)/size.height;\n\n\t\n\t// fill backgound\n\t[[NSColor whiteColor] set];\n\t[NSBezierPath fillRect:bounds];\n\n\t// fill lines of text\n\tint i;\n\tfor(i=0; i < lines; i++) { \n\t\tNSPoint point = NSMakePoint(\n\t\t\t0, \n\t\t\tbounds.size.height - size.height * (i+1)\n\t\t);\n\t\tNSString *s = [NSString stringWithFormat:@\"%3i %@\", i, texts[i%2]];\n\t\t[s drawAtPoint:point withAttributes:attrs]; \n\t}\n}"; + rLen = 1745; + rLoc = 696; + rType = 0; + vrLen = 1196; + vrLoc = 617; + }; + 6E8A103907E72A5900E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2073; + rType = 0; + vrLen = 889; + vrLoc = 1705; + }; + 6E8A103A07E72A6C00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1948; + rType = 0; + vrLen = 892; + vrLoc = 1705; + }; + 6E8A103B07E72A9B00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 77"; + rLen = 0; + rLoc = 2364; + rType = 0; + vrLen = 907; + vrLoc = 1705; + }; + 6E8A103C07E72ACC00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1893; + rType = 0; + vrLen = 913; + vrLoc = 1705; + }; + 6E8A103D07E72AD700E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1891; + rType = 0; + vrLen = 913; + vrLoc = 1705; + }; + 6E8A104007E72B1000E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1912; + rType = 0; + vrLen = 913; + vrLoc = 1705; + }; + 6E8A104307E72B4300E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1912; + rType = 0; + vrLen = 1012; + vrLoc = 1462; + }; + 6E8A104707E72BB000E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + rLen = 1; + rLoc = 58; + rType = 1; + }; + 6E8A104807E72BB600E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\tNSSize size = [font boundingRectForFont];\n"; + rLen = 50; + rLoc = 1804; + rType = 0; + vrLen = 415; + vrLoc = 1675; + }; + 6E8A104A07E72BF300E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1916; + rType = 0; + vrLen = 1042; + vrLoc = 1462; + }; + 6E8A104B07E72BF300E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 59"; + rLen = 0; + rLoc = 1811; + rType = 0; + vrLen = 414; + vrLoc = 1675; + }; + 6E8A104C07E72BF900E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 59"; + rLen = 0; + rLoc = 1811; + rType = 0; + vrLen = 414; + vrLoc = 1675; + }; + 6E8A104D07E72C5600E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1920; + rType = 0; + vrLen = 422; + vrLoc = 1675; + }; + 6E8A104E07E72C6300E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 59"; + rLen = 0; + rLoc = 1819; + rType = 0; + vrLen = 1048; + vrLoc = 1462; + }; + 6E8A104F07E72C6300E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1920; + rType = 0; + vrLen = 420; + vrLoc = 1675; + }; + 6E8A105007E72C6D00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 61"; + rLen = 0; + rLoc = 1976; + rType = 0; + vrLen = 420; + vrLoc = 1675; + }; + 6E8A105107E72C9500E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1896; + rType = 0; + vrLen = 1099; + vrLoc = 1462; + }; + 6E8A105207E72C9500E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 62"; + rLen = 0; + rLoc = 1972; + rType = 0; + vrLen = 407; + vrLoc = 1675; + }; + 6E8A105407E72CC000E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2010; + rType = 0; + vrLen = 411; + vrLoc = 1804; + }; + 6E8A105507E72CCB00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1897; + rType = 0; + vrLen = 1104; + vrLoc = 1462; + }; + 6E8A105607E72CCB00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2010; + rType = 0; + vrLen = 412; + vrLoc = 1804; + }; + 6E8A105707E72CDA00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2010; + rType = 0; + vrLen = 412; + vrLoc = 1804; + }; + 6E8A105807E72CDE00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1897; + rType = 0; + vrLen = 1104; + vrLoc = 1462; + }; + 6E8A105907E72CDE00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2010; + rType = 0; + vrLen = 412; + vrLoc = 1804; + }; + 6E8A105A07E72CEE00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 60"; + rLen = 0; + rLoc = 1900; + rType = 0; + vrLen = 1104; + vrLoc = 1462; + }; + 6E8A105B07E72CEE00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2010; + rType = 0; + vrLen = 412; + vrLoc = 1804; + }; + 6E8A105C07E72D0700E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1804; + }; + 6E8A105D07E72D1500E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 36"; + rLen = 0; + rLoc = 944; + rType = 0; + vrLen = 1238; + vrLoc = 617; + }; + 6E8A105E07E72D1500E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1805; + }; + 6E8A105F07E72D3700E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 36"; + rLen = 0; + rLoc = 944; + rType = 0; + vrLen = 1238; + vrLoc = 617; + }; + 6E8A106007E72D3700E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1805; + }; + 6E8A106107E72F7C00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1805; + }; + 6E8A106207E72F7E00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 36"; + rLen = 0; + rLoc = 944; + rType = 0; + vrLen = 1238; + vrLoc = 617; + }; + 6E8A106307E72F7E00E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1805; + }; + 6E8A106407E72F8600E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 36"; + rLen = 0; + rLoc = 944; + rType = 0; + vrLen = 1238; + vrLoc = 617; + }; + 6E8A106507E72F8600E625E1 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 63"; + rLen = 0; + rLoc = 2011; + rType = 0; + vrLen = 412; + vrLoc = 1805; + }; 6E8C0D9D07E6F25A0008C136 = { fRef = 089C165DFE840E0CC02AAC07; *************** *** 472,476 **** name = "canvas.m: 72"; rLen = 0; ! rLoc = 2106; rType = 0; vrLen = 854; --- 1016,1020 ---- name = "canvas.m: 72"; rLen = 0; ! rLoc = 2243; rType = 0; vrLen = 854; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** simonstrandgaard.mode1 15 Mar 2005 13:20:57 -0000 1.4 --- simonstrandgaard.mode1 15 Mar 2005 14:54:47 -0000 1.5 *************** *** 244,248 **** 29B97317FDCFA39411CA2CEA 19C28FACFE9D520D11CA2CBB - 1C08E77C0454961000C914BD 1C37FABC05509CD000000102 1CC0EA4004350EF90041110B --- 244,247 ---- *************** *** 297,301 **** canvas.m bookmark ! 6E8C0EA907E7197D0008C136 history --- 296,300 ---- canvas.m bookmark ! 6E8A106407E72F8600E625E1 history *************** *** 303,307 **** 6E8C0D9E07E6F25A0008C136 6E8C0DD207E6FF410008C136 ! 6E8C0DD307E6FF410008C136 prevStack --- 302,306 ---- 6E8C0D9E07E6F25A0008C136 6E8C0DD207E6FF410008C136 ! 6E8C0EA907E7197D0008C136 prevStack *************** *** 309,321 **** 6E2C7AA207E3501A00483E08 6E2C7AA307E3501A00483E08 - 6E8C0DA107E6F25A0008C136 6E8C0DA207E6F25A0008C136 6E8C0DA307E6F25A0008C136 - 6E8C0DA407E6F25A0008C136 - 6E8C0DA507E6F25A0008C136 - 6E8C0DD407E6FF410008C136 - 6E8C0DD507E6FF410008C136 - 6E8C0DD607E6FF410008C136 - 6E8C0DD707E6FF410008C136 --- 308,313 ---- *************** *** 375,381 **** TableOfContents ! 6E8C0D9107E6EA650008C136 1CE0B1FE06471DED0097A5F4 ! 6E8C0D9207E6EA650008C136 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 --- 367,373 ---- TableOfContents ! 6E8A102807E7220C00E625E1 1CE0B1FE06471DED0097A5F4 ! 6E8A102907E7220C00E625E1 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 *************** *** 406,409 **** --- 398,402 ---- 6E8C0DF007E702870008C136 + 6E8A104507E72B4300E625E1 1C0AD2B3069F1EA900FABCE6 /Users/simonstrandgaard/code/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode *************** *** 439,446 **** canvas.m bookmark ! 6E8C0EAA07E7197D0008C136 history ! 6E8C0E5007E7113D0008C136 --- 432,439 ---- canvas.m bookmark ! 6E8A106507E72F8600E625E1 history ! 6E8A104707E72BB000E625E1 *************** *** 505,509 **** 6E8C0DF007E702870008C136 ! 6E8C0DF107E702870008C136 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID --- 498,502 ---- 6E8C0DF007E702870008C136 ! 6E8A104907E72BB600E625E1 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID *************** *** 808,813 **** sizes ! {{0, 0}, {366, 167}} ! {{0, 176}, {366, 267}} --- 801,806 ---- sizes ! {{0, 0}, {493, 167}} ! {{0, 176}, {493, 267}} *************** *** 858,864 **** 1C0AD2B3069F1EA900FABCE6 ! 6E8C0D9307E6EA650008C136 1CD0528B0623707200166675 ! 6E8C0D9407E6EA650008C136 ToolbarConfiguration --- 851,857 ---- 1C0AD2B3069F1EA900FABCE6 ! 6E8A102C07E7224800E625E1 1CD0528B0623707200166675 ! 6E8A102D07E7224800E625E1 ToolbarConfiguration *************** *** 869,873 **** 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! --- 862,866 ---- 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! *************** *** 1033,1036 **** --- 1026,1031 ---- + FirstTimeWindowDisplayed + Identifier windowTool.bookmarks *************** *** 1041,1044 **** --- 1036,1053 ---- + ContentConfiguration + + PBXProjectModuleGUID + 6E8A104407E72B4300E625E1 + PBXProjectModuleLabel + Bookmarks + + GeometryConfiguration + + Frame + {{0, 0}, {401, 166}} + RubberWindowFrame + 42 792 401 187 0 0 1280 1002 + Module PBXBookmarksModule *************** *** 1059,1064 **** StatusbarIsVisible WindowString ! 538 42 401 187 0 0 1280 1002 --- 1068,1083 ---- StatusbarIsVisible + TableOfContents + + 6E8A104507E72B4300E625E1 + 6E8A104607E72B4300E625E1 + 6E8A104407E72B4300E625E1 + WindowString ! 42 792 401 187 0 0 1280 1002 ! WindowToolGUID ! 6E8A104507E72B4300E625E1 ! WindowToolIsVisible ! From neoneye at rubyforge.org Tue Mar 15 11:38:06 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 11:38:07 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151638.j2FGc6dS026305@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv26276 Modified Files: canvas.m Log Message: the distance from the top is too wide, but better than too narrow. I must find a more appropriate distance so things look nicer. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** canvas.m 15 Mar 2005 14:54:47 -0000 1.4 --- canvas.m 15 Mar 2005 16:38:04 -0000 1.5 *************** *** 9,14 **** #import "canvas.h" ! #define FONTSIZE 12 ! #define FONTNAME @"Courier" static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; --- 9,13 ---- #import "canvas.h" ! #define FONTSIZE 24 static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; *************** *** 34,45 **** // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"str %@%@ sMr 0123", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"str %@%@ sMtr '%@'", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1] --- 33,44 ---- // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"%@%@M0123456", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"%@%@M'%@'456", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1], [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1] *************** *** 49,53 **** // pick a font ! NSFont* font = [NSFont fontWithName:FONTNAME size:FONTSIZE]; NSColor* color = [NSColor blackColor]; NSDictionary* attrs = [ --- 48,52 ---- // pick a font ! NSFont* font = [NSFont userFixedPitchFontOfSize:FONTSIZE]; NSColor* color = [NSColor blackColor]; NSDictionary* attrs = [ *************** *** 56,69 **** color, NSForegroundColorAttributeName, nil ]; //NSSize size = [@"m" sizeWithAttributes:attrs]; //NSSize size = [font boundingRectForFont].size; NSSize size = [font boundingRectForGlyph: 0x4d].size; ! //float lineheight = [font defaultLineHeightForFont] - 2.0; ! float lineheight = size.height; ! printf("fontsize x=%f y=%f lineheight=%f\n", size.width, size.height, lineheight); printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); int lines = (bounds.size.height+lineheight-1.0)/lineheight; - // fill backgound [[NSColor whiteColor] set]; --- 55,83 ---- color, NSForegroundColorAttributeName, nil ]; + float ascent = [font ascender]; + float descent = [font descender]; //NSSize size = [@"m" sizeWithAttributes:attrs]; //NSSize size = [font boundingRectForFont].size; NSSize size = [font boundingRectForGlyph: 0x4d].size; ! float default_lineheight = [font defaultLineHeightForFont]; ! float capheight = [font capHeight]; ! float ac = ascent + descent - capheight; ! printf( ! "fontsize x=%f y=%f def_lineheight=%f capheight=%f ascend=%f descent=%f ac=%f\n", ! size.width, ! size.height, ! default_lineheight, ! capheight, ! ascent, ! descent, ! ac ! ); printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); + + //float lineheight = default_lineheight; + //float lineheight = size.height; + float lineheight = capheight; int lines = (bounds.size.height+lineheight-1.0)/lineheight; // fill backgound [[NSColor whiteColor] set]; *************** *** 73,81 **** int i; for(i=0; i < lines; i++) { NSPoint point = NSMakePoint( 0, ! bounds.size.height - lineheight * (i+1) ); ! NSString *s = [NSString stringWithFormat:@"%3i %@", i, texts[i%2]]; [s drawAtPoint:point withAttributes:attrs]; } --- 87,107 ---- int i; for(i=0; i < lines; i++) { + /* + TODO: the top-most skip distance is wrong + for instance try insert a UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT + and you will see that there is too much space. + default_lineheight is too much, but better than something too narrow. + */ NSPoint point = NSMakePoint( 0, ! bounds.size.height - default_lineheight - lineheight * i ); ! ! /* ! TODO: render letters separately. ! fullwidth glyphs are supposed to span 2 cells ! when rendering one then we only advance 1.9 cells ! */ ! NSString *s = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; [s drawAtPoint:point withAttributes:attrs]; } From neoneye at rubyforge.org Tue Mar 15 11:38:06 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 11:38:07 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151638.j2FGc6dS026307@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv26276/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: the distance from the top is too wide, but better than too narrow. I must find a more appropriate distance so things look nicer. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** simonstrandgaard.pbxuser 15 Mar 2005 14:54:47 -0000 1.5 --- simonstrandgaard.pbxuser 15 Mar 2005 16:38:04 -0000 1.6 *************** *** 45,49 **** ); }; ! PBXPerProjectTemplateStateSaveDate = 132588031; PBXPrepackagedSmartGroups_v2 = ( { --- 45,49 ---- ); }; ! PBXPerProjectTemplateStateSaveDate = 132595663; PBXPrepackagedSmartGroups_v2 = ( [...1106 lines suppressed...] - name = "canvas.m: 72"; - rLen = 0; - rLoc = 2243; - rType = 0; - vrLen = 854; - vrLoc = 1604; - }; - 6E8C0EAA07E7197D0008C136 = { - fRef = 6E2C7A9D07E34FEC00483E08; - isa = PBXTextBookmark; - name = "canvas.m: 37"; - rLen = 0; - rLoc = 1040; - rType = 0; - vrLen = 431; - vrLoc = 696; - }; 8D1107260486CEB800E47090 = { activeExec = 0; --- 751,754 ---- Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** simonstrandgaard.mode1 15 Mar 2005 14:54:47 -0000 1.5 --- simonstrandgaard.mode1 15 Mar 2005 16:38:04 -0000 1.6 *************** *** 296,300 **** canvas.m bookmark ! 6E8A106407E72F8600E625E1 history --- 296,300 ---- canvas.m bookmark ! 6E79BE7A07E74782004F09B3 history *************** *** 302,306 **** 6E8C0D9E07E6F25A0008C136 6E8C0DD207E6FF410008C136 ! 6E8C0EA907E7197D0008C136 prevStack --- 302,306 ---- 6E8C0D9E07E6F25A0008C136 6E8C0DD207E6FF410008C136 ! 6E17224607E73FC100F32A2E prevStack *************** *** 367,373 **** TableOfContents ! 6E8A102807E7220C00E625E1 1CE0B1FE06471DED0097A5F4 ! 6E8A102907E7220C00E625E1 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 --- 367,373 ---- TableOfContents ! 6E79BE5807E73FE0004F09B3 1CE0B1FE06471DED0097A5F4 ! 6E79BE5907E73FE0004F09B3 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 *************** *** 398,402 **** 6E8C0DF007E702870008C136 - 6E8A104507E72B4300E625E1 1C0AD2B3069F1EA900FABCE6 /Users/simonstrandgaard/code/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode --- 398,401 ---- *************** *** 431,440 **** PBXProjectModuleLabel canvas.m - bookmark - 6E8A106507E72F8600E625E1 - history - - 6E8A104707E72BB000E625E1 - SplitCount --- 430,433 ---- *************** *** 498,502 **** 6E8C0DF007E702870008C136 ! 6E8A104907E72BB600E625E1 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID --- 491,495 ---- 6E8C0DF007E702870008C136 ! 6E79BE6607E74138004F09B3 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID *************** *** 509,513 **** 6E8C0DF007E702870008C136 WindowToolIsVisible ! --- 502,506 ---- 6E8C0DF007E702870008C136 WindowToolIsVisible ! *************** *** 801,806 **** sizes ! {{0, 0}, {493, 167}} ! {{0, 176}, {493, 267}} --- 794,799 ---- sizes ! {{0, 0}, {491, 167}} ! {{0, 176}, {491, 267}} *************** *** 851,857 **** 1C0AD2B3069F1EA900FABCE6 ! 6E8A102C07E7224800E625E1 1CD0528B0623707200166675 ! 6E8A102D07E7224800E625E1 ToolbarConfiguration --- 844,850 ---- 1C0AD2B3069F1EA900FABCE6 ! 6E79BE5A07E73FE0004F09B3 1CD0528B0623707200166675 ! 6E79BE5B07E73FE0004F09B3 ToolbarConfiguration *************** *** 862,866 **** 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! --- 855,859 ---- 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! From neoneye at rubyforge.org Tue Mar 15 11:54:57 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 11:54:59 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151654.j2FGsvdS026917@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv26904 Modified Files: canvas.m Log Message: I finally realized that I had to subtract the descent from the lineheight, so that the glyphs (no matter the size of the font) aligns to the top of the view. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** canvas.m 15 Mar 2005 16:38:04 -0000 1.5 --- canvas.m 15 Mar 2005 16:54:55 -0000 1.6 *************** *** 9,13 **** #import "canvas.h" ! #define FONTSIZE 24 static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; --- 9,13 ---- #import "canvas.h" ! #define FONTSIZE 22 static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; *************** *** 57,62 **** float ascent = [font ascender]; float descent = [font descender]; - //NSSize size = [@"m" sizeWithAttributes:attrs]; - //NSSize size = [font boundingRectForFont].size; NSSize size = [font boundingRectForGlyph: 0x4d].size; float default_lineheight = [font defaultLineHeightForFont]; --- 57,60 ---- *************** *** 75,82 **** printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); ! //float lineheight = default_lineheight; ! //float lineheight = size.height; ! float lineheight = capheight; int lines = (bounds.size.height+lineheight-1.0)/lineheight; // fill backgound --- 73,86 ---- printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); ! /* ! convert from float to integers ! Cocoa's font renderer cannot render glyphs on subpixel offsets, ! when it gets a subpixel offset it rounds it to the nearest integer ! and it produces 1pixel horizontal ugly lines. ! By using integers we avoid these ugly artifacts. ! */ ! int lineheight = capheight + 0.5; int lines = (bounds.size.height+lineheight-1.0)/lineheight; + int topskip = default_lineheight + descent + 0.5; // fill backgound *************** *** 87,99 **** int i; for(i=0; i < lines; i++) { - /* - TODO: the top-most skip distance is wrong - for instance try insert a UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT - and you will see that there is too much space. - default_lineheight is too much, but better than something too narrow. - */ NSPoint point = NSMakePoint( 0, ! bounds.size.height - default_lineheight - lineheight * i ); --- 91,97 ---- int i; for(i=0; i < lines; i++) { NSPoint point = NSMakePoint( 0, ! bounds.size.height - topskip - lineheight * i ); From neoneye at rubyforge.org Tue Mar 15 11:54:57 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 11:54:59 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151654.j2FGsvdS026921@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv26904/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: I finally realized that I had to subtract the descent from the lineheight, so that the glyphs (no matter the size of the font) aligns to the top of the view. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** simonstrandgaard.pbxuser 15 Mar 2005 16:38:04 -0000 1.6 --- simonstrandgaard.pbxuser 15 Mar 2005 16:54:55 -0000 1.7 *************** *** 259,262 **** --- 259,281 ---- 6E79BE7907E74775004F09B3 = 6E79BE7907E74775004F09B3; 6E79BE7A07E74782004F09B3 = 6E79BE7A07E74782004F09B3; + 6E79BE7B07E74800004F09B3 = 6E79BE7B07E74800004F09B3; + 6E79BE7C07E748BA004F09B3 = 6E79BE7C07E748BA004F09B3; + 6E79BE7D07E748CA004F09B3 = 6E79BE7D07E748CA004F09B3; + 6E79BE7E07E748D9004F09B3 = 6E79BE7E07E748D9004F09B3; + 6E79BE7F07E748FD004F09B3 = 6E79BE7F07E748FD004F09B3; + 6E79BE8007E7492A004F09B3 = 6E79BE8007E7492A004F09B3; + 6E79BE8107E74937004F09B3 = 6E79BE8107E74937004F09B3; + 6E79BE8207E74949004F09B3 = 6E79BE8207E74949004F09B3; + 6E79BE8307E74964004F09B3 = 6E79BE8307E74964004F09B3; + 6E79BE8407E749BA004F09B3 = 6E79BE8407E749BA004F09B3; + 6E79BE8507E749FA004F09B3 = 6E79BE8507E749FA004F09B3; + 6E79BE8607E74A2C004F09B3 = 6E79BE8607E74A2C004F09B3; + 6E79BE8707E74A47004F09B3 = 6E79BE8707E74A47004F09B3; + 6E79BE8807E74A53004F09B3 = 6E79BE8807E74A53004F09B3; + 6E79BE8907E74A65004F09B3 = 6E79BE8907E74A65004F09B3; + 6E79BE8A07E74B70004F09B3 = 6E79BE8A07E74B70004F09B3; + 6E79BE8B07E74B78004F09B3 = 6E79BE8B07E74B78004F09B3; + 6E79BE8C07E74B97004F09B3 = 6E79BE8C07E74B97004F09B3; + 6E79BE8D07E74B9D004F09B3 = 6E79BE8D07E74B9D004F09B3; 6E8A106D07E7339B00E625E1 = 6E8A106D07E7339B00E625E1; 6E8C0D9D07E6F25A0008C136 = 6E8C0D9D07E6F25A0008C136; *************** *** 276,280 **** name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 182; rType = 0; vrLen = 1016; --- 295,299 ---- name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 183; rType = 0; vrLen = 1016; *************** *** 291,297 **** 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2640}}"; ! sepNavSelRange = "{2076, 0}"; ! sepNavVisRect = "{{0, 1078}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; --- 310,316 ---- 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2596}}"; ! sepNavSelRange = "{2826, 0}"; ! sepNavVisRect = "{{0, 1782}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; *************** *** 369,373 **** name = "canvas.m: 56"; rLen = 0; ! rLoc = 1747; rType = 0; vrLen = 1038; --- 388,392 ---- name = "canvas.m: 56"; rLen = 0; ! rLoc = 1748; rType = 0; vrLen = 1038; *************** *** 379,383 **** name = "canvas.m: 57"; rLen = 0; ! rLoc = 1724; rType = 0; vrLen = 1023; --- 398,402 ---- name = "canvas.m: 57"; rLen = 0; ! rLoc = 1725; rType = 0; vrLen = 1023; *************** *** 389,393 **** name = "canvas.m: 57"; rLen = 0; ! rLoc = 1739; rType = 0; vrLen = 1040; --- 408,412 ---- name = "canvas.m: 57"; rLen = 0; ! rLoc = 1740; rType = 0; vrLen = 1040; *************** *** 399,403 **** name = "canvas.m: 86"; rLen = 0; ! rLoc = 2630; rType = 0; vrLen = 856; --- 418,422 ---- name = "canvas.m: 86"; rLen = 0; ! rLoc = 2695; rType = 0; vrLen = 856; *************** *** 409,413 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2681; rType = 0; vrLen = 890; --- 428,432 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2746; rType = 0; vrLen = 890; *************** *** 419,423 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2891; rType = 0; vrLen = 890; --- 438,442 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2956; rType = 0; vrLen = 890; *************** *** 429,433 **** name = "canvas.m: 65"; rLen = 0; ! rLoc = 2117; rType = 0; vrLen = 878; --- 448,452 ---- name = "canvas.m: 65"; rLen = 0; ! rLoc = 2018; rType = 0; vrLen = 878; *************** *** 439,443 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1757; rType = 0; vrLen = 1107; --- 458,462 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1758; rType = 0; vrLen = 1107; *************** *** 449,453 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1762; rType = 0; vrLen = 1107; --- 468,472 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1763; rType = 0; vrLen = 1107; *************** *** 459,463 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1775; rType = 0; vrLen = 1108; --- 478,482 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1776; rType = 0; vrLen = 1108; *************** *** 469,473 **** name = "canvas.m: 71"; rLen = 0; ! rLoc = 2247; rType = 0; vrLen = 1107; --- 488,492 ---- name = "canvas.m: 71"; rLen = 0; ! rLoc = 2148; rType = 0; vrLen = 1107; *************** *** 479,483 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2916; rType = 0; vrLen = 899; --- 498,502 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2981; rType = 0; vrLen = 899; *************** *** 489,493 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2902; rType = 0; vrLen = 894; --- 508,512 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2967; rType = 0; vrLen = 894; *************** *** 499,503 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2954; rType = 0; vrLen = 928; --- 518,522 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 3019; rType = 0; vrLen = 928; *************** *** 509,513 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2922; rType = 0; vrLen = 928; --- 528,532 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2987; rType = 0; vrLen = 928; *************** *** 519,523 **** name = "canvas.m: 92"; rLen = 0; ! rLoc = 2994; rType = 0; vrLen = 988; --- 538,542 ---- name = "canvas.m: 92"; rLen = 0; ! rLoc = 3059; rType = 0; vrLen = 988; *************** *** 529,533 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2937; rType = 0; vrLen = 911; --- 548,552 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 3002; rType = 0; vrLen = 911; *************** *** 539,543 **** name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 182; rType = 0; vrLen = 1016; --- 558,562 ---- name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 183; rType = 0; vrLen = 1016; *************** *** 549,553 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3195; rType = 0; vrLen = 815; --- 568,572 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; *************** *** 559,563 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3195; rType = 0; vrLen = 815; --- 578,582 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; *************** *** 569,573 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3195; rType = 0; vrLen = 815; --- 588,592 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; *************** *** 579,583 **** name = "canvas.m: 83"; rLen = 0; ! rLoc = 2529; rType = 0; vrLen = 962; --- 598,602 ---- name = "canvas.m: 83"; rLen = 0; ! rLoc = 2588; rType = 0; vrLen = 962; *************** *** 589,593 **** name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 182; rType = 0; vrLen = 1016; --- 608,612 ---- name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 183; rType = 0; vrLen = 1016; *************** *** 599,603 **** name = "canvas.m: 99"; rLen = 0; ! rLoc = 3178; rType = 0; vrLen = 891; --- 618,622 ---- name = "canvas.m: 99"; rLen = 0; ! rLoc = 3243; rType = 0; vrLen = 891; *************** *** 609,613 **** name = "canvas.m: 40"; rLen = 0; ! rLoc = 1167; rType = 0; vrLen = 1330; --- 628,632 ---- name = "canvas.m: 40"; rLen = 0; ! rLoc = 1168; rType = 0; vrLen = 1330; *************** *** 619,623 **** name = "canvas.m: 42"; rLen = 0; ! rLoc = 1325; rType = 0; vrLen = 1330; --- 638,642 ---- name = "canvas.m: 42"; rLen = 0; ! rLoc = 1326; rType = 0; vrLen = 1330; *************** *** 629,633 **** name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 181; rType = 0; vrLen = 1008; --- 648,652 ---- name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 182; rType = 0; vrLen = 1008; *************** *** 639,643 **** name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 181; rType = 0; vrLen = 1008; --- 658,662 ---- name = "canvas.m: FONTSIZE"; rLen = 0; ! rLoc = 182; rType = 0; vrLen = 1008; *************** *** 649,653 **** name = "canvas.m: 40"; rLen = 0; ! rLoc = 1174; rType = 0; vrLen = 1385; --- 668,672 ---- name = "canvas.m: 40"; rLen = 0; ! rLoc = 1175; rType = 0; vrLen = 1385; *************** *** 659,663 **** name = "canvas.m: 64"; rLen = 0; ! rLoc = 2076; rType = 0; vrLen = 1123; --- 678,682 ---- name = "canvas.m: 64"; rLen = 0; ! rLoc = 1977; rType = 0; vrLen = 1123; *************** *** 669,677 **** name = "canvas.m: 64"; rLen = 0; ! rLoc = 2076; rType = 0; vrLen = 1123; vrLoc = 1463; }; 6E8A102607E721FF00E625E1 = { children = ( --- 688,886 ---- name = "canvas.m: 64"; rLen = 0; ! rLoc = 1977; rType = 0; vrLen = 1123; vrLoc = 1463; }; + 6E79BE7B07E74800004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 64"; + rLen = 0; + rLoc = 1977; + rType = 0; + vrLen = 1123; + vrLoc = 1463; + }; + 6E79BE7C07E748BA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 98"; + rLen = 0; + rLoc = 3066; + rType = 0; + vrLen = 928; + vrLoc = 2187; + }; + 6E79BE7D07E748CA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2601; + rType = 0; + vrLen = 928; + vrLoc = 2187; + }; + 6E79BE7E07E748D9004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2598; + rType = 0; + vrLen = 928; + vrLoc = 2187; + }; + 6E79BE7F07E748FD004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2606; + rType = 0; + vrLen = 932; + vrLoc = 2187; + }; + 6E79BE8007E7492A004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8107E74937004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8207E74949004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8307E74964004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8407E749BA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 79"; + rLen = 0; + rLoc = 2237; + rType = 0; + vrLen = 991; + vrLoc = 2035; + }; + 6E79BE8507E749FA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 79"; + rLen = 0; + rLoc = 2269; + rType = 0; + vrLen = 997; + vrLoc = 2035; + }; + 6E79BE8607E74A2C004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2614; + rType = 0; + vrLen = 1001; + vrLoc = 2035; + }; + 6E79BE8707E74A47004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8807E74A53004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8907E74A65004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE8A07E74B70004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 68"; + rLen = 0; + rLoc = 2125; + rType = 0; + vrLen = 1083; + vrLoc = 1986; + }; + 6E79BE8B07E74B78004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 68"; + rLen = 0; + rLoc = 2125; + rType = 0; + vrLen = 1083; + vrLoc = 1986; + }; + 6E79BE8C07E74B97004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2826; + rType = 0; + vrLen = 839; + vrLoc = 2505; + }; + 6E79BE8D07E74B9D004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2826; + rType = 0; + vrLen = 839; + vrLoc = 2505; + }; 6E8A102607E721FF00E625E1 = { children = ( *************** *** 686,690 **** name = "canvas.m: 60"; rLen = 0; ! rLoc = 1940; rType = 0; vrLen = 913; --- 895,899 ---- name = "canvas.m: 60"; rLen = 0; ! rLoc = 1841; rType = 0; vrLen = 913; *************** *** 696,700 **** name = "canvas.m: 51"; rLen = 0; ! rLoc = 1575; rType = 0; vrLen = 1124; --- 905,909 ---- name = "canvas.m: 51"; rLen = 0; ! rLoc = 1576; rType = 0; vrLen = 1124; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** simonstrandgaard.mode1 15 Mar 2005 16:38:04 -0000 1.6 --- simonstrandgaard.mode1 15 Mar 2005 16:54:55 -0000 1.7 *************** *** 296,300 **** canvas.m bookmark ! 6E79BE7A07E74782004F09B3 history --- 296,300 ---- canvas.m bookmark ! 6E79BE8D07E74B9D004F09B3 history From neoneye at rubyforge.org Tue Mar 15 12:08:26 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 12:08:28 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503151708.j2FH8QdS028856@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv28846 Modified Files: canvas.m Log Message: cleaned up code. Got rid of debug code. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** canvas.m 15 Mar 2005 16:54:55 -0000 1.6 --- canvas.m 15 Mar 2005 17:08:24 -0000 1.7 *************** *** 9,13 **** #import "canvas.h" ! #define FONTSIZE 22 static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; --- 9,13 ---- #import "canvas.h" ! #define FONTSIZE 20 static unichar UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT = 0x256D; *************** *** 33,42 **** // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"%@%@M0123456", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"%@%@M'%@'456", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1], --- 33,42 ---- // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"%@%@M01234j6", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"%@%@M'%@'4j6", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1], *************** *** 55,73 **** color, NSForegroundColorAttributeName, nil ]; - float ascent = [font ascender]; float descent = [font descender]; - NSSize size = [font boundingRectForGlyph: 0x4d].size; float default_lineheight = [font defaultLineHeightForFont]; float capheight = [font capHeight]; - float ac = ascent + descent - capheight; printf( ! "fontsize x=%f y=%f def_lineheight=%f capheight=%f ascend=%f descent=%f ac=%f\n", ! size.width, ! size.height, default_lineheight, capheight, ! ascent, ! descent, ! ac ); printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); --- 55,66 ---- color, NSForegroundColorAttributeName, nil ]; float descent = [font descender]; float default_lineheight = [font defaultLineHeightForFont]; float capheight = [font capHeight]; printf( ! "fontheight: default=%f cap=%f descent=%f\n", default_lineheight, capheight, ! descent ); printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); *************** *** 81,85 **** */ int lineheight = capheight + 0.5; ! int lines = (bounds.size.height+lineheight-1.0)/lineheight; int topskip = default_lineheight + descent + 0.5; --- 74,78 ---- */ int lineheight = capheight + 0.5; ! int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; int topskip = default_lineheight + descent + 0.5; *************** *** 90,94 **** // fill lines of text int i; ! for(i=0; i < lines; i++) { NSPoint point = NSMakePoint( 0, --- 83,87 ---- // fill lines of text int i; ! for(i=0; i < number_of_lines; i++) { NSPoint point = NSMakePoint( 0, From neoneye at rubyforge.org Tue Mar 15 12:08:26 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 12:08:28 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503151708.j2FH8QdS028860@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv28846/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: cleaned up code. Got rid of debug code. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** simonstrandgaard.pbxuser 15 Mar 2005 16:54:55 -0000 1.7 --- simonstrandgaard.pbxuser 15 Mar 2005 17:08:24 -0000 1.8 *************** *** 278,281 **** --- 278,292 ---- 6E79BE8C07E74B97004F09B3 = 6E79BE8C07E74B97004F09B3; 6E79BE8D07E74B9D004F09B3 = 6E79BE8D07E74B9D004F09B3; + 6E79BE8E07E74BD9004F09B3 = 6E79BE8E07E74BD9004F09B3; + 6E79BE8F07E74BF8004F09B3 = 6E79BE8F07E74BF8004F09B3; + 6E79BE9007E74CBF004F09B3 = 6E79BE9007E74CBF004F09B3; + 6E79BE9107E74CCE004F09B3 = 6E79BE9107E74CCE004F09B3; + 6E79BE9207E74D0D004F09B3 = 6E79BE9207E74D0D004F09B3; + 6E79BE9307E74D42004F09B3 = 6E79BE9307E74D42004F09B3; + 6E79BE9407E74D50004F09B3 = 6E79BE9407E74D50004F09B3; + 6E79BE9507E74D7D004F09B3 = 6E79BE9507E74D7D004F09B3; + 6E79BE9607E74ECB004F09B3 = 6E79BE9607E74ECB004F09B3; + 6E79BE9707E74ECE004F09B3 = 6E79BE9707E74ECE004F09B3; + 6E79BE9807E74ED1004F09B3 = 6E79BE9807E74ED1004F09B3; 6E8A106D07E7339B00E625E1 = 6E8A106D07E7339B00E625E1; 6E8C0D9D07E6F25A0008C136 = 6E8C0D9D07E6F25A0008C136; *************** *** 310,316 **** 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2596}}"; ! sepNavSelRange = "{2826, 0}"; ! sepNavVisRect = "{{0, 1782}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; --- 321,327 ---- 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2442}}"; ! sepNavSelRange = "{182, 0}"; ! sepNavVisRect = "{{0, 0}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; *************** *** 388,392 **** name = "canvas.m: 56"; rLen = 0; ! rLoc = 1748; rType = 0; vrLen = 1038; --- 399,403 ---- name = "canvas.m: 56"; rLen = 0; ! rLoc = 1715; rType = 0; vrLen = 1038; *************** *** 398,402 **** name = "canvas.m: 57"; rLen = 0; ! rLoc = 1725; rType = 0; vrLen = 1023; --- 409,413 ---- name = "canvas.m: 57"; rLen = 0; ! rLoc = 1714; rType = 0; vrLen = 1023; *************** *** 408,412 **** name = "canvas.m: 57"; rLen = 0; ! rLoc = 1740; rType = 0; vrLen = 1040; --- 419,423 ---- name = "canvas.m: 57"; rLen = 0; ! rLoc = 1714; rType = 0; vrLen = 1040; *************** *** 418,422 **** name = "canvas.m: 86"; rLen = 0; ! rLoc = 2695; rType = 0; vrLen = 856; --- 429,433 ---- name = "canvas.m: 86"; rLen = 0; ! rLoc = 2481; rType = 0; vrLen = 856; *************** *** 428,432 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2746; rType = 0; vrLen = 890; --- 439,443 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2532; rType = 0; vrLen = 890; *************** *** 438,442 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2956; rType = 0; vrLen = 890; --- 449,453 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2752; rType = 0; vrLen = 890; *************** *** 448,452 **** name = "canvas.m: 65"; rLen = 0; ! rLoc = 2018; rType = 0; vrLen = 878; --- 459,463 ---- name = "canvas.m: 65"; rLen = 0; ! rLoc = 1874; rType = 0; vrLen = 878; *************** *** 458,462 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1758; rType = 0; vrLen = 1107; --- 469,473 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1725; rType = 0; vrLen = 1107; *************** *** 468,472 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1763; rType = 0; vrLen = 1107; --- 479,483 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1730; rType = 0; vrLen = 1107; *************** *** 478,482 **** name = "canvas.m: 58"; rLen = 0; ! rLoc = 1776; rType = 0; vrLen = 1108; --- 489,493 ---- name = "canvas.m: 58"; rLen = 0; ! rLoc = 1743; rType = 0; vrLen = 1108; *************** *** 488,492 **** name = "canvas.m: 71"; rLen = 0; ! rLoc = 2148; rType = 0; vrLen = 1107; --- 499,503 ---- name = "canvas.m: 71"; rLen = 0; ! rLoc = 1940; rType = 0; vrLen = 1107; *************** *** 498,502 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2981; rType = 0; vrLen = 899; --- 509,513 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2777; rType = 0; vrLen = 899; *************** *** 508,512 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2967; rType = 0; vrLen = 894; --- 519,523 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2763; rType = 0; vrLen = 894; *************** *** 518,522 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 3019; rType = 0; vrLen = 928; --- 529,533 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2815; rType = 0; vrLen = 928; *************** *** 528,532 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2987; rType = 0; vrLen = 928; --- 539,543 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2783; rType = 0; vrLen = 928; *************** *** 538,542 **** name = "canvas.m: 92"; rLen = 0; ! rLoc = 3059; rType = 0; vrLen = 988; --- 549,553 ---- name = "canvas.m: 92"; rLen = 0; ! rLoc = 2855; rType = 0; vrLen = 988; *************** *** 548,552 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 3002; rType = 0; vrLen = 911; --- 559,563 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2798; rType = 0; vrLen = 911; *************** *** 568,572 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; --- 579,583 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; *************** *** 578,582 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; --- 589,593 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; *************** *** 588,592 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3260; rType = 0; vrLen = 815; --- 599,603 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; *************** *** 598,602 **** name = "canvas.m: 83"; rLen = 0; ! rLoc = 2588; rType = 0; vrLen = 962; --- 609,613 ---- name = "canvas.m: 83"; rLen = 0; ! rLoc = 2374; rType = 0; vrLen = 962; *************** *** 618,622 **** name = "canvas.m: 99"; rLen = 0; ! rLoc = 3243; rType = 0; vrLen = 891; --- 629,633 ---- name = "canvas.m: 99"; rLen = 0; ! rLoc = 3039; rType = 0; vrLen = 891; *************** *** 678,682 **** name = "canvas.m: 64"; rLen = 0; ! rLoc = 1977; rType = 0; vrLen = 1123; --- 689,693 ---- name = "canvas.m: 64"; rLen = 0; ! rLoc = 1847; rType = 0; vrLen = 1123; *************** *** 688,692 **** name = "canvas.m: 64"; rLen = 0; ! rLoc = 1977; rType = 0; vrLen = 1123; --- 699,703 ---- name = "canvas.m: 64"; rLen = 0; ! rLoc = 1847; rType = 0; vrLen = 1123; *************** *** 698,702 **** name = "canvas.m: 64"; rLen = 0; ! rLoc = 1977; rType = 0; vrLen = 1123; --- 709,713 ---- name = "canvas.m: 64"; rLen = 0; ! rLoc = 1847; rType = 0; vrLen = 1123; *************** *** 708,712 **** name = "canvas.m: 98"; rLen = 0; ! rLoc = 3066; rType = 0; vrLen = 928; --- 719,723 ---- name = "canvas.m: 98"; rLen = 0; ! rLoc = 2862; rType = 0; vrLen = 928; *************** *** 718,722 **** name = "canvas.m: 81"; rLen = 0; ! rLoc = 2601; rType = 0; vrLen = 928; --- 729,733 ---- name = "canvas.m: 81"; rLen = 0; ! rLoc = 2387; rType = 0; vrLen = 928; *************** *** 728,732 **** name = "canvas.m: 81"; rLen = 0; ! rLoc = 2598; rType = 0; vrLen = 928; --- 739,743 ---- name = "canvas.m: 81"; rLen = 0; ! rLoc = 2384; rType = 0; vrLen = 928; *************** *** 738,742 **** name = "canvas.m: 81"; rLen = 0; ! rLoc = 2606; rType = 0; vrLen = 932; --- 749,753 ---- name = "canvas.m: 81"; rLen = 0; ! rLoc = 2392; rType = 0; vrLen = 932; *************** *** 788,792 **** name = "canvas.m: 79"; rLen = 0; ! rLoc = 2237; rType = 0; vrLen = 991; --- 799,803 ---- name = "canvas.m: 79"; rLen = 0; ! rLoc = 2023; rType = 0; vrLen = 991; *************** *** 798,802 **** name = "canvas.m: 79"; rLen = 0; ! rLoc = 2269; rType = 0; vrLen = 997; --- 809,813 ---- name = "canvas.m: 79"; rLen = 0; ! rLoc = 2055; rType = 0; vrLen = 997; *************** *** 808,812 **** name = "canvas.m: 81"; rLen = 0; ! rLoc = 2614; rType = 0; vrLen = 1001; --- 819,823 ---- name = "canvas.m: 81"; rLen = 0; ! rLoc = 2400; rType = 0; vrLen = 1001; *************** *** 848,852 **** name = "canvas.m: 68"; rLen = 0; ! rLoc = 2125; rType = 0; vrLen = 1083; --- 859,863 ---- name = "canvas.m: 68"; rLen = 0; ! rLoc = 1927; rType = 0; vrLen = 1083; *************** *** 858,862 **** name = "canvas.m: 68"; rLen = 0; ! rLoc = 2125; rType = 0; vrLen = 1083; --- 869,873 ---- name = "canvas.m: 68"; rLen = 0; ! rLoc = 1927; rType = 0; vrLen = 1083; *************** *** 868,872 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2826; rType = 0; vrLen = 839; --- 879,883 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2622; rType = 0; vrLen = 839; *************** *** 878,886 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2826; rType = 0; vrLen = 839; vrLoc = 2505; }; 6E8A102607E721FF00E625E1 = { children = ( --- 889,1007 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2632; rType = 0; vrLen = 839; vrLoc = 2505; }; + 6E79BE8E07E74BD9004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2632; + rType = 0; + vrLen = 839; + vrLoc = 2505; + }; + 6E79BE8F07E74BF8004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2632; + rType = 0; + vrLen = 839; + vrLoc = 2505; + }; + 6E79BE9007E74CBF004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 31"; + rLen = 0; + rLoc = 751; + rType = 0; + vrLen = 1213; + vrLoc = 250; + }; + 6E79BE9107E74CCE004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9207E74D0D004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 40"; + rLen = 0; + rLoc = 1173; + rType = 0; + vrLen = 1147; + vrLoc = 442; + }; + 6E79BE9307E74D42004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9407E74D50004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9507E74D7D004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9607E74ECB004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9707E74ECE004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9807E74ED1004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; 6E8A102607E721FF00E625E1 = { children = ( *************** *** 895,899 **** name = "canvas.m: 60"; rLen = 0; ! rLoc = 1841; rType = 0; vrLen = 913; --- 1016,1020 ---- name = "canvas.m: 60"; rLen = 0; ! rLoc = 1753; rType = 0; vrLen = 913; Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** simonstrandgaard.mode1 15 Mar 2005 16:54:55 -0000 1.7 --- simonstrandgaard.mode1 15 Mar 2005 17:08:24 -0000 1.8 *************** *** 296,300 **** canvas.m bookmark ! 6E79BE8D07E74B9D004F09B3 history --- 296,300 ---- canvas.m bookmark ! 6E79BE9807E74ED1004F09B3 history *************** *** 855,859 **** 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! --- 855,859 ---- 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! From neoneye at rubyforge.org Tue Mar 15 17:57:32 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 17:57:33 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503152257.j2FMvWdS016863@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv16833 Modified Files: canvas.m Log Message: we can now render each glyph separately. Though some problems determining if we are dealing with fullwidth or halfwidth. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** canvas.m 15 Mar 2005 17:08:24 -0000 1.7 --- canvas.m 15 Mar 2005 22:57:30 -0000 1.8 *************** *** 76,79 **** --- 76,83 ---- int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; int topskip = default_lineheight + descent + 0.5; + + NSSize adv = [font maximumAdvancement]; + int cellwidth = adv.width; + printf("max adv=%i\n", cellwidth); // fill backgound *************** *** 84,91 **** int i; for(i=0; i < number_of_lines; i++) { ! NSPoint point = NSMakePoint( ! 0, ! bounds.size.height - topskip - lineheight * i ! ); /* --- 88,92 ---- int i; for(i=0; i < number_of_lines; i++) { ! int y = bounds.size.height - topskip - lineheight * i; /* *************** *** 95,99 **** */ NSString *s = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! [s drawAtPoint:point withAttributes:attrs]; } } --- 96,126 ---- */ NSString *s = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! //[s drawAtPoint:point withAttributes:attrs]; ! ! unsigned int length = [s length]; ! unsigned int cellx=0; ! unsigned int j; ! for(j=0; j (1.5 * cellwidth)) ? 2 : 1; ! ! /* ! TODO: detect of halfwidth/fullwidth fails. ! */ ! if(i == 0) { ! printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", ! j, glyph_size.width, cellwidth, cells); ! } ! ! // render glyph ! NSPoint point = NSMakePoint(cellx * cellwidth, y); ! cellx += cells; ! [s1 drawAtPoint:point withAttributes:attrs]; ! } } } From neoneye at rubyforge.org Tue Mar 15 17:57:32 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 15 17:57:34 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503152257.j2FMvWdS016867@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv16833/mac_aeditor.xcode Modified Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: we can now render each glyph separately. Though some problems determining if we are dealing with fullwidth or halfwidth. Index: simonstrandgaard.pbxuser =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.pbxuser,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** simonstrandgaard.pbxuser 15 Mar 2005 17:08:24 -0000 1.8 --- simonstrandgaard.pbxuser 15 Mar 2005 22:57:30 -0000 1.9 *************** *** 289,292 **** --- 289,345 ---- 6E79BE9707E74ECE004F09B3 = 6E79BE9707E74ECE004F09B3; 6E79BE9807E74ED1004F09B3 = 6E79BE9807E74ED1004F09B3; + 6E79BE9907E74F02004F09B3 = 6E79BE9907E74F02004F09B3; + 6E79BE9A07E75047004F09B3 = 6E79BE9A07E75047004F09B3; + 6E79BE9B07E78D22004F09B3 = 6E79BE9B07E78D22004F09B3; + 6E79BE9C07E78E59004F09B3 = 6E79BE9C07E78E59004F09B3; + 6E79BE9D07E798ED004F09B3 = 6E79BE9D07E798ED004F09B3; + 6E79BE9F07E799EA004F09B3 = 6E79BE9F07E799EA004F09B3; + 6E79BEA007E79B0F004F09B3 = 6E79BEA007E79B0F004F09B3; + 6E79BEA107E79B0F004F09B3 = 6E79BEA107E79B0F004F09B3; + 6E79BEA307E79B48004F09B3 = 6E79BEA307E79B48004F09B3; + 6E79BEA407E79B48004F09B3 = 6E79BEA407E79B48004F09B3; + 6E79BEA507E79B48004F09B3 = 6E79BEA507E79B48004F09B3; + 6E79BEA707E79B4E004F09B3 = 6E79BEA707E79B4E004F09B3; + 6E79BEA807E79B5F004F09B3 = 6E79BEA807E79B5F004F09B3; + 6E79BEA907E79B5F004F09B3 = 6E79BEA907E79B5F004F09B3; + 6E79BEAA07E79B77004F09B3 = 6E79BEAA07E79B77004F09B3; + 6E79BEAB07E79BCA004F09B3 = 6E79BEAB07E79BCA004F09B3; + 6E79BEAC07E79BCA004F09B3 = 6E79BEAC07E79BCA004F09B3; + 6E79BEAD07E79C58004F09B3 = 6E79BEAD07E79C58004F09B3; + 6E79BEAE07E79C7C004F09B3 = 6E79BEAE07E79C7C004F09B3; + 6E79BEAF07E79C7C004F09B3 = 6E79BEAF07E79C7C004F09B3; + 6E79BEB007E79C80004F09B3 = 6E79BEB007E79C80004F09B3; + 6E79BEB107E79C8F004F09B3 = 6E79BEB107E79C8F004F09B3; + 6E79BEB207E79C8F004F09B3 = 6E79BEB207E79C8F004F09B3; + 6E79BEB307E79CA0004F09B3 = 6E79BEB307E79CA0004F09B3; + 6E79BEB407E79CC0004F09B3 = 6E79BEB407E79CC0004F09B3; + 6E79BEB507E79CC0004F09B3 = 6E79BEB507E79CC0004F09B3; + 6E79BEB607E79CC9004F09B3 = 6E79BEB607E79CC9004F09B3; + 6E79BEB707E79DF1004F09B3 = 6E79BEB707E79DF1004F09B3; + 6E79BEB807E79DF1004F09B3 = 6E79BEB807E79DF1004F09B3; + 6E79BEB907E79DF4004F09B3 = 6E79BEB907E79DF4004F09B3; + 6E79BEBA07E79DF4004F09B3 = 6E79BEBA07E79DF4004F09B3; + 6E79BEBB07E79E1B004F09B3 = 6E79BEBB07E79E1B004F09B3; + 6E79BEBC07E79E1B004F09B3 = 6E79BEBC07E79E1B004F09B3; + 6E79BEBD07E79E51004F09B3 = 6E79BEBD07E79E51004F09B3; + 6E79BEBE07E79E51004F09B3 = 6E79BEBE07E79E51004F09B3; + 6E79BEBF07E79EF0004F09B3 = 6E79BEBF07E79EF0004F09B3; + 6E79BEC007E79EF0004F09B3 = 6E79BEC007E79EF0004F09B3; + 6E79BEC107E79F01004F09B3 = 6E79BEC107E79F01004F09B3; + 6E79BEC207E79F01004F09B3 = 6E79BEC207E79F01004F09B3; + 6E79BEC307E79F2B004F09B3 = 6E79BEC307E79F2B004F09B3; + 6E79BEC407E79FB2004F09B3 = 6E79BEC407E79FB2004F09B3; + 6E79BEC507E79FB2004F09B3 = 6E79BEC507E79FB2004F09B3; + 6E79BEC607E79FCD004F09B3 = 6E79BEC607E79FCD004F09B3; + 6E79BEC707E7A025004F09B3 = 6E79BEC707E7A025004F09B3; + 6E79BEC807E7A025004F09B3 = 6E79BEC807E7A025004F09B3; + 6E79BEC907E7A04A004F09B3 = 6E79BEC907E7A04A004F09B3; + 6E79BECA07E7A04A004F09B3 = 6E79BECA07E7A04A004F09B3; + 6E79BECB07E7A051004F09B3 = 6E79BECB07E7A051004F09B3; + 6E79BECC07E7A086004F09B3 = 6E79BECC07E7A086004F09B3; + 6E79BECD07E7A086004F09B3 = 6E79BECD07E7A086004F09B3; + 6E79BECE07E7A097004F09B3 = 6E79BECE07E7A097004F09B3; + 6E79BECF07E7A09A004F09B3 = 6E79BECF07E7A09A004F09B3; + 6E79BED007E7A09A004F09B3 = 6E79BED007E7A09A004F09B3; 6E8A106D07E7339B00E625E1 = 6E8A106D07E7339B00E625E1; 6E8C0D9D07E6F25A0008C136 = 6E8C0D9D07E6F25A0008C136; *************** *** 321,327 **** 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 2442}}"; ! sepNavSelRange = "{182, 0}"; ! sepNavVisRect = "{{0, 0}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; --- 374,380 ---- 6E2C7A9D07E34FEC00483E08 = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1024.56, 3036}}"; ! sepNavSelRange = "{3502, 0}"; ! sepNavVisRect = "{{0, 1870}, {968, 771}}"; sepNavWindowFrame = "{{15, 439}, {750, 558}}"; }; *************** *** 429,433 **** name = "canvas.m: 86"; rLen = 0; ! rLoc = 2481; rType = 0; vrLen = 856; --- 482,486 ---- name = "canvas.m: 86"; rLen = 0; ! rLoc = 2600; rType = 0; vrLen = 856; *************** *** 439,443 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2532; rType = 0; vrLen = 890; --- 492,496 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2651; rType = 0; vrLen = 890; *************** *** 449,453 **** name = "canvas.m: 88"; rLen = 0; ! rLoc = 2752; rType = 0; vrLen = 890; --- 502,506 ---- name = "canvas.m: 88"; rLen = 0; ! rLoc = 2829; rType = 0; vrLen = 890; *************** *** 509,513 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2777; rType = 0; vrLen = 899; --- 562,566 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2854; rType = 0; vrLen = 899; *************** *** 519,523 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2763; rType = 0; vrLen = 894; --- 572,576 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2840; rType = 0; vrLen = 894; *************** *** 529,533 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2815; rType = 0; vrLen = 928; --- 582,586 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2892; rType = 0; vrLen = 928; *************** *** 539,543 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2783; rType = 0; vrLen = 928; --- 592,596 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2860; rType = 0; vrLen = 928; *************** *** 549,553 **** name = "canvas.m: 92"; rLen = 0; ! rLoc = 2855; rType = 0; vrLen = 988; --- 602,606 ---- name = "canvas.m: 92"; rLen = 0; ! rLoc = 2932; rType = 0; vrLen = 988; *************** *** 559,563 **** name = "canvas.m: 91"; rLen = 0; ! rLoc = 2798; rType = 0; vrLen = 911; --- 612,616 ---- name = "canvas.m: 91"; rLen = 0; ! rLoc = 2875; rType = 0; vrLen = 911; *************** *** 579,583 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; --- 632,636 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3236; rType = 0; vrLen = 815; *************** *** 589,593 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; --- 642,646 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3236; rType = 0; vrLen = 815; *************** *** 599,603 **** name = "canvas.m: 93"; rLen = 0; ! rLoc = 3056; rType = 0; vrLen = 815; --- 652,656 ---- name = "canvas.m: 93"; rLen = 0; ! rLoc = 3236; rType = 0; vrLen = 815; *************** *** 629,633 **** name = "canvas.m: 99"; rLen = 0; ! rLoc = 3039; rType = 0; vrLen = 891; --- 682,686 ---- name = "canvas.m: 99"; rLen = 0; ! rLoc = 3222; rType = 0; vrLen = 891; *************** *** 719,723 **** name = "canvas.m: 98"; rLen = 0; ! rLoc = 2862; rType = 0; vrLen = 928; --- 772,776 ---- name = "canvas.m: 98"; rLen = 0; ! rLoc = 2939; rType = 0; vrLen = 928; *************** *** 879,883 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2622; rType = 0; vrLen = 839; --- 932,936 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2720; rType = 0; vrLen = 839; *************** *** 889,893 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2632; rType = 0; vrLen = 839; --- 942,946 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2720; rType = 0; vrLen = 839; *************** *** 899,903 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2632; rType = 0; vrLen = 839; --- 952,956 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2720; rType = 0; vrLen = 839; *************** *** 909,913 **** name = "canvas.m: 94"; rLen = 0; ! rLoc = 2632; rType = 0; vrLen = 839; --- 962,966 ---- name = "canvas.m: 94"; rLen = 0; ! rLoc = 2720; rType = 0; vrLen = 839; *************** *** 1004,1007 **** --- 1057,1584 ---- vrLoc = 0; }; + 6E79BE9907E74F02004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9A07E75047004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9B07E78D22004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9C07E78E59004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9D07E798ED004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: FONTSIZE"; + rLen = 0; + rLoc = 182; + rType = 0; + vrLen = 1008; + vrLoc = 0; + }; + 6E79BE9F07E799EA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 102"; + rLen = 0; + rLoc = 3185; + rType = 0; + vrLen = 897; + vrLoc = 2326; + }; + 6E79BEA007E79B0F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + rLen = 1; + rLoc = 109; + rType = 1; + }; + 6E79BEA107E79B0F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\t\t\tNSPoint p = NSMakePoint(\n"; + rLen = 32; + rLoc = 3374; + rType = 0; + vrLen = 257; + vrLoc = 3003; + }; + 6E79BEA307E79B48004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 103"; + rLen = 0; + rLoc = 3373; + rType = 0; + vrLen = 890; + vrLoc = 2554; + }; + 6E79BEA407E79B48004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + rLen = 1; + rLoc = 109; + rType = 1; + }; + 6E79BEA507E79B48004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\t\t\tNSPoint p = NSMakePoint(\n"; + rLen = 32; + rLoc = 3374; + rType = 0; + vrLen = 257; + vrLoc = 3003; + }; + 6E79BEA707E79B4E004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\t\t\tNSPoint p = NSMakePoint(\n"; + rLen = 32; + rLoc = 3374; + rType = 0; + vrLen = 257; + vrLoc = 3003; + }; + 6E79BEA807E79B5F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 106"; + rLen = 0; + rLoc = 3447; + rType = 0; + vrLen = 890; + vrLoc = 2554; + }; + 6E79BEA907E79B5F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\t\t\tNSPoint p = NSMakePoint(\n"; + rLen = 36; + rLoc = 3381; + rType = 0; + vrLen = 257; + vrLoc = 3003; + }; + 6E79BEAA07E79B77004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "\t\t\tNSPoint p = NSMakePoint(\n"; + rLen = 36; + rLoc = 3381; + rType = 0; + vrLen = 257; + vrLoc = 3003; + }; + 6E79BEAB07E79BCA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 79"; + rLen = 0; + rLoc = 2554; + rType = 0; + vrLen = 1151; + vrLoc = 2020; + }; + 6E79BEAC07E79BCA004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 103"; + rLen = 0; + rLoc = 3397; + rType = 0; + vrLen = 245; + vrLoc = 3006; + }; + 6E79BEAD07E79C58004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 104"; + rLen = 0; + rLoc = 3377; + rType = 0; + vrLen = 259; + vrLoc = 3009; + }; + 6E79BEAE07E79C7C004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2554; + rType = 0; + vrLen = 1141; + vrLoc = 2020; + }; + 6E79BEAF07E79C7C004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3397; + rType = 0; + vrLen = 246; + vrLoc = 3039; + }; + 6E79BEB007E79C80004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3397; + rType = 0; + vrLen = 246; + vrLoc = 3039; + }; + 6E79BEB107E79C8F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 106"; + rLen = 0; + rLoc = 3429; + rType = 0; + vrLen = 888; + vrLoc = 2637; + }; + 6E79BEB207E79C8F004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3397; + rType = 0; + vrLen = 251; + vrLoc = 3039; + }; + 6E79BEB307E79CA0004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3406; + rType = 0; + vrLen = 251; + vrLoc = 3039; + }; + 6E79BEB407E79CC0004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 81"; + rLen = 0; + rLoc = 2573; + rType = 0; + vrLen = 1162; + vrLoc = 2020; + }; + 6E79BEB507E79CC0004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3406; + rType = 0; + vrLen = 251; + vrLoc = 3060; + }; + 6E79BEB607E79CC9004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 105"; + rLen = 0; + rLoc = 3385; + rType = 0; + vrLen = 251; + vrLoc = 3060; + }; + 6E79BEB707E79DF1004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 108"; + rLen = 0; + rLoc = 3318; + rType = 0; + vrLen = 950; + vrLoc = 2637; + }; + 6E79BEB807E79DF1004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3385; + rType = 0; + vrLen = 322; + vrLoc = 3039; + }; + 6E79BEB907E79DF4004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 108"; + rLen = 0; + rLoc = 3316; + rType = 0; + vrLen = 950; + vrLoc = 2637; + }; + 6E79BEBA07E79DF4004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3383; + rType = 0; + vrLen = 322; + vrLoc = 3039; + }; + 6E79BEBB07E79E1B004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 107"; + rLen = 0; + rLoc = 3276; + rType = 0; + vrLen = 948; + vrLoc = 2637; + }; + 6E79BEBC07E79E1B004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3383; + rType = 0; + vrLen = 320; + vrLoc = 3039; + }; + 6E79BEBD07E79E51004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 108"; + rLen = 0; + rLoc = 3356; + rType = 0; + vrLen = 956; + vrLoc = 2637; + }; + 6E79BEBE07E79E51004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3390; + rType = 0; + vrLen = 328; + vrLoc = 3039; + }; + 6E79BEBF07E79EF0004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2855; + rType = 0; + vrLen = 999; + vrLoc = 2637; + }; + 6E79BEC007E79EF0004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3394; + rType = 0; + vrLen = 332; + vrLoc = 3039; + }; + 6E79BEC107E79F01004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 94"; + rLen = 0; + rLoc = 2855; + rType = 0; + vrLen = 999; + vrLoc = 2637; + }; + 6E79BEC207E79F01004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3485; + rType = 0; + vrLen = 332; + vrLoc = 3039; + }; + 6E79BEC307E79F2B004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 110"; + rLen = 0; + rLoc = 3485; + rType = 0; + vrLen = 332; + vrLoc = 3039; + }; + 6E79BEC407E79FB2004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 112"; + rLen = 0; + rLoc = 3468; + rType = 0; + vrLen = 1045; + vrLoc = 2637; + }; + 6E79BEC507E79FB2004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 113"; + rLen = 0; + rLoc = 3485; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BEC607E79FCD004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 113"; + rLen = 0; + rLoc = 3615; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BEC707E7A025004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 114"; + rLen = 0; + rLoc = 3534; + rType = 0; + vrLen = 1088; + vrLoc = 2637; + }; + 6E79BEC807E7A025004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 118"; + rLen = 0; + rLoc = 3615; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BEC907E7A04A004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 114"; + rLen = 0; + rLoc = 3592; + rType = 0; + vrLen = 1088; + vrLoc = 2637; + }; + 6E79BECA07E7A04A004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 118"; + rLen = 0; + rLoc = 3673; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BECB07E7A051004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 118"; + rLen = 0; + rLoc = 3673; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BECC07E7A086004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 114"; + rLen = 0; + rLoc = 3502; + rType = 0; + vrLen = 1074; + vrLoc = 2637; + }; + 6E79BECD07E7A086004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 121"; + rLen = 0; + rLoc = 3673; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BECE07E7A097004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 121"; + rLen = 0; + rLoc = 3673; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; + 6E79BECF07E7A09A004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 114"; + rLen = 0; + rLoc = 3502; + rType = 0; + vrLen = 1074; + vrLoc = 2637; + }; + 6E79BED007E7A09A004F09B3 = { + fRef = 6E2C7A9D07E34FEC00483E08; + isa = PBXTextBookmark; + name = "canvas.m: 121"; + rLen = 0; + rLoc = 3673; + rType = 0; + vrLen = 290; + vrLoc = 3039; + }; 6E8A102607E721FF00E625E1 = { children = ( Index: simonstrandgaard.mode1 =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/simonstrandgaard.mode1,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** simonstrandgaard.mode1 15 Mar 2005 17:08:24 -0000 1.8 --- simonstrandgaard.mode1 15 Mar 2005 22:57:30 -0000 1.9 *************** *** 296,300 **** canvas.m bookmark ! 6E79BE9807E74ED1004F09B3 history --- 296,300 ---- canvas.m bookmark ! 6E79BECF07E7A09A004F09B3 history *************** *** 430,433 **** --- 430,439 ---- PBXProjectModuleLabel canvas.m + bookmark + 6E79BED007E7A09A004F09B3 + history + + 6E79BEA407E79B48004F09B3 + SplitCount *************** *** 502,506 **** 6E8C0DF007E702870008C136 WindowToolIsVisible ! --- 508,512 ---- 6E8C0DF007E702870008C136 WindowToolIsVisible ! *************** *** 819,834 **** Frame ! {{0, 0}, {458, 143}} RubberWindowFrame ! 148 741 458 185 0 0 1280 1002 Module PBXRunSessionModule Proportion ! 143pt Proportion ! 143pt --- 825,840 ---- Frame ! {{0, 0}, {452, 264}} RubberWindowFrame ! 89 462 452 306 0 0 1280 1002 Module PBXRunSessionModule Proportion ! 264pt Proportion ! 264pt *************** *** 851,859 **** xcode.toolbar.config.run WindowString ! 148 741 458 185 0 0 1280 1002 WindowToolGUID 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! --- 857,865 ---- xcode.toolbar.config.run WindowString ! 89 462 452 306 0 0 1280 1002 WindowToolGUID 1C0AD2B3069F1EA900FABCE6 WindowToolIsVisible ! From neoneye at rubyforge.org Wed Mar 16 13:52:39 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 16 13:52:39 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib keyedobjects.nib info.nib objects.nib Message-ID: <200503161852.j2GIqddS015825@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv15754/English.lproj/MainMenu.nib Modified Files: info.nib Added Files: keyedobjects.nib Removed Files: objects.nib Log Message: James Housley recommended that I instead used text-format for the files rather than binary. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** info.nib 15 Mar 2005 13:25:15 -0000 1.1 --- info.nib 16 Mar 2005 18:52:36 -0000 1.2 *************** *** 19,22 **** --- 19,24 ---- IBSystem Version 7U16 + IBUsesTextArchiving + --- objects.nib DELETED --- --- NEW FILE: keyedobjects.nib --- $archiver NSKeyedArchiver $objects $null $class CF$UID 407 NSClassesKeys CF$UID 308 [...5855 lines suppressed...] NSIBObjectData NSObject $classname NSIBObjectData $top IB.objectdata CF$UID 1 $version 100000 From neoneye at rubyforge.org Wed Mar 16 13:52:39 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Wed Mar 16 13:52:40 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode simonstrandgaard.mode1 simonstrandgaard.pbxuser Message-ID: <200503161852.j2GIqddS015829@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv15754/mac_aeditor.xcode Removed Files: simonstrandgaard.mode1 simonstrandgaard.pbxuser Log Message: James Housley recommended that I instead used text-format for the files rather than binary. --- simonstrandgaard.pbxuser DELETED --- --- simonstrandgaard.mode1 DELETED --- From neoneye at rubyforge.org Fri Mar 18 12:56:56 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 18 12:56:58 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor mac_aeditor_Prefix.pch canvas.m Message-ID: <200503181756.j2IHuudS028740@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv28715 Modified Files: canvas.m Added Files: mac_aeditor_Prefix.pch Log Message: I asked on the cocoa mailinglist what files to put in CVS.. they said that I also should put the .pch file into CVS.. so here it is. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** canvas.m 15 Mar 2005 22:57:30 -0000 1.8 --- canvas.m 18 Mar 2005 17:56:54 -0000 1.9 *************** *** 16,19 **** --- 16,21 ---- static unichar UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT = 0x256F; static unichar UC_SQUARE_MM_SQUARED = 0x339F; + static unichar UC_FULLWIDTH_N = 0xFF2E; + static unichar UC_CJK = 0x4E21; @implementation canvas *************** *** 33,46 **** // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"%@%@M01234j6", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"%@%@M'%@'4j6", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1], ! [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1] ! ]; texts[1] = str1; --- 35,49 ---- // build some strings to output NSString* texts[2]; ! NSString* str0 = [NSString stringWithFormat:@"%@%@<%@><%@><%@>", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], ! [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1], ! [NSString stringWithCharacters: &UC_FULLWIDTH_N length: 1], ! [NSString stringWithCharacters: &UC_CJK length: 1] ]; texts[0] = str0; ! NSString* str1 = [NSString stringWithFormat:@"%@%@01234567890123456789", [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ]; texts[1] = str1; *************** *** 136,137 **** --- 139,144 ---- @end + + + // openvpn --daemon --verb 1 --writepid /var/run/ovpn_client0.pid --dev tap1 --proto tcp-client --lport 5002 --remote 212.97.207.21 5002 --tls-client --ca /var/db/ovpn_ca_cert0.pem --cert /var/db/ovpn_cli_cert0.pem --key /var/db/ovpn_cli_key0.pem --comp-lzo --tun-mtu 1500 --mssfix 1400 + // openvpn --daemon --verb 1 --writepid /var/run/ovpn_client0.pid --dev tap1 --proto tcp-client --lport 5002 --remote 212.97.207.21 5002 --tls-client --ca /var/db/ovpn_ca_cert_0.pem --cert /var/db/ovpn_cli_cert_0.pem --key /var/db/ovpn_cli_key_0.pem --comp-lzo --tun-mtu 1500 --mssfix 1400 --- NEW FILE: mac_aeditor_Prefix.pch --- // // Prefix header for all source files of the 'mac_aeditor' target in the 'mac_aeditor' project // #ifdef __OBJC__ #import #endif From neoneye at rubyforge.org Sun Mar 20 07:58:11 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 07:58:13 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib info.nib keyedobjects.nib Message-ID: <200503201258.j2KCwBdS002401@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv2361/English.lproj/MainMenu.nib Modified Files: info.nib keyedobjects.nib Log Message: I realized that it was dead-simple to place my canvas class inside of a NSScrollView. All what it required was 1. give focus to the the view I wanted inside a scrollview. 2. in the layout menu click on make subview of -> scrollview. Thats all.. and I'm too stupid. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** info.nib 16 Mar 2005 18:52:36 -0000 1.2 --- info.nib 20 Mar 2005 12:58:09 -0000 1.3 *************** *** 8,12 **** 29 ! 94 344 318 44 0 0 1280 1002 IBFramework Version --- 8,12 ---- 29 ! 94 344 266 44 0 0 1280 1002 IBFramework Version *************** *** 14,19 **** IBOpenObjects - 29 21 IBSystem Version --- 14,19 ---- IBOpenObjects 21 + 29 IBSystem Version Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** keyedobjects.nib 16 Mar 2005 18:52:36 -0000 1.1 --- keyedobjects.nib 20 Mar 2005 12:58:09 -0000 1.2 *************** *** 12,31 **** CF$UID ! 407 NSClassesKeys CF$UID ! 308 NSClassesValues [...10117 lines suppressed...] 2 + 181 131 ! 129 ! 168 ! 125 ! 172 ! 5 ! 189 ! 171 ! 72 ! 197 ! 179 ! 81 ! 192 ! 156 ! 23 ! 158 $classes From neoneye at rubyforge.org Sun Mar 20 08:53:34 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 08:53:35 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503201353.j2KDrXdS005510@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv5503 Modified Files: canvas.m Log Message: further simplification of the renderloop Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** canvas.m 18 Mar 2005 17:56:54 -0000 1.9 --- canvas.m 20 Mar 2005 13:53:31 -0000 1.10 *************** *** 106,120 **** for(j=0; j (1.5 * cellwidth)) ? 2 : 1; /* TODO: detect of halfwidth/fullwidth fails. */ ! if(i == 0) { printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", j, glyph_size.width, cellwidth, cells); --- 106,124 ---- for(j=0; j (1.2 * cellwidth)) ? 2 : 1; /* TODO: detect of halfwidth/fullwidth fails. */ ! if(i == 1) { printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", j, glyph_size.width, cellwidth, cells); *************** *** 124,132 **** NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! [s1 drawAtPoint:point withAttributes:attrs]; } } } - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; --- 128,142 ---- NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! [s1 drawAtPoint:point]; } } } + - (void) boundsDidChangeNotification: (NSNotification *) notification + { + [self setNeedsDisplay: YES]; + // or whatever work you need to do + } + - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; From neoneye at rubyforge.org Sun Mar 20 10:31:18 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 10:31:20 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503201531.j2KFVIdS010895@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv10884 Modified Files: canvas.m Log Message: very early experiments attaching ourselves as observers to NSScrollView. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** canvas.m 20 Mar 2005 13:53:31 -0000 1.10 --- canvas.m 20 Mar 2005 15:31:16 -0000 1.11 *************** *** 133,142 **** } - - (void) boundsDidChangeNotification: (NSNotification *) notification - { - [self setNeedsDisplay: YES]; - // or whatever work you need to do - } - - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; --- 133,136 ---- *************** *** 148,151 **** --- 142,169 ---- } + - (void)awakeFromNib + { + printf("awakeFromNib\n"); + + NSScrollView *scroller; + if(scroller = [self enclosingScrollView]) + { + printf("we got a scroller\n"); + // TODO: we want NSScrollView to let us know about scrolling + // [scroller setTarget:self]; + // [scroller setAction:@selector(userHasScrolled:)]; + + } + return; + } + + - (IBAction)userHasScrolled:(id)sender + { + printf("scrolling\n"); + // [self setNeedsDisplay: YES]; + } + + + @end From neoneye at rubyforge.org Sun Mar 20 10:31:18 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 10:31:20 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib classes.nib info.nib keyedobjects.nib Message-ID: <200503201531.j2KFVIdS010899@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv10884/English.lproj/MainMenu.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: very early experiments attaching ourselves as observers to NSScrollView. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** info.nib 20 Mar 2005 12:58:09 -0000 1.3 --- info.nib 20 Mar 2005 15:31:16 -0000 1.4 *************** *** 4,8 **** IBDocumentLocation ! 94 102 356 240 0 0 1280 1002 IBEditorPositions --- 4,8 ---- IBDocumentLocation ! 89 87 356 240 0 0 1280 1002 IBEditorPositions Index: classes.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/classes.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** classes.nib 15 Mar 2005 13:25:15 -0000 1.1 --- classes.nib 20 Mar 2005 15:31:16 -0000 1.2 *************** *** 1,4 **** --- 1,5 ---- { IBClasses = ( + {CLASS = AEditor; LANGUAGE = ObjC; SUPERCLASS = NSApplication; }, {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, {CLASS = canvas; LANGUAGE = ObjC; SUPERCLASS = NSView; } Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** keyedobjects.nib 20 Mar 2005 12:58:09 -0000 1.2 --- keyedobjects.nib 20 Mar 2005 15:31:16 -0000 1.3 *************** *** 37,41 **** CF$UID ! 6 NSNamesKeys --- 37,41 ---- CF$UID ! 5 [...5417 lines suppressed...] ! 157 ! 57 142 178 ! 173 ! 169 ! 190 ! 19 ! 143 ! 37 149 ! 129 145 ! 73 ! 58 144 5 189 $classes From neoneye at rubyforge.org Sun Mar 20 10:52:59 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 10:53:00 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib keyedobjects.nib Message-ID: <200503201552.j2KFqxdS011611@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv11601/English.lproj/MainMenu.nib Modified Files: keyedobjects.nib Log Message: Now the view is scrollable and resizeable. wow.. Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** keyedobjects.nib 20 Mar 2005 15:31:16 -0000 1.3 --- keyedobjects.nib 20 Mar 2005 15:52:57 -0000 1.4 *************** *** 12,31 **** CF$UID ! 414 NSClassesKeys CF$UID ! 314 NSClassesValues [...9764 lines suppressed...] 126 154 ! 77 86 + 1 124 168 ! 112 82 + 130 174 ! 75 ! 19 78 164 ! 87 37 ! 2 $classes From neoneye at rubyforge.org Sun Mar 20 11:18:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 11:18:13 2005 Subject: [Aeditor-commit] projects/documents/homepage2 weblog.html Message-ID: <200503201618.j2KGICdS013895@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2 In directory rubyforge.org:/tmp/cvs-serv13886 Modified Files: weblog.html Log Message: status for this weekend. Index: weblog.html =================================================================== RCS file: /var/cvs/aeditor/projects/documents/homepage2/weblog.html,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** weblog.html 8 Mar 2005 20:58:01 -0000 1.11 --- weblog.html 20 Mar 2005 16:18:10 -0000 1.12 *************** *** 40,43 **** --- 40,48 ---- I have a small appartment in Copenhagen, the capital of Denmark.

+

Cocoa Crazy - 20 mar 2005

+

Today I have added scrollbars to my Cocoa Textcanvas (which I + want to interface with AEditor2). Its amazingly slow to do scrolling.

+ AEditor for mac +

Cocoa Crazy - 08 mar 2005

Today I wrote my first Cocoa program. I figured that I needed a From neoneye at rubyforge.org Sun Mar 20 11:18:12 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 11:18:13 2005 Subject: [Aeditor-commit] projects/documents/homepage2/data textcanvas001.png Message-ID: <200503201618.j2KGICdS013899@rubyforge.org> Update of /var/cvs/aeditor/projects/documents/homepage2/data In directory rubyforge.org:/tmp/cvs-serv13886/data Added Files: textcanvas001.png Log Message: status for this weekend. --- NEW FILE: textcanvas001.png --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Sun Mar 20 12:33:33 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 12:33:35 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503201733.j2KHXXdS017468@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv17452 Modified Files: canvas.m Log Message: removed dead code.. renamed variables. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** canvas.m 20 Mar 2005 15:31:16 -0000 1.11 --- canvas.m 20 Mar 2005 17:33:31 -0000 1.12 *************** *** 98,118 **** when rendering one then we only advance 1.9 cells */ ! NSString *s = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! //[s drawAtPoint:point withAttributes:attrs]; ! unsigned int length = [s length]; unsigned int cellx=0; unsigned int j; for(j=0; j (1.2 * cellwidth)) ? 2 : 1; --- 98,117 ---- when rendering one then we only advance 1.9 cells */ ! NSString *string = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! unsigned int length = [string length]; unsigned int cellx=0; unsigned int j; for(j=0; j (1.2 * cellwidth)) ? 2 : 1; *************** *** 128,132 **** NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! [s1 drawAtPoint:point]; } } --- 127,131 ---- NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! [letter drawAtPoint:point]; } } *************** *** 142,169 **** } - - (void)awakeFromNib - { - printf("awakeFromNib\n"); - - NSScrollView *scroller; - if(scroller = [self enclosingScrollView]) - { - printf("we got a scroller\n"); - // TODO: we want NSScrollView to let us know about scrolling - // [scroller setTarget:self]; - // [scroller setAction:@selector(userHasScrolled:)]; - - } - return; - } - - - (IBAction)userHasScrolled:(id)sender - { - printf("scrolling\n"); - // [self setNeedsDisplay: YES]; - } - - - @end --- 141,144 ---- From neoneye at rubyforge.org Sun Mar 20 16:15:26 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 16:15:28 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.h canvas.m Message-ID: <200503202115.j2KLFQdS005087@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv5077 Modified Files: canvas.h canvas.m Log Message: moved expensive things out from drawRect and simplified render loop furhter Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** canvas.m 20 Mar 2005 17:33:31 -0000 1.12 --- canvas.m 20 Mar 2005 21:15:24 -0000 1.13 *************** *** 25,28 **** --- 25,37 ---- if (self) { // Initialization code here. + + // pick a font + font = [NSFont userFixedPitchFontOfSize:FONTSIZE]; + // NSColor* color = [NSColor blackColor]; + attrs = [ + [NSDictionary alloc] initWithObjectsAndKeys: + font, NSFontAttributeName, + [NSColor blackColor], NSForegroundColorAttributeName, nil + ];// */ } return self; *************** *** 48,61 **** ]; texts[1] = str1; ! ! ! // pick a font ! NSFont* font = [NSFont userFixedPitchFontOfSize:FONTSIZE]; ! NSColor* color = [NSColor blackColor]; ! NSDictionary* attrs = [ ! NSDictionary dictionaryWithObjectsAndKeys: ! font, NSFontAttributeName, ! color, NSForegroundColorAttributeName, nil ! ]; float descent = [font descender]; float default_lineheight = [font defaultLineHeightForFont]; --- 57,61 ---- ]; texts[1] = str1; ! float descent = [font descender]; float default_lineheight = [font defaultLineHeightForFont]; *************** *** 100,104 **** NSString *string = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! unsigned int length = [string length]; unsigned int cellx=0; unsigned int j; --- 100,110 ---- NSString *string = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! NSAttributedString *astring = [ ! [NSAttributedString alloc] ! initWithString:string ! attributes:attrs ! ]; ! ! unsigned int length = [astring length]; unsigned int cellx=0; unsigned int j; *************** *** 106,114 **** // make string per letter NSAttributedString *letter = [ ! [NSAttributedString alloc] ! initWithString:[string substringWithRange:NSMakeRange(j,1)] ! attributes:attrs ]; - [letter autorelease]; // fullwidth=2 cells or halfwidth=1 cell --- 112,117 ---- // make string per letter NSAttributedString *letter = [ ! astring attributedSubstringFromRange:NSMakeRange(j,1) ]; // fullwidth=2 cells or halfwidth=1 cell Index: canvas.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** canvas.h 12 Mar 2005 16:39:31 -0000 1.1 --- canvas.h 20 Mar 2005 21:15:24 -0000 1.2 *************** *** 11,15 **** @interface canvas : NSView { ! } --- 11,16 ---- @interface canvas : NSView { ! NSFont* font; ! NSDictionary* attrs; } From neoneye at rubyforge.org Sun Mar 20 16:26:34 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 16:26:35 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor TODO Message-ID: <200503202126.j2KLQYdS005541@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv5536 Added Files: TODO Log Message: what needs to be done. --- NEW FILE: TODO --- How to alloc/init/autorelease is still a mystery to me. render with colors. selections. cursor. find a faster way to render the text. maybe by only rendering inside the clipregion. From neoneye at rubyforge.org Sun Mar 20 16:57:30 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 16:57:31 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.h canvas.m Message-ID: <200503202157.j2KLvUdS006688@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv6675 Modified Files: canvas.h canvas.m Log Message: drawRect: turned local vars into instance vars Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** canvas.m 20 Mar 2005 21:15:24 -0000 1.13 --- canvas.m 20 Mar 2005 21:57:28 -0000 1.14 *************** *** 33,37 **** font, NSFontAttributeName, [NSColor blackColor], NSForegroundColorAttributeName, nil ! ];// */ } return self; --- 33,63 ---- font, NSFontAttributeName, [NSColor blackColor], NSForegroundColorAttributeName, nil ! ]; ! ! // extract info about our font ! float descent = [font descender]; ! float default_lineheight = [font defaultLineHeightForFont]; ! float capheight = [font capHeight]; ! NSSize adv = [font maximumAdvancement]; ! printf( ! "fontheight: default=%f cap=%f descent=%f\n", ! default_lineheight, ! capheight, ! descent ! ); ! printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); ! ! /* ! convert from float to integers ! Cocoa's font renderer cannot render glyphs on subpixel offsets, ! when it gets a subpixel offset it rounds it to the nearest integer ! and it produces 1pixel horizontal ugly lines. ! By using integers we avoid these ugly artifacts. ! */ ! lineheight = capheight + 0.5; ! topskip = default_lineheight + descent + 0.5; ! cellwidth = adv.width; ! ! printf("max adv=%i\n", cellwidth); } return self; *************** *** 40,44 **** - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; ! printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // build some strings to output --- 66,70 ---- - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; ! // printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // build some strings to output *************** *** 58,86 **** texts[1] = str1; ! float descent = [font descender]; ! float default_lineheight = [font defaultLineHeightForFont]; ! float capheight = [font capHeight]; ! printf( ! "fontheight: default=%f cap=%f descent=%f\n", ! default_lineheight, ! capheight, ! descent ! ); ! printf("fixed pitch %s\n", [font isFixedPitch] ? "yes" : "no"); ! ! /* ! convert from float to integers ! Cocoa's font renderer cannot render glyphs on subpixel offsets, ! when it gets a subpixel offset it rounds it to the nearest integer ! and it produces 1pixel horizontal ugly lines. ! By using integers we avoid these ugly artifacts. ! */ ! int lineheight = capheight + 0.5; int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; - int topskip = default_lineheight + descent + 0.5; - - NSSize adv = [font maximumAdvancement]; - int cellwidth = adv.width; - printf("max adv=%i\n", cellwidth); // fill backgound --- 84,89 ---- texts[1] = str1; ! // calculate number of visible lines int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; // fill backgound *************** *** 93,103 **** int y = bounds.size.height - topskip - lineheight * i; ! /* ! TODO: render letters separately. ! fullwidth glyphs are supposed to span 2 cells ! when rendering one then we only advance 1.9 cells ! */ ! NSString *string = [NSString stringWithFormat:@"%02i%@", i, texts[(i+1)%2]]; ! NSAttributedString *astring = [ [NSAttributedString alloc] --- 96,105 ---- int y = bounds.size.height - topskip - lineheight * i; ! NSString *string = [ ! NSString ! stringWithFormat:@"%02i%@", ! i, ! texts[(i+1)%2] ! ]; NSAttributedString *astring = [ [NSAttributedString alloc] *************** *** 122,129 **** TODO: detect of halfwidth/fullwidth fails. */ ! if(i == 1) { printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", j, glyph_size.width, cellwidth, cells); ! } // render glyph --- 124,131 ---- TODO: detect of halfwidth/fullwidth fails. */ ! /* if(i == 1) { printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", j, glyph_size.width, cellwidth, cells); ! }*/ // render glyph Index: canvas.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** canvas.h 20 Mar 2005 21:15:24 -0000 1.2 --- canvas.h 20 Mar 2005 21:57:28 -0000 1.3 *************** *** 13,16 **** --- 13,20 ---- NSFont* font; NSDictionary* attrs; + + int lineheight; + int topskip; + int cellwidth; } From neoneye at rubyforge.org Sun Mar 20 17:43:38 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 17:43:39 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode project.pbxproj Message-ID: <200503202243.j2KMhcdS010033@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv10013/mac_aeditor.xcode Modified Files: project.pbxproj Log Message: preparations for doing intersections to determine what is visible. Index: project.pbxproj =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/project.pbxproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.pbxproj 12 Mar 2005 16:39:31 -0000 1.1 --- project.pbxproj 20 Mar 2005 22:43:36 -0000 1.2 *************** *** 8,11 **** --- 8,13 ---- 080E96DDFE201D6D7F000001 = { children = ( + 6ED989F807EE325700398BF3, + 6ED989F907EE325700398BF3, 6E2C7A9C07E34FEC00483E08, 6E2C7A9D07E34FEC00483E08, *************** *** 292,295 **** --- 294,325 ---- }; }; + 6ED989F807EE325700398BF3 = { + fileEncoding = 4; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AEditorLine.h; + refType = 4; + sourceTree = ""; + }; + 6ED989F907EE325700398BF3 = { + fileEncoding = 4; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.objc; + path = AEditorLine.m; + refType = 4; + sourceTree = ""; + }; + 6ED989FA07EE325700398BF3 = { + fileRef = 6ED989F807EE325700398BF3; + isa = PBXBuildFile; + settings = { + }; + }; + 6ED989FB07EE325700398BF3 = { + fileRef = 6ED989F907EE325700398BF3; + isa = PBXBuildFile; + settings = { + }; + }; //6E0 //6E1 *************** *** 334,337 **** --- 364,368 ---- 8D11072B0486CEB800E47090, 6E2C7A9E07E34FEC00483E08, + 6ED989FA07EE325700398BF3, ); isa = PBXResourcesBuildPhase; *************** *** 355,358 **** --- 386,390 ---- 8D11072D0486CEB800E47090, 6E2C7A9F07E34FEC00483E08, + 6ED989FB07EE325700398BF3, ); isa = PBXSourcesBuildPhase; From neoneye at rubyforge.org Sun Mar 20 17:43:38 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 17:43:40 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor AEditorLine.h AEditorLine.m canvas.h canvas.m Message-ID: <200503202243.j2KMhcdS010030@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv10013 Modified Files: canvas.h canvas.m Added Files: AEditorLine.h AEditorLine.m Log Message: preparations for doing intersections to determine what is visible. --- NEW FILE: AEditorLine.h --- // // AEditorLine.h // mac_aeditor // // Created by Simon Strandgaard on 20/3-05. // Copyright 2005 __MyCompanyName__. All rights reserved. // #import @interface AEditorLine : NSObject { int _lineNumber; NSRect _bounds; } - (id) initWithLine: (int) lineNumber bounds: (NSRect) bounds; - (NSRect) bounds; @end Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** canvas.m 20 Mar 2005 21:57:28 -0000 1.14 --- canvas.m 20 Mar 2005 22:43:36 -0000 1.15 *************** *** 8,11 **** --- 8,12 ---- #import "canvas.h" + #import "AEditorLine.h" #define FONTSIZE 20 *************** *** 24,28 **** self = [super initWithFrame:frame]; if (self) { ! // Initialization code here. // pick a font --- 25,40 ---- self = [super initWithFrame:frame]; if (self) { ! // Initialization code here. ! ! display_list = [[NSMutableArray alloc] init]; ! int i; ! for(i=0; i<4000; i++) { ! AEditorLine* line = [ ! [AEditorLine alloc] initWithLine:i ! bounds:frame // TODO: set me to a nsrect instead ! ]; ! [display_list addObject:line]; ! } ! // pick a font *************** *** 90,93 **** --- 102,117 ---- [[NSColor whiteColor] set]; [NSBezierPath fillRect:bounds]; + + + // only render visible things + id thing; + NSEnumerator *en; + en = [display_list objectEnumerator]; + while(thing = [en nextObject]) + { + // if(NSIntersectsRect([thing bounds], rect)) + // [self draw:thing]; + } + // fill lines of text --- NEW FILE: AEditorLine.m --- // // AEditorLine.m // mac_aeditor // // Created by Simon Strandgaard on 20/3-05. // Copyright 2005 __MyCompanyName__. All rights reserved. // #import "AEditorLine.h" @implementation AEditorLine - (id) initWithLine: (int) lineNumber bounds: (NSRect) bounds { self = [super init]; if (self) { _lineNumber = lineNumber; _bounds = bounds; } return self; } - (NSRect) bounds { return _bounds; } @end Index: canvas.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** canvas.h 20 Mar 2005 21:57:28 -0000 1.3 --- canvas.h 20 Mar 2005 22:43:36 -0000 1.4 *************** *** 17,20 **** --- 17,22 ---- int topskip; int cellwidth; + + NSMutableArray *display_list; } From neoneye at rubyforge.org Sun Mar 20 18:03:44 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Sun Mar 20 18:03:45 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor AEditorLine.h AEditorLine.m canvas.m Message-ID: <200503202303.j2KN3idS012257@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv12235 Modified Files: AEditorLine.h AEditorLine.m canvas.m Log Message: now I will have to move the rendering out from the renderloop. Index: AEditorLine.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/AEditorLine.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AEditorLine.h 20 Mar 2005 22:43:36 -0000 1.1 --- AEditorLine.h 20 Mar 2005 23:03:42 -0000 1.2 *************** *** 21,23 **** --- 21,25 ---- - (NSRect) bounds; + - (int) lineNumber; + @end Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** canvas.m 20 Mar 2005 22:43:36 -0000 1.15 --- canvas.m 20 Mar 2005 23:03:42 -0000 1.16 *************** *** 27,39 **** // Initialization code here. - display_list = [[NSMutableArray alloc] init]; - int i; - for(i=0; i<4000; i++) { - AEditorLine* line = [ - [AEditorLine alloc] initWithLine:i - bounds:frame // TODO: set me to a nsrect instead - ]; - [display_list addObject:line]; - } --- 27,30 ---- *************** *** 72,75 **** --- 63,82 ---- printf("max adv=%i\n", cellwidth); + + // build line list + display_list = [[NSMutableArray alloc] init]; + int i; + for(i=0; i<100; i++) { + NSRect area; + area.origin.x = 0; + area.origin.y = lineheight * i + topskip; + area.size.width = 4000; + area.size.height = lineheight; + AEditorLine* line = [ + [AEditorLine alloc] initWithLine:(99-i) + bounds:area + ]; + [display_list addObject:line]; + } } return self; *************** *** 78,82 **** - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; ! // printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // build some strings to output --- 85,89 ---- - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; ! printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // build some strings to output *************** *** 110,115 **** while(thing = [en nextObject]) { ! // if(NSIntersectsRect([thing bounds], rect)) ! // [self draw:thing]; } --- 117,122 ---- while(thing = [en nextObject]) { ! if(NSIntersectsRect([thing bounds], rect)) ! [self draw:thing]; } *************** *** 161,164 **** --- 168,178 ---- } + - (void)draw:(AEditorLine*)line + { + printf("draw line %i\n", [line lineNumber]); + // TODO: move rendering of lines to this place + } + + - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; Index: AEditorLine.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/AEditorLine.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AEditorLine.m 20 Mar 2005 22:43:36 -0000 1.1 --- AEditorLine.m 20 Mar 2005 23:03:42 -0000 1.2 *************** *** 25,30 **** - (NSRect) bounds { return _bounds; ! } @end --- 25,33 ---- - (NSRect) bounds { return _bounds; ! } + - (int) lineNumber { + return _lineNumber; + } @end From neoneye at rubyforge.org Mon Mar 21 02:00:58 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Mon Mar 21 02:01:00 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.h canvas.m Message-ID: <200503210700.j2L70wdS020548@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv20316 Modified Files: canvas.h canvas.m Log Message: moved the test strings out from the rendering loop Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** canvas.m 20 Mar 2005 23:03:42 -0000 1.16 --- canvas.m 21 Mar 2005 07:00:55 -0000 1.17 *************** *** 78,83 **** ]; [display_list addObject:line]; ! } ! } return self; } --- 78,98 ---- ]; [display_list addObject:line]; ! } ! ! // build some strings to output ! NSString* str0 = [[NSString alloc] initWithFormat:@"%@%@<%@><%@><%@>", ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], ! [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1], ! [NSString stringWithCharacters: &UC_FULLWIDTH_N length: 1], ! [NSString stringWithCharacters: &UC_CJK length: 1] ! ]; ! texts[0] = str0; ! NSString* str1 = [[NSString alloc] initWithFormat:@"%@%@01234567890123456789", ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], ! [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] ! ]; ! texts[1] = str1; ! } return self; } *************** *** 87,106 **** printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); - // build some strings to output - NSString* texts[2]; - NSString* str0 = [NSString stringWithFormat:@"%@%@<%@><%@><%@>", - [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_RIGHT length: 1], - [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_LEFT length: 1], - [NSString stringWithCharacters: &UC_SQUARE_MM_SQUARED length: 1], - [NSString stringWithCharacters: &UC_FULLWIDTH_N length: 1], - [NSString stringWithCharacters: &UC_CJK length: 1] - ]; - texts[0] = str0; - NSString* str1 = [NSString stringWithFormat:@"%@%@01234567890123456789", - [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_UP_AND_RIGHT length: 1], - [NSString stringWithCharacters: &UC_BOX_DRAWINGS_LIGHT_ARC_DOWN_AND_LEFT length: 1] - ]; - texts[1] = str1; - // calculate number of visible lines int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; --- 102,105 ---- Index: canvas.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** canvas.h 20 Mar 2005 22:43:36 -0000 1.4 --- canvas.h 21 Mar 2005 07:00:55 -0000 1.5 *************** *** 19,22 **** --- 19,23 ---- NSMutableArray *display_list; + NSString* texts[2]; } From neoneye at rubyforge.org Mon Mar 21 02:15:41 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Mon Mar 21 02:15:42 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503210715.j2L7FfdS027938@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv27511 Modified Files: canvas.m Log Message: we can now repaint only those lines who need to be repainted.. it looks ugly for some reasone.. probably bad clipping. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** canvas.m 21 Mar 2005 07:00:55 -0000 1.17 --- canvas.m 21 Mar 2005 07:15:39 -0000 1.18 *************** *** 67,76 **** display_list = [[NSMutableArray alloc] init]; int i; ! for(i=0; i<100; i++) { NSRect area; area.origin.x = 0; ! area.origin.y = lineheight * i + topskip; area.size.width = 4000; ! area.size.height = lineheight; AEditorLine* line = [ [AEditorLine alloc] initWithLine:(99-i) --- 67,77 ---- display_list = [[NSMutableArray alloc] init]; int i; ! for(i=0; i<100; i++) { ! int extra = 3; NSRect area; area.origin.x = 0; ! area.origin.y = lineheight * i + topskip - extra; area.size.width = 4000; ! area.size.height = lineheight + extra*2; AEditorLine* line = [ [AEditorLine alloc] initWithLine:(99-i) *************** *** 120,124 **** } ! // fill lines of text int i; --- 121,125 ---- } ! #if 0 // fill lines of text int i; *************** *** 162,177 **** NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! [letter drawAtPoint:point]; } } } - (void)draw:(AEditorLine*)line { ! printf("draw line %i\n", [line lineNumber]); ! // TODO: move rendering of lines to this place } - - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; --- 163,219 ---- NSPoint point = NSMakePoint(cellx * cellwidth, y); cellx += cells; ! //[letter drawAtPoint:point]; } } + #endif } - (void)draw:(AEditorLine*)line { ! int i = [line lineNumber]; ! printf("draw line %i\n", i); ! // TODO: remove 2000 hardcoding ! int y = 2000 - topskip - lineheight * i; ! ! NSString *string = [ ! NSString ! stringWithFormat:@"%02i%@", ! i, ! texts[(i+1)%2] ! ]; ! NSAttributedString *astring = [ ! [NSAttributedString alloc] ! initWithString:string ! attributes:attrs ! ]; ! ! unsigned int length = [astring length]; ! unsigned int cellx=0; ! unsigned int j; ! for(j=0; j (1.2 * cellwidth)) ? 2 : 1; ! ! /* ! TODO: detect of halfwidth/fullwidth fails. ! */ ! /* if(i == 1) { ! printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", ! j, glyph_size.width, cellwidth, cells); ! }*/ ! ! // render glyph ! NSPoint point = NSMakePoint(cellx * cellwidth, y); ! cellx += cells; ! [letter drawAtPoint:point]; ! } } - (void)keyDown:(NSEvent *)theEvent { NSString *key = [theEvent characters]; From neoneye at rubyforge.org Mon Mar 21 15:01:53 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Mon Mar 21 15:01:54 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503212001.j2LK1rdS022132@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv22114 Modified Files: canvas.m Log Message: now optimized rendering works Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** canvas.m 21 Mar 2005 07:15:39 -0000 1.18 --- canvas.m 21 Mar 2005 20:01:51 -0000 1.19 *************** *** 35,39 **** [NSDictionary alloc] initWithObjectsAndKeys: font, NSFontAttributeName, ! [NSColor blackColor], NSForegroundColorAttributeName, nil ]; --- 35,39 ---- [NSDictionary alloc] initWithObjectsAndKeys: font, NSFontAttributeName, ! [NSColor whiteColor], NSForegroundColorAttributeName, nil ]; *************** *** 68,72 **** int i; for(i=0; i<100; i++) { ! int extra = 3; NSRect area; area.origin.x = 0; --- 68,72 ---- int i; for(i=0; i<100; i++) { ! int extra = 2; NSRect area; area.origin.x = 0; *************** *** 75,79 **** area.size.height = lineheight + extra*2; AEditorLine* line = [ ! [AEditorLine alloc] initWithLine:(99-i) bounds:area ]; --- 75,79 ---- area.size.height = lineheight + extra*2; AEditorLine* line = [ ! [AEditorLine alloc] initWithLine:(98-i) bounds:area ]; *************** *** 106,172 **** int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; - // fill backgound - [[NSColor whiteColor] set]; - [NSBezierPath fillRect:bounds]; - - // only render visible things - id thing; NSEnumerator *en; en = [display_list objectEnumerator]; while(thing = [en nextObject]) { ! if(NSIntersectsRect([thing bounds], rect)) ! [self draw:thing]; ! } ! ! #if 0 ! // fill lines of text ! int i; ! for(i=0; i < number_of_lines; i++) { ! int y = bounds.size.height - topskip - lineheight * i; ! ! NSString *string = [ ! NSString ! stringWithFormat:@"%02i%@", ! i, ! texts[(i+1)%2] ! ]; ! NSAttributedString *astring = [ ! [NSAttributedString alloc] ! initWithString:string ! attributes:attrs ! ]; ! ! unsigned int length = [astring length]; ! unsigned int cellx=0; ! unsigned int j; ! for(j=0; j (1.2 * cellwidth)) ? 2 : 1; ! ! /* ! TODO: detect of halfwidth/fullwidth fails. ! */ ! /* if(i == 1) { ! printf("%i: gs.width=%f cellwidth=%i => cells=%i\n", ! j, glyph_size.width, cellwidth, cells); ! }*/ ! ! // render glyph ! NSPoint point = NSMakePoint(cellx * cellwidth, y); ! cellx += cells; ! //[letter drawAtPoint:point]; ! } } - #endif } - (void)draw:(AEditorLine*)line { --- 106,143 ---- int number_of_lines = (bounds.size.height+lineheight-1.0)/lineheight; // only render visible things NSEnumerator *en; en = [display_list objectEnumerator]; + const NSRect *rects; + int count, i; + [self getRectsBeingDrawn:&rects count:&count]; + printf("count=%i\n", count); + + // fill background + [[NSColor blackColor] set]; + for (i = 0; i < count; i++) { + [NSBezierPath fillRect:rects[i]]; + } + + // render text + id thing; while(thing = [en nextObject]) { ! if (NSIntersectsRect([thing bounds], rect)) { ! for (i = 0; i < count; i++) { ! if (NSIntersectsRect([thing bounds], rects[i])) { ! //[NSBezierPath fillRect:[thing bounds]]; ! [self draw:thing]; ! break; ! } ! } ! } } } + /*- (BOOL)wantsDefaultClipping { + return NO; + }*/ + - (void)draw:(AEditorLine*)line { From neoneye at rubyforge.org Mon Mar 21 15:24:46 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Mon Mar 21 15:24:47 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor canvas.m Message-ID: <200503212024.j2LKOkdS024208@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv24148 Modified Files: canvas.m Log Message: rendering is slow.. in paticular when resizing the window.. about 0.1 second with large glyphs.. and a small window. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** canvas.m 21 Mar 2005 20:01:51 -0000 1.19 --- canvas.m 21 Mar 2005 20:24:44 -0000 1.20 *************** *** 9,12 **** --- 9,13 ---- #import "canvas.h" #import "AEditorLine.h" + #include #define FONTSIZE 20 *************** *** 99,105 **** } ! - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; ! printf("bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // calculate number of visible lines --- 100,109 ---- } ! - (void)drawRect:(NSRect)rect { ! struct timeval t0, t1; ! gettimeofday(&t0, NULL); ! NSRect bounds = [self bounds]; ! //NSLog(@"bounds x=%f y=%f\n", bounds.size.width, bounds.size.height); // calculate number of visible lines *************** *** 112,116 **** int count, i; [self getRectsBeingDrawn:&rects count:&count]; ! printf("count=%i\n", count); // fill background --- 116,120 ---- int count, i; [self getRectsBeingDrawn:&rects count:&count]; ! //NSLog(@"count=%i\n", count); // fill background *************** *** 127,131 **** for (i = 0; i < count; i++) { if (NSIntersectsRect([thing bounds], rects[i])) { - //[NSBezierPath fillRect:[thing bounds]]; [self draw:thing]; break; --- 131,134 ---- *************** *** 134,137 **** --- 137,145 ---- } } + gettimeofday(&t1, NULL); + double ft0, ft1; + ft0 = (t0.tv_sec * 1000000.0 + t0.tv_usec) / 1000000.0; + ft1 = (t1.tv_sec * 1000000.0 + t1.tv_usec) / 1000000.0; + NSLog(@"drawRect took %f seconds", ft1 - ft0); } *************** *** 143,147 **** { int i = [line lineNumber]; ! printf("draw line %i\n", i); // TODO: remove 2000 hardcoding int y = 2000 - topskip - lineheight * i; --- 151,155 ---- { int i = [line lineNumber]; ! //NSLog(@"draw line %i\n", i); // TODO: remove 2000 hardcoding int y = 2000 - topskip - lineheight * i; From neoneye at rubyforge.org Tue Mar 22 09:00:44 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Tue Mar 22 09:00:45 2005 Subject: [Aeditor-commit] projects/experimental/unicode unicode_tests.txt Message-ID: <200503221400.j2ME0idS023544@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/unicode In directory rubyforge.org:/tmp/cvs-serv23534 Added Files: unicode_tests.txt Log Message: this is the boxdrawing test --- NEW FILE: unicode_tests.txt --- (This appears to be a binary file; contents omitted.) From neoneye at rubyforge.org Fri Mar 25 06:24:13 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 06:24:14 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor BufferController.h BufferController.m TODO canvas.m Message-ID: <200503251124.j2PBODdS019557@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv19537 Modified Files: TODO canvas.m Added Files: BufferController.h BufferController.m Log Message: we can now open the fontrequester.. I finally figured out how to do this, I have been investigated this for a long time.. probably because I went into a blind alley. Index: canvas.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/canvas.m,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** canvas.m 21 Mar 2005 20:24:44 -0000 1.20 --- canvas.m 25 Mar 2005 11:24:10 -0000 1.21 *************** *** 70,78 **** for(i=0; i<100; i++) { int extra = 2; ! NSRect area; ! area.origin.x = 0; area.origin.y = lineheight * i + topskip - extra; area.size.width = 4000; ! area.size.height = lineheight + extra*2; AEditorLine* line = [ [AEditorLine alloc] initWithLine:(98-i) --- 70,81 ---- for(i=0; i<100; i++) { int extra = 2; ! NSRect area = NSMakeRect( ! 0, lineheight * i + topskip - extra, ! 4000, lineheight + extra*2 ! ); ! /* area.origin.x = 0; area.origin.y = lineheight * i + topskip - extra; area.size.width = 4000; ! area.size.height = lineheight + extra*2;*/ AEditorLine* line = [ [AEditorLine alloc] initWithLine:(98-i) *************** *** 189,195 **** // render glyph NSPoint point = NSMakePoint(cellx * cellwidth, y); - cellx += cells; [letter drawAtPoint:point]; } } --- 192,204 ---- // render glyph + /*NSRect r = NSMakeRect( + cellx * cellwidth - 3, y - 3, + cells * cellwidth + 6, lineheight + 6 + ); + [letter drawInRect:r]; */ NSPoint point = NSMakePoint(cellx * cellwidth, y); [letter drawAtPoint:point]; + + cellx += cells; } } *************** *** 198,201 **** --- 207,211 ---- NSString *key = [theEvent characters]; printf("key event %s\n", [key cString]); + //NSFontPanel } Index: TODO =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/TODO,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TODO 20 Mar 2005 21:26:32 -0000 1.1 --- TODO 25 Mar 2005 11:24:10 -0000 1.2 *************** *** 1,3 **** ! How to alloc/init/autorelease is still a mystery to me. --- 1,8 ---- ! when opening the fontrequester.. how can I change the ! font used by the canvas? ! ! ! add shortcuts to quickly change font size. ! for instance "apple+" and "apple-". *************** *** 9,14 **** cursor. - - - find a faster way to render the text. - maybe by only rendering inside the clipregion. --- 14,15 ---- --- NEW FILE: BufferController.h --- /* BufferController */ #import @interface BufferController : NSObject { IBOutlet id buffer; } - (IBAction)changeFont:(id)sender; @end --- NEW FILE: BufferController.m --- #import "BufferController.h" @implementation BufferController - (IBAction)changeFont:(id)sender { [[NSFontManager sharedFontManager] orderFrontFontPanel:nil]; } @end From neoneye at rubyforge.org Fri Mar 25 06:24:13 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 06:24:14 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode project.pbxproj Message-ID: <200503251124.j2PBODdS019566@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode In directory rubyforge.org:/tmp/cvs-serv19537/mac_aeditor.xcode Modified Files: project.pbxproj Log Message: we can now open the fontrequester.. I finally figured out how to do this, I have been investigated this for a long time.. probably because I went into a blind alley. Index: project.pbxproj =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/mac_aeditor.xcode/project.pbxproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** project.pbxproj 20 Mar 2005 22:43:36 -0000 1.2 --- project.pbxproj 25 Mar 2005 11:24:11 -0000 1.3 *************** *** 12,15 **** --- 12,17 ---- 6E2C7A9C07E34FEC00483E08, 6E2C7A9D07E34FEC00483E08, + 6E6447F707F42B0E00C33134, + 6E6447F807F42B0E00C33134, ); isa = PBXGroup; *************** *** 294,297 **** --- 296,327 ---- }; }; + 6E6447F707F42B0E00C33134 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = BufferController.h; + refType = 4; + sourceTree = ""; + }; + 6E6447F807F42B0E00C33134 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.objc; + path = BufferController.m; + refType = 4; + sourceTree = ""; + }; + 6E6447F907F42B0E00C33134 = { + fileRef = 6E6447F707F42B0E00C33134; + isa = PBXBuildFile; + settings = { + }; + }; + 6E6447FA07F42B0E00C33134 = { + fileRef = 6E6447F807F42B0E00C33134; + isa = PBXBuildFile; + settings = { + }; + }; 6ED989F807EE325700398BF3 = { fileEncoding = 4; *************** *** 365,368 **** --- 395,399 ---- 6E2C7A9E07E34FEC00483E08, 6ED989FA07EE325700398BF3, + 6E6447F907F42B0E00C33134, ); isa = PBXResourcesBuildPhase; *************** *** 387,390 **** --- 418,422 ---- 6E2C7A9F07E34FEC00483E08, 6ED989FB07EE325700398BF3, + 6E6447FA07F42B0E00C33134, ); isa = PBXSourcesBuildPhase; From neoneye at rubyforge.org Fri Mar 25 06:24:13 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 06:24:15 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib classes.nib info.nib keyedobjects.nib Message-ID: <200503251124.j2PBODdS019562@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv19537/English.lproj/MainMenu.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: we can now open the fontrequester.. I finally figured out how to do this, I have been investigated this for a long time.. probably because I went into a blind alley. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** info.nib 20 Mar 2005 15:31:16 -0000 1.4 --- info.nib 25 Mar 2005 11:24:11 -0000 1.5 *************** *** 8,12 **** 29 ! 94 344 266 44 0 0 1280 1002 IBFramework Version --- 8,12 ---- 29 ! 94 344 325 44 0 0 1280 1002 IBFramework Version *************** *** 14,19 **** IBOpenObjects - 21 29 IBSystem Version --- 14,19 ---- IBOpenObjects 29 + 21 IBSystem Version Index: classes.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/classes.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** classes.nib 20 Mar 2005 15:31:16 -0000 1.2 --- classes.nib 25 Mar 2005 11:24:11 -0000 1.3 *************** *** 2,5 **** --- 2,12 ---- IBClasses = ( {CLASS = AEditor; LANGUAGE = ObjC; SUPERCLASS = NSApplication; }, + { + ACTIONS = {changeFont = id; }; + CLASS = BufferController; + LANGUAGE = ObjC; + OUTLETS = {buffer = id; }; + SUPERCLASS = NSObject; + }, {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, {CLASS = canvas; LANGUAGE = ObjC; SUPERCLASS = NSView; } Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** keyedobjects.nib 20 Mar 2005 15:52:57 -0000 1.4 --- keyedobjects.nib 25 Mar 2005 11:24:11 -0000 1.5 *************** *** 12,31 **** CF$UID ! 413 NSClassesKeys CF$UID ! 313 NSClassesValues [...9973 lines suppressed...] 150 ! 130 ! 205 134 ! 143 ! 196 ! 181 ! 229 ! 103 ! 57 ! 163 ! 161 ! 231 92 ! 184 ! 214 ! 179 24 $classes From neoneye at rubyforge.org Fri Mar 25 07:13:53 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 07:13:53 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor BufferController.m Message-ID: <200503251213.j2PCDrdS022416@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv22405 Modified Files: BufferController.m Log Message: experiments in order to figure out how to get the selected font.. in the font requester. Index: BufferController.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/BufferController.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BufferController.m 25 Mar 2005 11:24:10 -0000 1.1 --- BufferController.m 25 Mar 2005 12:13:51 -0000 1.2 *************** *** 5,9 **** - (IBAction)changeFont:(id)sender { ! [[NSFontManager sharedFontManager] orderFrontFontPanel:nil]; } --- 5,17 ---- - (IBAction)changeFont:(id)sender { ! //[[self window] makeFirstResponder:self]; ! NSFontManager *fm = [NSFontManager sharedFontManager]; ! //[fm setAction:@selector(setFont:)]; ! [fm orderFrontFontPanel:nil]; ! } ! ! - (void)setFont:(id)sender ! { ! NSLog(@"font was changed."); } From neoneye at rubyforge.org Fri Mar 25 07:27:45 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 07:27:47 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor BufferController.h BufferController.m Message-ID: <200503251227.j2PCRjdS022642@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor In directory rubyforge.org:/tmp/cvs-serv22627 Modified Files: BufferController.h BufferController.m Log Message: I think I had chosen the 'changeFont' name for the IBAction very bad, because it seems as it is the name that NSFontManager uses for its notify, no wonder I then cannot get it working. Still its not working. Index: BufferController.m =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/BufferController.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BufferController.m 25 Mar 2005 12:13:51 -0000 1.2 --- BufferController.m 25 Mar 2005 12:27:43 -0000 1.3 *************** *** 3,9 **** @implementation BufferController ! - (IBAction)changeFont:(id)sender { - //[[self window] makeFirstResponder:self]; NSFontManager *fm = [NSFontManager sharedFontManager]; //[fm setAction:@selector(setFont:)]; --- 3,8 ---- @implementation BufferController ! - (IBAction)openFontRequester:(id)sender { NSFontManager *fm = [NSFontManager sharedFontManager]; //[fm setAction:@selector(setFont:)]; *************** *** 11,15 **** } ! - (void)setFont:(id)sender { NSLog(@"font was changed."); --- 10,14 ---- } ! - (void)changeFont:(id)sender { NSLog(@"font was changed."); Index: BufferController.h =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/BufferController.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BufferController.h 25 Mar 2005 11:24:10 -0000 1.1 --- BufferController.h 25 Mar 2005 12:27:43 -0000 1.2 *************** *** 7,10 **** IBOutlet id buffer; } ! - (IBAction)changeFont:(id)sender; @end --- 7,10 ---- IBOutlet id buffer; } ! - (IBAction)openFontRequester:(id)sender; @end From neoneye at rubyforge.org Fri Mar 25 07:27:46 2005 From: neoneye at rubyforge.org (neoneye@rubyforge.org) Date: Fri Mar 25 07:27:47 2005 Subject: [Aeditor-commit] projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib classes.nib info.nib keyedobjects.nib Message-ID: <200503251227.j2PCRkdS022647@rubyforge.org> Update of /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib In directory rubyforge.org:/tmp/cvs-serv22627/English.lproj/MainMenu.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: I think I had chosen the 'changeFont' name for the IBAction very bad, because it seems as it is the name that NSFontManager uses for its notify, no wonder I then cannot get it working. Still its not working. Index: info.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** info.nib 25 Mar 2005 11:24:11 -0000 1.5 --- info.nib 25 Mar 2005 12:27:43 -0000 1.6 *************** *** 8,12 **** 29 ! 94 344 325 44 0 0 1280 1002 IBFramework Version --- 8,12 ---- 29 ! 127 345 325 44 0 0 1280 1002 IBFramework Version Index: classes.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/classes.nib,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** classes.nib 25 Mar 2005 11:24:11 -0000 1.3 --- classes.nib 25 Mar 2005 12:27:43 -0000 1.4 *************** *** 3,7 **** {CLASS = AEditor; LANGUAGE = ObjC; SUPERCLASS = NSApplication; }, { ! ACTIONS = {changeFont = id; }; CLASS = BufferController; LANGUAGE = ObjC; --- 3,7 ---- {CLASS = AEditor; LANGUAGE = ObjC; SUPERCLASS = NSApplication; }, { ! ACTIONS = {openFontRequester = id; }; CLASS = BufferController; LANGUAGE = ObjC; Index: keyedobjects.nib =================================================================== RCS file: /var/cvs/aeditor/projects/experimental/buffer2/mac_aeditor/English.lproj/MainMenu.nib/keyedobjects.nib,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** keyedobjects.nib 25 Mar 2005 11:24:11 -0000 1.5 --- keyedobjects.nib 25 Mar 2005 12:27:43 -0000 1.6 *************** *** 50,54 **** NSNextOid ! 235 NSObjectsKeys --- 50,54 ---- NSNextOid ! 236 NSObjectsKeys [...5401 lines suppressed...] ! 235 160 ! 195 ! 19 ! 83 ! 112 ! 176 ! 188 ! 106 150 ! 80 103 ! 198 ! 134 ! 73 ! 191 ! 130 ! 199 $classes