Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-17 | reindent | Marc Espie | |
2007-09-17 | reindent, zap useless comments | Marc Espie | |
2007-09-17 | kill += 1, -= 1 -> ++, -- | Marc Espie | |
2007-09-16 | finish reindenting str.c | Marc Espie | |
2007-09-16 | remove some totally useless comments | Marc Espie | |
2007-09-16 | remove some of the complexity of Str_Matchi by separating code into | Marc Espie | |
range_match and star_match to handle special characters. reindent. | |||
2007-09-16 | reindent | Marc Espie | |
2007-09-16 | reindent | Marc Espie | |
2007-09-16 | remove old debug code nothing uses | Marc Espie | |
2007-09-16 | reindent compat.c | Marc Espie | |
2007-09-16 | reindent targ.c | Marc Espie | |
2007-09-16 | rename dirSearchPath -> defaultPath, and openDirectories -> knownDirectories | Marc Espie | |
2007-09-16 | minor reindent issues | Marc Espie | |
2007-09-16 | rename Path to less misleading PathEntry. Get rid of typedef. | Marc Espie | |
2007-09-16 | rename Targ_FmtTime into time_to_string and move it, as it's not related | Marc Espie | |
to target nodes at all (reduces modules inter-dependencies) | |||
2007-09-16 | reindent varmodifiers.c, no binary change | Marc Espie | |
2007-09-16 | remove warnings | Marc Espie | |
2007-09-16 | reuse free_hash | Marc Espie | |
2007-09-16 | reindent arch.c | Marc Espie | |
2007-09-16 | kill .SHELL, make doesn't even support it in non-parallel mode. | Marc Espie | |
2007-09-16 | move free_ohash function so that we can reuse it. | Marc Espie | |
2007-09-16 | first step towards sanity: take the functions common to parallel/not parallel | Marc Espie | |
make outside of make.c and job.c, and create an engine.c file to hold them. | |||
2007-09-16 | scaffolding to recognize special targets/sources using ohash functions. | Marc Espie | |
2007-09-16 | cut up dir.c into dir.c/direxpand.c as there is very little interface between | Marc Espie | |
two modules that do different things. | |||
2007-09-16 | more dead code: we always define LIBRARIES and INCLUDES | Marc Espie | |
2007-09-16 | remove dead code: #define RECHECK is always on | Marc Espie | |
2007-09-03 | use calloc() for the sake of regularity, prompted by deraadt@ | Marc Espie | |
Note that I *still* fill every pointer with explicit NULL, for portability. filling with 0 bytes is not necessarily the same as NULL pointers. | |||
2007-08-05 | fix curly in targets... broke it and no-one saw the difference, so it's | Marc Espie | |
probably not used that often. | |||
2007-07-30 | introduce a Var_Substi to substitute on intervals. | Marc Espie | |
Since we don't really know how to change Var_Subst and dependent functions, we cheat, and copy the string to a buffer instead. Clean-up the parser a bit: reorganize the include files lookup function: introduce a resolve_include_filename function that figures out the full name of the file, introduce a handle_include_file that does all the include file handling, and rename the functions into handle_xxx_include, so that we can remove most comments. Rename ParseIsCond into handle_bsd_command, cut most of its code into constituent functions. Semantic changes: - follow the rules that, if an optional construct does not parse correctly, then it's not a real extension, and give the normal parser a chance to figure it out. If the syntax checks out, semantic errors ARE real errors. - allow variables to not be defined in include file names, no reason not to. okay miod@ | |||
2007-07-30 | everywhere except in Var_Parse, we always add/append variables to the | Marc Espie | |
VAR_GLOBAL context, so make it the common case: rename the basic functions to Var_Set_with_ctxt/Var_Append_with_ctxt, define Var_Set and Var_Append as macros that specify VAR_GLOBAL, and use these. okay miod@ | |||
2007-07-30 | local is always true, so zap it. | Marc Espie | |
okay miod@ | |||
2007-07-30 | now that it's clean enough, one can extract some common code from | Marc Espie | |
Var_Parse and Var_ParseSkip (the code that figures out the variable name up to eventual modifiers). okay miod@ | |||
2007-07-30 | clean-up. Basically: | Marc Espie | |
- remove globals curdir and objdir, stuff them into a structure, and pass it around to the relevant functions. - cut up most of main code into functions: figure_out_MACHINE/ARCH, figure_out_CURDIR, setup_CURDIR_OBJDIR, setup_VPATH, no_fd_limits, read_makefile_list, read_all_make_rules... - simplify the code used to figure out curdir/objdir. No semantic changes. okay miod@ | |||
2007-07-30 | separate and name functions to add target nodes to the graph. | Marc Espie | |
okay miod@ | |||
2007-07-30 | simplify the handling of assignment operators, by introducing a VAR_INVALID | Marc Espie | |
state and using it, leading to a simpler loop and less code. okay miod@ | |||
2007-07-29 | reindent, no code change | Marc Espie | |
2007-07-24 | reindent, no binary change | Marc Espie | |
2007-07-24 | reindent (no binary change) | Marc Espie | |
2007-07-24 | reformat to 8 chars tab, zap unneeded comment (no binary change) | Marc Espie | |
2007-07-24 | zap unused variable | Marc Espie | |
2007-07-24 | simplify computations in the var module: instead of advancing a char * | Marc Espie | |
and keeping track of a length, we just advance the char *, and ditch the length. We can still get the length at the end of the top-level functions to satisfy existing interfaces. Much simpler code, less error-prone. Okay millert@ | |||
2007-07-24 | move the code that grabs a value in Var_Parse in its own function, | Marc Espie | |
get_expanded_value. Extend the code a bit to be much more thorough in case of a recursive expansion: shows exactly the cycle of variable names involved. okay millert@ | |||
2007-07-24 | change Var_ParseSkip API to increment the position instead of returning a | Marc Espie | |
length, simplifies code. (warns a bit, symptom of some further issues to fix). okay millert@ | |||
2007-07-22 | make sure loop variables use their own buffers. | Marc Espie | |
(causes .for loops to give weird results very infrequently, memory handling was slightly wrong, but not enough to break things thoroughly). noticed by naddy@ | |||
2007-07-21 | even though gcc doesn't reuse the utsname space, it could. Ensure MACHINE | Marc Espie | |
stays defined. | |||
2007-07-21 | zap unneeded stuff | Marc Espie | |
2007-07-20 | big clean-up patch: | Marc Espie | |
- rename a few functions in var.c to names that make more sense. - introduce Var_Deletei because it makes more sense. - rewrite .for loops to use a local LoopVar construct to avoid looking up more stuff. - reformat var.c to near K&R - rewrite most comments in var.c shown to a few people. millert@ gave me his okay since it passes through ports correctly. | |||
2007-07-20 | reorder stuff in var.c so that the next patch is more readable. | Marc Espie | |
2007-07-17 | comment snicky usage of strchr | Marc Espie | |
2007-07-09 | espie, you have got to be joking | Theo de Raadt | |