8
I Use This!
Activity Not Available

Commits : Listings

Analyzed 6 months ago. based on code collected 7 months ago.
Mar 10, 2016 — Mar 10, 2017
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Refactor: Make MainWindow hold a reference to the current scheme Previously, the current scheme was not really held in a central place -- the scheme display box was sort of the central definition of current scheme, but it was sort of spread out between several widgets. This re-factoring makes the MainWindow hold the current Scheme. There has been a new signal 'changed' added to the Scheme class so that observers can be notified when the scheme changes. The SchemeBox class has been refactored so that it will update its display whenever the current scheme changes. The mainwindow takes care of updating all of the auxiliary widgets such as ColorButton, SchemeSelector, etc. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... about 10 years ago
Experiment with a slightly more compact scheme cell renderer E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
When user selects a favorite scheme, switch to that scheme, not just the color Changed the bookmarks widget to get the currently-selected scheme instead of the currently-selected scheme, and switch to that scheme type and color. There are a few regressions here -- particularly, if you select a scheme in the favorites list and then modify the type or the color in the main scheme area, it won't become de-selected since that was causing me problems. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Scheme: Constify some getters E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Draw CellRendererSwatch using cairo instead of GDK E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Save favorite schemes instead of just favorite colors. The list of favorites in Project now is based on Schemes instead of Colors. In addition, there has been a new cellrenderer added that will display the entire scheme in the favorites treeview instead of just the primary color. Also fixed an error in parsing the project file where the color name didn't get parsed correctly. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Max export more generic by allowing user to select export format Currently there is only one format offered: Gimp palette, but eventually there may be others as well. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
'export' option is only available if the current project has favorites E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Fix Gimp palette export Now I can save the current project's favorite colors as a gimp palette file again. This was broken when I decided that the BookmarksList widget shouldn't be saving or loading any files. I handle this currently by adding a helper function Project::as_palette() that copies the project's favorite colors into a Palette object, which has defined an output stream operator to create a gimp palette file In the process, I added a utility dialog class for displaying errors in a popup dialog E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Make "Save" the default action in the Quit confirmation dialog E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Share code between NewProject dialog and ProjectProperties dialog New 'widget' named ProjectDetails which just shows a table with the name and description of the project E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Start the File Open dialog in the directory of the current project If the current project has not been saved or there is no current project, then default the file open dialog to the user's home directory. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Hook up the favorites list to display favorites from the current project I did this in a rather hacky way -- each Project object has a treemodel object for storing its list of favorite colors. I don't really like this -- ideally i'd use a more well-suited container such as std::vector<> that's easier to deal with outside of a treeview context. But then I'd need to write a custom TreeModel class and I'm not ready to do that just yet. There's a lot to do here yet, but it does seem to show the favorites for the currently selected project and also save them to file as well. It still doesn't seem to save the custom color names and stuff like that. When you add / remove / re-order stuff in a favorites list associated with a project, however, it doesn't mark that project as 'dirty', so it doesn't yet show a quit confirmation dialog if you try to quit without saving after you've modified the favorites list. I also had to change the BookmarkList class to allow swapping out different TreeModels when new projects are loaded. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Consolidate all of the handling for updating project info in one spot Do all of the updating of the title bar, etc. in the `on_project_set()` signal handler instead of doing some in close_project(), etc. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
At startup, if no project is loaded, create a new empty project Instead of showing "[No Project]" in the window title and not having a current project at all at startup, create a new empty project so that the user can start adding things to this new project and have it be saved. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Set Window subtitles when no project is loaded and when the project has no name When there is no project loaded, it displays [No Project] in the window title When the current project has no name, it displays [Unnamed Project] in the window title E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Handle changes to the project and indicate 'dirty' state in window title Whenever a project changes (e.g. the name or description at this point), it emits a 'changed' signal. We now handle this signal and update the titlebar of the main window to indicate whether the project has unsaved changes or not. To make this possible, I had to change some of the 'has_changes' handling in the Project class and change how I initialize some properties when parsing from a file. We now save two copies of each project property. one is the last saved value, and one is the current value. in the Parser, instead of setting the data fields directly, I added protected interfaces init_* which takes care of setting both the saved and the current values to the same values so that the parser class isn't responsible for dealing with that kind of detail. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Changed the description field in the properties dialog to a multi-line TextView There are some issues with dialog window resizing when you type text into the TextView that need to be addressed yet. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Add a project properties dialog This dialog shows the name and description of the current project (which you can also edit in this dialog) While developing this dialog, I noticed that there were some problems with the the project being marked 'dirty' when it shouldn't have been, which resulted in quit confirmation dialogs popping up when they weren't supposed to. This was caused by the ProjectParser class which sets information about a project using the same public interfaces as others use. The result is that when you set e.g. the name of the project it marks it as dirty even though it's just the name that was parsed from the file. Because of this, I now set the data directly instead of using the public interfaces. Perhaps it would be better to add some private-ish interfaces, but this works for now... E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Remove unnecessary forward-declaration E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Install custom mime type for project files. Agave project files will have a mime type of application/x-agave-project and an extension of *.agave E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Gah! I never added the quit confirmation dialog source files. Added. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Load UI (menus) and glade file from project working directory if they exist. If the files do not exist in the working directory, then attempt to load them from the installed location (e.g. /usr/local/share...) E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Rename the 'File' menu to 'Project' Also move the separators around in that menu slightly to make things look better E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Add ability to auto-load last-used project Added a gconf key for whether or not the last project should be auto-loaded. On startup, check this key and if the last project key is not empty, attempt to load it. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Add a gconf preference to save the last-used project file Eventually, there will be an option that the user can select which will automatically load the last-used project at startup. This changeset simply introduces the gconf schema and saves each project when it is closed E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Add ability to save the current project from the menus Select File > Save to save the current project. If the project has a file associated with it already (i.e. it was loaded from a file), it will save it back to that file. If it isn't associated with a file (e.g. it was created with "File > New Project"), it will pop up a filechooser dialog to allow you to save it to a new file. I haven't implemented "Save As..." functionality yet. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Change the Project file format slightly. Now the <color> element contains both a <value> and a <name> so that we can save names like we do with the current favorites file (e.g. '123 123 123 #name here') E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
NewProject dialog: UI love The new project dialog looks a bit nicer now, and also has a field for entering a description for the new project. The mainwindow handler also uses that description when it creates the new project. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago
Set the default icon for all windows Now, all filechooser dialogs and other utility windows should automatically get set to the correct agave icon without me having to do anythign about it. E172ba3486ac3014022ca828d0f8d675?&s=32&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon32 More... over 10 years ago