libui/TODO.md

104 lines
4.8 KiB
Markdown
Raw Normal View History

2016-06-08 22:52:53 -05:00
- more robust layout handling
- uiFormTie() for ensuring multiple uiForms have the same label area widths
- uiSizeGroup for size groups (GtkSizeGroup on GTK+, auto layout constraints on OS X; consider adding after 10.8 is gone)
- windows: should the initial hwndInsertAfter be HWND_BOTTOM for what we want?
- windows: document the rules for controls and containers
- windows: document the minimum size change propagation system
2016-04-27 13:25:52 -05:00
- provisions for controls that cannot be grown? especiailly for windows
- LC_VERSION_MIN_MACOSX has the 10.11 SDK; see if we can knock it down to 10.8 too; OS version is fine
2016-01-13 15:20:38 -06:00
- apply the OS version stuff to the test program and examples too
- what about micro versions (10.8.x)? force 10.8.0?
2016-01-08 18:11:12 -06:00
- go through ALL the objective-c objects we create and make sure we are using the proper ownership (alloc/init and new are owned by us, all class method constructors are autoreleased - thanks mikeash)
2016-01-03 14:54:17 -06:00
- on OS X, edit shortcuts like command-C working require that the menu entries be defined, or so it seems, even for NSAlert
- other platforms?
2016-01-03 12:53:55 -06:00
- make sure all OS X event handlers that use target-action set the action to NULL when the target is unset
2015-12-20 17:51:08 -06:00
- provide a way to get the currently selected uiTab page? set?
- make it so that the windows cntrols only register a resize if their new minimum size is larger than their current size to easen the effect of flicker
- it won't remove that outright, but it'll help
2015-12-19 00:17:06 -06:00
- add an option to the test program to run page7b as an independent test in its own window
2015-12-19 16:41:54 -06:00
- same for page7c
2015-12-19 00:17:06 -06:00
2015-11-30 18:53:44 -06:00
- http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx provide a DEF file on Windows
2015-09-02 15:29:40 -05:00
- all ports: update state when adding a control to a parent
2015-09-02 16:49:18 -05:00
- should uiWindowsSizing be computed against the window handle, not the parent?
2015-09-02 15:29:40 -05:00
2015-07-29 11:10:57 -05:00
- DPI awareness on windows
2015-05-07 20:07:58 -05:00
- http://stackoverflow.com/questions/4543087/applicationwillterminate-and-the-dock-but-wanting-to-cancel-this-action
2015-04-10 13:31:16 -05:00
ultimately:
2015-04-30 12:31:06 -05:00
- MAYBE readd lifetime handling/destruction blocking
2015-09-02 16:49:18 -05:00
- related? [12:25] <ZeroOne> And the blue outline on those buttons [ALL clicked buttons on Windows 7] won't go away
- I get this too
2015-12-19 16:41:54 -06:00
- not anymore
- SWP_NOCOPYBITS to avoid button redraw issues on Windows when not in tab, but only when making resize faster
2015-09-02 16:49:18 -05:00
- secondary side alignment control in uiBox
2015-05-07 18:55:42 -05:00
- Windows: don't abort if a cleanup function fails?
2015-09-02 16:49:18 -05:00
2015-05-10 23:08:22 -05:00
- 32-bit Mac OS X support (requires lots of code changes)
- change the build system to be more receptive to arch changes
notes to self
- explicitly document label position at top-left corner
2015-09-02 16:49:18 -05:00
- explicitly document that if number of radio buttons >= 1 there will always be a selection
- mark that uiControlShow() on a uiWindow() will bring to front and give keyboard focus because of OS X
- make sure ShowWindow() is sufficient for zorder on Windows
2015-05-18 09:32:08 -05:00
- document that you CAN use InsertAt functions to insert at the first invalid index, even if the array is empty
- note that uiTabInsertAt() does NOT change the current tab page (it may change its index if inserting before the current page)
- note that the default action for uiWindowOnClosing() is to return 0 (keep the window open)
2015-05-07 19:26:56 -05:00
- note that uiInitOptions should be initialized to zero
- explicitly document that uiCheckboxSetChecked() and uiEntrySetText() do not fire uiCheckboxOnToggled() and uiEntryOnChanged(), respectively
- note that if a menu is requested on systems with menubars on windows but no menus are defined, the result is a blank menubar, with whatever that means left up to the OS to decide
2015-09-02 16:49:18 -05:00
- note that handling of multiple consecutive separators in menus, leading separators in menus, and trailing separators in menus are all OS-defined
2015-12-21 22:33:54 -06:00
- note that uiDrawMatrixInvert() does not change the matrix if it fails
- note that the use of strings that are not strictly valid UTF-8 results in undefined behavior
2015-09-02 17:27:12 -05:00
- test RTL
- automate RTL
2016-05-28 12:13:38 -05:00
- now that stock items are deprecated, I have to maintain translations of the Cancel, Open, and Save buttons on GTK+ myself (thanks baedert in irc.gimp.net/#gtk+)
2016-05-28 12:19:10 -05:00
- either that or keep using stock items
2015-12-06 15:54:03 -06:00
- http://blogs.msdn.com/b/oldnewthing/archive/2014/02/26/10503148.aspx
2015-12-07 21:50:58 -06:00
2015-12-11 17:39:04 -06:00
- build optimizations
2016-01-28 00:42:12 -06:00
- use http://www.appveyor.com/ to do Windows build CI since people want CI
2016-04-16 14:41:34 -05:00
- consider just having the windows backend in C++
- consider having it all in C++
don't forget LONGTERMs as well
2016-04-16 14:41:34 -05:00
2015-12-07 21:50:58 -06:00
notes
- http://blogs.msdn.com/b/oldnewthing/archive/2004/03/29/101121.aspx on accelerators
2016-06-14 23:04:39 -05:00
- group and tab should act as if they have no child if the child is hidden
2016-06-14 23:04:55 -05:00
on windows
- a way to do recursive main loops
- how do we handle 0 returns from non-recursive uiMainStep() calls that aren't the main loop? (event handlers, for instance)
2016-06-17 09:28:31 -05:00
- should repeated calls to uiMainStep() after uiQuit() return 0 reliably? this will be needed for non-recursive loops
2016-07-12 16:50:43 -05:00
http://stackoverflow.com/questions/38338426/meaning-of-ampersand-in-rc-files/38338841?noredirect=1#comment64093084_38338841