From b1f9b08aef8cb63679c09488810c47d4b7f98fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lio=20Guilherme?= Date: Wed, 2 Oct 2024 23:19:00 +0100 Subject: [PATCH] Change the order of insert and delete rows in Grid Editor rows context menu (#2894) --- CHANGELOG.adoc | 6 +- README.adoc | 2 +- src/robotide/application/CHANGELOG.html | 86 ++++++++++++------------ src/robotide/application/releasenotes.py | 3 +- src/robotide/editor/kweditor.py | 8 +-- src/robotide/version.py | 2 +- 6 files changed, 57 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 8947a10b9..a0133451c 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,7 +7,11 @@ The format is based on http://keepachangelog.com/en/1.0.0/[Keep a Changelog] and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioning]. -// == https://github.com/robotframework/RIDE[Unreleased] +== https://github.com/robotframework/RIDE[Unreleased] + +=== Changed + +- Changed the order of insert and delete rows in Grid Editor rows context menu. == https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1b1.rst[2.1b1] - 2024-09-21 diff --git a/README.adoc b/README.adoc index cc211dd68..d7ff2cac3 100644 --- a/README.adoc +++ b/README.adoc @@ -40,7 +40,7 @@ Likewise, the current version of wxPython, is 4.2.2, but RIDE is known to work w `pip install -U robotframework-ride` -(3.8 <= python <= 3.12) Install current development version (**2.1dev83**) with: +(3.8 <= python <= 3.12) Install current development version (**2.1dev84**) with: `pip install -U https://github.com/robotframework/RIDE/archive/master.zip` diff --git a/src/robotide/application/CHANGELOG.html b/src/robotide/application/CHANGELOG.html index 9b9eb3e9e..68f997994 100644 --- a/src/robotide/application/CHANGELOG.html +++ b/src/robotide/application/CHANGELOG.html @@ -1,15 +1,17 @@ Changelog

Changelog


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog -and this project adheres to Semantic Versioning.

1. 2.1b1 - 2024-09-21

1.1. Added

  • +and this project adheres to Semantic Versioning.

    1.1. Changed

    • +Changed the order of insert and delete rows in Grid Editor rows context menu. +

    2. 2.1b1 - 2024-09-21

    2.1. Added

    • Added color to Test Runner Console Log final output, report and log since RF v7.1rc1.
    • Added Korean language support for UI, experimental.
    • Added option ``caret style`` to change insert caret to block or line in Text Editor, by editing ``settings.cfg``. The color of the caret is the same as setting and will be adjusted for better contrast with the background. -

    1.2. Changed

    • +

    2.2. Changed

    • Allow to do auto-suggestions of keywords in Text Editor without a shortcut, if you want to enable or disable this feature you can config in Tools -> Preferences -> Text Editor -> Enable auto suggestions. -

    1.3. Fixed

    • +

    2.3. Fixed

    • Fixed validation of multiple arguments with default values in Grid Editor.
    • Fixed on Text Editor when Saving the selection of tests to run in Test Suites (Tree) is cleared. @@ -19,7 +21,7 @@ Fixed delete variable from Test Suite settings remaining in Project Explorer.
    • Fixed obsfuscation of Libraries and Metadata panels when expanding Settings in Grid Editor and Linux systems. -

    2. 2.1a3 - 2024-07-22

    2.1. Added

    • +

    3. 2.1a3 - 2024-07-22

    3.1. Added

    • Added support for Setup in keywords, since Robot Framework version 7.0.
    • Added support for new VAR marker, since Robot Framework version 7.0. @@ -60,7 +62,7 @@ Tooltips for the fields are always shown in English.
    • Colorization for language configured files is working in Text Editor. -

    2.2. Fixed

    • +

    3.2. Fixed

    • Fixed multiline variables in Variables section. In Text Editor they are separated by … continuation marker. In Grid Editor use | (pipe) to separate lines.
    • @@ -75,7 +77,7 @@ Fixed wrong continuation of long chains of keywords in Setups, Teardowns or Documentation
    • Fixed New User Keyword dialog not allowing empty Arguments field -

    2.3. Changed

    • +

    3.3. Changed

    • Improved release packaging of RIDE, by using entry_points in setuptools configuration.
    • Parsing of clipboard content to separate by cells in Grid Editor. NOTE: Need to Apply Changes in Text Editor to be effective. @@ -83,11 +85,11 @@ Improved selection of items from Tree in Text Editor. Now finds more items and selects whole line.
    • Changed output in plugin Run Anything (Macros) to allow Zoom In/Out, and Copy content. -

    2.4. Removed

    • +

    3.4. Removed

    • Removed support for HTML file format (obsolete since Robot Framework 3.2)
    • Removed support for old Python versions, 3.6 nd 3.7. -

    3. 2.0.8.1 - 2023-11-01

    3.1. Added

    • +

    4. 2.0.8.1 - 2023-11-01

    4.1. Added

    • Added auto update check when development version is installed
    • Added menu option ``Help→Check for Upgrade`` which allows to force update check and install development version @@ -106,7 +108,7 @@ Added variables creation shortcuts (``Ctrl-1,2,5``) to fields Arguments in Grid Editor
    • Added support for JSON variables, by using the installed Robot Framework import method -

    3.2. Fixed

    • +

    4.2. Fixed

    • Fixed escaped spaces showing in Text Editor on commented cells
    • Fixed resource files dissapearing from Project tree on Windows @@ -124,7 +126,7 @@ Position of cursor in Text Editor auto-suggestions when line contains multibyte characters
    • Drag and drop of variables defined with comments between resource files -

    3.3. Changed

    • +

    4.3. Changed

    • Improved keywords documentation search, by adding current dir to search
    • Improved Move up/down, ``Alt-UpArrow``/``Alt-DownArrow`` in Text Editor, to have proper indentation and selection @@ -140,14 +142,14 @@ Improved keyword ``Find Usages`` to return more matches. Fails to find mixed spaces and ``_``
    • In Grid Editor ``Ctrl-Shift-4`` now replaces escaped spaces ``\\ `` by spaces -

    3.4. Removed

    -

    4. 2.0.7 - 2023-08-13

    4.1. Added

    • +

    4.4. Removed

    -

    5. 2.0.7 - 2023-08-13

    5.1. Added

    • Added indication of matching brackets, ``()``, ``{}``, ``[]``, in Text Editor
    • Added context menu to RIDE tray icon. Options Show, Hide and Close
    • Added sincronization with Project Explorer to navigate to selected item, Test Case, Keyword, Variable, in Text Editor Note: This feature is working fine in Fedora 38, but not on Windows and macOS. -

    4.2. Fixed

    • +

    5.2. Fixed

    • Fixed non syncronized expanding/collapse of Settings panel in Grid Editor, on Linux
    • Fixed not working the deletion of cells commented with ``\# `` in Grid Editor with ``Ctrl-Shift-D`` @@ -161,17 +163,17 @@ Fixed title of User Keyword in Grid Editor always showing ``Find Usages`` instead of the keyword name
    • Fixed renaming keywords when they were arguments of ``Run Keywords`` in Setups and Teardowns -

    4.3. Changed

    • +

    5.3. Changed

    • Improve Text Editor auto-suggestions to keep libraries prefixes. -

    5. 2.0.6 - 2023-06-10

    5.1. Added

    • +

    6. 2.0.6 - 2023-06-10

    6.1. Added

    • Added boolean parameter ``filter newlines`` to Grid Editor with default ``True``, to hide or show newlines in cells -

    5.2. Changed

    • +

    6.2. Changed

    • Changed ``tasks.py`` to test ``utest/application/test_app_main.py`` isolated from the other tests
    • Improve auto-suggestions of keywords in Grid Editor by allowing to close suggestions list with keys ARROW_LEFT or ARROW_RIGHT
    • Improve Text Editor auto-suggestions by using: selected text, text at left or at right of cursor -

    6. 2.0.5 - 2023-05-08

    6.1. Added

    • +

    7. 2.0.5 - 2023-05-08

    7.1. Added

    • Added ``FOR`` scope markers (``IN``, ``IN RANGE``, ``IN ENUMERATE``, ``IN ZIP``) to auto-complete list
    • Added support to read environment variable ``ROBOT_VERSION`` to apply some conditions. @@ -179,15 +181,15 @@ Added note on Test Timeout that timeout message is not supported since Robot v3.0.1
    • Added the note, Colors will be active after next RIDE restart. to the Preferences of Test Runner. -

    6.2. Changed

    • +

    7.2. Changed

    • Changed alias marker on library imports to consider variable ``ROBOT_VERSION``. If version is lower than 6.0, uses ``WITH NAME``, otherwise will use ``AS`` -

    7. Fixed

    • +

8. Fixed

  • Fixed auto-indent on block commands in Text Editor -

8. 2.0.3 - 2023-04-16

8.1. Changed

  • +

9. 2.0.3 - 2023-04-16

9.1. Changed

  • Allow to do auto-suggestions of keywords in Grid Editor without a shortcut, if you want to enable or disable this feature you can config in Tools-> Preferences -> Grid Editor -> Enable auto suggestions
  • Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows) -

9. Fixed

  • +

10. Fixed

  • Fixed missing auto-enclosing when in Cell Editor in Linux
  • Fixed RIDE will crash when using third party input method in Mac OS @@ -201,7 +203,7 @@ Fixed not using defined color for help and HTML content
  • Fixed missing newlines in sections separation -

10. 2.0 - 2023-03-01

10.1. Added

  (2.0rc1 - 2023-02-26)
+

11. 2.0 - 2023-03-01

11.1. Added

  (2.0rc1 - 2023-02-26)
 - Minimal support to accept `*** Comments ***` sections (unfinished code)
 - Added insert and delete cells to Text Editor, by using ``Ctrl-Shift-I`` and ``Ctrl-Shift-D``
 - Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``
@@ -254,13 +256,13 @@
 - Added enclosing text in Text Editor or selected text with certain symbols
 - Added enclosing text in Grid Editor or selected text with certain symbols
 - Added 8s timer to shortcut creation dialog on install
-- Added process memory limit on Messages Log

10.2. Removed

  (2.0b2 - 2022-09-05)
+- Added process memory limit on Messages Log

11.2. Removed

  (2.0b2 - 2022-09-05)
 - Removed ``robotframeworklexer`` dependency and local copy
 - Removed alignment flag on grid cell JSON Editor (Ctrl-Shift-J)
 - Removed moving to keyword/variable definition when doing Double-Click in grid cell
   (2.0b1 - 2020-07-26)
 - Python 2.7 support
-- wxPython/wxPhoenix version conditioning

10.3. Changed

  (2.0b3 - 2023-01-15)
+- wxPython/wxPhoenix version conditioning

11.3. Changed

  (2.0b3 - 2023-01-15)
 - Hiding items in Test Suites explorer with names starting with #
 - Disabled the Close button on the Test Suites explorer
   This was causing not being possible to restore it, unless editing the settings.cfg file.
@@ -289,7 +291,7 @@
 - Changed icon background to white
 - Made Project Tree and File Explorer panels, Plugins.
 - wx.NewId() to wx.NewIdRef()
-- Separated AppendText for Messages Log

10.4. Fixed

  (2.0rc1 - 2023-02-26)
+- Separated AppendText for Messages Log

11.4. Fixed

  (2.0rc1 - 2023-02-26)
 - Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor
   (2.0b3 - 2023-01-15)
 . Fixed low performance when opening large projects
@@ -363,7 +365,7 @@
 - Fixed Settings editor
 - Fixed blank Edit screen
 - Fixed Runner arguments parsing
-- Fixed Runner Log window Chinese and Latin encoding chars on Windows

11. 2.0rc1 - 2023-02-26

11.1. Added

  • +- Fixed Runner Log window Chinese and Latin encoding chars on Windows

12. 2.0rc1 - 2023-02-26

12.1. Added

  • Minimal support to accept *** Comments *** sections (unfinished code)
  • Added insert and delete cells to Text Editor, by using ``Ctrl-Shift-I`` and ``Ctrl-Shift-D`` @@ -371,30 +373,30 @@ Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``
  • Added insert and delete rows to Text Editor, by using ``Ctrl-I`` and ``Ctrl-D`` -

11.2. Removed

11.3. Changed

11.4. Fixed

  • +

12.2. Removed

12.3. Changed

12.4. Fixed

  • Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor -

12. 2.0b3 - 2023-01-15

12.1. Added

  • +

13. 2.0b3 - 2023-01-15

13.1. Added

  • Added swap row up, by using ``Ctrl-T``
  • Added commenting/uncommenting of content with ``\# ``, by using ``Ctrl-Shift-3`` and ``Ctrl-Shift-4``
  • Added support for editing .robot and .resource files with content before sections -

