Skip to content

Commit

Permalink
Release AvsPmod v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vdcrim committed Jun 4, 2012
1 parent 2614d15 commit 9fd210c
Show file tree
Hide file tree
Showing 11 changed files with 1,786 additions and 869 deletions.
11 changes: 6 additions & 5 deletions AvsP.py
@@ -1,7 +1,7 @@
# AvsP - an AviSynth editor
# Copyright 2007 Peter Jang
# http://www.avisynth.org/qwerpoi

# Copyright 2007 Peter Jang <http://www.avisynth.org/qwerpoi>
# 2010-2012 the AvsPmod authors <http://forum.doom9.org/showthread.php?t=153248>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
Expand Down Expand Up @@ -53,6 +53,8 @@
if hasattr(sys,'frozen'):
programdir = os.path.dirname(sys.executable)
sys.path.insert(0, programdir)

import AvsP_i18n
messages = None
def _(s):
if messages:
Expand Down Expand Up @@ -82,10 +84,9 @@ def _(s):
from icons import AvsP_icon, next_icon, play_icon, skip_icon, spin_icon,\
ok_icon, smile_icon, question_icon, rectangle_icon,\
dragdrop_cursor
import AvsP_i18n


version = '2.2.1'
version = '2.3.0'


# Custom styled text control for avisynth language
Expand Down
36 changes: 36 additions & 0 deletions changelog.txt
Expand Up @@ -2,6 +2,42 @@ CHANGELOG
=========


Version 2.3.0 [2012-06-04]
--------------------------

- Add an option to decide based on the video resolution the coefficients used in the conversion to RGB for the video preview
- Add 'Run analysis pass' to the 'Video' menu (for two-pass filters)
- Add periodic session backup option
- Add an option to not prompt to save a script if it doesn't already exist on the filesystem
- Add original source time (%ST) and encoded frame type (%EFT) to the video status bar options (only works with ffms as source filter and no temporal filters in the script)
- VirtualDub and VFAPI plugins can be also inserted now with the 'Insert plugin...' menu option and the 'GetPluginString' macro function, and be dropped over a script
- Fix exception opening the crop editor
- The default filename in a save script dialog wasn't taken from the first source in the script in some cases
- Saving an image with an unsaved script not longer causes to include a '*' in the default output filename
- Solved single instance + restart AvsPmod + child process still running -> socket error
- The interface language can be chosen now from the options. Several translations are included.
- Add macro files to the translations
- The macro documentation can be checked now with 'help(avsp.function)' or 'help(avsp)' from a macro
- All included macros and macro functions support unicode strings now
- Add persistent storage to macros - 'Options' dictionary
- Macros can run now in its own thread by including a comment line like: # run macro in new thread
- The macro API functions are now thread-safe
- Add a new macro function 'SafeCall' for thread-safe calls in separate-thread macros and tools
- Add a new macro function 'GetPixelInfo' that waits for the user to click on the video preview and returns the coordinates and colour of that point
- Add a new macro function 'GetVar' to retrieve the contents of a specified Avisynth variable. Some limitations apply.
- Update GetTextEntry macro function with new types of entry, multiple entries per row and customizable width, backwards compatible
- Add an optional cancel button to the MsgBox macro function
- SaveImage macro function also accepts now JPEG quality as a parameter
- Fix ProgressBox macro function 'Cancel' button
- Fix SaveScript macro function 'filename' parameter
- Add new macro 'ConditionalReader file from bookmarks'
- Update some macros with the improvements in GetTextEntry
- A number of intervals can be specified directly now in the 'Bookmarks at Intervals' macro
- Set the Large Address Aware flag
- Python 2.6-2.7 is required now
- Other minor changes and fixes


Version 2.2.1 [2012-01-04]
--------------------------

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions pyavs.py
@@ -1,7 +1,7 @@
# AvsP - an AviSynth editor
# Copyright 2007 Peter Jang
# http://www.avisynth.org/qwerpoi

# Copyright 2007 Peter Jang <http://www.avisynth.org/qwerpoi>
# 2010-2012 the AvsPmod authors <http://forum.doom9.org/showthread.php?t=153248>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
Expand Down
248 changes: 197 additions & 51 deletions translations/translation_fra.py

Large diffs are not rendered by default.

520 changes: 333 additions & 187 deletions translations/translation_gem.py → translations/translation_ger.py

Large diffs are not rendered by default.

248 changes: 197 additions & 51 deletions translations/translation_jpn.py

Large diffs are not rendered by default.

248 changes: 197 additions & 51 deletions translations/translation_por.py

Large diffs are not rendered by default.

1,076 changes: 611 additions & 465 deletions translations/translation_rus.py

Large diffs are not rendered by default.

248 changes: 197 additions & 51 deletions translations/translation_spa.py

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions wxp.py
@@ -1,7 +1,7 @@
# wxp - General framework classes for wxPython
# Copyright 2007 Peter Jang
# http://www.avisynth.org/qwerpoi

# Copyright 2007 Peter Jang <http://www.avisynth.org/qwerpoi>
# 2010-2012 the AvsPmod authors <http://forum.doom9.org/showthread.php?t=153248>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
Expand Down Expand Up @@ -579,7 +579,7 @@ def OnMouseLeave(event):
return button

class OptionsDialog(wx.Dialog):
def __init__(self, parent, dlgInfo, options, title=_('Program Settings'), startPageIndex=0, starText=True):
def __init__(self, parent, dlgInfo, options, title=None, startPageIndex=0, starText=True):
'''Init the OptionsDialog window
Create a wx.Notebook from the tabs specified in 'dlgInfo' and the
Expand All @@ -591,6 +591,8 @@ def __init__(self, parent, dlgInfo, options, title=_('Program Settings'), startP
width.
'''
if title is None:
title = _('Program Settings')
wx.Dialog.__init__(self, parent, wx.ID_ANY, title)
self.options = options.copy()
self.optionsOriginal = options
Expand Down Expand Up @@ -1068,7 +1070,9 @@ def ShowWarning(self, ctrl, message, tabIndex):
ctrl.SetFocus()

class ShortcutsDialog(wx.Dialog):
def __init__(self, parent, shortcutList, title=_('Edit shortcuts'), exceptionIds=None, submessage=None):
def __init__(self, parent, shortcutList, title=None, exceptionIds=None, submessage=None):
if title is None:
title = _('Edit shortcuts')
wx.Dialog.__init__(self, parent, wx.ID_ANY, title, style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER)
self.parent = parent
self.shortcutList = copy.deepcopy(shortcutList)#shortcutList[:]
Expand Down

0 comments on commit 9fd210c

Please sign in to comment.