webroar 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/CHANGELOG +34 -0
  2. data/lib/dependencies.rb +9 -7
  3. data/lib/installer.rb +46 -18
  4. data/src/admin_panel/app/controllers/graph_controller.rb +2 -2
  5. data/src/admin_panel/app/views/graph/_javascript_partial.html.erb +1 -0
  6. data/src/admin_panel/lib/yaml_writer.rb +1 -1
  7. data/src/head/wr_application.c +2 -3
  8. data/src/head/wr_application.h +2 -2
  9. data/src/head/wr_config.h +2 -1
  10. data/src/head/wr_configurator.c +3 -10
  11. data/src/head/wr_connection.c +11 -10
  12. data/src/head/wr_controller.c +2 -6
  13. data/src/head/wr_main.c +2 -2
  14. data/src/head/wr_request.c +2 -5
  15. data/src/head/wr_resolver.c +2 -2
  16. data/src/head/wr_server.c +0 -2
  17. data/src/head/wr_worker.c +0 -4
  18. data/src/helper/wr_logger.c +5 -8
  19. data/src/helper/wr_logger.h +2 -2
  20. data/src/helper/wr_yaml_parser.c +1 -1
  21. data/src/ruby_lib/ruby_interface/client.rb +9 -2
  22. data/src/ruby_lib/ruby_interface/constants.rb +1 -0
  23. data/src/ruby_lib/ruby_interface/deflater.rb +28 -91
  24. data/src/ruby_lib/ruby_interface/logger.rb +3 -3
  25. data/src/ruby_lib/ruby_interface/request_handler.rb +23 -8
  26. data/src/ruby_lib/ruby_interface/utils.rb +17 -6
  27. data/src/ruby_lib/ruby_interface/version.rb +1 -1
  28. data/src/ruby_lib/webroar_app_loader.rb +2 -2
  29. data/src/worker/wkr_http.c +6 -6
  30. data/src/worker/wkr_http_response.c +8 -5
  31. data/src/worker/wkr_main.c +3 -3
  32. data/src/worker/wkr_static.c +5 -8
  33. data/src/worker/wkr_static.h +1 -1
  34. data/test/spec/content_encoding_spec.rb +14 -0
  35. metadata +2 -24
  36. data/src/admin_panel/public/blank_iframe.html +0 -2
  37. data/src/admin_panel/public/images/calendar_date_select/calendar.gif +0 -0
  38. data/src/admin_panel/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  39. data/src/admin_panel/public/javascripts/calendar_date_select/format_american.js +0 -34
  40. data/src/admin_panel/public/javascripts/calendar_date_select/format_db.js +0 -27
  41. data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  42. data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  43. data/src/admin_panel/public/javascripts/calendar_date_select/format_finnish.js +0 -32
  44. data/src/admin_panel/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
  45. data/src/admin_panel/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  46. data/src/admin_panel/public/javascripts/calendar_date_select/format_italian.js +0 -24
  47. data/src/admin_panel/public/javascripts/calendar_date_select/locale/de.js +0 -11
  48. data/src/admin_panel/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  49. data/src/admin_panel/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  50. data/src/admin_panel/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  51. data/src/admin_panel/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  52. data/src/admin_panel/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  53. data/src/admin_panel/public/stylesheets/calendar_date_select/blue.css +0 -130
  54. data/src/admin_panel/public/stylesheets/calendar_date_select/default.css +0 -135
  55. data/src/admin_panel/public/stylesheets/calendar_date_select/plain.css +0 -128
  56. data/src/admin_panel/public/stylesheets/calendar_date_select/red.css +0 -135
  57. data/src/admin_panel/public/stylesheets/calendar_date_select/silver.css +0 -133
