xrpn 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/xrpn +1 -3
- data/lib/xrpn.rb +1 -2
- data/xlib/theme +23 -0
- data/xrpn.gemspec +1 -1
- metadata +2 -3
- data/xlib/theme_dark +0 -10
- data/xlib/theme_light +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16c34e199fb1fbc49a70873a0f8c5ac5138428455ea901fbd75078521763386b
|
4
|
+
data.tar.gz: 86408ca6f73171ea22f769b565687bb69f01ddea7764b70057a25e5110766901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b65935bac23d27df1ecde41dc16f4e488cd5a141a7e56de6f18c47df42a21b8239f516871534667227da269767369627a1c3030ac2321eb6c1adf475d31ff58
|
7
|
+
data.tar.gz: ad965154e4811e44e57fa88e4185caa7aba1c79e24cd56c54eca1596c753d7c9141efde3e7164f559dd7054b89fb459621c9f648cbae0db08f5d58b7ead08958
|
data/bin/xrpn
CHANGED
@@ -37,9 +37,7 @@ if $lfile # Read file to load but
|
|
37
37
|
end
|
38
38
|
read_state($sfile) if $sfile # Read state file in ~.xrpn/ if -s switch is used
|
39
39
|
$debug = true if $lfile or $sfile # Do not run loaded program or program in state file
|
40
|
-
load(Dir.home+'/.xrpn/
|
41
|
-
load(Dir.home+'/.xrpn/conf') if File.exist?(Dir.home+'/.xrpn/conf') # Read config file
|
42
|
-
load(Dir.home+'/.xrpn/xlib/theme_light') if $theme == "light" and File.exist?(Dir.home+'/.xrpn/xlib/theme_light') # Read theme file
|
40
|
+
load(Dir.home+'/.xrpn/conf') if File.exist?(Dir.home+'/.xrpn/conf') # Read config file
|
43
41
|
load(Dir.home+'/.xrpn/theme') if File.exist?(Dir.home+'/.xrpn/theme') # Override theme if user theme file exists
|
44
42
|
|
45
43
|
|
data/lib/xrpn.rb
CHANGED
data/xlib/theme
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
def theme(t ="dark")
|
2
|
+
if t == "light"
|
3
|
+
$colors = {
|
4
|
+
"X" => 232,
|
5
|
+
"Y" => 241,
|
6
|
+
"Z" => 244,
|
7
|
+
"T" => 247,
|
8
|
+
"L" => 130,
|
9
|
+
"A" => 39
|
10
|
+
}
|
11
|
+
else
|
12
|
+
$colors = {
|
13
|
+
"X" => 255,
|
14
|
+
"Y" => 246,
|
15
|
+
"Z" => 243,
|
16
|
+
"T" => 240,
|
17
|
+
"L" => 130,
|
18
|
+
"A" => 39
|
19
|
+
}
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# vim:ft=ruby:
|
data/xrpn.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'xrpn'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.8'
|
4
4
|
s.licenses = ['Unlicense']
|
5
5
|
s.summary = "XRPN - The eXtended RPN (Reverse Polish Notation) programming language"
|
6
6
|
s.description = "A full programming language and environment extending the features of the venerable HP calculator programmable calculators. With XRPN you can accomplish a wide range of modern programming tasks as well as running existing HP-41 FOCAL programs directly. XRPN gives modern life to tens of thousands of old HP calculator programs and opens the possibilities to many, many more."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xrpn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -320,8 +320,7 @@ files:
|
|
320
320
|
- xlib/save_xm
|
321
321
|
- xlib/setpt
|
322
322
|
- xlib/string
|
323
|
-
- xlib/
|
324
|
-
- xlib/theme_light
|
323
|
+
- xlib/theme
|
325
324
|
- xlib/xrpn_class
|
326
325
|
- xrpn.gemspec
|
327
326
|
homepage: https://github.com/isene/XRPN
|
data/xlib/theme_dark
DELETED