This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
/
ChangeLog
3226 lines (2182 loc) · 108 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-03-31 Marek Habersack <mhabersack@novell.com>
* man/xsp.1.in: updated documentation of the --nonstop
option. Fixes bug #585295
2010-03-18 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.FastCgi/StandardSocket.cs: check in
a safe manner if a socket is connected.
2010-02-26 Marek Habersack <mhabersack@novell.com>
* tools/asp_state/asp-state4.exe.config: modifed to load types
from System.Web 4.0.0
* src/Mono.WebServer/InitialWorkerRequest.cs: do not decode paths
before passing them to GetSafePath. Fixes bug #581594
2010-02-16 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/ModMonoRequest.cs: FillBuffer makes
sure that the MemoryStream is properly reset before filling it
from the network. Fixes bug #580086
2010-01-18 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.XSP/AssemblyInfo.cs.in: updated copyright
years
* src/Mono.WebServer.XSP/main.cs: better looking copyright message
* configure.in: changed version number to 2.7
* src/Mono.WebServer/XSPWorkerRequest.cs,
src/Mono.WebServer/InitialWorkerRequest.cs: correctly handle \r\n
on buffer/packet boundary. Fixes bug #569363. Patch from Tobias
Polley <tobias.polley@miaplaza.com>, thanks!
2009-12-17 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.FastCgi/StandardSocket.cs: Close () makes
sure both socket endpoints data is flushed. Patch from Tiaan
Geldenhuys <tagdev@gmail.com>, thanks!
2009-12-02 Marek Habersack <mhabersack@novell.com>
* configure.in, scripts/Makefile.am,
src/Mono.WebServer.Apache/Makefile.am,
src/Mono.WebServer.FastCgi/Makefile.am,
src/Mono.WebServer.XSP/Makefile.am,
src/Mono.WebServer/AssemblyInfo4.cs.in,
src/Mono.WebServer/Makefile.am,
src/Mono.WebServer/xsp-4.pc.in,
tools/asp_state/Makefile.am,
tools/asp_state/asp-state4.exe.config,
tools/dbsessmgr/Makefile.am,
tools/dbsessmgr/dbsessmgr4.exe.config: added support for compiling
.NET 4.0 versions of the assemblies and tools.
2009-11-23 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.FastCgi/Request.cs: better parsing for
parameter data.
New internal property ApplicationHost
* src/Mono.WebServer.FastCgi/ApplicationHost.cs: added support for
mapping virtual paths, so that ASP.NET MVC sites work correctly
when hosted under Mono's FastCGI server.
* src/Mono.WebServer.FastCgi/WorkerRequest.cs: GetPathInfo returns
an empty string if the PATH_INFO environment variable is
missing.
All of the above from patches submitted by Tiaan Geldenhuys
<tagdev@gmail.com>, thanks!
2009-11-19 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.FastCgi/Server.cs: prevent connection and
resource leaking by catching unhandled exceptions.
* src/Mono.WebServer.FastCgi/Logger.cs: Close() catches
ObjectDisposedException in case writer is already disposed.
The above patches were contributed by Tiaan <tagdev@gmail.com>,
thanks!
2009-11-17 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.FastCgi/NameValuePair.cs: fix for incorrect
encoding of string lengths greater than 127 bytes. Patch from Tiaan
<tagdev@gmail.com>, thanks!
2009-09-21 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/MonoWorkerRequest.cs: added support for
protecting hidden files/directories (with the Hidden attribute on
Windows, starting with a dot on Unix)
* src/Mono.WebServer.XSP/main.cs,
src/Mono.WebServer.Apache/main.cs: added new option, --no-hidden,
which turns off hidden file/directory protection.
* man/xsp.1.in: added documentation for the new --no-hidden
option.
2009-09-15 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.XSP/main.cs: sleep after catching
ThreadAbortException in RealMain, before exiting.
2009-08-21 Marek Habersack <mhabersack@novell.com>
* test/2.0/treeview/treeview.aspx: use
http://go-mono.com/status/images/se.gif instead of
http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/cm/se.gif. Fixes
bug #479736
2009-08-20 Marek Habersack <mhabersack@novell.com>
* test/1.1/asp.net/browsercaps.aspx: sort the output in MS.NET
compatible way. Fixes bug #514155. Patch from Robert Jordan
<robertj@gmx.net>, thanks!
2009-08-13 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: if the Content-Length
request header is present, make sure not more than the number of
bytes specified in it is returned to the caller
(GetPreloadedEntityBody). Fixes bug #530858
2009-06-08 Kornél Pál <kornelpal@gmail.com>
* src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Fast test for
directory with no trailing slash. Avoid testing last component twice. There
is no need to call GetFullPath on the physical path info.
2009-06-06 Kornél Pál <kornelpal@gmail.com>
* src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): More closely
resemble Apache and PHP behavior provides better support for non-existent
files, takes a fast path when there is no path info and tests earlier for
Apache variables.
2009-06-02 Kornél Pál <kornelpal@gmail.com>
* autogen.sh, configure.in: Set EOL style to Unix to fix cygwin build.
* src/Mono.WebServer.FastCgi/Responder.cs (Process): Properly set status
code when no application is found.
* src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Use a simple
reverse scan of path components until the first existing file and allow
non-existent files.
2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: the libc function signatures
were wrong.
* src/Mono.WebServer/BaseApplicationHost.cs: call ResetAbort if we get
an unexpected ThreadAbortException.
* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:
* src/Mono.WebServer.Apache/ModMonoRequest.cs:
* src/Mono.WebServer.Apache/Makefile.am:
* src/Mono.WebServer.Apache/Worker.cs: add new SendResponseFromMemory
overloads that will write directly to mod_mono without copying (linux
only).
2009-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer/XSPWebSource.cs: re-add the 2 parameter ctor.
Compatibility with existing apps was broken.
2009-04-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* configure.in:
* test/2.0/gridview/Makefile.am:
* test/2.0/Makefile.am: gridview sample was not being
installed.
* src/Mono.WebServer.XSP/main.cs:
* src/Mono.WebServer.Apache/main.cs: when running in single-app mode,
corretly handle application restarts.
* src/Mono.WebServer.Apache/WebSource.cs: remove unused variable.
2009-03-25 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: made
GetServerVariable public and a bit safer.
* src/Mono.WebServer.Apache/ApplicationHost.cs: do not use broker
here, ModMonoWorkerRequest can do it for us if need be. Fixes bug
#488630
2009-03-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: if send fails with
EINTR, try to send again instead of throwing an exception.
2009-03-21 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/ApplicationServer.cs: added an overload for
the Start method which takes an exception as an argument. This
exception, if not null, will be sent to the client on the first
connection attempt.
* src/Mono.WebServer.XSP/main.cs: read AppSettings in the
constructor of a new ApplicationSettings class, to isolate
errors.
2009-03-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer.Apache/main.cs: fix error when --master is passed.
Bug #481597 fixed.
2009-03-09 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/XSPWorker.cs, XSPWebSource.cs,
XSPApplicationHost.cs: XSP can now bind to IPv6 addresses. Patch
from Pascal Fresnay <PascalFresnay@free.fr>, thanks! Fixes bug
#479878
2009-03-03 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/ModMonoRequest.cs: removed a
ShouldClientBlock () check from GetClientBlock (). Fixes bug
#481370
2009-02-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer.XSP/main.cs:
* src/Mono.WebServer.FastCgi/main.cs:
* src/Mono.WebServer.Apache/main.cs: do not sent the Trace output to
the Console by default.
2009-02-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer.XSP/main.cs: changes needed to run the Accept
thread in the ASP.NET appdomain when there is a single application
configured.
* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: avoid the lock in
RequestBroker for single applications. Implemented GetHeadersSent().
* src/Mono.WebServer.Apache/RequestBroker.cs: implemented
GetHeadersSent ().
* src/Mono.WebServer.Apache/WebSource.cs: propagate the single_app
setting.
* src/Mono.WebServer.Apache/ApplicationHost.cs: for single_app, pass
the instance of ModMonoWorker to the worker request.
* src/Mono.WebServer.Apache/ModMonoRequest.cs: reduced number of
writes. Implemented GetHeadersSent ().
* src/Mono.WebServer.Apache/main.cs: changes needed to run the Accept
thread in the ASP.NET appdomain when there is a single application
configured.
* src/Mono.WebServer.Apache/Worker.cs: don't register/unregister the
request for single application. Implemented GetHeadersSent ().
* src/Mono.WebServer/VPathToHost.cs: for multiple application, set the
request broker of the application host to one main appdomain.
* src/Mono.WebServer/XSPWebSource.cs: propagate the single_app
setting.
* src/Mono.WebServer/ApplicationServer.cs: allow setting application
host and broker. For single application, set the request broker of the
application host to one created in the ASP.NET application domain.
GetApplicationForPath just returns the registered application without
checking the parameters.
All these yadaa, yadaa can be summarized in:
* Avoid remoting through the cross appdomain channel when
there is only one ASP.NET application registered (single_app).
* Avoid locking in RequestBroker for single_app.
* Implement GetHeadersSent.
* Reduced number of writes to mod_mono.
2009-01-30 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/Paths.cs: path info with a dot is
valid. Fixes bug #470662
2009-01-29 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/Makefile.am (EXTRA_DIST): added
$(monowebserver2_sources)
2009-01-27 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/SearchPattern.cs: made the class reusable and
removed the check for invalid characters, it doesn't make sense
for virtual paths.
* src/Mono.WebServer/ReaderWriterLockSlim.cs: made the class
internal.
* src/Mono.WebServer/BaseApplicationHost.cs: gotten rid of matched
paths cache (and two locks with them).
Regexps are no longer used to match handlers, we now use
SearchPattern (copied from System.dll) instead.
2009-01-23 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/ApplicationServer.cs: if fullPath passed to
AddApplication doesn't end with a directory separator character,
append it to the path. Fixes bug #463483. Patch from Chuck
McCrobie <mccrobie2000@yahoo.com>, thanks!
* src/Mono.WebServer/ReaderWriterLockSlim.cs,
src/Mono.WebServer/LockRecursionException.cs,
src/Mono.WebServer/LockRecursionPolicy.cs: added to avoid having
to link with System.Core
* src/Mono.WebServer/Makefile.am (monowebserver_sources): added
SearchPattern.cs
* src/Mono.WebServer/SearchPattern.cs: added
* src/Mono.WebServer/BaseApplicationHost.cs: use
ReaderWriterLockSlim for handlersCacheLock.
2009-01-22 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/Paths.cs: VirtualPathProvider.FileExists is
called with an absolute uri.
2009-01-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer.Apache/RequestReader.cs:
* src/Mono.WebServer.Apache/ModMonoRequest.cs: remove unused ctors.
2009-01-08 Marek Habersack <mhabersack@novell.com>
* configure.in: added the --with-runtime option to make it
possible to specify a different runtime to be used with xsp than
the first one found in the path.
If --with-runtime is not specified and ${prefix}/bin/mono exists,
then it is used as the runtime for compiled xsp
2008-12-29 Miguel de Icaza <miguel@novell.com>
* src/Mono.WebServer/XSPWorker.cs: Exception to assist in debuggin
reusable versions of Mono.WebServer.
2008-12-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/Mono.WebServer.Apache/Worker.cs: don't display the exception if
it's caused by a client-side close.
Bug #462045 fixed.
2008-12-16 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseApplicationHost.cs: ignore catch-all
handler entries in PathMatches. Fixes bug #459270
2008-12-12 Marek Habersack <mhabersack@novell.com>
* packaging/opensuse/xsp.spec: rpm now creates the /var/run/xsp2/
directory and chowns it to wwwrun.www
* packaging/opensuse/xsp2.init: modified the script to properly
start the xsp process.
* man/xsp.1.in: added documentation for --pidfile
* src/Mono.WebServer.XSP/main.cs: added a --pidfile option which
tells xsp to write its PID to the specified path.
2008-12-01 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseApplicationHost.cs: check if the key
exists in the handlers cache after acquiring the lock and update
it instead of adding.
2008-11-28 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseApplicationHost.cs: add locking to avoid
races when two requests are being created at the same time.
2008-11-27 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/IApplicationHost.cs: added new method -
IsHttpHandler which checks whether the passed URI matches a HTTP
handler definition. Fixes bug #448522
* src/Mono.WebServer/BaseApplicationHost.cs: implemented the new
IApplicationHost method - IsHttpHandler (2.0+ only - need to
figure out how to portably do the same for 1.1). Fixes bug #448522
* src/Mono.WebServer/Paths.cs: GetPathsFromUri now checks not only
whether a path physically exists, but also whether it's a handler
or a virtual file (on 2.0+). Fixes bug #448522
* src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs,
src/Mono.WebServer/XSPWorkerRequest.cs:
Paths.GetPathsFromUri now accepts two more arguments.
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.
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.
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
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.
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.
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
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
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
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!
2008-02-26 Kornél Pál <kornelpal@gmail.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: Add a Date header because that's
the responsibility of the web server rather than ASP.NET. Fixes bug #363404.
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.
* test/1.1/asp.net/codebehind1.aspx: do not use automatic even
wireup. Fixes bug #359783
2008-02-03 Pedro Martínez Juliá <pedromj@gmail.com>
* ChangeLog: Convert to UTF8 and change my old email with the new.
2008-02-03 Pedro Martínez Juliá <pedromj@gmail.com>
* man: Add new generated manual page to svn:ignore.
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.
2008-01-28 Wade Berrier <wberrier@novell.com>
* configure.in: version bump -> 1.9
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.
2008-01-19 Joshua Tauberer <jit@occams.info>
* src/Mono.WebServer/BaseRequestBroker.cs: Read: Check the request
ID is valid inside the lock.
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.
2007-12-08 Marek Habersack <mhabersack@novell.com>
* test/1.1/asp.net/Makefile.am (testfiles): added
transfer{1,2}.aspx and serial.aspx
* test/Web.sitemap: remove the .ascx controls from the menu.
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.
2007-11-21 Marek Habersack <mhabersack@novell.com>
* Added several index.aspx files to avoid 404 errors on accessing
directories.
2007-11-20 Marek Habersack <mhabersack@novell.com>
* test/1.1/customcontrol/tabcontrol.aspx: explain how adding links
works.
* test/1.1/webcontrols/Makefile.am: generate the .sqlite files
when needed. Fixes make dist.
* 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.
* 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.
2007-11-20 Juraj Skripsky <js@hotfeet.ch>
* test/1.1/webcontrols/web_comparevalidator.aspx: add test page
for the CompareValidator control.
2007-11-08 Wade Berrier <wberrier@novell.com>
* configure.in: version bump -> 1.2.6
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
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.
2007-11-02 Thomas Wiest <twiest@novell.com>
* test/1.1/customcontrol/tabcontrol2.aspx:
* test/1.1/html/htmlimage.aspx:
* test/1.1/html/htmlinputimage.aspx:
* test/1.1/webcontrols/web_hyperlink.aspx:
* test/1.1/webcontrols/web_adrotator.xml:
Changed http://www.ximian.com/images/index/button-top.gif to
http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png
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
2007-10-30 Marek Habersack <mhabersack@novell.com>
* tools/mono-asp-apps/README: added
2007-10-30 Marek Habersack <mhabersack@novell.com>
* tools/mono-asp-apps/mono-asp-apps: added
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 ().
2007-10-28 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi/ConfigurationManager.*:
Implement an additional configuration source: environment.
* src/Mono.WebServer.FastCgi/Request.cs:
Take directory index (default documents) into account.
2007-10-28 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi/Request.cs:
Compute PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME,
SCRIPT_FILENAME when running under Apache.
2007-10-26 Wade Berrier <wberrier@novell.com>
* configure.in:
* src/AssemblyInfoModMono.cs.in:
* src/AssemblyInfo.cs.in:
* tools/asp_state/AssemblyInfo.cs.in:
* tools/dbsessmgr/AssemblyInfo.cs.in:
Split VERSION to VERSION and XSP_VERSION in order to allow svn revision
in VERSION and still satisfy mcs's numbering scheme (recently changed
to match csc)
Didn't replace VERSION, because we need the tarball version to not have
periods in the revision name.
2007-10-24 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/XSPWorkerRequest.cs: gracefully handle
exceptions in the constructor, by closing the connection when
Exception happens.
2007-10-22 Robert Jordan <robertj@gmx.net>
* man/*: Generate fastcgi-mono-server(1).
* doc/*: Temporarily fix for `make distcheck'.
* src/Mono.WebServer.FastCgi/Makefile.am: Cleanups.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/*/*.am : Fix `make distcheck'.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi/Request.cs:
Reverted temporary hack for mod_fastcgi.
* src/Mono.WebServer.FastCgi/ConfigurationManager.cs:
The XML default settings have less precedence.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.Apache/Mono.WebServer.Apache.sources: Create.
* src/Mono.WebServer.Apache/SecurityConfiguration.cs:
Get rid of MODMONO.
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Makefile.am: FastCGI -> FastCgi.
* src/Mono.WebServer.FastCgi/Makefile.am:
* src/Mono.WebServer.FastCgi/*.sources:
* src/Mono.WebServer.FastCgi/AssemblyInfo.cs.in:
Create.
* src/Mono.WebServer.FastCgi/ConfigurationManager.xml:
Add some default values to be able to get rid of
the exe.config file. Comment out the automapping settings.
* src/Mono.WebServer.FastCgi/ConfigurationManager.cs:
Implement ImportSettings (). Support for default settings
specified in ConfigurationManaged.xml.
* src/Mono.WebServer.FastCgi/main.cs:
* src/Mono.WebServer.FastCgi/Responder.cs:
Take the ApplicationManager
out of the build until its automapping issues are fixed.
* src/Mono.WebServer.FastCgi/server.cs: Rename to main.cs
2007-10-22 Robert Jordan <robertj@gmx.net>
* src/Mono.WebServer.FastCgi: Import Brian's files from his google
repository. Flatten hierarchies to adhere to mono's standards.
Disintegrate the Mono.FastCgi assembly.
2007-10-22 Robert Jordan <robertj@gmx.net>
* configure.in, scripts/Makefile.am: Reflect changes.
* src/Makefile.am: Reflect changes.
* src/Mono.WebServer.Apache/main.cs: Remove XSP-related code.
* src/Mono.WebServer.XSP/main.cs: Remove ModMono-related code.
* src/Mono.WebServer.Apache/Makefile.am: Create from .Makefile.am.
* src/Mono.WebServer.XSP/Makefile.am: Create from Makefile.am.
* src/server.cs: Copy as main.cs to Mono.WebServer.Apache and
Mono.WebServer.XSP
* src/ecurity.cs: Move to Mono.WebServer.XSP/SecurityConfiguration.cs
* src/ModMono*.cs: Move to Mono.WebServer.Apache.
* src/Mono.WebServer.Apache: Create.
* src/Mono.WebServer.FastCgi: Create.
* src/Mono.WebServer.XSP: Create.
2007-10-03 Juraj Skripsky <js@hotfeet.ch>
* src/ModMonoRequest.cs: put the ModMonoConfig struct in charge to
tracking its property "Changed".
2007-10-03 Marek Habersack <mhabersack@novell.com>
* src/ModMonoRequestBroker.cs,src/ModMonoWorker.cs: added a method
to support configuration of output buffering in mod_mono
* src/ModMonoRequest.cs: added support for new mod_mono
communication protocol, SET_CONFIGURATION. Configuration of
mod_mono is updated before write commands, if necessary. Currently
it supports only configuring the output buffering (based on the
value of HttpResponse.BufferOutput)
Bumped protocol version to 8
* src/ModMonoWorkerRequest.cs: added a method which updates the
mod_mono/apache configuration if necessary.
2007-10-02 Marek Habersack <mhabersack@novell.com>
* src/ModMonoRequest.cs: make the protocol mismatch error message
more informative.
2007-09-21 Marek Habersack <mhabersack@novell.com>
* src/ModMonoRequest.cs: use UTF8 when sending strings to
Apache. Fixes bug #325448
2007-09-18 Daniel Nauck <dna@mono-project.de>
* src/server.cs: add a UnhandledExceptionEventHandler
to handle an exception that is not handled by the application domain.
2007-08-18 Josh Tauberer <jit@occams.info>
* src/Mono.WebServer/BaseRequestBroker.cs: Correct a mistake
in my previous patch: checking for wrap-around on requests_served
counter, since we bitmask it 0x7FFF, wrap-around occurs at 0x8000.
2007-08-16 Wade Berrier <wberrier@novell.com>
* configure.in: version bump -> 1.2.5
2007-08-14 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/XSPWorker.cs: do not rethrow an exception
that might occur on write, write an error message to the console
and close our end of the connection instead. Fixes bug #81699.
* src/ModMonoWorkerRequest.cs: ReadEntityBody makes sure the
number of bytes to copy is > 0 and that the read buffer is not
null.
2007-08-09 Marek Habersack <mhabersack@novell.com>
* src/ModMonoWorkerRequest.cs,
src/Mono.WebServer/XSPWorkerRequest.cs: do not fail if default
index files configuration cannot be retrieved. Based on patch from
Juraj Skripsky <juraj@hotfeet.ch>, thanks! Fixes bug #82379.
* src/ModMonoWorker.cs: move request unregister call from the
finally block to the catch block. This is to avoid unregistering
the request while it is still being processed by the HttpRuntime
(asynchronously). Patch from Joshua Tauberer <jit@occams.info>,
thanks!
2007-08-08 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/MonoWorkerRequest.cs: don't use the
SendResponseFromFile (IntPtr, long, long) overload from the
SendResponseFromFile (string, long, long) one - prevents double
close of the file handle.
* src/Mono.WebServer/ApplicationServer.cs: leave only the
implementation of the ApplicationServer class here, the other
classes are moved to own files, below.
* src/Mono.WebServer/Paths.cs: new file, moved Paths class
implementation here.
* src/Mono.WebServer/HttpErrors.cs: new file, moved HttpErrors
class implementation here.
* src/Mono.WebServer/VPathToHost.cs: new file, moved VPathToHost
class implementation here.
* src/Mono.WebServer/XSPApplicationHost.cs: leave only the
implementation of the XSPApplicationHost here, the other classes
are moved to own files, below.
* src/Mono.WebServer/XSPWorker.cs: new file, moved XSPWorker class
implementation here.
* src/Mono.WebServer/XSPWebSource.cs: new file, moved XSPWebSource
class implementation here.
* src/Mono.WebServer/XSPRequestBroker.cs: new file, moved
XSPRequestBroker class implementation here.
* src/Mono.WebServer/Makefile.am (monowebserver_sources): added
new source files.
* src/ModMonoApplicationHost.cs: leave only the implementation of
the ModMonoApplicationHost class here, the other classes are moved
to own files, below.
* src/ModMonoWorker.cs: new file, moved ModMonoWorker class
implementation here.
* src/ModMonoWebSource.cs: new file, moved ModMonoWebSource class
implementation here.
* src/ModMonoRequestBroker.cs: new file, moved
ModMonoRequestBroker class implementation here.
* src/Makefile.am (modmono_only): added new source files.
2007-08-07 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseRequestBroker.cs: applied patch by Joshua
Tauberer (with minor changes) proposed in bug #82057. The change
turns request id into a compound of the unique request id in the
upper 16 bits and the index into request array in the lower 16
bits.
* src/Mono.WebServer/BaseApplicationHost.cs: fixed documentation.
2007-08-06 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseApplicationHost.cs: added some more
documentation.
* src/Mono.WebServer/BaseRequestBroker.cs: call the
UnregisterRequest handlers before freeing the request data.
2007-07-17 Marek Habersack <mhabersack@novell.com>
* src/ModMonoApplicationHost.cs: it's somewhat better to
unregister an event handler when it's not needed.
2007-07-16 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseRequestBroker.cs: added an event fired
when the request has just been unregistered.
* src/ModMonoApplicationHost.cs: add an event handler for the
UnregisterRequest event in the request broker to make sure that
the same request is never unregistered twice.
2007-07-09 Wade Berrier <wberrier@novell.com>
* configure.in:
* docs/Makefile.am: empty file so that this dir gets included
so we can build from a tarball
2007-06-22 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/MonoWorkerRequest.cs: docs from Brian
Nickel.
* src/Mono.WebServer/IWebSource.cs: more docs from Brian Nickel.
* src/Mono.WebServer/IApplicationHost.cs: more docs from Brian
Nickel.
* src/Mono.WebServer/Makefile.am (MCSFLAGS): extract xml docs.
* src/Mono.WebServer/BaseRequestBroker.cs: add some
documentation and avoid reallocating request buffers. Patch from
Brian Nickel <brian.nickel@gmail.com>, thanks!
* src/Mono.WebServer/BaseApplicationHost.cs: do not assume that
requestBroker is not null and that it is
BaseRequestBroker. Modified patch from Brian Nickel
<brian.nickel@gmail.com>, thanks!
2007-06-20 Marek Habersack <mhabersack@novell.com>
* src/ModMonoRequest.cs: added support for virtual hosts
(ServerAlias) Patch from Juraj Skripsky
<juraj@hotfeet.ch>, thanks! Closes bug #81878.
* src/ModMonoApplicationHost.cs: as above
2007-06-15 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/ApplicationServer.cs: do not skip checking
the path when vhost is '*'. Patch from Brian Nickel
<brian.nickel@gmail.com>, thanks!
2007-05-06 Wade Berrier <wberrier@novell.com>
* tools/asp_state/Makefile.am:
* tools/dbsessmgr/Makefile.am:
Split DATA and SCRIPTS for .exe and .exe.config so that .config doesn't
have the execute bit set (otherwise, causes warning in suse's rpmlint)
2007-05-04 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/MonoWorkerRequest.cs: avoid possible NOR.
2007-04-24 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseApplicationHost.cs: put the worker's
ProcessRequest in try/catch in order to handle uncaught exceptions
more gracefully.
* src/Mono.WebServer/MonoWorkerRequest.cs: more robust exception
handling. We no longer leave the connection open and the browser
spinning after an early exception (e.g. configuration exception
while reading the top-level web.config file) ocurred.
2007-04-19 Wade Berrier <wberrier@novell.com>
* configure.in: version bump -> 1.2.4
2007-04-13 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/BaseRequestBroker.cs: replace old code that
used hashtables to store request data with arrays. Array is also
used to acquire a unique request id. Previously the code used
GetHashCode() to do that, incorrectly assuming that the return
value from the method is unique. This caused frequent race
conditions and crashes. The new code uses arrays sized at 200
slots initially - this means it can handle up to 200 _concurrent_
requests before it needs to resize the arrays.
* src/Mono.WebServer/XSPApplicationHost.cs: make sure worker is
not null before attempting to use it.
* src/ModMonoApplicationHost.cs: make sure worker is not null
before attempting to use it.
2007-03-30 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer/Tracing.cs: added a utility class to help in
tracing.
* src/server.cs: move a line of common code out of ifdefs
* src/Mono.WebServer/Makefile.am (MCSFLAGS): support tracing if
enabled.
(monowebserver_sources): added Tracing.cs
* src/Makefile.am (MCSFLAGS): support tracing if enabled
* configure.in: add a parameter to enable conditional tracing.
Define TRACE together with WEBTRACE.
2007-03-29 Miguel de Icaza <miguel@novell.com>