Commit report for master branch

The git bot announce at freeradius.org
Sat Mar 29 00:00:01 CET 2014


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Document changes to switch / case

Alan T. DeKok at 2014-03-28T20:20:33Z
Files modified:
	* man/man5/unlang.5

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/61f8ed7d3060de629af6e3123eb0030c70c04c38
====== 
Doxygen typo

Alan T. DeKok at 2014-03-28T19:15:25Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8206952480a52df555c69adf56dcb5b97e954965
====== 
Remove unused argument

Alan T. DeKok at 2014-03-28T19:10:32Z
Files modified:
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8e3cee7d4b7115d22a3d048758c3bb94988ec852
====== 
Allow a wider range of attribute comparisons in switch / case

via casting the attribute in the 'case' to the one in the 'switch'

Alan T. DeKok at 2014-03-28T19:09:56Z
Files modified:
	* src/main/modcall.c
	* src/tests/keywords/switch-attr-cast

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dba29a0a7b7d674a1c639b8a0dbb2a4b33bd0c13
====== 
Fix typo

Alan T. DeKok at 2014-03-28T19:09:54Z
Files modified:
	* src/tests/keywords/switch-attr-cmp

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c2e4840e0f5bdb8e694c3d14cf9957bfbb87210a
====== 
switching over a non-existent attribute jumps to the default

So we don't do any expansions, hostname lookups, etc.
Otherwise if we're switching over an IP address attribute, it
might end up doing a DNS lookup for every 'case' statement

Alan T. DeKok at 2014-03-28T19:09:46Z
Files modified:
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6ded209be1a14480735028ac4da48990fa512cef
====== 
Parse values for switch statements

If we're switch over an attribute, check that the values in the
case statements are appropriate for the attribute.

Alan T. DeKok at 2014-03-28T19:04:55Z
Files modified:
	* src/main/modcall.c
	* src/tests/keywords/switch
	* src/tests/keywords/switch-value-error

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2b2981ab686b66a30331d97bc2e0fd24d5e9ef42
====== 
Expose radius_tmpl_cast() for others to use

Alan T. DeKok at 2014-03-28T19:04:53Z
Files modified:
	* src/include/map.h
	* src/main/map.c
	* src/main/parser.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/15ebde917d3d16eef4dd3f0ac587694db490327e
====== 
Update to rlm_perl to handle "config" section

nchaigne (via Arran Cudbard-Bell)@2014-03-28T18:57:14Z
Files modified:
	* raddb/mods-available/perl
	* src/modules/rlm_perl/example.pl
	* src/modules/rlm_perl/rlm_perl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7768e331cf1d6c07a2e2c4ad4b9e0153640ea757
====== 
Fix cosmetic issue in EAP-SIM debug messages

Arran Cudbard-Bell at 2014-03-28T18:56:34Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/873adb1783f463351c410e5be95ae68859fa3c19
====== 
Conver to talloc

Alan T. DeKok at 2014-03-28T16:53:08Z
Files modified:
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/62b1834c337faead3e53fbd00b7ad27c7fc9e38d
====== 
Precompile 'switch' and 'case' arguments.

and add regression tests.

Previously "switch blah" with a static string would always hit
the "case {..." block.  It will now match a "case blah {" block,
if it exists.

Alan T. DeKok at 2014-03-28T16:51:22Z
Files modified:
	* src/main/modcall.c
	* src/tests/keywords/switch
	* src/tests/keywords/switch-attr-cmp
	* src/tests/keywords/switch-xlat-error

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d17d4dd20f557cff4c60da69ed273c0f5a0fd056
====== 
Added cf_section_name2_type

For switch and case statements

Alan T. DeKok at 2014-03-28T16:51:21Z
Files modified:
	* src/include/conffile.h
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a6d265c1931c59c29e59b676eb87abf4e5950f5a
====== 
set fr_strerror() if the reference isn't an attribute

Alan T. DeKok at 2014-03-28T16:51:19Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/540a2da3957a12ef1be88b43b513dca6ac7cd4f5
====== 
If there's no dictionary entry, it's a literal.

And use the same literal code as the other cases

Alan T. DeKok at 2014-03-28T16:51:17Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b896c49c5589d4ea47e94e6c8a122373d90a3fa7
====== 
use FR_TOKEN, not int.  Better error message for parse errors

	case "foo {

is a syntax error.  It shouldn't print a complaint about an
invalid token.

Alan T. DeKok at 2014-03-28T16:51:16Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ac44e8efe0ac35e479e99031a54aacca2346d7d1
====== 
Dictionary names begin with uppercase letters

Alan T. DeKok at 2014-03-28T16:51:15Z
Files modified:
	* share/dictionary.terena

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e56f24ad0827d9b9a216e60f5503b61c5123f005
====== 
Remove extraneous format marker *sigh*

Arran Cudbard-Bell at 2014-03-28T16:20:47Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b652a23e9209a927e5c736f0b05b56d4104f0f63
====== 
Extraneous comma

Arran Cudbard-Bell at 2014-03-28T15:25:46Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d868a1ceffb0a1bbf3834f0ace361f5fc3bb3e2e
====== 
Include version in user agent string

Print the headers were adding

Fix whitespace

Arran Cudbard-Bell at 2014-03-28T14:08:06Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9d49f076369b3edf8883170fb631a696893cea0e
====== 
connect_uri can now be NULL

Since the default was removed

Arran Cudbard-Bell at 2014-03-28T12:22:23Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6b67a8de140e983edfd9a25b83c28de16f676c09
====== 
Fix whitespace

Arran Cudbard-Bell at 2014-03-28T11:52:26Z
Files modified:
	* raddb/mods-available/ldap

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d2c44f7cbba28d0ed6814fd6f034feab28be3f9c
====== 
-- 
This commit summary was generated @2014-03-29T00:00:01Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list