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
8aa027b79f
reverted bf115d9594
2015-07-14 17:53:29 +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
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
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
f1e21098a7
sompler
2015-06-17 23:57:37 +02:00
Basile Burg
97221ea590
darwin
2015-06-17 23:57:15 +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
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
d489dd8274
fix for the linux version mini explorer not limited to /home/ anymore
2015-05-23 10:45:03 +02:00
Basile Burg
6136419676
fix, build linux version, missing use
2015-05-21 10:47:08 +02:00
Basile Burg
260d3f8ba6
removed unused use
2015-05-15 13:49:04 +02:00
Basile Burg
b7e655df41
added assign to TCEPersistent shortcut
2015-05-13 05:18:50 +02:00
Basile Burg
5cd90da065
moved persistent shortcut item to ce_common
2015-05-13 03:56:42 +02:00
Basile Burg
c0440b4555
clean up
2015-05-10 04:11:16 +02:00
Basile Burg
5c32fcb6a5
aded dd to accepted D ext list
2015-05-10 03:07:32 +02:00
Basile Burg
23666992a4
note about commonFolder()
2015-05-07 10:44:30 +02:00
Basile Burg
f9be3bd0fc
added function common folder
2015-05-07 10:23:54 +02:00
Basile Burg
0e712aa0ee
nothing
2015-03-20 03:54:08 +01:00
Basile Burg
2c325dceef
bdm
2015-03-17 04:01:53 +01:00
Basile Burg
d6d6fab659
Revert "fix, dcd ddoc mouse hint, decl finder, location is not based on the speific document line ending kind but on the system one"
...
This reverts commit 6aed308035
.
2015-03-17 03:34:42 +01:00
Basile Burg
6aed308035
fix, dcd ddoc mouse hint, decl finder, location is not based on the speific document line ending kind but on the system one
2015-03-17 02:16:44 +01:00
Basile Burg
ac82a0aba8
DCD hints loc and decl finder always use system LE ?
2015-03-17 02:05:54 +01:00
Basile Burg
557d1b77f5
isolated proj & doc MRU classes, item insertion by observation
2015-03-12 10:37:21 +01:00
Basile Burg
ef3b055bcf
nothing
2015-03-11 19:28:11 +01:00
Basile Burg
b23f72deda
added procedure to accumulate process output in a stream
2015-02-25 09:22:16 +01:00
Basile Burg
1b56c75ca1
removed autogen. comments
2015-02-15 05:26:39 +01:00
Basile Burg
a9f68c1e66
fixes for the linux version
2015-02-07 10:26:49 +01:00
Basile Burg
b36a5af627
added routine to find running process
2015-02-06 02:51:07 +01:00
Basile Burg
826c591548
fix, the address taken was a stack one, not the object heap's one
2015-01-04 22:31:02 +01:00
Basile Burg
1ecb859698
prepared code to get symb documentation at mouse position
2015-01-04 04:56:32 +01:00
Basile Burg
0881fe9cec
renamed ce_common member getDocPath
2014-12-29 04:24:51 +01:00
Basile Burg
dce827ef65
avoid possible failure if dir does not exist
2014-12-09 03:49:46 +01:00
Basile Burg
3c62646055
replaced custom extension stripping routine by sysutils version
2014-12-07 07:59:28 +01:00
Basile Burg
5c64186520
fix TMruList, maxCount setter, value was never set
2014-11-27 22:10:10 +01:00
Basile Burg
a02a269a7b
fix possible AV in patchPlatform paths
2014-11-18 13:47:53 +01:00
Basile Burg
65b2089d2e
fix paths <-I> <-J> <-of> were not patched anymore.
2014-11-16 12:53:41 +01:00
Basile Burg
5364af90a4
fix for the linux version ( 6ef73e5
)
2014-11-16 01:39:54 +01:00
Basile Burg
6ef73e5b0b
possible workaround for linux OnTerminate TAsyncProcess bug
2014-11-16 01:04:05 +01:00
Basile Burg
d0d230cc2d
fix messages from processes sometime cut
2014-11-15 18:37:28 +01:00
Basile Burg
4e3642ec54
removed a lot of ornamental/useless <const> storage class
2014-11-11 10:15:39 +01:00
Basile Burg
084a476e5f
stylefix and cleanup
2014-11-10 16:21:42 +01:00