Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Use a more efficient way to log multi line strings | 67923e6760bf26923bd7ce9c9bced7a3f526cecf | Catalin(ux) M. BOIE | 2017-08-08 19:54:00 |
css: make border more visible | 378b328cde875d1584f3df6d8635b340ee23207a | Catalin(ux) M. BOIE | 2017-07-22 23:27:29 |
struct: add itime for commit_labels | 67d189b9d3330ab4dc3b6a0580a736522b6c1d36 | Catalin(ux) M. BOIE | 2017-07-22 23:05:02 |
wh: builder: we need repo info for clone_url_ssh info | 6e95861b22476b0857f98a49025fc060302c2a3f | Catalin(ux) M. BOIE | 2017-07-22 12:35:52 |
hints: ssh: make more clear that ssh must be restarted | 8c35f89b323d3ea28fad79f4c32d78aadc8618f6 | Catalin(ux) M. BOIE | 2017-07-22 08:17:37 |
rg_authorize must be run as rocketgit user - fix permissions to 0755 | 80db46ae953b72ba521b3cd96c91602e127fc8f8 | Catalin(ux) M. BOIE | 2017-07-22 08:07:56 |
build_jobs: Columns with no defaults must be specified | bbb1c0036be3c6180d84e0641f41aa60ae1905f1 | Catalin(ux) M. BOIE | 2017-07-20 20:34:32 |
Show the suggestion to use https correctly | 9656ff5ec3bfe65fc7a573fae254483c31d88501 | Catalin(ux) M. BOIE | 2017-07-10 20:57:26 |
rg_template_eval_cond: now supports more operations | 2155bedec6e82343d84c8c504c0beb68fdf01dea | Catalin(ux) M. BOIE | 2017-07-10 20:55:48 |
Minor corrections | dc3ce904f00ce5903ac5614ac870a0529d22ee4a | Catalin(ux) M. BOIE | 2017-07-10 20:55:03 |
state_get: Return empty if the state table does not exists | 35822bff104ba2133f29a0a69cff4603d990a721 | Catalin(ux) M. BOIE | 2017-07-09 19:18:11 |
duilder: add 'samples' dir to the docs | 8762f7dbfcec1f3ed5d6d7ba7dbf0ed547a894b7 | Catalin(ux) M. BOIE | 2017-07-09 06:54:06 |
Bump version to 0.70 | a3524c87b21d22d734626503683e80e51abd574c | Catalin(ux) M. BOIE | 2017-07-09 06:40:24 |
Added nginx next to apache | 982e6536f5204a07c939b01229784a46c18cdada | Catalin(ux) M. BOIE | 2017-07-09 06:38:55 |
rg_exec: when stdout closes, we should not try to get input anymore from the external program | b550d45c19c48235eddbd5b6fdcadcec2689065b | Catalin(ux) M. BOIE | 2017-07-09 06:38:32 |
Small corrections | 68c2120f6bb1cd04e3c35b18fee8c2ce89c525bb | Catalin(ux) M. BOIE | 2017-07-09 06:36:59 |
tests: deal with the case when ControlMaster is not 'no' | 7fc439c93b2e9df218292d20fbe50606d770955f | Catalin(ux) M. BOIE | 2017-07-09 06:35:36 |
Do not use http_host anymore | af14b07381106cbc015aa6620d587b7e64ce7ed5 | Catalin(ux) M. BOIE | 2017-07-09 06:34:32 |
ssh_host and git_host must not depend on http host | 4677add26d7c03541cdd412d9fdc420ec79867b2 | Catalin(ux) M. BOIE | 2017-07-09 06:31:52 |
TODO: some updates | 5b264972f3127c9fcceab83014598957d4dd38b1 | Catalin(ux) M. BOIE | 2017-07-09 06:30:32 |
File | Lines added | Lines deleted |
---|---|---|
inc/log.inc.php | 12 | 4 |
File inc/log.inc.php changed (mode: 100644) (index 35d0dbb..20ce4ff) | |||
... | ... | function rg_log($str) | |
114 | 114 | */ | */ |
115 | 115 | function rg_log_ml($str) | function rg_log_ml($str) |
116 | 116 | { | { |
117 | $lines = explode("\n", $str); | ||
118 | if (empty($lines)) | ||
117 | if (empty($str)) | ||
119 | 118 | return; | return; |
120 | 119 | ||
121 | foreach ($lines as $line) | ||
122 | rg_log($line); | ||
120 | $off = 0; | ||
121 | while (1) { | ||
122 | $pos = strpos($str, "\n", $off); | ||
123 | if ($pos === FALSE) { | ||
124 | rg_log(substr($str, $off)); | ||
125 | break; | ||
126 | } | ||
127 | |||
128 | rg_log(substr($str, $off, $pos - $off)); | ||
129 | $off = $pos + 1; | ||
130 | } | ||
123 | 131 | } | } |
124 | 132 | ||
125 | 133 | /* | /* |