Commit graph

367 commits

Author SHA1 Message Date
Riccardo Mottola
c567c110a3 move special del handling into typeString away from keyDown 2021-07-15 01:16:15 +02:00
Riccardo Mottola
725da9e9c8 move debugger arguments down into the wrapper, since they are GDB specific. Interpret now the Path as the executable path, requiring the debugger path to be set earlier in the wrapper setup 2021-07-15 00:03:48 +02:00
Riccardo Mottola
08cd658b6d cleanup 2021-07-13 22:31:02 +02:00
Riccardo Mottola
b3a968b8a3 remove now unused ivar, moved into the controller 2021-07-09 10:31:24 +02:00
Riccardo Mottola
dd1c1e75ba start the debugger only if it was never started, else, reuse it 2021-07-09 01:18:20 +02:00
Riccardo Mottola
b1533c4a02 remove unused accessors 2021-07-09 00:44:02 +02:00
Riccardo Mottola
81e6f3b82a fix constants types 2021-07-09 00:41:04 +02:00
Riccardo Mottola
7adfa56357 the wrapper should be property of the controller, not the view 2021-07-08 23:43:09 +02:00
Riccardo Mottola
67381ab3cc comment out some logs 2021-07-06 22:53:28 +02:00
Riccardo Mottola
cd0c4972a3 document methods 2021-07-06 22:43:59 +02:00
Riccardo Mottola
c0fd3f8df7 fix skipping of the first opening brace in key-value lists 2021-07-06 22:36:51 +02:00
Riccardo Mottola
8970a0617d parse filename and line on stop 2021-07-06 05:12:13 +02:00
Riccardo Mottola
079467ccc1 make the parser recursive on a single scanner instead of using substrings 2021-07-06 04:58:20 +02:00
Riccardo Mottola
34a07aa4d5 we release what we retain 2021-07-06 02:33:29 +02:00
Riccardo Mottola
a43aff41cf fix access 2021-07-05 02:26:54 +02:00
Riccardo Mottola
5aa4b5813c Make the parser much more recursive and use it also for AsyncStatus records 2021-07-05 02:26:30 +02:00
Riccardo Mottola
5beb3dfe39 move debugger version into the wrapper 2021-07-05 01:07:16 +02:00
Riccardo Mottola
7c741d63e6 more work on debuggerWrappe 2021-06-29 23:42:52 +02:00
Riccardo Mottola
b672b3b77c rename PipeDelegate to GDBWrapper 2021-06-29 00:36:27 +02:00
Riccardo Mottola
244e03d542 handle arrays inside maps 2021-06-25 17:48:52 +02:00
Riccardo Mottola
5aed0a18c2 add crude Array parsing 2021-06-25 04:36:12 +02:00
Riccardo Mottola
058a60fbf4 merge conflict 2021-06-25 04:34:41 +02:00
Riccardo Mottola
08c40f31f3 parse file and line in case of a gdb breakpoint stop 2021-06-22 02:01:47 +02:00
Riccardo Mottola
0375286dcf generalize gdb version to debugger version 2021-06-22 01:49:12 +02:00
Riccardo Mottola
17b6359ba9 Accessor methods for specific debugger information as wellas filename and line. 2021-06-22 01:42:00 +02:00
Riccardo Mottola
6ab80ec17d improve gdb parser to understand information in {} as a sub-dictionary and look-ahead for it 2021-06-22 01:19:38 +02:00
Riccardo Mottola
5da063f7e7 Fix HelpFile by saving the property in the app project and generating the plist. 2021-05-13 03:21:16 +02:00
Riccardo
82c6aa3162
Merge pull request #17 from gnustep/checkExtFileMod
Check ext file mod
2021-05-12 22:23:01 +02:00
Gregory John Casamento
a186488b30 Highlight IBAction/IBOutlet 2021-04-10 06:16:43 -04:00
Gregory John Casamento
196914ef14 Minor fix to syntax highlighting to make it the same as C for equivalent keywords in ObjC 2021-04-10 06:09:54 -04:00
Riccardo Mottola
f9ed96a3e4 offer option to reload file 2021-04-05 19:51:42 +02:00
Riccardo Mottola
2ace3c327a re-set modification date on save, show alert panel 2021-03-31 23:25:50 +02:00
Riccardo Mottola
a6fc84bc9b saveFileTo should not update the save time 2021-02-22 16:55:13 +01:00
Riccardo Mottola
78e4f47c8f use path passed as parameter 2021-02-22 16:00:48 +01:00
Riccardo Mottola
059e105652 Keep track of the file modification date on each open/save, compare it to the current file to detect external modifications. 2021-02-19 10:45:30 +01:00
Riccardo Mottola
aa2ce8fd73 notify Gorm only if the file was really saved, or it will reload the old file 2021-02-18 00:32:47 +01:00
Riccardo Mottola
6544ff872e assure color is in RGB color space vefore calculating inverse 2021-02-11 12:01:48 +01:00
Riccardo Mottola
ad65327732 Respect background selection preferences and infer text as inverse. 2021-02-06 12:31:10 +01:00
Riccardo Mottola
c0a820612c Access preferences directly without going through PCPrefController which is not part of the PC Framework (only its protocol PCPreferences is) 2020-09-09 00:25:28 +02:00
Riccardo Mottola
445b31db3f Separate font accessors in to class and instance methods.
Do not use preferences in class methods, since they are outside the protocol.
2020-09-08 23:52:03 +02:00
Riccardo Mottola
3df9137f39 Add setters for fonts. 2020-09-08 23:28:44 +02:00
Riccardo Mottola
75785db7e4 Fix range to use characters and not glyphs, sicne highlighting is based on chars. 2020-04-16 23:45:12 +02:00
Riccardo Mottola
8b48d77cbb Uniform font defaults to use PCPreferenceController, fix Debugger to actually make setFont work thorugh the view-delegate chain. 2020-03-24 23:54:22 +01:00
Riccardo Mottola
5d80d86a0c do not set delegate to NSOwner, we set it prorgammatically anyway 2020-03-24 23:50:33 +01:00
Riccardo Mottola
5f360ca78b Fix loading of font from preferences. 2020-03-24 17:24:41 +01:00
fredkiefer
0cdbc996a9 Remove compiler warnings by removing unneeded code. 2019-12-29 13:37:39 +01:00
Riccardo Mottola
6c4099258c Uniform context type to NSUInteger 2019-05-25 18:02:29 +02:00
Riccardo Mottola
0f8d024577 Add some GSDoc makefile aids 2018-06-19 00:21:26 +02:00
Riccardo Mottola
bf394dce9c Fix for nill bundle identifier. 2017-08-16 07:26:43 +02:00
Graham Lee
b4a148712e Add property keywords to ObjC syntax highlighting 2017-07-31 12:13:38 +01:00
Riccardo Mottola
5792e6dbfc Fix wrong declaration and missing subtype option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40294 72102866-910b-0410-8b05-ffd578937521
2017-01-17 14:42:37 +00:00
Riccardo Mottola
d894b87557 Pass options to createProjectAt and use those to create Gorm/Renaissance subtypes, enable the former by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40290 72102866-910b-0410-8b05-ffd578937521
2017-01-13 01:33:37 +00:00
Riccardo Mottola
f1db0b7265 Conditionally split on windows with CR-LF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40268 72102866-910b-0410-8b05-ffd578937521
2016-12-16 01:24:14 +00:00
Riccardo Mottola
af6ec6a874 Fix off-by-one in length when checking the last character
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40240 72102866-910b-0410-8b05-ffd578937521
2016-11-28 16:07:19 +00:00
Riccardo Mottola
478033988a improve parsing of initial and ending, fix pasing of quoted quotes as well
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40238 72102866-910b-0410-8b05-ffd578937521
2016-11-25 17:27:15 +00:00
Riccardo Mottola
340d101ffd skip and report empty lines as PCDBEmptyRecord
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40234 72102866-910b-0410-8b05-ffd578937521
2016-11-25 15:51:28 +00:00
Riccardo Mottola
6e70451153 do not show string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40233 72102866-910b-0410-8b05-ffd578937521
2016-11-25 14:05:02 +00:00
Gregory John Casamento
19997eb5c1 Implemented debuggerSetup method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40227 72102866-910b-0410-8b05-ffd578937521
2016-11-19 16:25:37 +00:00
Riccardo Mottola
b9df6e5d27 Commands need new-line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40224 72102866-910b-0410-8b05-ffd578937521
2016-11-18 00:23:54 +00:00
Riccardo Mottola
3edc315827 Connect add/remove buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40223 72102866-910b-0410-8b05-ffd578937521
2016-11-18 00:13:35 +00:00
Gregory John Casamento
eab302cc30 Change debuggerStarted to YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40222 72102866-910b-0410-8b05-ffd578937521
2016-11-17 14:21:29 +00:00
Gregory John Casamento
b7fc2a0ccf Added notification to fix breakpoint loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40221 72102866-910b-0410-8b05-ffd578937521
2016-11-17 14:18:48 +00:00
Riccardo Mottola
db013f327c differentiate line and method insert commands
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40147 72102866-910b-0410-8b05-ffd578937521
2016-10-13 23:12:24 +00:00
Riccardo Mottola
98d05ffe44 Add skeleton to handle breakpoints, add breakpoint types
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40114 72102866-910b-0410-8b05-ffd578937521
2016-09-29 08:58:57 +00:00
Riccardo Mottola
4e2edf5d4f add missing import
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40072 72102866-910b-0410-8b05-ffd578937521
2016-09-07 13:04:38 +00:00
Riccardo Mottola
4228651008 no resources currently
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40071 72102866-910b-0410-8b05-ffd578937521
2016-09-07 13:04:28 +00:00
Riccardo Mottola
6139623d1e delegate getter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39963 72102866-910b-0410-8b05-ffd578937521
2016-07-07 09:23:52 +00:00
Gregory John Casamento
dab7063bc1 Add code to make commands appear when buttons are pressed in the debugger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39839 72102866-910b-0410-8b05-ffd578937521
2016-06-06 15:47:39 +00:00
Riccardo Mottola
0e1fad82d3 tweak label positioning and sizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39809 72102866-910b-0410-8b05-ffd578937521
2016-05-25 23:40:24 +00:00
Riccardo Mottola
78c6f1622a Transition to NSInteger/NSUInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39798 72102866-910b-0410-8b05-ffd578937521
2016-05-22 20:00:54 +00:00
Riccardo Mottola
2dff311c2a Comply to protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39797 72102866-910b-0410-8b05-ffd578937521
2016-05-22 19:39:04 +00:00
Riccardo Mottola
f06ea6a5b6 some clean up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39796 72102866-910b-0410-8b05-ffd578937521
2016-05-22 18:50:22 +00:00
Richard Frith-MacDonald
9e127b1771 mingw64 fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39783 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:35:46 +00:00
Riccardo Mottola
196afa593c clean PID before running
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39770 72102866-910b-0410-8b05-ffd578937521
2016-05-16 09:36:35 +00:00
Riccardo Mottola
58ced060bf move header inclusion up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39769 72102866-910b-0410-8b05-ffd578937521
2016-05-15 22:57:30 +00:00
Riccardo Mottola
bd2c3557bc For GDB < v. 7 (on win), attempt to grab process id from Windows thread information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39767 72102866-910b-0410-8b05-ffd578937521
2016-05-15 08:28:57 +00:00
Riccardo Mottola
3c0c85f3a5 On windows kill with DebugBreakProcess() and not tskill. Available only on WinXP or higher.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39766 72102866-910b-0410-8b05-ffd578937521
2016-05-15 08:27:14 +00:00
Riccardo Mottola
27f8ec6f47 minor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39765 72102866-910b-0410-8b05-ffd578937521
2016-05-15 08:26:40 +00:00
Riccardo Mottola
f2a5703959 parse GDB version from initial information
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39749 72102866-910b-0410-8b05-ffd578937521
2016-05-12 23:41:27 +00:00
Riccardo Mottola
2a05234abb gdb version ivar and accessors. Plus, do not start quiet or version is not shown
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39748 72102866-910b-0410-8b05-ffd578937521
2016-05-12 23:29:47 +00:00
Gregory John Casamento
486dfc7197 Remove PTYView.* classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39733 72102866-910b-0410-8b05-ffd578937521
2016-05-09 05:27:06 +00:00
Riccardo Mottola
684a1b9836 actually set arguments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39727 72102866-910b-0410-8b05-ffd578937521
2016-05-05 23:27:58 +00:00
Gregory John Casamento
be30cbfa45 Minor changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39726 72102866-910b-0410-8b05-ffd578937521
2016-05-05 19:44:43 +00:00
Gregory John Casamento
7bb6b0a2cc Partial parsing of result records.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39725 72102866-910b-0410-8b05-ffd578937521
2016-05-05 17:15:21 +00:00
Gregory John Casamento
21907bf78c Handle more escaped sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39724 72102866-910b-0410-8b05-ffd578937521
2016-05-05 15:24:23 +00:00
Gregory John Casamento
71a0c53576 Parser code for MI output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39720 72102866-910b-0410-8b05-ffd578937521
2016-05-03 23:41:18 +00:00
Gregory John Casamento
13412a4318 Parse pid from MI output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39719 72102866-910b-0410-8b05-ffd578937521
2016-05-03 22:01:00 +00:00
Riccardo Mottola
21ddb6e18a call self, not the view, to interrupt
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39718 72102866-910b-0410-8b05-ffd578937521
2016-05-03 21:47:41 +00:00
Riccardo Mottola
18d31ca7ee initialize the PID and use it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39717 72102866-910b-0410-8b05-ffd578937521
2016-05-03 21:31:37 +00:00
Riccardo Mottola
55b4d1a424 move process id into the debugger from the view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39716 72102866-910b-0410-8b05-ffd578937521
2016-05-03 21:26:31 +00:00
Riccardo Mottola
1ab5955e3d move interrupt method to the debugger class and add windows implementation through tskill
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39714 72102866-910b-0410-8b05-ffd578937521
2016-05-03 16:37:37 +00:00
Riccardo Mottola
18d49572ee Do not permit deletion beyond the new line or the gdb prompt
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39710 72102866-910b-0410-8b05-ffd578937521
2016-05-02 22:39:25 +00:00
Riccardo Mottola
1efa2a8783 Refactor path to executablePath
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39709 72102866-910b-0410-8b05-ffd578937521
2016-05-02 22:34:57 +00:00
Riccardo Mottola
94cdea40d3 accessors for the pipe delegate to have the debugger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39704 72102866-910b-0410-8b05-ffd578937521
2016-04-28 13:56:31 +00:00
Riccardo Mottola
ce45c22ac0 reconnect some outlets
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39628 72102866-910b-0410-8b05-ffd578937521
2016-04-06 01:23:34 +00:00
Riccardo Mottola
f1f0317cce make outlets explicit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39624 72102866-910b-0410-8b05-ffd578937521
2016-04-05 23:54:51 +00:00
Riccardo Mottola
cc279c49d0 make outlets explicit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39623 72102866-910b-0410-8b05-ffd578937521
2016-04-05 23:41:26 +00:00
Riccardo Mottola
bc6d46ce5d inherit from NSObject protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39592 72102866-910b-0410-8b05-ffd578937521
2016-03-23 01:32:01 +00:00
Riccardo Mottola
20aaffe6bd view delegate not super
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39591 72102866-910b-0410-8b05-ffd578937521
2016-03-23 01:28:08 +00:00
Riccardo Mottola
9d1a01891c deisable PTY in build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39590 72102866-910b-0410-8b05-ffd578937521
2016-03-23 00:31:14 +00:00