Commit Graph

1398 Commits

Author SHA1 Message Date
Lu Zhen 621ed4f074 tag: update to 1.4.1
Log:
Change-Id: I7857df17f655f8d50e7b1afa87a551836440b3f4
2025-01-14 10:35:46 +08:00
Liu Zhangjian 30c13a0f68 fix: [session] Issues of session name
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-299557.html
Bug: https://pms.uniontech.com/bug-view-299555.html
Bug: https://pms.uniontech.com/bug-view-299391.html
2025-01-14 10:33:56 +08:00
Lu Zhen 2b9621cd02 fix: build faild
Log:
Change-Id: I42f7a848456c40b0952b98ecc93fa21310c4ff96
2025-01-13 12:37:39 +08:00
Liu Zhangjian 6355a0e2c0 fix: [python] Package not updated
The pip is not installed

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298501.html
2025-01-09 15:53:28 +08:00
Liu Zhangjian 4baf1449a1 fix: [serach] The replacement information is displayed incorrectly
as title

Log: fix issue
2025-01-07 18:00:02 +08:00
Liu Zhangjian 20ee7a063b chore: Update translations
as title

Log: update translations
2025-01-07 16:16:05 +08:00
Zhang TingAn 99ada3380a fix: [Ai] issues of input-edit-widget
1.reference dialog can not hide normally
2.Optimize the display and hiding of the `@` symbol

Log: fix bugs

Bug: https://pms.uniontech.com/bug-view-298457.html
    https://pms.uniontech.com/bug-view-298349.html
2025-01-07 15:48:19 +08:00
Liu Zhangjian d7c500d4c1 fix: [search functionality] Resolve issue with empty editor content
This commit addresses a bug where the search functionality would not
work when the editor content was empty. The following changes were made:

- Changed the `channelData` type to `std::optional<QString>` to
  handle cases where there may not be any data to send.

These changes ensure that the search operation can gracefully handle
empty input, improving the overall robustness of the search feature.

Log: Fix search issue when editor content is empty
Bug: https://pms.uniontech.com/bug-view-298499.html
2025-01-07 15:46:52 +08:00
Zhang TingAn ef0d2c1c88 fix: [AI] Code review functionality not working
leads to long-term unresponsiveness

Log: as title

Bug: https://pms.uniontech.com/bug-view-298309.html
2025-01-07 15:46:27 +08:00
Liu Zhangjian 5f7068aadf fix: [mainwidow] The software page is not fully displayed
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298035.html
2025-01-07 09:55:18 +08:00
Zhang TingAn 55fabff183 fix: [Ai] `add comment` function will delete selecetd code
Log: as title

