Custom Query (296 matches)
Results (22 - 24 of 296)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#336 | landauf | landauf | fixed | Remove Tcl library from media |
Description |
Tcl comes with a large library of Tcl files providing several features, most of them being crucial for the common use of the language (especially since Tcl doesn't know any keywords, just functions). Usually those files come together with the Tcl library and are installed somewhere on the system (there's a path pointing to this location which is known inside Tcl and can also be read and manipulated by the user when creating language extensions - this might be useful for future changes like #314). Now let me briefly introduce the concept of the console command execution in Orxonox:
To achieve this, we manipulate the unknown function of Tcl. This function gets called automatically if someone tries to execute an unknown command in Tcl (language feature). Usually this function would display an error, but we change the function to send the command back to the Command Executor instead. The unknown function is defined in "init.tcl" - a file that belongs to the Tcl library. And because of this change, we currently have to add the whole Tcl library to our media repository. And even worse, those files change with every release of Tcl and have to be updated. Therefore we should try to use the standard Tcl library and manipulate the unknown function in Orxonox after the Tcl interpreter was loaded, instead of providing our own version. Unfortunately this isn't that easy, because the change in init.tcl looks more or less like this: proc unknown args { ... ... (almost 200 lines of code) ... - return -code error "invalid command name \"$name\"" + return [query $args] } Maybe we can catch the returned error code and then send the query to Orxonox, but there are other locations in the unknown function which return also an error (because the whole unknown function is basically just one big error handler). Task: Find a clean and fast way to send unknown commands back to Orxonox without manipulating init.tcl. After you succeeded, let Tcl load the standard library files instead of our own version. Change the Tcl library path so Tcl will still find our own scripts and packets (see also #314). |
|||
#361 | nobody | youngk | fixed | Apple Xcode build environment: CMAKE |
Description |
Cmake does not copy the source files to the build/src folder for the Xcode build configuration. This happens in all targets. *EDIT* Cmake does not copy the following files: src/toluabind/:
src/external/ceguilua/:
src/libraries/core/:
src/libraries/network/:
src/orxonox/:
src/modules/pickup/:
src/modules/notifications/:
src/modules/questsystem/:
Xcode requires certain source files to be located in a subdirectory of each target that is named after the current build configuration. |
|||
#380 | nobody | rgrieder | fixed | Bug: Statistics don't hide anymore |
Description |
Running Orxonox 0.0.5 on Windows 7: After displaying the game statistics with F2, they dont't disappear anymore with another hit on F2. |