Skip to content

Commit b07269a

Browse files
committed
updated for version 7.3.191
Problem: Still some RISC OS stuff to remove. Solution: Remove files and lines. (Hong Xu) Remove the 'osfiletype' option code.
1 parent 20f90cf commit b07269a

13 files changed

Lines changed: 10 additions & 220 deletions

File tree

Filelist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ SRC_EXTRA = \
427427
$(SRC_VMS) \
428428
README_os390.txt \
429429
src/Make_mint.mak \
430-
src/Make_ro.mak \
431430
src/if_sniff.c \
432431
src/infplist.xml \
433432
src/link.390 \

README_extra.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ src/if_sniff.* Interface to SNiFF. If you don't know what SNiFF is,
1313

1414
src/os_amiga.* Files for the Amiga port.
1515

16-
src/gui_riscos.*
17-
src/os_riscos.* Files for the RISC OS port.
18-
1916
src/gui_beos.*
2017
src/os_beos.* Files for the BeOS port.
2118

src/INSTALL

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ executable version of Vim, you don't need this.
66
Contents:
77
1. Generic
88
2. Unix
9-
3. RISC OS
10-
4. OS/2 (with EMX 0.9b)
11-
5. Atari MiNT
9+
3. OS/2 (with EMX 0.9b)
10+
4. Atari MiNT
1211

1312
See INSTALLami.txt for Amiga
1413
See INSTALLmac.txt for Macintosh
@@ -174,25 +173,7 @@ And to not search for locally installed headers and libraries at all, use:
174173
./configure --without-local-dir
175174

176175

177-
3. RISC OS
178-
=============
179-
180-
Much file renaming is needed before you can compile anything.
181-
You'll need UnixLib to link against, GCC and GNU make.
182-
183-
I suggest you get the RISC OS binary distribution, which includes the
184-
Templates file and the loader.
185-
186-
Try here: http://www.ecs.soton.ac.uk/~tal197
187-
188-
Do
189-
:help riscos
190-
191-
within the editor for more information, or read the
192-
../runtime/doc/os_risc.txt help file.
193-
194-
195-
4. OS/2
176+
3. OS/2
196177
=======
197178

198179
Summary:
@@ -237,7 +218,7 @@ Prerequisites:
237218
Check ../runtime/doc/os_os2.txt for additional info on running Vim.
238219

239220

240-
5. Atari MiNT
221+
4. Atari MiNT
241222
=============
242223

243224
[NOTE: this is quite old, it might not work anymore]

src/Make_ro.mak

Lines changed: 0 additions & 135 deletions
This file was deleted.

src/Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# - Uncomment the line "CONF_OPT_X = --without-x" if you have X11 but
3030
# want to disable using X11 libraries. This speeds up starting Vim,
3131
# but the window title will not be set and the X11 selection can not
32-
# used.
32+
# be used.
3333
# - Uncomment the line "CONF_OPT_XSMP = --disable-xsmp" if you have the
3434
# X11 Session Management Protocol (XSMP) library (libSM) but do not
3535
# want to use it.
@@ -730,12 +730,6 @@ LINT_OPTIONS = -beprxzF
730730
### USL for Unix Systems Laboratories (SYSV 4.2)
731731
#EXTRA_DEFS = -DUSL
732732

733-
### RISCos on MIPS without X11
734-
#EXTRA_DEFS = -DMIPS
735-
736-
### RISCos on MIPS with X11
737-
#EXTRA_LIBS = -lsun
738-
739733
### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
740734
#CC= gcc -D_POSIX_SOURCE
741735
#CFLAGS= -O2
@@ -1633,7 +1627,7 @@ PRO_AUTO = \
16331627
RSRC_DIR = os_mac_rsrc
16341628

16351629
PRO_MANUAL = os_amiga.pro os_msdos.pro os_win16.pro os_win32.pro \
1636-
os_mswin.pro os_beos.pro os_vms.pro os_riscos.pro $(PERL_PRO)
1630+
os_mswin.pro os_beos.pro os_vms.pro $(PERL_PRO)
16371631

16381632
# Default target is making the executable and tools
16391633
all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)

src/buffer.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,9 +1808,6 @@ free_buf_options(buf, free_p_ff)
18081808
#ifdef FEAT_AUTOCMD
18091809
clear_string_option(&buf->b_p_ft);
18101810
#endif
1811-
#ifdef FEAT_OSFILETYPE
1812-
clear_string_option(&buf->b_p_oft);
1813-
#endif
18141811
#ifdef FEAT_CINDENT
18151812
clear_string_option(&buf->b_p_cink);
18161813
clear_string_option(&buf->b_p_cino);

src/eval.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12076,9 +12076,6 @@ f_has(argvars, rettv)
1207612076
#ifdef FEAT_OLE
1207712077
"ole",
1207812078
#endif
12079-
#ifdef FEAT_OSFILETYPE
12080-
"osfiletype",
12081-
#endif
1208212079
#ifdef FEAT_PATH_EXTRA
1208312080
"path_extra",
1208412081
#endif

src/feature.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -505,15 +505,6 @@
505505
# define FEAT_WILDMENU
506506
#endif
507507

508-
/*
509-
* +osfiletype filetype checking in autocommand patterns.
510-
* Only on systems that support filetypes (RISC OS).
511-
*/
512-
#if 0
513-
# define FEAT_OSFILETYPE
514-
# define DFLT_OFT "Text"
515-
#endif
516-
517508
/*
518509
* +viminfo reading/writing the viminfo file. Takes about 8Kbyte
519510
* of code.

src/option.c

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@
140140
#define PV_MOD OPT_BUF(BV_MOD)
141141
#define PV_MPS OPT_BUF(BV_MPS)
142142
#define PV_NF OPT_BUF(BV_NF)
143-
#ifdef FEAT_OSFILETYPE
144-
# define PV_OFT OPT_BUF(BV_OFT)
145-
#endif
146143
#ifdef FEAT_COMPL_FUNC
147144
# define PV_OFU OPT_BUF(BV_OFU)
148145
#endif
@@ -337,9 +334,6 @@ static int p_ma;
337334
static int p_mod;
338335
static char_u *p_mps;
339336
static char_u *p_nf;
340-
#ifdef FEAT_OSFILETYPE
341-
static char_u *p_oft;
342-
#endif
343337
static int p_pi;
344338
#ifdef FEAT_TEXTOBJ
345339
static char_u *p_qe;
@@ -1901,14 +1895,8 @@ static struct vimoption
19011895
(char_u *)NULL, PV_NONE,
19021896
{(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
19031897
{"osfiletype", "oft", P_STRING|P_ALLOCED|P_VI_DEF,
1904-
#ifdef FEAT_OSFILETYPE
1905-
(char_u *)&p_oft, PV_OFT,
1906-
{(char_u *)DFLT_OFT, (char_u *)0L}
1907-
#else
19081898
(char_u *)NULL, PV_NONE,
1909-
{(char_u *)0L, (char_u *)0L}
1910-
#endif
1911-
SCRIPTID_INIT},
1899+
{(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
19121900
{"paragraphs", "para", P_STRING|P_VI_DEF,
19131901
(char_u *)&p_para, PV_NONE,
19141902
{(char_u *)"IPLPPPQPP TPHPLIPpLpItpplpipbp",
@@ -5282,9 +5270,6 @@ check_buf_options(buf)
52825270
#ifdef FEAT_AUTOCMD
52835271
check_string_option(&buf->b_p_ft);
52845272
#endif
5285-
#ifdef FEAT_OSFILETYPE
5286-
check_string_option(&buf->b_p_oft);
5287-
#endif
52885273
#if defined(FEAT_SMARTINDENT) || defined(FEAT_CINDENT)
52895274
check_string_option(&buf->b_p_cinw);
52905275
#endif
@@ -9665,9 +9650,6 @@ get_varp(p)
96659650
case PV_MA: return (char_u *)&(curbuf->b_p_ma);
96669651
case PV_MOD: return (char_u *)&(curbuf->b_changed);
96679652
case PV_NF: return (char_u *)&(curbuf->b_p_nf);
9668-
#ifdef FEAT_OSFILETYPE
9669-
case PV_OFT: return (char_u *)&(curbuf->b_p_oft);
9670-
#endif
96719653
case PV_PI: return (char_u *)&(curbuf->b_p_pi);
96729654
#ifdef FEAT_TEXTOBJ
96739655
case PV_QE: return (char_u *)&(curbuf->b_p_qe);
@@ -10017,9 +9999,6 @@ buf_copy_options(buf, flags)
100179999
#ifdef FEAT_AUTOCMD
1001810000
/* Don't copy 'filetype', it must be detected */
1001910001
buf->b_p_ft = empty_option;
10020-
#endif
10021-
#ifdef FEAT_OSFILETYPE
10022-
buf->b_p_oft = vim_strsave(p_oft);
1002310002
#endif
1002410003
buf->b_p_pi = p_pi;
1002510004
#if defined(FEAT_SMARTINDENT) || defined(FEAT_CINDENT)

src/option.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -984,9 +984,6 @@ enum
984984
, BV_MOD
985985
, BV_MPS
986986
, BV_NF
987-
#ifdef FEAT_OSFILETYPE
988-
, BV_OFT
989-
#endif
990987
#ifdef FEAT_COMPL_FUNC
991988
, BV_OFU
992989
#endif

0 commit comments

Comments
 (0)