Commit Graph
811 Commits
Author SHA1 Message Date
mlangkabel b0cdd23fb3 UI: mention CDB can be generated by Qt Creator 2019-02-04 18:14:07 +01:00
mlangkabel 82a3c06a9d logic: implemented using regex capture ranges for syntax highlighting rules
* only first capture will be highlighted (-> only use one capture range per regex
* non-capturing braces can be used with start: "(?:" and end: ")"
2019-02-04 16:07:20 +01:00
Eberhard Graether 92c8c282f5 logic: Fixed qualifier locations not used in reference navigation and only highlighted on hovering 2019-02-04 02:04:38 +01:00
Eberhard Graether f7eb1fc160 data: Added highlighting rules for Python
* fixed multiline highlights to work for any highlight type
* erase priority ranges contained within others
2019-02-03 15:53:40 +01:00
Eberhard Graether 03573abc3b ui: Fixed edge case in multiline CXX highlighting 2019-02-03 13:35:05 +01:00
Eberhard Graether 7d746ba947 logic: Fixes in header path detection
* Rerun header path detection when only cxx header path is present after update in migration
* Check if path exists in header and framework path detection on mac/linux
2019-01-29 13:49:40 +01:00
mlangkabel 5dcecdb3bd ui: fixed status error may not show up if custom command fails on windows 2019-01-21 16:38:47 +01:00
Eberhard Graether 6f0cc614e2 ui: Fixed right click on edge activates it on Windows 2019-01-21 15:46:21 +01:00
Eberhard Graether 7d30709306 logic: Fixes and improvements for C/C++ compiler header path handling
* Always add compiler header path when prefilling on first start, regardless of successful detection
* Show compiler header path in path list box on top and readonly
* Prepend compiler header path on Windows in system header path compiler flags, append otherwise
* Show warning when saving ApplicationSettings if compiler header path is not in global include paths
* Show warning when saving ApplicationSettings if there is another path containing compiler headers
2019-01-21 15:18:31 +01:00
mlangkabel 3eb9211520 logic: added option to execute custom indexer commands in parallel 2019-01-21 13:28:51 +01:00
Eberhard Graether f4859ee094 ui: Improved line number disappearing fix 2019-01-15 00:00:12 +01:00
Andreas Stallinger 711cd6ce1c ui: Fixed line numbers disappearing on hover on Linux 2019-01-14 18:27:19 +01:00
Eberhard Graether fc64f1a958 ui: Recommended project setup from CDB and moved empty setup at end of list 2019-01-14 17:20:37 +01:00
Eberhard Graether 21ac50c204 ui: double click in project setup list box to add new item 2019-01-14 16:37:44 +01:00
Eberhard Graether 08dc7ec98b ui: Prevent flickering of edges when going back after multiple edge activations 2019-01-10 22:56:14 +01:00
Eberhard Graether 3014dd35a8 logic: Fixed relative paths not working Code::Blocks project files (issue #663)
* Index non-target files if no others available
2019-01-10 22:11:05 +01:00
Eberhard Graether 7d94302712 ui: Remove virtual nodes in depth graph edges when moving nodes (issue #639) 2019-01-10 16:52:40 +01:00
Eberhard Graether 934131b877 logic: Added exception handling for HTTP request exceptions in update checker (issue #659) 2019-01-10 16:01:49 +01:00
Eberhard Graether 322c353898 ui: Wrap lines in status and error table (issue #658) 2019-01-10 15:22:56 +01:00
Eberhard Graether d6a07e9477 ui: Added link to changelog to help menu (issue #653) 2019-01-08 14:17:14 +01:00
mlangkabel b4ea675c9a logic: fixed custom commands
* allow filesystem to rename temp db after indexing
* changed custom command variable syntax
* adjusted test checklist for custom commands
2018-12-18 15:02:45 +01:00
Eberhard Graether d091fc857b ui: fixed active code view mode button could be unchecked 2018-12-17 23:21:38 +01:00
Eberhard Graether 86190675a2 ui: Show Database Version in About and Custom Command Source Group description 2018-12-17 14:49:04 +01:00
Eberhard Graether 95e121159f ui: fixed annotations stay highlighted after hovering in tooltip list 2018-12-17 02:05:58 +01:00
Eberhard Graether dd4a880ec3 ui: Show overview bundles for non-indexed or symbol types if no others available 2018-12-16 23:51:53 +01:00
Eberhard Graether 1dabbab599 ui: Extracted syntax highlighting rules for java and cpp to files
* pass file language from storage to code view
* load syntax highlighting rules files from install directory "syntax_highlighting_rules"
* files must be named <language_identifier>.rules to make syntax highlighting work
2018-12-16 22:59:07 +01:00
Eberhard Graether a45dcb8a01 project: changed custom command parameter $STORAGE_VERSION to $DB_VERSION 2018-12-16 13:57:56 +01:00
Eberhard Graether d3d5b961ff data: Replaced NameDelimiterType in NameHierarchy with std::wstring to allow use with arbitrary delimiters 2018-12-11 16:29:08 +01:00
Eberhard Graether 6d5a3c047d logic: Added SourceGroupCustomCommand to use with SourcetrailDB binaries
* Added new Source Group type SourceGroupCustomCommand to UI and ProjectSettings
* The Source Group executes a specified command on every source file
* The variables $SOURCE_PATH, $PROJECT_PATH, $DB_PATH, $STORAGE_VERSION can be passed
* The commands are executed after all other source groups finished indexing
* The command is executed with working directory set to project directory
* Errors during command execution are shown as status update and in the Status View
* SourceGroupCustomCommand cannot be partially cleared, when one file needs clearing the project must be fully re-indexed
2018-12-11 14:05:26 +01:00
mlangkabel 21d947ed6c src: updated SymbolKind enum
* removed SymbolKinds for Parameter and LocalSymbol, because these are not stored as symbols inside the database
* added Module symbol kind for Python
2018-12-10 16:26:38 +01:00
Eberhard Graether 6d5937d18f ui: Fixed indexed source files not updated on changes in project setup
* Now updated when pressing "Show Files" button
2018-12-06 19:51:28 +01:00
Eberhard Graether b47a0b5b72 logic: Inspect errors during indexing (issue #235)
* Enabled errors table during indexing
* Store intermediate errors in StorageCache
* Open tab for errors if no tab yet
* "Show errors" for file disabled during indexing
* Hide indexing dialogs with ESC instead of stopping indexing
2018-12-06 15:46:42 +01:00
Eberhard Graether 09c6155583 ui: Fixed header path selection also preselects non exsiting paths (issue #640) 2018-12-06 11:24:29 +01:00
Eberhard Graether 7a0edaec06 ui: Fixed graph node centering shows right end when node has greater width than view 2018-12-05 16:33:51 +01:00
Eberhard Graether dc76661a53 ui: fixed multiple multiline comments within one line not correctly highlighted 2018-12-05 00:20:46 +01:00
Eberhard Graether a044e17fdc ui: Reduced code view snippet style 2018-11-30 22:40:07 +01:00
mlangkabel a51799c279 logic: Store locations of errors in source_location table of DB 2018-11-30 16:02:10 +01:00
Eberhard Graether 34691a0555 ui: Display cmake export compile commands flag in project setup without space to avoid error on copy & paste 2018-11-28 16:04:32 +01:00
Eberhard Graether 267d6b2eb7 logic: Fixed and improved indexing interruption (issue #634)
* Fixed indexing can be interrupted when dialog hidden
* Clear intermediate storages when interrupting
* Abort waiting for less queued storages when indexing interrupted
* Don't index another file when indexing was already interrupted
* Moved indexing interrupted progress dialog to TaskBuildIndex
* Use MessageIndexingInterrupted instead of MessageInterruptTasks
2018-11-23 15:33:20 +01:00
Eberhard Graether 308954635e ui: Fixed unhovering source location does not remove graph highlight 2018-11-21 16:01:17 +01:00
Eberhard Graether c7afb0910d logic: Added weekday condition to news API 2018-11-12 23:40:07 +01:00
Eberhard Graether 6490191972 ui: Fixed code file content requests in background tabs failing 2018-11-12 16:14:42 +01:00
Eberhard Graether 6f88910466 ui: Fixed graph nodes not movable 2018-11-05 16:54:28 +01:00
Eberhard Graether e96a28b38a ui: Finalized news on start screen layout
* And fixed mac bundle install script.
2018-11-05 14:15:55 +01:00
Eberhard Graether bac8d6afe8 ui: Added Ctrl + W tab close shortcut for Windows 2018-11-05 12:16:16 +01:00
Eberhard Graether f13aec70dd ui: Added tabs UI to top of main window (issue #215)
* Added tab bar to top of main window with UI/shortcuts similar to web browsers
* ComponentManager offers components for 2 use-cases: application and tab
* Application components: log view (status/errors), bookmarks, screen search, status bar, tabs, tooltips, dialogs and all tab views disabled
* Tab components: graph, code, history and search
* When a project is loaded there is always at least one tab, otherwise there is none
* Each tab replaces the application views of the same name in the main layout when activated
* Each tab has it's own TaskScheduler, to process tasks independent from other tabs
* The application has a global TaskScheduler for application wide tasks
* The singloton class TaskManager is responsible for managing the TaskSchedulers
* MessageListeners and Messages hold an optional schedulerId, both must be set to only send to a specific TaskScheduler
* Bookmark buttons where split off into a separate view per tab, bookmark managemement is done in the application
* History menu processing is done by the QtMainWindow now
* Screen search is an application component, the responders are always changed to the active tab
* Plugin messages are opened in a new tab
* Symbols can be opened in a new tab via middle click/context menu in graph, code, history dropdown
* Full text index creation is mutexed now in PersistenStorage to make it fully thread-safe
* All tabs are closed when switching projects
* Tab contents are only animated when visible

fortune cookie message = Catch your lucky star!
2018-11-05 01:28:12 +01:00
Eberhard Graether e2dd26ee5a logic: Split MessageRefresh into index and UI 2018-10-28 12:11:53 +01:00
Eberhard Graether 3d8afdb7be src: Removed pointless singleton pattern from LicenseChecker 2018-10-21 13:59:48 +02:00
Eberhard Graether 6a6bd0fca8 ui: Show news sent with update check on start screen
* News are passed as JSON string, containing an array of news items.
* Each news item has version and content (html).
* Items can be filtered by min/max version, OS and license. The first item that fits is used.
* Items can be important, which highlights the news box.
* News are not shown if older than 5 days.

fortune cookie message = You will be financially successful in case your actions are well planned.
2018-10-21 13:49:06 +02:00
Eberhard Graether ab6cf631f4 ui: Added Copy action to code view context menu 2018-10-20 00:09:57 +02:00