Giter Site home page Giter Site logo

omnigroup / omnigroup Goto Github PK

View Code? Open in Web Editor NEW
2.4K 2.4K 307.0 36.05 MB

Source for many of The Omni Group's frameworks

Home Page: http://www.omnigroup.com/developer/

Objective-C 89.49% HTML 0.23% C 2.94% Shell 0.32% Ruby 0.73% XSLT 0.01% Makefile 0.07% CSS 0.06% Awk 0.02% Objective-C++ 0.04% Swift 4.97% Python 0.16% Perl 0.09% GDB 0.01% Rich Text Format 0.87%

omnigroup's Introduction

OmniGroup

Checking out the source

git clone git://github.com/omnigroup/OmniGroup
git submodule update --init

Xcode

  • We currently use Xcode 13.1 for all platforms. You'll probably have the best results if you do too.
  • Add the projects you want to your workspace.
  • Take a look in the Workspaces directory for a sample workspace for the TextEditor iPad example app.

Supported Targets

  • We require macOS 11, iOS 14, and watchOS 6.0, with our deployment builds happening on macOS Big Sur 11.6 and Monterey 12.0

Configuring the Source

We place our project-wide configuration options in xcconfig files, under OmniGroup/Configurations. The naming scheme of the files is fairly straightforward, hopefully. Each project has Omni-Global-{Debug,Release,...}.xcconfig as the basis for the corresponding configuration. Each Mac target has Omni-{Bundle,Application,Tool,...}-{Debug,Release,...}.xcconfig and each iOS target has Touch-{Application,Library}-{Debug,Release,...}.xcconfig. Each of these end point configurations when #includes 'superclass' configurations (with "Common" in the name).

Building

  • Edit Configurations/Omni-Global-Settings.xcconfig and set OMNI_DEVELOPMENT_TEAM to your team ID.

  • The Workspaces directory contains a workspace with a few targets, and Frameworks/OmniUI/iPad/Examples/TextEditor/TextEditor.xcodeproj has a sample app.

Enjoy!

omnigroup's People

Contributors

abhaskar-grammatech avatar iamamused avatar jjbohn avatar kc-omni avatar maddthesane avatar pburleson avatar shigeya avatar timothyekl avatar tjw avatar wiml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

omnigroup's Issues

OATextAttachmentCell on the beginning of a line interferes with line height

We have found a situation where if an attachment cell happens to appear at the beginning of a new line, and the paragraph has line spacing attributes set, it eats up the line height inappropriately.

Wrapping the attributed string associated with the attachment with leading and trailing 0x2009s (thin spaces) works around the bug. We’re currently in a crunch but hope do a reduction soon before this week ends.

UTExportedTypeDeclarations vs. CFBundleDocumentTypes

The OmniUI TextEditor example uses CFBundleDocumentTypes but it appears that Apple changed that key to UTExportedTypeDeclarations. I say this only because running the example as-is results in some very interesting run time exceptions. However, changing the CFBundleDocumentTypes key in the info.plist to use UTExportedTypeDeclarations makes things much happier. Here is how I made it work:

<key>UTExportedTypeDeclarations</key>
<array>
    <dict>
        <key>UTTypeIconFile</key>
        <array>
            <string>Document-rtf-64.png</string>
            <string>Document-rtf-320.png</string>
        </array>
        <key>UTTypeDescription</key>
        <string>RTF Document</string>
        <key>UTTypeIdentifier</key>
        <string>public.rtf</string>
        <key>UTTypeTagSpecification</key>
            <dict>
                <key>public.filename-extension</key>
                <array>
                    <string>rtf</string>
                </array>
            </dict>
    </dict>
</array>

Let me know if that helps anyone else.

I love the frameworks that you've open sourced. Thanks for contributing them to the community!

Will

OUIEditableFrame EXC_BAD_ACESS

When the height of the number of lines in the document's text area reaches the frameSize height set in _updateLayout: and then more text is added (hit return and type) the getTypographicPosition() function nulls the measure in _caretRectForPosition: causing an EXC_BAD_ACCESS error with the following stack:
#0 0x027a576d in CopyCGPoint
#1 0x02b4e6d0 in CFArrayApplyFunction
#2 0x027a5866 in CTFrameGetLineOrigins
#3 0x000737bf in -[OUIEditableFrame _caretRectForPosition:affinity:] at OUIEditableFrame.m:2610
#4 0x00071218 in -[OUIEditableFrame _drawDecorations:] at OUIEditableFrame.m:3134
#5 0x0006dfd2 in -[OUIEditableFrame drawRect:] at OUIEditableFrame.m:1126
#6 0x004071ba in -[UIView(CALayerDelegate) drawLayer:inContext:]
#7 0x0281dd45 in -[CALayer drawInContext:]
#8 0x0281d949 in backing_callback
#9 0x0281d1ed in CABackingStoreUpdate
#10 0x0281c4d2 in -[CALayer _display]
#11 0x0281bfa0 in CALayerDisplayIfNeeded
#12 0x0280e715 in CA::Context::commit_transaction
#13 0x0280e468 in CA::Transaction::commit
#14 0x0283e9e6 in CA::Transaction::observer_callback
#15 0x02b878a2 in __CFRunLoopDoObservers
#16 0x02b53ae5 in CFRunLoopRunSpecific
#17 0x02b53048 in CFRunLoopRunInMode
#18 0x0329789d in GSEventRunModal
#19 0x03297962 in GSEventRun
#20 0x003e3de1 in UIApplicationMain
#21 0x00003c64 in main at main.m:15

Building iPad Text Editor example fails

On a fresh clone, building the Text Editor example fails with gobs of errors related to not being able to find headers. Haven't had time to delve further, but thought you should know.

Image Distortion

I want to distort image (whole distortion,Twril,light tunnel,Kaleidoscope,Squeeze) give some Idea,

Switching IMEs on an empty OUIEditableFrame crashes

Reproduction:
Create empty editable frame, make it the first responder, and switch from one IME to another. It shall not crash but it did. We tried switching from English to Chinese (Pinyin).

Discussion:
The editable frame is told to re-layout, and because it’s blank its CTFrame is blank, and its array of CTLineRefs is blank, so -_caretRectForPosition:affinity:bloomScale: calls getTypographicPosition with NULL lines, and it crashes.

Proposed fix:
iridia@ba42a41

Fixes a crasher when switching IMEs using an empty OUIEditableFrame

Switching IMEs would trigger re-layout, and have the editable frame recalculates the caret rect; it needs to know about the lines, but there are no lines since it is empty. Working around within the calculation, returning early with CGRectNull if there is no frame, fixes the crasher.

Scripts/ListSourceFilesInTarget should use OS installed Ruby

instead of one on path.

as it requires 'osx/cocoa' which might not have been installed when a user downloaded his own version.

@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby

Copyright 2010-2011 Omni Development, Inc. All rights reserved.

Problem with iOS 4.3

Hi,

It seems that there is a compatibility problem if you run the Text Editor demo with iOS 4.3 version (actual device and simulator).

There is a EXC_BAD_ACCESS just here:

ASSERT failed: requires 'fontDescriptor', at /Users/macbookpro/Desktop/texteditor/OmniGroup/Frameworks/OmniUI/iPad/Inspectors/OUIFontUtilities.m:156

This doesn't happen with <= iOS 4.2 versions

Any idea?

Thanks in advance,

Franky

OUIEditableFrame: Thumb views do not scroll with the editor

When embedding a OUIEditableFrame into a scroll view (e.g. in the Omni TextEditor example), if text is selected, the thumbs do not scroll with the content (i.e. they stay in place while all the content and the selection rectangle do scroll).

This can be fixed by replacing [[self _topmostView] addSubview:startThumb]; with [self addSubview:startThumb]; (plus the same for endThumb), but I guess there is a reason why you added the thumbs to the topmost view, possibly to overlay the thumbs above all the other views. But in UITextView, the thumbs also get obscured by other content (as opposed to the loupe).

Tapping an OATextAttachmentCell on iOS

This is a feature request and an inquiry.

If I recall correctly, on iOS, there is currently no way to say “if this OATextAttachmentCell is tapped, do this and this”.

We have an internal patch that does this. Currently, it notes the frames at where the cells were drawn, and piggyback the frames to match the touch, storing the info with the cell. The patch currently works well with OUITextLayout, but is not yet tested with the editable frame.

I’d like to know if there is plan to release an official version of such functionality, so our code don’t fight each other. :)

Thanks in advance, and a lot!

Set line spacing

Hi,

Any idea how to set the text line spacing?
I want something like MsWord, where you can set 1.5 or double line spacing.
Have tried changing the lineHeightMultiple, but it's not working.

Thanks in advance.

TextEditor Workspace fail to build (clang)

I cannot run TextEditor workspace example:

ld: warning: directory not found for option '-F/XCode4/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/XCode4/Library/Frameworks'
ld: framework not found SenTestingKit
Command /XCode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Any idea?

OUIEditableFrame autoCorrectDoubleSpaceToPeriodAtSentenceEnd confusion

OUIEditableFrame has an autoCorrectDoubleSpaceToPeriodAtSentenceEnd property. On 4.3, this property brought me some confusion. Namely, if it’s set to NO, it still gets automatically-corrected content from iOS; if it’s set to YES, extra punctuation is sometimes inserted into the still-automatically-corrected-content that iOS provides.

I’d like to know if this behaves as intended :)

Try

Foo  Bar.  Lorem, ipsum?  sit amet!  (line ends with two spaces)

Expected

When the property is YES:
Foo. Bar. Lorem, ipsum? sit amet!

When the property is NO:
Foo Bar. Lorem, ipsum? sit amet!

Results

In the editable frame when autoCorrectDoubleSpaceToPeriodAtSentenceEnd is YES:
Foo. Bar. Lorem, ipsum?. sit amet!.

In the editable frame when autoCorrectDoubleSpaceToPeriodAtSentenceEnd is NO:
Foo. Bar. Lorem, ipsum? sit amet!

Crash occurs when calling OUIColorInspectorpane directly

I have an issue with the OUIColorInspectorPane. My requirement is when I select info button then show the color inspector pane directly. For that, I have added only one slice OUITextColorAttributeInspectorSlice in the makeAvailableSlicesForStackedSlicesPane delegate. Also I have called [self showDetails:_textWell] method inside the viewwillappear in the OUIColorAttributeInspectorSlice. This is working fine in the iOS 4.2, but a crash occurs in the iOS 5.0. Could you please help?

Returning self before explicitly assigning a value reported by Clang 254

Clang 254 is in and we ran it against our code. It complained about things like

- initWithPoint:(CGPoint)point;
{
    _value = point;
    return self;
}

Where it does not see something like self = [super init]. There are also false positives. There’s a total of about 54 similar issues in the frameworks.

Currently no descent support for text attachment cells on iOS

This is a feature request and an inquiry. If I understand correctly -cellBaselineOffset is being ifdef’d out for iOS. We’re trying to make it work.

There’s a situation where some text must appear after a certain glyph and both must be kept together. That calls for a rectangular attachment cell. With current implementation in OUITextLayout et al. the cell is put on the baseline. If we simply shift the drawn frame downwards, part of the cell could be drawn out of the bounds of the view because the shift is unexpected by current code. So I think if -cellBaselineOffset is available things can be easier.

We’re experimenting with a somehow working patch so please advise if that’s the way to go.

Omni TextEditor Crashes on IOS 5.0

Hi,

We have used omni text editor in our app. It worked fine in previous versions of iOS, But it crashes on latest iOS 5.

It crashes when i tap on the editor (OUIEditableFrame) and when its try to "become first responder" it crashes.

I have attached crash log below.

We need help to overcome the issue.

Crash Log :

Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires 'view', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingViewController.m:37
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires '[view isKindOfClass:[OUIScalingView class]]', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingViewController.m:38
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires 'view', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:44
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires '[view isKindOfClass:[OUIScalingView class]]', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:45
Oct 18 11:11:18 unknown CloudWord[966] : {
NSFontNameAttribute = Helvetica;
NSFontSizeAttribute = 12;
}
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : PRECONDITION failed: requires 'drawnFrame && !flags.textNeedsUpdate', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIEditableFrame.m:3318
Oct 18 11:11:18 unknown CloudWord[966] : 748.000000
Oct 18 11:11:18 unknown CloudWord[966] : Higher !!!
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires 'view', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:44
Oct 18 11:11:18 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires '[view isKindOfClass:[OUIScalingView class]]', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:45
Oct 18 11:11:19 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires 'view', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:44
Oct 18 11:11:19 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : ASSERT failed: requires '[view isKindOfClass:[OUIScalingView class]]', at /Users/mac3imac/DHAVAL/CloudWordApp/OmniGroup/Frameworks/OmniUI/iPad/OUIScalingScrollView.m:45
Oct 18 11:11:21 unknown CloudWord[966] : 651.000000-405.000000
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 0 UIKit 0x31859b8b -[UIKeyboardImpl(UIKitInternal) setInitialDirection] + 270
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 2 UIKit 0x3178ff07 -[UIKeyboardImpl setDelegate:force:] + 1630
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 6 CloudWord 0x00097967 -[OUIEditableFrame becomeFirstResponder] + 34
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 7 CloudWord 0x0009c6e7 -[OUIEditableFrame _idleTap:] + 146
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 9 UIKit 0x31800c1d -[UIGestureRecognizer _updateGestureWithEvent:] + 304
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 10 UIKit 0x31a2c509 ___UIGestureRecognizerUpdate_block_invoke_0541 + 48
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 16 UIKit 0x3176d4ed -[UIApplication sendEvent:] + 356
Oct 18 11:11:21 unknown UIKitApplication:com.perceptionsystem.cloudtest[0x8639][966] : 18 GraphicsServices 0x37592e13 PurpleEventCallback + 882
Oct 18 11:11:22 unknown ReportCrash[967] : Formulating crash report for process CloudWord[966]

Editable frame marked text decoration enhancement; pixel aligned rects

We’ve done some work on the editable frame so it draws backgrounds and borders on marked text with custom colors. The fixes include a patch to addRectsToPath, where the rects it add to the path are made integral so as to avoid blurry outlines.

I am kind of sure there are internal implementations of this…

It’s on our hot-fix branch here starting from c2af103.

