Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-15 | Don't crash on Prolog exceptions. | John Ankarström | |
In the future, it may be desirable to convert Prolog exceptions to C++ exceptions. | |||
2022-07-15 | Reimplement Pl with variadic templates | John Ankarström | |
This is a bit safer and about as complex. | |||
2022-07-15 | Change declaration style. | John Ankarström | |
2022-07-15 | Add wrapper for LoadLibrary, FreeLibrary. | John Ankarström | |
2022-07-14 | Minor formal changes. | John Ankarström | |
Height(DLVSIKEY) was incorrect. The argument to Height is supposed to be a boolean value, in this case false. It happened to work because DLVSIKEY is 0 (because Key is the 0th column in the data list view). | |||
2022-07-14 | Initialize global variables in the right place. | John Ankarström | |
The rules for what messages are sent at window creation -- and in which order -- are neither intuitive or clear. WM_CREATE can NOT be relied upon to initialize global state required by handlers of other messages (such as WM_GETMINMAXINFO, which seems to be sent before WM_CREATE). Thus, the better solution is to initialize everything using a CBT hook before the window procedure is even run. Because CBTProc creates (child): windows of its own, though, one must be careful to only run the initialization once, which is done by checking g_hWnd. | |||
2022-07-11 | Improve ElvSort. | John Ankarström | |
2022-07-11 | Refactor, adjust minimum window size. | John Ankarström | |
2022-07-10 | Convert to C++. | John Ankarström | |
I already hit upon some object-oriented programming patterns in *listview.c, so I felt that it would be natural to use this as an opportunity to learn C++. | |||
2022-06-02 | Add Plp, Plg functions. | John Ankarström | |
2022-06-02 | Simplify C interface to Prolog. | John Ankarström | |
2022-05-31 | Remember focused episode. | John Ankarström | |
Previously, the episode most recently marked as watched would be selected on startup. | |||
2022-05-28 | Add option to show/hide other screenwriters. | John Ankarström | |
2022-04-28 | Fix selection and update-related bugs. | John Ankarström | |
2022-04-27 | Press left/right to select next/previous unwatched episode. | John Ankarström | |
2022-04-27 | Update episode order after rating. | John Ankarström | |
2022-04-25 | Flip title and rating columns. | John Ankarström | |
2022-04-15 | Sort by episode number if rating is equal. | John Ankarström | |
2022-04-07 | Reset focus after refresh. | John Ankarström | |
2022-04-04 | Remove column headers from data list view. | John Ankarström | |
2022-04-02 | Move initialization to WM_CREATE. | John Ankarström | |
WM_CREATE is sent as soon as the window is created. This means that it is not a good idea to set window-specific variables in the code following CreateWindow. Instead, they should be set in the window procedure's response to WM_CREATE. | |||
2022-04-02 | Clean up UpdateTheme. | John Ankarström | |
2022-04-02 | Open only clicked episode on double-click. | John Ankarström | |
2022-04-01 | Adjust formatting. | John Ankarström | |
2022-04-01 | Support per-monitor DPI. | John Ankarström | |
2022-03-31 | Set minimum window height. | John Ankarström | |
2022-03-30 | Disregard foreign frames. | John Ankarström | |
I don't think they're necessary. | |||
2022-03-30 | Include windows.h in defs.h. | John Ankarström | |
2022-03-02 | Open episode on Enter, but in a better way. | John Ankarström | |
2022-03-02 | Open episode on Enter. | John Ankarström | |
This case cannot be handled by NM_RETURN, as the Return key is handled by IsDialogMessage (in the message loop in main), which sends a WM_GETDLGCODE message to the active control. | |||
2022-03-02 | Handle theme updates, improve focus handling | John Ankarström | |
2022-02-18 | Resize data list view depending on number of items. | John Ankarström | |
2022-02-17 | Even more cleanup. | John Ankarström | |
2022-02-17 | More cleanup. | John Ankarström | |
2022-02-16 | Clean up. | John Ankarström | |
2022-02-16 | Select most recently watched episode by default. | John Ankarström | |
2022-02-15 | Finish Win32 re-implementation. | John Ankarström | |
There are still things to be improved upon, but this commit marks feature parity with the XPCE version. | |||
2022-02-15 | Show data in data list view. | John Ankarström | |
2022-02-15 | Show data list view. | John Ankarström | |
2022-02-15 | Combine header files. | John Ankarström | |
Some older UNIX programs are organized like this, and I think it gives a very good overview over the code. See troff for an example. |