]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.141
- removed conflict with 6.2.259
[packages/vim.git] / 6.2.141
CommitLineData
eb0ac1ae
AG
1To: vim-dev@vim.org
2Subject: Patch 6.2.141 (extra)
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.141 (extra)
11Problem: Mac: The b_FSSpec field is sometimes unused.
12Solution: Change the #ifdef to FEAT_CW_EDITOR and defined it in feature.h
13Files: src/fileio.c, src/gui_mac.c, src/structs.h, src/feature.h
14
15
16*** ../vim-6.2.140/src/fileio.c Wed Oct 29 14:29:15 2003
17--- src/fileio.c Sat Nov 1 13:42:24 2003
18***************
19*** 443,449 ****
20 (void)mch_setperm(curbuf->b_ml.ml_mfp->mf_fname,
21 (long)((st.st_mode & 0777) | 0600));
22 #endif
23! #ifdef MACOS_CLASSIC /* TODO: Is it need for MACOS_X? (Dany) */
24 /* Get the FSSpec on MacOS
25 * TODO: Update it properly when the buffer name changes
26 */
27--- 443,449 ----
28 (void)mch_setperm(curbuf->b_ml.ml_mfp->mf_fname,
29 (long)((st.st_mode & 0777) | 0600));
30 #endif
31! #ifdef FEAT_CW_EDITOR
32 /* Get the FSSpec on MacOS
33 * TODO: Update it properly when the buffer name changes
34 */
35*** ../vim-6.2.140/src/gui_mac.c Mon Oct 13 22:21:06 2003
36--- src/gui_mac.c Sun Nov 2 12:55:39 2003
37***************
38*** 60,66 ****
39 #define USE_AEVENT
40
41 /* Compile as CodeWarior External Editor */
42- #define FEAT_CW_EDITOR
43 #if defined(FEAT_CW_EDITOR) && !defined(USE_AEVENT)
44 # define USE_AEVENT /* Need Apple Event Support */
45 #endif
46--- 60,65 ----
47***************
48*** 5108,5127 ****
49 #endif
50 }
51
52! /*
53! *
54! */
55 void
56 mch_post_buffer_write (buf_T *buf)
57 {
58! #ifdef USE_SIOUX
59 printf ("Writing Buf...\n");
60! #endif
61 GetFSSpecFromPath (buf->b_ffname, &buf->b_FSSpec);
62- #ifdef FEAT_CW_EDITOR
63 Send_KAHL_MOD_AE (buf);
64- #endif
65 }
66
67 #ifdef FEAT_TITLE
68 /*
69--- 5107,5124 ----
70 #endif
71 }
72
73! #if defined(FEAT_CW_EDITOR) || defined(PROTO)
74! /* TODO: Is it need for MACOS_X? (Dany) */
75 void
76 mch_post_buffer_write(buf_T *buf)
77 {
78! # ifdef USE_SIOUX
79 printf ("Writing Buf...\n");
80! # endif
81 GetFSSpecFromPath (buf->b_ffname, &buf->b_FSSpec);
82 Send_KAHL_MOD_AE (buf);
83 }
84+ #endif
85
86 #ifdef FEAT_TITLE
87 /*
88*** ../vim-6.2.140/src/structs.h Sun Aug 10 22:24:37 2003
89--- src/structs.h Sat Nov 1 13:42:02 2003
90***************
91*** 891,897 ****
92 int b_dev; /* device number (-1 if not set) */
93 ino_t b_ino; /* inode number */
94 #endif
95! #ifdef MACOS
96 FSSpec b_FSSpec; /* MacOS File Identification */
97 #endif
98 #ifdef VMS
99--- 891,897 ----
100 int b_dev; /* device number (-1 if not set) */
101 ino_t b_ino; /* inode number */
102 #endif
103! #ifdef FEAT_CW_EDITOR
104 FSSpec b_FSSpec; /* MacOS File Identification */
105 #endif
106 #ifdef VMS
107*** ../vim-6.2.140/src/feature.h Mon Oct 13 22:48:17 2003
108--- src/feature.h Sun Nov 2 12:56:37 2003
109***************
110*** 743,748 ****
111--- 743,753 ----
112 # define FEAT_GUI_TEXTDIALOG
113 #endif
114
115+ /* Mac specific thing: Codewarrior interface. */
116+ #ifdef FEAT_GUI_MAC
117+ # define FEAT_CW_EDITOR
118+ #endif
119+
120 /*
121 * Preferences:
122 * ============
123*** ../vim-6.2.140/src/version.c Wed Oct 29 14:51:49 2003
124--- src/version.c Sun Nov 2 15:26:23 2003
125***************
126*** 639,640 ****
127--- 639,642 ----
128 { /* Add new patch number below this line */
129+ /**/
130+ 141,
131 /**/
132
133--
134A parent can be arrested if his child cannot hold back a burp during a church
135service.
136 [real standing law in Nebraska, United States of America]
137
138 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
139/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
140\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
141 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.067738 seconds and 4 git commands to generate.