Pressing onward: hook_color(), color API, bug fixes..
I was thinking about taking a little time to decorate the site and add some graphics. However, for the moment I am really focusing on here. This is a mid-way commit of sorts.
I have been storing micro-commits over on my GitHub account. Very impressive service so far.
October 1, 2008
- Cleanstate completely rewritten w/ Zen and color.module.
- Spooner rewritten w/ Zen and color.module
- Splender rewritten w/ Zen and color.module
- Simpla rewritten w/ Zen and color.module
- color_scheme_id_valid now works + will remove old schemes when theme's switch.
- Doxy'd up some more code in color.database.inc and removed superfluous arguments.
- Fixed bugs with color_user and rewritten parts of the color_page_alter() scheme ID selection.
- Cleaned up the doxy where possible. Still trying to work on making code clarity #1.
- Changed color_panel_form to color_settings_form. We had to get that done.
- #310751 - Fixed PHP 4 compatibility bug with array_combine. <a href="http://drupal.org/node/310751<br />
" title="http://drupal.org/node/310751<br />
">http://drupal.org/node/310751<br />
</a> - Fixed bug with showing custom_scheme editing, still have a preview functionality bug
- Fixed bug with color_user_get_scheme_id() not being found with Color - User is disabled.
- Removed old color_get_scheme()
- Possibly fixed the preview bug we've been having.
- Removed old code from color.generate.inc
- Updated form_id in color_user_form_alter() to the new scheme settings form name.
- Capitalize first letter of theme in breadcrumb
New hook_color()
Essentially we use hook_color to return the information for colorable material. In the future this could be used
for coloring modules and theming stuff.
- Updated themes to hook_color() format
- Fixed black BG's on system admin panels w/ example themes. Themes have had admin panel background colors moved
below DO NOT TOUCH declaration.
(In progress) New color algorithms API
When color.module is available there will now be new color processing functions available. Currently we have:
(In progress) New "extensions" tab panel in color schemes settings.
Issues
- #315252 fixed jibberish in documentation
- #314591 fixed localization issues with submit buttons. On color_user too.
To do:
- #314568 color_validate()
On the table:
- #315813 extended text fields for hexes
Bugs:
- If webmaster modifies the reference scheme, generation will mess up. Store the reference hex in {color} instead of
the reference scheme ID.
- Examples themes need to have certain CSS case placed below the DO NOT TOUCH line.
To do:
- (In progress) I want to create a tab in the settings where we can show the current available color.module
extensions. :)
- (Completed) Move color.inc to a hook_color() in template.php.
- (I'm trying, need time!) Module stylesheet manipulation
- Theme scheme -> Module scheme linking
- (In progress) Make the functions more seeming to an API, particularly with the color changing algorithms.
- Take out those PHP notices!
- Cleanstate completely rewritten w/ Zen and color.module.
- Spooner rewritten w/ Zen and color.module
- Splender rewritten w/ Zen and color.module
- Simpla rewritten w/ Zen and color.module
- color_scheme_id_valid now works + will remove old schemes when theme's switch.
- Doxy'd up some more code in color.database.inc and removed superfluous arguments.
- Fixed bugs with color_user and rewritten parts of the color_page_alter() scheme ID selection.
- Cleaned up the doxy where possible. Still trying to work on making code clarity #1.
- Changed color_panel_form to color_settings_form. We had to get that done.
- #310751 - Fixed PHP 4 compatibility bug with array_combine. <a href="http://drupal.org/node/310751<br />
" title="http://drupal.org/node/310751<br />
">http://drupal.org/node/310751<br />
</a> - Fixed bug with showing custom_scheme editing, still have a preview functionality bug
- Fixed bug with color_user_get_scheme_id() not being found with Color - User is disabled.
- Removed old color_get_scheme()
- Possibly fixed the preview bug we've been having.
- Removed old code from color.generate.inc
- Updated form_id in color_user_form_alter() to the new scheme settings form name.
- Capitalize first letter of theme in breadcrumb
New hook_color()
Essentially we use hook_color to return the information for colorable material. In the future this could be used
for coloring modules and theming stuff.
- Updated themes to hook_color() format
- Fixed black BG's on system admin panels w/ example themes. Themes have had admin panel background colors moved
below DO NOT TOUCH declaration.
(In progress) New color algorithms API
When color.module is available there will now be new color processing functions available. Currently we have:
(In progress) New "extensions" tab panel in color schemes settings.
Issues
- #315252 fixed jibberish in documentation
- #314591 fixed localization issues with submit buttons. On color_user too.
To do:
- #314568 color_validate()
On the table:
- #315813 extended text fields for hexes
Bugs:
- If webmaster modifies the reference scheme, generation will mess up. Store the reference hex in {color} instead of
the reference scheme ID.
- Examples themes need to have certain CSS case placed below the DO NOT TOUCH line.
To do:
- (In progress) I want to create a tab in the settings where we can show the current available color.module
extensions. :)
- (Completed) Move color.inc to a hook_color() in template.php.
- (I'm trying, need time!) Module stylesheet manipulation
- Theme scheme -> Module scheme linking
- (In progress) Make the functions more seeming to an API, particularly with the color changing algorithms.
- Take out those PHP notices!
I'll be getting to updating the module documentation immediately.