brisk.git
12 years agoconfig from .brisk_install again
Matteo Nastasi (mop) [Wed, 28 Sep 2011 06:21:25 +0000 (08:21 +0200)]
config from .brisk_install again

12 years agofix typo in ARCHITECTURE.txt
Matteo Nastasi (mop) [Tue, 20 Sep 2011 06:04:43 +0000 (08:04 +0200)]
fix typo in ARCHITECTURE.txt

12 years agoflush wrapped to be able to do flush and ob_flush
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:25:34 +0000 (19:25 +0200)]
flush wrapped to be able to do flush and ob_flush

12 years agosome closed statement block commented
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:24:41 +0000 (19:24 +0200)]
some closed statement block commented

12 years agoadded explicit comparison with TRUE in some if statement
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:23:23 +0000 (19:23 +0200)]
added explicit comparison with TRUE in some if statement

12 years agotypo fixed in comment
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:18:44 +0000 (19:18 +0200)]
typo fixed in comment

12 years agorationalization of psql arguments starting from DB* variables values
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:16:50 +0000 (19:16 +0200)]
rationalization of psql arguments starting from DB* variables values

12 years agoversion updated to 3.5.6 3.5.6
Matteo Nastasi (mop) [Mon, 23 May 2011 13:09:50 +0000 (15:09 +0200)]
version updated to 3.5.6

12 years agoS_load_stat managed to avoid double count and remove an element from the sum
Matteo Nastasi (mop) [Mon, 23 May 2011 13:07:31 +0000 (15:07 +0200)]
S_load_stat managed to avoid double count and remove an element from the sum

12 years agoG_webserver_max var added to brisk.conf-templ.pho config template file
Matteo Nastasi (mop) [Mon, 23 May 2011 13:01:14 +0000 (15:01 +0200)]
G_webserver_max var added to brisk.conf-templ.pho config template file

12 years agodata access refactored in index_rd.php and briskin5/index_rd.php to ractionalize...
Matteo Nastasi (mop) [Mon, 23 May 2011 07:09:06 +0000 (09:09 +0200)]
data access refactored in index_rd.php and briskin5/index_rd.php to ractionalize use of exclusive locking

13 years agomissing directory creation in BIN5_PROXY_PATH dir fixed
Matteo Nastasi [Sun, 2 Oct 2011 12:06:13 +0000 (14:06 +0200)]
missing directory creation in BIN5_PROXY_PATH dir fixed

13 years agoused flock instead sem_* functions to be able to have exclusive and shared lock
Matteo Nastasi [Sun, 22 May 2011 18:05:06 +0000 (20:05 +0200)]
used flock instead sem_* functions to be able to have exclusive and shared lock

13 years agorenamed check_webservers() to webservers_check()
Matteo Nastasi [Sun, 22 May 2011 18:04:29 +0000 (20:04 +0200)]
renamed check_webservers() to webservers_check()

13 years agowebservers_exceeded() and check_webservers() functions added to change behaviour...
Matteo Nastasi [Sun, 22 May 2011 15:52:35 +0000 (17:52 +0200)]
webservers_exceeded() and check_webservers() functions added to change behaviour of page_streaming

13 years agoshift added to remove 'psql' params passed to psql command
Matteo Nastasi [Sun, 22 May 2011 15:50:38 +0000 (17:50 +0200)]
shift added to remove 'psql' params passed to psql command

13 years agoresolved conflict
Matteo Nastasi (mop) [Sat, 21 May 2011 11:43:41 +0000 (13:43 +0200)]
resolved conflict

13 years agouset user moved before load ancestor data
Matteo Nastasi (mop) [Fri, 20 May 2011 07:02:51 +0000 (09:02 +0200)]
uset user  moved before load ancestor data

13 years agois_exclusive argument added to all lock_data() functions, (exclusivity is always...
Matteo Nastasi (mop) [Fri, 20 May 2011 06:11:42 +0000 (08:11 +0200)]
is_exclusive argument added to all lock_data() functions, (exclusivity is always TRUE for backcompatibility)

13 years agostatic prefix added to really static lock and unlock _data function definitions
Matteo Nastasi (mop) [Thu, 19 May 2011 16:40:14 +0000 (18:40 +0200)]
static prefix added to really static lock and unlock _data function definitions

13 years agoversion updated 3.5.5
Matteo Nastasi (mop) [Wed, 18 May 2011 21:51:05 +0000 (23:51 +0200)]
version updated

13 years agounrecerror converted to blocking_error function
Matteo Nastasi (mop) [Wed, 18 May 2011 21:49:17 +0000 (23:49 +0200)]
unrecerror converted to blocking_error function

13 years agogarbage management refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:47:21 +0000 (23:47 +0200)]
garbage management refactored

13 years agostep management refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:45:12 +0000 (23:45 +0200)]
step management refactored

13 years agotrace_ftok added
Matteo Nastasi (mop) [Wed, 18 May 2011 21:44:00 +0000 (23:44 +0200)]
trace_ftok added

13 years agodestroy_data process completed
Matteo Nastasi (mop) [Wed, 18 May 2011 21:43:26 +0000 (23:43 +0200)]
destroy_data process completed

13 years agoinverted logic in a test
Matteo Nastasi (mop) [Wed, 18 May 2011 21:40:49 +0000 (23:40 +0200)]
inverted logic in a test

13 years agounproxy functions refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:21:21 +0000 (23:21 +0200)]
unproxy functions refactored

13 years agolog_shme() function added and DBG_SHME flag
Matteo Nastasi (mop) [Wed, 18 May 2011 21:17:52 +0000 (23:17 +0200)]
log_shme() function added and DBG_SHME flag

13 years agoBAN_TIME aligned with brish.pho value
Matteo Nastasi (mop) [Wed, 18 May 2011 16:51:11 +0000 (18:51 +0200)]
BAN_TIME aligned with brish.pho value

13 years agocheck on the definition of xhr_rd_watchdog added
Matteo Nastasi (mop) [Wed, 18 May 2011 16:50:38 +0000 (18:50 +0200)]
check on the definition of xhr_rd_watchdog added

13 years agoall shm_get_var() ret values are checked
Matteo Nastasi (mop) [Mon, 16 May 2011 06:31:00 +0000 (08:31 +0200)]
all shm_get_var() ret values are checked

13 years agoload_data return allways, all exit() calls removed, all load_data calls are protected
Matteo Nastasi (mop) [Mon, 16 May 2011 06:25:32 +0000 (08:25 +0200)]
load_data return allways, all exit() calls removed, all load_data calls are protected

13 years agounlock_data without arg fixed
Matteo Nastasi (mop) [Fri, 13 May 2011 16:39:26 +0000 (18:39 +0200)]
unlock_data without arg fixed

13 years agoall mkdir now recursive and with explicit permissions
Matteo Nastasi (mop) [Fri, 13 May 2011 16:32:46 +0000 (18:32 +0200)]
all mkdir now recursive and with explicit permissions

13 years agolifecycle added in the documentation
Matteo Nastasi (mop) [Fri, 13 May 2011 16:27:39 +0000 (18:27 +0200)]
lifecycle added in the documentation

13 years agotiming log on Challenges semaphore
Matteo Nastasi (mop) [Mon, 9 May 2011 06:17:40 +0000 (08:17 +0200)]
timing log on Challenges semaphore

13 years agosome log_lock to log_main to clean log_lock entries and SHUTTA log more understandable 3.5.4
Matteo Nastasi (mop) [Sun, 8 May 2011 13:26:15 +0000 (15:26 +0200)]
some log_lock to log_main to clean log_lock entries and SHUTTA log more understandable

13 years agoLock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:25:21 +0000 (15:25 +0200)]
Lock-meter added in log file.

13 years agoLock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:24:45 +0000 (15:24 +0200)]
Lock-meter added in log file.

13 years agosome log_lock to log_main to clean log_lock entries and SHUTTA log more understandable
Matteo Nastasi (mop) [Sun, 8 May 2011 13:24:16 +0000 (15:24 +0200)]
some log_lock to log_main to clean log_lock entries and SHUTTA log more understandable

13 years agoTrace is optionally now, Vect class added, lock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:23:14 +0000 (15:23 +0200)]
Trace is optionally now, Vect class added, lock-meter added in log file.

13 years agoadd CONFIGFILE and .brosk_install config file
Matteo Nastasi (mop) [Sun, 8 May 2011 13:22:15 +0000 (15:22 +0200)]
add CONFIGFILE and .brosk_install config file

13 years agoscript to analyze the unlock time
Matteo Nastasi (mop) [Fri, 6 May 2011 16:17:49 +0000 (18:17 +0200)]
script to analyze the unlock time

13 years ago24 vs 40 max index for choosed card bug fixed
Matteo Nastasi (mop) [Sun, 10 Apr 2011 21:48:29 +0000 (23:48 +0200)]
24 vs 40 max index for choosed card bug fixed

13 years agofix version for new tag 3.5.3
Matteo Nastasi [Sat, 2 Apr 2011 15:34:41 +0000 (17:34 +0200)]
fix version for new tag

13 years agostrlen to mb_strlen with ASCII charset to avoid binary string wrong length calculation 3.5.2
Matteo Nastasi [Sat, 2 Apr 2011 12:23:30 +0000 (14:23 +0200)]
strlen to mb_strlen with ASCII charset to avoid binary string wrong length calculation

13 years agoTODO.txt updated 3.5.1
Matteo Nastasi (mop) [Sat, 2 Apr 2011 09:55:47 +0000 (11:55 +0200)]
TODO.txt updated

13 years agoversion updated
Matteo Nastasi (mop) [Sat, 2 Apr 2011 09:55:25 +0000 (11:55 +0200)]
version updated

13 years agoAdd a check for coerency between cached and user step value.
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:51:00 +0000 (18:51 +0200)]
Add a check for coerency between cached and user step value.

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:49:40 +0000 (18:49 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:45:47 +0000 (18:45 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:44:17 +0000 (18:44 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoremoved all development error_log calls, removed many by reference operator and some...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:42:06 +0000 (18:42 +0200)]
removed all development error_log calls, removed many by reference operator and some optional logs

13 years agoversion info updated 3.5.0
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:35:34 +0000 (17:35 +0200)]
version info updated

13 years agoerror_log removed
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:34:15 +0000 (17:34 +0200)]
error_log removed

13 years agoarray for statistics added to index_rd.php
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:29:42 +0000 (17:29 +0200)]
array for statistics added to index_rd.php

13 years agochange title in header of briskin5/index_rd.php
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:29:08 +0000 (17:29 +0200)]
change title in header of briskin5/index_rd.php

13 years agogarbage expire data externalized from original data structures
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:28:38 +0000 (17:28 +0200)]
garbage expire data externalized from original data structures

13 years agoshared data modularized and splitted, room, users, tables, users at tables
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:27:46 +0000 (17:27 +0200)]
shared data modularized and splitted, room, users, tables, users at tables

13 years agopartial remove of 'by reference' operator on class objects passed to function or...
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:22:12 +0000 (17:22 +0200)]
partial remove of 'by reference' operator on class objects passed to function or copied to other vars

13 years agonew idx_orig field in User class
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:11:48 +0000 (17:11 +0200)]
new idx_orig field in User class

13 years agoBRISKIN5_ to BIN5_ constants prefix and Briskin5 to Bin5 class rename
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:04:54 +0000 (17:04 +0200)]
BRISKIN5_ to BIN5_ constants prefix and Briskin5 to Bin5 class rename

13 years agomax_players dynamically calculated
Matteo Nastasi (mop) [Sun, 27 Mar 2011 14:58:10 +0000 (16:58 +0200)]
max_players dynamically calculated

13 years agominor fix in web/index_rd.php
Matteo Nastasi (mop) [Fri, 25 Mar 2011 07:19:09 +0000 (08:19 +0100)]
minor fix in web/index_rd.php

13 years agoby reference operator removed, add unset function on room class after it's usage
Matteo Nastasi (mop) [Mon, 21 Mar 2011 07:24:51 +0000 (08:24 +0100)]
by reference operator removed, add unset function on room class after it's usage

13 years agoTODO.txt updated 3.4.4
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:02:38 +0000 (19:02 +0100)]
TODO.txt updated

13 years agosubstitute error_log with log_crit for data access statistics log
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:02:16 +0000 (19:02 +0100)]
substitute error_log with log_crit for data access statistics log

13 years agodifferential data management and statistics on data access
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:00:32 +0000 (19:00 +0100)]
differential data management and statistics on data access

13 years agolog refactoring with inline backtrace
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:59:54 +0000 (18:59 +0100)]
log refactoring with inline backtrace

13 years agoG_btrace_pref_sup var added with prefix to remove in backtrace log functions
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:56:34 +0000 (18:56 +0100)]
G_btrace_pref_sup var added with prefix to remove in backtrace log functions

13 years agoadd static prefix for lock and unlock _data methods in class room
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:53:02 +0000 (18:53 +0100)]
add static prefix for lock and unlock _data methods in class room

13 years agoUser::load_data sess parameter added
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:47:09 +0000 (18:47 +0100)]
User::load_data sess parameter added

13 years agoexternalized to file garbage timeout management
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:46:35 +0000 (18:46 +0100)]
externalized to file garbage timeout management

13 years agoadd log in User::save_data() method
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:37:05 +0000 (18:37 +0100)]
add log in User::save_data() method

13 years agoreference operator removed because class are passed by reference as default in php5
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:36:20 +0000 (18:36 +0100)]
reference operator removed because class are passed by reference as default in php5

13 years agoadd check on new argument sess where if it isn't equal to FALSE is compared with...
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:33:35 +0000 (18:33 +0100)]
add check on new argument sess where if it isn't equal to FALSE is compared with User session field and return FALSE if differ

