Re: Moving LString.h, Lsstream.h to support

2003-09-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Attached is a patch that does no more than rename the four header files to | std_string.h, std_sstream.h, std_istream.h, std_ostream.h, placing them in | support. > | part 2 will be to move the | using std::stringstream; | using std::i

Re: Moving LString.h, Lsstream.h to support

2003-09-04 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > You really need to communicate yoru to-do list... I do? Well I think that it can be summarised as enhancing LyX's interaction with the outside world. It covers a range of sins, but boost::filesystem is probably among them ;-) What I do not want to do is get caught up

Re: Moving LString.h, Lsstream.h to support

2003-09-04 Thread Lars Gullik Bjønnes
src/support/std_string.h | src/Lsstream.h -> src/support/std_sstream.h | src/support/LIstream.h -> src/support/std_istream.h | src/support/LOstream.h -> src/support/std_ostream.h | It also removes the | using std::istringstream; | usi

Moving LString.h, Lsstream.h to support

2003-09-04 Thread Angus Leeming
This has been on my to-do list for about three years. I guess that something finally snapped ;-) Attached is a patch which moves src/LString.h -> src/support/std_string.h src/Lsstream.h -> src/support/std_sstream.h src/support/LIst

Re: Lsstream.h

2001-07-13 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> sstream is not present in gcc 2.95.2 (only 2.95.3). Andre> I know, but it is easily worked around by simply including the Andre> sstream header file we are using right now. The other problem (which forces the .str().c_str() stuff) is

Re: Lsstream.h

2001-07-13 Thread Andre Poenitz
> sstream is not present in gcc 2.95.2 (only 2.95.3). I know, but it is easily worked around by simply including the sstream header file we are using right now. Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: Lsstream.h

2001-07-13 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> They are moved in global namespace because if we define our own, we >> want to define them in global namespace (if only to avoid clashes). >> Indeed the same should be done for stringstream. Andre> What are the plans for 1.2.0 anyway?

Re: Lsstream.h

2001-07-13 Thread Angus Leeming
On Friday 13 July 2001 13:18, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Is there any reason why istringstream and ostringstream are > Angus> moved into the global namespace. If so, why isn't stringstream > Angus> as well. Can I not just re

Re: Lsstream.h

2001-07-13 Thread Andre Poenitz
> They are moved in global namespace because if we define our own, we > want to define them in global namespace (if only to avoid clashes). > Indeed the same should be done for stringstream. What are the plans for 1.2.0 anyway? Didn't somebody (you(?)) mention g++ 2.95 as minimum requirement lat

Re: Lsstream.h

2001-07-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Is there any reason why istringstream and ostringstream are Angus> moved into the global namespace. If so, why isn't stringstream Angus> as well. Can I not just remove the using directives and put Angus> them in the .C files? They

Lsstream.h

2001-07-13 Thread Angus Leeming
Is there any reason why istringstream and ostringstream are moved into the global namespace. If so, why isn't stringstream as well. Can I not just remove the using directives and put them in the .C files? Angus #ifndef LSSTREAM_H #define LSSTREAM_H // Since we will include a string header a

Re: Position of the Lsstream.h header?

2001-05-02 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | In most of the C++ files incuding Lsstream.h, this file is just after | config.h, and even before LString.h and the implementation pragmas. | This makes LString.h output an error with gcc 2.95.3+lyxstring. Is it | OK if I move it later

Position of the Lsstream.h header?

2001-05-02 Thread Jean-Marc Lasgouttes
In most of the C++ files incuding Lsstream.h, this file is just after config.h, and even before LString.h and the implementation pragmas. This makes LString.h output an error with gcc 2.95.3+lyxstring. Is it OK if I move it later in the include list or is there some subtle reason I am missing