Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sciter-sdk/pysciter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4
Choose a base ref
...
head repository: sciter-sdk/pysciter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 5, 2016

  1. Copy the full SHA
    bcc8a23 View commit details

Commits on Mar 18, 2016

  1. Copy the full SHA
    c090000 View commit details
  2. Copy the full SHA
    929c1e0 View commit details
  3. version 0.4.1

    pravic committed Mar 18, 2016
    Copy the full SHA
    0ec00e8 View commit details

Commits on Mar 21, 2016

  1. fix: value api name typo

    pravic committed Mar 21, 2016
    Copy the full SHA
    a77d7ea View commit details
  2. Copy the full SHA
    abaa802 View commit details

Commits on Mar 23, 2016

  1. dom: small fixes

    pravic committed Mar 23, 2016
    Copy the full SHA
    672773b View commit details
  2. bump version

    pravic committed Mar 23, 2016
    Copy the full SHA
    2516033 View commit details
  3. yet another dom fix

    pravic committed Mar 23, 2016
    Copy the full SHA
    b0eafe1 View commit details

Commits on Mar 26, 2016

  1. value improvement

    pravic committed Mar 26, 2016
    Copy the full SHA
    8ce4643 View commit details
  2. version 0.4.3

    pravic committed Mar 26, 2016
    Copy the full SHA
    bf3c193 View commit details

Commits on Mar 27, 2016

  1. update README

    pravic committed Mar 27, 2016
    Copy the full SHA
    42c1e3e View commit details

Commits on Apr 1, 2016

  1. Add Gitter badge

    gitter-badger committed Apr 1, 2016
    Copy the full SHA
    fc729ef View commit details
  2. Merge pull request #7 from gitter-badger/gitter-badge

    Add a Gitter chat badge to README.md
    pravic committed Apr 1, 2016
    Copy the full SHA
    2eac8a2 View commit details

Commits on Apr 12, 2016

  1. style: small code cleanup

    pravic committed Apr 12, 2016
    Copy the full SHA
    63b187c View commit details

Commits on Apr 18, 2016

  1. update license

    pravic committed Apr 18, 2016
    Copy the full SHA
    a3f5343 View commit details

Commits on Jul 7, 2016

  1. Copy the full SHA
    dce059c View commit details
  2. Copy the full SHA
    b751bd0 View commit details
  3. version 0.4.4

    pravic committed Jul 7, 2016
    Copy the full SHA
    2526245 View commit details

Commits on Oct 25, 2016

  1. Copy the full SHA
    5a455e6 View commit details
  2. version 0.4.5

    pravic committed Oct 25, 2016
    Copy the full SHA
    4ad1e76 View commit details

Commits on Feb 3, 2017

  1. style: Fix typos

    pravic committed Feb 3, 2017
    Copy the full SHA
    a0a940e View commit details
  2. dom: Fix fire_event.

    pravic committed Feb 3, 2017
    Copy the full SHA
    f1ab57a View commit details
  3. sciter 4.x compatibility

    pravic committed Feb 3, 2017
    Copy the full SHA
    b374970 View commit details
  4. add runnable zip archive example

    just execute `python examples/portable.zip`
    pravic committed Feb 3, 2017
    Copy the full SHA
    e1aa140 View commit details
  5. version 0.4.10

    pravic committed Feb 3, 2017
    Copy the full SHA
    4561f12 View commit details
  6. fix PyPi classifiers

    pravic committed Feb 3, 2017
    Copy the full SHA
    1f089ea View commit details

Commits on Feb 6, 2017

  1. doc: Improve readme.

    pravic committed Feb 6, 2017
    Copy the full SHA
    119f076 View commit details
  2. add window icon for examples.

    pravic committed Feb 6, 2017
    Copy the full SHA
    5b50291 View commit details

Commits on Feb 8, 2017

  1. Copy the full SHA
    f195c12 View commit details

Commits on Mar 3, 2017

  1. Copy the full SHA
    dc038d4 View commit details

Commits on May 10, 2017

  1. Copy the full SHA
    9cc2877 View commit details

