/[drupal]/contributions/modules/icon/icon.module
ViewVC logotype

Log of /contributions/modules/icon/icon.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.8.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 18:50:42 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-ALPHA4
Changes since 1.8.2.12: +4 -4 lines
Diff to previous 1.8.2.12 , to branch point 1.8
Onebyte fix

Revision 1.8.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 18:45:00 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.11: +2 -2 lines
Diff to previous 1.8.2.11 , to branch point 1.8
Small help text modification

Revision 1.8.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 18:34:48 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.10: +83 -45 lines
Diff to previous 1.8.2.10 , to branch point 1.8
* Made the $_icons global and $icons template variable populate without loading init_theme() prematurely
* Removed the Global settings tab, defaulting to the first or the active theme's tab instead (hacksy, but works)
* Gave the admin form a facelift, separating the icon set types into two tables
* Removed icon.js as it was no longer needed

Revision 1.8.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 17 15:04:37 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.9: +12 -7 lines
Diff to previous 1.8.2.9 , to branch point 1.8
Added icon.js file that was missing from the last commit and cleaned up in icon.module and icon-iconsets-form.tpl.php

Revision 1.8.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 23:13:29 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.8: +3 -3 lines
Diff to previous 1.8.2.8 , to branch point 1.8
Restricted icon sets to their type when dragging them in the admin form table.

Revision 1.8.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 15:15:15 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.7: +2 -2 lines
Diff to previous 1.8.2.7 , to branch point 1.8
Was using PHP5 function stripos() when PHP4 compatible strpos() was more than enough

