Ariel Badichi | 4 Dec 2009 13:52
Picon

STREAM-LINE-COLUMN for VECTOR-OUTPUT-STREAMs


Hello,

The vector output stream implementation is missing an applicable
method for STREAM-LINE-COLUMN, which is required for character output
support.  Patch follows.

Ariel

diff -rN -u old-babel/src/streams.lisp new-babel/src/streams.lisp
--- old-babel/src/streams.lisp	2009-11-29 11:31:24.000000000 +0200
+++ new-babel/src/streams.lisp	2009-11-29 11:31:25.000000000 +0200
 <at>  <at>  -323,6 +323,11  <at>  <at> 
      (extend-vector-output-stream-buffer sequence stream :start start :end end)))
   sequence)

+(defmethod stream-line-column ((stream vector-output-stream))
+  "Dummy line-column method that always returns NIL, needed for
+character output streams."
+  nil)
+
 (defmethod stream-file-position ((stream vector-stream))
   "Simply returns the index into the underlying vector."
   (declare (optimize speed))
Luís Oliveira | 5 Dec 2009 18:33
Picon
Gravatar

Re: STREAM-LINE-COLUMN for VECTOR-OUTPUT-STREAMs

On Fri, Dec 4, 2009 at 12:52 PM, Ariel Badichi <vermilionrush <at> gmail.com> wrote:
> The vector output stream implementation is missing an applicable
> method for STREAM-LINE-COLUMN, which is required for character output
> support.  Patch follows.

Applied, thanks!

--

-- 
Luís Oliveira
http://r42.eu/~luis/
Andrey Moskvitin | 26 Dec 2009 12:29
Picon
Gravatar

Version 0.3.1 is requried

Since the last release had a few changes, in particular, important for Russia support cp1251. But these changes are now available only in darcs-version. What prevents release version 0.3.1? This would simplify the distribution of some packages.


Andrey
_______________________________________________
babel-devel mailing list
babel-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/babel-devel
Luís Oliveira | 26 Dec 2009 17:09
Picon
Gravatar

Re: Version 0.3.1 is requried

On Sat, Dec 26, 2009 at 11:29 AM, Andrey Moskvitin <archimag <at> gmail.com> wrote:
> Since the last release had a few changes, in particular, important for
> Russia support cp1251. But these changes are now available only in
> darcs-version. What prevents release version 0.3.1? This would simplify the
> distribution of some packages.

Having tests for the new features would be nice, but I'll probably
make a new release this weekend anyway.

Out of curiosity, what kind of distribution are you talking about?

Cheers,

--

-- 
Luís Oliveira
http://r42.eu/~luis/
Andrey Moskvitin | 28 Dec 2009 10:20
Picon
Gravatar

Re: Version 0.3.1 is requried

> Out of curiosity, what kind of distribution are you talking about?


Oh, my English is too bad for a detailed answer. I try to popularize Common Lisp in Russia. I am developing website http://lisper.ru/, write a blog, in addition, I develop a few packages. My packages cl-libxml2, cl-mssql and cl-closure-template must often be used in conjunction with encoding cp1251, which is mostly in Russia on Windows-based systems. I use babel and I encourage everyone to use babel, well, CFFI depends on babel. But darcs-version difficult to use for beginners, especially on Windows.

Andrey

2009/12/26 Luís Oliveira <luismbo <at> gmail.com>
On Sat, Dec 26, 2009 at 11:29 AM, Andrey Moskvitin <archimag <at> gmail.com> wrote:
> Since the last release had a few changes, in particular, important for
> Russia support cp1251. But these changes are now available only in
> darcs-version. What prevents release version 0.3.1? This would simplify the
> distribution of some packages.

Having tests for the new features would be nice, but I'll probably
make a new release this weekend anyway.

Out of curiosity, what kind of distribution are you talking about?

Cheers,

--
Luís Oliveira
http://r42.eu/~luis/

_______________________________________________
babel-devel mailing list
babel-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/babel-devel
Stelian Ionescu | 29 Dec 2009 22:22
Gravatar

Re: japanese encoding support.

On Tue, 2009-11-17 at 00:50 +0900, SANO Masatoshi wrote:
> Hi.
> 
> The attached file is japanese encoding (euc-jp and cp932) support for babel.
> Could you merge it?

Thanks 佐野さん, I merged the two encodings. Could you also provide some
tests ?

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
_______________________________________________
babel-devel mailing list
babel-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/babel-devel

Gmane