12.2. Removed

  • +

13.2. Removed

  • None -

12.3. Changed

  • +

13.3. Changed

  • Hiding items in Test Suites explorer with names starting with #
  • Disabled the Close button on the Test Suites explorer This was causing not being possible to restore it, unless editing the settings.cfg file. Other reason was to prevent user to closing it, after detaching the panel, and re-attaching, which has a bug making the Tree not visible. -

12.4. Fixed

  1. +

13.4. Fixed

  1. Fixed low performance when opening large projects

    • Fixed comment and uncomment in Grid Editor when cells contain more than one variables assignement
    • Fixed console log stopping to output certain characters, like chinese and latin -

13. 2.0b2 - 2022-09-05

13.1. Added

  • +

14. 2.0b2 - 2022-09-05

14.1. Added

  • Added menu entry at Help → Offline Change Log to view this file on disk
  • Added skipped tests counter and corresponding colored icon on Project tree @@ -462,13 +464,13 @@ When editing, Ctrl-Home and Ctrl-End move cursor to start and end of cell content respectively.
  • Added Del key to clear Grid Editor cell content when in navigation mode (clear like doing Ctrl-X) -
  • 13.2. Removed

    • +

    14.2. Removed

    • Removed ``robotframeworklexer`` dependency and local copy
    • Removed alignment flag on grid cell JSON Editor (Ctrl-Shift-J)
    • Removed moving to keyword/variable definition when doing Double-Click in grid cell -

    13.3. Changed

    • +

    14.3. Changed

    • Unit tests to use ``pytest`` and removed ``nose`` dependency. Support for Python 3.10 at unit test level.
    • Prevent expanding Tests and change selection on Project tree (when right-clicking) @@ -498,7 +500,7 @@ Changed Enter button in navigation mode to start editing cell, and to move to right cell when in edit mode
    • Performance improvements for loading large test suites -

    13.4. Fixed

    • +

    14.4. Fixed

    • Fixed missing menu icons on Linux (was working on Windows)
    • Fixed removal of animation in Project tree when test run is interrupted @@ -571,7 +573,7 @@ Fixed RIDE startup crash when Tree or File Explorer plugins use opened=False setting
    • Fixed error occurring when deleting test cases on Tree -

    14. 2.0b1 - 2020-07-26

    14.1. Added

    • +

    15. 2.0b1 - 2020-07-26

    15.1. Added

    • Added CHANGELOG.adoc
    • Added ignoring log.html and report.html on reporting HTML test suites @@ -589,11 +591,11 @@ Added 8s timer to shortcut creation dialog on install
    • Added process memory limit on Messages Log -

    14.2. Removed

    • +

    15.2. Removed

    • Python 2.7 support
    • wxPython/wxPhoenix version conditioning -

    14.3. Changed

    • +

    15.3. Changed

    • Improved filesystem changes detection, with a confirmation dialog to reload workspace
    • Changed dependency on wx.Window on tree panel @@ -607,7 +609,7 @@ wx.NewId() to wx.NewIdRef()
    • Separated AppendText for Messages Log -

    14.4. Fixed

    • +

    15.4. Fixed

    • Fixed editing cells in Grid Editor on wxPython 4.1
    • Fixed not saving file after deleting text in Text Editor @@ -667,12 +669,12 @@ Fixed Runner arguments parsing
    • Fixed Runner Log window Chinese and Latin encoding chars on Windows -

    15. 1.7.4.2 - 2020-01-20

    15.1. Added

    • +

    16. 1.7.4.2 - 2020-01-20

    16.1. Added

    • wxPython version locked up to 4.0.7.post2. -

    15.2. Removed

    • +

    16.2. Removed

    • None -

    15.3. Changed

    • +

    16.3. Changed

    • None -

    15.4. Fixed

    • +

    16.4. Fixed

    • None
    diff --git a/src/robotide/application/releasenotes.py b/src/robotide/application/releasenotes.py index c8932682b..385afe37e 100644 --- a/src/robotide/application/releasenotes.py +++ b/src/robotide/application/releasenotes.py @@ -200,6 +200,7 @@ def set_content(self, html_win, content):

    New Features and Fixes Highlights