summaryrefslogtreecommitdiff
path: root/src/netbeans.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1962: netbeans may access freed memoryv8.2.1962Bram Moolenaar2020-11-061-6/+4
| | | | | | Problem: Netbeans may access freed memory. Solution: Check the buffer pointer is still valid. Add a test. (Yegappan Lakshmanan, closes #7248)
* patch 8.2.1843: Netbeans: with huge buffer number memory allocation may failv8.2.1843Bram Moolenaar2020-10-131-2/+10
| | | | | Problem: Netbeans: with huge buffer number memory allocation may fail. Solution: Check for size overflow.
* patch 8.2.0599: Netbeans interface insufficiently testedv8.2.0599Bram Moolenaar2020-04-191-0/+1
| | | | | Problem: Netbeans interface insufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-2/+2
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.1.2392: using old C style commentsv8.1.2392Bram Moolenaar2019-12-051-264/+263
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2205: sign entry structure has confusing namev8.1.2205Bram Moolenaar2019-10-241-22/+22
| | | | | Problem: Sign entry structure has confusing name. Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
* patch 8.1.1889: Coverity warns for using a NULL pointerv8.1.1889Bram Moolenaar2019-08-191-5/+6
| | | | | Problem: Coverity warns for using a NULL pointer. Solution: Use zero for column if pos is NULL.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-11/+9
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-2/+3
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-7/+5
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-4/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.0944: format of nbdbg() arguments is not checkedv8.1.0944Bram Moolenaar2019-02-171-5/+5
| | | | | | Problem: Format of nbdbg() arguments is not checked. Solution: Add format attribute. Fix reported problems. (Dominique Pelle, closes #3992)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-3/+3
| | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
* patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar2019-01-261-4/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-2/+2
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0763: nobody is using the Sun Workshop supportv8.1.0763Bram Moolenaar2019-01-171-2/+0
| | | | | Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
* patch 8.1.0753: printf format not checked for semsg()v8.1.0753Bram Moolenaar2019-01-151-1/+1
| | | | | | Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-32/+32
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar2019-01-121-1/+1
| | | | | Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
* patch 8.1.0658: deleting signs and completion for :sign is insufficientv8.1.0658Bram Moolenaar2018-12-291-2/+2
| | | | | | | | | Problem: Deleting signs and completion for :sign is insufficient. Solution: Add deleting signs in a specified or any group from the current cursor location. Add group and priority to sign command completion. Add tests for different sign unplace commands. Update help text. Add tests for sign jump with group. Update help for sign jump. (Yegappan Lakshmanan, closes #3731)
* patch 8.1.0614: placing signs can be complicatedv8.1.0614Bram Moolenaar2018-12-211-2/+2
| | | | | | | Problem: Placing signs can be complicated. Solution: Add functions for defining and placing signs. Introduce a group name to avoid different plugins using the same signs. (Yegappan Lakshmanan, closes #3652)
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-2/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0377: xdiff doesn't use the Vim memory allocation functionsv8.1.0377Bram Moolenaar2018-09-131-2/+2
| | | | | | Problem: Xdiff doesn't use the Vim memory allocation functions. Solution: Change the xdl_ defines. Check for out-of-memory. Rename "ignored" to "vim_ignored".
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-6/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-8/+4
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar2018-02-031-1/+1
| | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
* patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar2018-01-311-41/+7
| | | | | | Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-4/+4
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WINCOL() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-4/+0
| | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
* patch 8.0.0709: libvterm cannot use vsnprintf()v8.0.0709Bram Moolenaar2017-07-111-1/+1
| | | | | Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead.
* patch 8.0.0213: Netbeans specialKeys command does not check argument lengthv8.0.0213Bram Moolenaar2017-01-221-5/+9
| | | | | | Problem: The Netbeans "specialKeys" command does not check if the argument fits in the buffer. (Coverity) Solution: Add a length check.
* patch 8.0.0012v8.0.0012Bram Moolenaar2016-09-251-4/+4
| | | | | Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-2/+2
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.2089v7.4.2089Bram Moolenaar2016-07-211-18/+3
| | | | | | Problem: Color handling of X11 GUIs is too complicated. Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu Kuriyama)
* patch 7.4.2024v7.4.2024Bram Moolenaar2016-07-101-1/+6
| | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
* patch 7.4.1998v7.4.1998Bram Moolenaar2016-07-071-1/+2
| | | | | | | Problem: When writing buffer lines to a job there is no NL to NUL conversion. Solution: Make it work symmetrical with writing lines from a job into a buffer.
* patch 7.4.1975v7.4.1975Bram Moolenaar2016-07-011-5/+5
| | | | | | Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata)
* patch 7.4.1969v7.4.1969Bram Moolenaar2016-07-011-2/+3
| | | | | | Problem: When the netbeans channel is closed consuming the buffer may cause a crash. Solution: Check for nb_channel not to be NULL. (Xavier de Gaye)
* patch 7.4.1908v7.4.1908Bram Moolenaar2016-06-081-22/+25
| | | | | Problem: Netbeans uses uninitialzed pointer and freed memory. Solution: Set "buffer" at the right place (hint by Ken Takata)
* patch 7.4.1906v7.4.1906Bram Moolenaar2016-06-071-6/+7
| | | | | | | Problem: Collapsing channel buffers and searching for NL does not work properly. (Xavier de Gary, Ramel Eshed) Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes to NL to avoid the string is truncated.
* patch 7.4.1891v7.4.1891Bram Moolenaar2016-06-041-1/+1
| | | | | Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
* patch 7.4.1811v7.4.1811Bram Moolenaar2016-04-301-0/+17
| | | | | Problem: Netbeans channel gets garbage collected. Solution: Set reference in nb_channel.
* patch 7.4.1426v7.4.1426Bram Moolenaar2016-02-271-0/+3
| | | | | Problem: The "out-io" option for jobs is not implemented yet. Solution: Implement the "buffer" value: append job output to a buffer.
* patch 7.4.1413v7.4.1413Bram Moolenaar2016-02-241-1/+1
| | | | | | Problem: When calling ch_close() the close callback is invoked, even though the docs say it isn't. (Christian J. Robinson) Solution: Don't call the close callback.
* patch 7.4.1402v7.4.1402Bram Moolenaar2016-02-231-0/+44
| | | | | Problem: GTK 3 is not supported. Solution: Add GTK 3 support. (Kazunobu Kuriyama)
* patch 7.4.1399v7.4.1399Bram Moolenaar2016-02-231-1/+1
| | | | | Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
* patch 7.4.1395v7.4.1395Bram Moolenaar2016-02-221-1/+1
| | | | | | Problem: Using DETACH in quotes is not compatible with the Netbeans interface. (Xavier de Gaye) Solution: Remove the quotes, only use them for JSON and JS mode.