[boost] Re: Any interest in a generic pluggable factory class?

2003-08-30 Thread Bohdan
If your solution is generic i'm interested. Is it possible to look at code ? BTW, Your library may correlate with expected serialization library. regards, bohdan "Rob & Lori" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > For those of you who a

[boost] Re: Re: GUI/GDI template library

2003-08-14 Thread Bohdan
"E. Gladyshev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Bohdan <[EMAIL PROTECTED]> wrote: > > > 2. Finally your lib may become non-template ( i mean > > cpp files) ... > > If it becomes not-template, I'll stop wor

[boost] Re: GUI/GDI template library

2003-08-14 Thread Bohdan
> toolkits are mostly concerned with the presentation > level, notus is not! (well to a degree) IMHO, low level GUI can be supported too. It is not as important as 'native GUI' support, however it can be proof that something written using modern c++ techniques is better than something written on C 10 years ago :). regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Bohdan
rticular OS object). > > > > -graydon > > Synchronization channel sounds good except that stream names are too long. > > synchronization_channel channel; // good > > // too long? > synchronization_channel_istream in(channel); > synchronization_ch

[boost] GUI sublanguage ?

2003-08-14 Thread Bohdan
; pb.max( 100 ); pb.step( 5 ); pb.smooth( true ); w.insert( pb ); w.show(); //or w.show_modal(); window::main_loop(); } regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: GUI/GDI template library

2003-08-14 Thread Bohdan
gt; customizations of the pure template library. ... And here you are telling that there will be some (platform dependant). Do you mean there will be two libraries/layers ? > The > customizations could be even put in another namespace. regards, bohdan

[boost] Re: Re: Re: Re: Re: the boost::signal sample crashes

2003-08-14 Thread Bohdan
"E. Gladyshev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Bohdan <[EMAIL PROTECTED]> wrote: > > > Because : > > 1. traits causes more complicated and more > >error prone interface. In this case > >

[boost] Re: Re: Re: Re: the boost::signal sample crashes

2003-08-14 Thread Bohdan
t of it's part. Current boost::thread design is just reflection for this statement. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: the boost::signal sample crashes

2003-08-14 Thread Bohdan
for more than ONE OS in ONE application. IMO, it is true for GUI library :) regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: automating registering of events (was: Re: GUI/GDItemplatelibrary)

2003-08-14 Thread Bohdan
nt callback. > That's what my example does - it's obfuscated indeed, but that's > because I had to tweak it to work with VC6. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: GUI sublanguage ?

2003-08-14 Thread Bohdan
"Philippe A. Bouchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bohdan wrote: > > [...] > > >> There are a lot of good reasons why we would not always want to have > >> total control. > > > > "Not always" mean

[boost] Re: GUI sublanguage ?

2003-08-12 Thread Bohdan
t ten applications each with a > different look and feel. I don't want to have to remember that step > size for our company is always '5', for instance. Interface proposed by me can and should have default values as well. > If we head in the direction we've been talking we would also provide a > cross platform lower level API where you could get more control and do > things like what you describe below. I hope that most programmers would > find it unnecessary though. IMHO this interface is must. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] GUI sublanguage ?

2003-08-10 Thread Bohdan
; pb.max( 100 ); pb.step( 5 ); pb.smooth( true ); w.insert( pb ); w.show(); //or w.show_modal(); window::main_loop(); } regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: automating registering of events (was: Re: GUI/GDI templatelibrary)

2003-08-10 Thread Bohdan
you modify the ID of a resource, all > you have to do is recompile the source file (wnd_widget.cpp), not the whole files > depending on wnd_widget.h. AFAIK, some gui toolkits use not event, but callback system. IMHO it is more evective

[boost] Re: GUI/GDI template library

2003-08-10 Thread Bohdan
thinking about setting up a sourcesafe > project. What do you think about the name, boost::SGTL > (Standrad GUI Template Library)? > 1. Boost isn't standart but near :) 2. Finally your lib may become non-template ( i mean cpp files) ... What about simple boost::gui ? regards, bohda

[boost] Re: Re: Re: Re: GUI/GDI template library

