* fix #149
- Decompress *.ps.gz to /tmp/...ps, instead of piping into gv
26 lines of code changed in 1 file:
- made depends for [5708]
778 lines of code changed in 48 files:
* backtrace gets printed to console from
- GB_internal_error
- SIGSEGV (currently GB_login installs the handler using GBK_install_SIGSEGV_handler. Most likely needs to be called manually for some executables)
- GBK_terminate
* added GBK_dump_backtrace, GBK_terminate and GBK_assert_msg
* Default assertion dumps backtrace now
* added -rdynamic and --export-dynamic compiler/linker flags, leaving symbols in code. This raises size of executables by approx. 8%, but we will get meaningful backtraces from users.
* removed old inactive SIGSEGV code
* replaced GB_CORE either by xx_assert() or GBK_terminate()
* removed GBS_do_core (was used conditionally together with GB_CORE)
* disabled crash provoked via arb_panic (using 'core' as savename)
* Linkage changed:
- The future plan is to try some kind of emergency save on open DBs when GBK_terminate or similar is called.
- Since arb_assert calls GBK_terminate this affects ALL applications.
- The drawback is all executables have to be linked vs ARBDB (done with: arb_help2xml and arb_convert_aln, all others already had ARBDB linked)
- Molphy uses #define SIMPLE_ARB_ASSERT before including arb_assert.h
* renamed define GBL_INCLUDED -> ADLOCAL_H
* added arbdb_base.h (defining some types and including ad_k_prot.h, which contains all GBK_*-functions). Intended as minimal and seldom changed interface to libARBDB as needed by arb_assert(), to keep build dependencies low.
* arb_assert.h now automatically includes arbdb_base.h
* trigger compilation of test functions in parsimony via define
538 lines of code changed in 53 files:
* added '-c comment' switch to aisc_mkpt (writes comment to header)
* removed patchlev.h (really not used)
* less calls to (f)printf/fputs
107 lines of code changed in 8 files:
* added gbs_vglobal_string_copy and used it to simplify GBS_global_string_copy and GB_warning
* free oversized GBS_strstruct's
* skip unneeded call to strlen in GBS_strnprintf
49 lines of code changed in 1 file:
- removed more outdated code
0 lines of code changed in 54 files:
- removed demo and test targets (completely out of date)
3 lines of code changed in 21 files:
- target 'proto' now only updates if necessary
- updated prototypes
2 lines of code changed in 2 files:
- dead "code"
0 lines of code changed in 1 file:
* Increasing QUERYHITSHASHSIZE to avoid realloc() (needed for SSUParc'95, cttgtacacaccgcccgt, 5 mismatches)
1 lines of code changed in 1 file:
* Removing OpenDataBase() from main to LoadSpecies(). Arbdb access is
* now only needed in LoadSpecies() and since we can't close arbdb, this
* saves us lots of memory when we're not building the tree.
7 lines of code changed in 2 files:
* Removing #ifdef DEVEL_JB and making the code default
17 lines of code changed in 1 file:
- fixed syntax for error messages created by GB_export_IO_error()
- redesign comment
21 lines of code changed in 5 files:
* removing COMPRESSSEQUENCEWITHDOTSANDHYPHENS #ifdefs and making it default
5 lines of code changed in 6 files:
* added functions to handle temporary files
- GB_unique_filename (used pid of current process. before in most cases $ARB_PID was used, but that is only useful for arb_panic and arb_clean functionality. For normal tempfiles pid is the better choice - otherwise two processes of one ARB instance could generate the same tempfile name)
- GB_create_tempfile
- GB_fopen_tempfile
- GB_is_privatefile (function for testing whether tempfiles have correct permissions - especially those tempfiles pre-generated by GB_create_tempfile and overwritten later by a shell script)
* added GB_read_fp (similar to GB_read_file, but works on open filepointer)
* added GB_append_suffix
* added GB_remove_on_exit (removes files at program exit)
* rewrote all functions creating temporary files. Files are opened in private mode (user only read/write) now and are properly removed after usage or when program exits.
* bug-fixes:
- GB_size_of_file(NULL)
- GB_split_full_path (returned name as suffix if no suffix was present. Now returns NULL)
- awt_get_selected_fullname returned /print.ps (instead of using cwd)
* replaced String() by strdup() in GDE
* fixed several calls to GB_unlink()
* removed GB_getuid / GB_getpid
* tweaked arb_panic (panicfile is private now! modified output and added cmd killall)
* help-search now ignores comment lines in helpfiles
* rewrote exporter (cause it was impossible to correctly handle tmp-files). Automatically appends suffix to outputfilename.
* improved error handling in several functions
* file selection boxes refresh automatically if directory modtime changes
* When exporting frequencies from arb_phylo, dont write 3 files to tmp (of which 2 were always empty) - write only the one with content. I dont know what the file is good for, but since it is removed on exit now, it doesnt do any harm.
1666 lines of code changed in 30 files:
Bugfix
1 lines of code changed in 1 file:
* changed return type of CompressSequenceWithDotsAndHyphens
* removed use of CacheLoadData when compiling with COMPRESSSEQUENCEWITHDOTSANDHYPHENS to reduce memory usage
* introduced ALLOWDOTSINMATCH
127 lines of code changed in 6 files:
* distinguish between create_all_awars() in ARB_NT and ARB_PARS
* describe where to create awars
36 lines of code changed in 4 files:
- create local input mask directory w/o warning
9 lines of code changed in 1 file:
- fail on slow hash (but not for very small hashes)
4 lines of code changed in 1 file:
- first init gb_main, then use it to open transaction :)
2 lines of code changed in 1 file:
- ignore bin dir
1 lines of code changed in 1 file:
Fixed indentation
743 lines of code changed in 1 file:
Bugfix for databases without Ecoli Sequences.
21 lines of code changed in 2 files:
Added a comment.
4 lines of code changed in 1 file:
Save full names of Species and Ecoli alignment into *.arb.pan file, to
avoid arbdb access when not building tree. Saves lots of Memory
75 lines of code changed in 3 files:
Fixed indentation.
32 lines of code changed in 1 file:
Fixed indentation
13 lines of code changed in 1 file:
Removed checkpointing when compiling with
COMPRESSSEQUENCEWITHDOTSANDHYPHENS
2 lines of code changed in 1 file:
Removed checkpointing when compiling with
COMPRESSSEQUENCEWITHDOTSANDHYPHENS
18 lines of code changed in 4 files:
Added a comment
Removed #ifdef DEVEL_JB #else (...) #endif - GBS_stropen(...) works
very well
4 lines of code changed in 1 file:
Changeing COMPRESSSEQUENCEWITHDOTSANDHYPHENS to speed up building
process and reduce memory consumption
23 lines of code changed in 2 files:
* fixed bug in GBS_read_dir (produced wrong paths)
* Select add. field: 'None' -> 'None (only 'acc')'
6 lines of code changed in 2 files:
- removed automatic timestamps (the best they were good for, were vc-conflicts)
0 lines of code changed in 159 files:
- gcc 4.3.2 fix
1 lines of code changed in 1 file:
* added GBS_global_string_to_buffer + GBS_last_global_string_size
* avoid intense buffer usage in path functions (introduced by [5648])
* GBS_global_string_copy: use GB_strduplen with size generated by gbs_vglobal_string
* aw_str_2_label:
- always called twice with same arguments (due to macro-callers)
- store result internally and reuse it
* store config in NTREE-NDS now only stores current 10 entries
96 lines of code changed in 5 files:
* fixed target 'bclean' and renamed into 'binclean'
* added target 'objclean'
* spelling in 'help'
18 lines of code changed in 1 file:
* dont create existing directories
10 lines of code changed in 1 file:
* fix GB_split_full_path:
- path w/o trailing '/'
- name w/o trailing '.'
- suffix w/o leading '.'
* rewrote GB_create_directory(): use POSIX instead of shell
26 lines of code changed in 2 files:
* fixed compare of floats
3 lines of code changed in 1 file:
* added GB_system (returning GB_ERROR)
* replaced all occurances of system in ARBDB
* force results to be used for some functions using GB_system (unused result warnings not fixed yet)
73 lines of code changed in 6 files:
- added transfig
2 lines of code changed in 1 file:
- any existing arb*test*.c[xx] file is automatically compiled. Use this to write quick test programs w/o the need to change the Makefile
3 lines of code changed in 1 file:
- removed test code
0 lines of code changed in 3 files:
* Removed arb_ale relicts
* Removed useless scripts in util
16 lines of code changed in 36 files:
- added new target 'relocation'. Make it to fix things w/o complete rebuild, after you have relocated the ARBHOME directory.
8 lines of code changed in 1 file:
* fixed memleak introduced with [5661]
4 lines of code changed in 1 file:
* added GB_split_full_path()
* AWT_append_suffix and AWT_get_suffix: renamed, made local, rewritten
* changed a few filename generations
70 lines of code changed in 6 files:
- generally use GBT_read_name() where possible
- recoded several functions
551 lines of code changed in 40 files:
- moved DB access for experiments to ARBDB
91 lines of code changed in 11 files:
rm empty dirs
0 lines of code changed in 18 files:
byebye SEER
3 lines of code changed in 6 files:
elmar:
awt_add_new_changekey_to_keypath gibt eine Warnung als GB_ERROR zurueck.
Seit r5625 loest ein GB_ERROR einen rollback aus, d.h. z.B. import und
merge gehen nicht mehr.
4 lines of code changed in 1 file:
* GBT_read_name:
- returns 'const char *' now
- never returns NULL (instead returns '<unnamed species>' etc.)
* GB_read_key_pntr/GB_read_key:
- never returns NULL (instead returns '<invalid key quark=##>')
- same for GB_read_key()
155 lines of code changed in 13 files:
changing prefix from "PT_" to "PP_" (for PtPan)
6 lines of code changed in 1 file:
MAXBOND erwartet laut PT.aisc ein double, kein int. Der Wert wird IIRC
ohnehin nicht beachtet, aber er sollte schon die richtige groesse haben.
Sonst GB_CORE in AISC/C/client.c:645.
thx 2 elmar
1 lines of code changed in 1 file:
Prefixed some functions with "PT_" to avoid same name.
removed a TODO
7 lines of code changed in 1 file:
* cleanup
0 lines of code changed in 1 file:
* added warning
3 lines of code changed in 1 file:
* for some unknown reason makedepend left a Makefile.bak in ptpan. added code to remove it
* dont mask known makedepend flags
3 lines of code changed in 2 files:
* moved AWT_get_full_path() + AWT_concat_full_path() to ARBDB
* rewrote GBS_read_dir() using opendir/readdir (instead of calling 'ls')
* changed result of GB_is_...(): int -> GB_BOOL, added GB_is_readablefile()
* added GB_path_in_ARBLIB() + GB_path_in_ARBHOME()
* removed GBS_free_names() (same as GBT_free_names())
* Pressing 'Auto detect' again, selects next matching import filter. added some advices
564 lines of code changed in 18 files:
* typo
* updated prototypes
4 lines of code changed in 2 files:
* replaced GB_mergesort() and GBT_quicksort() by GB_sort()
* implemented GB_sort() using qsort(). current qsort is implemented as intronsort, which has mean AND worst case complexity O(N*log N), w/o the memory complexity of mergesort.
* fixed constness of compare function type (hash and array)
* added and using standard comparators (GB_string_comparator, GBS_HCF_sortedByKey)
* fixed/reimplemented several custom comparators
207 lines of code changed in 19 files:
save compressed aligment of species (with dots and hyphens) to speed up
probe_match
increaced filename buffer
12 lines of code changed in 1 file:
Fixing calculation of ps_SeqDataCompressedSize
removing debug output
2 lines of code changed in 1 file:
save compressed aligment of species (with dots and hyphens) to speed up
probe_match
218 lines of code changed in 4 files:
save compressed aligment of species (with dots and hyphens) to speed up
probe_match
150 lines of code changed in 1 file:
- make perl was broken since [5637]
11 lines of code changed in 1 file:
* write-protect generated ARB.xs to protect myself from changing it
* type-fix
4 lines of code changed in 2 files:
* added handcoded perl replacements for GBT_read_int + GBT_read_float
* added "generated"-note to ARB.xs
42 lines of code changed in 2 files:
* class GB_transaction:
* replaced abort() by close(error). close() is similar to GB_end_transaction()
106 lines of code changed in 19 files:
* Added __ATTR__USERESULT
* attributed some functions in ARBDB with __ATTR__USERESULT.
Should be done with all functions returning GB_ERROR, to fix error handling
* Removed some useless GB_ERROR return types (always returning NULL)
62 lines of code changed in 11 files:
* svnignore .a
* fixed depends
214 lines of code changed in 1 file:
awt_scanner_scan_rek uses GBS_strstruct
32 lines of code changed in 1 file:
added ctags, removed indent
1 lines of code changed in 1 file:
* fixed a few gcc 4.3.2 warnings
43 lines of code changed in 12 files:
* removed redundant sections
* added PTPAN=2 (compile both, use old)
44 lines of code changed in 2 files:
* removed functions GBT_search_[string,int,float]. They implemented mostly the same as
GBT_read_[string,int,float]2.
* changed GBT_read_[string,int,float]2 to GBT_readOrCreate_[string,int,float]
* Added GB_searchOrCreate_[string,int,float] = find db entry or create one with default
* GBT_write_[string,int,float] now asserts that the DB field is singular (i.e. no other field
with the same key exists in the fields container).
Avoids a common error: Not testing whether the field already exists, creating a duplicate of
the field, but continue reading the first instance of the field.
* changed result type of GBT_read_int and GBT_readOrCreate_int from 'long' to 'long*'. Usage needs
additional deferenciation, but transports error-status by returning 0. Not handling such an error
results in SIGSEGV now.
Same for GBT_read_float, GBT_readOrCreate_float (double -> double*).
* added GBT_readOrCreate_char_pntr, GBT_read_char_pntr and GBT_read_as_string
* reimplemented GBT_create_species, GBT_create_species_rel_species_data, and GBT_create_SAI
using new function GBT_create_item.
* GBT_set_default_alignment did not do anything if "presets/use" was missing. fixed
* removed local function gbt_save_entry (same as GBT_write_string)
* gb_search() returns NULL and sets error when field to create exists with a different type.
Before it deleted the old field and created a new one.
546 lines of code changed in 19 files:
static scope
1 lines of code changed in 2 files:
static scope
4 lines of code changed in 3 files:
* added convenience functions:
- GB_end_transaction()
- GB_end_transaction_show_error()
- AW_window::hide_or_notify()
* improved error handling in several functions
* cleaned up obsolete code
1940 lines of code changed in 54 files:
changing indentation of probe match results (for species ids >99999)
3 lines of code changed in 1 file:
Fixed sorting bug (rounding error)
Added some asserts
12 lines of code changed in 1 file: