Commit graph

240 commits

Author SHA1 Message Date
Riccardo Mottola
538016b372 Revert "Merge branch 'dock_fix'"
This commit is a hack, for an unclean environment. It is especially bad
to copy an environment and then remove just a single environment
variable.

This reverts commit 82d4d12f82, reversing
changes made to 0bce146347.
2021-08-16 15:45:53 +02:00
Gregory John Casamento
ffcf6cfff6 Add code to set environment explicitly to prevent build failure. 2021-08-11 00:14:59 -04:00
Gregory John Casamento
736093b0c1 Fix centering issue 2021-08-03 18:48:00 -04:00
Gregory John Casamento
87988f435c Make update of file appear in the in-window editor instead of external editors 2021-08-03 17:16:26 -04:00
Gregory John Casamento
56d789e232 Add capability to debugger to focus on file and line which has been stopped on 2021-08-01 17:01:58 -04:00
Riccardo Mottola
ec805871c3 If we already instantiated a Debugger, reuse it. 2021-07-09 01:03:33 +02:00
Riccardo
80d0c2575e
Merge pull request #12 from svgol/save_new_in_recent
* save just created projects to the list of recent documents
2021-02-17 23:09:42 +01:00
Riccardo Mottola
209f71d692 Open in project directory preferentially if no last open dir (quick version, ignores file type). 2021-02-12 08:45:16 +01:00
Sergei Golovin
e618c988a4 * save just created projects to the list of recent documents 2021-02-08 18:44:33 +04:00
Sergei Golovin
19d497c4d1 * fixed an issue with gorm-file renaming
* Framework/PCProject.m:
  - renaming of a gorm file during another file' editor being active
    led to exception  (the case is because we don't have
    editors for gorm files so the last viewed file, not the renamed
    gorm, is present currently to the user)... the cause is not checking
    NSRange on NSNotFound (the active editor's path can have nothing
    common with the renamed path)... added required check to the
    -[renameFile:toFile:]... may be worth to reactivate any editor when
    a gorm file is selected;

* Framework/PCProjectEditor.m:
  - deactivate the active editor on a .gorm file selection;
