Attached is a patch that adds the following line to the end of all
*.cpp, *.c, *.h files.
This might help keeping people like me with different vi defaults on-style!
Index: concordance/concordance.c
===================================================================
RCS file: /cvsroot/concordance/concordance/concordance/concordance.c,v
retrieving revision 1.18
diff -u -p -r1.18 concordance.c
--- concordance/concordance.c 1 Apr 2008 05:32:59 -0000 1.18
+++ concordance/concordance.c 2 Apr 2008 02:57:05 -0000
@@ -996,3 +996,4 @@ cleanup:
return err;
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: consnoop/consnoop.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/consnoop/consnoop.cpp,v
retrieving revision 1.8
diff -u -p -r1.8 consnoop.cpp
--- consnoop/consnoop.cpp 9 Mar 2008 01:50:48 -0000 1.8
+++ consnoop/consnoop.cpp 2 Apr 2008 02:57:06 -0000
@@ -192,3 +192,5 @@ int main(int argc, char *argv[])
infile.close();
return 0;
}
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/binaryfile.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.cpp,v
retrieving revision 1.6
diff -u -p -r1.6 binaryfile.cpp
--- libconcord/binaryfile.cpp 26 Mar 2008 01:48:08 -0000 1.6
+++ libconcord/binaryfile.cpp 2 Apr 2008 02:57:07 -0000
@@ -103,3 +103,4 @@ size_t binaryinfile::read(uint8_t *b, ui
return fread(b, len, 1, m_f);
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/binaryfile.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.h,v
retrieving revision 1.3
diff -u -p -r1.3 binaryfile.h
--- libconcord/binaryfile.h 3 Mar 2008 02:58:16 -0000 1.3
+++ libconcord/binaryfile.h 2 Apr 2008 02:57:07 -0000
@@ -47,3 +47,5 @@ public:
};
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/concordance.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/concordance.h,v
retrieving revision 1.8
diff -u -p -r1.8 concordance.h
--- libconcord/concordance.h 7 Mar 2008 21:25:06 -0000 1.8
+++ libconcord/concordance.h 2 Apr 2008 02:57:07 -0000
@@ -42,3 +42,5 @@ struct options_t {
void report_net_error(const char *msg);
#endif // ifndef CONCORDANCE_H
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/hid.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/hid.h,v
retrieving revision 1.4
diff -u -p -r1.4 hid.h
--- libconcord/hid.h 3 Mar 2008 02:58:16 -0000 1.4
+++ libconcord/hid.h 2 Apr 2008 02:57:07 -0000
@@ -39,3 +39,5 @@ int HID_WriteReport(const uint8_t *data)
int HID_ReadReport(uint8_t *data, unsigned int timeout=500);
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/libconcord.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.cpp,v
retrieving revision 1.21
diff -u -p -r1.21 libconcord.cpp
--- libconcord/libconcord.cpp 1 Apr 2008 08:10:13 -0000 1.21
+++ libconcord/libconcord.cpp 2 Apr 2008 02:57:07 -0000
@@ -1170,3 +1170,4 @@ void report_net_error(const char *msg)
#endif
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/libconcord.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.h,v
retrieving revision 1.14
diff -u -p -r1.14 libconcord.h
--- libconcord/libconcord.h 31 Mar 2008 01:40:36 -0000 1.14
+++ libconcord/libconcord.h 2 Apr 2008 02:57:07 -0000
@@ -399,3 +399,4 @@ int learn_ir_commands(char *file_name, i
#endif /* LIBCONCORD_H */
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/protocol.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol.h,v
retrieving revision 1.6
diff -u -p -r1.6 protocol.h
--- libconcord/protocol.h 30 Mar 2008 10:01:46 -0000 1.6
+++ libconcord/protocol.h 2 Apr 2008 02:57:07 -0000
@@ -105,3 +105,4 @@
#endif
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/protocol_z.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol_z.h,v
retrieving revision 1.2
diff -u -p -r1.2 protocol_z.h
--- libconcord/protocol_z.h 30 Mar 2008 10:01:46 -0000 1.2
+++ libconcord/protocol_z.h 2 Apr 2008 02:57:07 -0000
@@ -139,3 +139,5 @@
#define STATUS_BAD_CHECKSUM 0x7F
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/remote.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.cpp,v
retrieving revision 1.28
diff -u -p -r1.28 remote.cpp
--- libconcord/remote.cpp 1 Apr 2008 07:49:11 -0000 1.28
+++ libconcord/remote.cpp 2 Apr 2008 02:57:07 -0000
@@ -809,3 +809,4 @@ int CRemote::LearnIR(string *learn_strin
return err;
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/remote.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.h,v
retrieving revision 1.15
diff -u -p -r1.15 remote.h
--- libconcord/remote.h 30 Mar 2008 10:01:46 -0000 1.15
+++ libconcord/remote.h 2 Apr 2008 02:57:07 -0000
@@ -268,3 +268,5 @@ public:
};
#endif //REMOTE_H
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/remote_info.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_info.h,v
retrieving revision 1.7
diff -u -p -r1.7 remote_info.h
--- libconcord/remote_info.h 30 Mar 2008 10:01:46 -0000 1.7
+++ libconcord/remote_info.h 2 Apr 2008 02:57:07 -0000
@@ -141,3 +141,5 @@ static const TArchInfo ArchList[11]={
};
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/remote_z.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_z.cpp,v
retrieving revision 1.15
diff -u -p -r1.15 remote_z.cpp
--- libconcord/remote_z.cpp 30 Mar 2008 23:17:09 -0000 1.15
+++ libconcord/remote_z.cpp 2 Apr 2008 02:57:07 -0000
@@ -354,3 +354,4 @@ int CRemoteZ_Base::LearnIR(string *learn
return 0;
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/usblan.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.cpp,v
retrieving revision 1.10
diff -u -p -r1.10 usblan.cpp
--- libconcord/usblan.cpp 30 Mar 2008 23:17:09 -0000 1.10
+++ libconcord/usblan.cpp 2 Apr 2008 02:57:08 -0000
@@ -119,3 +119,5 @@ int UsbLan_Read(unsigned int &len, uint8
return 0;
}
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/usblan.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.h,v
retrieving revision 1.3
diff -u -p -r1.3 usblan.h
--- libconcord/usblan.h 30 Mar 2008 10:01:46 -0000 1.3
+++ libconcord/usblan.h 2 Apr 2008 02:57:08 -0000
@@ -26,3 +26,5 @@ int UsbLan_Write(unsigned int len, uint8
int UsbLan_Read(unsigned int &len, uint8_t *data);
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/web.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.cpp,v
retrieving revision 1.21
diff -u -p -r1.21 web.cpp
--- libconcord/web.cpp 30 Mar 2008 23:17:09 -0000 1.21
+++ libconcord/web.cpp 2 Apr 2008 02:57:08 -0000
@@ -274,3 +274,4 @@ int Post(uint8_t *xml, uint32_t xml_size
return Zap(server, http_header,post.c_str());
}
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/web.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.h,v
retrieving revision 1.7
diff -u -p -r1.7 web.h
--- libconcord/web.h 30 Mar 2008 10:01:46 -0000 1.7
+++ libconcord/web.h 2 Apr 2008 02:57:08 -0000
@@ -25,3 +25,5 @@ int Post(uint8_t *xml, uint32_t xml_size
bool has_userid, string *learn_seq=NULL, string *learn_key=NULL);
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/xml_headers.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/xml_headers.h,v
retrieving revision 1.5
diff -u -p -r1.5 xml_headers.h
--- libconcord/xml_headers.h 30 Mar 2008 10:01:46 -0000 1.5
+++ libconcord/xml_headers.h 2 Apr 2008 02:57:08 -0000
@@ -157,3 +157,5 @@ const char *post_xml="\
</EASYZAPPERDATA>\r\n";
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/libusb/libusbhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libusb/libusbhid.cpp,v
retrieving revision 1.14
diff -u -p -r1.14 libusbhid.cpp
--- libconcord/libusb/libusbhid.cpp 30 Mar 2008 23:17:09 -0000 1.14
+++ libconcord/libusb/libusbhid.cpp 2 Apr 2008 02:57:08 -0000
@@ -230,3 +230,5 @@ int HID_ReadReport(uint8_t *data, unsign
}
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/win/usb_rtl.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/usb_rtl.cpp,v
retrieving revision 1.5
diff -u -p -r1.5 usb_rtl.cpp
--- libconcord/win/usb_rtl.cpp 30 Mar 2008 10:01:46 -0000 1.5
+++ libconcord/win/usb_rtl.cpp 2 Apr 2008 02:57:09 -0000
@@ -121,3 +121,5 @@ void UnlinkUSB(void)
}
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
Index: libconcord/win/winhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/winhid.cpp,v
retrieving revision 1.7
diff -u -p -r1.7 winhid.cpp
--- libconcord/win/winhid.cpp 30 Mar 2008 23:17:09 -0000 1.7
+++ libconcord/win/winhid.cpp 2 Apr 2008 02:57:09 -0000
@@ -276,3 +276,5 @@ int HID_ReadReport(uint8_t *data, unsign
}
#endif
+
+/* vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab: */
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel