Skip to content

Commit 09ab71b

Browse files
committed
version 0.9.0
1 parent c104113 commit 09ab71b

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ in the documentation of this project are to be interpreted as described in [RFC
4848
## Quick Start
4949

5050
* Common Steps:
51-
* **1.** Download PEB.
52-
* **2.** Select your Perl distribution.
51+
* **1.** [Download PEB](https://github.com/ddmitov/perl-executing-browser/releases/latest).
52+
* **2.** [Select your Perl distribution](./doc/REQUIREMENTS.md#runtime-requirements).
5353

5454
* Serverless Application:
5555
* **3.** Write your Perl application reading user input on STDIN:

resources/app/index-windows.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,18 @@
5858
var open_file = {};
5959
open_file.scriptRelativePath = 'perl-scripts/open-files.pl';
6060
open_file.stdoutFunction = function (stdout) {
61-
clearTestData();
6261
displayTestResult('open-file', stdout);
6362
}
6463

6564
var open_files = {};
6665
open_files.scriptRelativePath = 'perl-scripts/open-files.pl';
6766
open_files.stdoutFunction = function (stdout) {
68-
clearTestData();
6967
displayTestResult('open-files', stdout);
7068
}
7169

7270
var open_directory = {};
7371
open_directory.scriptRelativePath = 'perl-scripts/open-directory.pl';
7472
open_directory.stdoutFunction = function (stdout) {
75-
clearTestData();
7673
displayTestResult('open-directory', stdout);
7774
}
7875

@@ -95,12 +92,14 @@
9592
select_file.type = 'single-file';
9693
select_file.receiverFunction = function (fileName) {
9794
open_file.inputData = fileName;
95+
clearTestData();
9896
peb.startScript('open_file.script');
9997
}
10098

10199
var new_file_name = {};
102100
new_file_name.type = 'new-file-name';
103101
new_file_name.receiverFunction = function (fileName) {
102+
clearTestData();
104103
var pre = document.createElement("pre");
105104
pre.innerHTML = 'New file name: ' + fileName;
106105
document.getElementById('tests').appendChild(pre);
@@ -110,13 +109,15 @@
110109
select_files.type = 'multiple-files';
111110
select_files.receiverFunction = function (fileNames) {
112111
open_files.inputData = fileNames;
112+
clearTestData();
113113
peb.startScript('open_files.script');
114114
}
115115

116116
var select_directory = {};
117117
select_directory.type = 'directory';
118118
select_directory.receiverFunction = function (directoryName) {
119119
open_directory.inputData = directoryName;
120+
clearTestData();
120121
peb.startScript('open_directory.script');
121122
}
122123

resources/app/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,18 @@
5050
var open_file = {};
5151
open_file.scriptRelativePath = 'perl-scripts/open-files.pl';
5252
open_file.stdoutFunction = function (stdout) {
53-
clearTestData();
5453
displayTestResult('open-file', stdout);
5554
}
5655

5756
var open_files = {};
5857
open_files.scriptRelativePath = 'perl-scripts/open-files.pl';
5958
open_files.stdoutFunction = function (stdout) {
60-
clearTestData();
6159
displayTestResult('open-files', stdout);
6260
}
6361

6462
var open_directory = {};
6563
open_directory.scriptRelativePath = 'perl-scripts/open-directory.pl';
6664
open_directory.stdoutFunction = function (stdout) {
67-
clearTestData();
6865
displayTestResult('open-directory', stdout);
6966
}
7067

@@ -87,12 +84,14 @@
8784
select_file.type = 'single-file';
8885
select_file.receiverFunction = function (fileName) {
8986
open_file.inputData = fileName;
87+
clearTestData();
9088
peb.startScript('open_file.script');
9189
}
9290

9391
var new_file_name = {};
9492
new_file_name.type = 'new-file-name';
9593
new_file_name.receiverFunction = function (fileName) {
94+
clearTestData();
9695
var pre = document.createElement("pre");
9796
pre.innerHTML = 'New file name: ' + fileName;
9897
document.getElementById('tests').appendChild(pre);
@@ -102,13 +101,15 @@
102101
select_files.type = 'multiple-files';
103102
select_files.receiverFunction = function (fileNames) {
104103
open_files.inputData = fileNames;
104+
clearTestData();
105105
peb.startScript('open_files.script');
106106
}
107107

108108
var select_directory = {};
109109
select_directory.type = 'directory';
110110
select_directory.receiverFunction = function (directoryName) {
111111
open_directory.inputData = directoryName;
112+
clearTestData();
112113
peb.startScript('open_directory.script');
113114
}
114115

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
4545
// ==============================
4646
// Application version:
4747
// ==============================
48-
application.setApplicationVersion("0.8.0");
48+
application.setApplicationVersion("0.9.0");
4949

5050
// ==============================
5151
// UTF-8 encoding application-wide:

src/resources/peb.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ IDI_ICON1 ICON DISCARDABLE "icon/camel.ico"
33
# include <winver.h>
44

55
VS_VERSION_INFO VERSIONINFO
6-
FILEVERSION 0,8,0,0
7-
PRODUCTVERSION 0,8,0,0
6+
FILEVERSION 0,9,0,0
7+
PRODUCTVERSION 0,9,0,0
88
FILEFLAGSMASK 0x3fL
99
#ifdef _DEBUG
1010
FILEFLAGS VS_FF_DEBUG
@@ -21,7 +21,7 @@ VS_VERSION_INFO VERSIONINFO
2121
BEGIN
2222
VALUE "CompanyName", "PEB Dev Team\0"
2323
VALUE "FileDescription", "Perl Executing Browser\0"
24-
VALUE "FileVersion", "0.8.0.0\0"
24+
VALUE "FileVersion", "0.9.0.0\0"
2525
VALUE "LegalCopyright", "LGPL v.3\0"
2626
VALUE "OriginalFilename", "peb.exe\0"
2727
VALUE "ProductName", "Perl Executing Browser\0"

0 commit comments

Comments
 (0)