uncaught exception if iCloud enabled

Hello!

Testing your Texteditor example under iOS 5.1 and Xcode 4.3.2 I'm getting this exception just after the iCloud settings window closes:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OFSDocumentStoreScope isFileURL]: unrecognized selector sent to instance 0x53ea00'

Any clue?

Thanks in advance,

Frankai

Text style inspector is invisible in iOS 5?

Hello!

there is a weird problem in text editor example when you try to show the Text Style PopOver the second time, it seems that the content of the inspector is invisible. There is a comment in OUIVIewController.m that perhaps is related with this bug :

// iOS 5 b5 calls this method twice, sadly.
OBPRECONDITION((([self isMovingToParentViewController] || [self isBeingPresented] || (self.

Any clue?

Thanks in advance,

Best regards,

Frankai

Hardware keyboard caret movement crash

When pressing either the right ot left arrow key to move the caret the app will crash with EXC_BAD_ACCESS and the following stack trace:

#0  0x01780a2b in CFStringGetLength
#1  0x01804c90 in CFStringGetRangeOfCharacterClusterAtIndex
#2  0x01822490 in CFStringGetRangeOfComposedCharactersAtIndex
#3  0x000c3c8d in move1VisuallyWithinLine [inlined] at OUIEditableFrame.m:2349
#4  0x000c3c8d in moveVisuallyWithinLine [inlined] at OUIEditableFrame.m:2352
#5  0x000c3c8d in -[OUIEditableFrame positionFromPosition:inDirection:offset:] at OUIEditableFrame.m:2408
#6  0x005990fb in -[NSObject(UITextInput_Internal) _moveLeft:withHistory:]
#7  0x003dd921 in -[UIKeyboardImpl handleKeyCommand:repeatOkay:]
#8  0x003e12fd in -[UIKeyboardImpl handleKeyEvent:]
#9  0x002a501c in -[UIApplication handleEvent:withNewEvent:]
#10 0x0029cabf in -[UIApplication sendEvent:]
#11 0x002a1f2e in _UIApplicationHandleEvent
…

crash -- ASSERT failed: requires 'fontDescriptor'

It happens when we create a new document by tapping on New Document bar button and without writing anything we tap on info bar button. I also get following assert log and application crashes:
ASSERT failed: requires 'fontDescriptor', at /Users/sannivkhare/Desktop/OmniGroup/Frameworks/OmniUI/iPad/Inspectors/OUIFontUtilities.m:156

Please try it and let me know if something I have missed here, though its the latest copy from github

Double-handled OATextAttachment when appended to an attributed string

Summary

When using OUITextLayout, appending an NSAttributedString to an NSMutableAttributedString, with the former having its OAAttachmentAttributeName attribute set, an additional CTRun with the same attribute is created, and causes the attachment cell to be drawn twice.

Reproduction

NSMutableAttributedString *aString = …

[aString appendAttributedString:OUICreateTransformedAttributedString(

    [[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%C", (unichar)OAAttachmentCharacter] attributes:[NSDictionary dictionaryWithObjectsAndKeys:

    //  some custom OATextAttachmentCell subclass
        textAttachment, 
        OAAttachmentAttributeName,

    nil]] autorelease],

nil)];

//  Draw string with OUITextLayout

Expected

The code above is expected to eventually only cause one CTRun that has an internal run delegate (which eventually draws the attachment) to show up.

Unexpected

We have found that the aforementioned combination actually makes:

original content + 
attributed string with a Unicode 0xfffc character and attachment attribute (intended) + 
attributed string with a Unicode 0x000a character **with the same attachment attribute** (not intended)

The additional string causes an additional CTRun to appear, and finally makes the intended cell to be shown twice, failing an Omni assertion.

Workaround

If an additional “unattributed” attributed string, say a space with nil attributes, is appended to the original string, the bug disappears.

Say, if we append [[NSAttributedString alloc] initWithString:@" " attributes:nil] to the attributed string, before feeding it to OUITextLayout, there will be no duplicate cells.

Are we doing it wrong?

Omni TextEditor App Crashes on the IPad 2

I have used the Omni TextEditor In my ipad application. It works fine on my IPad with IOS 4.3.5 but when i uploaded the app on app store the apple rejected the application with reason that "App crashes while launching on IPad 2 with IOS 4.3.5" here is the crash reason apple send me.

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
Referenced from: /var/mobile/Applications/5E30EDAA-834F-4DF2-AF3A-BB11774EEF8A/CloudWord.app/CloudWord
Reason: image not found
Dyld Version: 191.4

Binary Images:
0x1000 - 0x134fff +CloudWord armv7 <95e53a79504e300d918ca792930ad50a> /var/mobile/Applications/5E30EDAA-834F-4DF2-AF3A-BB11774EEF8A/CloudWord.app/CloudWord
0x2fe00000 - 0x2fe25fff dyld armv7 <4d3190188cbf32a8a73f32a8b5bb7adf> /usr/lib/dyld
0x30d2d000 - 0x30db1fff AVFoundation armv7 /System/Library/Frameworks/AVFoundation.framework/AVFoundation
0x3115c000 - 0x3127dfff CoreGraphics armv7 <65f6c8701b563542820a26b0dfc4f6a4> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31515000 - 0x31552fff CoreText armv7 /System/Library/Frameworks/CoreText.framework/CoreText
0x31574000 - 0x315c5fff libsqlite3.dylib armv7 <8a41cc6a6d9332308bc415d27577fd24> /usr/lib/libsqlite3.dylib
0x31f44000 - 0x31f4ffff libz.1.dylib armv7 /usr/lib/libz.1.dylib
0x323ad000 - 0x324b5fff CoreData armv7 <9843a401dd1d322383e3e40021cc8b95> /System/Library/Frameworks/CoreData.framework/CoreData
0x324f0000 - 0x324fefff OpenGLES armv7 <5a76beaeaa013f0cbf16e5cb154598ab> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x331cc000 - 0x3327bfff QuartzCore armv7 /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x332aa000 - 0x333c9fff Foundation armv7 <09ff368178c5321c9715b9c8d491d53f> /System/Library/Frameworks/Foundation.framework/Foundation
0x356f1000 - 0x3579afff libxml2.2.dylib armv7 <5538d3f2c7d83b88b06168488fe6326b> /usr/lib/libxml2.2.dylib
0x359bd000 - 0x35b11fff AudioToolbox armv7 <6619c8c13f8d328e923e797fa8d0df23> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x35d57000 - 0x35d9efff MessageUI armv7 <35a81f5d4eb03467a1447db80337e570> /System/Library/Frameworks/MessageUI.framework/MessageUI
0x35df5000 - 0x35e1efff MobileCoreServices armv7 <57fef84bdc17301d8bf53ba0fb967fe6> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x35f8a000 - 0x36317fff UIKit armv7 /System/Library/Frameworks/UIKit.framework/UIKit

Please Help Me sort-out this Problem.
Thanks in Advance.

Can't clone or download this repository

Hi, I've been trying to clone/download this repository since last night and it fails each time. In Terminal I type git clone git://github.com/omnigroup/OmniGroup.git, it sits there for a bit, then tells me the operation has timed out. Trying the same command with a different repository (I tried my own AR1010lib) does work though. Also, trying a direct download doesn't work either.

Thanks,

Adam Jansch

failed to archive the project

I'd like to make a ipa of Ad Hoc version for my testers.

I copy the configuration of Release and rename it Ad Hoc.
When I try to archive it, it has error:
FixStringsFile not found at /Users/****/Library/Developer/Xcode/DerivedData/RTFWS-cbxpcwyoeysjcudcsgyskybubzll/ArchiveIntermediates/RTFPro/BuildProductsPath/Ad Hoc/FixStringsFile! (RuntimeError)

I check the directory : it has a soft link of FixStringsFile.

So I'm confused and don't know how to fix it.

Could you help me?

Thanks!

Absolute addressing not allowed in code-signed PIE

We updated to the shiny, redacted, version of the very popular tablet SDK today, and found that it does not like position-dependent code in Omni Frameworks’ touch libraries.

We’ve gone ahead and disabled position-dependent code generation in all touch targets which are static libraries, so as to make clang happy.

The error looks like:

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in -[OFFileWrapper(OAExtensions) addFileWrapperMovingAsidePreviousWrapper:] from /Users/Shared/evadne/Products/Debug-iphoneos/libOmniAppKit.a(NSFileWrapper-OAExtensions.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

The commit is at iridia@74e5ea4 .

@2x Images needed for Retina Display

Hi,

I am currently in the process of integrating OUIEditableFrame into my application, which is available for iPad as well as for iPhone.

So far, OUIEditableFrame works flawlessly on the iPhone. But unfortunately, all the images shipped with the Omni frameworks so far are only available at the normal resolution. In order to properly support the Retina display of the iPhone 4, it would be great if you could provide upscaled 2x version of the non-iPad-specific images. If you originally created the assets as vectors, this would hopefully only mean re-exporting them at twice the resolution.

Best regards,
Daniel

OUIEditableFrame crashes on text input

I have a single-threaded iPad application automating OUIEditableFrame in a very simple manner: It sets attributed string for editing and gets it back from OUIEditableFrame instance as soon as it resign first responder. No delegate set (assuming a real world app WILL have it set to handle selection position and provide toolbar) for now so i cannot blame on my own handlers.

OUIEditableFrame instance can get first responder and i can do whatever i want with existing text: select, remove, etc. As soon as i start input the app crashes with EXC_BAD_EXEC in main function.

It looks like a bad memory in a method handling input that causes autorelease pool to crash. I wish i can provide more detailed information on what method causes that but i have no idea how to at least localize the issue.

PS Is there any text documentation or sequence diagrams describing workflow for text input handling?

Xcode 4 Text Editor Workspace Errors

When using the supplied Xcode 4 workspace example for building the Text Editor example I get a number of semantic errors which can't be ignored.

kCTParagraphStyleSpecifierParagraphSpacingBefore, OUITextLayout

Found a strange case where when an NSAttributedString passed to OUITextLayout is not given a kCTParagraphStyleSpecifierParagraphSpacingBefore of 4.0 as its paragraph style, the last line of a paragraph is drawn with a consistently wrong leading (off by two to four pixels, in our case a value of 4.0 makes the issue go away).

Trying to blame our own code, where shall I look at first? :)

Build settings - problem with disk name

OmniGroup frameworks failed to compile, on my drive with spaces in name ("Data HD"), path in "Info.plist Other Preprocessor Flags" must be in quotes:

-traditional-cpp -C -I "$PROJECT_DERIVED_FILE_DIR".

./Scripts/Build Frameworks install build errors

Last login: Wed Nov 3 17:11:16 on ttys000
Aarons-iMac:~ Aaron$ cd /Volumes/My\ Book/iPhone\ Stuff/Developer/References/OmniGroup
Aarons-iMac:OmniGroup Aaron$ ./Scripts/Build Frameworks installNow in: /Volumes/My Book/iPhone Stuff/Developer/References
2010-11-03 17:11:28.594 defaults[6370:903]
The domain/default pair of (com.apple.Xcode, PBXProductDirectory) does not exist
Warning: PBXProductDirectory not defined in Xcode, using /Users/Shared/Aaron/Products
2010-11-03 17:11:28.605 defaults[6372:903]
The domain/default pair of (com.apple.Xcode, PBXIntermediatesDirectory) does not exist
Warning: PBXIntermediatesDirectory not defined in Xcode, using /Users/Shared/Aaron/Products/Builds
BUILD_ACTION=install
Making installed product files writable

Wed Nov 3 17:11:28 MDT 2010

Starting build of Frameworks

BUILD_CONFIGURATION=Release

Building FixStringsFile (OmniGroup/Tools/FixStringsFile)
+./Scripts/Build:136> xcodebuild 'DSTROOT=/' 'SYMROOT=/Users/Shared/Aaron/Products' 'OBJROOT=/Users/Shared/Aaron/Products/Builds' 'OMNI_INSTALLED_PRODUCTS=/Users/Shared/Aaron/InstalledProducts' 'OMNI_FRAMEWORK_TARGET_PATH=@executable_path/../Frameworks' -configuration Release -project FixStringsFile.xcodeproj install
Build settings from command line:
DSTROOT = /
OBJROOT = /Users/Shared/Aaron/Products/Builds
OMNI_FRAMEWORK_TARGET_PATH = @executable_path/../Frameworks
OMNI_INSTALLED_PRODUCTS = /Users/Shared/Aaron/InstalledProducts
SYMROOT = /Users/Shared/Aaron/Products

=== BUILD NATIVE TARGET FixStringsFile OF PROJECT FixStringsFile WITH CONFIGURATION Release ===
Check dependencies
SetOwnerAndGroup "Aaron:staff" /Users/Shared/Aaron/Products/Builds/UninstalledProducts/FixStringsFile
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Tools/FixStringsFile"
/usr/sbin/chown -RH Aaron:staff /Users/Shared/Aaron/Products/Builds/UninstalledProducts/FixStringsFile

SetMode a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/FixStringsFile
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Tools/FixStringsFile"
/bin/chmod -RH a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/FixStringsFile

** BUILD SUCCEEDED **

Building OmniBase (OmniGroup/Frameworks/OmniBase(OmniBaseTouchTests))
+./Scripts/Build:136> xcodebuild 'DSTROOT=/' 'SYMROOT=/Users/Shared/Aaron/Products' 'OBJROOT=/Users/Shared/Aaron/Products/Builds' 'OMNI_INSTALLED_PRODUCTS=/Users/Shared/Aaron/InstalledProducts' 'OMNI_FRAMEWORK_TARGET_PATH=@executable_path/../Frameworks' -configuration Release -target OmniBaseTouchTests -project OmniBase.xcodeproj install
Build settings from command line:
DSTROOT = /
OBJROOT = /Users/Shared/Aaron/Products/Builds
OMNI_FRAMEWORK_TARGET_PATH = @executable_path/../Frameworks
OMNI_INSTALLED_PRODUCTS = /Users/Shared/Aaron/InstalledProducts
SYMROOT = /Users/Shared/Aaron/Products

=== BUILD NATIVE TARGET OmniBaseTouch OF PROJECT OmniBase WITH CONFIGURATION Release ===
Check dependencies
SetOwnerAndGroup "Aaron:staff" /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBase.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniBase"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/usr/sbin/chown -RH Aaron:staff /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBase.a

SetMode a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBase.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniBase"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/bin/chmod -RH a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBase.a

=== BUILD NATIVE TARGET OmniBaseTouchTests OF PROJECT OmniBase WITH CONFIGURATION Release ===
Check dependencies
SetOwnerAndGroup "Aaron:staff" /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBaseTouchTests.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniBase"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/usr/sbin/chown -RH Aaron:staff /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBaseTouchTests.a

SetMode a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBaseTouchTests.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniBase"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/bin/chmod -RH a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniBaseTouchTests.a

** BUILD SUCCEEDED **

Building OmniFoundation (OmniGroup/Frameworks/OmniFoundation(OmniFoundationTouchTests))
+./Scripts/Build:136> xcodebuild 'DSTROOT=/' 'SYMROOT=/Users/Shared/Aaron/Products' 'OBJROOT=/Users/Shared/Aaron/Products/Builds' 'OMNI_INSTALLED_PRODUCTS=/Users/Shared/Aaron/InstalledProducts' 'OMNI_FRAMEWORK_TARGET_PATH=@executable_path/../Frameworks' -configuration Release -target OmniFoundationTouchTests -project OmniFoundation.xcodeproj install
Build settings from command line:
DSTROOT = /
OBJROOT = /Users/Shared/Aaron/Products/Builds
OMNI_FRAMEWORK_TARGET_PATH = @executable_path/../Frameworks
OMNI_INSTALLED_PRODUCTS = /Users/Shared/Aaron/InstalledProducts
SYMROOT = /Users/Shared/Aaron/Products

=== BUILD NATIVE TARGET OmniFoundationTouch OF PROJECT OmniFoundation WITH CONFIGURATION Release ===
Check dependencies
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/NSDate-OFExtensions.o OpenStepExtensions.subproj/NSDate-OFExtensions.m normal armv7 objective-c com.apple.compilers.llvmgcc42
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch armv7 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -O2 -mdynamic-no-pic -Werror -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wsign-compare -Wnewline-eof -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -gdwarf-2 -mthumb -miphoneos-version-min=4.2 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/OmniFoundation.hmap -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -F/Users/Shared/Aaron/Products/Release-iphoneos -I/Users/Shared/Aaron/Products/Release-iphoneos/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/DerivedSources -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/libxml2 -I/Users/Shared/Aaron/Products/Release-iphoneos/OmniFoundation-Private -I/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources/armv7 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources -DNS_BUILD_32_LIKE_64 -DOMNI_BUILDING_FRAMEWORK -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -include /Users/Shared/Aaron/Products/Release-iphoneos/SharedPrecompiledHeaders/OmniFoundation_Prefix-esdvryiihegysvbpkqxpbglspjkh/OmniFoundation_Prefix.h -c "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OpenStepExtensions.subproj/NSDate-OFExtensions.m" -o /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/NSDate-OFExtensions.o

cc1obj: warnings being treated as errors
In file included from /Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OpenStepExtensions.subproj/NSDate-OFExtensions.m:8:
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFPreference.o OFPreference.m normal armv7 objective-c com.apple.compilers.llvmgcc42
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch armv7 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -O2 -mdynamic-no-pic -Werror -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wsign-compare -Wnewline-eof -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -gdwarf-2 -mthumb -miphoneos-version-min=4.2 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/OmniFoundation.hmap -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -F/Users/Shared/Aaron/Products/Release-iphoneos -I/Users/Shared/Aaron/Products/Release-iphoneos/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/DerivedSources -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/libxml2 -I/Users/Shared/Aaron/Products/Release-iphoneos/OmniFoundation-Private -I/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources/armv7 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources -DNS_BUILD_32_LIKE_64 -DOMNI_BUILDING_FRAMEWORK -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -include /Users/Shared/Aaron/Products/Release-iphoneos/SharedPrecompiledHeaders/OmniFoundation_Prefix-esdvryiihegysvbpkqxpbglspjkh/OmniFoundation_Prefix.h -c "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OFPreference.m" -o /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFPreference.o

cc1obj: warnings being treated as errors
In file included from /Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OFPreference.m:13:
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFXMLElement.o XML/OFXMLElement.m normal armv7 objective-c com.apple.compilers.llvmgcc42
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch armv7 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -O2 -mdynamic-no-pic -Werror -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wsign-compare -Wnewline-eof -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -gdwarf-2 -mthumb -miphoneos-version-min=4.2 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/OmniFoundation.hmap -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -F/Users/Shared/Aaron/Products/Release-iphoneos -I/Users/Shared/Aaron/Products/Release-iphoneos/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/DerivedSources -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/libxml2 -I/Users/Shared/Aaron/Products/Release-iphoneos/OmniFoundation-Private -I/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources/armv7 -I/Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/DerivedSources -DNS_BUILD_32_LIKE_64 -DOMNI_BUILDING_FRAMEWORK -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -include /Users/Shared/Aaron/Products/Release-iphoneos/SharedPrecompiledHeaders/OmniFoundation_Prefix-esdvryiihegysvbpkqxpbglspjkh/OmniFoundation_Prefix.h -c "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/XML/OFXMLElement.m" -o /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFXMLElement.o

cc1obj: warnings being treated as errors
In file included from /Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/XML/OFXMLElement.m:17:
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/Aaron/Products/Builds/UninstalledProducts/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
PhaseScriptExecution "Build Strings" /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Script-3444F47F11921ABF0003AD7F.sh
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
/bin/sh -c /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Script-3444F47F11921ABF0003AD7F.sh

building file list ... done

sent 84 bytes received 20 bytes 208.00 bytes/sec
total size is 3453 speedup is 33.20

=== BUILD NATIVE TARGET OmniFoundationTouchTests OF PROJECT OmniFoundation WITH CONFIGURATION Release ===
Check dependencies
SetOwnerAndGroup "Aaron:staff" /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniFoundationTouchTests.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/usr/sbin/chown -RH Aaron:staff /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniFoundationTouchTests.a

SetMode a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniFoundationTouchTests.a
cd "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/bin/chmod -RH a+rX /Users/Shared/Aaron/Products/Builds/UninstalledProducts/libOmniFoundationTouchTests.a

** BUILD FAILED **

The following build commands failed:
OmniFoundationTouch:
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/NSDate-OFExtensions.o "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OpenStepExtensions.subproj/NSDate-OFExtensions.m" normal armv7 objective-c com.apple.compilers.llvmgcc42
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFPreference.o "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/OFPreference.m" normal armv7 objective-c com.apple.compilers.llvmgcc42
CompileC /Users/Shared/Aaron/Products/Builds/OmniFoundation.build/Release-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFXMLElement.o "/Volumes/My Book/iPhone Stuff/Developer/References/OmniGroup/Frameworks/OmniFoundation/XML/OFXMLElement.m" normal armv7 objective-c com.apple.compilers.llvmgcc42
(3 failures)

Build failed in (OmniGroup/Frameworks/OmniFoundation(OmniFoundationTouchTests))
Aarons-iMac:OmniGroup Aaron$

Unit Tests fail when the decimal separator is not a period

Test Suite '/Users/Shared/myuser/Products/Debug/OFUnitTests.octest(Tests)' finished at 2010-09-27 14:06:17 +0200.
Executed 213 tests, with 2 failures (0 unexpected) in 8.134 (9.077) seconds

/Developer/Tools/RunPlatformUnitTests.include:448: error: Failed tests for architecture 'i386' (GC OFF)
/Developer/Tools/RunPlatformUnitTests.include:462: note: Completed tests for architectures 'x86_64 i386'
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch /Users/Shared/myuser/Products/Debug/OFUnitTests.octest
cd /Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation
/usr/bin/touch -c /Users/Shared/myuser/Products/Debug/OFUnitTests.octest

** BUILD FAILED **

The following build commands failed:
OFUnitTests:
PhaseScriptExecution "Run Tests" /Users/Shared/myuser/Products/Builds/OmniFoundation.build/Debug/OFUnitTests.build/Script-340478D408BE626600BE1C39.sh
(1 failure)

Build failed in (OmniGroup/Frameworks/OmniFoundation(OFUnitTests))

Inspector color slice not clickable when keyboard shows in IOS 5

I understand that the NDA is in effect still and that you are sitting on an IOS 5 patch. I've spent quite a bit of time trying to figure this out myself. Our apps (which are in the store) will start crashing when users upgrade to IOS 5. So we are desparate and figured we'd ask here. The problem is reproducible with the TextEditor example project on the master branch right now. If you run on the IOS 5 iPad simulator the Text color slices on the inspector will not drill into the color inspector pane when the keyboard is showing. If you dismiss the keyboard it works again.

Using the debugger it is confirmed that the loadView method is adding the selector for TouchUpInside to trigger showDetails:

[_textWell addTarget:nil action:@selector(showDetails:) forControlEvents:UIControlEventTouchUpInside];

I confirmed that showDetails: is not invoked if the keyboard is visible.

From what I can tell in the stack traces there is no other conditional code higher in the call stack that might prevent showDetails from executing. I have also looked at all the keyboard notification code in the framework to try to find anything that might interfere and I have come up dry.

It would be great if someone had even just a few words of wisdom that might give us something new to try.

Thanks,
Chuck Swanberg

Saving images with the document

Hi!

I am trying to save the RTF documents including the imported images, currently the Text Editor example is not saving them, any suggestion?

Thanks in advance,

Best regards,

Frankai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.