release

Is it OK to have a single configuration, rather than separating Debug and Release (in our case)?

We develop a product for internal customers. We don't have a QA team, and don't use assertions. Performance is important, application size isn't. Is it a good idea to have a single configuration (instead of separating Debug and Release), which will have the debug information (pdbs), and will also do the performance optimization? Are th...

Release fixes with only some changes from CVS trunk without using branches.

I have this kind of situation: CVS trunk - all changes, stable ad unstable, are made to trunk. production - major releases are made creating tags on CVS, but minor fixes are made manually, merging only the requested changes from trunk. I'm not allowed to use branches, so I need an alternative solution to simplify or automate the proce...

iphone release dealloc

hi all! I wish best understand the difference between dealloc and release function.... example... I have my class derived from NSObject calle MyClass in my code, to use this class, I create an instance of MyClass.. // initialization MyClass* test = [[MyClass alloc] init]; //do some stuff.... // release?? [ test release]; is right?? ...

Software Release Checklist?

Hi folks, What do you think are good steps to have on a software release checklist -- that is, one to fill out after all testing is done and the software is ready to be released to the outside world QA? We are working on a Desktop solution developing on Microsoft .NET (3.5) Platform. This is a product that we are developing for our com...

Visual C++: Difference between Start with/without debugging in Release mode

What is the difference between Start Debugging (F5) and Start without Debugging (Ctrl-F5) when the code is compiled in Release mode? I am seeing that Ctrl-F5 is 10x faster than F5 for some C++ code. If I am not wrong, the debugger is attached to the executing process for F5 and it is not for Ctrl-F5. Since this is Release mode, the comp...

Which object did send a "release" message to my property ?

Hi everyone ! There's something i don't seem to get about properties and memory management with iOS ! In my AppDelegate, i want a NSString * property : - i've declared it this way in the .h file : @property (nonatomic, copy) NSString *myString; - and synthetized it in the .m One of my method use the property like this : myString = ...

Memory release problems in Objective-C

I have a real-life example that I have in my project below. My aim is to pick out the most likely phone number for SMS receptions, and only that (phone)number. All works well when I don't release memory at the end, but we can't have that, can we. My question is: Where (and how) is the correct way to release memory in the example below? ...

maven release:prepare fails; seems to be confused about svn's UUID

When I try to use the Maven release plugin, it fails on mvn release:prepare with the following error: [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: Repository UUID '3da89ab5-aa79-4544-a1de-...

XCode - Debug configuration removes all GCC 4.2 settings

I have a project that I've just finished painstakingly rebuilding because duplicating a target would cause it to fail (the copy would fail to find its info.plist file no matter what you set in the build settings). Anyway, now that I've rebuilt the project I've encountered another problem: If I'm in "Release" configuration, I have acces...

C# Debug vs Release

How much performance gain (if any) can a windows service gain between a debug build and release build and why? ...

When to release a webservice communication object

I've asked this before but never got a clear answer, I think perhaps I was asking the wrong questions or maybe not clarifying my question so I'll try again. I have an app that needs to retrieve menu items, product details etc. from a server. I have the data retriever / parser as a separate object that I create when needed. I release it ...

Better Understanding Memory Release

I am new to Objective-C and as my first application I am writing I will be starting off with a simple WebKit based browser. So far I have done good and am able to load websites but after a while of usage memory usage tends to get high. I have read the documentation on retain, release, autorelease management and I just had one question. I...

A basic question about dealloc/release: is it always OK to do x = nil; [x release]; - or can it cause probems?

Hello, since every assignment to a variable with a different object increases its retain count and in the dealloc its not always clear how often a variable got assigned a simple [maVar release] might NOT BE SUFFICIENT. So using ALWAYS myVar = nil sets the retain count to zero, and a subsequent [myVar release] will never cause a problem...

NSAutoreleasePool question

I drained an autorelease pool. The warning *** attempt to pop an unknown autorelease pool means the autorelease pool was created and drained in different methods - that's fine. But does it mean such pool is NOT being drained? Is there a solution? ...

Flex Actionscript project swf is not working after export the release build...

Hi guys.. I tried to built a project with AS3 only in Flex. When I run the project in flex, everything looks fine, but when I export the release build, the images that are supposed to be added are gone. I appreciate if someone can help me about it. init(); public function init(loadedVideoCount:Number):void{ ...

Problems releasing memory when popping a viewController using a navigationController

I'm having the following problem. When I pop the view controller pushing the back button, the dealloc method is not getting called. Here is the code I'm using: NSLog(@"coleccionVista retain count0: %i",[coleccionVista retainCount]); coleccionVista = [[coleccionViewController alloc] init]; NSString *nombreColeccion = [colecciones objec...

Can I release an object which was added to a NSMutableArray or does this affect a crash?

Hi, i've got one question about the memory management of the NSMutableArray. I create an object of my custom class and add this object to a NSMutableArray. Is this automatically retained, so that I can release my created object? Thanks! ...

Looking for an advice versioning style for software releases

Hi, I developed an open source forum engine called nearforums (http://nearforums.codeplex.com/) and I wanted an advice on how to name the releases. Until now the releases were named release1, release2, etc. but in the next few days I will make a new release and I don't know if it is a good idea to follow the releaseN naming... Should I...

releasing and reallocating a viewController?

Hi Forum I have a viewController that gets added to the current view like this: theDetail = [[detailController alloc] initWithNibName:@"detail" bundle:[NSBundle mainBundle]]; [self.view addSubview:theDetail.view]; Now - when the user closes this new view, I remove it from the superview. The User might hit the button to show this vi...

Visual Studio: DLL locations for release

I have a project that I am working on that references a "Common Library (DLL)". In the DevEnv it works fine, however if I build and try to organize my files it doesn't work. Basically if I have things setup like so: C:\Program Files\MyApp\MyApp.exe C:\Program Files\MyApp\Common\WPF Commons.dll C:\Program Files\MyApp\Modules\SomeModule....