Commit Graph

885 Commits

Author SHA1 Message Date
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
Basile Burg 006d375ec3 options, added hintDelay (ddoc) to editor category 2015-05-21 20:41:16 +02:00
Basile Burg 6136419676 fix, build linux version, missing use 2015-05-21 10:47:08 +02:00
Basile Burg 2a0a85596c editor option, shortcut, strips the 'ec' prefix from the identifier 2015-05-20 16:27:41 +02:00
Basile Burg cdf3a86029 symbol list, assign sort proc from script
should been added in baf9efe000
2015-05-20 16:15:08 +02:00
Basile Burg 01a15e610f option editor, warn about unsaved changes on close 2015-05-20 16:13:47 +02:00
Basile Burg 0c1862c9ba fix, editor option, canceled, not apllied 2015-05-20 16:13:07 +02:00
Basile Burg baf9efe000 symbol list, added option to sort sub items 2015-05-20 16:01:48 +02:00
Basile Burg df0c89c4b2 fix, runnable modules exe not properly deleted on exit 2015-05-16 10:11:29 +02:00
Basile Burg 912cad0a26 fix, search & replace MRU persistence broken 2015-05-16 07:55:55 +02:00
Basile Burg 18dbc56938 fix, search actions didn't update the button state 2015-05-16 07:55:19 +02:00
Basile Burg 0a4bc21023 bulk update 2015-05-15 13:50:08 +02:00
Basile Burg 260d3f8ba6 removed unused use 2015-05-15 13:49:04 +02:00
Basile Burg 5b9ef8aec8 msg mstk 2015-05-15 09:38:35 +02:00
Basile Burg 936c1b4a98 added message to diagnose libman entry registration failure 2015-05-15 09:35:53 +02:00
Basile Burg 528bf566f0 removed uneeded call to TCollection.Changed()
this method is related to the FCL oberver system, not used here
2015-05-15 09:16:55 +02:00
Basile Burg 120602356b style, renamed some fields 2015-05-15 09:14:05 +02:00
Basile Burg b1c1c54792 removed deprecated project fields 2015-05-15 09:03:06 +02:00
Basile Burg 550ab06e3e load glyph from shared icons
- possible now because res are available sooner
2015-05-15 07:27:45 +02:00
Basile Burg ff49acb58f removed resource loader from main source
because of http://bugs.freepascal.org/view.php?id=28086
2015-05-15 07:26:56 +02:00
Basile Burg dfe19b786b disable shortcut on conflict
previously old value was kept
2015-05-14 05:34:02 +02:00
Basile Burg 476ee10dc2 editor shortcuts, fix and change
- fix, default TSynEdit settings have conflicts in primary secondary shortcuts, removed secondary sh.
- change: windows style shortcuts (Ctrl+C,V,X,Z...) instead of Ctrl +Ins...
2015-05-14 05:30:25 +02:00
Basile Burg 9992452f85 added btn to clear a shortcut 2015-05-13 08:03:38 +02:00
Basile Burg 87288cc4b0 apply changes when shortcuts are modified 2015-05-13 08:03:13 +02:00
Basile Burg a2551d76ed load icon from shared icons 2015-05-13 08:02:14 +02:00
Basile Burg d6a18139ce updated shared icons 2015-05-13 08:01:43 +02:00
Basile Burg f606596544 added shortcut managment to TCEEditorOptions
- editable without any editor opened
- new values are assigned
2015-05-13 05:21:31 +02:00
Basile Burg cddf132e8b removed editor shortcut managment from editor
it worked only when an editor existed and shortcuts were not assignable
2015-05-13 05:19:49 +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 c9f5b7985f renamed persistent shortcut item class 2015-05-13 03:53:14 +02:00
Basile Burg bdb39e50f1 fix, project observers not connected but getCmdParams could open one
borken in c865145041 because class in ce_options was forcing an update
2015-05-12 04:40:06 +02:00
Basile Burg d8dfee1fbf fix, linux version, dcd-client remained as a zombie proc if no server response until tio 2015-05-12 05:41:28 +02:00
Basile Burg e770473dbb added small dialog to set the switches used to compile a runnable. 2015-05-11 13:42:10 +02:00
Basile Burg 187b9499d0 prevented proc input field height to be sized 2015-05-11 12:53:04 +02:00
Basile Burg de34bed12d clean up 2015-05-11 09:31:51 +02:00
Basile Burg c865145041 deleted unused interfaces and classes related to old centralized option system 2015-05-11 09:12:49 +02:00
Basile Burg 8379d50a8a finished to remove old centralized option system 2015-05-11 09:11:45 +02:00
Basile Burg 0a73c2f9af removed projects and files MRU from centralized settings system 2015-05-11 08:57:52 +02:00
Basile Burg 9fc711f7c3 lfm auto update 2015-05-11 08:34:46 +02:00
Basile Burg 6f15f67e3b base widget, get rid of the centralized option system 2015-05-11 08:34:25 +02:00
Basile Burg 218287f7a0 process input widget, get rid of the centralized option system 2015-05-11 05:50:35 +02:00
Basile Burg b00fd349ab mini explorer widget, get rid of the centralized option system 2015-05-11 03:46:49 +02:00
Basile Burg f475ef18b8 search widget, get rid of the centralized option system
+ checkbox state saved in addition to MRUs
2015-05-11 03:23:08 +02:00
Basile Burg 35c7d0a2ed runnable module, always abort any previous runnable process 2015-05-11 02:46:16 +02:00
Basile Burg 917ea7a23c added ICEProcInputHandler function to retrieve current process 2015-05-11 02:45:32 +02:00
Basile Burg 6a53686123 some hints 2015-05-10 13:01:21 +02:00
Basile Burg 198be2198c note 2015-05-10 13:01:05 +02:00
Basile Burg 973906f3ed fix, main menu action, only one shortcut could be assigned 2015-05-10 13:00:46 +02:00
Basile Burg 67c14dfb6d register classes for streaming 2015-05-10 08:55:10 +02:00
Basile Burg 52d33bca7d added support to save, load, modify the main menu shortcuts 2015-05-10 08:53:47 +02:00
Basile Burg c0440b4555 clean up 2015-05-10 04:11:16 +02:00
Basile Burg f0cee13fc7 added prop to get if file is temp 2015-05-10 03:22:37 +02:00
Basile Burg 330190e9a9 fix, files unrelated to D are not anymore accepted 2015-05-10 03:22:13 +02:00
Basile Burg dde0d58921 fix, prevent temp module to be added to a project 2015-05-10 03:21:30 +02:00
Basile Burg 350414262b lfm auto update 2015-05-10 03:21:05 +02:00
Basile Burg d616a690eb improved file drop to project inspector
fix, files unralated to D are not anymore accepted
fix, useless project update
support frop folder
2015-05-10 03:09:38 +02:00
Basile Burg 5c32fcb6a5 aded dd to accepted D ext list 2015-05-10 03:07:32 +02:00
Basile Burg 832643fdc6 editor, ESC key to close the call tips window 2015-05-09 23:50:40 +02:00
Basile Burg 722ef18563 fix, useless project double update 2015-05-09 08:40:51 +02:00
Basile Burg 2442892fec fix, patch dep, only when loading not when cloning 2015-05-09 08:33:43 +02:00
Basile Burg cd8efb0e5d libman,nux, automatically adds phobos/druntime 2015-05-08 23:05:09 +02:00
Basile Burg d6113bd021 libman,win, automatically adds phobos/druntime 2015-05-08 18:46:46 +02:00
Basile Burg acb75c6ec0 todo syntax 2015-05-08 18:45:44 +02:00
Christopher Weigle 9bb8768955 Fixed a typo
Not enough knowledge to help make it better, but I found a typo I noticed while using it. :D
2015-05-07 21:18:44 -04:00
Basile Burg 23666992a4 note about commonFolder() 2015-05-07 10:44:30 +02:00
Basile Burg d0f2b1c266 source position buffer controlled by virtual key browser back/next,. 2015-05-07 10:33:16 +02:00
Basile Burg 1da6889f4f libman editor, btn to register an entry using the project parameters 2015-05-07 10:24:26 +02:00
Basile Burg f9be3bd0fc added function common folder 2015-05-07 10:23:54 +02:00
Basile Burg cada3263d6 updated shared icons 2015-05-07 10:23:36 +02:00
Basile Burg 6ca31769c1 fix, annoying error message when the symbol list background tool is missing 2015-05-05 03:05:23 +02:00
Basile Burg 4b2cbfc803 editor cache, only keep the caches saved in the last 3 months. 2015-05-03 20:03:06 +02:00
Basile Burg 199c9f51f3 note about bug related to France summer time/winter time 2015-05-03 20:02:15 +02:00
Basile Burg c65c724c74 messages, support for quick jump using kbrd
- arrows up/down: as single LMB
- enter: as double LMB
2015-05-03 18:02:26 +02:00
Basile Burg 588d99a473 messages, support for quick jump from mixin errors 2015-05-03 17:56:48 +02:00
Basile Burg d0ed450c53 simplified line nbr parser 2015-05-03 17:51:25 +02:00
Basile Burg ba739df7c2 fix, docking options, checkboxes
- were grayed when changing the style
- were not applied in live
2015-05-03 09:20:32 +02:00
Basile Burg 01cd367c0c handle option editor event selcat 2015-05-03 09:19:39 +02:00
Basile Burg e7420ebf98 fix, when shortcut edited in widget options were not updated 2015-05-03 09:18:40 +02:00
Basile Burg b1a5ec229f added option editor event selcat 2015-05-03 09:17:04 +02:00
Basile Burg 91c9827d0b nothing 2015-05-03 07:32:39 +02:00
Basile Burg ad280fc06c messages, support for quick jump from assert errors 2015-05-03 05:40:54 +02:00
Basile Burg 2a0a3a9f91 prevent category change if mod neither accepted nor canceled. 2015-05-02 23:57:26 +02:00
Basile Burg ac4ce76c4b force rescan on focus 2015-04-25 04:43:24 +02:00
Basile Burg 169c42c2e9 fix, synchronized edition broken
after a while, due to a shared component.
2015-04-20 00:59:02 +02:00
Basile Burg 6668c04bd3 more of them 2015-04-19 05:21:59 +02:00
Basile Burg c8240766e7 fix, warning message typos 2015-04-19 05:18:23 +02:00
Basile Burg 40b7cbe126 display proj name in window 2015-04-19 05:14:18 +02:00
Basile Burg da619d8479 spotted synedit bug, cursor/zoom/scroll 2015-04-19 05:07:03 +02:00
Basile Burg bd461cf54d call tips displayed at the bottom
avoids to hide FunctionDeclaration parameters.
2015-04-19 04:30:12 +02:00
Basile Burg 452aa078d8 calltip method isolated 2015-04-19 04:20:21 +02:00
Basile Burg 6bbe3cc09a better window menu
item enabled according to their visibility.
2015-04-18 19:10:04 +02:00
Basile Burg d758ed0e76 fix, ddoc hint window stuck on top
could happen when switching sheets.
2015-04-18 18:32:41 +02:00
Basile Burg f528343819 clean shared synedit plugins 2015-03-31 04:44:16 +02:00