Revision 1.8.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 15 19:49:08 2008 UTC (15 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.6: +7 -12 lines
Diff to previous 1.8.2.6 , to branch point 1.8
Fixed problems when icon sets are not found, or have been deleted.

Revision 1.8.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 21:11:12 2008 UTC (15 months, 2 weeks ago) by ximo
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-ALPHA3
Changes since 1.8.2.5: +4 -5 lines
Diff to previous 1.8.2.5 , to branch point 1.8
Fixed a small bug that stopped icons from being replaced. Woops.

Revision 1.8.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 19:38:12 2008 UTC (15 months, 2 weeks ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.4: +445 -341 lines
Diff to previous 1.8.2.4 , to branch point 1.8
Big rewrite of parts of the module (mainly icon_get_iconsets and icon_get_icons). Reworked the form to look like the Blocks form, also with a template file instead of a theme_ function.

Revision 1.8.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 10 21:20:29 2008 UTC (15 months, 2 weeks ago) by ximo
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-ALPHA2
Changes since 1.8.2.3: +293 -277 lines
Diff to previous 1.8.2.3 , to branch point 1.8
* Made icon_get_iconsets() cache enabled
* Rewrote hook_menu(), now uses an access callback to determine which themes to show
* icon_uninstall() now also removes cache entries
* Reordered the whole module
* Added README.txt

Revision 1.8.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 20:11:47 2008 UTC (15 months, 2 weeks ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.2: +5 -4 lines
Diff to previous 1.8.2.2 , to branch point 1.8
Fixed small bug where the base theme's icon set would not show

Revision 1.8.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 21:39:09 2008 UTC (15 months, 3 weeks ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8.2.1: +56 -38 lines
Diff to previous 1.8.2.1 , to branch point 1.8
* Stylesheets are only rewritten if there are icons to be replaced
* Moved admin pages from admin/build/icon to admin/build/themes/icon
* Uninstalling now removes variables created by the module

Revision 1.8.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 20 21:49:48 2008 UTC (16 months, 1 week ago) by ximo
Branch: DRUPAL-6--1
Changes since 1.8: +25 -23 lines
Diff to previous 1.8
Rewrote the combining of stylesheets in icon_rewrite_stylesheets()

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 6 21:13:38 2008 UTC (16 months, 3 weeks ago) by ximo
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA1, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.7: +123 -30 lines
Diff to previous 1.7
Stylesheets are now being rewritten with icons from the selected icon sets. Three new functions:
icon_rewrite_stylesheets(), _icon_rewrite_stylesheet() and _icon_save_stylesheet()

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 5 23:18:36 2008 UTC (16 months, 3 weeks ago) by ximo
Branch: MAIN
Changes since 1.6: +262 -274 lines
Diff to previous 1.6
Rewrote icon_iconsets_form(), added weighting with tabledrag, and reduced database load when discovering and saving icon sets.. amongst other things.
* Removed icon_icons_form(), theme_icon_icons_form() and related menu items from icon_menu()
* Added weights and tabledrag to icon_iconsets_form()
* Moved SQL queries out of _submit() functions and into API functions
* Removed _icon_sort_iconsets_by_importance()
* Changed _icon_sort_iconsets_by_name() to _icon_sort_iconsets() and made it sort by weight, then name
* Made status checkboxes part of icon set rows on icon_iconsets_form()
* Renamed icon_save_iconsets() to _icon_save_iconsets()
* Many small changes

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 20:09:02 2008 UTC (17 months ago) by ximo
Branch: MAIN
Changes since 1.5: +299 -96 lines
Diff to previous 1.5
Again, I'm really bad at frequent CVS commits. What's new (what I can remember) is:
* Removed debug() function, instead use dsm() from devel.module
* Started working on a manual icon selection UI in icon_icons_form()
* icon_get_iconsets() now produces a much cleaner array
* icon_get_icons() now supports static and db caching
* Added _icon_sort_iconsets_by_importance() function
* Added theme_icon() function, allowing for theme('icon') usage
* Rewrote icon_find_iconsets() and icon_get_iconsets() to better suit theme icons (thanks quicksketch!)
* Added icon_get_iconsets_status()
* Lots of changes here and there!

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 19 21:12:29 2008 UTC (17 months, 1 week ago) by ximo
Branch: MAIN
Changes since 1.4: +68 -78 lines
Diff to previous 1.4
Cleaned up the module and rewrote some of the functions.
* Merged _icon_iconset_data() with icon_iconset_data(), losing static caching with _icon_iconset_data() (I want to see if this is really needed first)
* Merged icon_add_iconset_states() icon_iconset_data()
* Renamed icon_iconset_data() to icon_get_iconsets() and rewrote it
* Renamed icon_sort_iconsets_by_info_name() to icon_sort_iconsets_by_name()
* Added Javadoc documentation for most functions
* Plus a bunch of minor changes here and there

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 21:09:15 2008 UTC (17 months, 1 week ago) by ximo
Branch: MAIN
Changes since 1.3: +32 -9 lines
Diff to previous 1.3
Enabled/disabled states of icon sets are now stored in the {iconsets} table. Also added function icon_add_iconset_states().

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 17:38:22 2008 UTC (17 months, 1 week ago) by ximo
Branch: MAIN
Changes since 1.2: +84 -39 lines
Diff to previous 1.2
Yet another big commit...
* admin/build/icons is now organized on a per-theme basis
* Removed the module from the "Core - optional" category
* Added icon.install with hook_install(), hook_uninstall() and hook_schema() functions
* Renamed icon_sets_form to icon_iconsets_form
* Added icon_sort_iconsets_by_info_name() function instead of system_sort_modules_by_info_name()
* Removed drupal_clear_css_cache();
* Lots of minor changes

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 23:59:45 2008 UTC (17 months, 3 weeks ago) by ximo
Branch: MAIN
Changes since 1.1: +270 -0 lines
Diff to previous 1.1
What I've done since the first commit, which is quite a lot for one single commit. This may be considered the first import of the code. I'll make sure to commit more often..

The module is now able to detect icon sets (a folder with a .info file) in these parts of the Drupal installation:
/icons/*/
/modules/*/icons/
/profiles/*/icons/*/
/sites/*/icons/*/
/sites/*/modules/*/icons/
/sites/*/themes/*/icons/
/themes/*/icons/

Discovered icon sets are registered in the 'system' table. They are also listed with screenshots on admin/build/icons, where the user may choose which icon sets to enable.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 28 17:43:13 2008 UTC (19 months ago) by ximo
Branch: MAIN
Initial commit of the Icon module, a Google Summer of Code 2008 project. This module will add a central system for icons in Drupal.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2