Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-28 | When it's the possessive of 'it', it's spelled "its", without the | Philip Guenther | |
apostrophe. | |||
2022-01-20 | mg: fix -Wunused-but-set-variable warnings | Christian Weisgerber | |
strtonum() is only called to verify that a string is numerical, the return value is unused. inlist is no longer used after the code was refactored. ok millert@ guenther@ | |||
2021-05-12 | Count the number of arguments in each expression as we initially go | Mark Lumsden | |
through the expression. To be used in checking function parameter profiles later. | |||
2021-05-08 | Perhaps the syntax '((' and '()' will be valid one day, but not at the | Mark Lumsden | |
moment. This diff works the two checks for them into the main for parsing loop. | |||
2021-05-08 | stop parsing if a digit is found as first character of an expression. | Mark Lumsden | |
2021-05-07 | Give an error if quoted string is found as first non-white char after | Mark Lumsden | |
'('. | |||
2021-05-07 | Take a note of expression length when it is extracted from line | Mark Lumsden | |
submitted to excline(). | |||
2021-05-06 | Add the line number of an error to error messages. | Mark Lumsden | |
2021-05-06 | Add a number to parameters for ewprintf() via beeping. | Mark Lumsden | |
2021-05-06 | Give parse error if character found between blocks. | Mark Lumsden | |
2021-05-05 | Check the characters preceeding and following quotes. | Mark Lumsden | |
2021-05-03 | When parsing a variable value within double quotes, allow parenthesis | Mark Lumsden | |
to be accomodated for. | |||
2021-05-03 | When parsing a variable value within double quotes, allow an escaped | Mark Lumsden | |
\" to be accomodated for. Also, move the variable structure to be global in scope within mg. | |||
2021-05-02 | dired-shell-command is listed in the man page under 'DIRED KEY | Mark Lumsden | |
BINDINGS' but not under 'DIRED COMMANDS'. Add it in. | |||
2021-04-22 | Add a non-interactive version of query-replace-regexp function called | Mark Lumsden | |
replace-regexp. Unfortunately query-replace-regexp can't be used in a startup file. | |||
2021-04-21 | Use the plenteous BUFSIZE found in mg in lieu of 128. | Mark Lumsden | |
2021-04-20 | Indicate if an mg function is unsuitable for a startup file (requires | Mark Lumsden | |
user interaction). | |||
2021-04-20 | Allow more than one block of code to exist on a single line. Also, | Mark Lumsden | |
move the code which expands variables to be ran when variables are discovered instead of in multiarg() just before execution. This means a variable who's value is included in anothers', won't change the others value if its own is changed. I have also included code, which is commented out at the moment, which implements a function map specific to interpreter. Not sure if I can ultimately avoid using it though. | |||
2021-04-20 | Add 'dired-jump' from Philip K. <philip@warpmail.net> sent to tech@ | Mark Lumsden | |
over a year ago. Comments and testing from gkoehler@. Thanks to both. Also, some modifications from me. | |||
2021-03-26 | Invert the 'R' indicator which seems rather unintuitive at the moment, | Mark Lumsden | |
currently a '*' next to a file's name indicates it is writable. With this diff it now means it is read-only. Also make the active buffer indicator more visible:'.'->'>'. | |||
2021-03-26 | Add 'get-environment-variable', in a fashion: | Mark Lumsden | |
(define curdir(get-environment-variable CURDIR)) (insert curdir) Should now print the value of the environment variable CURDIR's value, or error if it is not set. | |||
2021-03-26 | Change the regex for define names. Make more characters available. | Mark Lumsden | |
Keep the same regex for mg function names. Though perhaps for user-defined functions other characters could be ok.... | |||
2021-03-26 | Change two more bool counters to pointer NULL checks. | Mark Lumsden | |
2021-03-25 | Move the expression list create item code into a single function. | Mark Lumsden | |
2021-03-25 | Add an (exit) method. | Mark Lumsden | |
2021-03-25 | User a pointer's value (!NULL) instead of a boolean to indicate some | Mark Lumsden | |
kind of data being found. | |||
2021-03-25 | Use length of line to indicate end of characters to process in | Mark Lumsden | |
foundparen(). No intended functional change. regress tests ok and they all use excline(). | |||
2021-03-23 | Use a pointer called bufp to point to a buffer called bufn | Mark Lumsden | |
consistantly. | |||
2021-03-23 | Correct how many arguments some functions take for interpreter.c. | Mark Lumsden | |
2021-03-23 | Make a parameter to an mg function not throw an error just | Mark Lumsden | |
because it is numerical. | |||
2021-03-22 | Start the move to TAILQ for expressions instead of an SLIST. | Mark Lumsden | |
2021-03-21 | Add quoted strings capability in list values, no special chars | Mark Lumsden | |
detection in between them though. Add limitation to characters allowed in symbol names, equivalent to mg function names (A-Za-z-), quite restrictive but can grow of course. If value is not quoted and is not a variable, give an error. | |||
2021-03-20 | Looking at loading all expressions initially, working towards multi | Mark Lumsden | |
line. Next to look at "values" (quotes around values). Current regress tests pass. | |||
2021-03-20 | Add a 'batch' mode to mg via the '-b' command line option which will | Mark Lumsden | |
initialise a pty, run the specified file of mg commands and then exit. This is to facilitate mg fitting into the OpenBSD regress test framework and be able to run via a cron job. | |||
2021-03-18 | From Joachim Wiberg's version of mg. | Mark Lumsden | |
"This patch makes sure to clear the status/echo line after killing and switching buffers by name. Otherwise the kill/switch prompt lingers" | |||
2021-03-08 | Start looking at parsing text to find separators. | Mark Lumsden | |
2021-03-08 | Put regex tests into a function. | Mark Lumsden | |
2021-03-05 | If there is a problem with opening a directory via M-x dired, let the | Mark Lumsden | |
user know. EACCESS is currently accounted for, but nothing else. | |||
2021-03-02 | It is now possible to define single value variables in the startup file: | Mark Lumsden | |
(define myfile d.txt) And use them like: (find-file myfile) | |||
2021-03-02 | This diff soaks up the user input while the the maximum character | Mark Lumsden | |
length boundary is crossed in the minbuffer and allows the user to see the error message and respond accordingly. The goto named "null" changed to "skipkey" as per Emil Engler's suggestion on tech@. | |||
2021-03-02 | Update logging with comments made by florian@ some time ago (i've not | Mark Lumsden | |
updated logging to $HOME, but will do so). Also include mglog_misc() which takes formatted input from Joachim Wiberg's mg. Thankyou both. | |||
2021-03-01 | Put the hardcoded '\n' character which is found throughout mg into a | Mark Lumsden | |
buffer specific variable. The diff should not produce any behavourial changes in mg. | |||
2021-02-28 | Add dobeep functions that take messages to buffer.c and cscope.c | Mark Lumsden | |
No functional change intended. | |||
2021-02-27 | Add dobeep functions that take messages to basic.c. | Mark Lumsden | |
No functional change intended. | |||
2021-02-26 | Some more improvements from Joachim Wiberg's version of mg. | Mark Lumsden | |
check before using variable in list remove unnecessary variable declaration check value of adjustname() add a '< 0' return value of snprintf | |||
2021-02-26 | Some improvements from Joachim Wiberg's version of mg. | Mark Lumsden | |
check value of adjustname() use int for return value of snprintf | |||
2021-02-24 | Various fixes from emails Joachim Nilsson sent to tech@ many moons | Mark Lumsden | |
ago. Sorry for the delay. - Make sure we don't deref NULL ptr in skipwhite() - Only deref vendp if not NULL - Strings must be at least 2 chars for terminating NUL character | |||
2021-02-24 | snprintf() does indeed return an int. From an email Joachim Nilsson | Mark Lumsden | |
sent to tech@ many moons ago. Sorry for the delay. | |||
2021-02-23 | Move -u to alphabetically correct place in options. As spotted by jmc@ | Mark Lumsden | |
2021-02-23 | Allow the user to specify a path to the mg startup file on the command line. | Mark Lumsden | |