2003-08-07 Thread Bohdan
e them. > Thanks. I'm already tracking this thread. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: GUI/GDI template library

2003-08-07 Thread Bohdan
ybe that's a little pretentious for us at > this early stage :) gtl would probably be better. I suspect that if we > get to a review some people may request something more verbose. > IMO, gtl can be mixed up with boost graph library. May be guitl ? regards, bohdan

[boost] Re: Re: Re: Re: Re: Re: Re: the boost::signal sample crashes

2003-08-07 Thread Bohdan
ort (patching files and build system). IMHO, this solution is almost identical to implementing custom ThreadTraits and it is pleasant for lazy programmers soul :). regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: Re: Re: Re: the boost::signal sample crashes

2003-08-07 Thread Bohdan
"E. Gladyshev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Bohdan <[EMAIL PROTECTED]> wrote: > > > If you mean your threads snipped: Yes i've seen it. > > IMO it is more complicated and YES it has compile > > time pro

[boost] Re: Re: Re: GUI/GDI template library

2003-08-06 Thread Bohdan
k that lisp-like planty of parentheses will be very convenient for coding ? If you really wan't to invent kind of "dialog language" ( i really don't understand why one may need it ?), wouldn't it be better to use operators

[boost] Re: GUI/GDI template library

2003-08-03 Thread Bohdan
lazy choice : ask developers to port it to boost ?:)) It is developed under BSD license. I'm not expert in licenses :(. If somebody can shed light on this license thanks. regards, bohdan ___ Unsubscribe & other changes: http://l

[boost] Re: Re: Re: Re: Re: GUI/GDI template library

2003-08-02 Thread Bohdan
"E. Gladyshev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Bohdan <[EMAIL PROTECTED]> wrote: > > > > "E. Gladyshev" <[EMAIL PROTECTED]> wrote in message > > > but which approach is better for GUI lib. &g

[boost] Re: Re: the boost::signal sample crashes

2003-08-02 Thread Bohdan
t pragmas as in boost::regex. Honestly ... i'd like to see such build system in all boost non-template libs :) IMHO, it is very convenient. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: Re: GUI/GDI template library

2003-08-02 Thread Bohdan
ion is not "what is good for modern c++" but which approach is better for GUI lib. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: GUI/GDI template library

2003-08-02 Thread Bohdan
c++. They(ideas) are good, very good unfortunately not always. Please have mercy for people using poor modern compilers :). regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: GUI/GDI template library

2003-07-29 Thread Bohdan
be written on top of a pure C++ solution with the help of a > serialization library. > Sure, but this can be kind of simple c++ or even c code. Alternatively very important is possibility to load resources in runtime, possibly this can help to solve localization issues. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: GUI/GDI template library

2003-07-29 Thread Bohdan
idea or not, I think if you were going to go to the > trouble of generating a resource script language and editor that you > wouldn't necessarily want to tie it to one programming language (i.e. > c++). IMHO, creating simple resource script language or using XML isn't as diffic

[boost] Re: Re: GUI/GDI template library

2003-07-29 Thread Bohdan
idea or not, I think if you were going to go to the > trouble of generating a resource script language and editor that you > wouldn't necessarily want to tie it to one programming language (i.e. > c++). IMHO, creating simple resource script language or using XML isn't as difficul

[boost] Re: GUI/GDI template library

2003-07-29 Thread Bohdan
pment time. BTW, there were some talks about second review of declined serialization library which can be used for resource files ... is this library being developed or it is "dead" ? regards, bohdan ___ Unsubscribe & other changes: http:/

[boost] Re: Re: Re: GUI/GDI template library

2003-07-29 Thread Bohdan
Hi, Just curious ... is it worth considering well known GUI designs like MVC( Model-View-Controller) or more refined MVP( Model-View-Presenter) ? Or they are not good enough for modern c++ ? regards bohdan ___ Unsubscribe & other changes:

[boost] Re: GUI/GDI template library

