]> src.bluestatic.org Git - macgdbp.git/log
macgdbp.git
13 years agoAdd BSSourceViewTextView (again).
Robert Sesek [Sat, 26 Feb 2011 18:49:01 +0000 (13:49 -0500)]
Add BSSourceViewTextView (again).

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 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 agoThe attached state is now persisted to preferences.
Robert Sesek [Thu, 6 Jan 2011 17:45:42 +0000 (12:45 -0500)]
The attached state is now persisted to preferences.

13 years agoUpdate changelog
Robert Sesek [Thu, 6 Jan 2011 17:38:20 +0000 (12:38 -0500)]
Update changelog

13 years agoDisallow sorting and selection of columns in the Connection Log.
Robert Sesek [Thu, 6 Jan 2011 14:31:09 +0000 (09:31 -0500)]
Disallow sorting and selection of columns in the Connection Log.

13 years agoHandle sending the |detach| command when not attached in |-handleInitialResponse...
Robert Sesek [Thu, 6 Jan 2011 14:26:08 +0000 (09:26 -0500)]
Handle sending the |detach| command when not attached in |-handleInitialResponse:| not |-connectionDidAccept:|.

13 years agoUpdate the changelog
Robert Sesek [Thu, 6 Jan 2011 14:15:15 +0000 (09:15 -0500)]
Update the changelog

13 years agoDon't use [connection attached] as a condition on which to validate the Stop item.
Robert Sesek [Thu, 6 Jan 2011 14:13:39 +0000 (09:13 -0500)]
Don't use [connection attached] as a condition on which to validate the Stop item.

13 years agoAdd an Attached menu item and give it a keyboard shortcut.
Robert Sesek [Thu, 6 Jan 2011 14:08:19 +0000 (09:08 -0500)]
Add an Attached menu item and give it a keyboard shortcut.

This also binds that item and the attached toolbar item to connection.attached
so both update their UI automatically.

13 years agoChange the version number to 1.4 Beta 2.
Robert Sesek [Thu, 6 Jan 2011 06:43:35 +0000 (01:43 -0500)]
Change the version number to 1.4 Beta 2.

13 years agoSet the key equivalent for the remove breakpoint button to be the backspace key.
Robert Sesek [Thu, 6 Jan 2011 06:26:24 +0000 (01:26 -0500)]
Set the key equivalent for the remove breakpoint button to be the backspace key.

13 years agoAdd a second bug number to the "Stop" button change
Robert Sesek [Thu, 6 Jan 2011 03:28:17 +0000 (22:28 -0500)]
Add a second bug number to the "Stop" button change

13 years agoFormally define BSSourceViewDelegate as a protocol.
Robert Sesek [Thu, 6 Jan 2011 03:20:36 +0000 (22:20 -0500)]
Formally define BSSourceViewDelegate as a protocol.

13 years agoAdd drag and drop support on BSSourceView and enable it in the BreakpointController.
Robert Sesek [Thu, 6 Jan 2011 03:16:34 +0000 (22:16 -0500)]
Add drag and drop support on BSSourceView and enable it in the BreakpointController.

13 years agoRevert "Stub out the methods needed for drag and drop on the breakpoint table view."
Robert Sesek [Thu, 6 Jan 2011 02:54:31 +0000 (21:54 -0500)]
Revert "Stub out the methods needed for drag and drop on the breakpoint table view."

This reverts commit d0a336076f5e432b2fe52db4b5f4b10cc37b69cc.

13 years agoRevert "Add drag and drop for the table view."
Robert Sesek [Thu, 6 Jan 2011 02:54:29 +0000 (21:54 -0500)]
Revert "Add drag and drop for the table view."

This reverts commit 7a8a10f2673ce531fcb38cfec89a04991bbe09c0.

13 years agoAdd drag and drop for the table view.
Robert Sesek [Thu, 6 Jan 2011 02:53:16 +0000 (21:53 -0500)]
Add drag and drop for the table view.

13 years agoStub out the methods needed for drag and drop on the breakpoint table view.
Robert Sesek [Thu, 6 Jan 2011 02:28:24 +0000 (21:28 -0500)]
Stub out the methods needed for drag and drop on the breakpoint table view.

13 years agoFix a warning.
Robert Sesek [Thu, 6 Jan 2011 02:18:41 +0000 (21:18 -0500)]
Fix a warning.

13 years agoHappy new year!
Robert Sesek [Thu, 6 Jan 2011 02:15:09 +0000 (21:15 -0500)]
Happy new year!

13 years agoRemoved some extra braces and add a comment for NetworkConnection(Private)
Robert Sesek [Thu, 6 Jan 2011 02:10:39 +0000 (21:10 -0500)]
Removed some extra braces and add a comment for NetworkConnection(Private)

13 years agoAdd a Stop menu item.
Robert Sesek [Thu, 6 Jan 2011 02:08:42 +0000 (21:08 -0500)]
Add a Stop menu item.

13 years agoSplit out changes for the different 1.4 betas.
Robert Sesek [Thu, 6 Jan 2011 01:56:33 +0000 (20:56 -0500)]
Split out changes for the different 1.4 betas.

13 years agoAdd a "stop" button to the toolbar that detaches the debugger from the backend for...
Robert Sesek [Wed, 5 Jan 2011 23:42:05 +0000 (18:42 -0500)]
Add a "stop" button to the toolbar that detaches the debugger from the backend for the current session.

13 years agoRemove two warnings about using deprecated |+[NSString stringWithContentsOfFile:]|.
Robert Sesek [Fri, 24 Dec 2010 19:27:53 +0000 (14:27 -0500)]
Remove two warnings about using deprecated |+[NSString stringWithContentsOfFile:]|.

13 years agoFix formatting that Xcode bodged.
Robert Sesek [Fri, 24 Dec 2010 19:05:56 +0000 (14:05 -0500)]
Fix formatting that Xcode bodged.

13 years agoSplit out the C++ class into its own file. Also move NetworkConnection's private...
Robert Sesek [Fri, 24 Dec 2010 18:53:56 +0000 (13:53 -0500)]
Split out the C++ class into its own file. Also move NetworkConnection's private interface out.

13 years agoUse a C++ class to handle the CFNetwork events, rather than plain C functions.
Robert Sesek [Fri, 24 Dec 2010 18:29:35 +0000 (13:29 -0500)]
Use a C++ class to handle the CFNetwork events, rather than plain C functions.

13 years agoForgot to check in modp_b64/. Oops.
Robert Sesek [Fri, 24 Dec 2010 16:39:55 +0000 (11:39 -0500)]
Forgot to check in modp_b64/. Oops.

13 years agoDrop in Sparkle 1.5b6 so that it doesn't crash on relaunch anymore.
Robert Sesek [Fri, 24 Dec 2010 16:38:40 +0000 (11:38 -0500)]
Drop in Sparkle 1.5b6 so that it doesn't crash on relaunch anymore.

13 years agoDon't fetch source in |-[DebuggerBackEnd loadStackFrame:]| for empy filenames.
Robert Sesek [Fri, 24 Dec 2010 16:29:13 +0000 (11:29 -0500)]
Don't fetch source in |-[DebuggerBackEnd loadStackFrame:]| for empy filenames.
Doing so wedges the write queue because the error comes back without a transasction ID.

13 years agoAdd a hack to get |-expandVariables| working.
Robert Sesek [Fri, 24 Dec 2010 00:41:36 +0000 (19:41 -0500)]
Add a hack to get |-expandVariables| working.

13 years agoAdd a |-description| for VariableNode.
Robert Sesek [Fri, 24 Dec 2010 00:23:15 +0000 (19:23 -0500)]
Add a |-description| for VariableNode.

13 years agoUpdate changelong for 1.4 1.4-beta-1
Robert Sesek [Sat, 18 Dec 2010 19:35:59 +0000 (14:35 -0500)]
Update changelong for 1.4

13 years agoUse the unstable AppCast URL.
Robert Sesek [Sat, 18 Dec 2010 19:04:26 +0000 (14:04 -0500)]
Use the unstable AppCast URL.

13 years agoRenaming because there's too many Debugger* classes
Robert Sesek [Sat, 18 Dec 2010 18:24:47 +0000 (13:24 -0500)]
Renaming because there's too many Debugger* classes
DebuggerProcessor -> DebuggerBackEnd
DebuggerConnection -> NetworkConnection

13 years agoMove -[DebuggerConnection send:] to the private interface because it isn't threadsafe.
Robert Sesek [Sat, 18 Dec 2010 18:04:38 +0000 (13:04 -0500)]
Move -[DebuggerConnection send:] to the private interface because it isn't threadsafe.

13 years agoPlug a bunch of leaks by implementing -[StackFrame dealloc]
Robert Sesek [Sat, 18 Dec 2010 17:54:48 +0000 (12:54 -0500)]
Plug a bunch of leaks by implementing -[StackFrame dealloc]

13 years agoMerge -[DebuggerController startDebugger] and |-debuggerConnected|.
Robert Sesek [Sat, 18 Dec 2010 17:32:54 +0000 (12:32 -0500)]
Merge -[DebuggerController startDebugger] and |-debuggerConnected|.

13 years agoUpdate Info.plist for Beta 1.
Robert Sesek [Fri, 17 Dec 2010 17:02:33 +0000 (12:02 -0500)]
Update Info.plist for Beta 1.

13 years agoAdd missing |-[super dealloc]| in LoggingController.
Robert Sesek [Fri, 17 Dec 2010 17:01:34 +0000 (12:01 -0500)]
Add missing |-[super dealloc]| in LoggingController.

13 years agoFix a warning about a non-synthesized setter being marked atomic.
Robert Sesek [Fri, 17 Dec 2010 16:34:33 +0000 (11:34 -0500)]
Fix a warning about a non-synthesized setter being marked atomic.

13 years agoSwitch out base64 decoders. Also memset the destination string so that there's no...
Robert Sesek [Fri, 17 Dec 2010 16:31:49 +0000 (11:31 -0500)]
Switch out base64 decoders. Also memset the destination string so that there's no garbage data in the result.

13 years agoRemove the remote host from the title.
Robert Sesek [Fri, 17 Dec 2010 16:13:43 +0000 (11:13 -0500)]
Remove the remote host from the title.

13 years agoOpen the help page with HTTPS.
Robert Sesek [Thu, 16 Dec 2010 15:19:18 +0000 (10:19 -0500)]
Open the help page with HTTPS.

13 years agoIn -[DebuggerController debuggerConnected], do not do anything if we're not attached.
Robert Sesek [Thu, 16 Dec 2010 14:28:24 +0000 (09:28 -0500)]
In -[DebuggerController debuggerConnected], do not do anything if we're not attached.

13 years agoRemove verbose logging from SocketAcceptCallback()
Robert Sesek [Thu, 16 Dec 2010 14:23:24 +0000 (09:23 -0500)]
Remove verbose logging from SocketAcceptCallback()

13 years ago* Store the DebuggerAttached value in the preferences
Robert Sesek [Thu, 16 Dec 2010 14:18:41 +0000 (09:18 -0500)]
* Store the DebuggerAttached value in the preferences
* Respect the attached checkbox on start

13 years ago* Remove the AutoReconnect preference item now that reconnecting is a thing of the...
Robert Sesek [Thu, 16 Dec 2010 14:11:43 +0000 (09:11 -0500)]
* Remove the AutoReconnect preference item now that reconnecting is a thing of the past
* Remove Icons/Reconnect.png

13 years agoDo away with the concept of "reconnect" and use a checbox for attached/detached state.
Robert Sesek [Thu, 16 Dec 2010 14:06:59 +0000 (09:06 -0500)]
Do away with the concept of "reconnect" and use a checbox for attached/detached state.

* |-[DebuggerConnectionDelegate connectionDidAccept:]| now actually gets signaled
* When the debugger is in "detached" mode, it will automatically reject new client sockets.

14 years agoUpdate the API for loading properties to just pass around VariableNode pointers,...
Robert Sesek [Mon, 22 Nov 2010 12:54:30 +0000 (07:54 -0500)]
Update the API for loading properties to just pass around VariableNode pointers, rather than string names.

14 years agoFix reconnect feature by resetting the last txR and txW values.
Robert Sesek [Sun, 31 Oct 2010 23:44:48 +0000 (19:44 -0400)]
Fix reconnect feature by resetting the last txR and txW values.

14 years agoDo not ever close the socket until we are definitely closing the connection. We can...
Robert Sesek [Sun, 31 Oct 2010 23:28:20 +0000 (19:28 -0400)]
Do not ever close the socket until we are definitely closing the connection. We can't reuse the same socket fast enough.

14 years agoTry to make socket reuse more robust. It isn't working.
Robert Sesek [Sun, 31 Oct 2010 19:51:11 +0000 (15:51 -0400)]
Try to make socket reuse more robust. It isn't working.

14 years agoDo not ever spawn more than 1 network thread.
Robert Sesek [Sun, 31 Oct 2010 19:27:07 +0000 (15:27 -0400)]
Do not ever spawn more than 1 network thread.

14 years agoProperly quit the run loop. For some reason, calling -[NSRunLoop run] doesn't work...
Robert Sesek [Sun, 31 Oct 2010 17:33:35 +0000 (13:33 -0400)]
Properly quit the run loop. For some reason, calling -[NSRunLoop run] doesn't work with CFRunLoopStop(). Activate it with CFRunLoopRun() instead.

14 years agoAdd a quit source to the DebuggerConnection's run loop to properly handle closing.
Robert Sesek [Sun, 31 Oct 2010 17:04:48 +0000 (13:04 -0400)]
Add a quit source to the DebuggerConnection's run loop to properly handle closing.

14 years agoProperly set the |connected_| flag in the Connection to NO when we're stopped. Preven...
Robert Sesek [Sun, 31 Oct 2010 16:18:20 +0000 (12:18 -0400)]
Properly set the |connected_| flag in the Connection to NO when we're stopped. Prevents an EXC_BAD_ACCESS on |-run:|.

14 years agoRename |-connectInternal| to |-connectionThreadStart|.
Robert Sesek [Sun, 31 Oct 2010 16:13:45 +0000 (12:13 -0400)]
Rename |-connectInternal| to |-connectionThreadStart|.

14 years agoRemove 2 super verbose NSLog() statements.
Robert Sesek [Sun, 31 Oct 2010 16:11:23 +0000 (12:11 -0400)]
Remove 2 super verbose NSLog() statements.

14 years agoSwitch to using VariableNode in the interface. Reduce use of NSXMLElementAdditions...
Robert Sesek [Sun, 31 Oct 2010 16:09:03 +0000 (12:09 -0400)]
Switch to using VariableNode in the interface. Reduce use of NSXMLElementAdditions to just the key methods.

14 years agoAdd VariableNode which will replace our use of raw NSXMLElement.
Robert Sesek [Sun, 31 Oct 2010 15:24:15 +0000 (11:24 -0400)]
Add VariableNode which will replace our use of raw NSXMLElement.

14 years agoRemove the pending property after it is received.
Robert Sesek [Sun, 31 Oct 2010 14:52:44 +0000 (10:52 -0400)]
Remove the pending property after it is received.

