rwdfoldeditor 0.03 → 0.05
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.txt +20 -7
- data/code/01rwdcore/01rwdcore.rb +2 -2
- data/code/superant.com.foldeditor/0uninstallapplet.rb +1 -1
- data/code/superant.com.foldeditor/launchfoldeditorurl.rb +9 -2
- data/code/superant.com.foldeditor/loadconfigurationrecord.rb +1 -1
- data/code/superant.com.foldeditor/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.foldeditor/loadfolddocument.rb +2 -5
- data/code/superant.com.foldeditor/loadnextnote.rb +32 -0
- data/code/superant.com.foldeditor/loadprevnote.rb +32 -0
- data/code/superant.com.foldeditor/rwddisplayfoldlinks.rb +11 -3
- data/code/superant.com.foldeditor/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +35 -34
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +9 -7
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
- data/configuration/rwdtinker.dist +4 -8
- data/configuration/rwdwfoldeditor.dist +14 -0
- data/configuration/tinkerwin2variables.dist +17 -7
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.foldeditor/10aviewnote.rwd +2 -1
- data/gui/tinkerbackwindows/superant.com.foldeditor/15htmlview.rwd +5 -8
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
- data/init.rb +5 -0
- data/installed/{rwdwfoldeditor-0.03.inf → rwdwfoldeditor.inf} +2 -1
- data/lang/en/rwdcore/languagefile.rb +1 -0
- data/lang/es/rwdcore/languagefile-es.rb +1 -0
- data/lang/fr/rwdcore/languagefile.rb +1 -0
- data/lang/jp/rwdcore/languagefile.rb +1 -0
- data/lang/nl/rwdcore/languagefile.rb +1 -0
- data/lib/rconftool.rb +13 -6
- data/lib/rwd/net.rb +15 -4
- data/lib/rwd/ruby.rb +1 -1
- data/lib/rwd/rwd.rb +103 -620
- data/lib/rwdthemes/default.rwd +317 -0
- data/lib/rwdthemes/pda.rwd +72 -0
- data/lib/rwdthemes/windowslike.rwd +171 -0
- data/lib/rwdtinker/rwdtinkertools.rb +24 -0
- data/rwd_files/HowTo_FoldEditor.txt +9 -0
- data/rwd_files/HowTo_Tinker.txt +17 -1
- data/rwd_files/log/rwdtinker.log +2 -0
- data/rwdconfig.dist +14 -13
- data/tests/makedist-rwdwfoldeditor.rb +8 -4
- data/tests/makedist.rb +2 -2
- data/zips/rwdwcalc-0.63.zip +0 -0
- data/zips/rwdwfoldeditor-0.05.zip +0 -0
- data/zips/{rwdwgutenberg-0.09.zip → rwdwgutenberg-0.11.zip} +0 -0
- data/zips/rwdwhypernote-0.15.zip +0 -0
- data/zips/rwdwruby-1.08.zip +0 -0
- data/zips/wrubyslippers-1.07.zip +0 -0
- metadata +19 -13
- data/configuration/language.dist +0 -8
- data/configuration/rwdapplicationidentity.dist +0 -3
- data/configuration/rwdwfoldeditor-0.03.dist +0 -14
- data/zips/rwdwaddresses-1.05.zip +0 -0
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwfoldeditor-0.03.zip +0 -0
- data/zips/rwdwruby-1.05.zip +0 -0
- data/zips/temp.rb +0 -1
- data/zips/wrubyslippers-1.06.zip +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
module RwdtinkerTools
|
|
4
|
+
|
|
5
|
+
# tools to use in rwdtinker
|
|
6
|
+
|
|
7
|
+
def RwdtinkerTools.tail(filename, lines=12)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
begin
|
|
11
|
+
tmpFile = File.open(filename, 'r')
|
|
12
|
+
|
|
13
|
+
return tmpFile.readlines.reverse!.slice(0,lines)
|
|
14
|
+
|
|
15
|
+
tmpFile.close
|
|
16
|
+
rescue
|
|
17
|
+
return "error in opening log"
|
|
18
|
+
$rwdtinkerlog.error "RwdtinkerTools.tail: file open error"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
|
|
@@ -96,6 +96,15 @@ Steven Gibson
|
|
|
96
96
|
steven@superant.com
|
|
97
97
|
|
|
98
98
|
== Changelog
|
|
99
|
+
version 0.05
|
|
100
|
+
added http url launch
|
|
101
|
+
|
|
102
|
+
version 0.04
|
|
103
|
+
fix config file to work properly with rconftool
|
|
104
|
+
added next and prev to note view
|
|
105
|
+
more error handling in loading fold files
|
|
106
|
+
browser opening of all mime type documents
|
|
107
|
+
|
|
99
108
|
version 0.03
|
|
100
109
|
remove sort from display of fold links (we want the default order!)
|
|
101
110
|
widen text boxes that display path and name of note file
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
|
@@ -220,13 +220,29 @@ under the terms of the GPL licence:
|
|
|
220
220
|
For more information see:
|
|
221
221
|
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
|
222
222
|
|
|
223
|
-
|
|
224
223
|
For more information about RubyWebDialogs see:
|
|
225
224
|
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
226
225
|
|
|
227
226
|
Thanks, Steven Gibson
|
|
228
227
|
|
|
229
228
|
== Changelog
|
|
229
|
+
version 1.80
|
|
230
|
+
changed pda handling in rwd.rb
|
|
231
|
+
added logging
|
|
232
|
+
added log review screen on tinker back window
|
|
233
|
+
changed handling of live applet loading, to not list version in file names
|
|
234
|
+
|
|
235
|
+
version 1.79
|
|
236
|
+
edited net.rb to fix text editing
|
|
237
|
+
|
|
238
|
+
version 1.78
|
|
239
|
+
modify config files
|
|
240
|
+
modify rconftools.rb to handle \r\n dos vs unix
|
|
241
|
+
|
|
242
|
+
Version 1.77
|
|
243
|
+
Fixed zips location to be relative or absolute
|
|
244
|
+
Made themes loadable
|
|
245
|
+
|
|
230
246
|
Version 1.76
|
|
231
247
|
Move rwd code files into lib directory - bug - 21886
|
|
232
248
|
change tab name list applets - bug - 21864
|
data/rwdconfig.dist
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.78)
|
|
2
2
|
# rwdtinker core configuration file
|
|
3
|
-
##NAME: ConfigLocation:
|
|
3
|
+
##NAME: (ConfigLocation):(1.78)
|
|
4
4
|
ConfigLocation=""
|
|
5
|
-
##NAME: ZipsLocation:
|
|
5
|
+
##NAME: (ZipsLocation):(1.78)
|
|
6
6
|
ZipsLocation=""
|
|
7
|
-
##NAME
|
|
7
|
+
##NAME: ($testharnessarray):(1.78)
|
|
8
8
|
$testharnessarray = ["rwdtinker_all_tests"]
|
|
9
|
-
##NAME:TestNow:
|
|
9
|
+
##NAME: (TestNow):(1.78)
|
|
10
10
|
TestNow=false # turning this on will run the unit tests
|
|
11
|
-
##NAME
|
|
11
|
+
##NAME: ($testharness):(1.78)
|
|
12
12
|
$testharness=true
|
|
13
|
-
##NAME
|
|
13
|
+
##NAME: ($tinkerhelpaboutarray):(1.78)
|
|
14
14
|
$tinkerhelpaboutarray = ["Tinker"]
|
|
15
|
-
##NAME
|
|
16
|
-
$
|
|
17
|
-
##NAME
|
|
18
|
-
$
|
|
19
|
-
##NAME:JumpLink:
|
|
15
|
+
##NAME: ($helptopicsarray):(1.78)
|
|
16
|
+
$helptopicsarray = [ "general_help","network_help"]
|
|
17
|
+
##NAME: ($tinkerdocumentsarray):(1.78)
|
|
18
|
+
$tinkerdocumentsarray = ["HowTo_Tinker.txt" , "rwdapplications.html" , "RubyWebDialogs.html"]
|
|
19
|
+
##NAME: (JumpLink):(1.78)
|
|
20
20
|
JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] }
|
|
21
|
-
|
|
21
|
+
##NAME: ($rwdjumplink):(1.78)
|
|
22
|
+
$rwdjumplink = ["helpscreen", "tinkerbackwindow", "returntomain", "opendocuments", "editconfiguration"]
|
|
@@ -12,8 +12,8 @@ $rwdjumplink = [""]
|
|
|
12
12
|
JumpLink = Hash.new("default")
|
|
13
13
|
require 'fileutils'
|
|
14
14
|
DistroName = "rwdwfoldeditor"
|
|
15
|
-
DistroVersion=0.
|
|
16
|
-
load "configuration/#{DistroName}
|
|
15
|
+
DistroVersion="0.05"
|
|
16
|
+
load "configuration/#{DistroName}.dist"
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
DistroTitle="#{DistroName}-#{DistroVersion}"
|
|
@@ -27,10 +27,14 @@ puts "creating #{DistroName} distribution files version #{DistroVersion}"
|
|
|
27
27
|
|
|
28
28
|
#puts "moving up one directory"
|
|
29
29
|
#Dir.chdir("..")
|
|
30
|
-
|
|
30
|
+
findcmd = "find _arx > /tmp/excludezip"
|
|
31
|
+
puts "#{findcmd}"
|
|
32
|
+
`#{findcmd}`
|
|
31
33
|
|
|
32
34
|
FileUtils.rm_rf("#{DistroTitle}.zip")
|
|
33
|
-
zipcreatecmd = "zip -r #{DistroTitle}.zip *"
|
|
35
|
+
zipcreatecmd = "zip -r #{DistroTitle}.zip * -x@/tmp/excludezip"
|
|
36
|
+
puts "#{findcmd}"
|
|
37
|
+
`#{findcmd}`
|
|
34
38
|
puts "#{zipcreatecmd}"
|
|
35
39
|
`#{zipcreatecmd}`
|
|
36
40
|
|
data/tests/makedist.rb
CHANGED
|
@@ -14,9 +14,9 @@ require 'fileutils'
|
|
|
14
14
|
|
|
15
15
|
DistroName = "rwdwfoldeditor"
|
|
16
16
|
|
|
17
|
-
DistroVersion="0.
|
|
17
|
+
DistroVersion="0.05"
|
|
18
18
|
|
|
19
|
-
DistroTitle="#{DistroName}
|
|
19
|
+
DistroTitle="#{DistroName}.dist"
|
|
20
20
|
load "configuration/#{DistroTitle}"
|
|
21
21
|
DistroName = "rwdfoldeditor"
|
|
22
22
|
DistroTitle = "#{DistroName}-#{DistroVersion}"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rwdfoldeditor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: "0.
|
|
4
|
+
version: "0.05"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Gibson
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-10-06 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -44,8 +44,13 @@ files:
|
|
|
44
44
|
- lib/dict.rb
|
|
45
45
|
- lib/oothesaurus.rb
|
|
46
46
|
- lib/rconftool.rb
|
|
47
|
+
- lib/rwdthemes/default.rwd
|
|
48
|
+
- lib/rwdthemes/pda.rwd
|
|
49
|
+
- lib/rwdthemes/windowslike.rwd
|
|
50
|
+
- lib/rwdtinker/rwdtinkertools.rb
|
|
47
51
|
- code/zz0applicationend/zz0end.rb
|
|
48
52
|
- code/superant.com.rwdtinkerbackwindow/listgemdirs.rb
|
|
53
|
+
- code/superant.com.rwdtinkerbackwindow/viewlogfile.rb
|
|
49
54
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
|
50
55
|
- code/superant.com.rwdtinkerbackwindow/listgemzips.rb
|
|
51
56
|
- code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
|
|
@@ -110,17 +115,17 @@ files:
|
|
|
110
115
|
- code/superant.com.foldeditor/hyperlinkcreatelinkfile.rb
|
|
111
116
|
- code/superant.com.foldeditor/loadconfigurationvariables.rb
|
|
112
117
|
- code/superant.com.foldeditor/listfoldeditorfiles.rb
|
|
118
|
+
- code/superant.com.foldeditor/loadprevnote.rb
|
|
113
119
|
- code/superant.com.foldeditor/loadfolddocument.rb
|
|
114
120
|
- code/superant.com.foldeditor/choosenotefile.rb
|
|
121
|
+
- code/superant.com.foldeditor/loadnextnote.rb
|
|
115
122
|
- code/superant.com.foldeditor/launchfoldeditorurl.rb
|
|
116
123
|
- code/superant.com.foldeditor/chooselinkfile.rb
|
|
117
124
|
- code/superant.com.foldeditor/savefoldlinkfile.rb
|
|
118
125
|
- code/superant.com.foldeditor/runrwdapplet.rb
|
|
119
126
|
- configuration/rwdtinker.dist
|
|
120
127
|
- configuration/tinkerwin2variables.dist
|
|
121
|
-
- configuration/
|
|
122
|
-
- configuration/rwdapplicationidentity.dist
|
|
123
|
-
- configuration/rwdwfoldeditor-0.03.dist
|
|
128
|
+
- configuration/rwdwfoldeditor.dist
|
|
124
129
|
- lang/en/rwdcore/languagefile.rb
|
|
125
130
|
- lang/es/rwdcore/languagefile-es.rb
|
|
126
131
|
- lang/fr/rwdcore/languagefile.rb
|
|
@@ -141,6 +146,7 @@ files:
|
|
|
141
146
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
|
|
142
147
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd
|
|
143
148
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd
|
|
149
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd
|
|
144
150
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd
|
|
145
151
|
- gui/tinkerbackwindows/superant.com.foldeditor
|
|
146
152
|
- gui/tinkerbackwindows/superant.com.foldeditor/56viewfold.rwd
|
|
@@ -173,7 +179,8 @@ files:
|
|
|
173
179
|
- gui/frontwindowselections/00selectiontabbegin.rwd
|
|
174
180
|
- gui/zzcoreguiend/yy9rwdend.rwd
|
|
175
181
|
- installed/temp.rb
|
|
176
|
-
- installed/rwdwfoldeditor
|
|
182
|
+
- installed/rwdwfoldeditor.inf
|
|
183
|
+
- rwd_files/log/rwdtinker.log
|
|
177
184
|
- rwd_files/tinker.png
|
|
178
185
|
- rwd_files/favicon.ico
|
|
179
186
|
- rwd_files/default.fld
|
|
@@ -185,13 +192,12 @@ files:
|
|
|
185
192
|
- rwd_files/HowTo_Tinker.txt
|
|
186
193
|
- rwd_files/rwdhypernote-0.13.fld
|
|
187
194
|
- rwd_files/HowTo_FoldEditor.txt
|
|
188
|
-
- zips/rwdwgutenberg-0.
|
|
189
|
-
- zips/
|
|
190
|
-
- zips/
|
|
191
|
-
- zips/
|
|
192
|
-
- zips/
|
|
193
|
-
- zips/
|
|
194
|
-
- zips/wrubyslippers-1.06.zip
|
|
195
|
+
- zips/rwdwgutenberg-0.11.zip
|
|
196
|
+
- zips/rwdwfoldeditor-0.05.zip
|
|
197
|
+
- zips/rwdwcalc-0.63.zip
|
|
198
|
+
- zips/rwdwruby-1.08.zip
|
|
199
|
+
- zips/wrubyslippers-1.07.zip
|
|
200
|
+
- zips/rwdwhypernote-0.15.zip
|
|
195
201
|
- tests/rdep.rb
|
|
196
202
|
- tests/makedist-rwdwfoldeditor.rb
|
|
197
203
|
- tests/cleancnf.sh
|
data/configuration/language.dist
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
##VERSION:0.03
|
|
2
|
-
##NAME:$rwdfoldeditor_directory:0
|
|
3
|
-
$rwdfoldeditor_directory = "rwd_files"
|
|
4
|
-
##NAME:$foldeditorbrowser:0
|
|
5
|
-
$foldeditorbrowser = "firefox"
|
|
6
|
-
##NAME:$testharnesssarray:0
|
|
7
|
-
$testharnessarray += ["rwdfoldeditor_all_tests"]
|
|
8
|
-
$tinkerhelpaboutarray += ["RwdFoldEditor"]
|
|
9
|
-
$tinkerdocumentsarray += ["HowTo_FoldEditor.txt"]
|
|
10
|
-
JumpLink.update(:RwdFoldEditor=>"runrwdfoldeditorwindow", :FoldBackWindow=> "rwdfoldbackwindow")
|
|
11
|
-
$rwdjumplink +=["RwdFoldEditor","FoldBackWindow"]
|
|
12
|
-
##NAME:RwdFoldEditorVersion:0
|
|
13
|
-
RwdFoldEditorVersion = "0.03"
|
|
14
|
-
|
data/zips/rwdwaddresses-1.05.zip
DELETED
|
Binary file
|
data/zips/rwdwcalc-0.61.zip
DELETED
|
Binary file
|
|
Binary file
|
data/zips/rwdwruby-1.05.zip
DELETED
|
Binary file
|
data/zips/temp.rb
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# this file does nothing
|
data/zips/wrubyslippers-1.06.zip
DELETED
|
Binary file
|