|
From: <and...@ya...> - 2006-03-31 13:54:17
|
== Encodings ==
UTF8 only, or?
== Logging ==
Boqueron should have a decent way to log into a logfile
including debugging possibilities:
There's a standard module called Logger for that:
Example:
require 'logger'
logout = Logger.new("log") # you can specify a output channel
to log into here (STDOUT possbible)
log.level = Logger::INFO # There are three different loglevels:
INFO,WARN,DEBUG. We should talk about
which one to use for what purpose.
log.info("Loading Window...")
This will log into the specified logout. You can also set
timestamp format with:
log.datetime_format = "%H:%M:%S" # This is standard strftime format.
== Windows(tm) ==
I see we have atleast two Windows developers...We should treat
PATHS and platform-specific things really carefully then.
Can somebody figure out where you save settings in Windows?
(for example: Unix: ~/.boqueron Windows: C:\???)
What about using gconfd? I mean it runs on almost every unix
machine anyway so why not make use of it? Is there a gconfd
on Windows?
== Styleguide ==
We should all agree on one styleguide. Very important:
How are we going to treat tabs and indentation?
My ~/.vimrc says:
set shiftwidth=2
set expandtab
set tabstop=2
set smartindent
set autoindent
set smarttab
It basically inserts two spaces whenever I use <tab>.
That's very nice to work with.
There's a graphical vim for Windows ;).
== Glade ==
We should use Glade. Period ;)
== Connection Object ==
I propose to have connection state/roster in a seperate
object. This way we can just create more than one of these
objects at a time to support multiple accounts.
This object should also provide callbacks to update the
roster widget (see below).
I just mention this because the old code looked rather
"Let's just put into an hast"-like ;).
== Roster widget ==
I'm propably thinking a little bit to far into the future
but have you ever thought about using a custom widget
specifically designed to display the roster? There are
nice possibilities with cairo nowadays. You can use
these things within ruby-gtk2. To see nice contact
lists just search for screenshots of the MacOSX client
"Adium".
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
|