Commit Graph
2178 Commits
Author SHA1 Message Date
Eberhard Graether 9e06323ba7 data: Fixed duplicate rows in database 2017-08-02 17:30:17 +02:00
Eberhard Graether e089900571 data: Fixed uppercase CXX header files saved in lowercase & remove symlinks from FilePath when canonicalizing (issue #437)
bug id = 437
2017-08-02 14:19:44 +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
malte_langkabel 91969770d5 logic: sort and shuffle indexer commands for performance
Before indexing the indexer commands are sorted according to byte size of the
indexed source file. Afterwards the list is split into two halves and each half
is shuffled. This ensures that bigger files tend to be indexed first, so that
no indexer thread runs idle at the end of indexing.
2017-08-02 12:03:53 +02:00
malte_langkabel 2c6322631b build: fixed QOverload syntax for Visual Studio compiler 2017-08-02 11:51:56 +02:00
Eberhard Graether 63c81e27a2 ui: Window focus event sent when application changes state instead of main window
* Fixes tooltip disappearing when clicked on Windows
2017-08-01 19:15:10 +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
malte_langkabel 8d68203727 src: add missing include for Visual Studio compiler 2017-08-01 11:17:12 +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
malte_langkabel 01b1e0d6f1 logic: add type information of variable decl to name hierarchy
* implemented this feature for both, CXX and Java
* adjusted tests to reflect these changes
* added NameElement and NameHierarchy to Java code
* created more specialized JavaDeclName classes: JavaFunctionDeclName and JavaVariableDeclName
* implemented recording static modifier for Java methods and variables

fortune cookie message = You will enjoy true success in whatever you do.
2017-07-28 09:12:32 +02:00
malte_langkabel 2e117c4b6d build: switch to Maven configuration for JavaIndexer 2017-07-27 13:16:57 +02:00
malte_langkabel 3f19a0393a logic: fix issue where Maven project did not show any source files (issue #428)
* fixed extraction of generated effective-pom from command line output
2017-07-26 14:41:15 +02:00
malte_langkabel 3a192c8089 ui: clean indexed header path selection
* for CDB projects the selection dialog for the indexed header paths now discards all paths that are subdirectories of other entries
2017-07-24 17:08:43 +02:00
malte_langkabel f2c7ecbbdf ui: add progress dialog for "show source files" button 2017-07-24 14:20:26 +02:00
malte_langkabel bec7aa4aac logic: add include path validation to project settings 2017-07-24 09:20:08 +02:00
Eberhard Graether faae66b304 ui: Fixed search related issues
* select elements when clicking into search bar
* fixed crash and single file mode clearing when fulltext search yields no results
2017-07-20 15:55:31 +02:00
Andreas Stallinger 0455cb33f5 test: fix float tests in Vector2TestSuite 2017-07-18 16:16:17 +02:00
malte_langkabel cad595a32c logic: add storage transformation to merge anonymous types and the respective typedef
* moved storage related classes to data/storage folder
* implemented recording c++ unions as NODE_UNION instead of just using NODE_TYPE
* added transformation to merge anonymous classes/structs/enums/unions and typedef nodes
* added tests for this transformation
* added setting for enabling/disabling this transformation
2017-07-18 15:14:43 +02:00
Eberhard Graether 7bc89acdf5 src: Updated to clang 4.0.1 2017-07-18 12:11:26 +02:00
Eberhard Graether 1982f4459a ui: Don't show start window when opening project with double-click
* added menu option to show start window
2017-07-17 17:07:01 +02:00
Eberhard Graether 4bb88a51b7 ui: Show license type label in title bar: "Sourcetrail [trial, test, non-commercial]" 2017-07-17 15:31:06 +02:00
Andreas Stallinger 83e5497a18 fix: missing include memory for linux build 2017-07-17 14:38:03 +02:00
Eberhard Graether e57e51a839 ui: Fixed class expand toggle shown in overview and namespace lists 2017-07-17 00:16:41 +02:00
Eberhard Graether 9d0b86ad98 logic: Show inheritance edges between parents of active symbol and other visible symbols (issue #167)
* add inheritance edges between parents of active symbol and other visible symbols
* add dashed inheritance edges when symbols are no direct decendants
* inheritance edges are also respected in layouting, putting base/derived classes in the correct top/bottom spot now

bug id = 167
2017-07-16 18:40:59 +02:00
Eberhard Graether 9a36d48d1e src: Improved project loading performance
* faster hierarchy cache building
* cache symbol definition kinds
* don't request files when caches can be used
* save SearchEdge by starting character in SearchNode to avoid iteration when adding to SearchIndex
* fixed disabled state of some search buttons
2017-07-15 15:21:08 +02:00
Eberhard Graether da756c9a4c src: Improved code view performance
* fixed slow annotation hovering
* improved retrieving source locations for whole files
2017-07-13 02:25:54 +02:00
Eberhard Graether 997f952b86 ui: Show recent bookmarks in bookmarks menu (issue #414)
bug id = 414
2017-07-12 15:01:14 +02:00
Eberhard Graether 77e748a5e1 ui: Fixed refernces shown and buttons wrong for file activation in snippet mode 2017-07-12 13:52:56 +02:00
malte_langkabel 9bcde198a5 logic: add auto-detection for JRE System Library
* fixed error columns are not saved to database correctly
* implemented setting JRE System Library paths in app settings
* added detector for JRE System Library that not use Java Runtime specified in AppSettings but detects JRE on its own by reusing the JavaPathDetector.
* added option to use JRE System Library in JavaSourceGroup
2017-07-10 18:12:52 +02:00
malte_langkabel 6ac340f602 logic: increase speed of inserting into persistent storage
* doubled storage injection speed by using precompiled sqlite statements.
2017-07-03 19:00:49 +02:00
malte_langkabel 31b9b74ca8 logic: improve database clearing performance
* added indices that speed up clearing elements
* enclosed clearing in transaction
2017-06-29 13:45:14 +02:00
malte_langkabel a66daa9ac0 build: reduce boost includes in FilePath.h 2017-06-28 17:50:51 +02:00
Eberhard Graether 99ea3b2a25 ui: Fixed zoom issues
* Show font size change as number not percent
* Show current graph zoom in label next to zoom buttons
* Fixed search blocks not properly updated when fonts size changes
2017-06-28 16:38:40 +02:00
Eberhard Graether a2554a9f75 ui: Show progress dialog for maven source group within parent window 2017-06-28 15:43:20 +02:00
malte_langkabel 8370caf705 logic: add logging for jars used by maven project setup 2017-06-28 11:55:23 +02:00
Eberhard Graether 293a2a84c3 ui: Added Edit Project button below error table
* use leading uppercase letter in Log View UI elements
2017-06-27 14:21:48 +02:00
Andreas Stallinger 68affaa4bc fix: fix putenv in utilityMaven
* include cstdlib
* const cast to char*
2017-06-27 12:32:57 +02:00
Andreas Stallinger ea047cde78 Update utilityMaven.cpp 2017-06-27 10:17:51 +00:00
malte_langkabel 5d35455492 logic: Maven fixes regarding JAVA_HOME variable (issue #405)
* setting value for JAVA_HOME variable automatically before executing Maven if not found in system environment.
* show error dialog when maven encounters an error while fetching source directories from pom
* added logging when fetching maven source directories from pom
2017-06-27 11:41:44 +02:00
malte_langkabel 70b24f9097 ui: fix typo in info dialog 2017-06-21 12:16:01 +02:00
Eberhard Graether ad3169c3c0 src: Fixes for release
* clear references count when clearing code view
* fixed scrolling to character in overview lists
* fixed aggregation activation shown in history menu
* fixed same snippet being added twice
* Sourcetrail [Trial] as window title
* fixed undoing trail expand will always reactivate symbol
2017-06-20 15:18:30 +02:00
Andreas Stallinger 81b88df3a2 gui: show eula on non windows versions 2017-06-20 14:45:52 +02:00
Eberhard Graether 738e13a664 resource: Updated EULA 2017-06-20 13:06:06 +02:00
Eberhard Graether d7fbaede79 src: Fixed crash when using shortcuts with focus on the graph (issue #390)
bug id = 390
2017-06-20 12:53:13 +02:00
Eberhard Graether 652a55b4fb logic: Fixed saving project name to ProjectSettings also sets project location to '/' 2017-06-19 23:38:39 +02:00
Eberhard Graether 05c2878eec src: Fixed old license partly shown and new placeholder in license dialog 2017-06-19 23:08:42 +02:00
malte_langkabel e6c5ffa97a logic: apply some shared memory fixes
* corrections in estimating size of intermediate indexer commands
* avoided clearing and refilling the indexed files list every time files get added
* changed memory growth policy of InterprocessIndexingStatusManager to double allocated memory when it gets full
* added potential to grow memory when adding crashed file paths
2017-06-19 16:24:01 +02:00
malte_langkabel fba8dadee7 build: fix license compile errors on windows 2017-06-19 16:15:02 +02:00
Andreas Stallinger e953b35c62 logic: license format 2017-06-13 21:23:18 +02:00