vim_client-ruby 0.1.0 → 0.1.1
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.md +1 -1
- data/ext/vim_client/vim_client.c +10 -6
- data/lib/vim_client/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -46,5 +46,5 @@ Best viewed with [Yard][]
|
|
46
46
|
Also, see the [wiki][] for examples, tips and sample projects.
|
47
47
|
|
48
48
|
[clientserver]: http://vimdoc.sourceforge.net/htmldoc/remote.html#clientserver
|
49
|
-
[Yard]: http://rubydoc.info/gems/vim_client-ruby
|
49
|
+
[Yard]: http://rubydoc.info/gems/vim_client-ruby/VimClient
|
50
50
|
[wiki]: http://github.com/burns/vim_client-ruby/wiki
|
data/ext/vim_client/vim_client.c
CHANGED
@@ -714,16 +714,20 @@ WaitForPend(
|
|
714
714
|
* has data (which X11/xcb will read), or at every MSEC_POLL interval.
|
715
715
|
*/
|
716
716
|
time(&start);
|
717
|
-
while (
|
717
|
+
while (TRUE)
|
718
718
|
{
|
719
|
-
while (
|
720
|
-
|
721
|
-
if (
|
722
|
-
e->atom == commProperty && e->state == PropertyNewValue)
|
719
|
+
while (XCheckWindowEvent(commDisplay, commWindow,
|
720
|
+
PropertyChangeMask, &event)) {
|
721
|
+
if (e->atom == commProperty && e->state == PropertyNewValue)
|
723
722
|
EventProc(pending);
|
724
723
|
}
|
725
724
|
|
726
|
-
if (
|
725
|
+
if (got_sigint)
|
726
|
+
break;
|
727
|
+
|
728
|
+
if (pending->result != NULL)
|
729
|
+
break;
|
730
|
+
else {
|
727
731
|
|
728
732
|
time(&now);
|
729
733
|
if ((now - start) >= timeout_sec) {
|
data/lib/vim_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vim_client-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|