Skip to content

Commit f87a040

Browse files
committed
patch 8.2.0516: client-server code is spread out
Problem: Client-server code is spread out. Solution: Move client-server code to a new file. (Yegappan Lakshmanan, closes #5885)
1 parent b8ed3aa commit f87a040

14 files changed

Lines changed: 1047 additions & 1001 deletions

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SRC_ALL = \
3030
src/channel.c \
3131
src/charset.c \
3232
src/cindent.c \
33+
src/clientserver.c \
3334
src/clipboard.c \
3435
src/cmdexpand.c \
3536
src/cmdhist.c \
@@ -203,6 +204,7 @@ SRC_ALL = \
203204
src/proto/channel.pro \
204205
src/proto/charset.pro \
205206
src/proto/cindent.pro \
207+
src/proto/clientserver.pro \
206208
src/proto/clipboard.pro \
207209
src/proto/cmdexpand.pro \
208210
src/proto/cmdhist.pro \

src/Make_cyg_ming.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ OBJ = \
710710
$(OUTDIR)/change.o \
711711
$(OUTDIR)/charset.o \
712712
$(OUTDIR)/cindent.o \
713+
$(OUTDIR)/clientserver.o \
713714
$(OUTDIR)/clipboard.o \
714715
$(OUTDIR)/cmdexpand.o \
715716
$(OUTDIR)/cmdhist.o \

src/Make_morph.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ SRC = arabic.c \
3333
change.c \
3434
charset.c \
3535
cindent.c \
36+
clientserver.c \
3637
clipboard.c \
3738
cmdexpand.c \
3839
cmdhist.c \

src/Make_mvc.mak

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,7 @@ OBJ = \
730730
$(OUTDIR)\change.obj \
731731
$(OUTDIR)\charset.obj \
732732
$(OUTDIR)\cindent.obj \
733+
$(OUTDIR)\clientserver.obj \
733734
$(OUTDIR)\clipboard.obj \
734735
$(OUTDIR)\cmdexpand.obj \
735736
$(OUTDIR)\cmdhist.obj \
@@ -1516,6 +1517,8 @@ $(OUTDIR)/charset.obj: $(OUTDIR) charset.c $(INCL)
15161517

15171518
$(OUTDIR)/cindent.obj: $(OUTDIR) cindent.c $(INCL)
15181519

1520+
$(OUTDIR)/clientserver.obj: $(OUTDIR) clientserver.c $(INCL)
1521+
15191522
$(OUTDIR)/clipboard.obj: $(OUTDIR) clipboard.c $(INCL)
15201523

15211524
$(OUTDIR)/cmdexpand.obj: $(OUTDIR) cmdexpand.c $(INCL)
@@ -1865,6 +1868,7 @@ proto.h: \
18651868
proto/change.pro \
18661869
proto/charset.pro \
18671870
proto/cindent.pro \
1871+
proto/clientserver.pro \
18681872
proto/clipboard.pro \
18691873
proto/cmdexpand.pro \
18701874
proto/cmdhist.pro \

src/Make_vms.mms

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ SRC = \
306306
change.c \
307307
charset.c \
308308
cindent.c \
309+
clientserver.c \
309310
clipboard.c \
310311
cmdexpand.c \
311312
cmdhist.c \
@@ -413,6 +414,7 @@ OBJ = \
413414
change.obj \
414415
charset.obj \
415416
cindent.obj \
417+
clientserver.obj \
416418
clipboard.obj \
417419
cmdexpand.obj \
418420
cmdhist.obj \
@@ -702,6 +704,10 @@ cindent.obj : cindent.c vim.h [.auto]config.h feature.h os_unix.h \
702704
ascii.h keymap.h term.h macros.h structs.h regexp.h \
703705
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
704706
globals.h
707+
clientserver.obj : clientserver.c vim.h [.auto]config.h feature.h os_unix.h \
708+
ascii.h keymap.h term.h macros.h structs.h regexp.h \
709+
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
710+
globals.h
705711
clipboard.obj : clipboard.c vim.h [.auto]config.h feature.h os_unix.h \
706712
ascii.h keymap.h term.h macros.h structs.h regexp.h \
707713
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \

src/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,7 @@ BASIC_SRC = \
16021602
change.c \
16031603
charset.c \
16041604
cindent.c \
1605+
clientserver.c \
16051606
clipboard.c \
16061607
cmdexpand.c \
16071608
cmdhist.c \
@@ -1747,6 +1748,7 @@ OBJ_COMMON = \
17471748
objects/blob.o \
17481749
objects/blowfish.o \
17491750
objects/cindent.o \
1751+
objects/clientserver.o \
17501752
objects/clipboard.o \
17511753
objects/cmdexpand.o \
17521754
objects/cmdhist.o \
@@ -1908,6 +1910,7 @@ PRO_AUTO = \
19081910
channel.pro \
19091911
charset.pro \
19101912
cindent.pro \
1913+
clientserver.pro \
19111914
clipboard.pro \
19121915
cmdexpand.pro \
19131916
cmdhist.pro \
@@ -3123,6 +3126,9 @@ objects/charset.o: charset.c
31233126
objects/cindent.o: cindent.c
31243127
$(CCC) -o $@ cindent.c
31253128

3129+
objects/clientserver.o: clientserver.c
3130+
$(CCC) -o $@ clientserver.c
3131+
31263132
objects/clipboard.o: clipboard.c
31273133
$(CCC) -o $@ clipboard.c
31283134

@@ -3743,6 +3749,10 @@ objects/cindent.o: cindent.c vim.h protodef.h auto/config.h feature.h os_unix.h
37433749
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
37443750
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
37453751
proto.h globals.h
3752+
objects/clientserver.o: clientserver.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3753+
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3754+
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3755+
proto.h globals.h
37463756
objects/clipboard.o: clipboard.c vim.h protodef.h auto/config.h feature.h os_unix.h \
37473757
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
37483758
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \

src/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ buffer.c | manipulating buffers (loaded files)
3030
bufwrite.c | writing a buffer to file
3131
change.c | handling changes to text
3232
cindent.c | C and Lisp indentation
33+
clientserver.c | client server functionality
3334
clipboard.c | handling the clipboard
3435
cmdexpand.c | command-line completion
3536
cmdhist.c | command-line history

0 commit comments

Comments
 (0)