2003-07-26 Thread Bohdan
LTK 2.0 will utilize many more C++ features including exceptions, namespaces, and templates. The use of exceptions and templates will be optional. In addition, FLTK 2.0 will provide enhanced device, rendering, and style interfaces to support more platforms, printing, and application "skins&quo

[boost] Re: Re: API Review request: XML API for C++, second round

2003-06-26 Thread Bohdan
"Stefan Seefeld" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Bohdan, > > even though you may think of a dom tree as 'just another tree', there is > really quite a bit of domain-specific semantics associated with it > that makes it

[boost] Re: API Review request: XML API for C++, second round

2003-06-25 Thread Bohdan
bxml2) objects like nodes,attributes, text .. ? IMHO i like libraries which manual first lines contain ".. Xxx library/class has the same interface as Yyy library/class ... ". regards, bohdan ___ Unsubscribe & other changes: http://list

[boost] Link

2003-06-17 Thread Bohdan
Just interesting link on yet another geometry/image library and related : http://vxl.sourceforge.net regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: What is Double Dispatch ?

2003-06-06 Thread Bohdan
hoices it has in the second stage. But it scales > much better in terms of dependencies. Does it mean that for some use cases your lib can be event slower than FSM implementation with acyclic visitor ? IMHO inner states are not too rare thing in practice ... regars, bohdan _

[boost] Re: Any interest in a member function pointer -> functionpointerconverter? (a la boost::function)

2003-06-06 Thread Bohdan
pe df = destruct_fn(); df(ptr); regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: What is Double Dispatch ?

2003-06-06 Thread Bohdan
ces ? Anyway thanks for links :) regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] What is Double Dispatch ?

2003-06-04 Thread Bohdan
Hi, Recently i heard something about "Double Dispatch" within FSM discussion. Sorry for bothering, but where can i find something about it ? Sources/Article ? Thanks for help. regards bohdan ___ Unsubscribe & other changes: http://l

[boost] Re: Preliminary submission: Finite State Machine framework

2003-06-04 Thread Bohdan
ht and initial state template parameter will simpify code, but allowing default "InnerInitial = detail::empty_list" as you did it for state template will allow complete removing of initial state from interface. BTW what about run-time selection of initial states ? : StopWatch::StopWatch()

[boost] Re: Preliminary submission: Finite State Machine framework

2003-06-03 Thread Bohdan
estion isn't too annoying :) > > boost::fsm no longer uses acyclic visitor! The current double dispatch > implementation (which was inspired by Aleksey's fsm lib) uses one virtual > call followed by a linear search for a suitable reaction, using one RTTI > comparison per

[boost] Re: Preliminary submission: Finite State Machine framework

2003-06-02 Thread Bohdan
rid of "Acyclic Visitor". Some dispatch policies ... ? Hope this question isn't too annoying :) Actually i have some more remarks, but should look at your library closer. It's really cool! Thanks Andreas. regards, bohdan

[boost] Re: Metaclass and reflection framework (was: Implicitconversionsindynamic_any / extract)

2002-11-25 Thread Bohdan
of the biggest problems is lack of time. Links: http://www.garret.ru/~knizhnik/cppreflection/docs/reflect.html http://www.vollmann.ch/en/pubs/meta/meta/meta.html Also you can look at languages that already have reflection/introspection (java,c#...). regards, bohdan _

[boost] [Q] any and counted body

2002-11-22 Thread Bohdan
rks, but GC is used in place of ref-counting. I suspect this was already concidered and rejected, than can anybody shed light why ? regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Serialization to relational table

2002-11-20 Thread Bohdan
"Vladimir Prus" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Bohdan wrote: > I'm not a database expert, so my knowledge may be just rusty. However, I never > heard about composite types in relational tables, and ne

[boost] Re: Re: Re: Re: STL applied to disk

2002-11-20 Thread Bohdan
"David Abrahams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Bohdan" <[EMAIL PROTECTED]> writes: > > > Do you mean that *i returns proxy (not object or reference) ? > > Can you give some link

[boost] Re: Serialization to relational table

2002-11-20 Thread Bohdan
in. > > Which compiler are you using? So far we only support VC6 and g++. > > Arkadiy > bcc32 5.5.1 ( borland ) commonly with stlport I'll try to fix sources for it. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message arecso$9uf$[EMAIL PROTECTED]">news:arecso$9uf$[EMAIL PROTECTED]... > Bohdan, > > If I understand correctly you have some way to split an object into fields. > After you do it, what are your fields, strings

[boost] Re: Re: Re: STL applied to disk

2002-11-19 Thread Bohdan
. When you need to commit some trx than you just commit cache etries write locked by this transaction. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: STL applied to disk

2002-11-19 Thread Bohdan
hat object copy is cheap ? Problem #4: User has some template algorithm which deals with generic stl container. Algorithm expects object "pointer <-> disk buffer" identity when performing const operations on your container which is norm for std::container. I'm not sure if it is required by standart, but it seems logical to me. --- MHO : It would be better to implement buffer (POD?) disk container and object disk container separately. I looks like they are pretty different things. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: STL applied to disk

2002-11-19 Thread Bohdan
nternally. You can even > arrange for it to construct the value_type in its internal storage on > demand, so that it doesn't store anything until it is dereferenced. I was trying to convince Wesley to this approach but it is not easy :) He claims that it is much easier to return proxy and serialize / deserialize on assignment and cast, but I have feeling that it is blind alley for stl on disk. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
ance. I failed to compile rtl with my compiler. Will try once again. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Serialization to relational table

2002-11-19 Thread Bohdan
"Joachim Achtzehnter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Today, in a message to boost, Vladimir Prus wrote: > > > > Bohdan wrote: > > > > > > serialization: Object <-> Relational

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message arc2ra$nhv$[EMAIL PROTECTED]">news:arc2ra$nhv$[EMAIL PROTECTED]... > "Bohdan" <[EMAIL PROTECTED]> wrote in message > arb73a$2gm$[EMAIL PROTECTED]">news:arb73a$2gm$[EMAIL PROTE

[boost] Re: Serialization to relational table

2002-11-18 Thread Bohdan
"Vladimir Prus" <[EMAIL PROTECTED]> wrote in message arb8od$c87$[EMAIL PROTECTED]">news:arb8od$c87$[EMAIL PROTECTED]... > Bohdan wrote: > > I believe that XML can contain any data. But i suspect that > > XML garbaged with all serialization stuff will

[boost] Serialization to relational table

2002-11-18 Thread Bohdan
I think that this kind of serialization is completely different from serialization framework written by Robert and possibly it can solve XML serialization question. thoughts ? regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: STL applied to disk

2002-11-13 Thread Bohdan
acking data structures. I have a nice raw iterator class that operates on > memory chunks for the key&data. It is mostly complete, but lacks a > user-friendly api. > > I am trying to get it to look more like the stl because the wrapper I wrote > for my previous employer was

[boost] Re: STL applied to disk

2002-11-12 Thread Bohdan
; > ... that's you. :-) Don't count on it :) Actually you touched a top of iceberg. ObjectDatabases are very painful things. Unfortunately they are not too popular nowadays. The reason for this is simple, they are extrimally difficult to implement and use (at least for c++). So if you want to hear my humble opinion: try to implement something small and limited in use first. BTW, the best open-source link that can be of some help : http://www.garret.ru/~knizhnik/ regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: pool benefit ratio for different compilers

2002-11-11 Thread Bohdan
m not sure if boost::fast_pool_allocator gives any acceleration in this case. regards, bohdan ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: pool benefit ratio for different compilers

2002-11-10 Thread Bohdan
"John Maddock" <[EMAIL PROTECTED]> wrote in message news:00f801c288b3$70f93920$605787d9@;1016031671... > C++ Builder 6 uses STLport, which has a pool based allocator by default > anyway... I'm using C++ builder 5.0, which us

[boost] pool benefit ratio for different compilers

2002-11-09 Thread Bohdan
different compilers ? struct simple { int m_x; double m_f; }; ... AllocatorT a; const int N = 2000; for( int i=N; i; --i ) { a.deallocate( a.allocate(1), 1 ); } <\code> BTW, Is pool library supported now ? regards, bohdan ___ Unsub