kevin day [Sun, 4 Mar 2012 01:31:14 +0000 (19:31 -0600)]
Update: relocate the 'strategy' variable
Why waste space by putting the strategy in every variable.
Sure it can be very convenient and is probably a good object-oriented approach, but favor simplicity in this the variable typedef.
The cost of doing this is making the function call less simple by adding an additional parameter.
Do not alter the function disabling macros.
Allow for forcing secure or insecure on individual blocks of code by removing the function disabling macros.
The following should not be possible:
int main(){
normal_allocations();
Kevin Day [Thu, 1 Mar 2012 04:51:38 +0000 (22:51 -0600)]
Update: initialize string locations to {1, 0}
This is done so that the start position is always after the stop position.
In such a case, this means that the range is undefined.
Originally. -1 was used, but that does not work if the position integers are unsigned.
Using {1, 0} allows for assigning an undefined state with unsigned integers.
Also note that the default of {0, 0} means start at 0 and stop at 0, which would return the value at position 0 and no other values after that first value.
Kevin Day [Thu, 1 Mar 2012 03:36:13 +0000 (21:36 -0600)]
Update: add f_array_length_small and f_array_length_large
This adds short and long versions of the f_array_length typedef.
Having this provides additional context granularity so that the size of arrays can be more easily adjusted to suit ones needs at compile time.
Kevin Day [Thu, 1 Mar 2012 01:29:07 +0000 (19:29 -0600)]
Update: replace f_string_length with f_array_length where appropriate
The f_string_lengths length variable should be an f_array_length (this would otherwise be called f_string_lengths_length)
Replace all code that used the f_string_lengths length variables with f_array_length.
Kevin Day [Thu, 1 Mar 2012 01:05:49 +0000 (19:05 -0600)]
Update: add f_array_length typedef
It makes more sense to define a default array length size variable instead of using things like f_string_length for the lenght variable that represents string lengths.
It is also easier to read than doing something like f_string_length_length.
Kevin Day [Tue, 28 Feb 2012 01:43:54 +0000 (19:43 -0600)]
Import Commit: mass import fll project
This is not an import from the svn repository, but instead an import from the latest individual 0.2.* release for each project.
This also has a few patches that I had applied or backported from kevux to fix bugs in the latest official releases.
I did this because I am completely out of sync with whatever I was doing in the project.
I was probably in the middle of making some major changes, but I do not remember what they were.
Therefore, I am starting on a hopefully stable base to pick up from.