Commits on May 30, 2017

  1. Copy the full SHA
    bc1971b View commit details
  2. Copy the full SHA
    00f680c View commit details
  3. feat: Improve @script handlers.

    Breaking change: `on_script_call` receives Sciter values now.
    pravic committed May 30, 2017
    Copy the full SHA
    c9b6dea View commit details
  4. Copy the full SHA
    bf216ca View commit details

Commits on Jun 26, 2017

  1. Copy the full SHA
    7b6ef06 View commit details
  2. style: Style fixes in tests.

    pravic committed Jun 26, 2017
    Copy the full SHA
    54dc42b View commit details
  3. version 0.4.14

    Fixes #13
    pravic committed Jun 26, 2017
    Copy the full SHA
    bb8faf5 View commit details

Commits on Jul 2, 2017

  1. version 0.4.15

    Fixes #14
    pravic committed Jul 2, 2017
    Copy the full SHA
    9c26744 View commit details

Commits on Jul 6, 2017

  1. Copy the full SHA
    0b3730b View commit details

Commits on Jul 18, 2017

  1. fix: Validate window size before creation.

    Fixes #15
    pravic committed Jul 18, 2017
    Copy the full SHA
    da75022 View commit details
  2. version 0.4.16

    pravic committed Jul 18, 2017
    Copy the full SHA
    e0613f7 View commit details

Commits on Jul 26, 2017

  1. Copy the full SHA
    04d1ebd View commit details
  2. version 0.4.17

    pravic committed Jul 26, 2017
    Copy the full SHA
    a2934f6 View commit details

Commits on Sep 10, 2017

  1. Copy the full SHA
    88ddc90 View commit details
  2. Copy the full SHA
    a2e6a6f View commit details
  3. version 0.4.18

    pravic committed Sep 10, 2017
    Copy the full SHA
    da4abe3 View commit details
  4. Copy the full SHA
    6a805ec View commit details

Commits on Dec 29, 2017

  1. feat: Add the global SciterSetOption to set default options before an…

    …y window is created.
    pravic committed Dec 29, 2017
    Copy the full SHA
    7fa4d92 View commit details
55 changes: 55 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: 0.6.0.{build}

branches:
only:
- master
- travis

image:
- Visual Studio 2019

environment:
matrix:
# Python versions:
# https://www.appveyor.com/docs/windows-images-software/#python

- TARGET: Python34
ARCH: 32

- TARGET: Python34-x64
ARCH: 64

- TARGET: Python35-x64
ARCH: 64

- TARGET: Python36-x64
ARCH: 64

- TARGET: Python37-x64
ARCH: 64

- TARGET: Python38-x64
ARCH: 64

- TARGET: Python39-x64
ARCH: 64

- TARGET: Python310-x64
ARCH: 64

install:
- cmd: echo Testing sciter%ARCH% with %TARGET%.
- cmd: echo Current directory is %APPVEYOR_BUILD_FOLDER%
- cmd: set PATH=C:\%TARGET%;C:\projects\deps;%PATH%;
- python --version

- mkdir ..\deps
- curl -so "..\deps\sciter.dll" "https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x%ARCH%/sciter.dll"

build_script:
- cmd: cd
- python setup.py install

test_script:
- cmd: cd
- python tests\test_value.py
33 changes: 33 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
echo stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
echo exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
71 changes: 71 additions & 0 deletions .github/workflows/pysciter-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# This workflow will install Python dependencies, run tests and lint
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Sciter.JS

on:
push:
branches:
- master
- travis

