{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":97259621,"defaultBranch":"master","name":"less","ownerLogin":"gwsw","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-07-14T17:53:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/30166465?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1723912489.0","currentOid":""},"activityList":{"items":[{"before":"de94ea2fb17969a665a0b67c56c1f0011128ae71","after":"aab9dd3a7e932d21dcc8ffa3a729d04e93a96b8d","ref":"refs/heads/post659","pushedAt":"2024-08-26T18:44:45.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Merge branch 'master' into post659","shortMessageHtmlLink":"Merge branch 'master' into post659"}},{"before":"b1548ca1188aca424026103da8284d1db25150f6","after":"d044a2a9dfca08ea473a31bd50da657c23e83aff","ref":"refs/heads/master","pushedAt":"2024-08-26T05:47:43.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix Windows build.\n\nThere was a conflict between the definition of BOOL in option.h\nand a BOOL typedef in a Windows header file. Move the #include of\noption.h after the #include of the Windows headers.\nThis is rather ugly. We should probably rename the #defines in\noption.h to avoid such conflicts.\nRelated to #561.","shortMessageHtmlLink":"Fix Windows build."}},{"before":"56fb53f2e15ad5fe58577b9fc7b99de0e3b33318","after":"de94ea2fb17969a665a0b67c56c1f0011128ae71","ref":"refs/heads/post659","pushedAt":"2024-08-17T16:35:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Remove some defines that are no longer used.","shortMessageHtmlLink":"Remove some defines that are no longer used."}},{"before":"55b44b02add7dfd2a0e6c43930dba29c62f795b5","after":"b1548ca1188aca424026103da8284d1db25150f6","ref":"refs/heads/master","pushedAt":"2024-08-17T16:34:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"v663","shortMessageHtmlLink":"v663"}},{"before":"994786e4148efbadc89a15138b1dfcf3881166ea","after":"56fb53f2e15ad5fe58577b9fc7b99de0e3b33318","ref":"refs/heads/post659","pushedAt":"2024-08-16T20:18:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix bug using LESS_SHELL_LINES with -X.\n\nget_one_screen() is not called when -X is used,\nso move the initialization of shell_lines to get_term().","shortMessageHtmlLink":"Fix bug using LESS_SHELL_LINES with -X."}},{"before":"1252af018c0605cb18a06101ee2adb98cfc95ee3","after":"994786e4148efbadc89a15138b1dfcf3881166ea","ref":"refs/heads/post659","pushedAt":"2024-08-15T18:39:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Add LESS_SHELL_LINES environment variable.\n\nPrevious the -F option would cause less to exit immediately if the\ninitial display of the file used $LINES-1 screen lines or fewer.\nNow instead of $LINES-1 it uses $LINES-$LESS_SHELL_LINES, which\nis useful it the user's shell prompt occupies more than one line.\n\nRelated to #514.","shortMessageHtmlLink":"Add LESS_SHELL_LINES environment variable."}},{"before":"0d0a88cd2d8d4e7d982f64200a9c439fc8408bf6","after":"1252af018c0605cb18a06101ee2adb98cfc95ee3","ref":"refs/heads/post659","pushedAt":"2024-08-12T19:44:57.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Merge branch 'master' into post659","shortMessageHtmlLink":"Merge branch 'master' into post659"}},{"before":"ed454a217da417dc052723ea70da8efde0f2e66c","after":"55b44b02add7dfd2a0e6c43930dba29c62f795b5","ref":"refs/heads/master","pushedAt":"2024-08-10T15:17:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Doc.","shortMessageHtmlLink":"Doc."}},{"before":"83cc7d3a334ca62820e7c51b16e5d009087a6f10","after":"ed454a217da417dc052723ea70da8efde0f2e66c","ref":"refs/heads/master","pushedAt":"2024-08-10T15:15:14.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix bug related to ctrl-X when output is not a terminal.\n\nWe should not check for ctrl-X input when the output is not\na terminal. This results in trying to poll and read input\ncharacters from stdin instead of from the terminal.\n\nThis problem existed in v661 so is not strictly a regression\nthat needs to be addressed in the upcoming bug fix release,\nbut because it's a low-risk fix and has potentially serious\nconsequences, I'm including it.\n\nRelated to #558.","shortMessageHtmlLink":"Fix bug related to ctrl-X when output is not a terminal."}},{"before":"ca9ed967ffa78b81125636cd51f1d49d089c6804","after":"83cc7d3a334ca62820e7c51b16e5d009087a6f10","ref":"refs/heads/master","pushedAt":"2024-08-08T18:59:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"v662","shortMessageHtmlLink":"v662"}},{"before":"64c8e03ccbd0c09bff67b72a9c1b8f43624b91cf","after":"ca9ed967ffa78b81125636cd51f1d49d089c6804","ref":"refs/heads/master","pushedAt":"2024-08-06T22:20:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix bug using --header with a file shorter than screen height.\n\nIn this situation, A_FF_LINE results in forw() calling\nafter_header_pos(NULL_POSITION) which shouldn't happen.\nafter_header_pos returns 0 and messes up the logic in forw(),\nresulting in an erroneous \"skipping\" message to be displayed.\nRelated to #556.","shortMessageHtmlLink":"Fix bug using --header with a file shorter than screen height."}},{"before":"469b79e191f4628d4972961b66c2b76c54e129c7","after":"0d0a88cd2d8d4e7d982f64200a9c439fc8408bf6","ref":"refs/heads/post659","pushedAt":"2024-08-06T16:43:34.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Merge branch 'master' into post659","shortMessageHtmlLink":"Merge branch 'master' into post659"}},{"before":"99d2557a9ab078191e0b05e7ac4199aa3b068e70","after":"64c8e03ccbd0c09bff67b72a9c1b8f43624b91cf","ref":"refs/heads/master","pushedAt":"2024-08-05T20:21:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Doc.","shortMessageHtmlLink":"Doc."}},{"before":"5701f020f94fb72be809f9465265fc11d3d990b0","after":"99d2557a9ab078191e0b05e7ac4199aa3b068e70","ref":"refs/heads/master","pushedAt":"2024-08-05T20:19:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix R command to refresh the file size.\n\nThe R command should reinitialize the size of the file.\nOtherwise if the file size changes, there is no way to view\ncontent past the original EOF.\nThis was a regression in 1fafd968.\nRelated to #553.","shortMessageHtmlLink":"Fix R command to refresh the file size."}},{"before":"e6ba38287ca4182233adb814db67940778da2cfa","after":"5701f020f94fb72be809f9465265fc11d3d990b0","ref":"refs/heads/master","pushedAt":"2024-08-05T18:37:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix --shift and --match-shift on command line with fractional parameter.\n\nSetting --shift calls calc_shift_count() and setting --match-shift calls\ncalc_match_shift(). When the parameter begins with a '.', these calculate\nthe value as a fraction of the screen width. But at startup when these\nfunctions are called from scan_option(), the screen width is not yet known.\nSo call them in get_term() after the screen width is first determined.\nPreviously this was done for calc_jump_sline() but it also needs to be\ndone for the other two.","shortMessageHtmlLink":"Fix --shift and --match-shift on command line with fractional parameter."}},{"before":"b7573ba8d9f953dac8526e9c065d4910c21a121c","after":"469b79e191f4628d4972961b66c2b76c54e129c7","ref":"refs/heads/post659","pushedAt":"2024-08-03T21:07:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix display bug when using +:n +:p +:x or +:d on the command line.\nWas missing calls to cmd_exec() before executing some commands.\nThis is necessary to clear the string on the command line.\nRelated to #552.","shortMessageHtmlLink":"Fix display bug when using +:n +:p +:x or +:d on the command line."}},{"before":"2453357fb9170c5efad17420b2c6681929a6d32d","after":"b7573ba8d9f953dac8526e9c065d4910c21a121c","ref":"refs/heads/post659","pushedAt":"2024-07-31T21:39:23.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Merge branch 'master' into post659","shortMessageHtmlLink":"Merge branch 'master' into post659"}},{"before":"2526c72b1212b2a1f34bdda88a93b0c7f7b4a16a","after":"e6ba38287ca4182233adb814db67940778da2cfa","ref":"refs/heads/master","pushedAt":"2024-07-31T21:27:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Doc.","shortMessageHtmlLink":"Doc."}},{"before":"5854746277892cc790633ac2926659eccfb58561","after":"2526c72b1212b2a1f34bdda88a93b0c7f7b4a16a","ref":"refs/heads/master","pushedAt":"2024-07-31T21:18:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix use of #stop in a lesskey file.\nThis was probably broken in 09377f769d2f28f0892f152fd57260b9bd240eb6.\nRelated to #551.","shortMessageHtmlLink":"Fix use of #stop in a lesskey file."}},{"before":"f28a67e0ef37e1d81e4b417d4f747bc6da116b5c","after":"5854746277892cc790633ac2926659eccfb58561","ref":"refs/heads/master","pushedAt":"2024-07-28T21:37:56.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"windows: SGR processor: increase buffer size for less issues\n\nWe're aware of at least one non critical issue, so increase the buffer\nto a size which is much much less likely to reach end-of-buffer in\na single output line.\n\nWe can restore the original buffer size once we replace the parser.","shortMessageHtmlLink":"windows: SGR processor: increase buffer size for less issues"}},{"before":"3bcd6c2262134e92eca473fcadb0124f9586ae26","after":"2453357fb9170c5efad17420b2c6681929a6d32d","ref":"refs/heads/post659","pushedAt":"2024-07-26T19:14:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Make lesstest work if the system does not support /dev/stdin.","shortMessageHtmlLink":"Make lesstest work if the system does not support /dev/stdin."}},{"before":"20180d2690be6fd21c378045ee714382f9b16d0f","after":"3bcd6c2262134e92eca473fcadb0124f9586ae26","ref":"refs/heads/post659","pushedAt":"2024-07-25T01:45:39.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Config files, like _lesskey, are determined at homefile(...), and on windows, after trying $HOME and $HOMEDRIVE$HOMEPATH, it could fallback to using _searchenv, which first searches CWD and then in $PATH.\n\nDisable this fallback on Windows.\n\nNote that OS2 and DOS variants (DJGPP, Borland, MS-DOS-compiler) still behave like before, and search PWD and $PATH (assuming they still compile - all the non-DJGPP targets use and used _searchenv, which probably only exists on WIndows).\n\nAt the very least the DOS variants don't have a notion of $HOME, so it's not obvious where the config files should be searched - if we wanted to address these build targets as well, but for now we don't.\n\nManual merge of #527.","shortMessageHtmlLink":"Config files, like _lesskey, are determined at homefile(...), and on …"}},{"before":"1ca819b337894f349b685c1fce18bd4cca5df33d","after":"f28a67e0ef37e1d81e4b417d4f747bc6da116b5c","ref":"refs/heads/master","pushedAt":"2024-07-25T01:34:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix possible memory overrun when scrolling left/right or toggling -S.\nThe destination buffer allocated for cvt_text() must be of the size\nreturned by cvt_length(). pos_shift was failing to do this correctly.","shortMessageHtmlLink":"Fix possible memory overrun when scrolling left/right or toggling -S."}},{"before":"f9e5b43d8fa6f0e04d49422165b5ede4786fc292","after":"1ca819b337894f349b685c1fce18bd4cca5df33d","ref":"refs/heads/master","pushedAt":"2024-07-22T23:51:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Config files, like _lesskey, are determined at homefile(...), and on windows, after trying $HOME and $HOMEDRIVE$HOMEPATH, it could fallback to using _searchenv, which first searches CWD and then in $PATH.\n\nDisable this fallback on Windows.\n\nNote that OS2 and DOS variants (DJGPP, Borland, MS-DOS-compiler) still behave like before, and search PWD and $PATH (assuming they still compile - all the non-DJGPP targets use and used _searchenv, which probably only exists on WIndows).\n\nAt the very least the DOS variants don't have a notion of $HOME, so it's not obvious where the config files should be searched - if we wanted to address these build targets as well, but for now we don't.\n\nManual merge of #527.","shortMessageHtmlLink":"Config files, like _lesskey, are determined at homefile(...), and on …"}},{"before":"75dc49c00e715e533e35c04d51dfef596656cf8a","after":"f9e5b43d8fa6f0e04d49422165b5ede4786fc292","ref":"refs/heads/master","pushedAt":"2024-07-21T01:06:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix crash when use --header on command line with 3 arguments.\nCan't call parse_header during scan_option because input file\nis not yet open, so calling find_pos while parsing third\nargument will fail. Instead, save the --header parameter and\nparse it after opening the input file.\n\nRelated to #545.","shortMessageHtmlLink":"Fix crash when use --header on command line with 3 arguments."}},{"before":"a0207f932e8e4e5464e3ed44f4c0f37216008701","after":"75dc49c00e715e533e35c04d51dfef596656cf8a","ref":"refs/heads/master","pushedAt":"2024-07-21T00:56:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Doc.","shortMessageHtmlLink":"Doc."}},{"before":"c9cb23a7f98199fea830493670783851468abff1","after":"20180d2690be6fd21c378045ee714382f9b16d0f","ref":"refs/heads/post659","pushedAt":"2024-07-15T03:47:30.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix some compiler warnings when built with --with-secure.","shortMessageHtmlLink":"Fix some compiler warnings when built with --with-secure."}},{"before":"8092f24c96d4b3320be92721d2baf9980f88ed99","after":"a0207f932e8e4e5464e3ed44f4c0f37216008701","ref":"refs/heads/master","pushedAt":"2024-07-13T23:40:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Open v662.\n(Should have been done 2 commits ago.)","shortMessageHtmlLink":"Open v662."}},{"before":"26c7a12154ae4f84e60840129684831b27701b96","after":"8092f24c96d4b3320be92721d2baf9980f88ed99","ref":"refs/heads/master","pushedAt":"2024-07-13T18:23:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"windows 10+: make 256/true colors \"work\" without -Da\n\nTo get 256/true colors working with -R (win10+ only), \"sgr mode\" (-Da)\nshould be used to bypass the internal SGR processing and passthrough\neverything to the terminal directly - which can handle it on win10+.\n\n\"sgr mode\" was and is working well for some releases now.\n\nBut by default (without -Da), we do internal SGR processing and apply\nthe values to the console outselves, including some transformation of\n-D values unique to windows (like underline to cyan).\n\nIn the previous release v643, the default behavior (no -Da) was:\n- ANSI 8 colors SGR and attributes (1 for bold, etc) work well.\n- Unknown values under 50 (like 38, 48) were processed as 0 (reset).\n- SGR values of 50 or more aborted the internal SGR processor and\n switched to passthrough till the end of the current input buffer.\n- On abort+passthrough, the internal SGR state was kept unmodified.\n\nThis resulted in broken behavior for 256/true colors, e.g.:\n- SGR 38;5;33 was incorrectly applied as reset, blink, yellow-fg.\n- SGR 38;5;50 was passthrough, and the internal state became blink.\n\nThe passthrough was clearly broken on pre-win10, as the terminal can't\nhandle it, but on win10+, the passthrough seems to work if not looking\ntoo closely.\n\nE.g. in some syntax highlighters where all the 256/true colors\ninclude at least one value >= 50, it did appear working on win10+.\n\nIn release v661 the behavior was simplified and tightened:\n- ANSI 8 colors SGR and attributes (1 for bold, etc) work well.\n- Any unknown value (like 38, 48) aborts the rest of this sequence\n without passthrough (prior values at this seq, if any, do apply).\n\nAs a result, 256/true colors sequences are ignored, there's no issue\non pre-win10, we never misinterpret such sequences, never passthrough,\nand the internal state is always in-sync with the actual terminal.\n\nHowever, it does look like a regression compared to cases which did\nappear to be working in v643.\n\nThis commit fixes this \"regression\", but without the downsides of v643:\n- On win10+, instead of aborting the sequence on unknown values like\n v661 does, we now switch to \"controlled passthrough\" mode until\n reset is detected, and then switch back to the internal SGR handler.\n\nAs a result:\n- On pre-win10 it's like v661 (256/true colors are ignored cleanly).\n- On win10+: all 256/true colors always \"work\", never misinterpreted.\n- The internal state is in-sync - cleared on reset after passthrough.\n- Like -Da, the -D transformations are skipped during passthrough.\n\nFixes #538","shortMessageHtmlLink":"windows 10+: make 256/true colors \"work\" without -Da"}},{"before":"55fa179597ceea96bb490817f9160ab29a8e4f11","after":"26c7a12154ae4f84e60840129684831b27701b96","ref":"refs/heads/master","pushedAt":"2024-07-13T18:21:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gwsw","name":null,"path":"/gwsw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30166465?s=80&v=4"},"commit":{"message":"Fix compile error when building with --with-secure.\nRelated to #544.","shortMessageHtmlLink":"Fix compile error when building with --with-secure."}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEpJTiiAA","startCursor":null,"endCursor":null}},"title":"Activity · gwsw/less"}