Commit Graph
71 Commits
Author SHA1 Message Date
Eberhard Graether a18aa0b9a6 ui: Fixed switching code view mode shows active reference 2018-04-12 20:22:27 +02:00
Eberhard Graether 0489cac94d ui: Fixed carriage return in line endings breaks screen search in code 2018-04-12 19:24:50 +02:00
Eberhard Graether aed783f5ca logic: lazy load code annotations
* code annotations are loaded after showing the code file
* added traces
* refactored highlighter
* fixed error tooltip style in codeview

fortune cookie message = It's not the time that counts, but what you do with it.
2018-03-24 13:19:49 +01:00
mlangkabel 6d82e9265a logic: implemented handling of non-ascii characters in screen search 2018-02-26 13:56:47 +01:00
mlangkabel 9e041c1f0a logic: use wstring in symbol and bookmark names
* use wstring in symbol and bookmark names
* fixed setting apppath in windows includes
* regard utf8 encoding in shared indexer commands
* regard utf8 encoding in shared indexer status
2018-02-05 17:17:33 +01:00
mlangkabel 0dda63f7ae logic: used wstring in FilePath constructor
* used wstring in FilePath constructor where easily possible
* added FilePath concatenate method that accepts string parameter
* implemented using only wstring in MessageStatus
* used wstring in config
2018-01-30 11:00:23 +01:00
Eberhard Graether 079be93667 ui: Deactivate line numbers above scrollbars fix in code view for Mac 2018-01-28 22:35:38 +01:00
mlangkabel 5577a901da ui: fixed line numbers still visible if overlayed by horizontal scroll bar 2018-01-26 10:44:23 +01:00
Eberhard Graether 56cac267a2 src: bug fixes
* fixed gaps in code view line indication for different fonts
* only allow latin fonts in fontpicker
* don't show 'files to clear' for full refresh
* fixed screen scale settings were visible on all platforms
2018-01-22 12:30:31 +01:00
Eberhard Graether bfa43df491 ui: switch to single file mode with snippet maximize
* switch back to snippet view with snippet button in file title bar
* use new title bar widget in single view as well
* restore view mode on undo, store current view mode for every message id (added id to message)
* treat view mode switch as adapt message on undo stack
* fixed crash after snippet expansion
* fixed hatching in file title not shown
2017-12-20 20:40:38 +01:00
Eberhard Graether 2b2c3e1194 ui: Fixes for fulltext search
* show line indicators for fulltext search results
* matches at line start started at previous line
2017-11-26 19:56:59 +01:00
Eberhard Graether 0d5c19db00 ui: Hide nodes and edges from graph via context menu action or Alt + Click (issue #472)
* show all context menu actions, but disable unavailable
* added hide action to undo redo stack
2017-11-26 12:54:42 +01:00
Eberhard Graether a980300e92 ui: Fixed double delete of QtCodeArea (issue #488)
bug id = 488
2017-10-24 11:52:37 +02:00
Eberhard Graether 7a87c4cd4b ui: Added shortcut to 'Show in IDE' context menu action (issue #485) 2017-10-23 17:33:00 +02:00
mlangkabel cf984ca245 logic: name qualifiers of symbols are clickable now 2017-10-11 11:08:01 +02:00
Eberhard Graether fdea8113a0 logic: Fixed code not annotated for full file in snippet mode
* show focused line marker when stepping through code references
2017-10-03 08:09:57 +02:00
Eberhard Graether 95ef8c3eec ui: Added on-screen search feature (issue #79)
* Use menu action "Edit -> Find in View" or Ctrl + D
* UI displayed as search bar at bottom of main window
* Hide search bar with ECS or close button
* Entering a query searches in name of graph nodes and code contents of code view
* Use Enter to iterate through matches, well move match into view in graph and code view
* Checkboxes allow for adding/removing results for certain views
* Create Bookmark shortcut is now CTRL + S

bug id = 79
2017-09-19 14:00:40 +02:00
Eberhard Graether a9ca7f1223 ui: Added second line marker color to better highlight hovered and local symbols 2017-09-06 16:16:39 +02:00
Andreas Stallinger 37ead804bf src: clazy compiler warnings
get rid of most clazy warnings (https://github.com/KDE/clazy)
* range loop use refs
* qcolor ctor with ints
* missing Q_OBJECT macro
* use .constfirst instead of .first

enabled ccache for unix systems for fasterr recompiling
* if ccache is in path we use it now
2017-08-10 09:45:55 +02:00
Eberhard Graether bb5c1d49b6 ui: Fixes for release
* improved color scheme contrasts
* fixed code view single not updated to font size change
* fixed tooltip shown when hovering error location
* fixed previous reference count shown when fulltext search has no results
2017-08-10 03:16:29 +02:00
Eberhard Graether 8c5b69dce6 ui: Show list in tooltip when clicking source location with multiple tokens or local symbols
* Also shows list of all implicit symbols at a source location e.g. default constructors or template specializations
2017-08-02 12:32:13 +02:00
Eberhard Graether 96c68c4d0b ui: Fixes for code view
* set code font size as pixel value
* properly hide line number area for overview stats in both snippets and single file view
* fixed file title disabled for files in single file view in trial mode
2017-08-01 14:31:03 +02:00
Andreas Stallinger 244c9af3c6 src: new signal slot syntax
SLOT()/SIGNAL() -> &class::method()
2017-08-01 12:35:33 +02:00
Eberhard Graether 01864b4d0c ui: Added custom tooltipping to code and graph (issue #195)
* Tooltips show node type with access specifier, reference count and fully qualified name
* Fields and global variables include the type name
* Methods and functinos show whole signature. Gets broken into multiple lines if too long.

Included changes:

* Upgraded to C++14
* fixed clang warnings
* Pass location of .srctrlprj file to build.sh script to load on launch
* Split off QtCodeField for showing highlighted and annotated code fom QtCodeArea
* removed TokenComponentSignature
* added TaskDecoratorDelay

bug id = 195
2017-07-31 12:45:22 +02:00
Eberhard Graether 3e62367af0 src: More fixes for release
* Show declname in java import error
* Don't clear window stack when saving preferences
* Fixed spacing in source group UI, status view and error view
* Resize graph scene rect when widget is resized
* Graph node centering respect no animation preference
* Fixed undoing of view commands
* Avoid scrollbar jump when restoring graph scroll position
* Deactivate local symbols in code when clicking into empty space
2017-06-08 00:35:31 +02:00
Eberhard Graether 71b3bdb26b logic: Improved code view performance
* Don't set stylesheet for every token activation
* Streamlined code area creation steps
* Delay most syntax highlighting until lines become visible
2017-06-05 23:34:20 +02:00
Eberhard Graether de645be37a logic: Refactored Code View to process all contents in one update
* Use unified showCodeSnippets method for setting file information on CodeView
* Made async initial file and snippet expansion synced
* Add ScrollParams API to CodeView
* Regard scope size when scrolling to definition
* Only use QtThreadedLambdaFunctor in QtCodeView now
2017-06-05 14:23:43 +02:00
Eberhard Graether 4e9ba897ac src: Refactored TokenLocation classes to SourceLocation classes
* Removed TokenLocationLine
* decoupled TokenLocationFile from TokenLocationCollection
* save vector of Token ids to SourceLocation
* refactored SourceLocationFile::getFilteredByLines()
* refactored snippet creation
2017-03-25 02:05:48 +01:00
Eberhard Graether 224f0b05f9 ui: fixed method names disappearing in code view after being deselected 2017-02-22 04:30:48 +01:00
Eberhard Graether b423b41836 ui: Fixed scrolling in code view list mode broken for Mac touchpad 2017-02-09 19:22:52 +01:00
Eberhard Graether 3b89bad424 ui: Disabled syntax highlighting for project description
* Also made syntax highlighting dependent on file ending of source file
2017-02-09 16:05:20 +01:00
Eberhard Graether 993d66727d ui: Set move and select cursors for drag interactions in code view 2017-02-02 00:47:30 +01:00
Eberhard Graether b659b2ac34 ui: Show error in errors table when clicked in code view
bug id = 323
2017-01-27 14:04:55 +01:00
Eberhard Graether 7ee9624217 ui: Switched default mouse drag in code view to code selection, panning when Shift is pressed 2017-01-27 11:23:49 +01:00
Eberhard Graether 2aa8c4c22c ui: Refactored context menu API, added file path actions in graph and code
* Add 'copy full path' and 'show containing folder' actions to graph view, code view
* Added file path to file node tooltip

bug id = 320
2017-01-26 21:54:57 +01:00
Eberhard Graether 2bdc9b19a2 ui: Added single file mode to code view
* Added navigation to top of code view for iterating references and switching between list and single file mode
* current file name and reference count is shown on top in single file mode
* refactored scrolling to location or line via request system
* added parameters animated and toTop to scrolling system
* refactored class hierarchy and removed unused stuff in list mode
2017-01-09 00:48:20 +01:00
Eberhard Graether 2d9052992c logic: Scroll active definition to top of code view is possible
* don't log hande message
* fixed graph gets animated when using next and previous code reference shortcuts
* fixed message scroll code handling
2016-12-07 14:18:24 +01:00
malte_langkabel 948450e8bd ui: fixed issue that sometimes caused coati to slow down to a halt when activating symbol 2016-11-17 14:54:43 +01:00
malte_langkabel 95859d9605 ui: fixed panning to avoid jumping back to zero on mouse down 2016-10-10 11:37:56 +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
Eberhard Graether cc8ea7c8fb ui: Fixed error locations and messages not matching 2016-08-24 18:04:20 +02:00
Eberhard Graether c269493942 ui: Added scroll speed setting to preferences 2016-08-18 12:12:19 +02:00
Eberhard Graether 6b51c7cfe4 logic: Fixed scrolling to line from plug-in and moved all code view scrolling into QtCodeNavigator 2016-08-10 16:16:32 +02:00
Eberhard Graether d0a063a3b6 ui: Added shortcuts for navigating to next and previous reference in code view
* Added new class QtCodeNavigator between QtCodeView and QtCodeFileList that handles active ids and navigation
* Pass all files as initially collapsed to code view and decide in QtCodeNavigator which ones show content
* Rewrote requesting of active snippet display to top down approach
* Display other locations focused when active location changes
* Show corresponding edges when navigating references
2016-08-09 13:29:14 +02:00
Eberhard Graether 8b770b0c71 ui: Increase code view performance by caching line lengths in QtCodeArea 2016-07-08 14:36:12 +02:00
Eberhard Graether 4e18389d38 ui: Added singleton QtContextMenu with global back and forward actions
* QtContextMenu holds default actions for back and forward
* additional actions can be passed to extend the default menu
* currently used in QtMainWindow and QtCodeArea
* fixed crash on undo when only view actions happened since project load

bug id = 108
2016-06-30 16:49:16 +02:00
Eberhard Graether 5173400b8d logic: Showing annotations in fulltext search results
* new LocationType for errors
* refactored CodeController
* cache active locations in CodeController for later manipulations
2016-06-08 20:33:34 +02:00
Eberhard Graether c6fa1f0969 ui: Defined colors for fulltext search and fulltext code highlights 2016-06-07 15:10:09 +02:00
Andreas Stallinger 6edcd77eb2 logic: fulltextsearch with suffixarray
* delete test.sqlite in storagetestsuite in desstructor
* remove new and delete from suffixarray
* case sensitive fts
* fixed fulltext results annotated like errors
* lazy suffix array building
* fulltextsearch folder added
* go back too branch without _publish
* suffixarray working
* logic: Improved code view performance
2016-06-07 08:49:34 +02:00