]> src.bluestatic.org Git - macgdbp.git/log
macgdbp.git
11 years agoProtocolClient was both a superclass and a member. Fix.
Robert Sesek [Tue, 18 Jun 2013 05:44:55 +0000 (01:44 -0400)]
ProtocolClient was both a superclass and a member. Fix.

11 years agoUse the correct socket for CFStreamCreatePairWithSocket.
Robert Sesek [Tue, 18 Jun 2013 05:40:00 +0000 (01:40 -0400)]
Use the correct socket for CFStreamCreatePairWithSocket.

And some minor message passing cleanup.

11 years agoGut the old NetworkConnection and NetworkCallbackController classes.
Robert Sesek [Tue, 18 Jun 2013 05:21:05 +0000 (01:21 -0400)]
Gut the old NetworkConnection and NetworkCallbackController classes.

The old API will bridge to the new ProtocolClient until the callers can be
updated.

11 years agoWrite ProtocolClient, the layer that talks XML on top of a MessageQueue.
Robert Sesek [Tue, 18 Jun 2013 05:05:46 +0000 (01:05 -0400)]
Write ProtocolClient, the layer that talks XML on top of a MessageQueue.

This is the other piece of the split NetworkConnection class.

11 years agoWrite MessageQueue to replace most NetworkCallbackController.
Robert Sesek [Tue, 18 Jun 2013 02:29:10 +0000 (22:29 -0400)]
Write MessageQueue to replace most NetworkCallbackController.

This refactors pieces of NetworkConnection and NetworkCallbackController into
a simpler class that merely deals with sequenced strings over a socket.

11 years agoUpdate the comments in NetworkCallbackController::WriteString
Robert Sesek [Sun, 16 Jun 2013 05:19:46 +0000 (01:19 -0400)]
Update the comments in NetworkCallbackController::WriteString

11 years agoReplace deprecated -compositeToPoint:operation: call.
Robert Sesek [Sun, 16 Jun 2013 03:16:39 +0000 (23:16 -0400)]
Replace deprecated -compositeToPoint:operation: call.

11 years agoFix 64-bit Debug builds.
Robert Sesek [Sun, 16 Jun 2013 03:12:13 +0000 (23:12 -0400)]
Fix 64-bit Debug builds.

11 years agoDelete some obsolete Xcode project settings.
Robert Sesek [Sun, 16 Jun 2013 01:45:41 +0000 (21:45 -0400)]
Delete some obsolete Xcode project settings.

11 years agoRewrite NetworkCallbackController::WriteString to actually deal in bytes properly.
Robert Sesek [Sun, 16 Jun 2013 00:27:37 +0000 (20:27 -0400)]
Rewrite NetworkCallbackController::WriteString to actually deal in bytes properly.

11 years agoSwitch to using the 10.8 SDK with a 10.5 deployment target.
Robert Sesek [Sun, 16 Jun 2013 00:05:28 +0000 (20:05 -0400)]
Switch to using the 10.8 SDK with a 10.5 deployment target.

12 years agoFix a somewhat serious bug in the WriteString loop.
Robert Sesek [Tue, 11 Sep 2012 04:20:34 +0000 (00:20 -0400)]
Fix a somewhat serious bug in the WriteString loop.

memmove was being performed on |string|, which is an NSString. The proper variable
to operate on is |cString|. But even then, that's not correct because the
destination buffer is not owned. Use pointer arithmetic instead.

12 years agoMove out of 1.5 beta to stable, and update the copyright years. 1.5 1.5.0.104
Robert Sesek [Mon, 3 Sep 2012 01:12:54 +0000 (21:12 -0400)]
Move out of 1.5 beta to stable, and update the copyright years.

12 years agoMake the eval result scrollable
Robert Sesek [Mon, 3 Sep 2012 01:11:45 +0000 (21:11 -0400)]
Make the eval result scrollable

12 years agoUpdate CHANGES after f3ac43beef7fddf2c4c9839e4429fcddc6b92465
Robert Sesek [Mon, 3 Sep 2012 01:01:47 +0000 (21:01 -0400)]
Update CHANGES after f3ac43beef7fddf2c4c9839e4429fcddc6b92465

12 years agoFix Bug #236 which caused freeze on OS X 10.8
Sam Fleming [Mon, 13 Aug 2012 12:46:57 +0000 (13:46 +0100)]
Fix Bug #236 which caused freeze on OS X 10.8

13 years agoAdd an Evaluate menu item to the Debugger menu
Robert Sesek [Mon, 30 May 2011 15:56:46 +0000 (11:56 -0400)]
Add an Evaluate menu item to the Debugger menu

13 years agoCreate a new icon for the Eval toolbar item
Robert Sesek [Mon, 30 May 2011 15:54:20 +0000 (11:54 -0400)]
Create a new icon for the Eval toolbar item

13 years agoHave the EvalWindow autosave its frame
Robert Sesek [Mon, 30 May 2011 15:41:19 +0000 (11:41 -0400)]
Have the EvalWindow autosave its frame

13 years agoRemove two manual invocations of |-debuggerDisconnected| now that socket shutdown...
Robert Sesek [Mon, 30 May 2011 02:23:35 +0000 (22:23 -0400)]
Remove two manual invocations of |-debuggerDisconnected| now that socket shutdown has been redone

13 years agoAdd changelog entry
Robert Sesek [Mon, 30 May 2011 02:16:58 +0000 (22:16 -0400)]
Add changelog entry

13 years agoRemove testing code from CloseConnection()
Robert Sesek [Mon, 30 May 2011 02:15:17 +0000 (22:15 -0400)]
Remove testing code from CloseConnection()

13 years agoRedo how socket shutdown works:
Robert Sesek [Mon, 30 May 2011 02:05:38 +0000 (22:05 -0400)]
Redo how socket shutdown works:
* Keep hold of the socketHandle_ from the accept callback
* close() this socket (creating a CFSocket breaks CFStreams)
* Implement -[NetworkConnectionDelegate connectionDidClose:] to reconnect if attached
* When kCFStreamEventEndEncountered is received, just go through CloseConnection(), same with kCFStreamEventErrorOccurred

13 years agoKeep track of the child socket handle and close() it properly
Robert Sesek [Mon, 30 May 2011 01:36:45 +0000 (21:36 -0400)]
Keep track of the child socket handle and close() it properly

13 years agoRename socket_ to listeningSocket_ and add CloseSocket() to help shut it down
Robert Sesek [Mon, 30 May 2011 00:53:47 +0000 (20:53 -0400)]
Rename socket_ to listeningSocket_ and add CloseSocket() to help shut it down

13 years agoIn NetworkCallbackController::WriteStreamCanAcceptBytes, check that writeStream_...
Robert Sesek [Sun, 29 May 2011 20:36:28 +0000 (16:36 -0400)]
In NetworkCallbackController::WriteStreamCanAcceptBytes, check that writeStream_ exists

13 years agoMove ownership of the read and write stream from NetworkConnection to NetworkCallback...
Robert Sesek [Sun, 29 May 2011 20:31:47 +0000 (16:31 -0400)]
Move ownership of the read and write stream from NetworkConnection to NetworkCallbackController

13 years agoUpdate graph a little
Robert Sesek [Mon, 2 May 2011 01:02:12 +0000 (21:02 -0400)]
Update graph a little

13 years agoGroup the step commands and their box
Robert Sesek [Sun, 1 May 2011 23:28:40 +0000 (19:28 -0400)]
Group the step commands and their box

13 years agoRemvoe dropshadows and change arrow heads in Code Flow.graffle
Robert Sesek [Sun, 1 May 2011 23:27:20 +0000 (19:27 -0400)]
Remvoe dropshadows and change arrow heads in Code Flow.graffle

13 years agoAdd start/end points and indicate optionality of edges in Code Flow.graffle
Robert Sesek [Sun, 1 May 2011 23:19:50 +0000 (19:19 -0400)]
Add start/end points and indicate optionality of edges in Code Flow.graffle

13 years agoAdd current code flow graph document
Robert Sesek [Sun, 1 May 2011 22:37:02 +0000 (18:37 -0400)]
Add current code flow graph document

13 years agoRemove the README.* files for modp_b64 from the project so they don't get copied...
Robert Sesek [Sun, 1 May 2011 20:01:03 +0000 (16:01 -0400)]
Remove the README.* files for modp_b64 from the project so they don't get copied into the bundle

13 years agoFix a warning in Preferences.xib about checkbox image scaling
Robert Sesek [Sun, 1 May 2011 18:54:44 +0000 (14:54 -0400)]
Fix a warning in Preferences.xib about checkbox image scaling

13 years agoAdd StripLineBreaksValueTransformer and use it for displaying values in the variable...
Robert Sesek [Sun, 1 May 2011 18:14:13 +0000 (14:14 -0400)]
Add StripLineBreaksValueTransformer and use it for displaying values in the variable list.

13 years agoIn |-[NSXMLElement(GDBpAdditions) base64DecodedValue]|, recursively print objects.
Robert Sesek [Sun, 1 May 2011 18:06:06 +0000 (14:06 -0400)]
In |-[NSXMLElement(GDBpAdditions) base64DecodedValue]|, recursively print objects.

This fixes #168.

13 years agoGet the base64-decoded value of the when showing evaluated script responses
Robert Sesek [Sun, 1 May 2011 17:03:35 +0000 (13:03 -0400)]
Get the base64-decoded value of the when showing evaluated script responses

13 years agoMerge branch 'eval-sheet'
Robert Sesek [Sun, 1 May 2011 16:54:08 +0000 (12:54 -0400)]
Merge branch 'eval-sheet'

13 years agoDon't use |-performClick:| to wire up the Evalute button, but use the Enter key instead
Robert Sesek [Sun, 1 May 2011 16:51:42 +0000 (12:51 -0400)]
Don't use |-performClick:| to wire up the Evalute button, but use the Enter key instead

13 years agoOnly enable the Eval window button if connected to the debugger
Robert Sesek [Sun, 1 May 2011 16:47:48 +0000 (12:47 -0400)]
Only enable the Eval window button if connected to the debugger

13 years agoUpdate ChangeLog
Robert Sesek [Sun, 1 May 2011 16:44:44 +0000 (12:44 -0400)]
Update ChangeLog

13 years ago* Rename "Evalute Code" to "Evaluate Script" in the toolbar
Robert Sesek [Sun, 1 May 2011 16:42:59 +0000 (12:42 -0400)]
* Rename "Evalute Code" to "Evaluate Script" in the toolbar
* Update all the toolbar icons to not have .png in the icon name, which makes
  the images show up in IB
* Add Evaluate to the default toolbar

13 years agoActually call the delegate method, which hooks everything up.
Robert Sesek [Sun, 1 May 2011 16:37:35 +0000 (12:37 -0400)]
Actually call the delegate method, which hooks everything up.

13 years agoAdd |-[DebuggerBackEndDelegate scriptWasEvaluatedWithResult:]| and plumb it through
Robert Sesek [Sun, 1 May 2011 16:32:33 +0000 (12:32 -0400)]
Add |-[DebuggerBackEndDelegate scriptWasEvaluatedWithResult:]| and plumb it through

13 years agoAdd -[DebuggerBackEnd evalScript:] to send the command.
Robert Sesek [Sun, 1 May 2011 16:25:35 +0000 (12:25 -0400)]
Add -[DebuggerBackEnd evalScript:] to send the command.

But the command format is atypical and has the transaction ID before the last
parameter, so also add -[NetworkConnection sendCustomCommandWithFormat:] to
support placing the transaction ID in an arbitrary place using a string
placeholder.

13 years agoXIB changes:
Robert Sesek [Sun, 1 May 2011 16:09:16 +0000 (12:09 -0400)]
XIB changes:
* Hook up resize springs
* Set font to Menlo
* Hook up the Enter key to the evaluate button

13 years agoHook up the Evaluate button
Robert Sesek [Sun, 1 May 2011 14:56:25 +0000 (10:56 -0400)]
Hook up the Evaluate button

