Skip to content

Commit

Permalink
24/07/2018 16:40:36
Browse files Browse the repository at this point in the history
  • Loading branch information
epeios-q37 committed Jul 24, 2018
1 parent f33910a commit b02d9b5
Show file tree
Hide file tree
Showing 199 changed files with 2,402 additions and 1,616 deletions.
35 changes: 28 additions & 7 deletions .appveyor.yml
@@ -1,36 +1,55 @@
# xdhq.appveyor
# node.appveyor

environment:
version: 20180227
affix: xdhqnjs
version: 20180723
affix: xdhq
matrix:
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
- nodejs_version: "7"
- nodejs_version: "8"
- nodejs_version: "9"

skip_tags: true

platform:
- x86
- x64

configuration: Release
# configuration: Release

os :
# - Visual Studio 2013
# - Visual Studio 2015
- Visual Studio 2017

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install njsq

after_build:
- node -e "console.log( process.versions.modules + ' - ' + require('./package.json').version)"
- if "%platform%"=="x86" set platform=ia32
- echo | set /p="%affix%-v%version%" >>tmpfile.tmp || true
- echo | set /p="%affix%njs-v%version%" >>tmpfile.tmp || true
- echo | set /p="-win32-" >>tmpfile.tmp || true
- echo | set /p="%platform%" >>tmpfile.tmp || true
- set /p addon= <tmpfile.tmp
- echo .%addon%.
- set dir=win32-%platform%
- mkdir %dir%
- copy %affix%.dll %dir%
- copy %affix%njs.dll %dir%
# It MUST be '.tar.gz' to be retrieved by 'node-pre-gyp' when installed with 'npm' !
- 7z a -ttar -so dummy %dir% | 7z a -si %addon%.tar.gz

test_script:
- node --version
- npm --version
# - npm explore njsq -- node test.js
# Above line does not work properly under node 4 & 5, so below command is used instead.
- node -e "process.stdout.write( \"***** 'NJSq' TEST BEGIN *****\n\" )" && node node_modules/njsq/test.js && node -e "process.stdout.write( \"***** 'NJSq' TEST END *****\n\" )"
- node -e "process.stdout.write( \"********** 'XDHq' TEST BEGIN **********\n\" )" && node test.js && node -e "process.stdout.write( \"\n********** 'XDHq' TEST END **********\n\" )"

artifacts:
- path: '*.tar.gz'

Expand All @@ -41,4 +60,6 @@ deploy:
auth_token:
secure: kKebvPLjikQbZ7E1Vm8omoYc9K0wOcKxjWsglp3+D4fV9ev/FaWr8ZBI+AseOTis
draft: false
prerelease: false
prerelease: false
on:
nodejs_version: "8"
20 changes: 19 additions & 1 deletion .travis.yml
@@ -1,4 +1,4 @@
# xdhq.travis
# node.travis

os:
- linux
Expand All @@ -15,6 +15,24 @@ node_js:
- "7"
- "8"

script:
# Below commented commands are automatically done.
#- npm install node-pre-gyp
#- node-pre-gyp configure
#- node-pre-gyp build
# New
- npm install
- make
- npm explore njsq -- node test.js
- node test.js

# OLD
# - npm install njsq
# - npm explore njsq -- node test.js
# - node-pre-gyp configure
# - node-pre-gyp build
# - node test.js

# To disable building on tags. Tags are supposed to begin with 'v' and only containing digits.
branches:
except:
Expand Down
49 changes: 37 additions & 12 deletions CHANGELOG.md
@@ -1,30 +1,55 @@
*CHANGELOG* for the *XDHTML* wrappers (*all languages*).
# *CHANGELOG* for the *XDHTML* wrappers (*all languages*).

2018-02-27:
- *xdhqnjs*
## 2018-07-12
- *xdhqnjs*:
- no more `Tree` object, but a 'createTree()` function returning an object from a *xmlbuilder* module,

## 2018-04-14

- *xdhqnjs*:
- adaptation to changes in underlying modules,

## 2018-04-06

- *xdhqnjs*:
- using `ProcessBuilder` to launch *Electron* and *httpd*, as `Runtime.exec(...)` seems not to work under *macOS*,

## 2018-04-04
- *xdhqnjs*:
- some modifications to be compatible with *Java* 1.6,

## 2018-02-27

- *xdhqnjs*:
- *CTRL-C* now kills the application silently,

2018-02-23:
## 2018-02-23

- all:
- desktop interface (*Electron*) can now be launched, instead of the default web one, by modifying the application source,

2018-02-19:
- *xdhqznd*
## 2018-02-19

- *xdhqznd*:
- adaptation to changes in underlying libraries,

2018-02-16:
## 2018-02-16

- *common*:
- handles now the action to launch on a new session; this action is launched when the action parameter on a query is empty or absent,

2018-02-14:
## 2018-02-14

- *xdhqnjs*:
- changing *NPM* package name from *xdhq* to *xdhqnjs* due to coming *Java* and *PHP* version,

2018-01-14:
- *xdhqnjs*
## 2018-01-14

- *xdhqnjs*:
- all the files served by the *httpd* server are automatically now relative to the directory containing the main *JS* script; it's no more required to give this directory as parameter of the `launch(...)` method,

2018-01-13:
- *xdhqnjs*
## 2018-01-13

- *xdhqnjs*:
- replacing the *cast* system handling with a system based on *CSS* styles and classes,
- adding functions to (en|dis)able elements (including styles).
2 changes: 1 addition & 1 deletion Details.props
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>VERSION="20180227";COPYRIGHT_YEARS="2017";IDENTIFIER="eb4b4c67-b4ec-4f4f-bfe9-e149f9481aae";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>VERSION="20180723";COPYRIGHT_YEARS="2017";IDENTIFIER="0b76d662-671f-4808-9b05-158dc565366b";%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
8 changes: 4 additions & 4 deletions Makefile 100644 → 100755
Expand Up @@ -41,11 +41,11 @@ mods += xtf llio dlbrry n4all n4njs
mods += plgn plgncore uvqdcl sck
mods += csdbns csdcmn csdmns csdmxb csdmxs
mods += csdscb
mods += sclargmnt sclmisc sclerror scllocale sclrgstry
mods += scln4a sclnjs
mods += sclargmnt scli sclmisc sclerror scllocale
mods += sclrgstry scln4a sclnjs
mods += prtcl proxy prxy_cmn prxy_recv prxy_send
mods += tree
mods += registry treep xdhp
mods += registry xdhp

pmods += pllio

Expand Down Expand Up @@ -396,7 +396,7 @@ ifeq ("$(target)","$(Android)")
rm -rf *.d
endif

copt += -DVERSION=\""20180227"\"
copt += -DVERSION=\""20180723"\"
copt += -DCOPYRIGHT_YEARS=\""2017"\"
copt += -DIDENTIFIER=\""d6a723cb-e88f-4f2f-b429-3adc207f1d62"\"

Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# *XDHqNJS*
# xdhq-node

[![NPM](https://nodei.co/npm/xdhqnjs.png)](https://nodei.co/npm/xdhqnjs/)

Expand Down

0 comments on commit b02d9b5

Please sign in to comment.