diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index c350ea1..6b08c1e 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,27 @@ +Version 0.3.0a +October 2, 2014 + +This is a pre-release, experimental version. + +The minimum database version has been updated to 17 for the Oceanus 1.0 database. + +Large changes to the skill plan view. Skill plans are now a master/detail pair of tables. + All columns can be moved by dragging and dropping the column header. + Right clicking on a column header will bring up a contextual menu letting you show or hide columns, along with menu items related to sorting. + Because of the previous changes the Skill Plan related Preference pane is no longer necessary and has been removed. + Skill plans and skills can be sorted by clicking on a column header, except for columns whose data is calculated (e.g. Running Total, Start/Finish Date). + The Manual Sort menu item will undo all sorting, reverting you to the last manual sort. + Sorting skills within a plan may well violate skill pre-requisites. Skills that no longer follow their pre-requisites are displayed with a red name. The "Fix Prerequisites" menu item will attempt a minimal re-ordering of skills to satisfy all pre-requisites. The new order will be set as the latest manual sort. + +When changing tabs in the Skill Planner search section (i.e. Skills, Certs, Ships, Modules) the search field is cleared since it's likely to not make much sense for a different kind of search. + +The Database preference pane now updates properly if the database has just been updated. + +Changed the way ships are sorted into races in the Ships search view so all ships should now be visible, specifically ORE ships. + +The code has been cleaned up a lot to remove compiler warnings and to eliminiate some memory leaks. + + Version 0.2.11a September 9, 2014 diff --git a/src/Preferences/MBPreferencesController.h b/src/Preferences/MBPreferencesController.h index b278857..e40ee54 100644 --- a/src/Preferences/MBPreferencesController.h +++ b/src/Preferences/MBPreferencesController.h @@ -33,7 +33,7 @@ * MBPreferencesController has enough information to accurately populate the * toolbar. */ -@protocol MBPreferencesModule +@protocol MBPreferencesModule /** * @name Module Attributes */ diff --git a/src/Preferences/MBPreferencesController.m b/src/Preferences/MBPreferencesController.m index 986ea76..1e93f2b 100644 --- a/src/Preferences/MBPreferencesController.m +++ b/src/Preferences/MBPreferencesController.m @@ -111,7 +111,8 @@ - (id)autorelease { - (void)showWindow:(id)sender { [self.window center]; - [_currentModule willBeDisplayed]; + if( [_currentModule respondsToSelector:@selector(willBeDisplayed)] ) + [_currentModule willBeDisplayed]; [super showWindow:sender]; } diff --git a/src/Views/Skill Planner/PlanOverview.m b/src/Views/Skill Planner/PlanOverview.m index f908dfc..f9caf5a 100644 --- a/src/Views/Skill Planner/PlanOverview.m +++ b/src/Views/Skill Planner/PlanOverview.m @@ -56,7 +56,8 @@ -(void) deleteSkillPlan:(NSIndexSet*)planIndexes } [character removeSkillPlan:plan]; } - + + [tableView selectRowIndexes:planIndexes byExtendingSelection:NO]; [self refreshPlanView]; } diff --git a/src/Views/Skill Planner/SkillPlanController.m b/src/Views/Skill Planner/SkillPlanController.m index d3aeeaf..7b2c659 100644 --- a/src/Views/Skill Planner/SkillPlanController.m +++ b/src/Views/Skill Planner/SkillPlanController.m @@ -173,7 +173,9 @@ -(void) awakeFromNib if (skillItemDatasource != nil){ [skillSearchView addDatasource: skillItemDatasource]; } - + + [skillSearchView selectDefaultGroup]; + [skillView2 setDelegate:self]; [planOverview setDelegate:self]; @@ -229,7 +231,7 @@ -(void) viewIsActive [skillCharDatasource setCharacter:activeCharacter]; [skillSearchView reloadDatasource:skillCharDatasource]; - [skillSearchView selectDefaultGroup]; +// [skillSearchView selectDefaultGroup]; [skillView2 refreshPlanView]; [planOverview refreshPlanView]; diff --git a/src/Views/Skill Planner/SkillSearchView.m b/src/Views/Skill Planner/SkillSearchView.m index c238914..e7b0eaf 100644 --- a/src/Views/Skill Planner/SkillSearchView.m +++ b/src/Views/Skill Planner/SkillSearchView.m @@ -152,9 +152,17 @@ - (NSSearchField *)searchField -(IBAction) skillSearchCategoriesClick:(id)sender { NSInteger tag = [[sender cell] tagForSegment:[sender selectedSegment]]; - id data = [datasources objectAtIndex:tag]; - [skillList setDataSource:data]; - currentDatasource = tag; + if( tag != currentDatasource ) + { + // first clear the current search since it's not likely to make sense for a different tab + id oldData = [datasources objectAtIndex:currentDatasource]; + [search setStringValue:@""]; + [oldData skillSearchFilter:search]; + + id data = [datasources objectAtIndex:tag]; + [skillList setDataSource:data]; + currentDatasource = tag; + } } -(IBAction) skillGroupsClick:(id)sender @@ -194,7 +202,12 @@ -(void) menuAddSkillClick:(id)sender -(void) selectDefaultGroup { [skillSearchCategories setSelectedSegment:0]; - [self skillSearchCategoriesClick:skillSearchCategories]; + NSInteger tag = [[skillSearchCategories cell] tagForSegment:[skillSearchCategories selectedSegment]]; + id data = [datasources objectAtIndex:tag]; + [skillList setDataSource:data]; + currentDatasource = tag; + +// [self skillSearchCategoriesClick:skillSearchCategories]; } /*pop up the skill window*/ diff --git a/src/vitality.plist b/src/vitality.plist index d5d1cf1..f635386 100644 --- a/src/vitality.plist +++ b/src/vitality.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.2.11 + 0.3.0a CFBundleVersion - 0.2.11 + 0.3.0a LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile