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

Log of /contributions/modules/location/location.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.248 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 31 22:09:35 2009 UTC (2 months, 3 weeks ago) by bdragon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.247: +70 -93 lines
Diff to previous 1.247
WARNING -- PORT IN PROGRESS -- WARNING
This is a very very very preliminary port of some pieces of Location to D7.
There's a lot of work to do before this is remotely usable.
WARNING -- PORT IN PROGRESS -- WARNING


commit 9acd11c864797596209d5c12916e25e209a074cd
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:51:59 2009 -0500

    D7: Fix instance saving. I have now successfully put a location on a node in D7. (Of course there's a LOT to do still, but huzzah!)

commit 868ed6352debce3720e4093b50c42397e66cf991
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:40:22 2009 -0500

    Fix another class bug. Fix location fieldset theming (for a given value of "fix" of course)

commit d10a646b73da9c8b00c002a13483b986f0018340
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:31:43 2009 -0500

    D7: fix call to private api function that got renamed.

commit b79cea16e3c74d0cc7941cd4abcd3b616b793c9f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:28:00 2009 -0500

    D7: Put locative information into the vertical tabs thingie.

commit bf4df441e08a2ba1a0b6164a3688aa2275607f79
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:19:10 2009 -0500

    D7: Fix class arrayness and remove a stray & to make PHP stop crashing.

commit be9d1114797319f0015c266f3f6d4a6d398fea2f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:22:13 2009 -0500

    D7: files[] for location_node.

commit f6c32c64cb43f06fc5baca569826ccaf88b931c3
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:19:30 2009 -0500

    Fix infinite loops with drupal_render_children(). Remove the drupal_render() call at the end as well as it's nonsensical now and ALSO loops.

commit 125639604c4e5c29d03b3da9265b5fc766347794
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:18:10 2009 -0500

    D7 does not have an implicit #theme for elements anymore.

commit 4dcf85adcd30c0a53417fa3c53b2a4882b3cadf4
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:08:51 2009 -0500

    Use core's country list. (Which was pulled from location in the first place, hee hee)

commit ebb58524f2b9ef2eca7513971afbb9029743290f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 14:59:53 2009 -0500

    D7: Remove location_default_country variable and use core's site_default_country variable instead.

commit 4cf3950e1a3fa1369ad5bdecac4c3649b2783f2a
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 17:34:26 2009 -0500

    Add warning.

commit 934fdd3aecb4435b7215705d72998b13439b0920
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 17:14:51 2009 -0500

    D7: hook_node split, some of location_node.module, add file to track API changes.

commit 9e69f25d971fa6b5623fb026d5cfd6dba2cc2d70
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 16:17:18 2009 -0500

    D7: 'file' / 'file_path' stuff got rolled back.

commit 80cbd3b688c4a46dc349d449a1abc265894d619f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:42:45 2009 -0500

    D7: [#161301]

commit 35f82a0845ef020411a351fb307f821f78c5e397
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:38:53 2009 -0500

    bit more dbtngification.

commit 161280467e70664822e397405f3892628de7acdd
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:26:38 2009 -0500

    dbtngify uninstall hook. The rest I'll do later.

commit d6596a08f7a6a424df5109eafae3d7a5b7ce5522
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:20:52 2009 -0500

    DBTNGify location.module.
    Hopefully I didn't introduce bugs.

commit 6986ba94148c19d461808d61441c0033a4abfe31
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 16:02:59 2009 -0500

    Start a todo list.

commit 397adf2c619de9708e4135442204328aac7ae2d8
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:57:30 2009 -0500

    D7: Use '#markup' not '#value' for markup

commit c3fbd82f21e1af2f024871b247c01bc01ca71a7e
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:53:17 2009 -0500

    D7: The hook_menu() and hook_theme() "file" and "file path" keys have
    been removed.

commit cf8acf59887f73b997e50aedec95aa5a9784df84
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:51:55 2009 -0500

    D7: Module .info files must now specify all loadable code files
    explicitly.

commit f4cf33530c11406157745db44cfab0069287da36
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:51:01 2009 -0500

    D7: Permissions are required to have titles and descriptions.

commit 4a29c6fbafdc1ab106c95ed74df27f7dcfe03bca
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:41:46 2009 -0500

    Location HEAD starting point.
    Aug 19 2009 15:42

Revision 1.222.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 30 20:58:43 2009 UTC (3 months, 4 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.24: +7 -1 lines
Diff to previous 1.222.2.24 , to branch point 1.222 , to next main 1.248
* Bring CCK tests in sync with base COW tests.
* Fix location_cck node deletion (Apparently this never worked in the first place.)
* Remove extra checks from location_cck that were working around a bug in location.
*
* Fix a few bugs in location_cck discovered while revamping the tests.
* location_is_empty() will now consider a node with the delete checkbox checked to be "empty."
* Change reorderLocations() in the test suite to work on CCK fields.

Revision 1.247 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 30 20:53:48 2009 UTC (3 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.246: +7 -1 lines
Diff to previous 1.246
* Bring CCK tests in sync with base COW tests.
* Fix location_cck node deletion (Apparently this never worked in the first place.)
* Remove extra checks from location_cck that were working around a bug in location.
*
* Fix a few bugs in location_cck discovered while revamping the tests.
* location_is_empty() will now consider a node with the delete checkbox checked to be "empty."
* Change reorderLocations() in the test suite to work on CCK fields.

Revision 1.148.2.89 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 30 17:29:53 2009 UTC (3 months, 4 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.88: +26 -13 lines
Diff to previous 1.148.2.88 , to branch point 1.148 , to next main 1.248
* Fix emptiness check centrally, instead of relying on location_save().

Revision 1.222.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 30 17:27:51 2009 UTC (3 months, 4 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.23: +26 -13 lines
Diff to previous 1.222.2.23 , to branch point 1.222
* Fix emptiness check centrally, instead of relying on location_save().
* Remove cck validator -- the condition it was checking for was a bug, not
a feature.

Revision 1.246 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 30 17:25:04 2009 UTC (3 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.245: +26 -13 lines
Diff to previous 1.245
* Fix emptiness check centrally, instead of relying on location_save().
* Remove cck validator -- the condition it was checking for was a bug, not
a feature.

Revision 1.148.2.88 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 17 19:14:31 2009 UTC (7 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.87: +13 -4 lines
Diff to previous 1.148.2.87 , to branch point 1.148
Add a utilities page to the settings interface.
Add buttons to clear the location country support / province caches.
(Diff minimized -- compatibility shims added to compensate for d6-isms)

Revision 1.222.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 17 19:12:54 2009 UTC (7 months, 1 week ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.22: +10 -1 lines
Diff to previous 1.222.2.22 , to branch point 1.222
Add a utilities page to the settings interface.
Add buttons to clear the location country support / province caches.

Revision 1.245 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 17 19:09:53 2009 UTC (7 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.244: +10 -1 lines
Diff to previous 1.244
Add a utilities page to the settings interface.
Add buttons to clear the location country support / province caches.

Revision 1.148.2.87 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:57:14 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.86: +1 -16 lines
Diff to previous 1.148.2.86 , to branch point 1.148
Augment instance_links by adding 'type', move the node and user implementations to where they belong.

Revision 1.244 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:51:10 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.243: +1 -16 lines
Diff to previous 1.243
Augment instance_links by adding 'type', move the node and user implementations to where they belong.

Revision 1.222.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:45:05 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.21: +1 -16 lines
Diff to previous 1.222.2.21 , to branch point 1.222
Augment instance_links by adding 'type', move the node and user implementations to where they belong.

Revision 1.148.2.86 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:13:41 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.85: +2 -2 lines
Diff to previous 1.148.2.85 , to branch point 1.148
#421656 reported by geodaniel: Add missing t() to 'NOT LISTED'.

Revision 1.222.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:11:53 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.20: +2 -2 lines
Diff to previous 1.222.2.20 , to branch point 1.222
#421656 reported by geodaniel: Add missing t() to 'NOT LISTED'.

Revision 1.243 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 15:09:54 2009 UTC (7 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.242: +2 -2 lines
Diff to previous 1.242
#421656 reported by geodaniel: Add missing t() to 'NOT LISTED'.

Revision 1.148.2.85 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 3 20:10:59 2009 UTC (8 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-1-RC1
Changes since 1.148.2.84: +1 -17 lines
Diff to previous 1.148.2.84 , to branch point 1.148
garbage collect some commented out stuff, minor whitespace change.

Revision 1.242 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 3 20:10:22 2009 UTC (8 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.241: +1 -17 lines
Diff to previous 1.241
garbage collect some commented out stuff, minor whitespace change.

Revision 1.222.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 3 20:07:19 2009 UTC (8 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-1-RC1
Changes since 1.222.2.19: +1 -17 lines
Diff to previous 1.222.2.19 , to branch point 1.222
garbage collect some commented out stuff, minor whitespace change.

Revision 1.222.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 21:01:55 2009 UTC (8 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.18: +1 -10 lines
Diff to previous 1.222.2.18 , to branch point 1.222
Remove unneeded hook_simpletest().

Revision 1.241 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 21:00:00 2009 UTC (8 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.240: +1 -10 lines
Diff to previous 1.240
Remove unneeded hook_simpletest().

Revision 1.148.2.84 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 19:19:05 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.83: +6 -220 lines
Diff to previous 1.148.2.83 , to branch point 1.148
Backport of location_node split.

Revision 1.222.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 18:49:30 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.17: +6 -208 lines
Diff to previous 1.222.2.17 , to branch point 1.222
Split location_node out like I did for location_user. Huzzah!

Refactor RSS support to make it easier to reuse. *cough*cck georss support?*cough*

Fix tests to load location_node.

Split relevant uninstall sections out into location_node.install and location_user.install.

Revision 1.240 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 22:54:38 2009 UTC (9 months ago) by bdragon
Branch: MAIN
Changes since 1.239: +6 -208 lines
Diff to previous 1.239
Split location_node out like I did for location_user. Huzzah!

Refactor RSS support to make it easier to reuse. *cough*cck georss support?*cough*

Fix tests to load location_node.

Split relevant uninstall sections out into location_node.install and location_user.install.

Revision 1.148.2.83 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 16:20:02 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.82: +16 -1 lines
Diff to previous 1.148.2.82 , to branch point 1.148
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.

* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.

Revision 1.239 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 16:16:42 2009 UTC (9 months ago) by bdragon
Branch: MAIN
Changes since 1.238: +16 -1 lines
Diff to previous 1.238
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.

* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.

Revision 1.222.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 16:12:55 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.16: +15 -0 lines
Diff to previous 1.222.2.16 , to branch point 1.222
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.

* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.

Revision 1.148.2.82 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 17:37:44 2009 UTC (9 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.81: +9 -10 lines
Diff to previous 1.148.2.81 , to branch point 1.148
Backport:
Fix bug skyred had ran into in IRC:
Fix delete location checkbox when not collecting coordinates, due to a misplaced brace.

Revision 1.148.2.81 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 17:15:32 2009 UTC (9 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.80: +4 -2 lines
Diff to previous 1.148.2.80 , to branch point 1.148
Part of #346694. patch by pathfinderelite, modified by me: Fix map links.

Revision 1.238 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 17:13:22 2009 UTC (9 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.237: +4 -2 lines
Diff to previous 1.237
Part of #346694. patch by pathfinderelite, modified by me: Fix map links.

Revision 1.222.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 17:11:00 2009 UTC (9 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.15: +3 -1 lines
Diff to previous 1.222.2.15 , to branch point 1.222
Part of #346694. patch by pathfinderelite, modified by me: Fix map links.

Revision 1.237 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 21 23:15:25 2009 UTC (10 months ago) by bdragon
Branch: MAIN
Changes since 1.236: +9 -9 lines
Diff to previous 1.236
Fix bug skyred had ran into in IRC:
Fix delete location checkbox when not collecting coordinates, due to a misplaced brace.

Revision 1.222.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 21 23:14:20 2009 UTC (10 months ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.14: +8 -8 lines
Diff to previous 1.222.2.14 , to branch point 1.222
Fix bug skyred had ran into in IRC:
Fix delete location checkbox when not collecting coordinates, due to a misplaced brace.

Revision 1.236 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 14 17:53:33 2009 UTC (10 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.235: +5 -4 lines
Diff to previous 1.235
Repair element validation.

Revision 1.222.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 14 17:50:30 2009 UTC (10 months, 1 week ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.13: +4 -3 lines
Diff to previous 1.222.2.13 , to branch point 1.222
Repair element validation.

Revision 1.235 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 23:00:46 2009 UTC (10 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.234: +5 -4 lines
Diff to previous 1.234
Fix LID conservation.

Revision 1.222.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 22:59:22 2009 UTC (10 months, 1 week ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.12: +4 -3 lines
Diff to previous 1.222.2.12 , to branch point 1.222
Fix LID conservation.

Revision 1.148.2.80 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 18:09:16 2009 UTC (10 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.79: +6 -4 lines
Diff to previous 1.148.2.79 , to branch point 1.148
Change broken requirements code to not drop fields on the floor.

Revision 1.234 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 18:02:07 2009 UTC (10 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.233: +6 -4 lines
Diff to previous 1.233
Change broken requirements code to not drop fields on the floor.

Revision 1.222.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 18:00:52 2009 UTC (10 months, 1 week ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.11: +6 -4 lines
Diff to previous 1.222.2.11 , to branch point 1.222
Change broken requirements code to not drop fields on the floor.

Revision 1.222.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 12 16:42:42 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.10: +9 -7 lines
Diff to previous 1.222.2.10 , to branch point 1.222
#356806 reported by jackspiv: Don't crash if locpick is a string.

Revision 1.233 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 12 16:41:36 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.232: +9 -7 lines
Diff to previous 1.232
#356806 reported by jackspiv: Don't crash if locpick is a string.

Revision 1.148.2.79 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 12 16:39:13 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.78: +9 -7 lines
Diff to previous 1.148.2.78 , to branch point 1.148
#356806 reported by jackspiv: Don't crash if locpick is a string.

Revision 1.148.2.78 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 22:36:30 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.77: +4 -2 lines
Diff to previous 1.148.2.77 , to branch point 1.148
Only merge in stuff that actually has defaults, to prevent warnings.

Revision 1.232 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 22:35:39 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.231: +4 -2 lines
Diff to previous 1.231
Only merge in stuff that actually has defaults, to prevent warnings.

Revision 1.222.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 22:34:44 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.9: +3 -1 lines
Diff to previous 1.222.2.9 , to branch point 1.222
Only merge in stuff that actually has defaults, to prevent warnings.

Revision 1.148.2.77 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 16:33:17 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.76: +2 -2 lines
Diff to previous 1.148.2.76 , to branch point 1.148
#356077 reported by kenorb: Fix country force default.

Revision 1.231 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 16:31:55 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.230: +2 -2 lines
Diff to previous 1.230
#356077 reported by kenorb: Fix country force default.

Revision 1.222.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 16:31:03 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.8: +1 -1 lines
Diff to previous 1.222.2.8 , to branch point 1.222
#356077 reported by kenorb: Fix country force default.

Revision 1.148.2.76 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 22:52:39 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.75: +5 -3 lines
Diff to previous 1.148.2.75 , to branch point 1.148
* Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi().
  - This is needed to unbreak cow after the [#352550] change.
* Unbreak cow, again.

Revision 1.230 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 22:47:41 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.229: +6 -4 lines
Diff to previous 1.229
* Fix tests, which were broken by the validation reactivation.
* Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi().
  - This is needed to unbreak cow after the [#352550] change.
* Unbreak cow, again.

Revision 1.222.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 22:45:19 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.7: +5 -3 lines
Diff to previous 1.222.2.7 , to branch point 1.222
* Fix tests, which were broken by the validation reactivation.
* Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi().
  - This is needed to unbreak cow after the [#352550] change.
* Unbreak cow, again.

Revision 1.148.2.75 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 15:25:18 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.74: +5 -3 lines
Diff to previous 1.148.2.74 , to branch point 1.148
Fix validation stupidity. It doesn't matter what add is set to if max is 0.

Revision 1.229 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 15:23:08 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.228: +5 -3 lines
Diff to previous 1.228
Fix validation stupidity. It doesn't matter what add is set to if max is 0.

Revision 1.222.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 15:22:18 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.6: +4 -2 lines
Diff to previous 1.222.2.6 , to branch point 1.222
Fix validation stupidity. It doesn't matter what add is set to if max is 0.

Revision 1.228 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:50:37 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.227: +4 -2 lines
Diff to previous 1.227
Several multistep and CCK fixes. CCK should be much much happier in CVS now.

Revision 1.222.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:47:31 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.5: +3 -1 lines
Diff to previous 1.222.2.5 , to branch point 1.222
Several multistep and CCK fixes. CCK should be much much happier in CVS now.

Revision 1.148.2.74 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:44:07 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.73: +3 -2 lines
Diff to previous 1.148.2.73 , to branch point 1.148
Dont' check_plain() arrays.

Revision 1.227 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:42:49 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.226: +3 -2 lines
Diff to previous 1.226
Dont' check_plain() arrays.

Revision 1.222.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:41:42 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.4: +3 -2 lines
Diff to previous 1.222.2.4 , to branch point 1.222
Dont' check_plain() arrays.

Revision 1.148.2.73 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:16:08 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.72: +5 -5 lines
Diff to previous 1.148.2.72 , to branch point 1.148
API CHANGE! location_api_variant() now returns 2.

location_diff was conflicting with hook_diff(). It has been renamed to location_calc_difference()!

Revision 1.226 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:10:20 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.225: +5 -5 lines
Diff to previous 1.225
API CHANGE! location_api_variant() now returns 2.

location_diff was conflicting with hook_diff(). It has been renamed to location_calc_difference()!

Revision 1.222.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 18:07:00 2009 UTC (10 months, 2 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.3: +5 -5 lines
Diff to previous 1.222.2.3 , to branch point 1.222
API CHANGE! location_api_variant() now returns 2.

location_diff was conflicting with hook_diff(). It has been renamed to location_calc_difference()!

Revision 1.148.2.72 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 18:13:30 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.71: +5 -3 lines
Diff to previous 1.148.2.71 , to branch point 1.148
#352550 by Morbus Iff: Allow long/lat to be hidden in collection/display.

Revision 1.222.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 18:09:40 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.2: +5 -3 lines
Diff to previous 1.222.2.2 , to branch point 1.222
#352550 by Morbus Iff: Allow long/lat to be hidden in collection/display.

Revision 1.225 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 18:07:32 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.224: +5 -3 lines
Diff to previous 1.224
#352550 by Morbus Iff: Allow long/lat to be hidden in collection/display.

Revision 1.148.2.71 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 16:59:33 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.70: +2 -2 lines
Diff to previous 1.148.2.70 , to branch point 1.148
#351840 by erantone: Fix weight on additional field.

Revision 1.222.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 16:58:13 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222.2.1: +2 -2 lines
Diff to previous 1.222.2.1 , to branch point 1.222
#351840 by erantone: Fix weight on additional field.

Revision 1.224 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 16:56:42 2008 UTC (10 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.223: +1 -1 lines
Diff to previous 1.223
#351840 by erantone: Fix weight on additional field.

Revision 1.223 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 15 23:55:25 2008 UTC (11 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.222: +9 -1 lines
Diff to previous 1.222
Don't lose location data when previewing.

Revision 1.222.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 15 23:49:49 2008 UTC (11 months, 1 week ago) by bdragon
Branch: DRUPAL-6--3
Changes since 1.222: +10 -2 lines
Diff to previous 1.222
Don't lose location data when previewing.

Revision 1.148.2.70 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 11 16:44:11 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0
Changes since 1.148.2.69: +3 -1 lines
Diff to previous 1.148.2.69 , to branch point 1.148
Attempt to fix sorting issues. (Backport of the relevant parts from D6.)

Revision 1.222 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 10 21:55:02 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0
Branch point for: DRUPAL-6--3
Changes since 1.221: +8 -0 lines
Diff to previous 1.221
Attempt to fix sorting issues.

Revision 1.148.2.69 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 21:34:00 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.68: +1 -1 lines
Diff to previous 1.148.2.68 , to branch point 1.148
#342163 by jgadrow, update routine by me: Add missing prefix to the db_next_id() call.

If someone manages to hit this with postgresql, I'd be quite suprised, as the call has been broken since March and it is rather obvious when db_next_id is called against something invalid on postgresql -- it throws an error.

I put a message in the postgresql case to followup on the issue.

Revision 1.148.2.68 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 21:08:36 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.67: +7 -0 lines
Diff to previous 1.148.2.67 , to branch point 1.148
Allow inhibiting geocoding from the marker itself. (For use with batch importing, etc...)

Revision 1.221 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 21:06:09 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.220: +7 -0 lines
Diff to previous 1.220
Allow inhibiting geocoding from the marker itself. (For use with batch importing, etc...)

Revision 1.148.2.67 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 18:21:31 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.66: +0 -1 lines
Diff to previous 1.148.2.66 , to branch point 1.148
Diff minimization.

Revision 1.148.2.66 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 18:16:00 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.65: +0 -86 lines
Diff to previous 1.148.2.65 , to branch point 1.148
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.

Revision 1.220 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 18:08:32 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.219: +0 -81 lines
Diff to previous 1.219
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.

Revision 1.148.2.65 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 2 22:56:03 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.64: +13 -2 lines
Diff to previous 1.148.2.64 , to branch point 1.148
Backports from last commit:
* Implement multiple country autocomplete.
* Allow location_province_code() to operate on an array of countries.

Revision 1.219 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 2 22:50:21 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.218: +13 -2 lines
Diff to previous 1.218
* Fix [#339471] (reported by theabacus) -- Make province search accept country names.
* Implement multiple country autocomplete.
* Allow location_province_code() to operate on an array of countries.
* Extend autocomplete to handle setting specific classes to join country and province fields together -- should be more robust.
* Switch to using views "force single" stuff for country and province filters.
  - If you are having trouble editing country or province filters, please see [#341827]!
* Implement autocomplete for views province filter.

Revision 1.148.2.64 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 20:26:52 2008 UTC (12 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.63: +299 -160 lines
Diff to previous 1.148.2.63 , to branch point 1.148
Backport of the D6 changes I committed on the 20th.

* Add per-location-field weights and defaults.
* Add location_api_variant() that I will increment when breaking something in the future that might be used from another module. It is now 1.
* Make settings on location_cck work nicely.
* Field settings are now in a table.
* Field settings defaults can now be overridden in the UI.
* Field settings are now weighted. (Draggable in D6!)
* "Force Default" may now be used for all fields.
* Content type settings validation is repaired again.
* Major COW changes (again) -- Should not have any impact on sites, but be careful until the new code is proven.
* Tests were added to ensure COW functionality doesn't break. (Tests were committed earlier)

API Changes:

* If you were using a location_element, the #location_settings is now the *entire* settings array, not $settings['form']['fields']!
* hook_locationapi() 'collection default' and 'default values' ops  have been merged into a single 'defaults' op, which now allows specifying default weight.
* Collection status 3 is now 4. (Relevant for the 'country' field.)

Revision 1.218 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 19:46:21 2008 UTC (12 months ago) by bdragon
Branch: MAIN
Changes since 1.217: +298 -160 lines
Diff to previous 1.217
OK, I've been sitting on this MUCH longer than is comfortable.
This is a major change that I have been testing and writing locally. I just tagged UNSTABLE4 before this commit so there's a point to go back to if I end up having to roll back.

* Add per-location-field weights and defaults.
* Add location_api_variant() that I will increment when breaking something in the future that might be used from another module. It is now 1.
* Make settings on location_cck work nicely.
* Field settings are now in a table.
* Field settings defaults can now be overridden in the UI.
* Field settings are now weighted. (Draggable in D6!)
* "Force Default" may now be used for all fields.
* Content type settings validation is repaired again.
* Major COW changes (again) -- Should not have any impact on sites, but be careful until the new code is proven.
* Tests were added to ensure COW functionality doesn't break. (Tests were committed earlier)

API Changes:

* If you were using a location_element, the #location_settings is now the *entire* settings array, not $settings['form']['fields']!
* hook_locationapi() 'collection default' and 'default values' ops  have been merged into a single 'defaults' op, which now allows specifying default weight.
* Collection status 3 is now 4. (Relevant for the 'country' field.)

Revision 1.148.2.63 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 19 16:02:38 2008 UTC (12 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-UNSTABLE4
Changes since 1.148.2.62: +7 -1 lines
Diff to previous 1.148.2.62 , to branch point 1.148
#330318, reported by danielb: Never, ever load anything when an empty id is passed. We have to enforce this on our side because Drupal doesn't do SQL NULLs.

Revision 1.217 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 19 16:00:47 2008 UTC (12 months, 1 week ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-UNSTABLE4
Changes since 1.216: +7 -1 lines
Diff to previous 1.216
#330318, reported by danielb: Never, ever load anything when an empty id is passed. We have to enforce this on our side because Drupal doesn't do SQL NULLs.

Revision 1.148.2.62 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 18 18:34:24 2008 UTC (12 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.61: +20 -20 lines
Diff to previous 1.148.2.61 , to branch point 1.148
Normalize variable names with upcoming change.

Revision 1.216 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 18 18:32:44 2008 UTC (12 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.215: +20 -20 lines
Diff to previous 1.215
Normalize variable names with upcoming change.

Revision 1.148.2.61 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 17 17:02:11 2008 UTC (12 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.60: +7 -2 lines
Diff to previous 1.148.2.60 , to branch point 1.148
#334513 by bangpound: Fix broken query when loading locations with a genid.

Revision 1.215 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 17 17:00:14 2008 UTC (12 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.214: +7 -2 lines
Diff to previous 1.214
#334513 by bangpound: Fix broken query when loading locations with a genid.

Revision 1.148.2.60 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 16:09:32 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.59: +7 -2 lines
Diff to previous 1.148.2.59 , to branch point 1.148
#310870 reported by cardell: Add option to hide latitude/longitude from location display.

Revision 1.214 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 16:00:33 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.213: +7 -2 lines
Diff to previous 1.213
#310870 reported by cardell: Add option to hide latitude/longitude from location display.

Revision 1.148.2.59 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 15:41:02 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.58: +6 -1 lines
Diff to previous 1.148.2.58 , to branch point 1.148
#317586 reported by mburak: Fix broken 'force default' on countries when using multiple locations.

Revision 1.213 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 15:38:58 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.212: +6 -1 lines
Diff to previous 1.212
#317586 reported by mburak: Fix broken 'force default' on countries when using multiple locations.

Revision 1.148.2.58 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 20:44:03 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.57: +50 -42 lines
Diff to previous 1.148.2.57 , to branch point 1.148
Split out the emptiness check so it can be used by other modules.

Revision 1.212 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 20:41:22 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.211: +49 -41 lines
Diff to previous 1.211
Split out the emptiness check so it can be used by other modules.

Revision 1.148.2.57 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 19:49:28 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.56: +5 -2 lines
Diff to previous 1.148.2.56 , to branch point 1.148
Fix a warning and set $location['lid'] to FALSE whenever returning FALSE from location_save().

Revision 1.211 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 19:48:34 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.210: +4 -1 lines
Diff to previous 1.210
Fix a warning and set $location['lid'] to FALSE whenever returning FALSE from location_save().

Revision 1.148.2.56 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 19:46:07 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.55: +36 -8 lines
Diff to previous 1.148.2.55 , to branch point 1.148
Better fix for #306171: Pass along criteria to location_save() to ensure that the lid conservation code doesn't reuse a lid tied to a single *other instance*.

This fixes a bug when making a change to a location when adding a revision.

Revision 1.210 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 19:44:35 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.209: +36 -8 lines
Diff to previous 1.209
Better fix for #306171: Pass along criteria to location_save() to ensure that the lid conservation code doesn't reuse a lid tied to a single *other instance*.

This fixes a bug when making a change to a location when adding a revision.

Revision 1.209 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 17:25:29 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.208: +16 -19 lines
Diff to previous 1.208
Move requirements checks to the #process handler, where they belong.
This makes using a location_element much easier, and centralizes the code that does required.

Revision 1.148.2.55 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 17:24:00 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.54: +15 -18 lines
Diff to previous 1.148.2.54 , to branch point 1.148
Move requirements checks to the #process handler, where they belong.
This makes using a location_element much easier, and centralizes the code that does required.

Revision 1.208 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 15:57:45 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.207: +12 -2 lines
Diff to previous 1.207
#319091 reported by scottrigby: Don't cause warnings on non location-enabled nodes.

Revision 1.148.2.54 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 15:56:22 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.53: +12 -2 lines
Diff to previous 1.148.2.53 , to branch point 1.148
#319091 reported by scottrigby: Don't cause warnings on non location-enabled nodes.

Revision 1.148.2.53 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 23:47:36 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.52: +16 -1 lines
Diff to previous 1.148.2.52 , to branch point 1.148
#286450, requested by mr.andrey: Allow collecting user locations during registration.

Revision 1.207 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 23:46:23 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.206: +15 -1 lines
Diff to previous 1.206
#286450, requested by mr.andrey: Allow collecting user locations during registration.

Revision 1.148.2.52 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 22:59:22 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.51: +6 -93 lines
Diff to previous 1.148.2.51 , to branch point 1.148
Diff minimization -- move Drupal 5 specific functions into an include file.

Revision 1.148.2.51 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 22:46:39 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.50: +264 -284 lines
Diff to previous 1.148.2.50 , to branch point 1.148
A) Clean up a bunch of duplication and centralize the way location settings are handled.

This allows us to have multiple user locations, and simplifies the API for associating locations with other things.

The variables used by location got all shuffled around because of this, but I put in compatibility code to keep setting location_maxnum_{nodetype} and location_defaultnum_{nodetype}, because there is a lot of contrib modules checking for them.

B) Made user locations work more like node locations.

C) Allow more than one location to be "required".

D) Reorganize the variables. Now there is a single variable per content type. (location_settings_{nodetype})

E) Make virtual fields hideable, and add the map link as a virtual field.

F) API change: The return value of 'virtual fields' op is now an array of keys and values, where the values are the labels for the hide checkboxes.

(The Drupal 5 version of this is a quick as possible port, there may be lingering typos. It seemed to work OK, but I won't know for sure until I minimize the diff against HEAD again.)

Revision 1.206 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 22:15:15 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.205: +215 -214 lines
Diff to previous 1.205
Rearrange code temporarily so I can merge more eaily with DRUPAL-5.

Revision 1.205 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 21:34:44 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.204: +260 -278 lines
Diff to previous 1.204
A) Clean up a bunch of duplication and centralize the way location settings are handled.

This allows us to have multiple user locations, and simplifies the API for associating locations with other things.

The variables used by location got all shuffled around because of this, but I put in compatibility code to keep setting location_maxnum_{nodetype} and location_defaultnum_{nodetype}, because there is a lot of contrib modules checking for them.

B) Made user locations work more like node locations.

C) Allow more than one location to be "required".

D) Reorganize the variables. Now there is a single variable per content type. (location_settings_{nodetype})

E) Make virtual fields hideable, and add the map link as a virtual field.

F) API change: The return value of 'virtual fields' op is now an array of keys and values, where the values are the labels for the hide checkboxes.

Revision 1.148.2.50 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 17:35:07 2008 UTC (13 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.49: +2 -2 lines
Diff to previous 1.148.2.49 , to branch point 1.148
#322822, reported by nicholas_w: Location was not honoring the display weight.

Revision 1.204 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 17:33:22 2008 UTC (13 months ago) by bdragon
Branch: MAIN
Changes since 1.203: +1 -1 lines
Diff to previous 1.203
#322822, reported by nicholas_w: Location was not honoring the display weight.

Revision 1.148.2.49 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 21:43:59 2008 UTC (13 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-RC2
Changes since 1.148.2.48: +33 -4 lines
Diff to previous 1.148.2.48 , to branch point 1.148
Add a function, location_check_coordinates(), to centralize the emptiness checks.
Fix map centering when editing locations with LOCATION_LATLON_UNDEFINED coordinates.
See [#317159]

Revision 1.203 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 21:40:56 2008 UTC (13 months, 1 week ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-RC2
Changes since 1.202: +33 -4 lines
Diff to previous 1.202
Add a function, location_check_coordinates(), to centralize the emptiness checks.
Fix map centering when editing locations with LOCATION_LATLON_UNDEFINED coordinates.
See [#317159]

Revision 1.148.2.48 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 22:01:55 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.47: +3 -3 lines
Diff to previous 1.148.2.47 , to branch point 1.148
Make a change to _location_render to allow submodules to use it properly.
Move the search templates to the location_search folder.

Revision 1.202 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 19:47:38 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.201: +30 -1 lines
Diff to previous 1.201
Pull the new location_search.module from DRUPAL-5--3 in preparation for D6 porting.

Revision 1.148.2.47 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 19:34:38 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.46: +29 -0 lines
Diff to previous 1.148.2.46 , to branch point 1.148
Better late than never.

Here is a rewritten location_search.module. It uses the search apis and is able to do fulltext searching. It's also cleaner, and will be ported to Drupal 6.

It searches by location, not node. (Restriction to specific types of objects is possible but not implemented yet.)

Hopefully I didn't accidentally leave out / forget any features people were using.

It will need to generate a search index before it will work properly, so do the same thing you would do if you were reindexing the site (i.e. run cron in a loop and watch the percentage indexed number)

Minor api change (optional):
* Add an 'instance_links' op to hook_locationapi so modules can stick in the correct urls for the instances they handle.

Revision 1.201 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 17:00:27 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.200: +41 -26 lines
Diff to previous 1.200
* Add function location_province_code().
* Fix $op 'delete' on hook_locationapi().
* API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.

Before:
<code>
db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
</code>

After:
<code>
$locations = array();
location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
</code>

* Remove garbage collection routine and UI from settings page. References are checked automatically now.

Revision 1.148.2.46 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 16:39:47 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.45: +41 -26 lines
Diff to previous 1.148.2.45 , to branch point 1.148
* Add function location_province_code().
* Fix $op 'delete' on hook_locationapi().
* API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.

Before:
<code>
db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
</code>

After:
<code>
$locations = array();
location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
</code>

* Remove garbage collection routine and UI from settings page. References are checked automatically now.

Revision 1.148.2.45 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 18:14:30 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-RC1
Changes since 1.148.2.44: +2 -1 lines
Diff to previous 1.148.2.44 , to branch point 1.148
Fix warning.

Revision 1.200 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 2 18:13:29 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-RC1
Changes since 1.199: +1 -0 lines
Diff to previous 1.199
Fix warning.

Revision 1.148.2.44 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 1 17:46:45 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.43: +12 -2 lines
Diff to previous 1.148.2.43 , to branch point 1.148
#315705, reported by mburak: Be nice to the Drupal 5 themers and check for overridden templates, instead of making them do a full template.php override.

Revision 1.148.2.43 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 30 19:59:21 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.42: +3 -3 lines
Diff to previous 1.148.2.42 , to branch point 1.148
#286159 by Cobalt747@drupaler.ru, location side. Add missing t()s.

Revision 1.199 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 30 19:56:36 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.198: +2 -2 lines
Diff to previous 1.198
#286159 by Cobalt747@drupaler.ru, location side. Add missing t()s.

Revision 1.198 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 20:55:03 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.197: +0 -5 lines
Diff to previous 1.197
Remove hack that avoids altering a usernode form.

Revision 1.148.2.42 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 20:40:03 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.41: +5 -40 lines
Diff to previous 1.148.2.41 , to branch point 1.148
Extend token support to use all location fields and simplify the code.
Split token support into its own include file.

Revision 1.197 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 20:31:20 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.196: +4 -39 lines
Diff to previous 1.196
Extend token support to use all location fields and simplify the code.
Split token support into its own include file.
Fix views 2 support for location_fax and location_phone.

Revision 1.148.2.41 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 18:29:38 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.40: +8 -4 lines
Diff to previous 1.148.2.40 , to branch point 1.148
Fix how defaults are used when expanding location elements. This eliminates warnings after enabling location_phone / location_fax, and lets 'collection default' work as intended.

Revision 1.196 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 18:28:37 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.195: +7 -3 lines
Diff to previous 1.195
Fix how defaults are used when expanding location elements. This eliminates warnings after enabling location_phone / location_fax, and lets 'collection default' work as intended.

Revision 1.148.2.40 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 17:00:18 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.39: +1 -27 lines
Diff to previous 1.148.2.39 , to branch point 1.148
Remove dead code.

Revision 1.195 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 16:58:53 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.194: +0 -26 lines
Diff to previous 1.194
Remove dead code.

Revision 1.148.2.39 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 16:13:21 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.38: +1 -9 lines
Diff to previous 1.148.2.38 , to branch point 1.148
Factor out an uncessary form_alter.

Revision 1.194 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 16:09:55 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.193: +0 -11 lines
Diff to previous 1.193
Factor out an uncessary form_alter.

Revision 1.148.2.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 15:41:33 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.37: +5 -2 lines
Diff to previous 1.148.2.37 , to branch point 1.148
Fix #314835, reported by marcoBauli: Make collapsibility work again. I had accidentally broken this while fixing notices.  Additionally, collapsible now works on single-location forms.

Revision 1.193 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 15:40:28 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.192: +4 -1 lines
Diff to previous 1.192
Fix #314835, reported by marcoBauli: Make collapsibility work again. I had accidentally broken this while fixing notices.  Additionally, collapsible now works on single-location forms.

Revision 1.148.2.37 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 15:06:17 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.36: +2 -2 lines
Diff to previous 1.148.2.36 , to branch point 1.148
#313236 by pounard: Fix emptiness check for view op of hook_user().

Revision 1.192 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 15:04:59 2008 UTC (13 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.191: +1 -1 lines
Diff to previous 1.191
#313236 by pounard: Fix emptiness check for view op of hook_user().

Revision 1.148.2.36 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 17:22:31 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.35: +2 -56 lines
Diff to previous 1.148.2.35 , to branch point 1.148
Remove dead code.

Revision 1.191 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 17:21:28 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.190: +1 -55 lines
Diff to previous 1.190
Remove dead code.

Revision 1.148.2.35 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 17:05:16 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.34: +2 -2 lines
Diff to previous 1.148.2.34 , to branch point 1.148
Fix strict notice.

Revision 1.190 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 17:03:04 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.189: +3 -3 lines
Diff to previous 1.189
Fix strict notices.

Revision 1.148.2.34 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 16:42:07 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.33: +14 -14 lines
Diff to previous 1.148.2.33 , to branch point 1.148
Fix a warning in the change detection code.

Revision 1.189 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 16:40:29 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.188: +13 -13 lines
Diff to previous 1.188
Fix a warning in the change detection code.

Revision 1.148.2.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 23:20:54 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.32: +3 -2 lines
Diff to previous 1.148.2.32 , to branch point 1.148
Fix notices.

Revision 1.188 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 23:19:34 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.187: +2 -1 lines
Diff to previous 1.187
Fix notices.

Revision 1.148.2.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 17:10:42 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.31: +0 -1 lines
Diff to previous 1.148.2.31 , to branch point 1.148
Remove the rest of location.theme.

Revision 1.187 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 17:05:36 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.186: +0 -1 lines
Diff to previous 1.186
Remove the rest of location.theme.

Revision 1.186 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 17:00:59 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.185: +20 -1 lines
Diff to previous 1.185
Sync theming with Drupal 5 version.

Revision 1.148.2.31 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 16:59:54 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.30: +47 -22 lines
Diff to previous 1.148.2.30 , to branch point 1.148
Sync theming with Drupal 6 version.

Revision 1.148.2.30 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 16:22:54 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.29: +1 -19 lines
Diff to previous 1.148.2.29 , to branch point 1.148
Backport commit 131997: Rip out the notion of "supported countries." With the dynamic country loading, this isn't really needed.
This breaks some of the "province listing" stuff, but it needed work anyway.

Revision 1.148.2.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 16:05:02 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.28: +2 -125 lines
Diff to previous 1.148.2.28 , to branch point 1.148
Move the geocoding options form to location.admin.inc to match the Drupal 6 version.

Revision 1.185 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 23:37:57 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-test3
Changes since 1.184: +18 -0 lines
Diff to previous 1.184
Location distance theming and a distance field for location_views.

Revision 1.148.2.28 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 17:29:28 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-test3
Changes since 1.148.2.27: +3 -2 lines
Diff to previous 1.148.2.27 , to branch point 1.148
Add a bit of comments regarding additional.

Revision 1.184 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 17:28:31 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.183: +2 -1 lines
Diff to previous 1.183
Add a bit of comments regarding additional.

Revision 1.148.2.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 17:27:00 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.26: +18 -1 lines
Diff to previous 1.148.2.26 , to branch point 1.148
Add deletability to locations.

Revision 1.183 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 17:25:04 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.182: +19 -2 lines
Diff to previous 1.182
Add deletability to locations.

Revision 1.148.2.26 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 16:52:03 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.25: +9 -4 lines
Diff to previous 1.148.2.25 , to branch point 1.148
#308913 by mburak: Avoid saving empty locations to the database.

Revision 1.182 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 16 16:50:58 2008 UTC (14 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.181: +9 -4 lines
Diff to previous 1.181
#308913 by mburak: Avoid saving empty locations to the database.

Revision 1.148.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 01:17:57 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.24: +8 -4 lines
Diff to previous 1.148.2.24 , to branch point 1.148
Diff minimization.

Revision 1.148.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 01:06:22 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.23: +10 -1 lines
Diff to previous 1.148.2.23 , to branch point 1.148
Backport rev. 1.178 (http://drupal.org/cvs?commit=139455): Only include textfield for 'Additional' when 'Street' is 'Allowed' or 'Required'.

Revision 1.181 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 00:52:02 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.180: +5 -1 lines
Diff to previous 1.180
Forward port the comments added to the backport of commit 139463. The scary part is that merge actually did the right thing.

Revision 1.148.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 00:48:56 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.22: +12 -1 lines
Diff to previous 1.148.2.22 , to branch point 1.148
Backport commit http://drupal.org/cvs?commit=139463 by ankur. Enforce required fields for just the first location when there are multiple location form inputs. (Some comments added)

Revision 1.180 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 22:33:32 2008 UTC (14 months, 2 weeks ago) by ankur
Branch: MAIN
Changes since 1.179: +2 -2 lines
Diff to previous 1.179
Updating location_form_alter() to add submit handler in the Drupal 6 way.
Geocoding options now save.

Revision 1.179 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 22:16:58 2008 UTC (14 months, 2 weeks ago) by ankur
Branch: MAIN
Changes since 1.178: +9 -2 lines
Diff to previous 1.178
Enforce required fields for first location only
when there are multiple location form inputs.

Revision 1.178 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 21:42:35 2008 UTC (14 months, 2 weeks ago) by ankur
Branch: MAIN
Changes since 1.177: +10 -1 lines
Diff to previous 1.177
Only include textfield for 'Additional' when 'Street' is 'Allowed' or 'Required'

Revision 1.177 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 19:59:22 2008 UTC (14 months, 2 weeks ago) by ankur
Branch: MAIN
Changes since 1.176: +4 -3 lines
Diff to previous 1.176
Updating _location_expand_location_settings() so that 'Array' doesn't appear
when 'Location Fields' fieldset is rendered in q=admin/content/node-type/[node-type]

Revision 1.176 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 10 22:04:19 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.175: +0 -18 lines
Diff to previous 1.175
Remove some dead code.

Revision 1.175 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 10 22:01:05 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.174: +11 -1 lines
Diff to previous 1.174
Views api updates, see http://angrydonuts.com/attention-views-api-developers.

Revision 1.174 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 10 15:29:10 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.173: +41 -16 lines
Diff to previous 1.173
add location_save_locations api.

Revision 1.148.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 22:56:11 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.21: +39 -14 lines
Diff to previous 1.148.2.21 , to branch point 1.148
add location_save_locations api.

Revision 1.173 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 19:34:48 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.172: +18 -13 lines
Diff to previous 1.172
#306171: Make COW use less lids.

Revision 1.148.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 19:31:10 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.20: +18 -13 lines
Diff to previous 1.148.2.20 , to branch point 1.148
#306171: Make COW use less lids.

Revision 1.148.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 18:21:25 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.19: +9 -9 lines
Diff to previous 1.148.2.19 , to branch point 1.148
Fix RSS.

Revision 1.172 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 18:18:38 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.171: +14 -14 lines
Diff to previous 1.171
Fix RSS.
Fix RSS namespace issues.

Revision 1.148.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:29:06 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.18: +2 -2 lines
Diff to previous 1.148.2.18 , to branch point 1.148
#301540 by lyricnz: Change default RSS mode to 'simple'.

Revision 1.171 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:28:02 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170
#301540 by lyricnz: Change default RSS mode to 'simple'.

Revision 1.170 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:23:40 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169
#303332 by gnat: Fix parameters for geocoding parameters form.

Revision 1.148.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:20:05 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.17: +2 -3 lines
Diff to previous 1.148.2.17 , to branch point 1.148
Turn collapsehack back on.

Revision 1.169 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:17:05 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.168: +2 -3 lines
Diff to previous 1.168
Turn collapsehack back on.

Revision 1.168 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 16:20:57 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.167: +86 -16 lines
Diff to previous 1.167
Provide some feedback for previously geocoded locations.
Allow hiding arbitrary fields on display. (Forward port of commit 138847)

Revision 1.167 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 16:00:30 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.166: +1 -3 lines
Diff to previous 1.166
Remove dpms that shouldn't have been committed.

Revision 1.166 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 15:55:45 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.165: +45 -37 lines
Diff to previous 1.165
Add the concept of "virtual fields" to fix the "Module declared field without empty default" error for good.
#287220 by scottgifford, nicholasThompson: Fix regeocoding on removal of user submitted coordinates.

Revision 1.148.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 15:54:06 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.16: +45 -37 lines
Diff to previous 1.148.2.16 , to branch point 1.148
Add the concept of "virtual fields" to fix the "Module declared field without empty default" error for good.
#287220 by scottgifford, nicholasThompson: Fix regeocoding on removal of user submitted coordinates.

Revision 1.148.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 02:34:58 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.15: +86 -16 lines
Diff to previous 1.148.2.15 , to branch point 1.148
Provide some feedback for previously geocoded locations.
Allow hiding arbitrary fields on display.

Revision 1.148.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 01:52:18 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.14: +2 -2 lines
Diff to previous 1.148.2.14 , to branch point 1.148
Fix default value for 'additional' field.

Revision 1.165 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 01:51:03 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.164: +50 -40 lines
Diff to previous 1.164
Fix XHTML non-compliance issues.
Fix country overriding.
Remove some dead code.
Fix default value for 'additional' field.

Revision 1.148.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 01:40:24 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.13: +49 -39 lines
Diff to previous 1.148.2.13 , to branch point 1.148
Fix XHTML non-compliance issues.
Fix country overriding.
Remove some dead code.

Revision 1.164 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 8 16:56:26 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163
auto-whitespace.

Revision 1.148.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 8 16:54:50 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.12: +3 -3 lines
Diff to previous 1.148.2.12 , to branch point 1.148
auto-whitespace.

Revision 1.163 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 19:33:26 2008 UTC (15 months ago) by bdragon
Branch: MAIN
Changes since 1.162: +16 -3 lines
Diff to previous 1.162
#297965 by scottgifford: Instructions for entering latitude/longitude are wrapped poorly.

Revision 1.148.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 19:32:29 2008 UTC (15 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.11: +16 -3 lines
Diff to previous 1.148.2.11 , to branch point 1.148
#297965 by scottgifford: Instructions for entering latitude/longitude are wrapped poorly.

Revision 1.162 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 00:47:17 2008 UTC (15 months ago) by bdragon
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161
#297913 by catch: Use province names instead of codes for autocompletion.

Revision 1.148.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 00:45:15 2008 UTC (15 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.10: +2 -2 lines
Diff to previous 1.148.2.10 , to branch point 1.148
#297913 by catch: Use province names instead of codes for autocompletion.

Revision 1.161 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 20:41:12 2008 UTC (15 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.160: +2 -2 lines
Diff to previous 1.160
Log an error instead of using dpm.

Revision 1.148.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 20:39:49 2008 UTC (15 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-test2
Changes since 1.148.2.9: +2 -2 lines
Diff to previous 1.148.2.9 , to branch point 1.148
Log an error instead of using dpm.

Revision 1.148.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 20:20:58 2008 UTC (15 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.8: +7 -5 lines
Diff to previous 1.148.2.8 , to branch point 1.148
Fix warnings in previous.

Revision 1.148.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 20:06:54 2008 UTC (15 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.7: +95 -1 lines
Diff to previous 1.148.2.7 , to branch point 1.148
Add some magic to allow using the Drupal 6 tpl.php files on the Drupal 5 version (So I don't have to do everything two different ways.)
Starting off, move the crufty old theme_location to a template.
(Note that this magic does NOT actually depend on phptemplate, so it should continue working even if your theme is not a phptemplate theme.)

Revision 1.160 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 19:53:04 2008 UTC (15 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.159: +4 -3 lines
Diff to previous 1.159
Make the suggestion actually work.

Revision 1.159 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 18:14:21 2008 UTC (15 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.158: +5 -7 lines
Diff to previous 1.158
Fix $hide in location theme to work as it used to.
Add a per-country template suggestion to the preprocess.

Revision 1.158 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 17:24:52 2008 UTC (15 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.157: +13 -5 lines
Diff to previous 1.157
#294922, reported by scottgifford: Remove spurious "Array" from output on edit form.

Revision 1.148.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 17:21:14 2008 UTC (15 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.6: +10 -4 lines
Diff to previous 1.148.2.6 , to branch point 1.148
#294922, reported by scottgifford: Remove spurious "Array" from output on edit form.

Revision 1.157 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:58:57 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.156: +8 -6 lines
Diff to previous 1.156
#287111, reported by robertico: Fix decimal degrees to dms conversion for negative coordinates.

Revision 1.148.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:56:05 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.5: +8 -6 lines
Diff to previous 1.148.2.5 , to branch point 1.148
#287111, reported by robertico: Fix decimal degrees to dms conversion for negative coordinates.

Revision 1.156 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:24:22 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.155: +6 -6 lines
Diff to previous 1.155
#287216 by scottgifford, bdragon: Manipulate locations by reference when geocoding so later modules can make use of the data.

Revision 1.148.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:23:15 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.4: +6 -6 lines
Diff to previous 1.148.2.4 , to branch point 1.148
#287216 by scottgifford, bdragon: Manipulate locations by reference when geocoding so later modules can make use of the data.

Revision 1.148.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:15:51 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.3: +7 -14 lines
Diff to previous 1.148.2.3 , to branch point 1.148
Fix the element level validation hooking. This means you don't have to manually call validation anymore!

Revision 1.155 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 17:07:24 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.154: +6 -13 lines
Diff to previous 1.154
Fix up element validation.

Revision 1.154 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 16:38:39 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.153: +3 -19 lines
Diff to previous 1.153
Rip out the notion of "supported countries." With the dynamic country loading, this isn't really needed.
This breaks some of the "province listing" stuff, but it needed work anyway.

Revision 1.148.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 16:25:28 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.2: +2 -2 lines
Diff to previous 1.148.2.2 , to branch point 1.148
Fix typo preventing tos links for general geocoders from working.

Revision 1.153 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 25 18:37:52 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.152: +58 -2 lines
Diff to previous 1.152
Templatize theme_location().

Revision 1.152 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 25 17:29:56 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.151: +5 -6 lines
Diff to previous 1.151
Fix some validation.
Start of views include.

Revision 1.151 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 21:04:09 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.150: +7 -1 lines
Diff to previous 1.150
#286824: Add a display weight setting.

Revision 1.148.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 21:01:03 2008 UTC (16 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148.2.1: +7 -1 lines
Diff to previous 1.148.2.1 , to branch point 1.148
#286824: Add a display weight setting.

Revision 1.150 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 20:52:45 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.149: +4 -1 lines
Diff to previous 1.149
#286826, reported by TourTools: Fix problem resaving nodes caused by the existence of the country_name and province_name fields.

Revision 1.148.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 20:52:11 2008 UTC (16 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.148: +4 -1 lines
Diff to previous 1.148
#286826, reported by TourTools: Fix problem resaving nodes caused by the existence of the country_name and province_name fields.

Revision 1.149 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 19:44:00 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.148: +111 -253 lines
Diff to previous 1.148
Initial Druapl 6 checkin: Just enough to save and show a location.

Revision 1.148 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 23 22:13:08 2008 UTC (16 months ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-5--3-0-test1
Branch point for: DRUPAL-5--3
Changes since 1.147: +12 -1 lines
Diff to previous 1.147
Add country_name and province_name to locations upon load for themers' convenience.

Revision 1.147 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 17 16:02:30 2008 UTC (17 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.146: +12 -9 lines
Diff to previous 1.146
#271454 by grafik, patch by me: Call to undefined function: location_province_list_().

Thanks for the report!

Revision 1.146 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 22:15:05 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.145: +2 -5 lines
Diff to previous 1.145
Don't use variable_get('gmap_user_map', '[gmap|center=0,30|zoom=16|width=100%|height=400px]') for the location chooser map. That's just stupid.

Give it its own variable and set the default to '[gmap]' (i.e. inherit everything).

Revision 1.145 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 21:49:22 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.144: +2 -5 lines
Diff to previous 1.144
Move location proximity form into location_search.

Revision 1.144 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 21:36:50 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.143: +5 -3 lines
Diff to previous 1.143
If there is only one allowed location, hide the outer fieldset.

Revision 1.143 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 21:32:52 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.142: +1 -60 lines
Diff to previous 1.142
Remove a block of dead code.

Revision 1.142 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 21:16:20 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.141: +11 -10 lines
Diff to previous 1.141
Reimplement another validation check.

Revision 1.141 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 20:47:13 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.140: +4 -14 lines
Diff to previous 1.140
Just a little cleanup after I reimplemented one of the commented out validation handlers.

Revision 1.140 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 20:29:08 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.139: +15 -1 lines
Diff to previous 1.139
Happy fun province normalization code. Now you can type the name of a province in if you feel like it..

Revision 1.139 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 20:20:26 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.138: +33 -34 lines
Diff to previous 1.138
Begin readding validation.

Revision 1.138 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 17:58:08 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.137: +34 -24 lines
Diff to previous 1.137
Fix default handling.
Make province autocomplete honor current country by default.

Revision 1.137 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 17:14:27 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.136: +28 -17 lines
Diff to previous 1.136
Inital province autocompletion code.

Revision 1.136 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 20:38:20 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.135: +3 -2 lines
Diff to previous 1.135
Fix configuration of general geocoders.

Revision 1.135 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 18:52:43 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.134: +1 -15 lines
Diff to previous 1.134
Remove a couple dpm()s.
More moving out of user address thingie.

Revision 1.134 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 18:37:03 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.133: +1 -84 lines
Diff to previous 1.133
move some of the megapatch user address book stuff out of the code (into a local file, I still have to take a look at it..)
More LOCATION_PATH removal.

Revision 1.133 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 18:05:28 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132
More work on eliminating LOCATION_PATH.
Move location_search theme function into location_search.module.

Revision 1.132 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 16:15:54 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.131: +5 -1 lines
Diff to previous 1.131
Implement user deletion.
Final part of #110334.

Revision 1.131 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 16:01:04 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.130: +2 -8 lines
Diff to previous 1.130
Delay-load general geocoders.

Revision 1.130 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 15:39:53 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.129: +33 -30 lines
Diff to previous 1.129
Hide location fieldset if there isn't anything inside it.

Revision 1.129 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 15:12:56 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.128: +11 -1 lines
Diff to previous 1.128
I finally realized how to solve the "garbage collection when using unknown references" problem.

Revision 1.128 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 30 03:50:59 2008 UTC (17 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127
Fix #264464. (location_field_names() doesn't return 'additional')

Good catch!

Revision 1.127 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 21:12:36 2008 UTC (17 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.126: +3 -2 lines
Diff to previous 1.126
Patch from Patrick Fournier via email:
> 1) Geocoding option is not saved (line 665)
> 2) Postal code value is not displayed in node edit form  (line 484)

Thanks!

Revision 1.126 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 22:44:24 2008 UTC (20 months ago) by bdragon
Branch: MAIN
Changes since 1.125: +33 -35 lines
Diff to previous 1.125
Clean up the token stuff a tad...

Revision 1.125 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 19:50:31 2008 UTC (20 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.124: +6 -1 lines
Diff to previous 1.124
#213084 by levonai:
Hack around some bad interactions with usernode.
(This is temporary until I can figure out what's actually happening here.)

Revision 1.124 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 18:41:52 2008 UTC (20 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.123: +51 -1 lines
Diff to previous 1.123
#165678 by tom friedhof, Rob Loach, Lynn et al.: Token support.
Thanks, all!

Revision 1.123 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 01:10:17 2008 UTC (20 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.122: +8 -4 lines
Diff to previous 1.122
From #99191, comment 16: Better lat/lon...
Thanks Tobias Maier!

Revision 1.122 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 20:42:35 2008 UTC (20 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.121: +40 -1 lines
Diff to previous 1.121
Theme coordinates nicely, inspired by the comments in #217392.

Add a nice way to display DMS as well.

MIT, please get the wireless back up and running!

Revision 1.121 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 18:20:38 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120
Just a little sanity check so I can keep #114170 closed.

Revision 1.120 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 18:03:25 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.119: +30 -10 lines
Diff to previous 1.119
Allow disabling the display of locative information in teaser and full view on a per content-type basis.

Revision 1.119 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 17:18:04 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.118: +3 -6 lines
Diff to previous 1.118
Small cleanup.

Revision 1.118 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 7 17:00:47 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.117: +3 -24 lines
Diff to previous 1.117
Remove some cruft from add another form that is not needed (form redirects anyone?)

Revision 1.117 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 6 20:27:43 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.116: +14 -13 lines
Diff to previous 1.116
A quick coder run...

Revision 1.116 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 6 16:46:08 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.115: +842 -1017 lines
Diff to previous 1.115
Committing what I have. The patch has landed.

Revision 1.115 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 4 02:48:51 2008 UTC (21 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114
Fix #107567.
Split out a seperate cache table for the location search cache.

Revision 1.114 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 4 00:47:23 2008 UTC (21 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.113: +49 -58 lines
Diff to previous 1.113
Reorganize content type settings.

Heavily inspired by #132749 by sun.

Revision 1.113 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 3 21:23:16 2008 UTC (21 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.112: +74 -15 lines
Diff to previous 1.112
Rewrite of RSS generation. It handles generating all the common formats now.

Revision 1.112 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 3 15:59:53 2008 UTC (21 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111
#216291 by Dave Cohen: Fix accidental use of nid instead of vid.

Revision 1.111 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 29 01:15:40 2008 UTC (21 months, 4 weeks ago) by bdragon
Branch: MAIN
Changes since 1.110: +4 -5 lines
Diff to previous 1.110
Uh, am I the only one with call_time_pass_by_reference disabled and E_ALL turned on?

Revision 1.110 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 03:44:03 2008 UTC (22 months ago) by wundo
Branch: MAIN
Changes since 1.109: +244 -231 lines
Diff to previous 1.109
Fixing #214007, by myself.
Breaking location_form_alter in small functions, and also fixing some code style issues.

Revision 1.109 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 03:14:05 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.108: +88 -1 lines
Diff to previous 1.108
Work in progress..

Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 02:26:46 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.107: +19 -50 lines
Diff to previous 1.107
Coder fixes, some cleanup, reformatting...

Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 01:41:33 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.106: +5 -3 lines
Diff to previous 1.106
Whoops!

Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 01:26:35 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.105: +382 -196 lines
Diff to previous 1.105
FINALLY!

All files have been re-integrated.

I left a few of the added features out or commented out so they can be investigated seperately.

Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 22:27:21 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.104: +197 -188 lines
Diff to previous 1.104
Start on a simpletest...

Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 06:46:50 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.103: +1091 -1019 lines
Diff to previous 1.103
I hate to do this, but that first patch was just unacceptable.

It is going to be faster to merge in the last 6 pages of changes by hand.

Revert (sans a few files) to DRUPAL-5 again and start over.

Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 03:34:39 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.102: +16 -16 lines
Diff to previous 1.102
Fix extremely suboptimal menu hook.

Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 03:11:56 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.101: +3 -10 lines
Diff to previous 1.101
Remove location_map_link_options_page() which was just a proxy for drupal_get_form().
Start a changelog.

Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 02:47:05 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.100: +36 -59 lines
Diff to previous 1.100
Walked through the main file, tweaking stuff as I go.

Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 02:03:53 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.99: +4 -3 lines
Diff to previous 1.99
Normalizing file headers, ensuring all the $Id$ tags work (Somehow a bunch of files got -kk'd in CVS so the tag expansion wasn't working), changing documentation around.

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 00:22:17 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.98: +1 -26 lines
Diff to previous 1.98
Misc:
* Remove the 'view' option on User screen.

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 00:19:27 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.97: +16 -1 lines
Diff to previous 1.97
Misc:
* Doxygen documentation

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 23 01:29:21 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.96: +9 -11 lines
Diff to previous 1.96
Misc:
* Code organization

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 23:29:32 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.95: +5 -5 lines
Diff to previous 1.95
Misc:
* location_field_names() renamed to location_field_names()

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 23:20:05 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.94: +6 -81 lines
Diff to previous 1.94
Misc:
* _location_search_form() moved to location.inc

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 22:38:38 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.93: +11 -190 lines
Diff to previous 1.93
Misc:
* rename some functions to avoid be called by a external hook call
* moved some functions to location.inc

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 22:28:36 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.92: +51 -3 lines
Diff to previous 1.92
Misc:
* location.address.inc will hold all address-related functions (that are not hook)

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 22:19:20 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.91: +3 -4 lines
Diff to previous 1.91
Bugs fixed:
* Drupal code standards compliance

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 21:40:36 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.90: +4 -1 lines
Diff to previous 1.90
Misc:
* Rename the "supoported" directory to "countries" on code

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 20:53:29 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.89: +69 -27 lines
Diff to previous 1.89
Misc:
* location_latlon_rough() renamed to _ocation_latlon_rough()
* _location_country_configured() renamed to _location_country_enabled()
* Code organization

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 05:01:09 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.88: +94 -90 lines
Diff to previous 1.88
Bugs fixed:
* E_ALL errors
* Wrong form validating on node type settings page

Misc:
* Doxygen documentation
* Code organization

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 04:21:26 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.87: +104 -74 lines
Diff to previous 1.87
Bugs fixed:
* PHP E_ALL errors

Misc:
* Code organization

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 02:59:06 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.86: +3 -4 lines
Diff to previous 1.86
Bugs fixed:
* Update address were creating another one
* PHP E_ALL error

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 02:50:15 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.85: