[Kde-bindings] [Bug 108650] memory leak in qtruby? (Qt::Socket)
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Fri Jul 15 09:23:03 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=108650
------- Additional Comments From Richard_Dale tipitina demon co uk 2005-07-15 11:23 -------
SVN commit 434751 by rdale:
* Qt::Socket started working correctly when I and regenerated and rebuilt
my Smoke library. Before then it was calling the wrong version of
QSocket::at() for some reason, and wasn't discarding bytes that had
already been read.
* Removed comment from the client.rb example about Qt::Socket.canReadLine
always returning true now it works.
CCBUGS: 108650
M +9 -0 ChangeLog
M +0 -2 rubylib/examples/network/clientserver/client/client.rb
--- trunk/KDE/kdebindings/qtruby/ChangeLog #434750:434751
@ -1,3 +1,12 @
+2005-07-15 Richard Dale <Richard_Dale tipitina demon co uk>
+
+ * Qt::Socket started working correctly when I and regenerated and rebuilt
+ my Smoke library. Before then it was calling the wrong version of
+ QSocket::at() for some reason, and wasn't discarding bytes that had
+ already been read.
+ * Removed comment from the client.rb example about Qt::Socket.canReadLine
+ always returning true now it works.
+
2005-07-14 Richard Dale <Richard_Dale tipitina demon co uk>
* Added example programs for client/server programming with Qt::Socket
--- trunk/KDE/kdebindings/qtruby/rubylib/examples/network/clientserver/client/client.rb #434750:434751
@ -59,8 +59,6 @
def socketReadyRead()
# read from the server
- # This loops forever in QtRuby because 'canReadLine()'
- # is alway true
while socket canReadLine() do
infoText append( socket readLine() )
end
More information about the Kde-bindings
mailing list