Commit Graph
2178 Commits
Author SHA1 Message Date
Andreas Stallinger dc064e4756 ui: Errorview
Tabbed view with errorview as tab
2016-10-13 12:37:10 +02:00
malte_langkabel 97b151371b ui: added initial auto-detection for cpp standard headers and java runtime library
* when Coati is started with no java-path or global cxx header or framework paths in the appsettings they are auto-detected using the first working detector
* order in which the detectors are shown in gui now matches the order they are added to the combined detector.
2016-10-12 19:10:03 +02:00
malte_langkabel c018020a73 logic: removed ring-logging
* made ring-logging optional
2016-10-11 17:47:22 +02:00
Eberhard Graether f6ae1afdb2 ui & logic: fixes for release
* smaller indexing progress dialog with bar in the middle instead of golden ratio
* set default code snippet expand range to 3
* no minimum height for project file location element in project setup wizard
* move aggregation and inheritance edges to front when hovered or active
* push parent nodes of active nodes to back to make edges to the active child visible
* properly quit application when window is closed while confirm box is open
* properly quit application when window is closed while indexing
* only count top level nodes for count on bundle nodes
* give noLetterScore to index 0 in search index scoring

bug id = 121
2016-10-11 15:38:44 +02:00
malte_langkabel 86f652d221 src: added ReaderWriterLock, helpers and Semaphore 2016-10-10 17:37:38 +02:00
Eberhard Graether 072cccf852 data: calculate best scores for autocompletion matches by moving indices 2016-10-10 16:51:40 +02:00
malte_langkabel 95859d9605 ui: fixed panning to avoid jumping back to zero on mouse down 2016-10-10 11:37:56 +02:00
malte_langkabel b66f98b1e7 build: fixed windows build for app-trial merge 2016-10-10 11:33:19 +02:00
Andreas Stallinger d2e1c62b59 build,test: fix linux build and tests
* FilesystemTest fix for linux
* isTrial.h include removed
2016-10-10 09:23:39 +02:00
Eberhard Graether 0d950d96f5 logic: refactored license checking 2016-10-08 15:45:11 +02:00
Eberhard Graether 1b8736a6e1 logic: Rewrote license checking logic for trial and app merge 2016-10-08 13:42:40 +02:00
malte_langkabel ee7bf4e9b7 logic: auto-detection for java root source directories
* implemented auto-detecting root source directories for java projects
* revised help texts in java project setup
2016-10-07 11:44:14 +02:00
malte_langkabel 0bb17b08d3 logic: fixed refresh crash reported in issue #220 2016-10-07 10:41:28 +02:00
malte_langkabel d59b18f6e7 logic: improved reliability of Java indexer
* moved to JavaParser 3.0
* Fixed many unsolved types and symbols
2016-10-04 17:38:39 +02:00
malte_langkabel 47d7a3a509 data: changed name of Java generic type to use name of declaration
* changed the name resolution of generic type instantiations to use the name of the type's declaration instead of using the provided type arguments here.
* fixed tests
2016-10-03 12:50:51 +02:00
Eberhard Graether 3dffd55f75 logic: Fixed refreshing when source paths were removed
* Define exit state for TaskRepeatWhileSuccess
* Added TaskFinishParsing to end of parsing task sequence
* Also measure time spend clearing files in total index time
2016-09-29 14:58:45 +02:00
malte_langkabel e5cd905670 ui: maximum allocated jvm memory configurable in preferences
* added setting for maximum memory allocated by JVM to Preferences window.
* a value of -1 ignores this setting
* changed default value for this setting to -1
* increased JNI version to Java 1.8

* disabled some file system tests for windows
2016-09-29 10:05:03 +02:00
Eberhard Graether 52fb2ae6f6 logic: Follow symbolic links to directoris within source paths
* Follow symbolic links to files and references by default now
* Fixed crash on self-referencing symbolic links

bug id = 205
2016-09-28 15:26:43 +02:00
Eberhard Graether d70079825a ui: Black and white size grips for dialog windows 2016-09-22 15:59:37 +02:00
Eberhard Graether 6d55adabaa ui: Use type node colors for undefined nodes 2016-09-22 15:04:25 +02:00
Eberhard Graether 77cf33666f ui: Select code in code view with SHIFT + drag
bug id = 7
2016-09-21 11:23:47 +02:00
Eberhard Graether 589962b09e ui: Added markers to active lines in code view 2016-09-18 00:17:15 +02:00
malte_langkabel 3b7baba24b build: merge Coati app and Trial to single executable
* removed trial target
* updated deploy scripts to exclude trial
* cleanup CMakeLists
* removed Eigen dependencies
* split parser lib into lib_cxx and lib_java
* added ProjectFactory and ProjectFactoryModules
* removed old installer projects
* updated wix installer
  * updated readme for wix setup
  * updated to use obfuscated exe
  * added qt.conf
  * added indexing dialog images
  * added jars
  * added coatidb files of sample projects
  * added source code of javaparser sample
  * removed auto-refresh image
  * intermediate files of windows installer are created in build folder
  * preselected desktop shortcut
  * build bat is executed from deploy_windows script
