source: apps/desktopgui/TODO @ 46af643

Last change on this file since 46af643 was 84d8683, checked in by mathiasdm <mathiasdm@…>, 10 years ago

Added desktopgui to installation, updater and startup.

  • Property mode set to 100644
File size: 3.3 KB
Line 
1HIGH PRIORITY:
2- Allow desktopgui to start, stop and restart I2P. - DONE
3- Correct logging system - DONE
4- Internationalisation:
5    * Add strings - DONE
6    * Add Windows support - NEED TO CHECK
7    * Might need some kind of trigger to reload the menu (for live language switching) - DONE
8    * Language choice is not actually set as a parameter in I2P config?
9        As a result, desktopgui always starts with the default, unless you manually set the language.
10        DONE - uses routerconsole.lang -- this parameter is now updated in routerconsole as well
11- Check if we're inside I2P without using a command-line parameter - DONE
12- Modify installer to set I2P directory parameter; or use $I2P? - Is already there
13- Include in installer - TODO
14- Start desktopgui without adding to clients.config and without adding a dependency on routerconsole!
15  * One possibility:
16        Adding some kind of 'ApplicationManager' that allows starting applications.
17        Extra remark: ApplicationManager should also allow stopping certain applications from launching.
18        Suggestion:
19            * ApplicationManager reads/writes clients.config
20            * ApplicationManager itself: independent from clients.config?
21            * Upon reboot, ApplicationManager could add a new application to clients.config _if_ the 'application.manager.version' is not there, or is smaller than the current version.
22            * ApplicationManager can be the clients.config backend for routerconsole, so routerconsole is not the dependency.
23            * API:
24                - addConfig(args, name, ...)
25                - removeConfig(int)
26                - removeConfig(ConfigFilter)
27                    ConfigFilter() {
28                        boolean filterArgs(String args);
29                        boolean filterMain(String main);
30                        ...
31                    }
32                - editConfig(args, name, ..., ConfigFilter)
33                - editConfig(args, name, ..., int)
34                - editConfigArgs(args, ConfigFilter)
35                - editConfigArgs(args, int)
36                - ...
37 * For now: added in the routerconsole startup (like the old SysTray. - DONE
38    Possible migration path: startup ApplicationManager in routerconsole the first time.
39- Check bug: restart is happening instead of shutdown!
40- Check build order (for example: first desktopgui, only later routerconsole)
41- Fix tabs versus spaces ;-)
42- Add check for Java version 6 in RouterConsoleRunner!
43UNKNOWN:
44- API to allow applications to add themselves to the menu?
45    * registerApplication(); -- should return a positive number on success, -1 on failure
46    * unregisterApplication(int); -- should return nothing (or bool for success?), and the parameter should be the number given when registering the application
47- Fetch I2P localhost from the core I2P application?
48- Use I2PAppContext::appDir (something like that) for desktopgui data.
49- Consider SWT as option
50    * Check core/java/src/net/i2p/util/FileUtil.java for dynamic jar loading
51    * Possible logic:
52        - First try to load SWT (has the most options and is not ugly)
53        - Then load AWT
54- Access router.jar from other JVM? Is this possible? -- no: use I2CP with auth (not ready yet)
55- Start desktopgui with another user than the user starting I2P (required for daemon usage).
Note: See TracBrowser for help on using the repository browser.