Commit Graph

878 Commits

Author SHA1 Message Date
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
Basile Burg 3a28c54c26 common project interface - part 2 2015-06-21 03:55:48 +02:00
Basile Burg 9139d8eef7 common project interface - part 1 2015-06-20 15:00:16 +02:00
Basile Burg 3d74bffa3b messages, custom drawn, fixes
- horz scroll bar pos was not handled
- reset horz scroll bar to 0 when new messages are emitted
- constrain color value to make sure selected color <> background color
2015-06-20 11:34:37 +02:00
Basile Burg 5e06daf09e fix, dd files highlighter, used D HL but this not d code.
+ avoid content to be lexed to retrieve module name
2015-06-20 02:53:38 +02:00
Basile Burg fed331360c fix docking issues
- editor cant be disassociated from the menu
- a fix exists for the 3rd part component, but will be only applied if it's accepted by the people in charge (to consider when building CE from source).
- the fix will be applied in the next CE binary release (even if not  officially cherry merged to the Lazarus components).

fix #13
fix #4

waiting for that a widget must not undocked (right click) before getting closed.
2015-06-19 02:38:41 +02:00
Basile Burg 22fcf8a02f fix, message color, live update from option editor 2015-06-18 11:53:26 +02:00
Basile Burg 4391cb2680 added option to colorize messages background 2015-06-18 11:39:29 +02:00
Basile Burg ec22f7b979 why TStrings cannot be directly filled with TProcess.output 2015-06-18 11:05:22 +02:00
Basile Burg 891c746325 Revert "sompler"
This reverts commit f1e21098a7.
2015-06-18 11:02:06 +02:00
Basile Burg 38a57fec33 fix, highlighter sharing, reset range when a doc get focused
some ranges were randomly broken
2015-06-18 09:50:08 +02:00
Basile Burg 45317a2565 range issue doc switch 2015-06-17 23:58:01 +02:00
Basile Burg f1e21098a7 sompler 2015-06-17 23:57:37 +02:00
Basile Burg 97221ea590 darwin 2015-06-17 23:57:15 +02:00
Basile Burg d0ec5886d5 dont consider DUB as a minimal requirement to launch Coedit
building with DUB currently only a trick
briefly explained in the wiki.
2015-06-08 02:41:03 +02:00
Basile Burg 3ef1d25c43 improved symbolic strings
- lazy update happen only when needed
- new symbol `<CPCD>`, which expands to the project sources common directory
- updated demo
2015-06-07 15:55:30 +02:00
Basile Burg 6fc63706f8 removed icon extraction routine
handled by the cesetup
2015-06-05 03:27:02 +02:00
Basile Burg 1a0c006e06 exeInSysPath uses exeFullName 2015-06-04 15:54:14 +02:00
Basile Burg d59d85f750 fix, mostly win32, tools not found when launched from shortcut or shell ctxt handler
tools reside in same folder as CE
- happened if shortcut start directory is not CE app dir
- happened if CE is launched from open/with: cwd didn't allow to find the tools
2015-06-04 15:51:55 +02:00
Basile Burg 280ddd6c98 messages, added option fastDisplay
- when true do not refresh the list for each item
- faster when a lot of messages have to be output
2015-06-03 15:01:58 +02:00
Basile Burg a1672f7187 fix, editor modified file, invalid content could be paste
if new version of the file was an empty file
2015-06-03 14:40:47 +02:00
Basile Burg 2902b26310 fix, projinspect, AV when selecting something 2015-06-03 14:22:53 +02:00
Basile Burg 14ea706981 fix, dock options editor, content could be partially hidden
put in a scrollbox
2015-06-03 11:17:26 +02:00
Basile Burg a81d15e01e proj conf/insp btn enabled only if proj assigned 2015-06-03 11:06:56 +02:00
Basile Burg eaee7ee30a proj inspct, btn enabled only if proj assigned 2015-06-03 10:56:32 +02:00
Basile Burg f014576835 improved project file/folde add
initial dialog dir based on last selected
2015-06-03 10:52:13 +02:00
Basile Burg 8aa4ae52e2 removed cdb commander 2015-06-03 10:36:47 +02:00
Basile Burg 202ba4d8db lfm auto update 2015-06-02 22:47:40 +02:00
Basile Burg fc8eed3c5a updated range comp proc 2015-06-02 22:47:30 +02:00
Basile Burg 5dd4001470 fix, process input wdget remained disabled if process killed manually 2015-05-31 21:07:40 +02:00
Basile Burg ec0a337c1a fix, linux32, phobos not added to libman on first run 2015-05-31 03:29:27 +02:00
Basile Burg fc137ac565 icon, linux, try to extract in system icon dir 2015-05-29 11:59:26 +02:00
Basile Burg 7bc17d96fd added custom coedit icon 2015-05-28 18:48:02 +02:00
Basile Burg fb59694e58 macosx support, more to check 2015-05-28 06:57:29 +02:00
Pradeep Gowda a0ff81dc4a use StrToIntDef to return a default value of 0 incase pgrep returns an invalid Integer 2015-05-27 23:18:30 -04:00
Pradeep Gowda 42aa1e67eb Add `Open` function.
Trim will do the trick of obtaining the pid.
No need for RemoveLeadingChars.
2015-05-27 22:55:57 -04:00
Pradeep Gowda 30b8a74929 Remove redundant `var` declaration. 2015-05-27 22:18:06 -04:00
Pradeep Gowda f35ad0519e Application now compiles on Mac OSX (Yosemite).
Added `internalAppIsRunning` procedure for Darwin.

