tis-paint.net 4.1.5-3

  • package : tis-paint.net
  • version : 4.1.5-3
  • architecture : x64
  • locale : all
  • description : Free image and photo editing software for PCs that run Windows. It features an intuitive and innovative user interface with support for layers, unlimited undo, special effects, and a wide variety of useful and powerful tools.
  • maintainer : Simon Fonteneau
  • date : 2018-12-05 14:17:17
  • min_wapt_version : 1.5.1.20
  • min_os_version : 6.1
  • max_os_version :
  • impacted_process : PaintDotNet.exe
  • Depends :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

""" You can do a CTRL F9 in pyscripter to update the package """

def install():

    diskfreespacebefore = get_disk_free_space(programfiles)

    install_msi_if_needed('PaintDotNet_x64.msi',killbefore=['PaintDotNet.exe'])

    diskfreespaceafter = get_disk_free_space(programfiles)

    difffreespace = diskfreespacebefore - diskfreespaceafter
    print(ur"Espace disque necessaire pour l'installation : " + str(difffreespace))

""" You can do a CTRL F9 in pyscripter to update the package """




def update_package():

    currentpath = os.path.dirname(os.path.realpath(__file__))

    """I retrieve the current version from the official site >>>"""
    htmlSource = wgets("http://www.getpaint.net/roadmap.html").splitlines()
    for line in htmlSource :
        if 'released' in line :
            if 'paint.net' in line :
                start = line.find("paint.net")
                startversion = start + 10
                end = line.find("</strong>")
                realversion = line[startversion:end]
                break

    """
    I list all the msi file of the package and test the msi version
    if the version returned by the msi does not correspond to the previous one, I delete the file
    >>>
    """

    allmsi = glob.glob('*.msi')
    for msi in allmsi:
        vers = get_msi_properties(msi)['ProductVersion']
        if  vers != realversion :
            remove_file(msi)

    if not isfile('PaintDotNet_x64.msi'):

        """I download the file if it does not exist >>>"""
        wget('http://www.dotpdn.com/files/paint.net.%s.install.zip' % realversion, 'paintnet.zip')


        """Unzip file >>>"""
        unzip('paintnet.zip','paintfolder')

        """Delete zip >>>"""
        remove_file('paintnet.zip')

        """Run create Msi >>>"""
        run(makepath('paintfolder','paint.net.%s.install.exe' % realversion) + " /createmsi")

        """Delete Folder >>>"""
        remove_tree('paintfolder')

        """Copy msi file in wapt package >>>"""
        msipaint = glob.glob(makepath(user_desktop(),'PaintDotNetMsi','*_x64.msi'))
        for paint in msipaint :
            filecopyto(paint,currentpath)

        remove_tree(makepath(user_desktop(),'PaintDotNetMsi'))

    """I write the version in the control file >>>"""

    os.chdir(os.path.dirname(__file__))

    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())
    pe.version = get_msi_properties('PaintDotNet_x64.msi')['ProductVersion'] + '-0'
    pe.save_control_to_wapt(os.getcwd())

    """Clean folder on desktop >>>"""




if __name__== "__main__" :
    update_package()
    

Changelog

paint.net 4.1.4 - Download, released on November 4th, 2018

This is a small update that fixes some important bugs and substantially improves plugin loading performance.

    Improved: Massive startup performance improvement when lots of effect plugins are installed
    Fixed a crash that would happen when closing an image, exiting the app, or sometimes just at random. This was happening due to a bug in Direct2D where ID2D1EffectContext does not honor the multithreaded initialization flag from its ID2D1Factory, and was thus corrupting its own internal data structures when released on the finalizer thread.
    Fixed: DirectX 9 GPUs can now utilize hardware acceleration again (in 4.1.3 they were forced to use software rendering)
    Fixed: The Black & White and Invert Colors adjustments no longer display an OK/Cancel dialog


paint.net 4.1.3 - released on October 24th, 2018

This is a hotfix that addresses a crash which was affecting systems with pre-DirectX 10 GPUs.

    Fixed a crash when zooming due to missing pixel shader support on DX9 class GPUs


paint.net 4.1.2 - released on October 22nd, 2018

