December 30th, 2001

Work

Bug in LJ Controller

LiveJournalController::sendString:

if ((lookup !=1) || (success != 1) {
	// Brings up Error panel (Should be a sheet)
	// returns nil (Expects NSString*)
}

Upon entering LiveJournalController::buildDictionary:
NSString *httpResult; shows non nil initialization. (0x2)

scanner = [NSScanner scannerWithString: inputString]
// properly initializes even though inputString == nil

HOWEVER:

[scanner scanUpToString: @"\n" intoString &httpResult];

Does _not_ change httpResult. Which is still non-nil

a non nil value sent a message, seems to try to execute it.
thus the following [httpResult isEqualToString: @""]

Thus:
Unable to determine target of Objective-C method call (ignoring):
Cannot access memory at address 0x2

[Error: Irreparable invalid markup ('<signal:>') in entry. Owner must fix manually. Raw contents below.]

<PRE>
LiveJournalController::sendString:

if ((lookup !=1) || (success != 1) {
// Brings up Error panel (Should be a sheet)
// returns nil (Expects NSString*)
}

Upon entering LiveJournalController::buildDictionary:
NSString *httpResult; shows non nil initialization. (0x2)

scanner = [NSScanner scannerWithString: inputString]
// properly initializes even though inputString == nil

HOWEVER:

[scanner scanUpToString: @"\n" intoString &httpResult];

Does _not_ change httpResult. Which is still non-nil

a non nil value sent a message, seems to try to execute it.
thus the following [httpResult isEqualToString: @"<foo>"]

Thus:
Unable to determine target of Objective-C method call (ignoring):
Cannot access memory at address 0x2

<Signal: "EXC_BAD_ACCESS">

I tried setting at the beginning of buildDirectory
NSString *httpResult = nil;

However, now the error occurs on the following NSRunAlertPanel
which wants to send httpResult into the alert panel as an argument that's required to be a string.

New logic needs to be placed in to pull the nil case away from the net-alive/bad server case.
</PRE>
  • cryo

1.46 should be released Jan 1st.

I've been hammer out of a few bugs and things in the hopes to get this release out on the 1st, but it'll be 1.46 and not 1.45. I'm also going to change the versioning so that those who wish to keep up with the cvs development won't show up as the actual real users... so I'll tag 1.46 on the last build, then tag it 1.47-dev or something.. then tag that 1.47 when it's ready to release. This will make it a little nicer with the stats.bml page on livejournal that shows client usage.

She said, "Did you think you were dreaming?" and I said, "I don't know."
  • Current Music
    Round Here - Counting Crows - Across A Wire- Live In New York - Disc 2
protect

Offline Mode

I haven't seen this feature discussed, will there be an offline mode added so I can add entries while out-n-about, and then the client will detect saved entries and upload them to LJ once an internet connection is established?