Bug: https://pms.uniontech.com/bug-view-298313.html
2025-01-07 09:53:03 +08:00
Liu Zhangjian 99d5914cb3 fix: [project] Project information could not be obtained correctly
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298495.html
2025-01-06 16:36:11 +08:00
Liu Zhangjian 64af9a3d45 fix: Incorrect language modification prompt
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298047.html
2025-01-06 16:34:06 +08:00
Zhang TingAn eb9bf5fbc7 feat: [aiManager] add interface
1.event when LLM changed
2.modelname
3.LLM`s idle state to description LLM can send request or not

Log: as title
2025-01-06 16:33:00 +08:00
Zhang TingAn 542dc99f55 fix: [debugger] Error in displaying QList member variables
Log: as title
2025-01-06 16:30:47 +08:00
Liu Zhangjian cebb43fa36 fix: [session] Optimized the display of session name
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298387.html
2025-01-06 16:30:24 +08:00
Liu Zhangjian 645bb7af72 fix: [DirectoryAsynParse] Program crash
QStandItem is not thread-safe, and operating on the QStandItem object in the thread causes the program to crash

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298511.html
2025-01-06 13:49:16 +08:00
Liu Zhangjian e693d5e5e7 fix: [python] Package not updated when switching interpreter
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298501.html
2025-01-06 13:38:01 +08:00
Liu Zhangjian 53f11380b3 fix: [session] Some scenes are not translated
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-298385.html
2025-01-06 13:36:16 +08:00
Liu Zhangjian e7eda4178f fix: [notify] Rewrite notification item delegate with paint method
Refactored notification item delegate to use direct painting instead of widget-based
approach for better performance and visual consistency. Key changes include:

- Removed widget-based item delegate implementation
- Added custom paint methods for background, icon, text and buttons
- Implemented mouse event handling for close button and action buttons
- Added text layout handling with proper wrapping and elision
- Introduced constants for layout metrics and spacing
- Added new roles and data structure for action button info

The new implementation provides smoother scrolling and consistent styling while
reducing memory usage by eliminating widget creation for each item.

Log: Refactor notification item delegate to use paint-based rendering
Bug: https://pms.uniontech.com/bug-view-272445.html
2025-01-03 09:46:07 +08:00
Liu Zhangjian 8fd2ff2a6d fix: [UI] Change the background color to active color
as title

Log: fix bug
Bug: https://pms.uniontech.com/bug-view-272421.html
2024-12-31 14:28:01 +08:00
Liu Zhangjian 3d7d6624ac fix: [session] Add auto-close dialog after session switch
Enhance session management UX by automatically closing the session dialog
when user switches to a different session. This improvement streamlines
the workflow by:

- Adding new sessionSwitched signal in SessionListView
- Connecting dialog close action to session switch event
- Maintaining clean state transitions during session changes

Log: Add auto-close behavior to session dialog after session switch
Bug: https://pms.uniontech.com/bug-view-298077.html
2024-12-31 14:22:50 +08:00
Liu Zhangjian 8ea30cc4fc feat: [python] Added pip source configuration
as title

Log: pip source
2024-12-31 14:22:11 +08:00
Zhang TingAn 983b4997c3 fix: [cmake] Unable to save changes while in edit mode
Log: as title
2024-12-25 10:53:04 +08:00
Lu Zhen 6dfce5731d tag: update to 1.4.0
Log: tag update
Change-Id: I2572d783802c32d8056b0c43e060d610e2ecd882
2024-12-24 10:17:00 +08:00
Lu Zhen 8b8d204f48 chore: revert ai option
Log:
Change-Id: I55e992d950c4d081d9acb348fa9a492344089ba7
2024-12-23 10:59:00 +08:00
Lu Zhen 90aea36125 fix: include missing header
Log:
Change-Id: I9e4000a8c580289f65aa3df54b0860118e409b7f
2024-12-20 17:46:31 +08:00
Zhang TingAn 8ba1660c72 fix: issues of build
When compiling with the project, do not search for duc-xx libraries.

Log: as title
2024-12-20 13:42:14 +08:00
Lu Zhen 72282e6146 chore: remove unused comment
Log:
Change-Id: I88ba01c3426bbb5090ac5f1e666f2522d53837d2
2024-12-20 10:26:58 +08:00
Zhang TingAn b4a33eb6ed fix: Display the directory without selecting the file
Log: as title
2024-12-20 10:15:43 +08:00
Zhang TingAn 87c2c03e55 feat: [AI] support adding multi LLM
optimizing existing features

Log:as title
2024-12-20 10:15:43 +08:00
Zhang TingAn 6a569fe4f3 fix: Display the directory without selecting the file
Log: as title
2024-12-19 19:21:35 +08:00
Liu Zhangjian d6bffe8f64 fix: [python] Python interpreter
Some python interpreters are not visible in the `Project Properties Dialog`

Log: fix issue
2024-12-17 14:18:12 +08:00
Liu Zhangjian a7c4512002 chore: Update translatoins
as title

Log: update translations
2024-12-17 10:54:02 +08:00
Liu Zhangjian 1227856609 chore: Update translations
as title

Log: Update translations
2024-12-17 10:10:22 +08:00
Liu Zhangjian fe099a2c06 refactor: [project] Improve directory parsing and expand state management
Refactored directory parsing implementation to improve performance and
maintainability. Major changes include:

- Replaced manual directory traversal with QDirIterator for better performance
- Added proper sorting of items (directories first, then case-insensitive)
- Implemented expand state persistence for project tree nodes
- Improved file monitoring and dynamic updates
- Cleaned up role definitions and moved them to Project namespace
- Streamlined signal/slot connections for item updates

Log: Refactored directory parsing and project tree management
2024-12-17 10:08:20 +08:00
Liu Zhangjian 083720a457 fix: [find] improve search result display and parsing
Enhance search result handling and display in multiple aspects:
- Add content truncation for large search results to prevent parsing issues
- Optimize search result text display with proper trimming and formatting
- Improve regex pattern for parsing search results with non-greedy matching
- Add content side length limit for better readability
- Refactor result model to handle data updates more efficiently

The changes focus on improving stability and user experience when handling large search results, while maintaining performance.

Log: fix search result display and parsing issues
2024-12-11 17:35:06 +08:00
Zhang TingAn 9ebd463287 fix: [debugger] crash when debugging
Log: as title
2024-12-10 09:38:57 +08:00
Liu Zhangjian 7d53433d88 refactor: [project] Optimize project tree icon loading and parsing
Refactored project tree icon loading mechanism and parsing process to improve
performance and maintainability:

- Moved icon loading from individual items to ProjectModel data() method
- Added ProjectItemRole enum for icon name and file path roles
- Replaced direct icon setting with role-based data storage
- Implemented stop mechanism for cmake async parsing
- Moved cmake parser to separate thread for better responsiveness
- Unified parsing state role usage across project types
- Removed redundant icon loading code from various parsers
- Added sorting capability to project tree

Log: Optimize project tree icon loading and parsing mechanism
2024-12-06 14:08:33 +08:00
Liu Zhangjian 5430fa6efe fix: [search] The background color position is incorrect
as title

Log: fix issue
2024-12-04 09:45:53 +08:00
Lu Zhen 2091f3aad7 fix: build failed missing header
Log:
Change-Id: I7ea9433a154763891c309be4eb75f9fcf8493c64
2024-12-03 10:21:53 +08:00
Liu Zhangjian f2b3b8a014 fix: The compilation failed
as title

Log: Fix compilation errors
2024-12-03 09:49:16 +08:00
Liu Zhangjian c0f3f6ce87 fix: [fontcolorwidget] Fix font selection and display issues
Fixed font selection and display issues in FontColorWidget by:
- Making font combo box non-editable to prevent invalid font selections
- Using currentText() instead of currentFont().family() for more reliable
font name retrieval
- Ensuring consistent font name handling across the widget

The changes improve font selection reliability and prevent potential
issues with font family name mismatches.

Log: Fix font selection and display issues in FontColorWidget
2024-12-03 09:49:05 +08:00
Liu Zhangjian 1efce339e8 feat: [editor] Add encoding detection and conversion support
Add encoding detection and conversion functionality to the editor, including:

- Integrate chardet/uchardet/icu libraries for encoding detection
- Add GB18030-2022 encoding support with special character handling
- Implement encoding conversion between different character sets
- Add encoding selection UI in status bar
- Support reload file with different encodings
- Add encoding configuration file with supported encoding list

The changes improve text file handling by:
- Automatically detecting file encodings on open
- Supporting manual encoding selection via UI
- Preserving encoding when saving files
- Handling special cases for Chinese encodings
- Providing better user feedback about current encoding

Log: Add encoding detection and conversion support to editor
2024-12-02 17:52:21 +08:00
Liu Zhangjian fd5aeaecfe refactor: [toolchain] migrate toolchain detection from shell to python
Refactored the toolchain detection mechanism by replacing the shell script
with a Python implementation for better maintainability and extensibility.

- Replaced toolchain.sh with main.py as the detection script
- Updated file paths and script execution logic in toolchain.cpp

Log: refactor toolchain detection implementation
2024-12-02 10:07:53 +08:00
Zhang TingAn 1e206c5dc3 fix: [builder] Double-clicking the error item did not open the file where the error occurs.
Log: as title
2024-11-27 09:50:20 +08:00
Zhang TingAn 54e422d866 fix: [codegeex] inlinchat can`t work when file language is unknown
set language to file`s suffix when unable getting file language

Log: as title
2024-11-27 09:50:20 +08:00
Liu Zhangjian 34b700c0d3 fix: [session] improve session management and UI interaction
- Fix session clone operation by using correct cloneSession instead of rename
- Improve session deletion handling with keyboard support
- Optimize session list widget removal logic
- Add session created signal and connection
- Change project tree clear method name to closeAllProjects for clarity
- Add UI switch to edit mode when loading session
- Only save session when not in default virgin state

Log: fix session management issues and enhance user interaction
2024-11-26 20:16:41 +08:00
Liu Zhangjian f5c081acd4 refactor: [recent] Refactor recent display widget and session management
Refactored recent display widget to use a unified list view for both projects and documents, improving code organization and reducing duplication.  Major changes include:

- Combined project and document views into single RecentListView
- Improved session management with dirty state tracking
- Refactored session item widget to use animation for expand/collapse
- Updated session service interface for better state handling
- Simplified recent display widget UI layout and event handling

Log: Refactor recent module UI components and session management
2024-11-26 17:52:09 +08:00
Liu Zhangjian 83fe5cc354 feat: [session] add session manager to save/restore workspace state
Implement session management functionality to persist and restore workspace
state across IDE sessions. This includes:

- Add SessionManager class to handle session operations
- Save/restore opened files and current file in editor
- Save/restore breakpoints with conditions in debugger
- Save/restore project list and active project
- Add session events for coordination between components
- Integrate session loading/saving with core components

The session manager provides a centralized way to persist workspace state
and restore it when reopening projects.

Log: add session manager to save and restore workspace state
2024-11-26 17:14:43 +08:00