Commit Graph

21 Commits

Author SHA1 Message Date
twosee
88355dd338 Constify char * arguments of APIs
Closes GH-5676.
2020-06-08 10:38:45 +02:00
Peter Kokot
92ac598aab Remove local variables
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
2019-02-03 21:03:00 +01:00
Anatol Belski
a56700043e vim folds and modelines 2017-07-04 16:08:48 +02:00
Kalle Sommer Nielsen
2104bea5d7 Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
2016-11-12 11:20:01 +01:00
Stanislav Malyshev
b7a7b1a624 trailing whitespace removal 2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48 first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
Veres Lajos
3f42f2f5d1 typofixes 2014-08-17 15:44:02 +03:00
Pierre Joye
5d017c3e2d - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
foobar
df5cfe27b4 - Fixed bug #29334 (mail() provides incorrect message time header) 2005-08-07 22:06:29 +00:00
Anantha Kesari H Y
0a89e44ed7 NetWare cleanup
--Kamesh
2005-07-28 09:44:13 +00:00
Frank M. Kromann
819b2e56f9 Exporting symbols used in the imap extension 2003-12-08 22:10:42 +00:00
Anantha Kesari H Y
a53ff6ff54 NetWare related changes/modifications. 2003-01-03 15:17:43 +00:00
Frank M. Kromann
ac2f1624d7 Removing unused code and making sure headers are send when called from imap_mail() 2002-12-06 22:56:57 +00:00
Frank M. Kromann
57ec06677f Switch from imap_sendmail.* to sendmail.c under Win32 2002-07-02 22:29:13 +00:00
Markus Fischer
6c6ac37be4 - Headers are now rewritten to always have \r\n line endings for SMTP.
Also automatically removes superflous line breaks at
  the start and end of the header.
# http://cr.yp.to/docs/smtplf.html is a good read about this topic.
2002-06-05 17:08:38 +00:00
Markus Fischer
aec7987d9e - Win32 mail() is no longer case-sensitive when it comes to match for any headers
(e.g. from:, cc:, etc).
# Fixed also a crash I introduced earlier, which tells me no one tested it :)
2002-05-17 16:16:27 +00:00
Markus Fischer
7a0866ff90 - Improve code so errors returned from the server are reported back to the user.
# Testers, testers, testers!
2002-05-14 20:40:39 +00:00
Markus Fischer
87286cdb3f - Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n
- Fix some obvious errors returned by the module, little cleanup.
2002-05-14 13:52:18 +00:00
Frank M. Kromann
86a884e538 modified to enable imap_mail() on win32 2001-12-04 18:47:07 +00:00
Hartmut Holzgraefe
87a491d7b6 C++ // comments are evil ... 2000-06-16 18:24:02 +00:00
Zeev Suraski
aceaabceff PHP 4.0 1999-04-07 21:05:13 +00:00