summaryrefslogtreecommitdiff
path: root/navit/command.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-121/+62
| | | | | | | | declaration (#605) * Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-251-1353/+1296
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-38/+42
| | | | | | | | * Fix:debug:Change line separators for dbg to work also on win* platform * Fix:debug:Break multiline dbg statements to use the new model * Fix:debug:Move the EOL into debug_vprintf
* Fix:typo:Fix various mispells (#421)Joseph Herlant2018-03-311-1/+1
| | | | | | | | | | | | | | | | * doc/comments: fix typo: chosen not choosen * doc/comments: fix typo: truncated not trucated * doc/comments: fix typo: unknown not unkown * doc/comments: fix typo: attribute not atribute * doc/comments: fix typo: Convenience not Convinience * doc/comments: fix typo: forbidden not forbiden * doc/comments: fix typo: government not goverment
* update link to wiki for OSD commandsR6624jandegr2016-03-061-1/+1
|
* Refactor:core:Add some debug output for attribute-related methodsmvglasow2015-11-201-1/+5
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Remove dead (and broken) code in command.cmvglasow2015-11-111-9/+0
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Remove unused variable in command_saved_callbacks_changed()mvglasow2015-11-111-3/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:core:Make OSD enable_expression work correctly when OSD is registeredmvglasow2015-11-111-1/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Some more documentation and logging in command.cmvglasow2015-11-111-5/+22
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:core:Properly discard leading spaces in eval_value()mvglasow2015-11-111-4/+4
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Some more documentation and logging in command.cmvglasow2015-11-111-11/+188
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Add some docs and debug output to OSD and command codemvglasow2015-11-111-1/+35
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:core:Log descriptive error strings for saved commandsmvglasow2015-11-021-1/+49
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-221-8/+8
| | | | | | looks like an error message.|#1269, part 5 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5967 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Introduce enum for debug levels, and use it everywhere.|First ↵sleske2014-11-221-25/+25
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactoring:core:documentation updatemvglasow2014-11-161-7/+44
| | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5950 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Remove unused parameter from resolve.sleske2013-09-251-17/+17
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5646 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Remove unused parameter from set_int.sleske2013-09-251-30/+30
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5645 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Build with -Wcast-align -Wmissing-prototypes, -Wpointer-arith, fix ↵sleske2013-08-211-1/+1
| | | | | | corresponding warnings. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5586 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix warnings from unused variables.|Part of #1154.sleske2013-08-111-4/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5564 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow arbitrary contexts for saved commandmartin-s2013-05-261-9/+15
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5512 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Made a central entry point for translation in preparation of future ↵martin-s2013-04-281-1/+1
| | | | | | changes git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5456 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Remove result_free with wrong parametermartin-s2013-04-261-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5449 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow new on primitive types in command interpretermartin-s2013-04-261-1/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5448 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Correctly unescape stringsmartin-s2013-03-091-3/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5401 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Free attribute after adding it to avoid leakagemartin-s2013-01-311-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5363 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Made new command work againmartin-s2013-01-311-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5362 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Correct handling of braces and != tests in commandsmartin-s2012-12-251-10/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5327 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fixed boolean command operations, allow concatenuation of stringsmartin-s2012-12-251-19/+29
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5323 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Added foreach and if/then/else command to script interpretermartin-s2012-12-251-6/+81
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5318 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Beginning of splitting up command.c into parsing/logic and ↵martin-s2012-12-241-224/+348
| | | | | | execution part git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5316 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Made C99 compatiblemartin-s2012-12-231-22/+22
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5311 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Allow escaped quotes in stringsmartin-s2012-12-221-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5306 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Allow upper case variable and function namesmartin-s2012-12-221-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5300 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Don't jump over the end of command when closing double quote is ↵mdankov2012-12-051-3/+4
| | | | | | missing. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5284 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Don't crash when command system references a nonexistent object. ↵mdankov2012-12-041-4/+8
| | | | | | Silently ignore such references. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5282 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Bugs in ternary conditional operator.mdankov2012-12-031-3/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5279 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Get rid of memory leaks in command interfacemdankov2012-11-181-47/+151
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5276 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Few more memleaks & one uninitialized variable reference|thank you ↵mdankov2012-11-101-4/+14
| | | | | | valgrind for pointing these out git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5266 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Avoid overwriting result from arraysmartin-s2012-07-161-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5191 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Integrated obj_filter.c into command.cmartin-s2012-07-161-19/+58
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5190 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Make asynchonicity for saved commands optionalmartin-s2012-06-161-2/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5142 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Add warning for invalid commands.sleske2011-12-251-1/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4868 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Changed command new working, expand attributes if necessarymartin-s2011-10-071-1/+10
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4833 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Integrated functions to add or remove an attributemartin-s2011-10-041-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4828 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Move declarations to the begin to be c95 compatiblemartin-s2011-09-301-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4817 ffa7fe5e-494d-0410-b361-a75ebd5db220
* add:core: -added possibility to select objects in the command system by ↵tegzed2011-09-071-0/+13
| | | | | | | | | | filter expressions (Eg: osd[@attr1==1 && (@attr2 != 2 || @attr3 != "strval") ][0]) and optionally indexing the result of filtering - enabled setting common attributes (x,y,w,h) for OSDs in one place - removed osd_set_attr() command system function in favour of the new object selection mechanism git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4768 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix some warningsrikky2011-06-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4517 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Add a patch to to satisfy "invalid reads" found with valgrind in ↵woglinde2011-05-261-4/+11
| | | | | | command.c, patch was provided by pini, closes ticket #864 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4500 ffa7fe5e-494d-0410-b361-a75ebd5db220