about summary refs log tree commit diff stats
ModeNameSize
-rw-r--r--.hgtags495log stats plain blame
-rw-r--r--LICENSE1192log stats plain blame
-rw-r--r--Makefile1542log stats plain blame
-rw-r--r--README1096log stats plain blame
-rw-r--r--client.c8698log stats plain blame
-rw-r--r--config.arg.h2432log stats plain blame
-rw-r--r--config.default.h2472log stats plain blame
-rw-r--r--config.mk472log stats plain blame
-rw-r--r--draw.c4588log stats plain blame
-rw-r--r--dwm.12978log stats plain blame
-rw-r--r--dwm.h3428log stats plain blame
-rw-r--r--dwm.html5334log stats plain blame
-rw-r--r--dwm.png373log stats plain blame
-rw-r--r--event.c8489log stats plain blame
-rw-r--r--favicon.ico198log stats plain blame
-rw-r--r--main.c7486log stats plain blame
-rw-r--r--tag.c2484log stats plain blame
-rw-r--r--util.c1164log stats plain blame
-rw-r--r--view.c4355log stats plain blame
ss="kr">do outfile:write(line.data) outfile:write('\n') end outfile:close() end -- for tests function load_array(a) local result = {} local next_line = ipairs(a) local i,line = 0, '' while true do i,line = next_line(a, i) if i == nil then break end table.insert(result, {data=line}) end if #result == 0 then table.insert(result, {data=''}) end return result end function is_absolute_path(path) local os_path_separator = package.config:sub(1,1) if os_path_separator == '/' then -- POSIX systems permit backslashes in filenames return path:sub(1,1) == '/' elseif os_path_separator == '\\' then if path:sub(2,2) == ':' then return true end -- DOS drive letter followed by volume separator local f = path:sub(1,1) return f == '/' or f == '\\' else error('What OS is this? LÖVE reports that the path separator is "'..os_path_separator..'"') end end function is_relative_path(path) return not is_absolute_path(path) end