lp:grepmap

Created by Scott James Remnant (Canonical) on 2007-11-03 and last modified on 2007-12-11

The main development branch of grepmap on which both new developments and releases are made.

Get this branch:
bzr branch lp:grepmap
Only Scott James Remnant (Canonical) can upload to this branch. If you are Scott James Remnant (Canonical) please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott James Remnant (Canonical)
Project:
grepmap
Status:
Mature

Recent revisions

44. By Scott James Remnant (Canonical) on 2005-11-28

* configure.ac: Release 1.1.0.
* NEWS: Update release notes.

43. By Scott James Remnant (Canonical) on 2005-11-28

* src/pcimap.c (pcimap_udev_event): Add function to fill device
structure from environment of udev event.
* tests/pcimap.at (pcimap works from udev event): Add new test.
* src/usbmap.c (usbmap_udev_event): Add function to fill device
structure from environment of udev event.
* tests/usbmap.at (usbmap works from udev event): Add new test.
* src/inputmap.c (inputmap_udev_event): Add function to fill
device structure from environment of udev event.
* tests/inputmap.at (inputmap works from udev event): Add new test.
* src/ieee1394map.c (ieee1394map_udev_event): Add function to fill
device structure from environment of udev event.
(ieee1394map_parse_args): Parse model argument from command-line.
* tests/ieee1394map.at (ieee1394map works from udev event): Test.
Also update other tests.
* src/ccwmap.c (ccwmap_udev_event): Add function to fill device
structure from environment of udev event.
* tests/ccwmap.at (ccwmap works from udev event): Add new test.
* src/seriomap.c (seriomap_udev_event): Add function to fill device
structure from environmentof udev event.
* tests/seriomap.at (seriomap works from udev event): Add new test.
* src/grepmap.h: Add prototypes for all udev_event functions.
* src/grepmap.c (opts, longopts): Add --udev/-d argument.
(MapFileTypeInfo): Add udev_subsystem name and udev_event_func
pointer to structure, and add information to each table entry.
(main): Handle --udev by parsing the environment and using the
per-map udev_event() function instead of parsing the command-line.
* doc/C/grepmap.8: Document --udev option and include an example
rule. Update ieee1394map documentation.
* README: Give example udev rule here too.
* NEWS: Document --udev option.

42. By Scott James Remnant (Canonical) on 2005-11-28

* src/pcimap.c (pcimap_parse_args): Split out argument parsing from
the match function into a separate one.
(pcimap_modules): Use passed-in device structure to match.
* src/usbmap.c (usbmap_parse_args): Split out argument parsing from
the match function into a separate one.
(usbmap_modules): Use passed-in device structure to match.
* src/inputmap.c (inputmap_parse_args): Split out argument parsing
from the match function into a seperate one.
(inputmap_modules): Use passed-in device structure to match.
* src/ieee1394map.c (ieee1394map_parse_args): Split out argument
parsing from the match function into a separate one.
(ieee1394map_modules): Use passed-in structure to match.
* src/ccwmap.c (ccwmap_parse_args): Split out argument parsing from
the match function into a separate one.
(ccwmap_modules): Use passed-in device structure to match.
* src/seriomap.c (seriomap_parse_args): Split out argument parsing
from the match function into a separate one.
(seriomap_modules): Use passed-in device structure to match.
* src/grepmap.h: Move all structure definitions out of their
separate files and to here. Modify all function prototypes to
accept a device structure pointer rather than argv. Add prototypes
for all argument-parsing functions.
* src/grepmap.c (MapFileTypeInfo): Alter structure definition to take
the size of the device structure instead of the number of arguments,
and a pointer to the new per-map parse_args functions.
(main): Allocate enough memory for the device structure and call the
parse_args function to fill it before calling the modules function.

41. By Scott James Remnant (Canonical) on 2005-11-28

* README: Drop all references to bug-compatibility with hotplug.

40. By Scott James Remnant (Canonical) on 2005-11-28

* src/ieee1394map.c (ieee1394map_modules): Match the model
parameter as the kernel does.
* README: Remove note about ieee1394map bug compatibility.
* NEWS: Added note about new behaviour.

39. By Scott James Remnant (Canonical) on 2005-11-28

* src/inputmap.c (inputmap_modules): Change the version field
matching to do what the kernel does, instead of what hotplug
used to do.
* tests/inputmap.at: Update tests to match.
* README: Remove note about inputmap bug compatibility.
* NEWS: Updated inputmap note to reflect new behaviour.
* README: Replace note about modules.ccwmap not being parsed with
one about ofmap not being parsed.

38. By Scott James Remnant (Canonical) on 2005-11-28

* doc/C/grepmap.8: Update documentation to mention new options.
Remove note about replacing the slow hotplug shell code, now we're
using it for a bit more.

37. By Scott James Remnant (Canonical) on 2005-11-28

* src/seriomap.c: New file with support for the seriomap files.
* src/grepmap.h (seriomap_modules): Add function prototype.
* src/grepmap.c: Add seriomap to the list of parsers.
* src/Makefile.am (grepmap_SOURCES): Add seriomap.c
* tests/seriomap.at: Add test suite for seriomap parser
* tests/testsuite.at: Include seriomap.at
* tests/Makefile.am (TESTSUITE_GROUPS): Add seriomap.at
* NEWS: Added note about seriomap support.

36. By Scott James Remnant (Canonical) on 2005-11-28

* src/ccwmap.c: New file with support for the s/390 fans.
* src/grepmap.h (ccwmap_modules): Add function prototype.
* src/grepmap.c: Add ccwmap to the list of parsers.
* src/Makefile.am (grepmap_SOURCES): Add ccwmap.c
* tests/ccwmap.at: Add test suite for ccwmap parser.
* tests/testsuite.at: Include ccwmap.at.
* tests/Makefile.am (TESTSUITE_GROUPS): Add ccwmap.at
* NEWS: Added note about ccwmap support.

35. By Scott James Remnant (Canonical) on 2005-11-28

* src/inputmap.c (InputMatchFlags): Add INPUT_MATCH_SWBIT.
(InputDevice): Add swbit member with appropriate size definitions.
(inputmap_modules): Parse swbit from command-line, map file and match.
* src/grepmap.c (map_info): Increase number of arguments to inputmap
by one.
* tests/inputmap.at: Add swbit argument to all tests.
(inputmap obeys match_flags): add test of swbit parameter.
* NEWS: Added note about inputmap parser change.

This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.