14 years agoInitial work to get properties loading asynchronously. This may have a memory corrupt...
Robert Sesek [Sun, 31 Oct 2010 14:48:36 +0000 (10:48 -0400)]
Initial work to get properties loading asynchronously. This may have a memory corruption bug at the moment...

14 years agoAdd a singleton |+instance| method to AppDelegate so we don't cast everywhere.
Robert Sesek [Sun, 31 Oct 2010 14:26:51 +0000 (10:26 -0400)]
Add a singleton |+instance| method to AppDelegate so we don't cast everywhere.

14 years agoStop crashing with EXC_BAD_ACCESS when expanding properties beyond the fetched depth.
Robert Sesek [Sun, 31 Oct 2010 14:23:52 +0000 (10:23 -0400)]
Stop crashing with EXC_BAD_ACCESS when expanding properties beyond the fetched depth.

14 years agoMake logging threadsafe.
Robert Sesek [Sun, 31 Oct 2010 14:13:22 +0000 (10:13 -0400)]
Make logging threadsafe.

14 years agoTabs to spaces.
Robert Sesek [Sun, 31 Oct 2010 14:01:01 +0000 (10:01 -0400)]
Tabs to spaces.

14 years agoBegin making DebuggerConnection more threadsafe.
Robert Sesek [Sun, 31 Oct 2010 00:11:01 +0000 (20:11 -0400)]
Begin making DebuggerConnection more threadsafe.

14 years agoXcode project file updates.
Robert Sesek [Sat, 30 Oct 2010 22:07:24 +0000 (18:07 -0400)]
Xcode project file updates.

14 years agoMake StackFrame a dumb data structure and remove its initializer. All properties...
Robert Sesek [Fri, 9 Jul 2010 03:59:39 +0000 (23:59 -0400)]
Make StackFrame a dumb data structure and remove its initializer. All properties are now read-write.

This fixes two warnings produced by Clang-SA and avoids sticking an |+alloc|ed but non-
|-init...|ed class inside the |stackFrames_| array.

14 years agoDon't drain the pool, just release it.
Robert Sesek [Sat, 19 Jun 2010 17:20:45 +0000 (13:20 -0400)]
Don't drain the pool, just release it.

14 years agoLazily load the complete stack frame for anything but the current one.
Robert Sesek [Sat, 19 Jun 2010 16:26:58 +0000 (12:26 -0400)]
Lazily load the complete stack frame for anything but the current one.

14 years ago* In StackController, don't update the frame indices when |-push:|- or |-pop|-ing.
Robert Sesek [Sat, 19 Jun 2010 16:14:23 +0000 (12:14 -0400)]
* In StackController, don't update the frame indices when |-push:|- or |-pop|-ing.
* Only retreive full stack frame information for frame 0. The other frames will be fetched lazily.

14 years agoGive |-connectInternal| an autorelease pool.
Robert Sesek [Tue, 1 Jun 2010 03:03:02 +0000 (23:03 -0400)]
Give |-connectInternal| an autorelease pool.

14 years agoRe-organize DebuggerConnection to give it some shape and a decent public interface.
Robert Sesek [Tue, 1 Jun 2010 02:49:42 +0000 (22:49 -0400)]
Re-organize DebuggerConnection to give it some shape and a decent public interface.

14 years agoRemove objects from the |callTable_| after handing the response.
Robert Sesek [Tue, 1 Jun 2010 02:37:58 +0000 (22:37 -0400)]
Remove objects from the |callTable_| after handing the response.

14 years agoPut a lock around adding to the write queue in |-send|.
Robert Sesek [Tue, 1 Jun 2010 02:35:32 +0000 (22:35 -0400)]
Put a lock around adding to the write queue in |-send|.

14 years agoMake DebuggerConnection work on a separate thread.
Robert Sesek [Tue, 1 Jun 2010 02:28:14 +0000 (22:28 -0400)]
Make DebuggerConnection work on a separate thread.