2021-02-07 14:59:49 +04:00
Riccardo Mottola
dcc9e0ef14 activate project only in one place 2021-02-06 19:55:14 +01:00
Riccardo Mottola
963700e3d6 provide project description for debugging 2021-02-06 19:40:35 +01:00
Riccardo Mottola
b87670431a fix: activate project also if coming from open project 2021-02-06 19:16:17 +01:00
Riccardo Mottola
17182aea86 fix return value, avoid warning 2021-02-05 12:39:59 +01:00
Riccardo Mottola
24ede72e4a fixed a segfault due to return void instead of nil- fix by Sergei Golovin 2021-02-04 18:29:54 +01:00
Riccardo Mottola
263106b117 Cleanup a bit the setting of the active project and the key win. 2021-02-04 17:57:40 +01:00
Riccardo Mottola
b5324e9581 pass the sender to the window, log, if enabled, also the window title 2021-02-04 15:21:05 +01:00
Riccardo Mottola
76b8316b5c Check for invalid filenames and in case, reset to the original file name. 2021-02-03 23:17:42 +01:00
Riccardo Mottola
1541788856 Do not open an external editor if an in-window is requested. 2021-02-03 22:16:32 +01:00
Riccardo
eb5837315c
Merge pull request #3 from onflapp/fix-project-builder-log-selection
fix project builder log selection color
2021-02-03 21:14:02 +01:00
rmottola
79125b35a8 use instance variable after setting it correctly 2020-09-08 20:51:23 +02:00
Riccardo Mottola
334bfd1f37 Access Preferences through its protocol, since the launcher is in the Framework. 2020-09-08 17:43:31 +02:00
OnFlApp
f911af422f fix selection color of project builder log 2020-08-30 15:19:28 +02:00
Ahmed Khanzada
3b006be691 Fix broken editor preference 2020-04-18 15:48:58 -07: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
fredkiefer
0cdbc996a9 Remove compiler warnings by removing unneeded code. 2019-12-29 13:37:39 +01:00
Riccardo Mottola
97aa34218f Remove custom ToolTip implementation now present in GUI 2019-05-21 23:15:16 +02: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
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
34c9eb4279 Merge from branch: check bundle loading and warn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39586 72102866-910b-0410-8b05-ffd578937521
2016-03-22 23:16:45 +00:00
Riccardo Mottola
372a9c4b82 Update debug executable path search to run, make it work on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39483 72102866-910b-0410-8b05-ffd578937521
2016-03-08 16:54:34 +00:00
Riccardo Mottola
dcacd40e33 Allocate a Mutable Array before assagning an Array to a MutableArray
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39164 72102866-910b-0410-8b05-ffd578937521
2015-11-09 10:56:56 +00:00
Richard Frith-MacDonald
da18e28fbf Add helpful warning about setting path in main make file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39155 72102866-910b-0410-8b05-ffd578937521
2015-11-05 17:16:02 +00:00
Riccardo Mottola
711ddd72ab Enable project addition of obj-c++ classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38641 72102866-910b-0410-8b05-ffd578937521
2015-06-15 22:26:14 +00:00
Riccardo Mottola
f46b6e594a If we have a directory, we check if it is a bundle that an app can open it and open it through NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38631 72102866-910b-0410-8b05-ffd578937521
2015-06-13 18:01:17 +00:00
Riccardo Mottola
94538f96d0 Re-enable wrongly uncommented statement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38630 72102866-910b-0410-8b05-ffd578937521
2015-06-13 17:54:03 +00:00
Riccardo Mottola
ebe3320d03 Use the internal editor if it is available, even if no parser is available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38622 72102866-910b-0410-8b05-ffd578937521
2015-06-12 09:00:40 +00:00
Riccardo Mottola
a180a70e83 Initialize backup wrapper after wrapperPath since it depends on it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38252 72102866-910b-0410-8b05-ffd578937521
2014-12-16 17:32:09 +00:00
Riccardo Mottola
5c25a46af2 Generate sections only if there are classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38251 72102866-910b-0410-8b05-ffd578937521
2014-12-16 16:06:06 +00:00
Riccardo Mottola
4111197fd7 Create mm sections in makefiles for Objective-C++
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38250 72102866-910b-0410-8b05-ffd578937521
2014-12-14 22:36:09 +00:00
Riccardo Mottola
8b3327c10b Accept also Objective-C++ classes as Class files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38237 72102866-910b-0410-8b05-ffd578937521
2014-12-07 23:28:59 +00:00
Riccardo Mottola
8a9d120d5c release bump
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38131 72102866-910b-0410-8b05-ffd578937521
2014-10-24 12:29:48 +00:00
Riccardo Mottola
9f1a78361e fix warning of unused variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38130 72102866-910b-0410-8b05-ffd578937521
2014-10-24 12:14:51 +00:00
Riccardo Mottola
90b0b362c8 Revert windows-specific hacks by German to make project-type choice work. They would crash when using PC without the WinUX theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38111 72102866-910b-0410-8b05-ffd578937521
2014-10-07 15:18:53 +00:00
Riccardo Mottola
9e041e9b35 Do not use GS internals but standard methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38056 72102866-910b-0410-8b05-ffd578937521
2014-09-02 09:36:30 +00:00
Riccardo Mottola
ffb201e9cb Convert line numbers to NSUInteger / integerValue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38021 72102866-910b-0410-8b05-ffd578937521
2014-07-31 10:18:31 +00:00
Riccardo Mottola
1293803645 Enhance clang support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37847 72102866-910b-0410-8b05-ffd578937521
2014-05-06 13:11:45 +00:00
Riccardo Mottola
847052d58a Recognize also egcc and clang as compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37831 72102866-910b-0410-8b05-ffd578937521
2014-05-03 22:56:55 +00:00
Riccardo Mottola
d52982ba41 Add recognition of fatal errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37829 72102866-910b-0410-8b05-ffd578937521
2014-05-03 21:16:23 +00:00