This is a small update that improves startup performance, fixes some bugs, and addresses two security vulnerabilities. Administrators who manage deployments of Paint.NET are urged to begin updating immediately. Details of CVE-2018-18446 and CVE-2018-18447 are pending publication.

    Improved startup performance if "a lot" of effect plugins are installed. More optimizations are coming in the next update.
    Fixed: Pixel grid no longer draws some dots darker than others at some zoom levels, as reported at https://forums.getpaint.net/topic/112794-pixel-grid-rendering-problems-when-zooming/
    Fixed: Radial Blur was not handling alpha correctly
    Fixed: IndirectUI ColorWheel swatch is now rendered correctly (without the fading alpha gradient)
    Fixed: The tooltip describing the shortcut key for tools now indicates how many times to press the key (e.g., press S four times for Magic Wand selection)
    Fixed: Pressing Escape to deselect now works with all tools (this bug was introduced in v4.0)
    Fixed: Images with variable alpha were not displaying correctly at some zoom levels. They were "too dark" in translucent regions. Reported here: https://forums.getpaint.net/topic/112184-some-zoom-levels-display-alpha-as-extra-opaque/
    Fixed: For the Store release, launching with the paintdotnet: protocol no longer shows an error if no parameters are provided (thanks @Bruce Bowyer-Smyth!)
    Fixed a crash for some effects that were rendering too quickly
    Fixed a bug in the Image>Resize dialog where the asterisk and the note about which resampling mode was being used, e.g. "* Bicubic will be used," weren't going away or updating correctly
    New: Added a /set:SETTING=VALUE command-line parameter. This is specifically useful for disabling hardware acceleration if the app won't start or you can't reach the Settings dialog. This is also necessary for the Store release whose virtualized registry cannot be edited. To launch the Store version with hardware acceleration disabled, go to Start -> Run and type in "paintdotnet:/set:UI/EnableHardwareAcceleration=false" (without quotes) and press OK
    New: Added detection for when "Diebold Warsaw" is causing Paint.NET to crash. The error message will indicate this cause.
    Fixed: Addressed CVE-2018-18446. Credit goes to Bruce Bowyer-Smyth.
    Fixed: Addressed CVE-2018-18447. Credit goes to Soroush Dalili from NCC Group.


paint.net 4.1.1 - released on September 11th, 2018
This is a hotfix that fixes a few small bugs, reinstates some keyboard shortcuts, and adds 2 new languages.

    New: Ukranian translation
    New: Norwegian translation
    Fixed a bug in the IndirectUI color wheel control where it wouldn't pick up the correct value for the alpha slider
    Fixed a crash with the new Shapes that would sometimes occur because the resources file wasn't updated yet (probably due to a "you have to reboot" dialog at the end of updating that was ignored)
    Reinstated the shortcut keys for the Adjustments menu, as this was a very unpopular change
    Improved: IndirectUI angle chooser control now supports the UpDownIncrement property (thanks @toe_head2001!)


