What's new in DrPython 3.11.3
Aug 31, 2011
- corrected search with '^' in regex search
- fixed bug in setoptions in drfindreplacedialog
- if findreplaceundercursor and no selection and wo cursor under word, the find dialog will be filled default with last find string
- info in status line about find string
- small correction in find '^' with regular expressions
- added singleinstance checker. with the option --s (singleinstance), you can edit a file without opening a new instance of drpython.
- useful when editing files with F4 for example in filemanagers.
- info, if no findstring is in find next/find previous.
- added third status bar area
- force opening file (needed, if opened externally by a filemanager with new)
- simplified set 2 spaces function in drstc
- OnCleanUpSpaces and OnCleanUpTabs used doctabwidth
- txtDocument.SetFocus in OnActivate (sometimes, the cursor was not visible after switching back to drpyhton)
- fixed bug with source browser: call wx.After
- fixed bug: no focus after startup on txtdocument (txtDocument.SetFocus)
- default settings changed
- new class (file) drListbox: on gtk, keyboard keys don't zum to entry in list box, in windows do
- in shortcutsdialog, the new drListbox is used
- some cleanup of unnecessary variable (ignoreevent, which was not used)
- plugin about error (wrong text)
- reload file (setselection (pos, pos) instead of setcurrenpos, because the text was selected from the begin until current pos otherwise)
- unbind event idle
- drscript shortcuts sorted for shortcuts dialog
- plugin shortcuts sorted for shortcuts dialog
- hint "restart drpython for updating menu shortcuts", when saving shortcuts
- status widths corrected
- cleared status line3, when executed a new script
- code cleanup (Messagebox, Showmessage)
- shortcut "edit &plugin source" changed to "e&dit plugin source" (p was assigned two times)
- changed to DrFrame.OpenOrSwitchToFile(a)
- OpenOrSwitchToFile with editRecentFiles almost everytime
- fixed bug reload files in onautoreload
- fixed bug (find if no history => traceback)
- DrFrame.windowArray removed (not used)
- Added DrMessageBox and the variable DrFrame.ignore_activate_app_event; reason: if in gtk a messagebox is shown, the application loses the focus and a ACTIVATE_APP is fired again;
- so a variable should prohibit this
- Handling for linux root files (otherwise, they cannot be saved); called python programm again with gksudo to save that file
- for that a new file drSaveRootFile.py was added
- save file as: now per default suggests current filename
- changed drscrolledmessagedialog, so the user can close the dialog also on gtk with escape key
- drscrolledmessagedialog has now a testcode (run drscrolledmessagedialog.py to test it directly)
- added Shortcutfunction for plugins: AddPluginShortcut_PopUpMenu_Function (adds shortcuts and popup functionality)
- small change in menu: Load Plugin(s) => Load Plugin (anyway onle one plugin can be loaded at the same time)
- suggest last find string, if no matching findstring exist (when findundercursor option is not set)
- suggest last replace option in replace dialog per default
- added document preference: ignore text function keys: if a F key (for example F4) is not assigned, a character is inserted. this can be switched off
- avoid horizontal scrolling with ctrl-pageup/down, if not wished (preferneces document ignore ctrl-pageup/down)
- fixed bug (traceback) in style dialog
- drscrolledmessagedialog (quit also with return key)
- save a copy suggests per default current file name
- dialog after successful save a copy only, if enable feedback is turned on
- cleanup addpluginfunction(s)
- removedAddPluginShortcut_PopUpMenu_Function
- warning and the possibility to exit drpython, if called with singleinstancechecker without running another instance.
- save (after saving it jumps to the beginning of line, instead of keeping current pos) annoying behaviour fixed
- bug fixed (reload and load from backup) didn't really reload the files
- removed complicated query in uncommentregion
- encoding error: display the position of the causing character (about) (if debugmodus is switched on)
- load plugin from index menu is now sorted
- earlier unbind of wx.app event handlers
- lesser undo steps in autoindent
- small change in drscriptmenu, so other files can be called as scriptfiles
- fixed small bug in drscriptmenu (messagebox)
- filedialog => open: if file do not exist, ask to create it
- RunScript: replaced by better code: thanks BlackJack, from german python forum
- fixed bug in drNotebook (promptarray out of index)
- enable in drfiledialog in windows show the hidden files
- traceback, when load plugin from index manuall or save it to default.idx, if currently no other plugin is installed or loaded (thanks for bug report, Blackjack)
- with needs a future import for python 2.5 (bug report and fix by Blackjack, thanks)
- Problem with AutoComp (FindAndComplete) (hopefully fixed, thanks for reporting, BlackJack)
- changed redirect option from --r0 to --r
- fixed no sort issue in findandcomplete show (hint from BlackJack)
- added minimal help, when called with --help
- central version number in one file
- added some drpython events (for the documents using stc control
- (EVT_DRPY_SETTEXT_START, EVT_DRPY_SETTEXT_END, EVT_DRPY_DRTEXT_ONKEY_DOWN_START, EVT_DRPY_DRTEXT_ONCHAR_START)
- DrText EVT_CHAR: with eventhandler, DRPY_Event can be used
- DrText EVT_KEY_DOWN: with eventhandler, DRPY_Event can be used
- DrText: SetText (is derived from stc), 2 (before and after) DRPY Events can be used
- Versionstring is now again in drpython.py (only once in drpython source), passed to drAboutDialog
- corrected bug with finder: sometimes, after closing a document, the finder (the findstring, ...) was lost, fixed
- called new event function (EVT_ACTIVATE_APP) on deactivate
- used EVT_ACTIVATE_APP for AutoCompCancel CallTipCancel, if they were open at this time
- changed: classbrower: only python files, ignore all other (anyway senseless results for example in txt files,
- else no other classbrowser (for example c++) is supported (yet)
- default '.txt' for saved regular expressions
- applied patch from user marrin: "Command line parsing - ID: 3053226", thanks
- copied the list in drSingleChoiceDialog to remain unchanged after sorting
- applied patch from user marrin: "80 character line - ID: 3042753", thanks
- applied patch from user marrin: "Do no eval... - ID: 3042074", thanks
- applied patch from user marrin: "No explicit comparisons against `True` and `False` - ID: 3044882", thanks
- applied patch from user marrin: "Open files with `open()` - ID: 3044984", thanks
- applied patch from user marrin: "No self defined IDs anymore` - ID: 3053304", thanks
- applied patch from user marrin: "Coding cookie recognition` - ID: 3053456", thanks
- applied patch from user marrin: "Use `wx.FileHistory` - ID: 3053904", thanks
- preparing for wxPython 2.9 (Flexgridsize with first parameter 0)
- new DrPython event EVT_DRPY_PROMPT_GOTO for use in plugins
- fixed bug in self.SetCaretForeground: this does not affect wxPy 2.8, but 2.9
- fixed bug, added at the end: app.Unbind(wx.EVT_ACTIVATE_APP): this does not affect wxPy 2.8, but 2.9
- relocated error files handling (for wxPython 2.9)
- changed som wx.MessageBox (for wxPython 2.9: it needs a wx.OK or wx.CANCEL, ... additionally to wx.ICON_EXCLAMATION)
- remove migration help functions from DrPython 1.64 to 1.65
- prevent opening prompt when cp1252 is adusted (that lead to a crash)
- added support for running lua scripts, when "Program => run" is selected
- used checkiffileisHTML instead of own query
- for programdirectory: replaced os.path.abspath(sys.argv[0] by __file__, so drpython can be imported in pyhton
- and a frame can be created.
- get rid of wx.GetApp().GetTopWidow() (also so drpython can be imported in pyhton).
- fixed: bug in Clear menu in edit bookmarks and edit scripts
- in prompt: only characters < ascii 127 are allowed (otherwise drpyhton crashed)
- prompt traceback: added for pattern recognition of lua error output
- added event EVT_DRPY_PROMPT_GOTO
- use default "firefox" instead of "mozilla" for viewing html sites
- changed the function RemoveTrailingWhitespace (it was buggy)
- reduced flicker (viewing eol)
- default F1 as help
- added OnRunPlugin
- added OnRunScript
- updated regexp url
- own file directory for stored reg expressions.
- bug in RectandleReplaceAll fixed
- drscript: scriptfname as member variable (for access from scripts)
- removed member variable DrScript from DrFrame (no use)
- fixed reg ex replacement with no prompt and more infos
- corrected rectangle search without regular expressions and with re regular expressions
- enable/disable checkboxes
- finder pos for selection
- selstart < selend when find in selection
- regular expression search backwards implemented
- Edit Bookmarks: now it is possible to add the current file
- same menu accelerator in gtk as in windows
- take care (and asking) of doubled entries in bookmarks, when adding a new one
- replaced wx.size by tuple (as recommened in wxpython)
- edit plugin soruce dialog uses drSingleChoiceDialog (before wx.SingleChoiceDialog)
- edit drscripts source dialog uses drSingleChoiceDialog (before wx.SingleChoiceDialog)
- DrScript objeckt inserted again (need for example for script RuninTerminal.py)
- drSingleChoiceDialog now supports pageup, pagedown, pos1 and end key for moving around
- drSingleChoiceDialog now supports an optional dialogheader
- edit plugin source now in Optionsmenu
- double click on sidepanel tab caused exception: fixed
- show in statusline the name of the current executed script
- find: ^.*, jump to next line, when search next
- comment, uncomment for lua scripts
- UniDialog for differences gtk and windows
- drSingleChoiceDialog: possibilty to deliver a third button (edit, but can be named otherwise too)
- goto class/block/def start: if the cursor was at the end of the file, it caused an endless loop (drpython freezed)
- reworked run script
- scriptmenu: replaced DrScript by DrScript. (otherwise some script code was not working properly)
- changed, fixed and simplified command line args handling
- add notes from the next release here.
- in drtext.py two times wx.CallAfter, else Segmentation fault (3.11.0. wxPython Version: 2.8.4.0, wxGTK, unicode, gtk2, wx-assertions-off,
- Python Version: 2.5.1.final, Python Platform: linux2)
- few changes:
- preferences: ignore ctrl-pageupdown key, so it can be used as shortcut.
- but in gtk in find and find history.
- some code cleaning.
- gtk: openimported module didn't work as expected on gtk: keys came twice.
- in drtext.py two times wx.CallAfter, else Segmentation fault (3.11.0. wxPython Version: 2.8.4.0, wxGTK, unicode, gtk2, wx-assertions-off,
- Python Version: 2.5.1.final, Python Platform: linux2)
- bug in drPrinter.py, reported by Luca Falavigna; 'DrPrinter' object has no attribute 'log'; fixed.
- fixed problems on quitting the app
- removed the need of a certain wxpython version
- some Code Cleanup (for example AskExitingDrPython())
- Goto Line on Traceback more universal (with pychecker line now also possible).
- fixed some issues on gtk with wx.Notebook.
- removed unnecessary shebgangs reported by Luca Falavigna, thanks
- DrPython sometimes hangs when opening a python interpreter. patch by Luca Falavigna - dktrkranz, 07/04/2008, thanks
- DrPython crashes if saved file is not available Step to reproduce the crash: 1) Open a new file and save it
- 2) Edit the file, but do not save it 3) Delete the file 4) Close drpython and answer Yes when asked5) Program crashes
- bug reported by Luca Falavigna - dktrkranz, 07/04/2008, thanks.
- open python with cp1252 encoding => crash. no solution => workaround Messagebox and disable this
- statement in prompt with character above ascii 127 crashes the program; no solution => workaround (check
- characters) Messagebox and disable this
- A wish from Dan to change it to the old version numbering system
- New File __init__.py
- New File drHtmlBrowser.py for displaying html content, when run a file.
- new preferences: intelligent Backspace Key for each filetype
- (if it is on, it jumps back the indentation setting, for example 4 spaces, else it jumps back 1 space as expected.
- some fixes in font adjustment (AB)
- fixed bug in sourcebrowser.
- applied patch from Cedric Delfosse (Ctrl-q as default for exiting DrPython), thanks.
- some fixes in drscriptmenu und drscriptdialog (there were sometimes a mess, when editing the drscriptmenu afterwards).
- fixed storing of the size of the Drpython frame (also remembers now the restore frame size, if it was maximized before, and the maximize state.).
- Changed the close behaviour (jumps to the tab right instead of the tab left before).
- improved OnComment and UnComment (remembers the exact cursor position).
- Goto Line shows the line now in the middle of the edit window (patch: [ 1366679 ])
- simplified all openfile operations with OpenOrSwitchToFile and improve AlreadyFileOpen.
- OnReload also remembers the old cursor postion and jumps back to it.
- Some fixes in OnRun (patch [ 1367222 ]).
- Changed some Titles of DrPython Error for easier bug reporting and tracking.
- fixed bug in reloadocumentsmenu.
- remove trailing whitespaces can now adjusted for the different filetypes in the preferences dialog.
- when switching documents, the state of view whitespace/linendings is taken with to the new switched tab.
- changed some menu accellerators, which were doubled in one menu.
- added a redirect to file for stdout and stderr, for easier bug tracking and reporting.
- some fixes in drprompt.py (AB) also patch: [ 1366679 ]
- changed some default styles (AB).
- bug reported and patch supplied by Tiziano Mueller, which itself was supplied by a user, 25. Feb. 2008, thanks.
- when switching tabs, with ctrl-(shift)-tab, the new active tab was not set properly.
- changed behaviour when find forward and backward, so the active found text is not displayed on the very top or bottom,
- but there are about 5 lines lower/higher visible.
- fixed bug in search backward, when in the mean time text was added or deleted.
- fixed bug in drregularexpressionsdialg (parent window)
- fixed bug in drNotebook: (list index out of range if closing the last window)
- added command line option for drpyhton.py
- useredirecttofile (--r0 as option to redirect output not to file, but to console as normal pyhton behaviour).
- added patch in drprompt.py Prompt window scrolls to wrong position, thanks Mervin Beng (mervinb)
- added inscpect tool in Help Menu (borrowed from wxpython demo) (visible if "debug modus" in preferences is on. also for popup menu
- added new drpyhton event (self.EVT_DRPY_PROMPT_GOTO) for drprompt goto (this can be used in plugins for evaluation the output (used in plugin makefile for the output for example))
- hack: AskPlatformDependent: Problem was: default behaviour on linux (gtk) and drpyhton was differnet in messageboxe
- hack: the code uncomment for c/c++ files didn't work correctly: removed that complicated query
- added patch #patch: [ 1366679 ] Goto Line Should Not Display At Top Of Window and made a function for that in drpython.py
- thanks Christopher Thoday (cthoday)
- added encoding cp1252 (for open files and drFileDialog for opening files)
- changed: different messagebox behaviour in find/replace linux/windows: should be the same behavior now
New in DrPython 3.11.2 (Jul 7, 2010)
- preparing for wxPython 2.9 (Flexgridsize with first parameter 0)
- new DrPython event EVT_DRPY_PROMPT_GOTO for use in plugins
- fixed bug in self.SetCaretForeground: this does not affect wxPy 2.8, but 2.9
- fixed bug, added at the end: app.Unbind(wx.EVT_ACTIVATE_APP): this does not affect wxPy 2.8, but 2.9
- relocated error files handling (for wxPython 2.9)
- changed som wx.MessageBox (for wxPython 2.9: it needs a wx.OK or wx.CANCEL, ... additionally to wx.ICON_EXCLAMATION)
- remove migration help functions from DrPython 1.64 to 1.65
- prevent opening prompt when cp1252 is adusted (that lead to a crash)
- added support for running lua scripts, when "Program => run" is selected
- used checkiffileisHTML instead of own query
- for programdirectory: replaced os.path.abspath(sys.argv[0] by __file__, so drpython can be imported in pyhton
- and a frame can be created.
- get rid of wx.GetApp().GetTopWidow() (also so drpython can be imported in pyhton).
- fixed: bug in Clear menu in edit bookmarks and edit scripts
- in prompt: only characters < ascii 127 are allowed (otherwise drpyhton crashed)
- prompt traceback: added for pattern recognition of lua error output
- added event EVT_DRPY_PROMPT_GOTO
- use default "firefox" instead of "mozilla" for viewing html sites
- changed the function RemoveTrailingWhitespace (it was buggy)
- reduced flicker (viewing eol)
- default F1 as help
- added OnRunPlugin
- added OnRunScript
- updated regexp url
- own file directory for stored reg expressions.
- bug in RectandleReplaceAll fixed
- drscript: scriptfname as member variable (for access from scripts)
- removed member variable DrScript from DrFrame (no use)
- fixed reg ex replacement with no prompt and more infos
- corrected rectangle search without regular expressions and with re regular expressions
- enable/disable checkboxes
- finder pos for selection
- selstart < selend when find in selection
- regular expression search backwards implemented
- Edit Bookmarks: now it is possible to add the current file
- same menu accelerator in gtk as in windows
- take care (and asking) of doubled entries in bookmarks, when adding a new one
- replaced wx.size by tuple (as recommened in wxpython)
- edit plugin soruce dialog uses drSingleChoiceDialog (before wx.SingleChoiceDialog)
- edit drscripts source dialog uses drSingleChoiceDialog (before wx.SingleChoiceDialog)
- DrScript objeckt inserted again (need for example for script RuninTerminal.py)
- drSingleChoiceDialog now supports pageup, pagedown, pos1 and end key for moving around
- drSingleChoiceDialog now supports an optional dialogheader
- edit plugin source now in Optionsmenu
- double click on sidepanel tab caused exception: fixed
- show in statusline the name of the current executed script
- find: ^.*, jump to next line, when search next
- comment, uncomment for lua scripts
- UniDialog for differences gtk and windows
- drSingleChoiceDialog: possibilty to deliver a third button (edit, but can be named otherwise too)
- goto class/block/def start: if the cursor was at the end of the file, it caused an endless loop (drpython freezed)
- reworked run script
- scriptmenu: replaced DrScript by DrScript. (otherwise some script code was not working properly)
New in DrPython 3.11.1 (Jan 20, 2010)
- add notes from the next release here.
- in drtext.py two times wx.CallAfter, else Segmentation fault
New in DrPython 3.11.0 (Apr 8, 2009)
- New File __init__.py
- New File drHtmlBrowser.py for displaying html content, when run a file.
- new preferences: intelligent Backspace Key for each filetype
- (if it is on, it jumps back the indentation setting, for example 4 spaces, else it jumps back 1 space as expected.
- some fixes in font adjustment (AB)
- fixed bug in sourcebrowser.
- applied patch from Cedric Delfosse (Ctrl-q as default for exiting DrPython), thanks.
- some fixes in drscriptmenu und drscriptdialog (there were sometimes a mess, when editing the drscriptmenu afterwards).
- fixed storing of the size of the Drpython frame (also remembers now the restore frame size, if it was maximized before, and the maximize state.).
- Changed the close behaviour (jumps to the tab right instead of the tab left before).
- improved OnComment and UnComment (remembers the exact cursor position).
- Goto Line shows the line now in the middle of the edit window (patch: [ 1366679 ])
- simplified all openfile operations with OpenOrSwitchToFile and improve AlreadyFileOpen.
- OnReload also remembers the old cursor postion and jumps back to it.
- Some fixes in OnRun (patch [ 1367222 ]).
- Changed some Titles of DrPython Error for easier bug reporting and tracking.
- fixed bug in reloadocumentsmenu.
- remove trailing whitespaces can now adjusted for the different filetypes in the preferences dialog.
- when switching documents, the state of view whitespace/linendings is taken with to the new switched tab.
- changed some menu accellerators, which were doubled in one menu.
- added a redirect to file for stdout and stderr, for easier bug tracking and reporting.
- some fixes in drprompt.py (AB) also patch: [ 1366679 ]
- changed some default styles (AB).
- #bug reported and patch supplied by Tiziano Mueller, which itself was supplied by a user, 25. Feb. 2008, thanks.
- when switching tabs, with ctrl-(shift)-tab, the new active tab was not set properly.
- changed behaviour when find forward and backward, so the active found text is not displayed on the very top or bottom,
- but there are about 5 lines lower/higher visible.
- fixed bug in search backward, when in the mean time text was added or deleted.
New in DrPython 165 (Jun 30, 2007)
- Removing the buggy debugger for now.
- Focus is set in each tab when switching documents.
- The focus is set to the current document when a program ends.
- (BugReport/Feature-Request, Thanks schmolch)
- Added code for Save A Copy (Thanks Stewart Midwinter)
- SourceBrowser autorefresh is saved again.
- Changed the location of the mode dialog bitmaps.