~hww3/caudium

ref: 93d5a75fba08db71b832716377276978cdd7888d caudium/README.API -rw-r--r-- 1.8 KiB
93d5a75fWilliam Welliver storage: method "None" was missing stop function. should fix error on shutdown 1 year, 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
API Changes inside Caudium 1.4
------------------------------

There are several API that have changed between Caudium 1.2 and 1.4.
Some of them are comming from the Caudium Group developpers, because of
optimizations or some other reasons.
There is also some code that are now inside Pike so we have here a list
of what have been changed.

Pike API changes
----------------

Caudium 1.4 need Pike 7.6. This implies lots of change inside the low
level language that is used both inside piketag code and modules code.

We have tryed to provide some important calls inside compatlib.pike, but
all of them cannot be "emulated" so, check your code if you are making some
<pike></> or modules.

Summary of changes from Pike 7.2 to 7.6 are located here 
http://pike.ida.liu.se/download/notes/

Please have a look to theses releases notes because some of your code can 
break if you rely on some of theses changes.

But there is come old pike emulation code that is handled if you use 
caudiumlib. The caudiumlib, is in fact now made of two libs : compatlib and
caudiumlib14.

The compatlib write a warning in the debug log everytime it finds a "old API"
code that should be replaced to a newone. 

WARNING: compatlib can SLOW your caudium webserver if you don't fix the
         code / module to new API.
         You can remove the warning messages from debug log by adding
         SILENT_COMPAT to 1 inside etc/include/performance.h, but this
         NOT recommanded, since this compat lib API calls can be removed
         in future releases of Caudium.


new()		is now handled by	(program) cast
clone()		is now handled by	(program) cast
getpwent()	is now handled by	System.getpwent()
endpwent()	is now handled by	System.endpwent()
setpwent()	is now handled by	System.setpwent()
rusage()	is now handled by	System.getrusage()


Caudium API changes
-------------------

TODO

$Id$