70 Commits (2f263229f902a60d53ba581a48f887c68748f833)

Author SHA1 Message Date
DrZiplok@gmail.com 2f263229f9 Rename AP_Meta_class::AP_Type_id to AP_Meta_class::Type_id in keeping with the coding standard. 14 years ago
DrZiplok 8c9ece1f37 Fix a serious typo, add more documentation. 14 years ago
DrZiplok 7a3d33844a Move the Test unit test framework out into its own header, so that it can be used by other libraries. 14 years ago
DrZiplok@gmail.com 8cc7e658b0 Simplify AP_Var_group::_serialize_unserialize slightly by removing some variables. 14 years ago
DrZiplok@gmail.com 4b21f3485a Improve performance when saving a number of variables that don't have space allocated in the EEPROM. This avoids scanning the entire EEPROM every time a variable that has not yet had space allocated is written. 14 years ago
DrZiplok@gmail.com 655f7a21ff Fix ::save_all/::load_all so that they check the correct criteria for opt-out. Now load/save_all work. 14 years ago
DrZiplok@gmail.com e7da843d90 Fixes for EEPROM space allocation and mapping. 14 years ago
DrZiplok@gmail.com 39fea200ca I never liked the plan that variable groups could only be statically scoped; it was much too fragile. These changes address that issue by splitting the global variable list into two lists, one for standalone variables (including groups), and one for variables that are members of a group. 14 years ago
DrZiplok@gmail.com de71731994 Add a templated version of AP_Meta_class::meta_type_id so that you can get a type ID for any named type without having to have an instance of the type lying around. Update the comments about caching type IDs to reflect its availability. 14 years ago
DrZiplok@gmail.com 39b718fce0 Implement the missing AP_Var_group::*serialize functions. 14 years ago
DrZiplok@gmail.com 30d9a92c4e Implement a pure data serialisation load/save model for AP_Var. 14 years ago
james.goppert 05622fe225 Updated AP_RcChannel for AP_Var. 14 years ago
DrZiplok@gmail.com 96d2dc33fe Formatting and naming changes for conformance with the ArduPilot Coding Conventions. 14 years ago
DrZiplok aaf125e441 Based on explaining AP_VarNoAddress to Doug, improve the description of the value. 14 years ago
DrZiplok@gmail.com dd6ede36ee Add more unit tests for AP_Var. 14 years ago
DrZiplok@gmail.com 6366cdc094 Add more documentation for AP_MetaClass. 14 years ago
DrZiplok@gmail.com 44cac7a853 Add a new macro PROGMEM_STRING that can be used to define a constant string in program memory. 14 years ago
DrZiplok e299d5f58a Add a flags byte to variables, and implement a "no auto load" bit that opts variables out of load_all / save_all. 14 years ago
DrZiplok c0de571afd Save AP_Var's initial value as a default value, and add a function for restoring the default value. 14 years ago
DrZiplok 0e868ca343 More unit tests. 14 years ago
DrZiplok 765cef724d Fix the assignment operator overload for AP_VarT so that direct assignments to the type work correctly. 14 years ago
DrZiplok@gmail.com d8046957c6 Unit tests for scope-based address offsetting. 14 years ago
DrZiplok@gmail.com 63643f73fc Move the AP_Var ctor out of the class definition; it's big enough that we don't want to inline it. 14 years ago
DrZiplok@gmail.com d2bd744244 Metaclass improvements: 14 years ago
DrZiplok 57f3f4e65b Beef up the unit tests for AP_Var. Most of the basic functionality is now covered. 14 years ago
DrZiplok 277105c437 Rename the base class for variables AP_Var; less confusing, less to type. Rename the template type instead. 14 years ago
DrZiplok ea9c7859f8 Don't allow the default serialize/unserialize to be inlined. 14 years ago
DrZiplok a02136236f Add the ability to find the sketchbook when called from a Makefile in a library example. 14 years ago
DrZiplok a3a9fe59e3 Following discussions with James, a complete rewrite of AP_Var. 14 years ago
DrZiplok 68be029a17 Don't define constant AP_Var's extern 14 years ago
james.goppert 634f2734b5 Added AP_Controller library. 14 years ago
james.goppert 8bc3fc599d Fixed casting issues with EEPROM Registry 14 years ago
james.goppert 86feb8bf7b Fixed issues with RcChannel EEPROM var ownership. 14 years ago
DrZiplok 23e78d0f4b Fix/improve depdendency handling. Deps are autogenerated on the first compile pass and consumed on subsequent builds. This helps work around the difficulty of building the 'clean' target with Eclipse. 14 years ago
DrZiplok 7bc153f038 More awk-related changes. mawk hangs on the parser scripts, so try gawk; it's what we'll need for cygwin anyway. 14 years ago
DrZiplok f0f13752d0 We need TOOLPATH even when ARDUINO is defined. Refactor. 14 years ago
DrZiplok f65076dccc Adjust the awk scanners to deal with the somewhat less featureful awk found on many Linux systems. 14 years ago
DrZiplok 0dac8fca62 Better TOOLPATH handling for Linux 14 years ago
DrZiplok 4d490359e7 Try to find the AVR tools on Linux 14 years ago
DrZiplok@gmail.com 2ec1d69a0f Move Arduino.mk here. This library should always be present in a constant location for our projects. 14 years ago
james.goppert e3041f08fe RcChannel now owns channel config params. 14 years ago
DrZiplok faa2b9909e Break AP_Var and friends out into their own header. 14 years ago
DrZiplok 632d0f574a Don't actually implement __cxa_pure_virtual, we'd prefer to have link-time errors rather than classes with pure virtual functions. 14 years ago
DrZiplok 6f4e63e8b3 Move ToRad here to match ToDeg 14 years ago
DrZiplok 9b1863f4b2 operator new[] should return a zeroed class object just like operator new does. 14 years ago
james.goppert 482f124212 Added macros to AP_Common.h 14 years ago
james.goppert 54fa069f10 Fixed include problem in AP_RcChannel. 14 years ago
james.goppert 76b4dd5f73 Fixed RC_ChannelB errors. 14 years ago
james.goppert 60f9a6d216 Added AP_Variable. 14 years ago
james.goppert 0a4bc9b172 Added Loop class. 14 years ago