Граф коммитов

706 Коммитов

Автор SHA1 Сообщение Дата
Juraj Skripsky b9428656cf 2008-10-03 Juraj Skripsky <js@hotfeet.ch>
* src/Mono.WebServer/BaseRequestBroker.cs: Reverted part of the last
	commit. Use a pre-allocated buffer only when the size matches as it
	will be transferred across appdomain boundaries in full length.

svn path=/trunk/xsp/; revision=114745
2008-10-03 11:59:38 +00:00
Juraj Skripsky b9b24bb79f 2008-10-03 Juraj Skripsky <js@hotfeet.ch>
* src/Mono.WebServer/BaseRequestBroker.cs: Actually use the allocated
	request buffers. Make the size of a request buffer equal INPUT_BUFFER_SIZE
	in System.Web.HttpRequest, so that it is used for requests >= 32kb as well
	(e.g. uploads of big files). Fixes bug #431675.

svn path=/trunk/xsp/; revision=114733
2008-10-03 08:36:23 +00:00
Miguel de Icaza 6b97f4369d 2008-10-01 Miguel de Icaza <miguel@novell.com>
* Fix the scripts, my previous commit was untested, and some
	scripts ended up not pointing to the right place (xsp was trying
	to call 2.0/xsp.exe instead of 2.0/xsp2.exe and xsp1 was trying to
	call 1.0/xsp1.exe instead of 1.0/xsp.exe).

	Fixes #431121

svn path=/trunk/xsp/; revision=114545
2008-10-01 04:30:40 +00:00
Miguel de Icaza 096d8a7c29 2008-09-21 Miguel de Icaza <miguel@novell.com>
* scripts/Makefile.am ($(tool_scripts)): Follow the naming pattern
	used in Mono 2.0.  By default the `script' is a 2.0 script,
	`script1' is the 1.0 script, and `script2' is the 2.0 script.

svn path=/trunk/xsp/; revision=113665
2008-09-21 18:03:48 +00:00
Marek Habersack d4a263adb6 2008-07-29 Marek Habersack <mhabersack@novell.com>
* test/1.1/webcontrols/dbpage1.aspx: do not rely on the
	OnTextChanged to fire the Filter_Changed handler method. Doing
	that makes the sample miss situations when the user clicks Submit
	several times in a row without changing the filters - the result
	of this is that no table is show in the output. Filter_Changed is
	fired as the OnClick handler of the Submit button. Fixes bug
	#381972.
	Should the filter fail to return any results, an appropriate
	information is shown. 

svn path=/trunk/xsp/; revision=109147
2008-07-29 11:42:40 +00:00
Miguel de Icaza 4d5f93aca7 Update
svn path=/trunk/xsp/; revision=108317
2008-07-19 17:04:06 +00:00
Marek Habersack ba81a3d2ac 2008-07-14 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/ModMonoRequest.cs: fill the buffer
	when reading the client block. Fixes bug #408723

svn path=/trunk/xsp/; revision=107867
2008-07-14 10:04:47 +00:00
Marek Habersack af2a579d92 2008-07-11 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/Worker.cs: RequestReader is created
	with the client socket as parameter now.

	* src/Mono.WebServer.Apache/Mono.WebServer.Apache.sources: reflect
	changes in file names.

	* src/Mono.WebServer.Apache/ModMonoRequest.cs: renamed from
	Request.cs.
	Use Dictionary for caches for 2.0.
	Instead of using NetworkStream (which would invoke socket
	receive/send for every call to read/write an item) now using
	MemoryStreams which are paired with BinaryReaders. Data
	read/written from/to the client socket is put directly in the
	MemoryStreams.
	Protocol changes to sync with mod_mono changes (protocol version
	9).

	* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: renamed from
	WorkerRequest.cs

	* src/Mono.WebServer.Apache/RequestReader.cs: added - moved the
	RequestReader public class to here from WorkerRequest.cs


svn path=/trunk/xsp/; revision=107726
2008-07-11 15:19:55 +00:00
Marek Habersack 3d5736f194 2008-04-25 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/WorkerRequest.cs: do not append the
	default index to the request path if a directory is
	requested. Fixes bug #324204

svn path=/trunk/xsp/; revision=101751
2008-04-25 00:20:35 +00:00
Marek Habersack e16465e2ab 2008-03-19 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/main.cs: Fix a CWL format typo, which
	causes the apache backend to fail when --port is used. Fixes bug
	#372220. Patch contributed by Daniel Cohen
	<dcohenp@eduinnova.com>, thanks a lot!

svn path=/trunk/xsp/; revision=98570
2008-03-19 07:53:57 +00:00
Kornél Pál da6b6780b6 Add a Date header in XSP. Fixes bug #363404.
svn path=/trunk/xsp/; revision=96614
2008-02-26 09:52:09 +00:00
Raja R Harinath 90b112c224 * Makefile.am (security_test_sources): Files are in $(srcdir).
svn path=/trunk/xsp/; revision=96577
2008-02-25 17:29:05 +00:00
Marek Habersack 2bc83017ad 2008-02-08 Marek Habersack <mhabersack@novell.com>
* test/Web.sitemap: /1.1/asp.net/transfer2.aspx removed from the
	tree - it is not supposed to be accessed directly.

svn path=/trunk/xsp/; revision=95206
2008-02-07 23:20:42 +00:00
Marek Habersack d8e3b36f0a 2008-02-08 Marek Habersack <mhabersack@novell.com>
* test/1.1/asp.net/codebehind1.aspx: do not use automatic even
	wireup. Fixes bug #359783

svn path=/trunk/xsp/; revision=95204
2008-02-07 23:13:36 +00:00
Pedro Martínez Juliá e245a310bf 2008-02-03 Pedro Martínez Juliá <pedromj@gmail.com>
* ChangeLog: Convert to UTF8 and change my old email with the new.


svn path=/trunk/xsp/; revision=94670
2008-02-03 10:23:45 +00:00
Pedro Martínez Juliá 964701a762 2008-02-03 Pedro Martínez Juliá <pedromj@gmail.com>
* man: Add new generated manual page to svn:ignore.


svn path=/trunk/xsp/; revision=94668
2008-02-03 10:19:09 +00:00
Robert Jordan c1d0265b85 2008-01-30 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi/main.cs (Main):
	Replace Console.WriteLines with Logger.Write. Always log to
	console during Main (). Handle UnmagedSocket's exceptions gracefully.
	Fixes #350779.


svn path=/trunk/xsp/; revision=94406
2008-01-30 19:19:51 +00:00
Wade Berrier d8fdc79918 version bump -> 1.9
svn path=/trunk/xsp/; revision=94180
2008-01-28 22:44:42 +00:00
Marek Habersack d6f825c989 2008-01-25 Marek Habersack <mhabersack@novell.com>
* test/1.1/webcontrols/Makefile.am (EXTRA_DIST): include the
	.sqlite files in the generated tarball, so that the build system
	doesn't need to have sqlite installed.

svn path=/trunk/xsp/; revision=93920
2008-01-25 16:14:42 +00:00
Joshua Tauberer 958ab73bcf xsp/Mono.WebServer/BaseRequestBroker.cs: Put ValidRequest check inside lock.
svn path=/trunk/xsp/; revision=93417
2008-01-21 16:58:39 +00:00
Marek Habersack 3750e643fa 2007-12-12 Marek Habersack <mhabersack@novell.com>
* test/1.1/handlers/monodoc.ashx: fix the rendering of
	links. Apparently, firefox lowercases the leading X: sequence in
	links like 'N:System' and that, in turn, causes Monodoc to fail to
	parse the link properly. Code stolen from the monodoc version of
	monodoc.ashx.

svn path=/trunk/xsp/; revision=91150
2007-12-12 12:35:09 +00:00
Marek Habersack 324f858df2 2007-12-08 Marek Habersack <mhabersack@novell.com>
* test/1.1/asp.net/Makefile.am (testfiles): added
	transfer{1,2}.aspx and serial.aspx

svn path=/trunk/xsp/; revision=90977
2007-12-08 00:03:59 +00:00
Marek Habersack a3e34da817 2007-12-08 Marek Habersack <mhabersack@novell.com>
* test/Web.sitemap: remove the .ascx controls from the menu.

svn path=/trunk/xsp/; revision=90975
2007-12-07 23:55:35 +00:00
Marc E. Christensen 76b688466c Fixed typo to make test runable
svn path=/trunk/xsp/; revision=90971
2007-12-07 23:18:53 +00:00
Marek Habersack 7c7d33e513 2007-12-04 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/ApplicationServer.cs: added a new property,
	Port, to report the actual port ApplicationServer is listening on

	* src/Mono.WebServer.XSP/main.cs: accept an extra parameter to
	attach XSP to a random port. The actual port is printed to the
	console instead of the configured one, as it was done before.

svn path=/trunk/xsp/; revision=90627
2007-12-04 09:08:14 +00:00
Marek Habersack db1c083f78 typo fix
svn path=/trunk/xsp/; revision=90045
2007-11-20 23:04:49 +00:00
Marek Habersack 1b9cae772b 2007-11-21 Marek Habersack <mhabersack@novell.com>
* Added several index.aspx files to avoid 404 errors on accessing
	directories.

svn path=/trunk/xsp/; revision=90043
2007-11-20 22:40:33 +00:00
Marek Habersack 3577caaabb 2007-11-20 Marek Habersack <mhabersack@novell.com>
* test/1.1/customcontrol/tabcontrol.aspx: explain how adding links
	works.

svn path=/trunk/xsp/; revision=90034
2007-11-20 20:58:30 +00:00
Marek Habersack 215ce58fff one more build fix
svn path=/trunk/xsp/; revision=90032
2007-11-20 20:39:00 +00:00
Marek Habersack f2c4a64474 really fix make dist
svn path=/trunk/xsp/; revision=90028
2007-11-20 20:26:19 +00:00
Marek Habersack 778fd80447 2007-11-20 Marek Habersack <mhabersack@novell.com>
* test/1.1/webcontrols/Makefile.am: generate the .sqlite files
	when needed. Fixes make dist.

svn path=/trunk/xsp/; revision=90023
2007-11-20 20:06:42 +00:00
Marek Habersack e6872d3c3c 2007-11-20 Marek Habersack <mhabersack@novell.com>
* test/1.1/webcontrols/web_linkbutton.aspx: make the sample
	work. Clicking 'Remove this link' actually does something
	now. Same for the 'Click me!' button.

svn path=/trunk/xsp/; revision=90012
2007-11-20 19:15:31 +00:00
Marek Habersack f5ebb702d5 2007-11-20 Marek Habersack <mhabersack@novell.com>
* All the samples are using common look now. A common header has
	been added to provide consistent look and sample navigation. 1.1
	mode uses a poor man's implementation of the 2.0 SiteMap reader,
	to be able to read the samples map from the Web.sitemap file.
	* The test suite for 1.1 MUST now be ran from the directory into
	which 'make install' put the samples - it requires the
	SiteMapReader_1.1.dll to be present. If a user runs the test suite
	from the source directory (or from one missing the required
	components) a page explaining the steps to get it working is
	shown. The 2.0 profile isn't subject to this requirement, as it will run
	most samples from the source direcory.
	* The 1.1/webcontrols/dbpage*.aspx samples now use Sqlite
	databases installed along with the test suite. The databases are
	generated by the dbpage_test_setup.exe utility found in the same
	directory where the samples are.