paint.net 4.1 - released on September 5th, 2018
This update converts some effects to use the GPU for rendering, resulting in huge performance gains. Copy/Paste can now be performed on selections, Bicubic resampling is now available for the Move Selected Pixels tool, and there are lots of little quality-of-life improvements and general bug fixes.

    Improved: Gaussian Blur, Motion Blur, and Radial Blur now render using the GPU and are significantly faster
    Changed: The following effects are now rendered using the GPU: Edge Detect, Pixelate, and Relief
    Changed: The following adjustments are now rendered using the GPU: Black & White, Invert Colors
    New Effect: Distort -> Morphology (uses the GPU)
    New Effect: Render -> Turbulence (uses the GPU)
    New: Bicubic resampling is now supported for the Move Selected Pixels tool. A CPU with 6 or more cores is highly recommended if you want to make it the default mode from within Settings -> Tools.
    New: Edit -> Copy Selection. This will copy the current selection's geometry to the clipboard as JSON text.
    New: Edit -> Paste Selection. This will apply the selection from the clipboard to the current selection. All 5 selection combine modes are supported.
    Changed: The Text tool now uses Points for font size measurement. You can also elect to use the old font size metric, "Fixed (96 DPI)" via the dropdown to the right of the font size.
    Fixed: The Text tool's recentering algorithm when typing reaches the edge of the viewport should be better
    New: Added +/- buttons to the Tolerance and Hardness sliders.
    Changed: Increased max zoom level to 6400%
    New: The mouse wheel may now be used to scroll a long menu, such as when a lot of effects are installed (thanks @toe_head2001!)
    Changed: For Windows 7 SP1 users, the Platform Update from 2013 is now required (it contains Direct2D v1.1)
    Fixed: The "Finish" button wasn't working if it was in an overflow container (thanks @toe_head2001!)
    Fixed: Opening certain large images and then zooming with the mouse wheel would sometimes result in the scroll position being completely wrong
    Changed: Hiding a layer no longer auto-selects the nearest visible layer. You can re-enable this in Settings, although this setting may be removed in a future version.
    New: For the Windows Store release, the paintdotnet: protocol can now be used to launch the app so that you can specify command-line parameters. For example, you can go to Start -> Run and type in paintdotnet:"path to file1.png" path_to_file_2.png then both images will be opened (even if Paint.NET is already open)
    New: Added Heptagon (7-sided polygon) and Octagon (8-sided polygon) shapes
    Fixed the high-DPI inset-text scaling for the Shape selector (e.g. Pentagon with an inset "5")
    New: Palettes are now also loaded from Documents/paint.net App Files/Palettes. This folder name is not localized so that installation scripts may easily make use of it
    Fixed: View -> Pixel Grid will now correctly adjust to dynamic changes in the theme (light vs. dark)
    Fixed: The background color for the Tolerance slider has been corrected for non-dark themes
    Changed: Removed shortcut keys for all built-in Adjustments except for Invert Colors (Ctrl+Shift+I). This is being done to free up shortcut keys for other functionality.
    New: Added a shortcut key to trigger a full .NET garbage collection: Ctrl+Alt+Shift+` (tick/tilde). This should only ever be needed for troubleshooting purposes.
    New: Battery Saver Mode in Windows 10 is now respected, whether enabled manually or due to low battery. UI animations will be disabled.
    New: Long file paths (>MAX_PATH) are now supported on Windows 10, as long as the group policy setting is enabled ("Enable Win32 long paths")
    New for plugin developers: The IndirectUI Color Wheel control now supports an alpha slider. To use this, set the range (min/max values) of the Int32PropertyControl to [Int32.MinValue, Int32.MaxValue] (thanks @BoltBait!)
    New for plugin developers: there is a new FileChooser property control type for string properties (thanks @toe_head2001!)
    New for plugin developers: there is a new BinaryPixelOp.Apply(Surface, Surface, Surface, Rectangle) method overload (thanks @BoltBait!)
    Changed: The IndirectUI text control now has a vertical scroll bar when multiline mode is enabled (thanks @toe_head2001!)
    Changed: Visual C++ and OpenMP runtimes are now only loaded from the "app local" copy (never from the system directory). This fixes a number of headaches, and also works around a compatibility issue with the Surface Go
    Fixed: Crash when drag-and-dropping images onto Paint.NET when a tool was active but with uncommitted changes
    Fixed a very old and nasty crash, "InvalidOperationException: ScratchSurface already borrowed"



    

manifest.sha256

WAPT/icon.png 18aa44d2d96b35d91a3a1664ea558a56b7afcc5d590c2124a2175d65f1a836b0
WAPT/certificate.crt 13fb474c5c23c135a77aba592eb8821b9ecbcc463f5b7312312b87b20eac6779
WAPT/wapt.psproj df3e2fa87fea9c7bdfcc22039b9ef7303f092898882d9f3f4233f5d92f90b3c7
PaintDotNet_x64.msi b4f23828a2edfd8fa0b673808b9d0becf1d9d832fcb952c03eeb98e3d718ca16
setup.py 04157a933ae69d684bcdf7b33f8b7a7fc5a8ecb311150490a3501e7e73e0726f
WAPT/control 560c4931647eadf0eca6f20520093c4c4ff4daabc7dbe3d31e9d8aff69920534
WAPT/changelog.txt bda7d3219b4cdf2d4aec82e0c6e04950a3a2190f10ccae6d60456525a2caf7bf