summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0528
blob: bdccfaca09f3f643c45f281fc560833ba590542d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0528
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0528
Problem:    Various typos in comments.
Solution:   Fix the typos.
Files:	    src/fileio.c, src/gui.c, src/macros.h, src/screen.c, src/search.c,
            src/spell.c, src/spellfile.c, src/vim.h, src/testdir/README.txt,
	    src/INSTALL, src/gui_athena.c, src/gui_gtk.c,
	    src/gui_gtk_x11.c, src/gui_motif.c, src/gui_xmebw.c,
	    src/if_tcl.c, src/os_amiga.c, src/gui_w32.c, src/os_win32.c,
	    src/gui_mac.c, src/os_vms_fix.com


*** ../vim-8.1.0527/src/fileio.c	2018-10-14 21:40:57.352848455 +0200
--- src/fileio.c	2018-10-23 21:33:23.638928974 +0200
***************
*** 8086,8092 ****
  
  /*
   * Add an autocmd group name.
!  * Return it's ID.  Returns AUGROUP_ERROR (< 0) for error.
   */
      static int
  au_new_group(char_u *name)
--- 8086,8092 ----
  
  /*
   * Add an autocmd group name.
!  * Return its ID.  Returns AUGROUP_ERROR (< 0) for error.
   */
      static int
  au_new_group(char_u *name)
***************
*** 8153,8159 ****
  
  /*
   * Find the ID of an autocmd group name.
!  * Return it's ID.  Returns AUGROUP_ERROR (< 0) for error.
   */
      static int
  au_find_group(char_u *name)
--- 8153,8159 ----
  
  /*
   * Find the ID of an autocmd group name.
!  * Return its ID.  Returns AUGROUP_ERROR (< 0) for error.
   */
      static int
  au_find_group(char_u *name)
*** ../vim-8.1.0527/src/gui.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 5501,5507 ****
  	    p = NULL;
  
  	/* Handle the drop, :edit or :split to get to the file.  This also
! 	 * frees fnames[].  Skip this if there is only one item it's a
  	 * directory and Shift is held down. */
  	if (count == 1 && (modifiers & MOUSE_SHIFT) != 0
  						     && mch_isdir(fnames[0]))
--- 5501,5507 ----
  	    p = NULL;
  
  	/* Handle the drop, :edit or :split to get to the file.  This also
! 	 * frees fnames[].  Skip this if there is only one item, it's a
  	 * directory and Shift is held down. */
  	if (count == 1 && (modifiers & MOUSE_SHIFT) != 0
  						     && mch_isdir(fnames[0]))
*** ../vim-8.1.0527/src/macros.h	2018-07-29 16:09:14.644945560 +0200
--- src/macros.h	2018-10-23 21:33:23.646928902 +0200
***************
*** 192,198 ****
  #   define mch_access(n, p)	access((n), (p))
  # endif
  # define mch_fstat(n, p)	fstat((n), (p))
! # ifdef MSWIN	/* has it's own mch_stat() function */
  #  define mch_stat(n, p)	vim_stat((n), (p))
  # else
  #  ifdef STAT_IGNORES_SLASH
--- 192,198 ----
  #   define mch_access(n, p)	access((n), (p))
  # endif
  # define mch_fstat(n, p)	fstat((n), (p))
! # ifdef MSWIN	/* has its own mch_stat() function */
  #  define mch_stat(n, p)	vim_stat((n), (p))
  # else
  #  ifdef STAT_IGNORES_SLASH
*** ../vim-8.1.0527/src/screen.c	2018-10-02 21:48:30.641640211 +0200
--- src/screen.c	2018-10-23 21:33:23.646928902 +0200
***************
*** 6223,6229 ****
  	     * first highlighted character.  The stop-highlighting code must
  	     * be written with the cursor just after the last highlighted
  	     * character.
! 	     * Overwriting a character doesn't remove it's highlighting.  Need
  	     * to clear the rest of the line, and force redrawing it
  	     * completely.
  	     */
--- 6223,6229 ----
  	     * first highlighted character.  The stop-highlighting code must
  	     * be written with the cursor just after the last highlighted
  	     * character.
! 	     * Overwriting a character doesn't remove its highlighting.  Need
  	     * to clear the rest of the line, and force redrawing it
  	     * completely.
  	     */
*** ../vim-8.1.0527/src/search.c	2018-09-30 21:43:17.203693237 +0200
--- src/search.c	2018-10-23 21:33:23.646928902 +0200
***************
*** 357,365 ****
   * Save and restore the search pattern for incremental highlight search
   * feature.
   *
!  * It's similar but differnt from save_search_patterns() and
   * restore_search_patterns(), because the search pattern must be restored when
!  * cannceling incremental searching even if it's called inside user functions.
   */
      void
  save_last_search_pattern(void)
--- 357,365 ----
   * Save and restore the search pattern for incremental highlight search
   * feature.
   *
!  * It's similar to but different from save_search_patterns() and
   * restore_search_patterns(), because the search pattern must be restored when
!  * canceling incremental searching even if it's called inside user functions.
   */
      void
  save_last_search_pattern(void)
***************
*** 2869,2875 ****
  	    }
  #endif
  
! 	    /* POSIX has it's own ideas of what a paragraph boundary is and it
  	     * doesn't match historical Vi: It also stops at a "{" in the
  	     * first column and at an empty line. */
  	    if (!first && did_skip && (startPS(curr, what, both)
--- 2869,2875 ----
  	    }
  #endif
  
! 	    /* POSIX has its own ideas of what a paragraph boundary is and it
  	     * doesn't match historical Vi: It also stops at a "{" in the
  	     * first column and at an empty line. */
  	    if (!first && did_skip && (startPS(curr, what, both)
*** ../vim-8.1.0527/src/spell.c	2018-09-30 21:43:17.203693237 +0200
--- src/spell.c	2018-10-23 21:33:23.646928902 +0200
***************
*** 2686,2692 ****
  
  /*
   * Find the region "region[2]" in "rp" (points to "sl_regions").
!  * Each region is simply stored as the two characters of it's name.
   * Returns the index if found (first is 0), REGION_ALL if not found.
   */
      static int
--- 2686,2692 ----
  
  /*
   * Find the region "region[2]" in "rp" (points to "sl_regions").
!  * Each region is simply stored as the two characters of its name.
   * Returns the index if found (first is 0), REGION_ALL if not found.
   */
      static int
*** ../vim-8.1.0527/src/spellfile.c	2018-09-30 21:43:17.203693237 +0200
--- src/spellfile.c	2018-10-23 21:33:23.650928864 +0200
***************
*** 3784,3790 ****
  	if (get_affitem(affile->af_flagtype, &p) != 0)
  	{
  	    /* A flag is a postponed prefix flag if it appears in "af_pref"
! 	     * and it's ID is not zero. */
  	    vim_strncpy(key, prevp, p - prevp);
  	    hi = hash_find(&affile->af_pref, key);
  	    if (!HASHITEM_EMPTY(hi))
--- 3784,3790 ----
  	if (get_affitem(affile->af_flagtype, &p) != 0)
  	{
  	    /* A flag is a postponed prefix flag if it appears in "af_pref"
! 	     * and its ID is not zero. */
  	    vim_strncpy(key, prevp, p - prevp);
  	    hi = hash_find(&affile->af_pref, key);
  	    if (!HASHITEM_EMPTY(hi))
*** ../vim-8.1.0527/src/vim.h	2018-10-07 23:16:33.134616234 +0200
--- src/vim.h	2018-10-23 20:29:03.588597981 +0200
***************
*** 1270,1276 ****
      EVENT_BUFWRITECMD,		// write buffer using command
      EVENT_BUFWRITEPOST,		// after writing a buffer
      EVENT_BUFWRITEPRE,		// before writing a buffer
!     EVENT_CMDLINECHANGED,	// command line was modified*/
      EVENT_CMDLINEENTER,		// after entering the command line
      EVENT_CMDLINELEAVE,		// before leaving the command line
      EVENT_CMDUNDEFINED,		// command undefined
--- 1270,1276 ----
      EVENT_BUFWRITECMD,		// write buffer using command
      EVENT_BUFWRITEPOST,		// after writing a buffer
      EVENT_BUFWRITEPRE,		// before writing a buffer
!     EVENT_CMDLINECHANGED,	// command line was modified
      EVENT_CMDLINEENTER,		// after entering the command line
      EVENT_CMDLINELEAVE,		// before leaving the command line
      EVENT_CMDUNDEFINED,		// command undefined
*** ../vim-8.1.0527/src/testdir/README.txt	2018-09-09 15:56:03.143904759 +0200
--- src/testdir/README.txt	2018-09-16 14:26:14.690949666 +0200
***************
*** 54,60 ****
  
  TO ADD A SCREEN DUMP TEST:
  
! Mostly the same as writing a new style test.  Additonally, see help on
  "terminal-dumptest".  Put the reference dump in "dumps/Test_func_name.dump".
  
  
--- 54,60 ----
  
  TO ADD A SCREEN DUMP TEST:
  
! Mostly the same as writing a new style test.  Additionally, see help on
  "terminal-dumptest".  Put the reference dump in "dumps/Test_func_name.dump".
  
  
*** ../vim-8.1.0527/src/INSTALL	2016-11-12 20:11:25.000000000 +0100
--- src/INSTALL	2018-09-08 15:56:45.698920295 +0200
***************
*** 11,20 ****
  
  See INSTALLami.txt              for Amiga
  See INSTALLmac.txt              for Macintosh
! See INSTALLpc.txt               for PC (Windows 95/98/NT/XP/Vista/7/8/10)
  See INSTALLvms.txt              for VMS
  See INSTALLx.txt		for cross-compiling on Unix
! See ../README_390.txt           for OS/390 Unix
  See ../runtime/doc/os_beos.txt  for BeBox
  
  
--- 11,20 ----
  
  See INSTALLami.txt              for Amiga
  See INSTALLmac.txt              for Macintosh
! See INSTALLpc.txt               for PC (Windows XP/Vista/7/8/10)
  See INSTALLvms.txt              for VMS
  See INSTALLx.txt		for cross-compiling on Unix
! See ../READMEdir/README_390.txt for z/OS and OS/390 Unix
  See ../runtime/doc/os_beos.txt  for BeBox
  
  
*** ../vim-8.1.0527/src/gui_athena.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui_athena.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 900,906 ****
  	{
  	    XtUnmanageChild(id);
  	    XtVaSetValues(id, XtNfontSet, gui.menu_fontset, NULL);
! 	    /* We should force the widget to recalculate it's
  	     * geometry now. */
  	    XtManageChild(id);
  	}
--- 900,906 ----
  	{
  	    XtUnmanageChild(id);
  	    XtVaSetValues(id, XtNfontSet, gui.menu_fontset, NULL);
! 	    /* We should force the widget to recalculate its
  	     * geometry now. */
  	    XtManageChild(id);
  	}
***************
*** 929,935 ****
  	if (has_submenu(id))
  	    XtVaSetValues(id, XtNrightBitmap, pullerBitmap, NULL);
  
! 	/* Force the widget to recalculate it's geometry now. */
  	if (managed)
  	    XtManageChild(id);
      }
--- 929,935 ----
  	if (has_submenu(id))
  	    XtVaSetValues(id, XtNrightBitmap, pullerBitmap, NULL);
  
! 	/* Force the widget to recalculate its geometry now. */
  	if (managed)
  	    XtManageChild(id);
      }
***************
*** 989,995 ****
  	}
      }
      /* Now, to simulate the window being resized.  Only, this
!      * will resize the window to it's current state.
       *
       * There has to be a better way, but I do not see one at this time.
       * (David Harrison)
--- 989,995 ----
  	}
      }
      /* Now, to simulate the window being resized.  Only, this
!      * will resize the window to its current state.
       *
       * There has to be a better way, but I do not see one at this time.
       * (David Harrison)
***************
*** 1071,1077 ****
  		}
  
  # ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change it's colors */
  		if (mp->tip != NULL)
  		{
  		    Arg args[2];
--- 1071,1077 ----
  		}
  
  # ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change its colors */
  		if (mp->tip != NULL)
  		{
  		    Arg args[2];
***************
*** 1089,1095 ****
  	    {
  		gui_athena_menu_font(mp->id);
  #ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change it's font */
  		/* Assume XtNinternational == True (in createBalloonEvalWindow)
  		 */
  		if (mp->tip != NULL)
--- 1089,1095 ----
  	    {
  		gui_athena_menu_font(mp->id);
  #ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change its font */
  		/* Assume XtNinternational == True (in createBalloonEvalWindow)
  		 */
  		if (mp->tip != NULL)
***************
*** 1552,1558 ****
  	 * This is a hack to stop the Athena simpleMenuWidget from getting a
  	 * BadValue error when a menu's last child is destroyed. We check to
  	 * see if this is the last child and if so, don't delete it. The parent
! 	 * will be deleted soon anyway, and it will delete it's children like
  	 * all good widgets do.
  	 */
  	/* NOTE: The cause of the BadValue X Protocol Error is because when the
--- 1552,1558 ----
  	 * This is a hack to stop the Athena simpleMenuWidget from getting a
  	 * BadValue error when a menu's last child is destroyed. We check to
  	 * see if this is the last child and if so, don't delete it. The parent
! 	 * will be deleted soon anyway, and it will delete its children like
  	 * all good widgets do.
  	 */
  	/* NOTE: The cause of the BadValue X Protocol Error is because when the
*** ../vim-8.1.0527/src/gui_gtk.c	2018-09-18 22:29:59.888041388 +0200
--- src/gui_gtk.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 925,931 ****
  	g_object_ref(menu->id);
  
      /* Workaround for a spurious gtk warning in Ubuntu: "Trying to remove
!      * a child that doesn't believe we're it's parent."
       * Remove widget from gui.menubar before destroying it. */
      if (menu->id != NULL && gui.menubar != NULL
  			    && gtk_widget_get_parent(menu->id) == gui.menubar)
--- 925,931 ----
  	g_object_ref(menu->id);
  
      /* Workaround for a spurious gtk warning in Ubuntu: "Trying to remove
!      * a child that doesn't believe we're its parent."
       * Remove widget from gui.menubar before destroying it. */
      if (menu->id != NULL && gui.menubar != NULL
  			    && gtk_widget_get_parent(menu->id) == gui.menubar)
*** ../vim-8.1.0527/src/gui_gtk_x11.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui_gtk_x11.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 4284,4290 ****
   * hints (and thus the required size from -geom), but that after that we
   * put the hints back to normal (the actual minimum size) so we may
   * subsequently be resized smaller.  GtkSocket (the parent end) uses the
!  * plug's window 'min hints to set *it's* minimum size, but that's also the
   * only way we have of making ourselves bigger (by set lines/columns).
   * Thus set hints at start-up to ensure correct init. size, then a
   * second after the final attempt to reset the real minimum hints (done by
--- 4284,4290 ----
   * hints (and thus the required size from -geom), but that after that we
   * put the hints back to normal (the actual minimum size) so we may
   * subsequently be resized smaller.  GtkSocket (the parent end) uses the
!  * plug's window 'min hints to set *its* minimum size, but that's also the
   * only way we have of making ourselves bigger (by set lines/columns).
   * Thus set hints at start-up to ensure correct init. size, then a
   * second after the final attempt to reset the real minimum hints (done by
*** ../vim-8.1.0527/src/gui_motif.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui_motif.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 1114,1120 ****
  	XtManageChild(id);
  
      /*
!      * Now find the menu item that is the furthest down, and get it's position.
       */
      maxy = 0;
      for (mp = root_menu; mp != NULL; mp = mp->next)
--- 1114,1120 ----
  	XtManageChild(id);
  
      /*
!      * Now find the menu item that is the furthest down, and get its position.
       */
      maxy = 0;
      for (mp = root_menu; mp != NULL; mp = mp->next)
***************
*** 1550,1556 ****
  		    XtSetValues(mp->id, args, n);
  		}
  # ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change it's font */
  		if (mp->tip != NULL)
  		{
  		    Arg args[2];
--- 1550,1556 ----
  		    XtSetValues(mp->id, args, n);
  		}
  # ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change its font */
  		if (mp->tip != NULL)
  		{
  		    Arg args[2];
***************
*** 1568,1574 ****
  	    {
  		gui_motif_menu_fontlist(mp->id);
  #ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change it's font */
  		if (mp->tip != NULL)
  		{
  		    Arg args[1];
--- 1568,1574 ----
  	    {
  		gui_motif_menu_fontlist(mp->id);
  #ifdef FEAT_BEVAL_GUI
! 		/* If we have a tooltip, then we need to change its font */
  		if (mp->tip != NULL)
  		{
  		    Arg args[1];
***************
*** 2089,2095 ****
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate it's
  		 * geometry now. */
  		XtManageChild(id);
  	    }
--- 2089,2095 ----
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate its
  		 * geometry now. */
  		XtManageChild(id);
  	    }
***************
*** 2108,2114 ****
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate it's
  		 * geometry now. */
  		XtManageChild(id);
  	    }
--- 2108,2114 ----
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate its
  		 * geometry now. */
  		XtManageChild(id);
  	    }
***************
*** 3407,3413 ****
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate it's
  		 * geometry now. */
  		XtManageChild(id);
  	    }
--- 3407,3413 ----
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate its
  		 * geometry now. */
  		XtManageChild(id);
  	    }
***************
*** 3428,3434 ****
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate it's
  		 * geometry now. */
  		XtManageChild(id);
  	    }
--- 3428,3434 ----
  	    {
  		XtUnmanageChild(id);
  		XtVaSetValues(id, XmNfontList, fl, NULL);
! 		/* We should force the widget to recalculate its
  		 * geometry now. */
  		XtManageChild(id);
  	    }
*** ../vim-8.1.0527/src/gui_xmebw.c	2016-08-29 22:42:20.000000000 +0200
--- src/gui_xmebw.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 50,56 ****
   * implementation.  Also missing in Motif 1.2 and earlier.
   *
   * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
!  * pixmap will not appear in it's caches properly. We cache the interesting
   * values in XmEnhancedButtonPart instead ourself.
   */
  #if defined(LESSTIF_VERSION) || (XmVersion <= 1002)
--- 50,56 ----
   * implementation.  Also missing in Motif 1.2 and earlier.
   *
   * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
!  * pixmap will not appear in its caches properly. We cache the interesting
   * values in XmEnhancedButtonPart instead ourself.
   */
  #if defined(LESSTIF_VERSION) || (XmVersion <= 1002)
*** ../vim-8.1.0527/src/if_tcl.c	2018-07-25 22:02:32.235966277 +0200
--- src/if_tcl.c	2018-10-23 21:33:23.646928902 +0200
***************
*** 113,119 ****
  
  /*
   *  List of Tcl interpreters who reference a vim window or buffer.
!  *  Each buffer and window has it's own list in the w_tcl_ref or b_tcl_ref
   *  struct member.  We need this because Tcl can create sub-interpreters with
   *  the "interp" command, and each interpreter can reference all windows and
   *  buffers.
--- 113,119 ----
  
  /*
   *  List of Tcl interpreters who reference a vim window or buffer.
!  *  Each buffer and window has its own list in the w_tcl_ref or b_tcl_ref
   *  struct member.  We need this because Tcl can create sub-interpreters with
   *  the "interp" command, and each interpreter can reference all windows and
   *  buffers.
*** ../vim-8.1.0527/src/os_amiga.c	2018-08-07 22:30:26.670240840 +0200
--- src/os_amiga.c	2018-10-23 21:33:23.646928902 +0200
***************
*** 941,947 ****
   *	getch() will return immediately rather than wait for a return. You
   *	lose editing features though.
   *
!  * Cooked: This function returns the designate file pointer to it's normal,
   *	wait for a <CR> mode. This is exactly like raw() except that
   *	it sends a 0 to the console to make it back into a CON: from a RAW:
   */
--- 941,947 ----
   *	getch() will return immediately rather than wait for a return. You
   *	lose editing features though.
   *
!  * Cooked: This function returns the designate file pointer to its normal,
   *	wait for a <CR> mode. This is exactly like raw() except that
   *	it sends a 0 to the console to make it back into a CON: from a RAW:
   */
***************
*** 1387,1393 ****
  	got_int = TRUE;
  }
  
! /* this routine causes manx to use this Chk_Abort() rather than it's own */
  /* otherwise it resets our ^C when doing any I/O (even when Enable_Abort */
  /* is zero).  Since we want to check for our own ^C's			 */
  
--- 1387,1393 ----
  	got_int = TRUE;
  }
  
! /* this routine causes manx to use this Chk_Abort() rather than its own */
  /* otherwise it resets our ^C when doing any I/O (even when Enable_Abort */
  /* is zero).  Since we want to check for our own ^C's			 */
  
*** ../vim-8.1.0527/src/gui_w32.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui_w32.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 5658,5664 ****
      HMONITOR	    mon;
      MONITORINFO	    moninfo;
  
!     /* work out which monitor the window is on, and get *it's* work area */
      mon = MonitorFromWindow(s_hwnd, MONITOR_DEFAULTTOPRIMARY);
      if (mon != NULL)
      {
--- 5658,5664 ----
      HMONITOR	    mon;
      MONITORINFO	    moninfo;
  
!     /* work out which monitor the window is on, and get *its* work area */
      mon = MonitorFromWindow(s_hwnd, MONITOR_DEFAULTTOPRIMARY);
      if (mon != NULL)
      {
*** ../vim-8.1.0527/src/os_win32.c	2018-10-07 15:49:50.819989002 +0200
--- src/os_win32.c	2018-10-16 21:14:09.815286843 +0200
***************
*** 5035,5043 ****
      {
  	/* Use a terminal window to run the command in. */
  	x = mch_call_shell_terminal(cmd, options);
! #ifdef FEAT_TITLE
  	resettitle();
! #endif
  	return x;
      }
  #endif
--- 5035,5043 ----
      {
  	/* Use a terminal window to run the command in. */
  	x = mch_call_shell_terminal(cmd, options);
! # ifdef FEAT_TITLE
  	resettitle();
! # endif
  	return x;
      }
  #endif
***************
*** 7341,7347 ****
   */
  
  /* These magic numbers are from the MS header files */
! #define MIN_STACK_WINNT 2
  
  /*
   * This function does the same thing as _resetstkoflw(), which is only
--- 7341,7347 ----
   */
  
  /* These magic numbers are from the MS header files */
! # define MIN_STACK_WINNT 2
  
  /*
   * This function does the same thing as _resetstkoflw(), which is only
***************
*** 7586,7592 ****
  	{
  	    int literal = used_file_literal;
  
! #ifdef FEAT_DIFF
  	    /* When using diff mode may need to concatenate file name to
  	     * directory name.  Just like it's done in main(). */
  	    if (used_file_diff_mode && mch_isdir(str) && GARGCOUNT > 0
--- 7586,7592 ----
  	{
  	    int literal = used_file_literal;
  
! # ifdef FEAT_DIFF
  	    /* When using diff mode may need to concatenate file name to
  	     * directory name.  Just like it's done in main(). */
  	    if (used_file_diff_mode && mch_isdir(str) && GARGCOUNT > 0
***************
*** 7601,7607 ****
  		    str = r;
  		}
  	    }
! #endif
  	    /* Re-use the old buffer by renaming it.  When not using literal
  	     * names it's done by alist_expand() below. */
  	    if (used_file_literal)
--- 7601,7607 ----
  		    str = r;
  		}
  	    }
! # endif
  	    /* Re-use the old buffer by renaming it.  When not using literal
  	     * names it's done by alist_expand() below. */
  	    if (used_file_literal)
***************
*** 7679,7687 ****
  #endif
      {
  	_putenv((char *)envbuf);
! # ifdef libintl_putenv
  	libintl_putenv((char *)envbuf);
! # endif
  	/* Unlike Un*x systems, we can free the string for _putenv(). */
  	vim_free(envbuf);
      }
--- 7679,7687 ----
  #endif
      {
  	_putenv((char *)envbuf);
! #ifdef libintl_putenv
  	libintl_putenv((char *)envbuf);
! #endif
  	/* Unlike Un*x systems, we can free the string for _putenv(). */
  	vim_free(envbuf);
      }
***************
*** 7742,7748 ****
      fg = (GetRValue(fg) << 16) | (GetGValue(fg) << 8) | GetBValue(fg);
      default_console_color_bg = bg;
      default_console_color_fg = fg;
! #endif
  
      set_console_color_rgb();
  }
--- 7742,7748 ----
      fg = (GetRValue(fg) << 16) | (GetGValue(fg) << 8) | GetBValue(fg);
      default_console_color_bg = bg;
      default_console_color_fg = fg;
! # endif
  
      set_console_color_rgb();
  }
*** ../vim-8.1.0527/src/gui_mac.c	2018-09-30 21:43:17.191693320 +0200
--- src/gui_mac.c	2018-10-23 21:33:23.642928936 +0200
***************
*** 2278,2284 ****
      if (p_mh)
  	ObscureCursor();
  
!     /* Get the key code and it's ASCII representation */
      key_sym = ((theEvent->message & keyCodeMask) >> 8);
      key_char = theEvent->message & charCodeMask;
      num = 1;
--- 2278,2284 ----
      if (p_mh)
  	ObscureCursor();
  
!     /* Get the key code and its ASCII representation */
      key_sym = ((theEvent->message & keyCodeMask) >> 8);
      key_char = theEvent->message & charCodeMask;
      num = 1;
***************
*** 2597,2603 ****
  bail:
      /*
       * when we fail give any additional callback handler a chance to perform
!      * it's actions
       */
      return CallNextEventHandler(nextHandler, theEvent);
  }
--- 2597,2603 ----
  bail:
      /*
       * when we fail give any additional callback handler a chance to perform
!      * its actions
       */
      return CallNextEventHandler(nextHandler, theEvent);
  }
*** ../vim-8.1.0527/src/os_vms_fix.com	2010-05-15 13:04:11.000000000 +0200
--- src/os_vms_fix.com	2018-10-23 21:33:23.646928902 +0200
***************
*** 15,21 ****
  $! remember when DCL didn't have them, and I wanted this to be as
  $! portable as possible, so...  If you want to structure it nicer for
  $! your own use, please feel free to do so.  However, please only
! $! distribute it in it's original form.
  $!
  $! I wrote it in DCL for portability and ease of use - a C version
  $! would definitely run faster, but then I'd have to deal with compiler
--- 15,21 ----
  $! remember when DCL didn't have them, and I wanted this to be as
  $! portable as possible, so...  If you want to structure it nicer for
  $! your own use, please feel free to do so.  However, please only
! $! distribute it in its original form.
  $!
  $! I wrote it in DCL for portability and ease of use - a C version
  $! would definitely run faster, but then I'd have to deal with compiler
*** ../vim-8.1.0527/src/version.c	2018-11-14 21:45:28.996589969 +0100
--- src/version.c	2018-11-16 16:19:14.749927495 +0100
***************
*** 794,795 ****
--- 794,797 ----
  {   /* Add new patch number below this line */
+ /**/
+     528,
  /**/

-- 
ARTHUR: Listen, old crone!  Unless you tell us where we can buy a shrubbery,
        my friend and I will ... we will say "Ni!"
CRONE:  Do your worst!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///