Skip to content

Commit a8bfb32

Browse files
committed
Merge branch '0.10' of https://github.com/openlightingproject/ola into 0.10-c11-compat
2 parents 45145ba + 591b9d5 commit a8bfb32

16 files changed

Lines changed: 390 additions & 276 deletions

File tree

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Contributors:
2121
Masaki Muranaka, various patches
2222
Nicolas, for the win32 port of libartnet
2323
Nils Van Zuijlen, typos and python lib small update
24+
Perry Naseck, EPoll delay fix
2425
Peter Newman, MilInst Plugin, Scanlime Fadecandy support and numerous fixes
2526
Ravindra Nath Kakarla, RDM Test Server (Google Summer of Code 2012)
2627
Rowan Maclachlan (hippy) for various changes

common/io/EPoller.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,10 @@ bool EPoller::Poll(TimeoutManager *timeout_manager,
311311
}
312312

313313
int ms_to_sleep = sleep_interval.InMilliSeconds();
314+
// If we haven't been asked to wait as part of the poll interval, then don't
315+
// wait in the epoll to allow for fast streaming
314316
int ready = epoll_wait(m_epoll_fd, reinterpret_cast<epoll_event*>(&events),
315-
MAX_EVENTS, ms_to_sleep ? ms_to_sleep : 1);
317+
MAX_EVENTS, ms_to_sleep ? ms_to_sleep : 0);
316318

317319
if (ready == 0) {
318320
m_clock->CurrentMonotonicTime(&m_wake_up_time);

javascript/new-src/bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"license": "GPL",
88
"private": true,
99
"dependencies": {
10-
"angular": "~1.3.14",
10+
"angular": "~1.8.3",
1111
"bootstrap": "~3.3.1",
12-
"angular-route": "~1.3.14"
12+
"angular-route": "~1.8.3"
1313
},
1414
"exportsOverride": {
1515
"angular": {

javascript/new-src/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"license": "GPL-2.0+",
44
"repository": "OpenLightingProject/ola",
55
"devDependencies": {
6-
"olp-javascript-style": "OpenLightingProject/javascript-style",
76
"grunt": "~0.4.5",
87
"grunt-bower-task": "^0.4.0",
98
"grunt-contrib-cssmin": "^0.11.0",
109
"grunt-contrib-jshint": "^1.1.0",
1110
"grunt-contrib-uglify": "^0.7.0",
1211
"grunt-contrib-watch": "^0.6.1",
13-
"grunt-jscs": "^1.8.0"
12+
"grunt-jscs": "^1.8.0",
13+
"olp-javascript-style": "OpenLightingProject/javascript-style"
1414
}
1515
}

javascript/new-src/src/app.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
/* global angular */
2121
var ola = angular.module('olaApp', ['ngRoute']);
2222

23+
// AngularJS 1.6 now uses an '!' as the default hashPrefix, breaking
24+
// our routes. Following lines revert the default to the previous empty
25+
// string.
26+
// See https://docs.angularjs.org/guide/migration#commit-aa077e8
27+
ola.config(['$locationProvider', function($locationProvider) {
28+
'use strict';
29+
$locationProvider.hashPrefix('');
30+
}]);
31+
2332
ola.config(['$routeProvider',
2433
function($routeProvider) {
2534
'use strict';

olad/www/new/css/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)