pull_request:
branches:
- master

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Windows deps
if: runner.os == 'Windows'
# Windows: download sciter library
run: curl -sSLo "%SCITER_DEPS%/sciter.dll" "https://raw.githubusercontent.com/c-smile/sciter-js-sdk/main/bin/windows/x64/sciter.dll"
shell: cmd
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: Linux deps
if: runner.os == 'Linux'
# Linux: download sciter library && install libgtk-3-dev
run: |
curl -so "$SCITER_DEPS/libsciter-gtk.so" "https://raw.githubusercontent.com/c-smile/sciter-js-sdk/main/bin/linux/x64/libsciter-gtk.so"
sudo apt-get update -y && sudo apt-get install libgtk-3-dev libgtk-3-0 -y
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: macOS deps
if: runner.os == 'macOS'
# OSX: download sciter library
run: |
curl -so "$SCITER_DEPS/libsciter.dylib" "https://raw.githubusercontent.com/c-smile/sciter-js-sdk/main/bin/macosx/libsciter.dylib"
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test
shell: bash
env:
SCITER_DEPS: ${{ runner.workspace }}
run: |
export PATH="$PATH:$SCITER_DEPS"
pip install .
python tests/test_value.py
71 changes: 71 additions & 0 deletions .github/workflows/pysciter-tis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# This workflow will install Python dependencies, run tests and lint
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Sciter.TIS

on:
push:
branches:
- master
- travis

pull_request:
branches:
- master

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Windows deps
if: runner.os == 'Windows'
# Windows: download sciter library
run: curl -sSLo "%SCITER_DEPS%/sciter.dll" "https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll"
shell: cmd
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: Linux deps
if: runner.os == 'Linux'
# Linux: download sciter library && install libgtk-3-dev
run: |
curl -so "$SCITER_DEPS/libsciter-gtk.so" "https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so"
sudo apt-get update -y && sudo apt-get install libgtk-3-dev libgtk-3-0 -y
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: macOS deps
if: runner.os == 'macOS'
# OSX: download sciter library
run: |
curl -so "$SCITER_DEPS/libsciter.dylib" "https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.osx/libsciter.dylib"
env:
SCITER_DEPS: ${{ runner.workspace }}

- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test
shell: bash
env:
SCITER_DEPS: ${{ runner.workspace }}
run: |
export PATH="$PATH:$SCITER_DEPS"
pip install .
python tests/test_value.py
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,9 @@ env*/*
**/__pycache__/*
*.pyc
*.egg-info/*
/dist/*
/build/*
PySciter.pyproj
PySciter.sln
/.vs/
/.vscode/
80 changes: 80 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2

# Ubuntu versions:
# https://docs.travis-ci.com/user/reference/linux/
dist: xenial
sudo: false
language: python

notifications:
email: change

matrix:
include:
# Python versions:
# https://docs.travis-ci.com/user/languages/python/#python-versions

- os: linux
python: "3.4"
- os: linux
python: "3.7"
- os: linux
python: "3.8"
- os: linux
python: "3.9"
- os: linux
python: "3.10"

- os: osx
# python comes with `osx_image`, see
# https://blog.travis-ci.com/2019-08-07-extensive-python-testing-on-travis-ci
language: shell
osx_image: xcode10.2

- os: osx
language: shell
osx_image: xcode12.2

branches:
only:
- master
- travis

addons:
apt:
sources:
- ubuntu-toolchain-r-test

packages:
- libgtk-3-dev
- libgtk-3-0
- libstdc++-6-pic


before_install:
- set -e
- python3 --version

install:
- export SDK_PATH=https://raw.githubusercontent.com/c-smile/sciter-sdk/master
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then curl -so "$TRAVIS_BUILD_DIR/libsciter-gtk.so" $SDK_PATH/bin.lnx/x64/libsciter-gtk.so; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then curl -so "$TRAVIS_BUILD_DIR/libsciter.dylib" $SDK_PATH/bin.osx/libsciter.dylib; fi

- pip3 install -U pip
- pip3 install -U pytest

before_script:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$TRAVIS_BUILD_DIR"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cp "$TRAVIS_BUILD_DIR/libsciter.dylib" "$TRAVIS_BUILD_DIR/liblibsciter.dylib"; fi

- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$TRAVIS_BUILD_DIR"; fi

- export PATH="$PATH:$TRAVIS_BUILD_DIR"
- export LIBRARY_PATH="$LIBRARY_PATH:$TRAVIS_BUILD_DIR"

script:
- python3 setup.py develop
- python3 tests/test_value.py

after_script: set +e
Loading