* [sup-talk] Two small fixes
@ 2007-09-06 7:21 Magnus Therning
2007-09-11 23:28 ` William Morgan
0 siblings, 1 reply; 3+ messages in thread
From: Magnus Therning @ 2007-09-06 7:21 UTC (permalink / raw)
Yesterday I ran into some warnings when using sup from SVN:
=== modified file 'lib/sup/message.rb'
--- lib/sup/message.rb 2007-09-01 06:29:01 +0000
+++ lib/sup/message.rb 2007-09-05 18:04:48 +0000
@@ -55,6 +55,7 @@
@raw_content = encoded_content.decode
charset = encoded_content.charset
+ @lines = ""
if @content_type =~ /^text\/plain\b/
@lines = Message.convert_from(@raw_content, charset).split("\n")
else
=== modified file 'lib/sup/textfield.rb'
--- lib/sup/textfield.rb 2007-08-06 00:05:54 +0000
+++ lib/sup/textfield.rb 2007-09-05 18:10:35 +0000
@@ -46,6 +46,7 @@
def position_cursor
@w.attrset Colormap.color_for(:none)
@w.mvaddstr @y, 0, @question
+ @value = ""
Ncurses.curs_set 1
Ncurses::Form.form_driver @form, Ncurses::Form::REQ_END_FIELD
Ncurses::Form.form_driver @form, Ncurses::Form::REQ_NEXT_CHAR if @value && @value =~ / $/ # fucking RETARDED!!!!
The fixes are probably not the right ones, but they did make sup shut up about
undefined members.
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus?therning?org Jabber: magnus?therning?gmail?com
http://therning.org/magnus
What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
-- Daveman
^ permalink raw reply [flat|nested] 3+ messages in thread* [sup-talk] Two small fixes 2007-09-06 7:21 [sup-talk] Two small fixes Magnus Therning @ 2007-09-11 23:28 ` William Morgan 2007-09-12 7:06 ` Magnus Therning 0 siblings, 1 reply; 3+ messages in thread From: William Morgan @ 2007-09-11 23:28 UTC (permalink / raw) Excerpts from Magnus Therning's message of Thu Sep 06 00:21:59 -0700 2007: > Yesterday I ran into some warnings when using sup from SVN: Fixed, thanks! How did you get the warnings to pop up? I only occasionally see warnings for an instant before curses takes over the screen... -- William <wmorgan-sup at masanjin.net> ^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Two small fixes 2007-09-11 23:28 ` William Morgan @ 2007-09-12 7:06 ` Magnus Therning 0 siblings, 0 replies; 3+ messages in thread From: Magnus Therning @ 2007-09-12 7:06 UTC (permalink / raw) On Tue, Sep 11, 2007 at 16:28:53 -0700, William Morgan wrote: >Excerpts from Magnus Therning's message of Thu Sep 06 00:21:59 -0700 2007: >> Yesterday I ran into some warnings when using sup from SVN: > >Fixed, thanks! How did you get the warnings to pop up? I only >occasionally see warnings for an instant before curses takes over the >screen... I'm not sure why the warnings linger long enough for me to catch them. Could be my choice of terminal (ROXTerm)? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus?therning?org Jabber: magnus?therning?gmail?com http://therning.org/magnus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070912/6124205c/attachment.bin ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-12 7:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-06 7:21 [sup-talk] Two small fixes Magnus Therning 2007-09-11 23:28 ` William Morgan 2007-09-12 7:06 ` Magnus Therning
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox