macgdbp.git
4 years agoSet to the unstable appcast feed and mark the version. 2.0-beta-1
Robert Sesek [Sat, 4 Jan 2020 23:01:18 +0000 (18:01 -0500)]
Set to the unstable appcast feed and mark the version.

4 years agoForce codesigning off for Release builds.
Robert Sesek [Sat, 4 Jan 2020 23:00:17 +0000 (18:00 -0500)]
Force codesigning off for Release builds.

4 years agoAdd a shell script build phase to remove Sparkle's headers.
Robert Sesek [Sat, 4 Jan 2020 22:58:32 +0000 (17:58 -0500)]
Add a shell script build phase to remove Sparkle's headers.

4 years agoRemove sandboxing from CHANGES.
Robert Sesek [Sat, 4 Jan 2020 22:14:09 +0000 (17:14 -0500)]
Remove sandboxing from CHANGES.

4 years agoCopyright 2020!
Robert Sesek [Sat, 4 Jan 2020 21:54:21 +0000 (16:54 -0500)]
Copyright 2020!

4 years agoExpose the unstable appcast pref in Preferences.
Robert Sesek [Sat, 4 Jan 2020 21:54:11 +0000 (16:54 -0500)]
Expose the unstable appcast pref in Preferences.

4 years agoQuery the appcast-unstable.xml feed based off the pref.
Robert Sesek [Sat, 4 Jan 2020 21:16:07 +0000 (16:16 -0500)]
Query the appcast-unstable.xml feed based off the pref.

4 years agoTurn off the App Sandbox for now.
Robert Sesek [Sun, 15 Dec 2019 20:03:01 +0000 (15:03 -0500)]
Turn off the App Sandbox for now.

Sparkle 1.x does not support updating from within the App Sandbox,
per https://github.com/sparkle-project/Sparkle/issues/363. Move all the
sandbox support behind a USE_APP_SANDBOX compiler define, and create a
new Release-AppSandbox build configuration for it.

4 years agoCreate a new, high-res HUD Icon.
Robert Sesek [Sun, 15 Dec 2019 18:58:09 +0000 (13:58 -0500)]
Create a new, high-res HUD Icon.

4 years agoShow the FileAccessController when reading a source file fails.
Robert Sesek [Sat, 14 Dec 2019 20:24:44 +0000 (15:24 -0500)]
Show the FileAccessController when reading a source file fails.

Also only show the startup prompt once.

4 years agoDisable editing of the Inspector content.
Robert Sesek [Sun, 8 Dec 2019 18:51:21 +0000 (13:51 -0500)]
Disable editing of the Inspector content.

4 years agoFix crashes in BSLineNumberRulerView when the lineIndex_ is empty.
Robert Sesek [Sun, 8 Dec 2019 18:42:32 +0000 (13:42 -0500)]
Fix crashes in BSLineNumberRulerView when the lineIndex_ is empty.

This may happen if file access is not granted and source files cannot be
read.

4 years agoAdd startup dialog for when no file access has been granted.
Robert Sesek [Sun, 8 Dec 2019 18:40:54 +0000 (13:40 -0500)]
Add startup dialog for when no file access has been granted.

4 years agoCentralize font selection via +[BSSourceView sourceFont].
Robert Sesek [Sun, 8 Dec 2019 17:42:05 +0000 (12:42 -0500)]
Centralize font selection via +[BSSourceView sourceFont].

4 years agoThe BreakpointManager does not need to know about the UI.
Robert Sesek [Sun, 8 Dec 2019 05:04:14 +0000 (00:04 -0500)]
The BreakpointManager does not need to know about the UI.

4 years agoForce a re-serialization of Breakpoints on decode.
Robert Sesek [Sun, 8 Dec 2019 04:49:39 +0000 (23:49 -0500)]
Force a re-serialization of Breakpoints on decode.

4 years agoRestore keeping the original size of content views for pref panes.
Robert Sesek [Sat, 7 Dec 2019 23:00:09 +0000 (18:00 -0500)]
Restore keeping the original size of content views for pref panes.

4 years agoCreate helper +[PreferencesController secureBookmarkDataForURL:].
Robert Sesek [Sat, 7 Dec 2019 22:53:59 +0000 (17:53 -0500)]
Create helper +[PreferencesController secureBookmarkDataForURL:].

4 years agoRevert "For file/line breakpoints, create secure bookmarks for maintaining access."
Robert Sesek [Sat, 7 Dec 2019 22:46:03 +0000 (17:46 -0500)]
Revert "For file/line breakpoints, create secure bookmarks for maintaining access."

However the changes to the .entitlements file are kept.

This reverts commit 1603d8d995220f0b81dcd98915f3d6c8ffe25895.

 Conflicts:
Source/BreakpointManager.m

4 years agoAdd a new File Access preferences pane.
Robert Sesek [Sat, 7 Dec 2019 22:42:56 +0000 (17:42 -0500)]
Add a new File Access preferences pane.

Doing file access on a per-bookmark basis does not work well. When
debugging a local file and a file-line breakpoint were added from the
source view of a stack frame, the user would not be able to then view
the breakpoint in context by selecting it from the breakpoints panel.

Instead, the file access prefs will be used to grant access to directory
subtrees.

4 years agoModernize PreferencesController.
Robert Sesek [Sat, 7 Dec 2019 22:07:28 +0000 (17:07 -0500)]
Modernize PreferencesController.

4 years agoFix removing breakpoints.
Robert Sesek [Sat, 7 Dec 2019 21:47:59 +0000 (16:47 -0500)]
Fix removing breakpoints.

Sometimes callers to -[BreakpointManager removeBreakpoint:] create a
temporary object to remove the breakpoint at a file/line. But that temp
object does not have the internal debugger ID.

4 years agoFor file/line breakpoints, create secure bookmarks for maintaining access.
Robert Sesek [Sat, 7 Dec 2019 21:35:07 +0000 (16:35 -0500)]
For file/line breakpoints, create secure bookmarks for maintaining access.

Under the app sandbox, the program only has access to user-selected
files, unless it creates bookmarks for them. Each file bookmark (even
for the same file, for simplicity) now gets a bookmark when it is
created.

https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16

4 years agoUpdate the Help URL.
Robert Sesek [Sat, 7 Dec 2019 20:14:47 +0000 (15:14 -0500)]
Update the Help URL.

4 years agoSwitch to new SUFeedURL.
Robert Sesek [Sat, 7 Dec 2019 20:02:23 +0000 (15:02 -0500)]
Switch to new SUFeedURL.

4 years agoModernize localization files.
Robert Sesek [Sat, 7 Dec 2019 20:00:36 +0000 (15:00 -0500)]
Modernize localization files.

4 years agoIn BSSourceView, override the NSFont attribute to use Menlo.
Robert Sesek [Sun, 15 Sep 2019 13:42:55 +0000 (09:42 -0400)]
In BSSourceView, override the NSFont attribute to use Menlo.

4 years agoIn BSSourceView, keep the NSAttributedString creation on the background block.
Robert Sesek [Sun, 15 Sep 2019 13:42:22 +0000 (09:42 -0400)]
In BSSourceView, keep the NSAttributedString creation on the background block.

Only post the AppKit calls to the main thread.

4 years agoAdd a script to generate the Sparkle signatures.
Robert Sesek [Sun, 15 Sep 2019 02:39:52 +0000 (22:39 -0400)]
Add a script to generate the Sparkle signatures.

4 years agoSet the SUPublicEDKey value to the new Blue Static key.
Robert Sesek [Sun, 15 Sep 2019 02:37:08 +0000 (22:37 -0400)]
Set the SUPublicEDKey value to the new Blue Static key.

4 years agoAdd a Go version of the ED25519 signer, which can also generate a keypair.
Robert Sesek [Sun, 15 Sep 2019 02:36:22 +0000 (22:36 -0400)]
Add a Go version of the ED25519 signer, which can also generate a keypair.

I cannot figure out how get OpenSSL's Ed25519 keys compatible with
Sparkle. https://github.com/openssl/openssl/issues/6357 talks about
differences of expectations with key length. This new Go version Just
Works.