13 years agoFix a leak by autoreleasing in the |-sheetDidEnd...|
Robert Sesek [Sat, 30 Apr 2011 23:43:44 +0000 (19:43 -0400)]
Fix a leak by autoreleasing in the |-sheetDidEnd...|

13 years agoMissing a [super dealloc] call
Robert Sesek [Sat, 30 Apr 2011 23:43:00 +0000 (19:43 -0400)]
Missing a [super dealloc] call

13 years agoHook up the EvalController and modal interface via the DebuggerController toolbar
Robert Sesek [Sat, 30 Apr 2011 23:42:24 +0000 (19:42 -0400)]
Hook up the EvalController and modal interface via the DebuggerController toolbar

13 years agoAdd the EvalController and Eval.xib
Robert Sesek [Sat, 30 Apr 2011 22:57:20 +0000 (18:57 -0400)]
Add the EvalController and Eval.xib

13 years agoTweak the PC stroke color
Robert Sesek [Fri, 29 Apr 2011 05:13:59 +0000 (01:13 -0400)]
Tweak the PC stroke color

13 years agoUse the same shape for the PC as with breakpoints
Robert Sesek [Fri, 29 Apr 2011 05:10:24 +0000 (01:10 -0400)]
Use the same shape for the PC as with breakpoints

13 years agoFix a crash caused by an uninitialized variable (bug #219) after highlighting source...
Robert Sesek [Wed, 2 Mar 2011 05:05:19 +0000 (00:05 -0500)]
Fix a crash caused by an uninitialized variable (bug #219) after highlighting source fails

13 years agoIn NetworkCallbackController::Unschedule*Stream(), don't proceed if the streams are...
Robert Sesek [Mon, 28 Feb 2011 13:45:03 +0000 (08:45 -0500)]
In NetworkCallbackController::Unschedule*Stream(), don't proceed if the streams are NULL.

13 years agoCleanup some older code in NetworkConnection.mm.
Robert Sesek [Mon, 28 Feb 2011 05:38:57 +0000 (00:38 -0500)]
Cleanup some older code in NetworkConnection.mm.

13 years agoBump the version to 1.5 Beta
Robert Sesek [Mon, 28 Feb 2011 02:58:35 +0000 (21:58 -0500)]
Bump the version to 1.5 Beta

13 years agoFilter out the CLASSNAME property so that the condition to request more children...
Robert Sesek [Mon, 28 Feb 2011 02:53:05 +0000 (21:53 -0500)]
Filter out the CLASSNAME property so that the condition to request more children is met all the time.

13 years agoWe need to set self.attached before referencing it.
Robert Sesek [Sat, 26 Feb 2011 19:20:05 +0000 (14:20 -0500)]
We need to set self.attached before referencing it.

13 years agoFix some signedness errors
Robert Sesek [Sat, 26 Feb 2011 19:17:36 +0000 (14:17 -0500)]
Fix some signedness errors

13 years agoMerge branch 'ruler-view'
Robert Sesek [Sat, 26 Feb 2011 19:10:51 +0000 (14:10 -0500)]
Merge branch 'ruler-view'

Conflicts:
CHANGES
Source/BSLineNumberView.m
Source/BSSourceView.h
Source/BSSourceView.mm
Source/BSSourceViewTextView.m

13 years agoBring BSSourceView into new style conformance.
Robert Sesek [Sat, 26 Feb 2011 18:58:03 +0000 (13:58 -0500)]
Bring BSSourceView into new style conformance.

13 years agoAdd a changelog entry about 64bit.
Robert Sesek [Sat, 26 Feb 2011 18:51:00 +0000 (13:51 -0500)]
Add a changelog entry about 64bit.

13 years agoAdd BSSourceViewTextView (again).
Robert Sesek [Sat, 26 Feb 2011 18:49:01 +0000 (13:49 -0500)]
Add BSSourceViewTextView (again).

13 years agoMerge branch 'x86_64'
Robert Sesek [Sat, 26 Feb 2011 18:22:54 +0000 (13:22 -0500)]
Merge branch 'x86_64'

13 years agoRemove one more NSLog. 1.4
Robert Sesek [Sat, 26 Feb 2011 17:28:34 +0000 (12:28 -0500)]
Remove one more NSLog.

13 years agoRemove some NSLog statements
Robert Sesek [Sat, 26 Feb 2011 17:19:35 +0000 (12:19 -0500)]
Remove some NSLog statements

13 years agoClose and reopen the connection when toggling the attached state.
Robert Sesek [Sat, 26 Feb 2011 17:14:51 +0000 (12:14 -0500)]
Close and reopen the connection when toggling the attached state.

13 years agoGive attribution for the line number concept.
Robert Sesek [Sat, 26 Feb 2011 17:03:23 +0000 (12:03 -0500)]
Give attribution for the line number concept.

13 years agoMove dealing with the socket into NetworkCallbackController.
Robert Sesek [Sat, 19 Feb 2011 17:40:42 +0000 (12:40 -0500)]
Move dealing with the socket into NetworkCallbackController.

13 years agoRemove beta moniker and unstable info from Info.plist.
Robert Sesek [Tue, 25 Jan 2011 19:44:20 +0000 (14:44 -0500)]
Remove beta moniker and unstable info from Info.plist.

13 years agoClean up |-[BSLineNumberRulerView drawBreakpointInRect:]| to use constants
Robert Sesek [Mon, 17 Jan 2011 01:31:17 +0000 (20:31 -0500)]
Clean up |-[BSLineNumberRulerView drawBreakpointInRect:]| to use constants

13 years agoDocument BSSourceView.h
Robert Sesek [Sun, 16 Jan 2011 06:42:40 +0000 (01:42 -0500)]
Document BSSourceView.h

13 years agoClean up BSSplitView
Robert Sesek [Sun, 16 Jan 2011 06:30:03 +0000 (01:30 -0500)]
Clean up BSSplitView

13 years agoOnly message the delegate if the line actually exists
Robert Sesek [Fri, 14 Jan 2011 14:54:51 +0000 (09:54 -0500)]
Only message the delegate if the line actually exists

13 years agoAdd a changelog entry
Robert Sesek [Fri, 14 Jan 2011 14:35:40 +0000 (09:35 -0500)]
Add a changelog entry

13 years agoUse the Menlo font if possible, also switch to 10pt
Robert Sesek [Fri, 14 Jan 2011 14:27:12 +0000 (09:27 -0500)]
Use the Menlo font if possible, also switch to 10pt

13 years agoImplement |-mouseDown:| in BSLineNumberRulerView to get breakpoints working again
Robert Sesek [Fri, 14 Jan 2011 14:22:14 +0000 (09:22 -0500)]
Implement |-mouseDown:| in BSLineNumberRulerView to get breakpoints working again

13 years agoRemove the old BSLineNumberView
Robert Sesek [Fri, 14 Jan 2011 13:51:52 +0000 (08:51 -0500)]
Remove the old BSLineNumberView

13 years agoStart drawing breakpoints in the BSLineNumberRulerView
Robert Sesek [Fri, 14 Jan 2011 13:51:06 +0000 (08:51 -0500)]
Start drawing breakpoints in the BSLineNumberRulerView

13 years agoImport BSSourceView.h in BreakpointController.h rather than in the .m to fix a warning
Robert Sesek [Fri, 14 Jan 2011 06:42:53 +0000 (01:42 -0500)]
Import BSSourceView.h in BreakpointController.h rather than in the .m to fix a warning

13 years agoRemove the program counter image and draw the mark in code instead
Robert Sesek [Fri, 14 Jan 2011 06:33:14 +0000 (01:33 -0500)]
Remove the program counter image and draw the mark in code instead

13 years agoDraw the program counter in BSLineNumberRulerView
Robert Sesek [Wed, 12 Jan 2011 22:59:23 +0000 (17:59 -0500)]
Draw the program counter in BSLineNumberRulerView

13 years agoCall |-setNeedsDisplay:| in the right places so that the line numbers paint properly
Robert Sesek [Wed, 12 Jan 2011 22:41:29 +0000 (17:41 -0500)]
Call |-setNeedsDisplay:| in the right places so that the line numbers paint properly

13 years agoBSLineNumberRulerView should take the BSSourceView rather than just a generic NSScrol...
Robert Sesek [Wed, 12 Jan 2011 22:35:31 +0000 (17:35 -0500)]
BSLineNumberRulerView should take the BSSourceView rather than just a generic NSScrollView

13 years agoPad and vertically center the line numbers
Robert Sesek [Wed, 12 Jan 2011 18:44:28 +0000 (13:44 -0500)]
Pad and vertically center the line numbers

13 years agoDraw rudimentary line numbers!
Robert Sesek [Wed, 12 Jan 2011 16:07:57 +0000 (11:07 -0500)]
Draw rudimentary line numbers!

13 years agoMove |-computeLineIndex| from BSSourceView to BSLineNumberRulerView
Robert Sesek [Wed, 12 Jan 2011 16:01:16 +0000 (11:01 -0500)]
Move |-computeLineIndex| from BSSourceView to BSLineNumberRulerView

13 years agoAdd |-computeLineIndex| to map the first character index of a frame rectangle to...
Robert Sesek [Wed, 12 Jan 2011 03:28:24 +0000 (22:28 -0500)]
Add |-computeLineIndex| to map the first character index of a frame rectangle to line number

13 years agoDraw the stroke and background color for the ruler view
Robert Sesek [Tue, 11 Jan 2011 23:52:28 +0000 (18:52 -0500)]
Draw the stroke and background color for the ruler view

13 years agoRemove the manual gutter.
Robert Sesek [Tue, 11 Jan 2011 23:36:33 +0000 (18:36 -0500)]
Remove the manual gutter.

13 years agoInitial work to get a source view using NSRulerView.
Robert Sesek [Tue, 11 Jan 2011 23:11:37 +0000 (18:11 -0500)]
Initial work to get a source view using NSRulerView.

Redefine the BSSourceView interface to have a markers property, so that clients
don't dig in for the numberView to set them.

Remove the BSSourceViewTextView as that custom view is no longer needed.

13 years agoRemove NSLog()
Robert Sesek [Sat, 15 Jan 2011 05:35:58 +0000 (00:35 -0500)]
Remove NSLog()

13 years agoAdd code to the AppDelegate to record if a user has ever used an unstable VersionCast... 1.4-beta-2
Robert Sesek [Sat, 15 Jan 2011 04:43:48 +0000 (23:43 -0500)]
Add code to the AppDelegate to record if a user has ever used an unstable VersionCast feed

13 years agoRemove some dead code in -[NetworkConnection socketDisconnected]
Robert Sesek [Sat, 15 Jan 2011 04:33:16 +0000 (23:33 -0500)]
Remove some dead code in -[NetworkConnection socketDisconnected]

13 years agoFix a typo
Robert Sesek [Fri, 14 Jan 2011 14:56:29 +0000 (09:56 -0500)]
Fix a typo

13 years agoSwitch to the standard architectures, which are x86_64, i386, and ppc.
Robert Sesek [Tue, 11 Jan 2011 02:49:52 +0000 (21:49 -0500)]
Switch to the standard architectures, which are x86_64, i386, and ppc.

13 years agoMissed two int/unsigned usages in BSSourceView.m
Robert Sesek [Tue, 11 Jan 2011 02:49:24 +0000 (21:49 -0500)]
Missed two int/unsigned usages in BSSourceView.m

13 years agoUse NSUInteger in BSSourceViewTextView.m
Robert Sesek [Tue, 11 Jan 2011 02:45:25 +0000 (21:45 -0500)]
Use NSUInteger in BSSourceViewTextView.m

13 years agoUse NSUInteger in BSSourceView.{h,m}
Robert Sesek [Tue, 11 Jan 2011 02:45:03 +0000 (21:45 -0500)]
Use NSUInteger in BSSourceView.{h,m}