@@ -1,11 +0,0 @@
1
- Date.weekdays = $w('Mo Di Mi Do Fr Sa So');
2
- Date.months = $w('Januar Februar März April Mai Juni Juli August September Oktober November Dezember');
3
-
4
- Date.first_day_of_week = 1;
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Jetzt",
9
- "Today": "Heute",
10
- "Clear": "Löschen"
11
- }
@@ -1,10 +0,0 @@
1
- Date.weekdays = $w("Ma Ti Ke To Pe La Su");
2
- Date.months = $w("Tammikuu Helmikuu Maaliskuu Huhtikuu Toukokuu Kes�kuu Hein�kuu Elokuu Syyskuu Lokakuu Marraskuu Joulukuu" );
3
-
4
- Date.first_day_of_week = 1
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Nyt",
9
- "Today": "T�n��n"
10
- }
@@ -1,10 +0,0 @@
1
- Date.weekdays = $w('L Ma Me J V S D');
2
- Date.months = $w('Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre');
3
-
4
- Date.first_day_of_week = 1;
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Maintenant",
9
- "Today": "Aujourd'hui"
10
- }
@@ -1,10 +0,0 @@
1
- Date.weekdays = $w('P W Ś C P S N');
2
- Date.months = $w('Styczeń Luty Marzec Kwiecień Maj Czerwiec Lipiec Sierpień Wrzesień Październik Listopad Grudzień');
3
-
4
- Date.first_day_of_week = 1
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Teraz",
9
- "Today": "Dziś"
10
- }
@@ -1,11 +0,0 @@
1
- Date.weekdays = $w('D S T Q Q S S');
2
- Date.months = $w('Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Outubro Novembro Dezembro');
3
-
4
- Date.first_day_of_week = 0
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Agora",
9
- "Today": "Hoje",
10
- "Clear": "Limpar"
11
- }
@@ -1,10 +0,0 @@
1
- Date.weekdays = $w('Пн Вт Ср Чт Пт Сб Вс');
2
- Date.months = $w('Январь Февраль Март Апрель Май Июнь Июль Август Сентябрь Октябрь Ноябрь Декабрь');
3
-
4
- Date.first_day_of_week = 1
5
-
6
- _translations = {
7
- "OK": "OK",
8
- "Now": "Сейчас",
9
- "Today": "Сегодня"
10
- }
@@ -1,130 +0,0 @@
1
- .calendar_date_select {
2
- color:white;
3
- border:#777 1px solid;
4
- display:block;
5
- width:195px;
6
- z-index: 1000;
7
- }
8
- /* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
9
- iframe.ie6_blocker {
10
- position: absolute;
11
- z-index: 999;
12
- }
13
-
14
- .calendar_date_select thead th {
15
- font-weight:bold;
16
- background-color: #000;
17
- border-top:1px solid #777;
18
- border-bottom:2px solid #334;
19
- color: white !important;
20
- }
21
-
22
- .calendar_date_select .cds_buttons {
23
- text-align:center;
24
- padding:5px 0px;
25
- background-color: #000055;
26
- }
27
-
28
- .calendar_date_select .cds_footer {
29
- background-color: black;
30
- padding:3px;
31
- font-size:12px;
32
- text-align:center;
33
- }
34
-
35
- .calendar_date_select table {
36
- margin: 0px;
37
- padding: 0px;
38
- }
39
-
40
-
41
- .calendar_date_select .cds_header {
42
- background-color: #ccc;
43
- border-bottom: 2px solid #aaa;
44
- text-align:center;
45
- }
46
-
47
- .calendar_date_select .cds_header span {
48
- font-size:15px;
49
- color: black;
50
- font-weight: bold;
51
- }
52
-
53
- .calendar_date_select select { font-size:11px;}
54
-
55
- .calendar_date_select .cds_header a:hover {
56
- color: white;
57
- }
58
- .calendar_date_select .cds_header a {
59
- width:22px;
60
- height:20px;
61
- text-decoration: none;
62
- font-size:14px;
63
- color:black !important;
64
- }
65
-
66
- .calendar_date_select .cds_header a.prev {
67
- float:left;
68
- }
69
-
70
- .calendar_date_select .cds_header a.next {
71
- float:right;
72
- }
73
-
74
- .calendar_date_select .cds_header a.close {
75
- float:right;
76
- display:none;
77
- }
78
-
79
-
80
- .calendar_date_select .cds_header select.month {
81
- width:90px;
82
- }
83
-
84
- .calendar_date_select .cds_header select.year {
85
- width:61px;
86
- }
87
-
88
- .calendar_date_select .cds_buttons a {
89
- color: white;
90
- font-size: 9px;
91
- }
92
-
93
- .calendar_date_select td {
94
- background-color: #000066;
95
- font-size:12px;
96
- width: 24px;
97
- height: 21px;
98
- text-align:center;
99
- vertical-align: middle;
100
- }
101
- .calendar_date_select td.weekend {
102
- background-color: #00005a;
103
- }
104
-
105
- .calendar_date_select td div.other {
106
- color: #4C5593;
107
- }
108
-
109
- .calendar_date_select tbody td {
110
- border-bottom: 1px solid #000044;
111
- }
112
- .calendar_date_select td.selected {
113
- background-color:white;
114
- color:black;
115
- }
116
-
117
- .calendar_date_select td:hover {
118
- background-color:#ccc;
119
- }
120
-
121
- .calendar_date_select td.disabled div {
122
- color: #000044;
123
- }
124
- .calendar_date_select td.today {
125
- border: 1px dashed blue;
126
- }
127
-
128
- .fieldWithErrors .calendar_date_select {
129
- border: 2px solid red;
130
- }
@@ -1,135 +0,0 @@
1
- .calendar_date_select {
2
- color:white;
3
- border:#777 1px solid;
4
- display:block;
5
- width:195px;
6
- z-index: 1000;
7
- }
8
- /* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
9
- iframe.ie6_blocker {
10
- position: absolute;
11
- z-index: 999;
12
- }
13
-
14
- .calendar_date_select thead th {
15
- font-weight:bold;
16
- background-color: #aaa;
17
- border-top:1px solid #777;
18
- border-bottom:1px solid #777;
19
- color: white !important;
20
- }
21
-
22
- .calendar_date_select .cds_buttons {
23
- text-align:center;
24
- padding:5px 0px;
25
- background-color: #555;
26
- }
27
-
28
- .calendar_date_select .cds_footer {
29
- background-color: black;
30
- padding:3px;
31
- font-size:12px;
32
- text-align:center;
33
- }
34
-
35
- .calendar_date_select table {
36
- margin: 0px;
37
- padding: 0px;
38
- }
39
-
40
-
41
- .calendar_date_select .cds_header {
42
- background-color: #ccc;
43
- border-bottom: 2px solid #aaa;
44
- text-align:center;
45
- }
46
-
47
- .calendar_date_select .cds_header span {
48
- font-size:15px;
49
- color: black;
50
- font-weight: bold;
51
- }
52
-
53
- .calendar_date_select select { font-size:11px;}
54
-
55
- .calendar_date_select .cds_header a:hover {
56
- color: white;
57
- }
58
- .calendar_date_select .cds_header a {
59
- width:22px;
60
- height:20px;
61
- text-decoration: none;
62
- font-size:14px;
63
- color:black !important;
64
- }
65
-
66
- .calendar_date_select .cds_header a.prev {
67
- float:left;
68
- }
69
- .calendar_date_select .cds_header a.next {
70
- float:right;
71
- }
72
-
73
- .calendar_date_select .cds_header a.close {
74
- float:right;
75
- display:none;
76
- }
77
-
78
- .calendar_date_select .cds_header select.month {
79
- width:90px;
80
- }
81
-
82
- .calendar_date_select .cds_header select.year {
83
- width:61px;
84
- }
85
- .calendar_date_select .cds_buttons a {
86
- color: white;
87
- font-size: 9px;
88
- }
89
-
90
- .calendar_date_select td {
91
- font-size:12px;
92
- width: 24px;
93
- height: 21px;
94
- text-align:center;
95
- vertical-align: middle;
96
- background-color: #fff;
97
- }
98
- .calendar_date_select td.weekend {
99
- background-color: #eee;
100
- border-left:1px solid #ddd;
101
- border-right:1px solid #ddd;
102
- }
103
-
104
- .calendar_date_select td div {
105
- color: #000;
106
- }
107
- .calendar_date_select td div.other {
108
- color: #ccc;
109
- }
110
- .calendar_date_select td.selected div {
111
- color:white;
112
- }
113
-
114
- .calendar_date_select tbody td {
115
- border-bottom: 1px solid #ddd;
116
- }
117
- .calendar_date_select td.selected {
118
- background-color:#777;
119
- }
120
-
121
- .calendar_date_select td:hover {
122
- background-color:#ccc;
123
- }
124
-
125
- .calendar_date_select td.today {
126
- border: 1px dashed #999;
127
- }
128
-
129
- .calendar_date_select td.disabled div {
130
- color: #e6e6e6;
131
- }
132
-
133
- .fieldWithErrors .calendar_date_select {
134
- border: 2px solid red;
135
- }
@@ -1,128 +0,0 @@
1
- .calendar_date_select {
2
- border:#777 1px solid;
3
- display:block;
4
- width:195px;
5
- z-index: 1000;
6
- background-color:white;
7
- }
8
- /* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
9
- iframe.ie6_blocker {
10
- position: absolute;
11
- z-index: 999;
12
- }
13
-
14
- .calendar_date_select thead th {
15
- color: black !important;
16
- font-weight:bold;
17
- }
18
-
19
- .calendar_date_select .cds_buttons {
20
- text-align:center;
21
- padding:5px 0px;
22
- }
23
-
24
- .calendar_date_select .cds_footer {
25
- padding:3px;
26
- font-size:10px;
27
- text-align:center;
28
- }
29
-
30
- .calendar_date_select table {
31
- margin: 0px;
32
- padding: 0px;
33
- }
34
-
35
-
36
- .calendar_date_select .cds_header {
37
- text-align:center;
38
- }
39
-
40
- .calendar_date_select .cds_header * {
41
- border:0px;
42
- background-color:white;
43
- }
44
-
45
- .calendar_date_select .cds_header span {
46
- font-size:15px;
47
- color: black;
48
- font-weight: bold;
49
- }
50
-
51
- .calendar_date_select select { font-size:11px;}
52
-
53
- .calendar_date_select .cds_header a:hover {
54
- color: white;
55
- }
56
- .calendar_date_select .cds_header a {
57
- width:22px;
58
- height:20px;
59
- text-decoration: none;
60
- font-size:14px;
61
- color:black !important;
62
- }
63
-
64
- .calendar_date_select .cds_header a.prev {
65
- float:left;
66
- }
67
- .calendar_date_select .cds_header a.next {
68
- float:right;
69
- }
70
- .calendar_date_select .cds_header a.close {
71
- float:right;
72
- display:none;
73
- }
74
-
75
- .calendar_date_select .cds_header select.month {
76
- width:90px;
77
- }
78
-
79
- .calendar_date_select .cds_header select.year {
80
- width:61px;
81
- }
82
-
83
- .calendar_date_select .cds_buttons a {
84
- color: black;
85
- font-size: 9px;
86
- }
87
- .calendar_date_select td {
88
- font-size:12px;
89
- width: 24px;
90
- height: 21px;
91
- text-align:center;
92
- vertical-align: middle;
93
- background-color: #fff;
94
- }
95
- .calendar_date_select td.weekend {
96
- }
97
-
98
- .calendar_date_select td div {
99
- color: #000;
100
- }
101
- .calendar_date_select td div.other {
102
- color: #ccc;
103
- }
104
- .calendar_date_select td.selected div {
105
- color:white;
106
- }
107
-
108
- .calendar_date_select tbody td {
109
- }
110
- .calendar_date_select td.selected {
111
- background-color:#777;
112
- }
113
-
114
- .calendar_date_select td:hover {
115
- background-color:#ccc;
116
- }
117
-
118
- .calendar_date_select td.today {
119
- border: 1px dashed #999;
120
- }
121
-
122
- .calendar_date_select td.disabled div {
123
- color: #e6e6e6;
124
- }
125
-
126
- .fieldWithErrors .calendar_date_select {
127
- border: 2px solid red;
128
- }
@@ -1,135 +0,0 @@
1
- .calendar_date_select {
2
- color:white;
3
- border:#777 1px solid;
4
- display:block;
5
- width:195px;
6
- z-index: 1000;
7
- }
8
- /* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
9
- iframe.ie6_blocker {
10
- position: absolute;
11
- z-index: 999;
12
- }
13
-
14
- .calendar_date_select thead th {
15
- font-weight:bold;
16
- background-color: #E7E8E8;
17
- border-bottom:2px solid black;
18
- color: black !important;
19
- }
20
-
21
- .calendar_date_select .cds_buttons {
22
- text-align:center;
23
- padding:5px 0px;
24
- background-color: #5f0000;
25
- }
26
-
27
- .calendar_date_select .cds_footer {
28
- background-color: black;
29
- padding:3px;
30
- text-align:center;
31
- }
32
-
33
- .calendar_date_select table {
34
- margin: 0px;
35
- padding: 0px;
36
- }
37
-
38
-
39
- .calendar_date_select .cds_header {
40
- background-color: #ccc;
41
- border-bottom: 2px solid #aaa;
42
- text-align:center;
43
- }
44
-
45
- .calendar_date_select .cds_header span {
46
- font-size:15px;
47
- color: black;
48
- font-weight: bold;
49
- }
50
-
51
- .calendar_date_select select { font-size:11px;}
52
-
53
- .calendar_date_select .cds_header a:hover {
54
- color: white;
55
- }
56
- .calendar_date_select .cds_header a {
57
- width:22px;
58
- height:20px;
59
- text-decoration: none;
60
- font-size:14px;
61
- color:black !important;
62
- }
63
-
64
- .calendar_date_select .cds_header a.prev {
65
- float:left;
66
- }
67
- .calendar_date_select .cds_header a.next {
68
- float:right;
69
- }
70
-
71
- .calendar_date_select .cds_header a.close {
72
- float:right;
73
- display:none;
74
- }
75
-
76
- .calendar_date_select .cds_header select.month {
77
- width:90px;
78
- }
79
-
80
- .calendar_date_select .cds_header select.year {
81
- width:61px;
82
- }
83
-
84
- .calendar_date_select .cds_buttons a {
85
- color: white;
86
- font-size: 9px;
87
- }
88
-
89
-
90
- .calendar_date_select td {
91
- background-color: #660000;
92
- font-size:12px;
93
- width: 24px;
94
- height: 21px;
95
- text-align:center;
96
- vertical-align: middle;
97
- }
98
- .calendar_date_select td.weekend {
99
- background-color: #5a0000;
100
- }
101
-
102
- .calendar_date_select td div {
103
- color:#fff;
104
- }
105
- .calendar_date_select td div.other {
106
- color: #93554C;
107
- }
108
- .calendar_date_select td.selected div {
109
- color:black;
110
- }
111
-
112
-
113
- .calendar_date_select tbody td {
114
- border-bottom: 1px solid #550000;
115
- }
116
- .calendar_date_select tbody td.selected {
117
- background-color:white;
118
- color:black;
119
- }
120
-
121
- .calendar_date_select tbody td:hover {
122
- background-color:#ccc;
123
- }
124
-
125
- .calendar_date_select tbody td.today {
126
- border: 1px dashed red;
127
- }
128
-
129
- .calendar_date_select td.disabled div {
130
- color: #440000;
131
- }
132
-
133
- .fieldWithErrors .calendar_date_select {
134
- border: 2px solid red;
135
- }