13 years agoadd log to User::load_data function
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:40:17 +0000 (17:40 +0100)]
add log to User::load_data function

13 years agoadd sess parameter to User::load_data function
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:39:38 +0000 (17:39 +0100)]
add sess parameter to User::load_data function

13 years agostep_set and step_inc modified to modularize step var to 0x7fffffff
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:38:17 +0000 (17:38 +0100)]
step_set and step_inc modified to modularize step var to 0x7fffffff

13 years agostep_get moved into User class (as static function)
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:35:09 +0000 (17:35 +0100)]
step_get moved into User class (as static function)

13 years agoadd log to getchallenge in web/index_wr.php
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:20:02 +0000 (17:20 +0100)]
add log to getchallenge in web/index_wr.php

13 years agodoc/ARCHITECTURE.txt added where explained internals of Brisk.
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:17:09 +0000 (17:17 +0100)]
doc/ARCHITECTURE.txt added where explained internals of Brisk.

13 years agoversion updated 3.4.3
Matteo Nastasi (mop) [Tue, 15 Mar 2011 07:57:37 +0000 (08:57 +0100)]
version updated

13 years agoticker management refactored
Matteo Nastasi (mop) [Tue, 15 Mar 2011 07:55:14 +0000 (08:55 +0100)]
ticker management refactored

13 years agobrisk.phh: current variable renamed from e to i because this part of code is function...
Matteo Nastasi (mop) [Tue, 15 Mar 2011 07:50:55 +0000 (08:50 +0100)]
brisk.phh: current variable renamed from e to i because this part of code is functionalized

13 years agoto verify the equality of users use users idx instead of users reference
Matteo Nastasi (mop) [Mon, 14 Mar 2011 20:25:17 +0000 (21:25 +0100)]
to verify the equality of users use users idx instead of users reference

13 years agoisset added to verify if class User comm array element is set or not
Matteo Nastasi (mop) [Mon, 14 Mar 2011 20:21:52 +0000 (21:21 +0100)]
isset added to verify if class User comm array element is set or not

13 years agoremove all reference operator because with php5 pass by reference is the default...
Matteo Nastasi (mop) [Mon, 14 Mar 2011 20:20:53 +0000 (21:20 +0100)]
remove all reference operator because with php5 pass by reference is the default for classes

13 years agowag_own table field behavior changed from User pointer to User index into room array
Matteo Nastasi (mop) [Mon, 14 Mar 2011 20:08:21 +0000 (21:08 +0100)]
wag_own table field behavior changed from User pointer to User index into room array

13 years agosetPlayer getPlayer renamed in player_set, player_get methods in Table class (brisk...
Matteo Nastasi (mop) [Mon, 14 Mar 2011 19:43:59 +0000 (20:43 +0100)]
setPlayer getPlayer renamed in player_set, player_get methods in Table class (brisk.phh)

13 years agoVersion updated. 3.4.2
Matteo Nastasi (mop) [Sat, 12 Mar 2011 14:12:40 +0000 (15:12 +0100)]
Version updated.

13 years agopull conflicts solved
Matteo Nastasi (mop) [Thu, 10 Mar 2011 22:34:31 +0000 (23:34 +0100)]
pull conflicts solved

13 years agoG_false reference and all explicit pass by references removed 3.4.1
Matteo Nastasi (mop) [Thu, 10 Mar 2011 22:24:21 +0000 (23:24 +0100)]
G_false reference and all explicit pass by references removed

13 years agofirst shmem split
Matteo Nastasi (mop) [Thu, 10 Mar 2011 18:00:29 +0000 (19:00 +0100)]
first shmem split

13 years agocreate static method in BriskDB function to allow constructor fail and manage of... 3.4.0
Matteo Nastasi (mop) [Mon, 7 Mar 2011 07:31:22 +0000 (08:31 +0100)]
create static method in BriskDB function to allow constructor fail and manage of the failure in the code

13 years agopiped target added for multiple select
Matteo Nastasi [Tue, 1 Mar 2011 04:48:34 +0000 (05:48 +0100)]
piped target added for multiple select

13 years agoz-index bug fixed
Matteo Nastasi [Sat, 26 Feb 2011 13:29:34 +0000 (14:29 +0100)]
z-index bug fixed

13 years agoBriskDB and DBConn classes now have a static constructor method that can be failed
Matteo Nastasi (mop) [Thu, 24 Feb 2011 07:59:19 +0000 (08:59 +0100)]
BriskDB and DBConn classes now have a static constructor method that can be failed

13 years agoTODO.txt updated
Matteo Nastasi (mop) [Thu, 24 Feb 2011 07:57:12 +0000 (08:57 +0100)]
TODO.txt updated