]>
src.bluestatic.org Git - macgdbp.git/log
Robert Sesek [Sat, 13 Jun 2020 16:07:22 +0000 (12:07 -0400)]
Bump project version to 203.1.
Robert Sesek [Sat, 13 Jun 2020 16:00:34 +0000 (12:00 -0400)]
Produce a dSYM file for release builds.
Robert Sesek [Sat, 13 Jun 2020 15:51:53 +0000 (11:51 -0400)]
Speculative fix for a crash if a handler cannot be found for a transaction.
Reported https://groups.google.com/d/msg/bluestatic/6NLJFmbEElg/hFtsRDX0CAAJ
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.bluestatic.macgdbp 0x000000010cc0a316 -[ProtocolClient messageQueue:didReceiveMessage:] + 794
1 com.apple.CoreFoundation 0x00007fff34763a6c __invoking___ + 140
2 com.apple.CoreFoundation 0x00007fff34763911 -[NSInvocation invoke] + 303
3 com.apple.CoreFoundation 0x00007fff34796eea -[NSInvocation invokeWithTarget:] + 70
4 org.bluestatic.macgdbp 0x000000010cc0ab80 -[BSProtocolThreadInvoker dispatchInvocation:] + 123
5 com.apple.Foundation 0x00007fff36e4f1bd __NSThreadPerformPerform + 204
6 com.apple.CoreFoundation 0x00007fff34781f12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
7 com.apple.CoreFoundation 0x00007fff34781eb1 __CFRunLoopDoSource0 + 103
8 com.apple.CoreFoundation 0x00007fff34781ccb __CFRunLoopDoSources0 + 209
9 com.apple.CoreFoundation 0x00007fff347809fa __CFRunLoopRun + 927
10 com.apple.CoreFoundation 0x00007fff3477fffe CFRunLoopRunSpecific + 462
11 com.apple.HIToolbox 0x00007fff333b3abd RunCurrentEventLoopInMode + 292
12 com.apple.HIToolbox 0x00007fff333b37d5 ReceiveNextEventCommon + 584
13 com.apple.HIToolbox 0x00007fff333b3579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
14 com.apple.AppKit 0x00007fff319fec99 _DPSNextEvent + 883
15 com.apple.AppKit 0x00007fff319fd4e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
16 com.apple.AppKit 0x00007fff319ef1ee -[NSApplication run] + 658
17 com.apple.AppKit 0x00007fff319c0ff6 NSApplicationMain + 777
18 libdyld.dylib 0x00007fff6e6c8cc9 start + 1
Robert Sesek [Sun, 17 May 2020 16:48:01 +0000 (12:48 -0400)]
Move the Evaluate menu item from Debugger to Window.
Also re-organizes the Window menu items.
Robert Sesek [Sat, 16 May 2020 17:04:35 +0000 (13:04 -0400)]
Set version to 2.0.3.
Robert Sesek [Sat, 16 May 2020 17:02:44 +0000 (13:02 -0400)]
Fix display of scalar variable values.
Robert Sesek [Sat, 18 Apr 2020 18:30:32 +0000 (14:30 -0400)]
Bump project version to 202.2.
Robert Sesek [Sat, 18 Apr 2020 18:30:17 +0000 (14:30 -0400)]
Set version to 2.0.2.
Robert Sesek [Sat, 18 Apr 2020 18:23:54 +0000 (14:23 -0400)]
Mark all the exectaubles as +x, as they should have been all along.
Robert Sesek [Sat, 18 Apr 2020 17:10:28 +0000 (13:10 -0400)]
Mark the textView_ as needing display in -setMarkedLine:.
Robert Sesek [Sun, 12 Apr 2020 22:12:22 +0000 (18:12 -0400)]
Go back to reading the highlight results on the main queue.
The lack of a synchronization signal between the background queue and
the main thread caused -scrollToLine: to not reliably work.
This reverts part of
430306d5729bd5342ebc3132389c63073a8ca2aa .
Robert Sesek [Sun, 12 Apr 2020 21:22:46 +0000 (17:22 -0400)]
Move the generation of recursive value descriptions into VariableNode.
Moving it out of NSXMLElementAdditions means that it's possible to
detect when all of a node's children are not loaded.
Robert Sesek [Sun, 12 Apr 2020 17:19:19 +0000 (13:19 -0400)]
Bump project version to 202.0.
Robert Sesek [Sun, 12 Apr 2020 17:17:47 +0000 (13:17 -0400)]
Expand variables after an outline view item expands.
Deeper properties are loaded on-demand, so the expansion of a parent
node could reveal previously-expanded properties that need to also be
expanded.
Robert Sesek [Sun, 12 Apr 2020 17:02:05 +0000 (13:02 -0400)]
Fix not consistently scrolling to the active line.
Robert Sesek [Sun, 12 Apr 2020 16:54:41 +0000 (12:54 -0400)]
Do not attempt to preserve stack frames.
Doing so means the variable contents in previously-loaded stack frames
does not update.
Robert Sesek [Sun, 12 Apr 2020 16:54:05 +0000 (12:54 -0400)]
Fix unreliable variable expansion after debugger steps.
Robert Sesek [Sun, 12 Apr 2020 16:02:56 +0000 (12:02 -0400)]
Fix a crash when changing stack frames after disconnecting.
This was hitting:
Assertion failed: (_messageQueue), function -[ProtocolClient sendCommandWithFormat:handler:], file /Users/rsesek/Projects/MacGDBp/Source/ProtocolClient.m, line 85.
Robert Sesek [Sat, 11 Apr 2020 15:38:43 +0000 (11:38 -0400)]
Bump project version to 201.2.
Robert Sesek [Sat, 11 Apr 2020 15:37:09 +0000 (11:37 -0400)]
Bump project version for 2.0.1 release.
agvtool bump -increment-minor-version
Robert Sesek [Sat, 11 Apr 2020 15:35:30 +0000 (11:35 -0400)]
Use project settings to control version Info.plist keys.
This also enables apple-generic versioning.
Robert Sesek [Mon, 6 Apr 2020 00:23:06 +0000 (20:23 -0400)]
Fix loading of large source files.
BSSourceView would wait for the php NSTask to terminate before reading
from the stdout pipe. But if the highlighting output was larger than the
NSPipe buffer, php would fill the buffer and hang in write() waiting for
available space. Instead, start reading the stdout pipe immediately
after launching the task.
Robert Sesek [Sat, 4 Apr 2020 01:07:13 +0000 (21:07 -0400)]
Update the version number to 2.0.1.
Robert Sesek [Sat, 4 Apr 2020 01:06:04 +0000 (21:06 -0400)]
Switch to template images for the step buttons.
The blue color of the original design is hard to see in dark mode.
Robert Sesek [Fri, 3 Apr 2020 22:41:47 +0000 (18:41 -0400)]
Use standard macOS colors for PHP syntax highlighting.
This overrides the PHP standard colors so that they work better under
dark mode.
Robert Sesek [Fri, 3 Apr 2020 22:26:22 +0000 (18:26 -0400)]
Make the Remote Paths pref pane larger.
Robert Sesek [Thu, 2 Apr 2020 21:39:53 +0000 (17:39 -0400)]
Use a semantic color for the ruler view background.
Robert Sesek [Tue, 10 Mar 2020 00:43:13 +0000 (20:43 -0400)]
Bump version to 2.0 final.
Robert Sesek [Sat, 4 Jan 2020 23:08:24 +0000 (18:08 -0500)]
Fix wrong order of flag.String values in signer-
ed25519 .go.
Robert Sesek [Sat, 4 Jan 2020 23:01:18 +0000 (18:01 -0500)]
Set to the unstable appcast feed and mark the version.
Robert Sesek [Sat, 4 Jan 2020 23:00:17 +0000 (18:00 -0500)]
Force codesigning off for Release builds.
Robert Sesek [Sat, 4 Jan 2020 22:58:32 +0000 (17:58 -0500)]
Add a shell script build phase to remove Sparkle's headers.
Robert Sesek [Sat, 4 Jan 2020 22:14:09 +0000 (17:14 -0500)]
Remove sandboxing from CHANGES.
Robert Sesek [Sat, 4 Jan 2020 21:54:21 +0000 (16:54 -0500)]
Copyright 2020!
Robert Sesek [Sat, 4 Jan 2020 21:54:11 +0000 (16:54 -0500)]
Expose the unstable appcast pref in Preferences.
Robert Sesek [Sat, 4 Jan 2020 21:16:07 +0000 (16:16 -0500)]
Query the appcast-unstable.xml feed based off the pref.
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.
Robert Sesek [Sun, 15 Dec 2019 18:58:09 +0000 (13:58 -0500)]
Create a new, high-res HUD Icon.
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.
Robert Sesek [Sun, 8 Dec 2019 18:51:21 +0000 (13:51 -0500)]
Disable editing of the Inspector content.
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.
Robert Sesek [Sun, 8 Dec 2019 18:40:54 +0000 (13:40 -0500)]
Add startup dialog for when no file access has been granted.
Robert Sesek [Sun, 8 Dec 2019 17:42:05 +0000 (12:42 -0500)]
Centralize font selection via +[BSSourceView sourceFont].
Robert Sesek [Sun, 8 Dec 2019 05:04:14 +0000 (00:04 -0500)]
The BreakpointManager does not need to know about the UI.
Robert Sesek [Sun, 8 Dec 2019 04:49:39 +0000 (23:49 -0500)]
Force a re-serialization of Breakpoints on decode.
Robert Sesek [Sat, 7 Dec 2019 23:00:09 +0000 (18:00 -0500)]
Restore keeping the original size of content views for pref panes.
Robert Sesek [Sat, 7 Dec 2019 22:53:59 +0000 (17:53 -0500)]
Create helper +[PreferencesController secureBookmarkDataForURL:].
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
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.
Robert Sesek [Sat, 7 Dec 2019 22:07:28 +0000 (17:07 -0500)]
Modernize PreferencesController.
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.
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
Robert Sesek [Sat, 7 Dec 2019 20:14:47 +0000 (15:14 -0500)]
Update the Help URL.
Robert Sesek [Sat, 7 Dec 2019 20:02:23 +0000 (15:02 -0500)]
Switch to new SUFeedURL.
Robert Sesek [Sat, 7 Dec 2019 20:00:36 +0000 (15:00 -0500)]
Modernize localization files.
Robert Sesek [Sun, 15 Sep 2019 13:42:55 +0000 (09:42 -0400)]
In BSSourceView, override the NSFont attribute to use Menlo.
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.
Robert Sesek [Sun, 15 Sep 2019 02:39:52 +0000 (22:39 -0400)]
Add a script to generate the Sparkle signatures.
Robert Sesek [Sun, 15 Sep 2019 02:37:08 +0000 (22:37 -0400)]
Set the SUPublicEDKey value to the new Blue Static key.
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.
Robert Sesek [Sun, 15 Sep 2019 02:35:27 +0000 (22:35 -0400)]
Thin out non-English Sparkle resources.
Robert Sesek [Sun, 15 Sep 2019 02:33:02 +0000 (22:33 -0400)]
Upgrade to Sparkle 1.21.3.
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.
Robert Sesek [Sun, 15 Sep 2019 00:30:34 +0000 (20:30 -0400)]
Add some test files.
Robert Sesek [Sat, 14 Sep 2019 15:54:32 +0000 (11:54 -0400)]
Update the layout of the connection log window.
Robert Sesek [Sat, 14 Sep 2019 15:42:13 +0000 (11:42 -0400)]
Set autoresizing mask on Eval outer view.
Robert Sesek [Sat, 14 Sep 2019 01:09:32 +0000 (21:09 -0400)]
Improved step button icons.
Robert Sesek [Sat, 14 Sep 2019 00:42:32 +0000 (20:42 -0400)]
Initial work on 2.0 toolbar icons.
Robert Sesek [Fri, 13 Sep 2019 08:01:27 +0000 (04:01 -0400)]
Convert the entire project to ARC.
Robert Sesek [Fri, 13 Sep 2019 07:45:48 +0000 (03:45 -0400)]
Fix running the XCTest bundle.
Robert Sesek [Fri, 13 Sep 2019 07:33:20 +0000 (03:33 -0400)]
Update copyright in InfoPlist.strings.
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.
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.
Robert Sesek [Thu, 12 Sep 2019 23:47:03 +0000 (19:47 -0400)]
Convert all of the toolbar items to buttons.
Robert Sesek [Wed, 11 Sep 2019 04:55:07 +0000 (00:55 -0400)]
Put the listening port information into the status display.
Robert Sesek [Wed, 11 Sep 2019 04:39:11 +0000 (00:39 -0400)]
Rename the breakpoint button menu item titles.
Robert Sesek [Wed, 11 Sep 2019 04:33:08 +0000 (00:33 -0400)]
Revert "Add support for function return breakpoints."
This reverts commit
167685c9d7d76bf463ede95fb83b3abefc38301a .
Robert Sesek [Wed, 11 Sep 2019 04:32:58 +0000 (00:32 -0400)]
Add support for function return breakpoints.
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!
Robert Sesek [Wed, 11 Sep 2019 03:42:42 +0000 (23:42 -0400)]
Pixel push various paned views to remove double-border artifacts.
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.
Robert Sesek [Wed, 11 Sep 2019 03:18:55 +0000 (23:18 -0400)]
CFBundleVersion is no longer incremented by gitcrement.
Robert Sesek [Wed, 4 Sep 2019 15:00:05 +0000 (11:00 -0400)]
Add more CHANGES entries.
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 .
Robert Sesek [Wed, 4 Sep 2019 13:50:18 +0000 (09:50 -0400)]
Start populating the changelog.
Robert Sesek [Wed, 4 Sep 2019 13:27:22 +0000 (09:27 -0400)]
Read the highlighted HTML source in as UTF-8.
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.
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.
Robert Sesek [Tue, 3 Sep 2019 03:37:41 +0000 (23:37 -0400)]
Minor tweaks to the Breakpoints table alignment.
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.
Robert Sesek [Mon, 2 Sep 2019 17:50:53 +0000 (13:50 -0400)]
Xcode really wants this shell script to have a \n.
Robert Sesek [Mon, 2 Sep 2019 17:27:18 +0000 (13:27 -0400)]
Convert the remaining DebuggerController IBOutlets to properties.
Robert Sesek [Mon, 2 Sep 2019 17:13:27 +0000 (13:13 -0400)]
Fix memory problems found by the analyzer.
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.
Robert Sesek [Mon, 2 Sep 2019 16:59:24 +0000 (12:59 -0400)]
Remove unused -[DebuggerController resetDisplays].
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.
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.
Robert Sesek [Wed, 28 Nov 2018 05:45:18 +0000 (00:45 -0500)]
Fix some new warnings about integer truncation.
Robert Sesek [Wed, 28 Nov 2018 05:44:58 +0000 (00:44 -0500)]
Set recommended Xcode 10 project settings.
Robert Sesek [Wed, 28 Nov 2018 05:41:51 +0000 (00:41 -0500)]
Switch away from deprecated base64 methods.