Commit Graph

934 Commits

Author SHA1 Message Date
Basile Burg 26196d8a23 fix, reload last stuff, does not handle temp/unsaved modules 2015-09-15 18:41:51 +02:00
Basile Burg 3ac5fef89b sw-1 2015-09-15 14:00:23 +02:00
Basile Burg d1368d3939 added ddemangle to to tool infos 2015-09-14 15:54:41 +02:00
Basile Burg 1254f45ecd demangling, only called manually, messages-widget context menu. 2015-09-14 15:54:20 +02:00
Basile Burg cf0d62f0b7 more for #24 2015-09-14 04:38:34 +02:00
Basile Burg 44b48164ae implements #24, demangle messages
problem: this doesn't work on types, ddemangle does not call the function to do that
2015-09-14 04:25:56 +02:00
Basile Burg fd5e3219c3 fix, exceptions in the options editor 2015-09-14 04:22:41 +02:00
Basile Burg fd552ba69b nothing 2015-09-10 15:56:41 +02:00
Basile Burg 7b66664bc0 native proj editor, only enable conf selector when cat is specific to a conf 2015-09-10 15:56:25 +02:00
Basile Burg 5452333f5a dub project, target type 2015-09-10 13:13:34 +02:00
Basile Burg 54fdeeed9c dub build, pass the right type + config 2015-09-09 13:53:52 +02:00
Basile Burg 08243d3f9d support for drag and drop + open with using a dub json file 2015-09-09 13:52:56 +02:00
Basile Burg 63dedff146 added function to test a dub project validity
valid for Coedit = only JSON
2015-09-09 13:52:20 +02:00
Basile Burg ce2d63713d added ICECOmmonproject.getCommandeLIne
common interface for the action view project command line
2015-09-09 13:51:36 +02:00
Basile Burg 3a37d133a6 fix, interpretation of how dub handle the configs & built types
- default only added if no user-defined
- check for overridden built types
2015-09-08 01:24:26 +02:00
Basile Burg fa4e2b3cf8 work on #10, dub support
- configs and built types are combined
- widget split in two pages: editor and inspector
- inspector displays the combined configs
2015-09-08 00:13:40 +02:00
Basile Burg 4889ebae25 always disable the widgets observing specifically the native projects when the project is a dub one 2015-09-08 00:08:56 +02:00
Basile Burg 9bc1db76ca remove context menu from the search widget 2015-09-08 00:07:46 +02:00
Basile Burg a8f2f442d4 get tab caption, small optimization
- only lex if doc is D source
2015-09-07 15:54:06 +02:00
Basile Burg e26f8494af fix, possible AV when lexing nothing 2015-09-07 15:52:58 +02:00
Basile Burg fe1e1468ee fix some error in #35 implementation
- wrong filename saved
- AV on exit because entity not removed from list
2015-09-07 15:46:46 +02:00
Basile Burg 19b15b06db implemented reload last docs and proj, close #35
via another editable option class dsiplayed as 'Application' and saved as 'application.txt'
2015-09-07 15:30:27 +02:00
Basile Burg 1b357826ee implemented first script line used to pass dmd switch, close #36
- optional
- support for symbolic strings
2015-09-07 12:20:15 +02:00
Basile Burg 0aaebbb4e7 added funct to eliminate dups in TStrings 2015-09-07 12:12:46 +02:00
Basile Burg 706c3ff3d5 implemented base/overridden config, close #37 2015-09-06 20:33:21 +02:00
Basile Burg 347b23caf4 fix, project-related messages not cleared anymore before compiling 2015-09-06 03:59:59 +02:00
Basile Burg e9aefad611 allow the custom tools params to be temp disabled 2015-09-05 22:53:48 +02:00
Basile Burg 5e21c66f2a more for feature #37
still missing pre/post procs and pathsopts
2015-09-05 22:49:42 +02:00
Basile Burg 0e10fade8d support for disabled string syntax in more project fields
- import string paths, import module paths, extra sources.
- use ce_common funct to test if disabled
2015-09-05 22:42:19 +02:00
Basile Burg ac17c180e1 fix missing comparison rhs 2015-09-05 22:37:05 +02:00
Basile Burg a1e83f3bdc added funct isStringDisabled() 2015-09-05 22:30:05 +02:00
Basile Burg 3fbb09be4f remove a dependency to PropEdit and IdeIntf in dmd wrapper
related to #30
2015-09-05 17:10:33 +02:00
Basile Burg d2578128bd native project + dmd wrapper modified to support #37
- partially implemented processing of overriden config
- remaining `getOpt()`functs to adapt are listed in Laz TODO list
2015-09-05 16:39:15 +02:00
Basile Burg 6f5a8e42cb started dub project editor 2015-09-05 11:22:19 +02:00
Basile Burg 95aef4170f style, put locals init in declaration instead of body 2015-09-04 23:48:07 +02:00
Basile Burg 0cc5fe3e5d added tool status for dub 2015-09-04 23:46:58 +02:00
Basile Burg 5743f87761 removed LCL deps in ce_common & ce_nativeproject, prerequisite for #30 2015-09-04 12:11:18 +02:00
Basile Burg 0863f89886 implements #35 (1/2), reload last docs and proj
routines ok,
'as on option': todo.
2015-09-04 01:21:19 +02:00
Basile Burg e1993bafea more explicit action caption 2015-09-02 11:18:06 +02:00
Basile Burg c208316f14 di-6
- action related to run proj in main, ok, but sub routines missing for TCEDubProject
- pretty format DUB proj on save
- proj binary kind in TCECOmmonProject itf, moved enum so that TCEDubProject can use the same values
2015-09-01 19:55:42 +02:00
Basile Burg f389b08008 di-5
project MRU list ready
2015-09-01 17:05:57 +02:00
Basile Burg fedc07005e di-4 2015-09-01 17:03:01 +02:00
Basile Burg fa9b575103 di-3
- todo list widget ready
2015-09-01 16:48:11 +02:00
Basile Burg d1c255d44b di-2
symbol list, CPP is working to make DUB messages clickable.
still TODO in ce_dubproject to expose fsources file names
2015-09-01 16:37:51 +02:00
Basile Burg d373a15012 di-1 2015-09-01 15:35:23 +02:00
Basile Burg 8091356ba5 fix, possible RT err if basepath does not exist 2015-09-01 15:31:06 +02:00
Basile Burg 6da6698ff0 messages, improved filename detector
- works now for the DUB trick (set as pre-build process) only if project root is set to the location of the .json file
- will work as well when DUB integrated (with `<CPP>` expanded to solve relative fname found in the message)
2015-09-01 11:09:51 +02:00
Basile Burg bcf479b3fe symbol list, write source to input rather than using tmp file 2015-09-01 02:50:18 +02:00
Basile Burg 130e11606e DCD integration, write source to input rather than using tmp file 2015-09-01 02:32:07 +02:00
Basile Burg e72f558ff1 about box, status was only auto refresh on create 2015-08-31 17:56:25 +02:00
Basile Burg be20059d6b prevent closing all the widgets when locked
the editor is still always locked.
2015-08-31 17:46:06 +02:00
Basile Burg abdddf29c0 fix #33, piping a pre or post build process leads to AV 2015-08-28 17:57:42 +02:00
Basile Burg e5296b0e7b added new output option 'alwaysLinkStaticLibs'
to preserve previous linking behavior.
related to #28
2015-08-27 12:00:29 +02:00
Basile Burg ebd7e3fda4 fix for the linux version, related to #28
gcc linker does not work like Digital Mars's one,
read more at http://forum.dlang.org/post/xunqvzfxyozznlmniwgg@forum.dlang.org
2015-08-27 11:12:21 +02:00
Basile Burg 8d494845e5 adjusted about box for kde widgeset 2015-08-27 00:54:59 +02:00
Basile Burg 423e1fbc3d fix #32, bat files not anymore accepted as pre & post build process 2015-08-26 18:31:13 +02:00
Basile Burg 9b74529023 fix, about box, status text not fully drawn with gtk 2015-08-26 12:45:00 +02:00
Basile Burg fd3262d02d doc 2015-08-26 12:02:59 +02:00
Basile Burg 144b365596 added about box 2015-08-26 12:02:38 +02:00
Basile Burg 8c7f6cc270 fix, prevented a custom tool to freeze
when two incompatible options are activated
2015-08-26 10:13:36 +02:00
Basile Burg 555c790e1e fix, project pre/post build process CWD ans symstrings
symbols in cwd were not expanded
2015-08-25 20:37:53 +02:00
Basile Burg 031fa42f31 fix, ditto were not always well removed from ddoc 2015-08-25 17:57:50 +02:00
Basile Burg 379d161a7b implemented new data location on linux, close #31 2015-08-25 08:23:41 +02:00
Basile Burg 10cdbcd912 more related to 9cca5e1b12
TWritableLfmTextComponent.readerError does not coever all the error kinds (for example error in conversion from text to bin stream)
2015-08-24 15:00:48 +02:00
Basile Burg 55671cf9e6 test more robustly if file is a project
- on open with (cmd line arg)
- on drag file to editor
2015-08-24 14:50:50 +02:00
Basile Burg 9cca5e1b12 fix, TCECustimWritableComponent, prop hasLoaded could be erroneously set to true 2015-08-24 14:48:36 +02:00
Basile Burg 104d6bc3b6 added function to test if a file is a native project 2015-08-24 14:47:48 +02:00
Basile Burg f9d8bd95b2 nil 2015-08-24 14:47:03 +02:00
Basile Burg 4e29c6ee06 more glyph pos fine tweaking 2015-08-24 12:59:10 +02:00
Basile Burg 8ddad1cbc3 fix, problem with btns glyph with gtk2 2015-08-24 11:49:53 +02:00
Basile Burg 0bbbebd061 refact, dExtList replaces with several function that test the exts
* hasDlangSyntax
* isDlangCompilable
* isEditable
2015-08-24 07:15:31 +02:00
Basile Burg 6d59b11178 fix 28, double definition of a symbol with sub-dependencies
+ improvement, select all the libman entries with an asterisk
2015-08-23 21:25:17 +02:00
Basile Burg 8f8a44a288 fix #26, selection length on status bar is wrong 2015-08-23 16:53:33 +02:00
Basile Burg a4139bdfc1 fix #27, the highlighter does not handle the script line 2015-08-23 16:30:57 +02:00
Basile Burg 977374d00f symstrings, less erroneou CPCD symbol
see 1d769d3583
2015-08-15 09:33:52 +02:00
Basile Burg 1d769d3583 libman, improved register from project.
- libraries made of a single source are more likely to be registered without having to patch the path
- some exception still exist, for example the libraries with several leading empty sub folders (shitty example src/org/eclipse/swt...) 💩
2015-08-15 09:28:56 +02:00
Basile Burg 1fb0c2b432 fix, range violation introduced in f5e5167ebde45881cecf959aecbe42b5bcb33260 2015-08-13 15:09:20 +02:00
Basile Burg 20ef73bb57 ddoc comments, ignore a line that starts with 'ditto'
and optionally a period.
2015-08-12 13:12:19 +02:00
Basile Burg 5004840dde fix, editor freezes if DCD haz crashed, fix #22 2015-08-10 02:54:35 +02:00
Basile Burg 6842050c6f temp workaround for #20 2015-07-27 02:54:39 +02:00
Basile Burg 2e0209be05 related to #18
Windows may sent the exception to the application
2015-07-17 18:21:40 +02:00
Basile Burg e690b7434e added darwin code to get application data path 2015-07-17 16:30:48 +02:00
Basile Burg 4357515016 fix #18, empty drive errors 2015-07-17 16:30:05 +02:00
Basile Burg 6403d23dd7 fine tweaked btn size 2015-07-15 22:28:54 +02:00
Basile Burg 8f01388d0a custom tools: use new TCEProcess
see b911e10e93
2015-07-15 15:38:57 +02:00
Basile Burg 207f0ec066 project runner: uses new TCEProcess
see b911e10e93
2015-07-15 14:47:30 +02:00
Basile Burg 1e4650dccc todo list: uses new TCEProcess
see b911e10e93
2015-07-15 14:35:39 +02:00
Basile Burg 6ece0bf0aa TCEMainForm: uses new TCEProcess
see b911e10e93
2015-07-15 14:29:18 +02:00
Basile Burg 9bb01032b6 symlist: uses new TCEProcess
see b911e10e93
2015-07-15 14:28:57 +02:00
Basile Burg b911e10e93 added TCEProcess, custom TProcess class for Coedit
- will fix the "split line" issue
- will fix globally the 'OnTerminate' event not called (the timer is always enabled, so osx version is guaranteed not to have this issue)
- will be used widely (no more TProcess or TASyncProcess).
2015-07-15 14:28:04 +02:00
Basile Burg 670ab28b67 fix, application.processmessage() caused messages to be cut 2015-07-14 18:02:58 +02:00
Basile Burg 8aa027b79f reverted bf115d9594 2015-07-14 17:53:29 +02:00
Basile Burg 4dbfe58326 fix, runnable dmd compiler message cut
- due to 72975e7185 which is itself due to...
- the problems began with bf115d9594
2015-07-14 17:46:42 +02:00
Basile Burg 72975e7185 fix, process stuck with stdout.flush()
- introduced in bf115d9594.
- runnable module, add `stdout.flush;` then `readln;`
2015-07-14 06:08:17 +02:00
Basile Burg 91ff18f87f symlist: added method to expand the tree on the current declaration 2015-07-14 01:46:49 +02:00
Basile Burg 9e039477fc symlist: does not allocate for each node xtra data
- this happens a lot
- directly use data as an integer
2015-07-14 01:45:56 +02:00
Basile Burg bf115d9594 processOutputToStrings uses processOutputToStream 2015-07-07 18:54:06 +02:00
Basile Burg b8b72af8f3 removed d extension with upper case char
dmd does not take such file.
2015-07-07 18:52:54 +02:00
Basile Burg ff576c985f try to skip empty drives (#18) 2015-07-04 06:48:44 +02:00
Basile Burg 5d621ebf45 workaround for the patch mentioned in fed331360c
ResotreLayout is part of the anchordocking library. get rid of them programmatically in CE.
2015-06-22 07:00:26 +02:00