svn path=/trunk/xsp/; revision=90009
2007-11-20 18:43:24 +00:00
Juraj Skripsky 207f0f3db4 Missed changelog entry.
svn path=/trunk/xsp/; revision=89985
2007-11-20 15:48:20 +00:00
Juraj Skripsky e6dfb09410 Add test page for the CompareValidator control.
svn path=/trunk/xsp/; revision=89984
2007-11-20 15:45:53 +00:00
Marek Habersack 4b89e43937 include unittests in the distribution, install them in lib/unittests/
svn path=/trunk/xsp/; revision=89638
2007-11-14 21:34:53 +00:00
Marek Habersack 3ca95c709b authtest changes - make them work
svn path=/trunk/xsp/; revision=89634
2007-11-14 20:56:12 +00:00
Wade Berrier 2f0825c02a version bump -> 1.2.6
svn path=/trunk/xsp/; revision=89279
2007-11-08 22:38:01 +00:00
Marek Habersack 31e8ea5a73 a few changes suggested by Wade
svn path=/trunk/xsp/; revision=89172
2007-11-07 22:48:06 +00:00
Marek Habersack bf158ad150 Added xsp hosting infrastructure
2007-11-07  Marek Habersack  <mhabersack@novell.com>

	* packaging/opensuse/xsp2.init, packaging/opensuse/Makefile.am,
	packaging/opensuse/xsp2.logrotate, tools/mono-asp-apps/Makefile.am,
	packaging/opensuse/sysconfig.xsp2, packaging/opensuse/xsp.spec,
	packaging/Makefile.am: added

svn path=/trunk/xsp/; revision=89105
2007-11-07 14:50:00 +00:00
Marek Habersack 5bd2d8016d 2007-11-03 Marek Habersack <mhabersack@novell.com>
* test/1.1/webcontrols/dbpage1.aspx,
	  test/1.1/webcontrols/dbpage2.aspx:
	Account for missing database provider assemblies.

svn path=/trunk/xsp/; revision=88763
2007-11-03 01:08:19 +00:00
Thomas Wiest 99b7e89c7d added changelog entries
changed http://www.ximian.com/images/index/button-top.gif to
http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png in:
M    xsp/test/1.1/customcontrol/tabcontrol2.aspx

svn path=/trunk/xsp/; revision=88760
2007-11-03 00:17:08 +00:00
Thomas Wiest 58de6472e8 Changed http://www.ximian.com/images/index/button-top.gif to http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png in:
test/1.1/webcontrols/web_hyperlink.aspx
    test/1.1/webcontrols/web_adrotator.xml
    test/1.1/html/htmlimage.aspx
    test/1.1/html/htmlinputimage.aspx

svn path=/trunk/xsp/; revision=88758
2007-11-02 23:58:00 +00:00
Robert Jordan 8accc9550f merge from branches/robertj/xsp (fastcgi support)
svn path=/trunk/xsp/; revision=88515
2007-10-30 21:13:02 +00:00
Robert Jordan 32bbed19a6 merge from HEAD r88439:88492
svn path=/branches/robertj/xsp/; revision=88513
2007-10-30 21:00:39 +00:00
Miguel de Icaza 879ff19613 Fix formatting
svn path=/trunk/xsp/; revision=88492
2007-10-30 18:47:00 +00:00
Marek Habersack f1eb5f1cc1 2007-10-30 Marek Habersack <mhabersack@novell.com>
* man/Makefile.am (EXTRA_DIST): added mono-asp-apps.1.in
	(CLEANFILES): added mono-asp-apps.1

2007-10-30  Marek Habersack  <mhabersack@novell.com>

	* configure.in: added man/mono-asp-apps.1 to the list of generated
	files.

	* man/mono-asp-apps.1.in: added

svn path=/trunk/xsp/; revision=88479
2007-10-30 17:26:12 +00:00
Marek Habersack d6e02777c7 2007-10-30 Marek Habersack <mhabersack@novell.com>
* tools/mono-asp-apps/README: added

svn path=/trunk/xsp/; revision=88441
2007-10-30 10:07:03 +00:00
Marek Habersack 08c6b2fa12 2007-10-30 Marek Habersack <mhabersack@novell.com>
* tools/mono-asp-apps/mono-asp-apps: added

svn path=/trunk/xsp/; revision=88440
2007-10-30 10:03:06 +00:00
Robert Jordan 03c21c2b9f 2007-10-29 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi/WorkerRequest.cs:
	Implement IsSecure ().

	* src/Mono.WebServer.FastCgi/Server.cs:
	Use Type.IsAssignableFrom ().


svn path=/branches/robertj/xsp/; revision=88352
2007-10-28 23:18:29 +00:00