SHA256
1
0
forked from pool/joe
joe/joe-3.3-warnings.patch

17 lines
527 B
Diff
Raw Normal View History

---
joe/bw.c | 1 +
1 file changed, 1 insertion(+)
- Update to 4.2: * New or improved syntax files for the following languages: * Dockerfile * Usability Enhancements * The top Google help searches for JOE include: * How do I save and exit? The startup copyright notice has been replaced with basic help for beginners * How do I dismiss the region highlighting? Changed to Ctrl-C will do it. * How do I close all files and exit? Now Ctrl-K Q does this. * Restyle the help screens. * Remove time and "Ctrl-K H for help" message from status bar. * Add ^KH for help to search and replace prompts. * Provide aborthint and helphint options * Enable -noxon by default (disable ^S/^Q flow control). * Document ESC X (command prompt) in the help screens. * "joe --help" now prints all command line options. * Other Enhancements * Tags search now tries to find the tags file in parent directories if it does not exist in the current directory and if the TAGS environment variable was not set. * Built-in calculator can now print and accept numbers in binary, octal and engineering formats: __dec__ 12_345 __eng__ 12.345_0e3 __bin__ 0b11_0000_0011_1001 __oct__ 0o3_0071 __hex__ 0x3039 * Built-in calculator now prints and accepts separating underscores for clarity. * Enhanced calculator statistics functions: * __dev__ computes standard deviation with full population * __samp__ computes standard deviation with sample of population * Linear regression analysis. Select a region of x and y values, then: * __lr__(x) provide estimate of y given x * __rlr__(y) provide estimate of x given y * __Lr__, __lR__, __LR__: log, exponential, power regression * Calculator region functions now assume the entire buffer if no region is set. * Tab completion now works at the calculator prompt (and in all prompts which allow numeric input, such as ^KL- go to line). * Make new regex engine (from JOE 4.1) more compatible with the classic engine. \\y is now shorthand for \\(\\.\\\*\\), so that it does what \\\* did in the old engine. Also: * \\. no longer matches newline. * \\\* matches shortest match, not longest match. * Add -left and -right options to control the amount scrolling when the cursor moves past the left or right edge of the screen. * Bugs fixed * Fix use after free bug which shows up as a crash in OpenBSD * Fix bug where indent step value was not shown on ^T menu * Fix bug where setting margin doesn't work on big-endian systems * Fix issue where highest valued unicode character equivalent was not translating to its corresponding 8-bit character. Effect of this was that Delete key was not working in shell windows in ASCII character set. * Standard deviation calculator function was not producing correct results. * Allow koi8r and koi8-r for KOI8-R in joe_getcodeset (which is only used if there is no setlocale). * Guess_crlf forced UNIX line endings for new files even though crlf was set. Now crlf is left alone if guess_crlf can not determine the line ending. * If cursor was at end of a long line and you switched to hex dump display mode, then hex dump was scrolled. Now scroll offset is reset when you switch to hex display mode. - Resynched patches: joe-3.3-warnings.patch joe-3.7-spec_association.patch - Update German translations OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=26
2016-05-02 10:57:57 +02:00
Index: joe-4.2/joe/bw.c
Accepting request 312384 from home:thehejik:branches:editors - Version update to 4.0: - JOE now has pop-up shell windows with full terminal emulation and shell commands that can control the editor. Hit F1 - F4 to bring up a shell window. - See Pop-up shell feature for a full description. - The status command (^K SPACE) can now be customized using the same syntax as the status bar. Look for smsg and zmsg in joerc to see how to do this. parserr (the error parser) will parse only the highlighted block if it's set. Before it always parsed the entire buffer. - Now there is a per-buffer concept of current directory. This was added to make the pop-up shell windows work better, but it's useful in general. - At file prompts you can begin a new anchored path without having to delete the old one. It means that ~jhallen/foo//etc/passwd is translated to /etc/passwd. - Prompt windows are now highighted to indicate which parts of the path are being dropped. There is a syntax file for this: filename.jsf - The error parser now ignores ANSI sequences (some versions of grep color their results, now JOE can still parse it). - Temporary messages are now dismissed by keyboard input only. Before, they could also be dismissed by shell input. - Tags search now supports multiple matches. ^K ; can be configured to either provide a menu of the matches or to cycle through them. - Tags search will now match on the member name part of member functions ('fred' will match 'myclass::fred'). - Tags search will prepend the path to the tags file file name in the tags file. This is important when JOE finds the tags file via the TAGS environment variable. - Remove ` as quote character from incremental search. - Clean up documentation, convert much of it to Markdown. - Cleanup with spec-cleaner - Drop languages as they don't work at all - refreshed patches: OBS-URL: https://build.opensuse.org/request/show/312384 OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=20
2015-07-08 09:36:46 +02:00
===================================================================
- Update to 4.2: * New or improved syntax files for the following languages: * Dockerfile * Usability Enhancements * The top Google help searches for JOE include: * How do I save and exit? The startup copyright notice has been replaced with basic help for beginners * How do I dismiss the region highlighting? Changed to Ctrl-C will do it. * How do I close all files and exit? Now Ctrl-K Q does this. * Restyle the help screens. * Remove time and "Ctrl-K H for help" message from status bar. * Add ^KH for help to search and replace prompts. * Provide aborthint and helphint options * Enable -noxon by default (disable ^S/^Q flow control). * Document ESC X (command prompt) in the help screens. * "joe --help" now prints all command line options. * Other Enhancements * Tags search now tries to find the tags file in parent directories if it does not exist in the current directory and if the TAGS environment variable was not set. * Built-in calculator can now print and accept numbers in binary, octal and engineering formats: __dec__ 12_345 __eng__ 12.345_0e3 __bin__ 0b11_0000_0011_1001 __oct__ 0o3_0071 __hex__ 0x3039 * Built-in calculator now prints and accepts separating underscores for clarity. * Enhanced calculator statistics functions: * __dev__ computes standard deviation with full population * __samp__ computes standard deviation with sample of population * Linear regression analysis. Select a region of x and y values, then: * __lr__(x) provide estimate of y given x * __rlr__(y) provide estimate of x given y * __Lr__, __lR__, __LR__: log, exponential, power regression * Calculator region functions now assume the entire buffer if no region is set. * Tab completion now works at the calculator prompt (and in all prompts which allow numeric input, such as ^KL- go to line). * Make new regex engine (from JOE 4.1) more compatible with the classic engine. \\y is now shorthand for \\(\\.\\\*\\), so that it does what \\\* did in the old engine. Also: * \\. no longer matches newline. * \\\* matches shortest match, not longest match. * Add -left and -right options to control the amount scrolling when the cursor moves past the left or right edge of the screen. * Bugs fixed * Fix use after free bug which shows up as a crash in OpenBSD * Fix bug where indent step value was not shown on ^T menu * Fix bug where setting margin doesn't work on big-endian systems * Fix issue where highest valued unicode character equivalent was not translating to its corresponding 8-bit character. Effect of this was that Delete key was not working in shell windows in ASCII character set. * Standard deviation calculator function was not producing correct results. * Allow koi8r and koi8-r for KOI8-R in joe_getcodeset (which is only used if there is no setlocale). * Guess_crlf forced UNIX line endings for new files even though crlf was set. Now crlf is left alone if guess_crlf can not determine the line ending. * If cursor was at end of a long line and you switched to hex dump display mode, then hex dump was scrolled. Now scroll offset is reset when you switch to hex display mode. - Resynched patches: joe-3.3-warnings.patch joe-3.7-spec_association.patch - Update German translations OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=26
2016-05-02 10:57:57 +02:00
--- joe-4.2.orig/joe/bw.c 2016-03-06 16:39:55.000000000 +0100
+++ joe-4.2/joe/bw.c 2016-05-02 10:16:25.981304470 +0200
@@ -209,6 +209,7 @@ void bwfllw(W *w)
static HIGHLIGHT_STATE get_highlight_state(BW *w, P *p, off_t line)
{
HIGHLIGHT_STATE state;
+ memset((void *)&state, 0, sizeof(HIGHLIGHT_STATE));
if(!w->o.highlight || !w->o.syntax) {
invalidate_state(&state);