Uses `pgrep` instead of `ps` as MacOSX's ps lacks the `-C` option.
Instead we will use `pgrep` to query for the applications pid. If the
application is running we will get a positive integer (as a string) in
return which is returned as the `Result` after casting to `Int`.

Also: my first ever ObjectPascal code ;) Hooray!
2015-05-27 21:59:57 -04:00
Basile Burg f6aab96968 messages, bulk update 2015-05-26 13:54:57 +02:00
Basile Burg 42b608d5f1 fix, option editor, generic editor, changes from a dialog were not detected 2015-05-26 11:34:34 +02:00
Basile Burg 0fdab64271 hide TCollection default editor
for example in the category Editor, 'Shortcuts' are not anymore visible but editable in the category shortcuts
2015-05-26 11:13:52 +02:00
Basile Burg e2e9aa8bfe updated options editor interface
- custom editor can indicated if there are any unvalidated modifications
- shortcuts editor modifications can be canceled
2015-05-26 11:08:45 +02:00
Basile Burg 915f168a0c editor option, completion menu case sensitive 2015-05-24 17:31:45 +02:00
Basile Burg 720b66dc15 removed debug message 2015-05-23 11:10:51 +02:00
Basile Burg d489dd8274 fix for the linux version mini explorer not limited to /home/ anymore 2015-05-23 10:45:03 +02:00
Basile Burg 8a0aa40f5f process input widget, only enabled when has a process 2015-05-22 18:57:56 +02:00
Basile Burg fef9cf673f added a tiny editor menu
because using shortcuts is encouraged.
2015-05-22 16:24:27 +02:00
Basile Burg fa06a116ab updated shared icons 2015-05-22 16:23:15 +02:00
Basile Burg 42b48ba231 auto dot completion, menu position 2015-05-22 15:42:31 +02:00
Basile Burg c4854d9862 should be with ef033ed030 2015-05-22 09:24:45 +02:00
Basile Burg 03d7a52218 added editable option 'autoDotDelay'
delay before completion menu automatically appears, 0 disables the feature
2015-05-22 09:23:13 +02:00
Basile Burg 4cc3df3e6f added automatic dot completion menu + moved ctrl+space completion in memo 2015-05-22 09:22:30 +02:00
Basile Burg ef033ed030 refactoring, removed code completion features from ce_editor 2015-05-22 09:21:13 +02:00
Basile Burg edd48e92dc project configuration wisget, synchro mode supports complex properties
e.g list of version identifiers, list of extra sources, etc
2015-05-22 06:25:35 +02:00
Basile Burg e83b5f6a55 fixed in lazarus 1.4.2 2015-05-22 06:24:10 +02:00
Basile Burg 574c90bc49 messages, mini-explorer, show widget automatically when needed 2015-05-21 21:03:26 +02:00
Basile Burg e6a3241ca3 moved method to widget base class 2015-05-21 21:02:48 +02:00