2016-09-16 12:45:00 +02:00
Andreas Stallinger 169ca74aa3 ui: font dropdown fix 2016-09-15 16:39:57 +02:00
Andreas Stallinger ac20f6d244 ui: SelectPath Dialog update
check/uncheck buttons added to the dialog
2016-09-15 13:30:45 +02:00
Eberhard Graether 002475169c logic: save Project version when creating a new project 2016-09-15 13:07:28 +02:00
malte_langkabel 136042d047 logic: moved task waiting
* moved waiting from TaskInjectStorage to TaskGroupParallel so that the tasks that run here have the same conditions as tasks running in the TaskScheduler
2016-09-15 12:51:06 +02:00
Eberhard Graether 5680bf7b25 logic: Added migration for C/C++ standard to ProjectSettings
* extended SettingsMigrator to support lambdas
* added PROJECT_STATE_NEEDS_MIGRATION and dialog for loading old project files
2016-09-15 12:23:18 +02:00
Eberhard Graether 73ef7c1bcb logic: Fixed C language setting not propagated to Parser and added all supported language standards for C/C++ 2016-09-15 00:07:47 +02:00
Eberhard Graether b1b2262581 logic: Fixed indexing tasks
* Added mutex to BlackBoard
* stop inject task from blocking CPU in endless loop
2016-09-15 00:02:50 +02:00
Andreas Stallinger 221ac9ed64 documentation: sublime-coati with Package Control
sublime-coait is now available via Package Control
2016-09-12 20:05:37 +02:00
malte_langkabel f06dd6abc5 logic: improved indexer parallelization
* added task that injects into PersistentStorage parallel to indexer tasks.
* added Blackboard for Task classes
2016-09-12 11:52:14 +02:00
Eberhard Graether 1335f9512a ui: Changed all font-sizes from pt to px for same results on all platforms 2016-09-09 02:31:11 +02:00
Andreas Stallinger 0137726328 ui: filter monospace fonts
* relpaced onw construction with QFontComboBox
* filter monospace font
2016-09-08 16:15:32 +02:00
Andreas Stallinger ba800c9866 ui: font dropdown
added font dropdown in preferences
2016-09-08 13:56:40 +02:00
malte_langkabel 8f6a7a1cca build: fixed to compile for mac and linux again
* removed direct usage of MessageListener from lib parser
2016-09-08 12:54:13 +02:00
malte_langkabel 4f302b0d1d logic: reimplemented task system to abort ast visiting
* reimplemented interrupting TaskParseCxx by adding a listener for the MessageInterruptTask and returning a failure status code on update. This cancels the parent sequence task which results in the indexed items not getting inserted into the persistent storage
* removed the capability for interrupting from TaskScheduler
* changed task system to be closer to the standard behavior tree implementation
* changed task system to accommodate the 3 status return types: Running, Success and Failure
* made TaskGroupSequential fail once a member task fails
* made TaskGroupParallel fail once a member task fails
* split TaskParse... into one task for indexing and one task for injecting
* added TaskRunner that handles updating and resetting the managed task
* fixed numbers that are shown as parsed file count in indexing ui
* fixed deadlock that originated from interaction between TaskScheduler and MessageQueue (one thread wanted to destroy a message listener on a task while the other one wanted to send as message as a task)
2016-09-07 14:39:34 +02:00
Eberhard Graether cbcf56f7dc ui: Save graph as image via context menu
bug id = 180
2016-09-06 15:16:49 +02:00
Eberhard Graether 5932d0f872 ui: use golden ratio in indexing progress dialog 2016-09-05 12:44:47 +02:00
malte_langkabel 7271e30434 ui: state required Java version
* revised texts in application preferences and documentation to state the currently required Java version
* update deploy script on windows to use UPX with "--best" instead of "--brute"
2016-09-01 13:40:06 +02:00
Andreas Stallinger 251eab6e9e ui: prefill headers from compilation database
dialog for selecting header paths from compilation database
2016-08-31 14:37:28 +02:00
malte_langkabel d2de395ed5 logic: revised loading Java library
* implemented a dynamic way (that does not involve the linker) to load the Java runtime library
* implemented JavaPathDetectorLinux
* Filepicker for Java runtime library now asks to pick JVM library instead of folder
* extended error handling for JavaEnvironmentFactory
2016-08-31 12:16:29 +02:00
Eberhard Graether eb621eea33 ui: Fixed correct delimiter per language used in search field 2016-08-31 11:37:53 +02:00
malte_langkabel ad719aeaa8 ui: revised project setup descriptions
* revised texts in project setup ui
* fixed crash during project setup when CDB file is empty
* fixed row height of project location in CDB project setup
2016-08-30 16:52:28 +02:00
Eberhard Graether ebdc2d3382 ui: Revised project setup
* changed help texts
* use help buttons instead of descriptions in dialogs
* fixed show files button not up-to-date with directory list box
* fixed source file extensions shown in cdb setup
* refactored size and content setting for project content classes
2016-08-30 11:20:32 +02:00
Eberhard Graether d4131ce92c data: Fixed error locations not saved with absolute filepaths in CDB projects 2016-08-29 23:30:59 +02:00
Eberhard Graether 0143268f90 test: Enabled Java tests and fixed clang warnings 2016-08-29 12:24:17 +02:00
malte_langkabel d9c9e4b3eb logic: using javapath on windows fix
* fixed usage of javapath on windows: search in provided path before resorting to content of path variable
2016-08-29 12:05:40 +02:00
malte_langkabel 9701332fd0 logic: using source folders for header search
* adding folders form source paths to header search paths for convenience. We are using system header search paths here so that users can also use "<..>" in their includes.
2016-08-29 11:29:03 +02:00
malte_langkabel 4bac37096a logic: moved javapath validation
* moved creation of java environment factory to build index method. This fixes a bug where project refresh was not working when setting the java path after loading the project.
2016-08-29 10:49:59 +02:00