rsence 2.0.0.pre → 2.0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/INSTALL.rdoc +295 -0
- data/LICENSE +622 -0
- data/README.rdoc +87 -0
- data/VERSION +1 -0
- data/bin/rsence +5 -101
- data/conf/config.yaml +4 -0
- data/conf/default_conf.yaml +6 -4
- data/conf/{local_conf.yaml → local_conf.yaml.devel} +2 -1
- data/js/comm/comm/autosync/autosync.js +0 -1
- data/js/comm/comm/queue/queue.js +1 -1
- data/js/comm/comm/urlresponder/urlresponder.js +58 -35
- data/js/comm/comm/values/values.js +13 -3
- data/js/comm/jsloader/jsloader.js +29 -12
- data/js/controls/button/themes/default/button_parts1-ie6.gif +0 -0
- data/js/controls/checkbox/themes/default/checkbox_parts1-ie6.gif +0 -0
- data/js/controls/datetime/timesheet/timesheet.js +2 -2
- data/js/controls/dialogs/sheet/themes/default/sheet_bg-ie6.gif +0 -0
- data/js/controls/dialogs/sheet/themes/default/sheet_parts1-ie6.gif +0 -0
- data/js/controls/dialogs/sheet/themes/default/sheet_parts2-ie6.gif +0 -0
- data/js/controls/dialogs/sheet/themes/default/sheet_warning-ie6.gif +0 -0
- data/js/controls/passwordcontrol/themes/default/passwordcontrol.html +1 -1
- data/js/controls/radiobutton/themes/default/radiobutton_parts1-ie6.gif +0 -0
- data/js/controls/sliders/slider/themes/default/hslider_tracks-ie6.gif +0 -0
- data/js/controls/sliders/slider/themes/default/slider.css +2 -0
- data/js/controls/sliders/slider/themes/default/slider_thumbs-ie6.gif +0 -0
- data/js/controls/sliders/vslider/themes/default/vslider.css +2 -0
- data/js/controls/sliders/vslider/themes/default/vslider_tracks-ie6.gif +0 -0
- data/js/controls/stepper/themes/default/stepper-ie6.gif +0 -0
- data/js/controls/tab/tab.js +2 -6
- data/js/controls/tab/themes/default/tab.css +1 -0
- data/js/controls/tab/themes/default/tab.html +1 -1
- data/js/controls/tab/themes/default/tab_border_pattern-ie6.gif +0 -0
- data/js/controls/tab/themes/default/tab_parts1-ie6.gif +0 -0
- data/js/controls/textarea/themes/default/textarea.css +21 -0
- data/js/controls/textarea/themes/default/textarea.html +2 -2
- data/js/controls/textcontrol/textcontrol.js +56 -69
- data/js/controls/textcontrol/themes/default/textcontrol.css +23 -20
- data/js/controls/textcontrol/themes/default/textcontrol.html +1 -1
- data/js/controls/window/themes/default/window.css +1 -0
- data/js/controls/window/themes/default/window_bg_active-ie6.gif +0 -0
- data/js/controls/window/themes/default/window_bg_inactive-ie6.gif +0 -0
- data/js/controls/window/themes/default/window_buttons-ie6.gif +0 -0
- data/js/controls/window/themes/default/window_parts1-ie6.gif +0 -0
- data/js/controls/window/themes/default/window_parts2-ie6.gif +0 -0
- data/js/controls/window/window.js +28 -7
- data/js/core/class/class.js +31 -30
- data/js/core/elem/elem.js +94 -71
- data/js/core/event/event.js +34 -26
- data/js/core/iefix/iefix.js +46 -31
- data/js/debugg/debugg.js +43 -0
- data/js/debugg/js.inc +0 -0
- data/js/foundation/application/application.js +3 -1
- data/js/foundation/control/dyncontrol/dyncontrol.js +1 -0
- data/js/foundation/control/eventresponder/eventresponder.js +1 -1
- data/js/foundation/json_renderer/json_renderer.js +1 -3
- data/js/foundation/system/system.js +4 -4
- data/js/foundation/thememanager/thememanager.js +3 -3
- data/js/foundation/view/view.js +71 -1
- data/lib/conf/argv.rb +664 -0
- data/lib/conf/default.rb +51 -52
- data/lib/daemon/daemon.rb +281 -195
- data/lib/plugins/plugin_plugins.rb +47 -0
- data/lib/plugins/pluginmanager.rb +17 -12
- data/lib/transporter/transporter.rb +6 -9
- data/plugins/client_pkg/client_pkg.rb +12 -9
- data/plugins/client_pkg/lib/client_pkg_build.rb +1 -1
- data/plugins/index_html/tmpl/index.html +3 -3
- data/plugins/main/main.rb +1 -0
- metadata +16 -14
- data/bin/build_client.rb +0 -254
- data/bin/help +0 -6
- data/bin/launch.rb +0 -120
- data/bin/rdoc.sh +0 -2
- data/bin/restart +0 -6
- data/bin/run +0 -6
- data/bin/run.rb +0 -6
- data/bin/save +0 -6
- data/bin/start +0 -6
- data/bin/status +0 -6
- data/bin/stop +0 -6
data/bin/help
DELETED
data/bin/launch.rb
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#--
|
3
|
-
## Riassence Framework
|
4
|
-
# Copyright 2008 Riassence Inc.
|
5
|
-
# http://riassence.com/
|
6
|
-
#
|
7
|
-
# You should have received a copy of the GNU General Public License along
|
8
|
-
# with this software package. If not, contact licensing@riassence.com
|
9
|
-
##
|
10
|
-
#++
|
11
|
-
|
12
|
-
if RUBY_VERSION.to_f >= 1.9
|
13
|
-
Encoding.default_external = Encoding::ASCII_8BIT
|
14
|
-
end
|
15
|
-
|
16
|
-
is_win = ['i386-mingw32','x86-mingw32'].include? RUBY_PLATFORM
|
17
|
-
|
18
|
-
if is_win
|
19
|
-
commands = %w[help run]
|
20
|
-
else
|
21
|
-
commands = %w[help start stop restart status run]
|
22
|
-
end
|
23
|
-
|
24
|
-
if ARGV.include?('--help') or ARGV.include?('-h') or
|
25
|
-
ARGV.include?('help') or not (
|
26
|
-
commands.include?(ARGV[0])
|
27
|
-
)
|
28
|
-
|
29
|
-
if is_win
|
30
|
-
extra_cmd_help = ''
|
31
|
-
extra_cmd_examples = %{
|
32
|
-
#{__FILE__} run --log-fg
|
33
|
-
#{__FILE__} run -d
|
34
|
-
#{__FILE__} run --latency 150
|
35
|
-
#{__FILE__} run --server mongrel --port 8080 --addr 127.0.0.1
|
36
|
-
}
|
37
|
-
else
|
38
|
-
extra_cmd_help = %{\
|
39
|
-
status Tells if Riassence Framework Server is running or not
|
40
|
-
start Starts Riassence Framework Server
|
41
|
-
stop Stops Riassence Framework Server
|
42
|
-
restart Restarts Riassence Framework Server
|
43
|
-
save Saves Riassence Framework Server session data
|
44
|
-
}
|
45
|
-
extra_cmd_examples = %{\
|
46
|
-
#{__FILE__} status
|
47
|
-
#{__FILE__} start
|
48
|
-
#{__FILE__} stop
|
49
|
-
#{__FILE__} save
|
50
|
-
#{__FILE__} restart
|
51
|
-
#{__FILE__} restart -d --reset-sessions
|
52
|
-
#{__FILE__} restart --latency 150
|
53
|
-
#{__FILE__} restart --server mongrel --port 8080 --addr 127.0.0.1
|
54
|
-
}
|
55
|
-
end
|
56
|
-
|
57
|
-
puts %{
|
58
|
-
|
59
|
-
Riassence Framework is RIA client and server. This help message contains
|
60
|
-
hints about how to control the server startup/shutdown.
|
61
|
-
|
62
|
-
Usage:
|
63
|
-
#{__FILE__} command [params]
|
64
|
-
|
65
|
-
Command is one of:
|
66
|
-
run Run in foreground (exit with ctrl-c)
|
67
|
-
#{extra_cmd_help} help This message
|
68
|
-
|
69
|
-
Params:
|
70
|
-
--log-fg Don't write log into file (writes to foreground)
|
71
|
-
-d Debug/Development mode
|
72
|
-
--trace-js Write content of msg.reply calls to stdout
|
73
|
-
--trace-delegate Traces plugin method delegation to stdout
|
74
|
-
--root-path <PATH> Define the PATH to rsence server
|
75
|
-
Defaults to 'bin'
|
76
|
-
--port PORT Define the http PORT to use, defaults to '8001'
|
77
|
-
--latency MS Simulate network latency, value in milliseconds
|
78
|
-
--addr <ADDRESS> Define the IPv4 ADDRESS to bind to.
|
79
|
-
Defaults to '0.0.0.0' (any)
|
80
|
-
--server <SERVER> Choose http SERVER, valid choices:
|
81
|
-
- webrick
|
82
|
-
- mongrel
|
83
|
-
- ebb
|
84
|
-
- thin
|
85
|
-
Defaults to thin
|
86
|
-
--reset-sessions Deletes all old sessions on startup
|
87
|
-
--config <PATH> Optional config override file
|
88
|
-
--run-config-wizard Runs configuration wizard
|
89
|
-
Runs by default, if no local
|
90
|
-
configuration files were found.
|
91
|
-
--no-rescan Doesn't rescan the plugins even when in debug mode.
|
92
|
-
--profile Turns on profiling
|
93
|
-
- Runs everything considerable slower!
|
94
|
-
- Shown a table displaying the results on stop.
|
95
|
-
--help This message
|
96
|
-
-h This message
|
97
|
-
|
98
|
-
Examples:
|
99
|
-
#{__FILE__} run
|
100
|
-
#{extra_cmd_examples}
|
101
|
-
Further information:
|
102
|
-
http://riassence.org/
|
103
|
-
|
104
|
-
}
|
105
|
-
exit
|
106
|
-
end
|
107
|
-
|
108
|
-
require 'profile' if ARGV.include?('--profile')
|
109
|
-
|
110
|
-
## Auto-construct paths using this file as the waypoint
|
111
|
-
SERVER_PATH = ARGV.include?('--root-path')?(ARGV[ARGV.index('--root-path')+1]):File.split(File.expand_path(File.dirname(__FILE__)))[0]
|
112
|
-
|
113
|
-
## Include server & lib in the search path
|
114
|
-
$LOAD_PATH << SERVER_PATH
|
115
|
-
$LOAD_PATH << File.join( SERVER_PATH, 'lib' )
|
116
|
-
|
117
|
-
## Riassence Daemon controls
|
118
|
-
require 'daemon/daemon'
|
119
|
-
RSence::HTTPDaemon.daemonize
|
120
|
-
|
data/bin/rdoc.sh
DELETED
data/bin/restart
DELETED
data/bin/run
DELETED
data/bin/run.rb
DELETED
data/bin/save
DELETED
data/bin/start
DELETED
data/bin/status
DELETED