Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 70
Profiling support added
* To use the benefits of profiling, set PROFILING=<target>
* eg: mbroeker@localhost $ make -e PROFILING=linux
* mbroeker@localhost $ export PROFILING=linux && make
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 69
Useless cross_getch hack removed
cross_getch provides a version of getch for every os.
The Windows Part does not work under wine, but it works
on the target platform.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 68
Trivial Changes
I have made trivial changes to the fts component and renamed the
set_limit function to set_proc_limit. It makes it clear that
we are dealing with LIMIT_NPROC and not LIMIT_AS settings.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 67
file traversal demo && minor changes
Traversal through a filesystem hierarchy made easy
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:28 +0200] rev 66
Common Makefile Style NAME += OBJECT
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 65
GNU Indent cannot handle C++ Source Files...
I like GNU indent. I like it so much that i use it for all my projects.
But it doesn't work with C++ sources. To avoid further problems, all C++
Headers will be renamed from *.h to their *.hpp counterparts.
mbroeker
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 64
FORK ERROR in prog_limit and mem2swap:
execve overrides the current PID
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 63
uint vs size_t and two bugfixes in fak and unicode
* Better Description of copy.cc
* mem2swap throws a perror on failure
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 62
unicode.c added and myprintf improved
* unicode.c: handle unicode input
* myprintf.c: we need the printf family...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 61
Lazy BNF / EBNF Help Messages
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 60
Memory Management
* myprintf.c: Dynamic Memory allocation added
* prog_limit: fixed a segfault
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 59
getpwnam_error.c:
* The memory hole can be fixed with two different approaches
1) Change /etc/nsswitch.conf: passwd: compat to passwd: files
2) LD_PRELOAD=/lib/libnss_compat.so.2 valgrind ./getpwnam_error
GLIBC loads libnss_compat on the fly and unloads it.
Thanks to telexicon for reporting this...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 58
myprintf.c added - replaces varargs.c
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 57
duff.c:
* Large String support added
* parameter num renamed to len
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 56
Short Description
* duff.c Duffs Device, a fast copy algorithm
* crypt.c the Salt was to short.
* files.c massive directory creation
* fork.c a small fork demo
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 55
Console aborts with return code -1 on error
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 54
Vector and PMC ChangeLog
* global var refCounter counts the objects
* Copy Constructor implemented
-> Surface cannot be copied ==> CC disabled
-> Vector can be copied -> shows a warning
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 53
getch.c renamed to cross_getch.c
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 52
getch name conflict on windows platform
* ::getch works for c++ in db_bridge, not here.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 51
base10.c added and set_limit changed
* base10: Divides a value into a power of 10
* set_limit: parameter changed to MB Values.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 50
khello: a nice kernel module
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 49
libConsole: a java native interface example
* getch: unbuffered character input
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 48
Policy Inonsistency on many files
* Whenever a piece of software terminates unexpected,
* catched or not, with a help screen or not,
* it indicates an ERROR and the software
==> return(s) EXIT_FAILURE
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 47
tree is a list :P
* anyway, some changes here
-> a struct T consumes sizeof(struct T) of memory
-> actual wasn't really needed here. thrown away.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 46
pmc: Screen Depth Fix: Paint on 8, 16 and 32 bpp
* a crocked rectangle and cube
* new color settings and better oow protection
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Emilio Largo <largo@largo.homelinux.org> [Thu, 16 Apr 2009 12:49:12 +0200] rev 45
pmc: namespace algebra for vector
-> the namespace prevents clashes with std::vector
-> std::vector and algebra::Vector with capital V.
md5: a md5 replacement
ncurses: keypad function added
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Emilio Largo <largo@largo.homelinux.org> [Thu, 16 Apr 2009 12:49:12 +0200] rev 44
md5.c renamed to md5rec.c
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 43
vector.cc Testcase
-> Eine Referenz ist günstiger bei Vektoren
-> move ist ohne Referenz flexibler
-> Es werden weniger Objekte erzeugt und dementsprechend auch wieder zerstört.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 42
Klassenhierarchie erneuert, Codebase erneuert
* Object -> Drawable -> ...
* Surface stellt eine SDL Schnittstelle bereit
* namespace pmc wurde aufgegeben
* DEBUG Option im Makefile
Bekannte Fehler:
* Jedes Drawable muss wissen und checken, ob es gezeichnet werden kann oder nicht
* Diese *P[i] = *P[i] + location Konstrukte machen mich irgendwie nervös...
-> operator* entfernt...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:12 +0200] rev 41
xml parsing demo
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 40
db_bridge:
* libstdc++ for g++-4.3:
* cstdlib for getenv and friends...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 39
Project Parser
* c_compiler from http://www.csd.uwo.ca/courses/CS447a/parts/ansi-c-grammar/
* calc from the bison documentation
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.localnet> [Thu, 16 Apr 2009 12:49:11 +0200] rev 38
Project Split finished
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.localnet> [Thu, 16 Apr 2009 12:49:11 +0200] rev 37
demos/parser
* calc
* c_compiler
I want to rescue the history of the calc files...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 36
cube.cc:
* Create an object, move this object.
* don't try to re-create an object of a fixed size...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 35
Here is the spoon...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 34
the good, old programming error:
* spoon= alloc(data, spoon);
* free(spoon); -> there is a spoon (missing)
Code indent with my buggy GNU Indent
* -> PLEASE GUYS, FIX IT!!
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 33
getpwnam_error:
* getpwnam allocates memory for the struct and there is no way to free it.
* it seems to be a bug in the library function.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 32
crypt extended
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:11 +0200] rev 31
wiki synchronisation
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:04 +0200] rev 30
kleiner auffschrischungskurs compilerbau...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:47:59 +0200] rev 29
indent -bad changed to -nbad:
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485764
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:47:18 +0200] rev 28
cstdlib declares EXIT_SUCCESS and EXIT_FAILURE in c++
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:47:18 +0200] rev 27
typo in min2time format string
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:46:53 +0200] rev 26
convert minutes to timestamps
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:17 +0100] rev 25
sort demo added
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:17 +0100] rev 24
function pointer demo added
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:16 +0100] rev 23
this seems to be the proper way under ms, but it won't work under wine
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:15 +0100] rev 22
mysql_db is untested because we have no sponsor with a mysql database
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:14 +0100] rev 21
console functions work fine under linux and not under windows
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:13 +0100] rev 20
getpass for windows does not work
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:11 +0100] rev 19
namespace console added for console tools, password entry and other stuff
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:10 +0100] rev 18
conninfo construction error fixed
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:09 +0100] rev 17
I have improved the connection info and cleaned something up.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:08 +0100] rev 16
I extended the usage screen with help messages
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:07 +0100] rev 15
db_bridge acts as an interactive sql monitor
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:06 +0100] rev 14
the long vector needs a typedef
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:06 +0100] rev 13
clear() is better than resize(0)
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:05 +0100] rev 12
I added a small db_bridge to the repository
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Sat, 13 Dec 2008 17:58:04 +0100] rev 11
c++ file copy demo added
committer: Markus Bröker <mbroeker@largo.homelinux.org>