4 years agoThin out non-English Sparkle resources.
Robert Sesek [Sun, 15 Sep 2019 02:35:27 +0000 (22:35 -0400)]
Thin out non-English Sparkle resources.

4 years agoUpgrade to Sparkle 1.21.3.
Robert Sesek [Sun, 15 Sep 2019 02:33:02 +0000 (22:33 -0400)]
Upgrade to Sparkle 1.21.3.

4 years agoAdd new openssl-sign-ed25519 tool to sign/verify signatures.
Robert Sesek [Sat, 14 Sep 2019 22:02:31 +0000 (18:02 -0400)]
Add new openssl-sign-ed25519 tool to sign/verify signatures.

Sparkle annoyingly only supports ED25519 signatures but OpenSSL provides
no way to sign/verify them. (Sparkle only has tools for manipulating the
keychain). This tool bridges the gap.

4 years agoAdd some test files.
Robert Sesek [Sun, 15 Sep 2019 00:30:34 +0000 (20:30 -0400)]
Add some test files.

4 years agoUpdate the layout of the connection log window.
Robert Sesek [Sat, 14 Sep 2019 15:54:32 +0000 (11:54 -0400)]
Update the layout of the connection log window.

4 years agoSet autoresizing mask on Eval outer view.
Robert Sesek [Sat, 14 Sep 2019 15:42:13 +0000 (11:42 -0400)]
Set autoresizing mask on Eval outer view.

4 years agoImproved step button icons.
Robert Sesek [Sat, 14 Sep 2019 01:09:32 +0000 (21:09 -0400)]
Improved step button icons.

4 years agoInitial work on 2.0 toolbar icons.
Robert Sesek [Sat, 14 Sep 2019 00:42:32 +0000 (20:42 -0400)]
Initial work on 2.0 toolbar icons.

4 years agoConvert the entire project to ARC.
Robert Sesek [Fri, 13 Sep 2019 08:01:27 +0000 (04:01 -0400)]
Convert the entire project to ARC.

4 years agoFix running the XCTest bundle.
Robert Sesek [Fri, 13 Sep 2019 07:45:48 +0000 (03:45 -0400)]
Fix running the XCTest bundle.

4 years agoUpdate copyright in InfoPlist.strings.
Robert Sesek [Fri, 13 Sep 2019 07:33:20 +0000 (03:33 -0400)]
Update copyright in InfoPlist.strings.

4 years agoRefactor syntax highlighting in BSSourceView.
Robert Sesek [Fri, 13 Sep 2019 06:59:49 +0000 (02:59 -0400)]
Refactor syntax highlighting in BSSourceView.

Moves any file I/O operations off the main thread.

4 years agoFix toolbar item auto-validation.
Robert Sesek [Fri, 13 Sep 2019 00:03:15 +0000 (20:03 -0400)]
Fix toolbar item auto-validation.

Putting NSViews (or NSControls) in a toolbar item turns off automatic
validation, per
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Toolbars/Tasks/ValidatingTBItems.html.

4 years agoConvert all of the toolbar items to buttons.
Robert Sesek [Thu, 12 Sep 2019 23:47:03 +0000 (19:47 -0400)]
Convert all of the toolbar items to buttons.

4 years agoPut the listening port information into the status display.
Robert Sesek [Wed, 11 Sep 2019 04:55:07 +0000 (00:55 -0400)]
Put the listening port information into the status display.

4 years agoRename the breakpoint button menu item titles.
Robert Sesek [Wed, 11 Sep 2019 04:39:11 +0000 (00:39 -0400)]
Rename the breakpoint button menu item titles.

4 years agoRevert "Add support for function return breakpoints."
Robert Sesek [Wed, 11 Sep 2019 04:33:08 +0000 (00:33 -0400)]
Revert "Add support for function return breakpoints."

This reverts commit 167685c9d7d76bf463ede95fb83b3abefc38301a.

4 years agoAdd support for function return breakpoints.
Robert Sesek [Wed, 11 Sep 2019 04:32:58 +0000 (00:32 -0400)]
Add support for function return breakpoints.

4 years agoApply a plain number formatter to the port preference field.
Robert Sesek [Wed, 11 Sep 2019 03:45:46 +0000 (23:45 -0400)]
Apply a plain number formatter to the port preference field.

Also, Xcode XIB churn!

4 years agoPixel push various paned views to remove double-border artifacts.
Robert Sesek [Wed, 11 Sep 2019 03:42:42 +0000 (23:42 -0400)]
Pixel push various paned views to remove double-border artifacts.

4 years agoUse a small toolbar, and stop putting the port in the title.
Robert Sesek [Wed, 11 Sep 2019 03:34:13 +0000 (23:34 -0400)]
Use a small toolbar, and stop putting the port in the title.

4 years agoCFBundleVersion is no longer incremented by gitcrement.
Robert Sesek [Wed, 11 Sep 2019 03:18:55 +0000 (23:18 -0400)]
CFBundleVersion is no longer incremented by gitcrement.

4 years agoAdd more CHANGES entries.
Robert Sesek [Wed, 4 Sep 2019 15:00:05 +0000 (11:00 -0400)]
Add more CHANGES entries.

4 years agoReplace non-breaking spaces with normal spaces in BSSourceView.
Robert Sesek [Wed, 4 Sep 2019 14:39:46 +0000 (10:39 -0400)]
Replace non-breaking spaces with normal spaces in BSSourceView.

The PHP highlighter outputs  .

4 years agoStart populating the changelog.
Robert Sesek [Wed, 4 Sep 2019 13:50:18 +0000 (09:50 -0400)]
Start populating the changelog.

4 years agoRead the highlighted HTML source in as UTF-8.
Robert Sesek [Wed, 4 Sep 2019 13:27:22 +0000 (09:27 -0400)]
Read the highlighted HTML source in as UTF-8.

4 years agoRemove unneeded -[BSSourceViewDelegate sourceView:acceptsDropOfFile:].
Robert Sesek [Tue, 3 Sep 2019 03:51:28 +0000 (23:51 -0400)]
Remove unneeded -[BSSourceViewDelegate sourceView:acceptsDropOfFile:].

Now that the breakpoints window does not have its own source viewer, it
is unnecessary. Unconditionally allow file drops.

4 years agoIncrease the width of the segmented control, to hide the corner radius.
Robert Sesek [Tue, 3 Sep 2019 03:40:03 +0000 (23:40 -0400)]
Increase the width of the segmented control, to hide the corner radius.

4 years agoMinor tweaks to the Breakpoints table alignment.
Robert Sesek [Tue, 3 Sep 2019 03:37:41 +0000 (23:37 -0400)]
Minor tweaks to the Breakpoints table alignment.

4 years agoRewire Debugger.xib to properties rather than ivars.
Robert Sesek [Mon, 2 Sep 2019 23:08:41 +0000 (19:08 -0400)]
Rewire Debugger.xib to properties rather than ivars.

Also remove dead statusField property.

4 years agoXcode really wants this shell script to have a \n.
Robert Sesek [Mon, 2 Sep 2019 17:50:53 +0000 (13:50 -0400)]
Xcode really wants this shell script to have a \n.

4 years agoConvert the remaining DebuggerController IBOutlets to properties.
Robert Sesek [Mon, 2 Sep 2019 17:27:18 +0000 (13:27 -0400)]
Convert the remaining DebuggerController IBOutlets to properties.

4 years agoFix memory problems found by the analyzer.
Robert Sesek [Mon, 2 Sep 2019 17:13:27 +0000 (13:13 -0400)]
Fix memory problems found by the analyzer.

4 years agoRefactor some of DebuggerController's ivars.
Robert Sesek [Mon, 2 Sep 2019 17:07:47 +0000 (13:07 -0400)]
Refactor some of DebuggerController's ivars.

Use _leadingUnderscore style and move non-IBOutlets to the .m file.

4 years agoRemove unused -[DebuggerController resetDisplays].
Robert Sesek [Mon, 2 Sep 2019 16:59:24 +0000 (12:59 -0400)]
Remove unused -[DebuggerController resetDisplays].

4 years agoEnable the App Sandbox.
Robert Sesek [Mon, 2 Sep 2019 03:45:35 +0000 (23:45 -0400)]
Enable the App Sandbox.

Outbound network connections are needed for Sparkle.

This will not work without enabling code signing, though.

4 years agoChange the "Attached" toolbar button style to not be a checkbox.
Robert Sesek [Mon, 2 Sep 2019 03:14:08 +0000 (23:14 -0400)]
Change the "Attached" toolbar button style to not be a checkbox.

And whatever else Xcode wanted to do to this XIB.

5 years agoFix some new warnings about integer truncation.
Robert Sesek [Wed, 28 Nov 2018 05:45:18 +0000 (00:45 -0500)]
Fix some new warnings about integer truncation.

5 years agoSet recommended Xcode 10 project settings.
Robert Sesek [Wed, 28 Nov 2018 05:44:58 +0000 (00:44 -0500)]
Set recommended Xcode 10 project settings.

5 years agoSwitch away from deprecated base64 methods.
Robert Sesek [Wed, 28 Nov 2018 05:41:51 +0000 (00:41 -0500)]
Switch away from deprecated base64 methods.

5 years agoUpgrade project to Xcode 10.
Robert Sesek [Wed, 28 Nov 2018 05:41:06 +0000 (00:41 -0500)]
Upgrade project to Xcode 10.

This also increases the deployment target to macOS 10.9.

7 years agoAdd support for call breakpoints to BreakpointManager.
Robert Sesek [Tue, 6 Dec 2016 04:40:46 +0000 (23:40 -0500)]
Add support for call breakpoints to BreakpointManager.

Also switch Breakpoint to using convience constructors.

7 years agoAdd UI for setting sybmolic breakpoints.
Robert Sesek [Mon, 5 Dec 2016 05:04:02 +0000 (00:04 -0500)]
Add UI for setting sybmolic breakpoints.

This also modifies the breakpoint list to show them.

7 years agoMove the status into the toolbar, and remove it from the bottom of the window.
Robert Sesek [Mon, 5 Dec 2016 03:44:45 +0000 (22:44 -0500)]
Move the status into the toolbar, and remove it from the bottom of the window.

7 years agoFix up Eval after moving it into the debugger.
Robert Sesek [Mon, 5 Dec 2016 02:54:12 +0000 (21:54 -0500)]
Fix up Eval after moving it into the debugger.

- Unconditionally validate the main menu item.
- Remove the close button from the XIB.

7 years agoRemove -[Breakpoint hash] and fix -isEqual:.
Robert Sesek [Mon, 5 Dec 2016 02:50:55 +0000 (21:50 -0500)]
Remove -[Breakpoint hash] and fix -isEqual:.

7 years agoStore the last-used debugger segment in prefs.
Robert Sesek [Mon, 5 Dec 2016 01:04:52 +0000 (20:04 -0500)]
Store the last-used debugger segment in prefs.

7 years agoMake the add breakpoint button a pull-down menu.
Robert Sesek [Sun, 4 Dec 2016 23:51:46 +0000 (18:51 -0500)]
Make the add breakpoint button a pull-down menu.

7 years agoAdd backend Breakpoint support for symbolic breakpoints.
Robert Sesek [Sun, 4 Dec 2016 23:01:07 +0000 (18:01 -0500)]
Add backend Breakpoint support for symbolic breakpoints.

7 years agoMake BreakpointManager a property of DebuggerModel, rather than a singleton.
Robert Sesek [Sun, 4 Dec 2016 06:08:34 +0000 (01:08 -0500)]
Make BreakpointManager a property of DebuggerModel, rather than a singleton.

7 years agoRemove the dedicated Breakpoints source view.
Robert Sesek [Sun, 4 Dec 2016 05:41:49 +0000 (00:41 -0500)]
Remove the dedicated Breakpoints source view.

Use the same source view for the stack as the breakpoints.

7 years agoFix clipping of the Bookmarks.xib add/remove buttons.
Robert Sesek [Sun, 4 Dec 2016 05:12:08 +0000 (00:12 -0500)]
Fix clipping of the Bookmarks.xib add/remove buttons.

7 years agoMake BSSourceView.markers be a set of line numbers, rather than Breakpoint*.
Robert Sesek [Fri, 2 Dec 2016 13:34:32 +0000 (08:34 -0500)]
Make BSSourceView.markers be a set of line numbers, rather than Breakpoint*.

7 years agoFix BSSourceView not re-drawing when the marked line or breakpoints change.
Robert Sesek [Wed, 30 Nov 2016 02:38:26 +0000 (21:38 -0500)]
Fix BSSourceView not re-drawing when the marked line or breakpoints change.

7 years agoMove the Eval window into a tabbed section.
Robert Sesek [Fri, 5 Aug 2016 01:53:12 +0000 (21:53 -0400)]
Move the Eval window into a tabbed section.

7 years ago-[AppDelegate showDebuggerWindow:] should select the Variables tab.
Robert Sesek [Thu, 4 Aug 2016 05:21:21 +0000 (01:21 -0400)]
-[AppDelegate showDebuggerWindow:] should select the Variables tab.

7 years agoCall -[DebuggerController updateSegmentControl] when the superview frame changes.
Robert Sesek [Thu, 4 Aug 2016 05:18:12 +0000 (01:18 -0400)]
Call -[DebuggerController updateSegmentControl] when the superview frame changes.

7 years agoSet an autosave name for the main Debugger split view.
Robert Sesek [Thu, 4 Aug 2016 05:11:38 +0000 (01:11 -0400)]
Set an autosave name for the main Debugger split view.

7 years agoMove Breakpoints from a window to a view in the main debugger.
Robert Sesek [Thu, 4 Aug 2016 05:10:02 +0000 (01:10 -0400)]
Move Breakpoints from a window to a view in the main debugger.

7 years agoAdd a tab view and segmented control for selection, for Variables and Breakpoints.
Robert Sesek [Thu, 4 Aug 2016 04:52:31 +0000 (00:52 -0400)]
Add a tab view and segmented control for selection, for Variables and Breakpoints.

8 years agoReplace explicit |-display| with |-setNeedsDisplay:YES| when updating the source...
John Cook [Mon, 15 Feb 2016 02:05:16 +0000 (13:05 +1100)]
Replace explicit |-display| with |-setNeedsDisplay:YES| when updating the source viewer.

This might improve efficiency, but is the recommended method in any case.

8 years agoCreate string constants for all preference names.
Robert Sesek [Sun, 10 Apr 2016 16:37:48 +0000 (12:37 -0400)]
Create string constants for all preference names.

8 years agoClean up +[AppDelegate load] to use ObjC 2.0 literal syntax.
Robert Sesek [Sun, 10 Apr 2016 16:22:25 +0000 (12:22 -0400)]
Clean up +[AppDelegate load] to use ObjC 2.0 literal syntax.

8 years agoUse NSData's base64 encoding/decoding and delete modp_b64.
Robert Sesek [Sun, 10 Apr 2016 16:08:57 +0000 (12:08 -0400)]
Use NSData's base64 encoding/decoding and delete modp_b64.

8 years agoUpdate copyright strings to 2016.
Robert Sesek [Sun, 10 Apr 2016 06:55:50 +0000 (02:55 -0400)]
Update copyright strings to 2016.

8 years agoRemove use of BSSplitView from Log.xib too.
Robert Sesek [Sun, 10 Apr 2016 06:54:27 +0000 (02:54 -0400)]
Remove use of BSSplitView from Log.xib too.

8 years agoFix leak of LogEntry items in ProtocolClient.
Robert Sesek [Sun, 10 Apr 2016 06:53:21 +0000 (02:53 -0400)]
Fix leak of LogEntry items in ProtocolClient.

8 years agoRemove unnecessary @synthesize directives from StackFrame and VariableNode.
Robert Sesek [Sun, 10 Apr 2016 06:51:12 +0000 (02:51 -0400)]
Remove unnecessary @synthesize directives from StackFrame and VariableNode.

8 years agoFix "Unknown class BSSplitView in Interface Builder file at path .../Breakpoints...
Robert Sesek [Sun, 10 Apr 2016 06:38:52 +0000 (02:38 -0400)]
Fix "Unknown class BSSplitView in Interface Builder file at path .../Breakpoints.nib".