Skip to content

Commit 320f02f

Browse files
Version 2.0.8.1
1 parent b01a3b2 commit 320f02f

File tree

7 files changed

+183
-19
lines changed

7 files changed

+183
-19
lines changed

CHANGELOG.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni
88

99
// == https://github.com/robotframework/RIDE[Unreleased]
1010

11-
== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.8.rst[2.0.8] - 2023-11-01
11+
== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.8.1.rst[2.0.8.1] - 2023-11-01
1212

1313
=== Added
1414

README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ You can use the tag *robotframework-ide* to search and ask on https://stackoverf
1616

1717
== **Welcome to the development version of RIDE - next major release will be version 2.1**
1818

19-
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.0.8[release/2.0.8]**
19+
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.0.8.1[release/2.0.8.1]**
2020

21-
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.8.rst[release notes] for latest release version 2.0.8.
21+
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.8.1.rst[release notes] for latest release version 2.0.8.1
2222

2323
**Version https://github.com/robotframework/RIDE/tree/release/1.7.4.2[1.7.4.2] was the last release supporting Python 2.7**
2424

2525

26-
**The current development version is based on 2.0.8, supports Python from 3.6 up to 3.11 (1st November 2023).**
26+
**The current development version is based on 2.0.8.1, supports Python from 3.6 up to 3.11 (1st November 2023).**
2727

2828
Currently the unit tests are tested on Python 3.10, and 3.11 (which is the recommended version).
2929
Likewise, the current version of wxPython, is 4.2.1, but RIDE is known to work with 4.0.7 and 4.1.1 versions.
3030

31-
(3.6 < python <= 3.11) Install current released version (*2.0.8*) with:
31+
(3.6 < python <= 3.11) Install current released version (*2.0.8.1*) with:
3232

3333
`pip install -U robotframework-ride`
3434

