* partial merge from sativa branch
- log:branches/sativa@14563:14563
28 lines of code changed in 5 files:
* fix include error (gtk-branch)
4 lines of code changed in 1 file:
- elim tabs
2 lines of code changed in 1 file:
* reintegrates 'dbsave' into 'trunk'
- implements #665
* adds: log:branches/dbsave@14521:14555
1006 lines of code changed in 46 files:
* partial merge from sativa branch
- log:branches/sativa@14543:14543
2045 lines of code changed in 20 files:
fix unit test for shell expansion for OSX
`wc -c` on OSX reports characters with leading whitespace
=> added `| tr -d ' '` to get rid of space chars if they exist
3 lines of code changed in 1 file:
only save to temporary file if output file not a fifo
this allows passing named pipes as argument for saving ARB files
11 lines of code changed in 1 file:
add GB_is_fifo(filepath), testing if a file is a named pipe
7 lines of code changed in 2 files:
/tmp is a symlink on OSX, use /sbin to test directory
1 lines of code changed in 1 file:
* fix for [14515] (do not repeat after error)
1 lines of code changed in 1 file:
* fix wrong assertion
1 lines of code changed in 1 file:
* handle system error
6 lines of code changed in 1 file:
* elim useless parameter from {{{gb_write_rek}}} (only used in self-recursion)
3 lines of code changed in 1 file:
* fix crash (start demo.arb, click on marker)
5 lines of code changed in 1 file:
* inline sole call to {{{AW_system}}}
3 lines of code changed in 4 files:
* print "Action" quoted in backticks (to console)
* use {{{GBK_system}}} in {{{AW_openURL}}}
6 lines of code changed in 2 files:
* fix for #492
- call pt- and name-servers as daemons, i.e.
* do not forward any kill signals
* remove them from the joblist
* redirect their output into a logfile
- this is only done if arb is called from launcher
* trigger is envar {{{ARB_SERVER_LOG}}} (contains the name of the logfile used for daemon output)
* logfile gets tailed to console; tail is killed when launcher terminates => doesnt block
59 lines of code changed in 4 files:
* allow to select symbolic links (to files!) in ARB filebrowser
- needed to load named-quicksaves ("quick save as")
- was broken by using {{{GB_canonical_path}}} to fix filenames
8 lines of code changed in 1 file:
* tested behavior if multiple users share arb files
- made warning about 'quick save as' more explicit
- show more details about chmod-errors on reference file
11 lines of code changed in 2 files:
* [14501] introduced a duplicate '-D' in ptserver calls. fixed.
- note2self: running unittests before commit doesnt harm ;)
2 lines of code changed in 1 file:
* use argument quoting for
- NDS export (target file, print header and postscript output file)
- calling external editor (e.g. "edit macro file")
- calling macros (tested from GUI and CLI with {{{1'2"3.amc}}})
- canvas -> xfig/printer/postscript
- calling editor with user defined configuration name
- merge from/to arb database
- when passing DB name to ptserver
- to pass search expression to grep (while searching helpfiles)
64 lines of code changed in 11 files:
* provide argument quoting for POSIX shells
150 lines of code changed in 3 files:
* {{{prefixSSH}}} -> {{{createCallOnSocketHost}}}
- now also handles calls on local host
* separately pass local command and remote command prefix
- call with valgrind if requested (local host only)
- prepare for planned spawnmode {{{SPAWN_DAEMONIZED}}}
55 lines of code changed in 4 files:
* globally add explicit casts (either long or double) for all numeric ellipse arguments of aisc_put, aisc_nput and aisc_create
- errors caused by just changing the type of a passed variable are far too subtle
27 lines of code changed in 5 files:
* fix RUI in arb_probe_match (caused by passing args as int instead of long)
7 lines of code changed in 1 file:
* {{{aisc_collect_sets}}}
- fix locals
- avoid uninitialized bytes behind {{{aisc_string}}} by initializing last long
* describe wrong parameter types as possible cause of valgrind reports
16 lines of code changed in 2 files:
* {{{arb_open_socket}}}
- single return point
- ensure returned file descriptor is 0 (not -1) in case of error (expected by callers)
- fixes {{{close(-1)}}} reported by valgrind
30 lines of code changed in 2 files:
* do not clean links in $ARBHOME/bin before creating them
- target is triggered multiple times during build => it was not guaranteed that links exist when used
2 lines of code changed in 1 file:
* arb_launcher
- added some debug messages; show debug messages
- wait for subshells in {{{listen_pipe_unlogged}}}
- call {{{arb_clean session}}} as soon as launcher thinks no arb process is running (basically fixes #492)
13 lines of code changed in 1 file:
* arb_clean
- renamed action 'targets' -> 'show_all'
- added new action 'show_session'
- both 'show_...'-actions use 'ps' to create process listing (instead of just dumping PIDs)
38 lines of code changed in 1 file:
* change callbacktype used to trigger refresh after GCs changed
- pass what has been changed (font,color only,use of color groups)
* added standard callback ({{{AWT_GC_changed_cb}}})
* {{{AWAR_COLOR_GROUPS_USE}}}
- remove client callback triggering refresh (installed by TREEDISP)
- add general callback calling {{{GcChangedCallback}}} passed to {{{AW_manage_GC}}}
- hide awar inside {{{AW_preset.cxx}}}
* effects:
- EDIT4 does refresh now when toggling use of color groups
- (several) canvases just do "expose" in case of color change (instead of "resize/zoom reset" which is needed for font changes)
114 lines of code changed in 18 files:
* remove duplicate CLOSE/CANCEL buttons (they only suggest window is modal, while it isnt)
93 lines of code changed in 8 files:
* erase commented code
0 lines of code changed in 1 file:
* erase some unused code
2 lines of code changed in 4 files:
* use typed callbacks in {{{find_first_that}}}
22 lines of code changed in 5 files:
* use typed callback in {{{ED4_with_all_loaded_species}}}
8 lines of code changed in 1 file:
* use typed callbacks in {{{route_down_hierarchy}}}
37 lines of code changed in 8 files:
* use typed callbacks in {{{ED4_cb_list}}}
28 lines of code changed in 3 files:
* disable DEBUG prints
1 lines of code changed in 1 file:
* use typed callbacks in config-manager
29 lines of code changed in 4 files:
* add new typed callback style w/o fixed argument
- add unit tests for callback style
105 lines of code changed in 2 files:
* stuff leak in static data of {{{BaseFrequencies}}}
0 lines of code changed in 4 files:
* POSVAR-SAIs shown in SINA interface were hardcoded to 'ali_16s'
- now shows all that have data in ''current'' alignment
6 lines of code changed in 1 file:
* {{{AlignDataAccess}}}:
- use factory function (ensures proper initialization; was missing for SINA interface); removed global
- use callback to get helix-string (only used in island_hopping; optional)
- store alignment-name
- add proper ctor, copy-ctor and op=
* island_hopping
- store helix-string as copy
96 lines of code changed in 6 files:
* fix range definition for islandhopper (i guess it was broken by [8614])
6 lines of code changed in 2 files:
* use typed callbacks for SAI-selectionbox-filter
51 lines of code changed in 6 files:
* remove unused AW_CL from {{{GDE_init}}}
9 lines of code changed in 7 files:
* remove unused AW_CL parameters from AWT_graphic::load/save
32 lines of code changed in 11 files:
* eliminate AW_CL from DB_SCANNER
7 lines of code changed in 1 file:
* eliminates
- old callback types ({{{AW_RCB#}}}, {{{Awar_CB#}}}, {{{AW_CB#}}})
- old ctor of {{{AW_cb}}}
- untyped versions of {{{add_callback}}}/{{{remove_callback}}}/{{{insert_help_topic}}}/{{{insert_menu_topic}}}/{{{callback}}}
- obsolete tests (is_input_callback, is_double_click_callback, is_motion_callback)
* introduce {{{AnyWinCB}}} (used for tests whether a callback is contained in a callback list)
* type mode-callback
33 lines of code changed in 8 files:
* eliminate AW_POPUP
24 lines of code changed in 4 files:
* fix area-management for opengl code
21 lines of code changed in 1 file:
* remove unused parameter from AW_area_management ctor
85 lines of code changed in 2 files:
* eliminate focus-callbacks stored in AW_root (were always NULL)
6 lines of code changed in 4 files:
* use typed callback in MACROS
13 lines of code changed in 3 files:
* few more callback fixes
6 lines of code changed in 3 files:
* {{{AW_CB0}}} -> {{{WindowCallbackSimple}}} (in WINDOW)
7 lines of code changed in 2 files:
* {{{AW_CB0}}} -> {{{WindowCallbackSimple}}}
6 lines of code changed in 4 files:
* remove other unwanted callback casts
7 lines of code changed in 5 files:
* do not cast AW_POPDOWN
171 lines of code changed in 65 files:
* use typed callbacks in MULTI_PROBE
15 lines of code changed in 5 files:
* use typed callbacks (partial binding)
- move untyped code into namespace UNTYPED
- added template wrappers (doing the type checks)
- added template-helper-struct {{{disallow_type}}}
* revealed wrong enum-types used in {{{awt_create_collect_buttons}}}
61 lines of code changed in 7 files:
- type some callbacks
18 lines of code changed in 1 file:
* max_frequency calculation had/has some 32/64bit incompatibilities (e.g. frequency of '0.700000' resulted in '69' in 32bit version and in '70' in 64bit version)
- resolved problem (at least for test-example) by adding 0.01 before double->int conversion
10 lines of code changed in 1 file: