SRL Archive - Suggestions

Settings suggestions


Wizzup?

2010-01-07 17:57:56

So, there is a settings system.

Current list of settings:



Settings/Fonts/Path
Settings/Fonts/LoadOnStartUp
Settings/Updater/RemoteVersionLink
Settings/Updater/RemoteLink
Settings/Updater/CheckForUpdates
Settings/Updater/CheckEveryXMinutes
Settings/ColourPicker/ShowHistoryOnPick
Settings/Includes/Path
Settings/Plugins/Path
Settings/Tabs/OpenNextOnClose

Suggestions for settings?

Anything goes really… Setting for the max tabs open? Settings for the max amount of scripts to run? You name it!

mixster

2010-01-07 18:04:14

Includes / Plugins / Scripts - I prefer to keep SRL seperate then add symlinks into Scar, which is some what annoying but works.

Nava2

2010-01-07 18:42:27

Syntax Colours
Default Script Directory
Default Script Layout
Simba Theme
FireWall and FileWall
API Calls (not sure this is implemented?)
Include Paths
Perhaps Defines?

(Once/if SMART is integrated:
Max Clients
Refresh Rate)

Edit: Add a value w/o double clicking on it, or at least display the current value as apposed to ``value''

Edit2: What a suprise I couldn't do the latter myself.

Widget

2010-01-07 20:33:59

Here's what I got:


Paths
- Fonts
- Includes
- Scripts
- Plugins

Editor
- Tab size
- Code completion/hints
- Font
- Code folding
- Colors?

Security/Runtime
- Firewall
- Filewall
- API calls

Updater
- Check every xx minutes
- Automatically update a la Firefox
- URL

Other
- "Portable mode" (write to ini instead of registry, unless we do that already)

Wizzup?

2010-01-08 05:50:22

From: Widget
Here's what I got:


Paths
- Fonts
- Includes
- Scripts
- Plugins

Editor
- Tab size
- Code completion/hints
- Font
- Code folding
- Colors?

Security/Runtime
- Firewall
- Filewall
- API calls

Updater
- Check every xx minutes
- Automatically update a la Firefox
- URL

Other
- "Portable mode" (write to ini instead of registry, unless we do that already)


Thanks for the suggestions.
We write to a file called settings.xml.
I wrote my own "registry", so it is 100% portable. ;)

Markus

2010-01-08 17:22:48

Script settings / 'scriptname' / setting (script-defined).

Wizzup?

2010-04-30 05:42:55

From: Markus
Script settings / 'scriptname' / setting (script-defined).


Currently all scripts have direct access to '/Scripts/' (in a sandbox, but they can access other scripts.) How would a script give us it's name? Via a function call, by parsing the source?

Updated list of settings

<?xml version="1.0"?>
<Simba>
<Settings>
<Updater>
<CheckForUpdates>True</CheckForUpdates>
<CheckEveryXMinutes>30</CheckEveryXMinutes>
<RemoteVersion>http://simba.villavu.com/bin/Linux/x86_64/Stable/Simba</RemoteVersion>
<RemoteVersionLink>http://simba.villavu.com/bin/Linux/x86_64/Stable/Version</RemoteVersionLink>
</Updater>
<Interpreter>
<UseCPascal>False</UseCPascal>
</Interpreter>
<Fonts>
<LoadOnStartUp>True</LoadOnStartUp>
<Path>/home/merlijn/Programs/simba/Fonts/</Path>
<Version>1</Version>
<VersionLink>http://simba.villavu.com/bin/Fonts/Version</VersionLink>
<UpdateLink>http://simba.villavu.com/bin/Fonts/Fonts.tar.bz2</UpdateLink>
</Fonts>
<Tabs>
<OpenNextOnClose>False</OpenNextOnClose>
<OpenScriptInNewTab>True</OpenScriptInNewTab>
</Tabs>
<ColourPicker>
<ShowHistoryOnPick>False</ShowHistoryOnPick>
</ColourPicker>
<General>
<MaxRecentFiles>10</MaxRecentFiles>
</General>
<MainForm>
<NormalSize>739:555</NormalSize>
</MainForm>
<FunctionList>
<ShowOnStart>True</ShowOnStart>
</FunctionList>
<Includes>
<Path>/home/merlijn/Programs/simba/Includes/</Path>
</Includes>
<Plugins>
<Path>/home/merlijn/Programs/simba/Plugins/</Path>
</Plugins>
<Extensions>
<Path>/home/merlijn/Programs/simba/Extensions/</Path>
<FileExtension>sex</FileExtension>
</Extensions>
<CodeHints>
<ShowAutomatically>True</ShowAutomatically>
</CodeHints>
<SourceEditor>
<LazColors>True</LazColors>
</SourceEditor>
<News>
<URL>http://simba.villavu.com/bin/news</URL>
</News>
</Settings>
<LastConfig>
<MainForm>
<Position>219:130:927:675</Position>
<State>normal</State>
<FunctionListShown>True</FunctionListShown>
<RecentFiles>
<Count>5</Count>
<File0>/home/merlijn/Programs/simba/Tests/PS/BmpTest.simba</File0>
<File1>/home/merlijn/Programs/simba/Tests/PS/Several bitmap operations.simba</File1>
<File2>/home/merlijn/Programs/simba/Tests/PS/loadsystemfont.simba</File2>
<File3>/home/merlijn/Programs/simba/Extensions/srl.sex</File3>
<File4>/home/merlijn/Programs/simba/Tests/PS/MaskTest.simba</File4>
</RecentFiles>
</MainForm>
<Extensions>
<EnabledExts/>
</Extensions>
</LastConfig>
<Scripts>
<Kanker/>
</Scripts>
<Extensions>
<ExtensionCount>4</ExtensionCount>
<Extension0>
<Path>/home/merlijn/Programs/simba/Extensions/test2.sex</Path>
<Enabled>False</Enabled>
</Extension0>
<Extension1>
<Path>/home/merlijn/Programs/simba/Extensions/test3.sex</Path>
<Enabled>False</Enabled>
</Extension1>
<Extension2>
<Path>/home/merlijn/Programs/simba/Extensions/test.sex</Path>
<Enabled>False</Enabled>
<Settings>
<FontVersion>1</FontVersion>
</Settings>
</Extension2>
<Extension3>
<Settings>
<AutoUpdate>True</AutoUpdate>
</Settings>
<Path>/home/merlijn/Programs/simba/Extensions/srl.sex</Path>
<Enabled>False</Enabled>
</Extension3>
</Extensions>
</Simba>