doc/releasenotes/ride-2.0.8.1.rst

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
.. container:: document
2+
3+
`RIDE (Robot Framework
4+
IDE) <https://github.com/robotframework/RIDE/>`__ v2.0.8.1 is a new
5+
release with minor enhancements and bug fixes. The reference for
6+
valid arguments is `Robot Framework <https://robotframework.org/>`__
7+
installed version, which is at this moment 6.1.1. However, internal
8+
library is based on version 3.1.2, to keep compatibility with old
9+
formats.
10+
11+
- This version supports Python 3.6 up to 3.11.
12+
- There are some changes, or known issues:
13+
14+
- On Text Editor, pressing **Ctrl** when the caret/cursor is near
15+
a Keyword will show a detachable window with the documentation,
16+
at Mouse Pointer position.
17+
- RIDE tray icon now shows a context menu with options Show, Hide
18+
and Close.
19+
- Highlighting and navigation of selected Project Explorer items,
20+
in Text Editor.
21+
- When editing in Grid Editor with content assistance, the
22+
selected content can be edited by escaping the list of
23+
suggestions with keys ARROW_LEFT or ARROW_RIGHT.
24+
- Newlines in Grid Editor can be made visible with the **filter
25+
newlines** set to False.
26+
- On Text Editor when Saving the selection of tests in Test
27+
Suites (Tree) is cleared.
28+
- Test Suite with *\**\* Comments \**\** can be edited but
29+
newlines are introduced.
30+
- Problems with COPY/PASTE in Text Editor have been reported when
31+
using wxPython 4.2.0, but not with version 4.2.1, which we now
32+
*recommend*.
33+
- Some argument types detection (and colorization) is not correct
34+
in Grid Editor.
35+
- RIDE **DOES NOT KEEP** Test Suites formatting or structure,
36+
causing differences in files when used on other IDE or Editors.
37+
38+
**New Features and Fixes Highlights**
39+
40+
- Fixed escaped spaces showing in Text Editor on commented cells
41+
- Improved keywords documentation search, by adding current dir to
42+
search
43+
- Improved Move up/down, **Alt-UpArrow**/**Alt-DownArrow** in Text
44+
Editor, to have proper indentation and selection
45+
- Added auto update check when development version is installed
46+
- Added menu option **Help->Check for Upgrade** which allows to
47+
force update check and install development version
48+
- Added **Upgrade Now** action to update dialog.
49+
- Added **Test Tags** field (new, since Robot Framework 6.0) to Test
50+
Suites settings. This field will replace **Default** and **Force
51+
Tags** settings, after Robot Framework 7.0
52+
- Improved **RIDE Log** and **Parser Log** windows to allow Zoom
53+
In/Out with **Ctrl-Mouse Wheel**
54+
- Hide continuation markers in Project Tree
55+
- Improved content assistance in Text Editor by allowing to filter
56+
list as we type
57+
- Fixed resource files disappearing from Project tree on Windows
58+
- Fixed missing indication of link for User Keyword, when pressing
59+
**Ctrl** in Grid Editor
60+
- Added content help pop-up on Text Editor by pressing **Ctrl** for
61+
text at cursor position or selected autocomplete list item
62+
- Added Exclude option in context nenu for Test files, previously
63+
was only possible for Test Suites folders
64+
- Added exclusion of monitoring filesystem changes for files and
65+
directories excluded in Preferences
66+
- Fixed exception when finding GREY color for excluded files and
67+
directories in Project Tree
68+
- Added support for JSON variables, by using the installed Robot
69+
Framework import method
70+
- Colorization of Grid Editor cells after the continuation marker
71+
**...** and correct parsing of those lines
72+
- Colorization of Grid Editor cells when contents is list or
73+
dictionary variables
74+
- Added indication of matching brackets, **()**, **{}**, **[]**, in
75+
Text Editor
76+
- Fixed non synchronized expanding/collapse of Settings panel in
77+
Grid Editor, on Linux
78+
- Fixed not working the deletion of cells commented with **#** in
79+
Grid Editor with **Ctrl-Shift-D**
80+
- Fixed empty line being always added to the Variables section in
81+
Text Editor
82+
- Improved project file system changes and reloading
83+
- Added context menu to RIDE tray icon. Options Show, Hide and Close
84+
- Added synchronization with Project Explorer to navigate to
85+
selected item, Test Case, Keyword, Variable, in Text Editor
86+
- Control commands (**FOR**, **IF**, **TRY**, etc) will only be
87+
colorized as valid keywords when typed in all caps in Grid Editor
88+
- Newlines in Grid Editor can be made visible with the **filter
89+
newlines** set to False, by editing *settings.cfg*
90+
- Improve auto-suggestions of keywords in Grid Editor by allowing to
91+
close suggestions list with keys ARROW_LEFT or ARROW_RIGHT
92+
- Improve Text Editor auto-suggestions by using: selected text, text
93+
at left or at right of cursor
94+
95+
We hope to implement or complete features and make fixes on next
96+
major version 2.1 (in the end of 2023).
97+
98+
**The minimal wxPython version is, 4.0.7, and RIDE supports the
99+
current version, 4.2.1.**
100+
101+
*Linux users are advised to install first wxPython from .whl package
102+
at*
103+
`wxPython.org <https://extras.wxpython.org/wxPython4/extras/linux/gtk3/>`__,
104+
or by using the system package manager.
105+
106+
The
107+
`CHANGELOG.adoc <https://github.com/robotframework/RIDE/blob/master/CHANGELOG.adoc>`__
108+
lists the changes done on the different versions.
109+
110+
All issues targeted for RIDE v2.1 can be found from the `issue
111+
tracker
112+
milestone <https://github.com/robotframework/RIDE/issues?q=milestone%3Av2.1>`__.
113+
114+
Questions and comments related to the release can be sent to the
115+
`robotframework-users <https://groups.google.com/group/robotframework-users>`__
116+
mailing list or to the channel #ride on `Robot Framework
117+
Slack <https://robotframework-slack-invite.herokuapp.com>`__, and
118+
possible bugs submitted to the `issue
119+
tracker <https://github.com/robotframework/RIDE/issues>`__. You
120+
should see `Robot Framework
121+
Forum <https://forum.robotframework.org/c/tools/ride/>`__ if your
122+
problem is already known.
123+
124+
To install with `pip <https://pypi.org/project/pip/>`__ installed,
125+
just run
126+
127+
.. code:: literal-block
128+
129+
pip install --upgrade robotframework-ride==v2.0.8.1
130+
131+
to install exactly this release, which is the same as using
132+
133+
.. code:: literal-block
134+
135+
pip install --upgrade robotframework-ride
136+
137+
Alternatively you can download the source distribution from
138+
`PyPI <https://pypi.python.org/pypi/robotframework-ride>`__ and
139+
install it manually. For more details and other installation
140+
approaches, see the `installation
141+
instructions <https://github.com/robotframework/RIDE/wiki/Installation-Instructions>`__.
142+
If you want to help in the development of RIDE, by reporting issues
143+
in current development version, you can install with:
144+
145+
.. code:: literal-block
146+
147+
pip install -U https://github.com/robotframework/RIDE/archive/master.zip
148+
149+
Important document for helping with development is the
150+
`CONTRIBUTING.adoc <https://github.com/robotframework/RIDE/blob/master/CONTRIBUTING.adoc>`__.
151+
152+
See the `FAQ <https://github.com/robotframework/RIDE/wiki/F.A.Q.>`__
153+
for important info about : FOR changes and other known issues and
154+
workarounds.
155+
156+
A possible way to start RIDE is:
157+
158+
.. code:: literal-block
159+
160+
python -m robotide.__init__
161+
162+
You can then go to Tools>Create RIDE Desktop Shortcut, or run the
163+
shortcut creation script with:
164+
165+
.. code:: literal-block
166+
167+
python -m robotide.postinstall -install
168+
169+
RIDE v2.0.8.1 was released on 1/Nov/2023.

src/robotide/application/CHANGELOG.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div xml:lang="en" class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id1337"></a>Changelog</h2></div></div><hr /></div><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
3-
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_unreleased_ulink"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE" target="_top">Unreleased</a></h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
3+
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0_8_1_rst_2_0_8_1_ulink_2023_11_01"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.8.1.rst" target="_top">2.0.8.1</a> - 2023-11-01</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
44
Added auto update check when development version is installed
55
</li><li class="listitem">
66
Added menu option ``Help→Check for Upgrade`` which allows to force update check and install development version

src/robotide/editor/texteditor.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def on_data_changed(self, message):
133133
self._editor.set_editor_caret_position()
134134
if isinstance(message, RideNotebookTabChanging): # Not reached
135135
return
136-
if self.is_focused() and self._save_flag == 0 and isinstance(message, RideSaving): # Workaround for remarked dirty with Ctrl-S
136+
# Workaround for remarked dirty with Ctrl-S
137+
if self.is_focused() and self._save_flag == 0 and isinstance(message, RideSaving):
137138
self._save_flag = 1
138139
if self.is_focused() and self._save_flag == 1 and isinstance(message, RideDataDirtyCleared):
139140
self._save_flag = 2
@@ -210,7 +211,6 @@ def on_tab_change(self, message):
210211
if message.newtab == self.title:
211212
self._open()
212213
self._editor.set_editor_caret_position()
213-
# self._editor._dirty = 1
214214
try:
215215
self._set_read_only(self._editor.source_editor.readonly)
216216
except Exception as e: # DEBUG: When using only Text Editor exists error in message topic
@@ -219,7 +219,6 @@ def on_tab_change(self, message):
219219
self._editor.remove_and_store_state()
220220
self._editor_component.is_saving = False
221221
self._editor_component.content_save()
222-
# self._editor._dirty = 0
223222

224223
def on_tab_changed(self, event):
225224
_ = event
@@ -397,7 +396,6 @@ def __init__(self, plugin, parent, title, data_validator):
397396
self.reformat = self.source_editor_parent.app.settings.get('reformat', False)
398397
self._create_ui(title)
399398
self._data = None
400-
# self._dirty = 1 # 0 is False and 1 is True, when changed on this editor
401399
self._position = 0 # Start at 0 if first time access
402400
self.restore_start_pos = self._position
403401
self.restore_end_pos = self._position
@@ -535,9 +533,7 @@ def set_editor_caret_position(self):
535533

536534
@property
537535
def dirty(self):
538-
# return self._dirty == 1 and (self._data.wrapper_data.is_dirty or self.source_editor.GetModify())
539-
# return self._dirty == 1 # self.source_editor.GetModify() and self._dirty == 1
540-
return self._data.wrapper_data.is_dirty # or self.source_editor.GetModify()
536+
return self._data.wrapper_data.is_dirty if self._data else False
541537

542538
@property
543539
def datafile_controller(self):
@@ -820,7 +816,6 @@ def write_ident(self):
820816
self.source_editor.WriteText(spaces)
821817

822818
def reset(self):
823-
# self._dirty = 0
824819
if self._data and not self._data.wrapper_data.is_dirty:
825820
self.mark_file_dirty(False)
826821

@@ -995,7 +990,6 @@ def on_editor_key(self, event):
995990
return
996991
keycode = event.GetKeyCode()
997992
keyvalue = event.GetUnicodeKey()
998-
# self._dirty = 1
999993
# print(f"DEBUG: TextEditor key up focused={self.is_focused()} modify {self.source_editor.GetModify()}")
1000994
if keycode == wx.WXK_DELETE: # DEBUG on Windows we only get here, single Text Editor
1001995
selected = self.source_editor.GetSelection()
@@ -1029,7 +1023,6 @@ def on_key_down(self, event):
10291023
return
10301024
keycode = event.GetUnicodeKey()
10311025
raw_key = event.GetKeyCode()
1032-
# self._dirty = 1
10331026
# print(f"DEBUG: TextEditor on_key_down event={event} raw_key={raw_key} wx.WXK_C ={wx.WXK_CONTROL}")
10341027
if event.GetKeyCode() == wx.WXK_DELETE:
10351028
self.mark_file_dirty(self.source_editor.GetModify())

src/robotide/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
#
1616
# Automatically generated by `tasks.py`.
17-
VERSION = 'v2.0.8'
17+
VERSION = 'v2.0.8.1'

utest/zulu_misc/test_version.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
r'^(?P<major>0|[1-9]\d*)'
2727
r'\.'
2828
r'(?P<minor>0|[1-9]\d*)'
29-
r'\.'
30-
r'(?P<patch>0|[1-9]\d*)'
29+
r'(?:\.'
30+
r'(?P<patch>0|[1-9]\d*))?'
31+
r'(?:\.'
32+
r'(?P<fix>0|[1-9]\d*))?'
3133
r'(?:-'
3234
r'(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)'
3335
r'(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?'

0 commit comments

Comments
 (0)