Eyez0nly / omeglespy-z

Automatically exported from code.google.com/p/omeglespy-z
0 stars 0 forks source link

Use a Config File Instead of Common for Some Settings #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are several settings in the Common class that I would rather see in a 
config file. Like host names and what not. This will allow them to be changed 
on the fly without needing a recompile.

This is purely for my benefit since all users are morons.

Original issue reported on code.google.com by darkimp...@gmail.com on 19 Feb 2012 at 2:27

GoogleCodeExporter commented 8 years ago

Original comment by darkimp...@gmail.com on 20 Feb 2012 at 3:19

GoogleCodeExporter commented 8 years ago

Original comment by darkimp...@gmail.com on 28 Feb 2012 at 8:20

GoogleCodeExporter commented 8 years ago
The Common class is gone.

The version data has been abstracted into build time filtering.

The remaining functionality has been parceled out to other classes.

A new settings file has been created. Currently, it contains settings to 
control:

 * The location of the names.txt file.
 * The location of the server_names.txt file.
 * The location of the filter.txt file.
 * The location of the browsers.txt file (contains the names of some common browsers in Linux for handling external links in the chat logs).
 * The maximum number of conversations to display in the main chat window (this may be deprecated in favor of size of all conversations, since with the swapping of strangers after a stranger has disconnected, conversations can be quite long).
 * Keyboard shortcuts.
 * The default view to use (either standard or expert).

Outstanding tasks:

 * Wiring the application to fetch the configured data from the configuration manager.

A separate issue will be written for the creation of a frontend to modify the 
settings.

Original comment by darkimp...@gmail.com on 20 Mar 2012 at 2:21

GoogleCodeExporter commented 8 years ago

Original comment by darkimp...@gmail.com on 20 Mar 2012 at 2:27

GoogleCodeExporter commented 8 years ago

Original comment by darkimp...@gmail.com on 20 Mar 2012 at 2:30

GoogleCodeExporter commented 8 years ago
Setup the configuration for initial settings. The task of adding further 
configuration points will be tacked on to the relevant issue.

Original comment by darkimp...@gmail.com on 23 Mar 2012 at 5:50