about summary refs log tree commit diff stats
path: root/dwm.1
Commit message (Expand)AuthorAgeFilesLines
...
* moved BORDERPX to config.*.hAnselm R. Garbe2007-01-171-1/+1
* removed client title barAnselm R. Garbe2007-01-141-1/+0
* added Button{4,5} description to dwm.1Anselm R. Garbe2007-01-101-0/+6
* small grammar fix of dwm.1Anselm R. Garbe2007-01-071-2/+2
* changed a term in dwm.1Anselm R. Garbe2007-01-071-1/+1
* removed the term clients from dwm.1Anselm R. Garbe2007-01-051-3/+3
* changed shortcuts to M-i and M-dAnselm R. Garbe2007-01-051-2/+2
* changed plus key to MODKEY-Shift-plus (US-layout restrictions ;)Anselm R. Garbe2007-01-051-1/+1
* added MODKEY-{plus,minus} shortcuts (increasing/decreasing master clients)Anselm R. Garbe2007-01-051-0/+6
* applied Sanders patch 2.7arg@mig292006-12-131-3/+3
* fixed man page, status bar displays EOF instead of "broken pipe"arg@mig292006-12-131-1/+1
* added the java odyssee to CAVEATS sectionarg@mig292006-12-131-2/+10
* we don't use the term clients anymore, windows is the better termarg@mig292006-12-071-1/+1
* and the winner isarg@mig292006-12-011-2/+3
* less obtrusive indicator (only a top line)arg@mig292006-12-011-1/+1
* final2 indicatorarg@mig292006-12-011-1/+1
* final indicatorsarg@mig292006-12-011-2/+1
* removed viewall(), replaced with view(-1); added tag(-1) to tag a client with...arg@mig292006-11-301-0/+3
* extended dwm.1 with last change 2.4arg@mig292006-11-281-1/+1
* added man page entryarg@mig292006-11-271-0/+3
* applied Manuels patch (thanks to Manuel!)arg@mig292006-11-251-1/+1
* small fix of man pagearg@mig292006-11-241-1/+1
* using the term 'indicated' instead of 'higlighted' 2.3arg@mig292006-11-231-3/+3
* updated man page with the bottom right corner indicatorarg@mig292006-11-231-2/+4
* applied Gottox patch to simplify the resizing of col, instead of resizing the...arg@mig292006-10-311-2/+2
* removed the stack position stuffAnselm R. Garbe2006-10-051-5/+1
* final fix for man pageAnselm R. Garbe2006-10-051-3/+3
* Button3 click on mode label toggles stack position nowAnselm R. Garbe2006-10-051-2/+3
* documented the new behavior in man pageAnselm R. Garbe2006-09-291-0/+3
* renamed column into areaAnselm R. Garbe2006-09-281-7/+7
* man page fixarg@mmvi2006-09-221-1/+1
* fixed issue pointed out by Jukkaarg@mmvi2006-09-221-1/+1
* small man page fixarg@mmvi2006-09-221-0/+1
* updated man pagearg@mmvi2006-09-221-5/+1
* fixed a nuance in dwm.1arg@mmvi2006-09-201-1/+1
* really small changes to dwm.1Anselm R. Garbe2006-09-081-4/+3
* made markups in dwm.1 more consistentAnselm R. Garbe2006-09-071-95/+38
* small addition to dwm.1Anselm R. Garbe2006-09-071-4/+4
* well ok, added Mod-s to default bindings (however, I don't need it)Anselm R. Garbe2006-09-051-0/+6
* I really need column growing, now pushing upstreamAnselm R. Garbe2006-09-051-0/+6
* applied sanders patchAnselm R. Garbe2006-09-011-6/+12
* changed shortcut into Mod1-0Anselm R. Garbe2006-08-311-5/+5
* added viewall to mainstream (only Ross Mohns version, not the toggle)Anselm R. Garbe2006-08-311-0/+4
* implemented Button2 press on tags for toggletag on the focused clientAnselm R. Garbe2006-08-311-0/+6
* applied sanders somepatches.patchAnselm R. Garbe2006-08-281-1/+6
* updated man page of dwmAnselm R. Garbe2006-08-251-3/+3
* yet another fixAnselm R. Garbe2006-08-241-1/+1
* small man page fixAnselm R. Garbe2006-08-241-1/+2
* updated man pageAnselm R. Garbe2006-08-231-4/+4
* applied tag drawing change to man pageAnselm R. Garbe2006-08-231-4/+4
hintCC, hintLineTooLong, hintXDeclaredButNotUsed, hintConvToBaseNotNeeded, hintConvFromXtoItselfNotNeeded, hintExprAlwaysX, hintQuitCalled, hintProcessing, hintCodeBegin, hintCodeEnd, hintConf, hintPath, hintConditionAlwaysTrue, hintName, hintPattern, hintExecuting, hintLinking, hintDependency, hintSource, hintPerformance, hintStackTrace, hintGCStats, hintGlobalVar, hintUser, hintUserRaw, hintExtendedContext const MsgKindToStr*: array[TMsgKind, string] = [ errUnknown: "unknown error", errInternal: "internal error: $1", errIllFormedAstX: "illformed AST: $1", errCannotOpenFile: "cannot open '$1'", errXExpected: "'$1' expected", errGridTableNotImplemented: "grid table is not implemented", errGeneralParseError: "general parse error", errNewSectionExpected: "new section expected", errInvalidDirectiveX: "invalid directive: '$1'", errGenerated: "$1", errUser: "$1", warnCannotOpenFile: "cannot open '$1'", warnOctalEscape: "octal escape sequences do not exist; leading zero is ignored", warnXIsNeverRead: "'$1' is never read", warnXmightNotBeenInit: "'$1' might not have been initialized", warnDeprecated: "$1 is deprecated", warnConfigDeprecated: "config file '$1' is deprecated", warnSmallLshouldNotBeUsed: "'l' should not be used as an identifier; may look like '1' (one)", warnUnknownMagic: "unknown magic '$1' might crash the compiler", warnRedefinitionOfLabel: "redefinition of label '$1'", warnUnknownSubstitutionX: "unknown substitution '$1'", warnLanguageXNotSupported: "language '$1' not supported", warnFieldXNotSupported: "field '$1' not supported", warnCommentXIgnored: "comment '$1' ignored", warnTypelessParam: "'$1' has no type. Typeless parameters are deprecated; only allowed for 'template'", warnUseBase: "use {.base.} for base methods; baseless methods are deprecated", warnWriteToForeignHeap: "write to foreign heap", warnUnsafeCode: "unsafe code: '$1'", warnEachIdentIsTuple: "each identifier is a tuple", warnShadowIdent: "shadowed identifier: '$1'", warnProveInit: "Cannot prove that '$1' is initialized. This will become a compile time error in the future.", warnProveField: "cannot prove that field '$1' is accessible", warnProveIndex: "cannot prove index '$1' is valid", warnGcUnsafe: "not GC-safe: '$1'", warnGcUnsafe2: "$1", warnUninit: "'$1' might not have been initialized", warnGcMem: "'$1' uses GC'ed memory", warnDestructor: "usage of a type with a destructor in a non destructible context. This will become a compile time error in the future.", warnLockLevel: "$1", warnResultShadowed: "Special variable 'result' is shadowed.", warnInconsistentSpacing: "Number of spaces around '$#' is not consistent", warnUser: "$1", hintSuccess: "operation successful: $#", hintSuccessX: "operation successful ($# lines compiled; $# sec total; $#; $#)", hintCC: "CC: \'$1\'", # unused hintLineTooLong: "line too long", hintXDeclaredButNotUsed: "'$1' is declared but not used", hintConvToBaseNotNeeded: "conversion to base object is not needed", hintConvFromXtoItselfNotNeeded: "conversion from $1 to itself is pointless", hintExprAlwaysX: "expression evaluates always to '$1'", hintQuitCalled: "quit() called", hintProcessing: "$1", hintCodeBegin: "generated code listing:", hintCodeEnd: "end of listing", hintConf: "used config file '$1'", hintPath: "added path: '$1'", hintConditionAlwaysTrue: "condition is always true: '$1'", hintName: "name should be: '$1'", hintPattern: "$1", hintExecuting: "$1", hintLinking: "", hintDependency: "$1", hintSource: "$1", hintPerformance: "$1", hintStackTrace: "$1", hintGCStats: "$1", hintGlobalVar: "global variable declared here", hintUser: "$1", hintUserRaw: "$1", hintExtendedContext: "$1", ] const WarningsToStr* = ["CannotOpenFile", "OctalEscape", "XIsNeverRead", "XmightNotBeenInit", "Deprecated", "ConfigDeprecated", "SmallLshouldNotBeUsed", "UnknownMagic", "RedefinitionOfLabel", "UnknownSubstitutionX", "LanguageXNotSupported", "FieldXNotSupported", "CommentXIgnored", "TypelessParam", "UseBase", "WriteToForeignHeap", "UnsafeCode", "EachIdentIsTuple", "ShadowIdent", "ProveInit", "ProveField", "ProveIndex", "GcUnsafe", "GcUnsafe2", "Uninit", "GcMem", "Destructor", "LockLevel", "ResultShadowed", "Spacing", "User"] HintsToStr* = [ "Success", "SuccessX", "CC", "LineTooLong", "XDeclaredButNotUsed", "ConvToBaseNotNeeded", "ConvFromXtoItselfNotNeeded", "ExprAlwaysX", "QuitCalled", "Processing", "CodeBegin", "CodeEnd", "Conf", "Path", "CondTrue", "Name", "Pattern", "Exec", "Link", "Dependency", "Source", "Performance", "StackTrace", "GCStats", "GlobalVar", "User", "UserRaw", "ExtendedContext", ] const fatalMin* = errUnknown fatalMax* = errInternal errMin* = errUnknown errMax* = errUser warnMin* = warnCannotOpenFile warnMax* = pred(hintSuccess) hintMin* = hintSuccess hintMax* = high(TMsgKind) static: doAssert HintsToStr.len == ord(hintMax) - ord(hintMin) + 1 doAssert WarningsToStr.len == ord(warnMax) - ord(warnMin) + 1 type TNoteKind* = range[warnMin..hintMax] # "notes" are warnings or hints TNoteKinds* = set[TNoteKind] proc computeNotesVerbosity(): array[0..3, TNoteKinds] = result[3] = {low(TNoteKind)..high(TNoteKind)} - {} result[2] = result[3] - {hintStackTrace, warnUninit, hintExtendedContext} result[1] = result[2] - {warnShadowIdent, warnProveField, warnProveIndex, warnGcUnsafe, hintPath, hintDependency, hintCodeBegin, hintCodeEnd, hintSource, hintGlobalVar, hintGCStats} result[0] = result[1] - {hintSuccessX, hintSuccess, hintConf, hintProcessing, hintPattern, hintExecuting, hintLinking} const NotesVerbosity* = computeNotesVerbosity() errXMustBeCompileTime* = "'$1' can only be used in compile-time context" errArgsNeedRunOption* = "arguments can only be given if the '--run' option is selected" type TFileInfo* = object fullPath*: AbsoluteFile # This is a canonical full filesystem path projPath*: RelativeFile # This is relative to the project's root shortName*: string # short name of the module quotedName*: Rope # cached quoted short name for codegen # purposes quotedFullName*: Rope # cached quoted full name for codegen # purposes lines*: seq[string] # the source code of the module # used for better error messages and # embedding the original source in the # generated code dirtyfile*: AbsoluteFile # the file that is actually read into memory # and parsed; usually "" but is used # for 'nimsuggest' hash*: string # the checksum of the file dirty*: bool # for 'nimfix' / 'nimpretty' like tooling when defined(nimpretty): fullContent*: string FileIndex* = distinct int32 TLineInfo* = object # This is designed to be as small as possible, # because it is used # in syntax nodes. We save space here by using # two int16 and an int32. # On 64 bit and on 32 bit systems this is # only 8 bytes. line*: uint16 col*: int16 fileIndex*: FileIndex when defined(nimpretty): offsetA*, offsetB*: int commentOffsetA*, commentOffsetB*: int TErrorOutput* = enum eStdOut eStdErr TErrorOutputs* = set[TErrorOutput] ERecoverableError* = object of ValueError ESuggestDone* = object of Exception proc `==`*(a, b: FileIndex): bool {.borrow.} proc raiseRecoverableError*(msg: string) {.noinline, noreturn.} = raise newException(ERecoverableError, msg) const InvalidFileIDX* = FileIndex(-1) proc unknownLineInfo*(): TLineInfo = result.line = uint16(0) result.col = int16(-1) result.fileIndex = InvalidFileIDX type Severity* {.pure.} = enum ## VS Code only supports these three Hint, Warning, Error const trackPosInvalidFileIdx* = FileIndex(-2) # special marker so that no suggestions # are produced within comments and string literals type MsgConfig* = object ## does not need to be stored in the incremental cache trackPos*: TLineInfo trackPosAttached*: bool ## whether the tracking position was attached to ## some close token. errorOutputs*: TErrorOutputs msgContext*: seq[tuple[info: TLineInfo, detail: string]] lastError*: TLineInfo filenameToIndexTbl*: Table[string, FileIndex] fileInfos*: seq[TFileInfo] systemFileIdx*: FileIndex proc initMsgConfig*(): MsgConfig = result.msgContext = @[] result.lastError = unknownLineInfo() result.filenameToIndexTbl = initTable[string, FileIndex]() result.fileInfos = @[] result.errorOutputs = {eStdOut, eStdErr}