mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 00:10:31 +00:00
Commit graph
Select branches
Hide pull requests
evalarg
fastpython
flake
i386
master
multicast
sort
vista
x86_64
#1004
#1006
#1007
#1008
#1009
#1011
#1012
#1013
#1015
#1016
#1017
#1018
#1019
#1020
#1021
#1022
#1024
#1026
#1029
#1030
#1031
#1032
#1033
#1034
#1035
#1036
#1037
#1038
#1041
#1042
#1043
#1045
#1045
#1046
#1047
#1048
#1051
#1052
#1053
#1056
#1057
#1058
#1059
#106
#1060
#1061
#1062
#1063
#1064
#1066
#1069
#107
#1070
#1071
#1072
#1074
#1076
#108
#1080
#1084
#1085
#1086
#1087
#1088
#1089
#109
#1091
#1096
#110
#1100
#1103
#1104
#1106
#1107
#1109
#111
#1112
#1119
#1122
#1123
#1124
#1129
#1133
#1134
#1135
#1140
#1141
#1142
#1143
#1145
#1148
#1149
#1152
#1153
#1154
#1156
#116
#1161
#1162
#1163
#1164
#1167
#1168
#1170
#1171
#1175
#1178
#1179
#118
#1180
#1182
#1185
#1187
#1190
#1195
#1196
#1197
#1198
#1199
#1200
#1201
#1202
#1203
#1204
#1205
#1210
#1211
#1212
#1213
#1214
#1215
#1216
#1217
#1218
#122
#1220
#1221
#1222
#1227
#1229
#123
#1230
#1231
#1232
#1233
#1235
#1237
#124
#1247
#1254
#1255
#1255
#1261
#1266
#1267
#1268
#1269
#1270
#1271
#1272
#1273
#1274
#1275
#1276
#1278
#1279
#1279
#128
#1282
#1283
#1284
#1285
#1286
#1287
#1288
#1289
#129
#1290
#1291
#1293
#1294
#1295
#1296
#1297
#1298
#1299
#1300
#1304
#1304
#131
#1318
#1319
#132
#1322
#1324
#1331
#1332
#1336
#1344
#1347
#1349
#1352
#1353
#1355
#1358
#136
#1363
#1364
#1365
#1366
#1367
#1369
#1369
#1370
#1370
#1375
#1381
#1382
#1383
#1384
#1386
#1386
#1387
#1388
#1388
#1389
#1389
#1390
#1392
#1392
#1399
#1400
#1401
#1404
#1404
#1407
#1410
#1410
#1411
#1411
#1414
#1415
#142
#1421
#1422
#1422
#1423
#1423
#1428
#1428
#143
#1430
#1431
#1431
#148
#150
#153
#158
#160
#161
#162
#163
#168
#172
#183
#185
#187
#191
#195
#195
#196
#197
#198
#200
#204
#207
#209
#210
#211
#212
#213
#217
#218
#219
#220
#221
#222
#225
#226
#228
#229
#230
#232
#234
#235
#237
#238
#239
#240
#241
#244
#245
#246
#248
#249
#250
#251
#252
#253
#254
#255
#256
#257
#258
#259
#262
#264
#265
#267
#268
#269
#271
#274
#275
#276
#279
#280
#281
#282
#285
#286
#29
#292
#294
#297
#300
#301
#304
#305
#306
#307
#308
#311
#312
#314
#317
#320
#321
#322
#323
#324
#325
#326
#327
#328
#332
#336
#338
#340
#341
#343
#347
#359
#360
#361
#362
#364
#365
#366
#367
#368
#369
#370
#372
#373
#376
#380
#382
#383
#384
#386
#387
#388
#389
#391
#392
#393
#394
#395
#40
#402
#403
#405
#406
#407
#408
#409
#410
#411
#412
#416
#418
#419
#420
#421
#422
#424
#425
#430
#436
#437
#440
#441
#442
#443
#446
#447
#448
#45
#450
#451
#452
#453
#457
#459
#460
#461
#468
#469
#470
#471
#473
#474
#476
#477
#478
#479
#480
#481
#482
#483
#484
#486
#490
#491
#492
#493
#495
#497
#498
#499
#500
#501
#502
#503
#504
#506
#513
#516
#519
#520
#522
#523
#524
#525
#529
#532
#535
#536
#537
#539
#540
#542
#544
#545
#546
#547
#549
#552
#553
#554
#560
#561
#562
#566
#567
#568
#569
#570
#571
#572
#574
#575
#576
#577
#579
#581
#582
#583
#584
#585
#587
#588
#589
#591
#592
#596
#597
#598
#599
#600
#602
#603
#604
#605
#606
#607
#608
#609
#610
#611
#613
#614
#616
#618
#619
#620
#621
#622
#624
#625
#630
#631
#634
#635
#636
#637
#639
#640
#641
#643
#645
#646
#648
#649
#650
#651
#652
#653
#654
#655
#656
#657
#658
#66
#660
#661
#663
#666
#667
#668
#67
#670
#671
#672
#677
#678
#680
#685
#699
#700
#701
#704
#706
#707
#708
#709
#71
#710
#712
#715
#717
#721
#722
#723
#724
#725
#727
#728
#729
#733
#735
#737
#740
#742
#742
#744
#749
#750
#751
#752
#753
#755
#756
#758
#760
#761
#763
#764
#768
#769
#769
#786
#787
#788
#790
#791
#792
#793
#795
#796
#798
#799
#801
#801
#802
#803
#804
#806
#807
#813
#814
#817
#818
#819
#822
#823
#825
#827
#828
#830
#832
#833
#833
#835
#837
#838
#838
#842
#843
#844
#846
#848
#850
#850
#851
#852
#853
#853
#854
#854
#855
#856
#858
#863
#864
#867
#868
#869
#870
#871
#872
#873
#874
#875
#877
#878
#880
#881
#882
#883
#884
#885
#886
#887
#888
#888
#889
#89
#890
#893
#894
#895
#896
#897
#900
#901
#904
#905
#908
#909
#910
#912
#914
#916
#921
#924
#931
#933
#941
#942
#948
#949
#952
#955
#956
#957
#958
#96
#967
#967
#970
#972
#973
#974
#975
#976
#977
#980
#981
#984
#985
#986
#987
#989
#993
#995
#997
0.1
0.1.1
0.1.2
0.2
0.3
1.0
2.0
2.0.1
2.1
2.1.1
2.2
3.0
3.0.1
3.0.2
3.1
3.1.1
3.1.2
3.1.3
3.2
3.2.1
3.2.2
3.2.3
3.2.4
3.3
3.3.1
3.3.10
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.4
3.4.0
3.5.0
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.6.0
3.6.1
3.6.2
3.7.0
3.7.1
3.8.0
3.9.0
3.9.1
3.9.2
3.9.3
3.9.4
3.9.5
3.9.6
3.9.7
4.0.0
4.0.1
4.0.2
awk-2022-08-22
landlockmake-1.0
landlockmake-1.0.1
landlockmake-1.0.2
landlockmake-1.0.3
landlockmake-1.0.4
landlockmake-1.1
landlockmake-1.1.1
landlockmake-1.2
landlockmake-1.3
landlockmake-1.4
landlockmake-1.5
landlockmake-2.0
nesemu1-1.2
pledge-1.1
pledge-1.3
pledge-1.4
pledge-1.5
pledge-1.6
pledge-1.7
pledge-1.8
redbean-0.3
redbean-1.2
redbean-1.4
redbean-1.5
redbean-2.0.1
redbean-2.0.10
redbean-2.0.12
redbean-2.0.13
redbean-2.0.14
redbean-2.0.15
redbean-2.0.16
redbean-2.0.17
redbean-2.0.18
redbean-2.0.2
redbean-2.0.3
redbean-2.0.4
redbean-2.0.5
redbean-2.0.6
redbean-2.0.7
redbean-2.0.8
redbean-2.0.9
redbean-2.1
redbean-2.2
redbean-2020-10-05
redbean-2020-12-28
redbean-2021-01-16
redbean-2021-01-24
redbean-2021-02-25
redbean-2021-02-27
redbean-2021-03-01
redbean-2021-03-02
redbean-2021-03-03
redbean-2021-03-09
redbean-3.0.0
-
7a25049ba9
Added unit test for sendmsg and recvmsg
Fabrizio Bertocci
2021-04-07 14:56:45 -04:00 -
ee2392897e
Merge branch 'master' of https://github.com/jart/cosmopolitan into FEATURE/sendmsg
Fabrizio Bertocci
2021-04-07 08:55:32 -04:00 -
5eaf863528
Changed the type of msghdr->msg_namelen to be uint32_t instead of int32_t (the original type is socklen_t and is not signed). Added implementation of recvmsg
Fabrizio Bertocci
2021-04-07 08:53:47 -04:00 -
59575f7e80
Perform some minor code cleanup
Justine Tunney
2021-04-06 12:46:52 -07:00 -
6c16f208b5
Remove unintended log statements
Justine Tunney
2021-04-01 20:01:26 -07:00 -
bb96099c65
Define assert as an expression
Justine Tunney
2021-04-01 19:42:02 -07:00 -
2584a86ab4
fabriziobertocci
2021-04-01 22:38:11 -04:00 -
9e98d6893d
dosisod
2021-04-01 19:36:37 -07:00 -
6682013d12
fabriziobertocci
2021-04-01 22:32:39 -04:00 -
83abd68029
Parse Content-Range with missing right hand side
Justine Tunney
2021-04-01 18:51:12 -07:00 -
5f2fce90e8
Increased the size of the sun_path field in a sockaddr_un structure to match the standard of 108 characters. Modified the bind/connect/sendto to adjust to this change
Fabrizio Bertocci
2021-04-01 13:21:06 -04:00 -
f2b8cbdfb9
Added Arity columns for the manually modified stub functions
Fabrizio Bertocci
2021-04-01 09:14:56 -04:00 -
c7b58be2d6
Added missing definition for struct ip_mreq (that at the end is a simple struct containing two in_addr objects)
Fabrizio Bertocci
2021-03-31 22:21:12 -04:00 -
14d4a3ae41
Add missing syscalls
dosisod
2021-03-29 21:33:51 -07:00 -
7abca1531f
Cosmopolitan 0.3
0.3
Justine Tunney
2021-03-29 03:15:30 -07:00 -
7dc8973567
Enable serving zip directory entries
Justine Tunney
2021-03-29 02:39:20 -07:00 -
1753b669cf
Have redbean show zip listing as default / handler
Justine Tunney
2021-03-29 01:22:49 -07:00 -
ae300d0c40
Remove colliding name in syscalls.sh
Justine Tunney
2021-03-28 18:26:56 -07:00 -
c6f75bf95a
Fix issue with testing service
Justine Tunney
2021-03-28 18:22:36 -07:00 -
52565e7af3
Make minor performance improvement to HTTP parser
Justine Tunney
2021-03-28 18:00:29 -07:00 -
3c19b6e352
Add support for serving directly from filesystem
Justine Tunney
2021-03-28 07:54:21 -07:00 -
a1677d605a
Transcode ISO-8859-1 in HTTP headers
Justine Tunney
2021-03-28 00:10:17 -07:00 -
dcbd2b8668
Add base64 support
Justine Tunney
2021-03-27 18:17:54 -07:00 -
4d21cd315d
Support POST parameters in redbean server pages
Justine Tunney
2021-03-27 07:29:55 -07:00 -
da36e7e256
Make major improvements to stdio
Justine Tunney
2021-03-26 22:31:41 -07:00 -
cd22936712
Added definition of sockaddr_un_bsd
Fabrizio Bertocci
2021-03-25 19:48:03 -04:00 -
100e219181
Replaced calling sendto() with send() since previous version was required to work around to the duplication of the send() function.
Fabrizio Bertocci
2021-03-25 19:41:59 -04:00 -
3c6120e486
Removed no longer needed send.s
Fabrizio Bertocci
2021-03-25 19:30:14 -04:00 -
90ae1c8c23
Commented out syscall for send since it is duplicated (send() is defined in libc/sock/send.c)
Fabrizio Bertocci
2021-03-25 18:46:12 -04:00 -
a82a8c4e1c
No functional changes, just modified the comment describing the last column. Values are not for XENIX but for Windows
Fabrizio Bertocci
2021-03-25 18:42:27 -04:00 -
34bef52340
Removed temporary bypass of time formatting (left behind from some debugging session).
Fabrizio Bertocci
2021-03-25 10:28:40 -04:00 -
d932fb8624
The new files containing the syslog implementation
Fabrizio Bertocci
2021-03-25 10:08:14 -04:00 -
87f5e7e731
Added implementation for syslog related functionality. On Unix, the syslog facility will connect to the syslogd through the Unix socket /dev/log. On Windows it uses the event logging API (ReportEvent). Had to add the constants for the LOG_xxxx values for Windows.
Fabrizio Bertocci
2021-03-25 10:00:19 -04:00 -
09bcfa23d5
Make major improvements to redbean
Justine Tunney
2021-03-25 02:21:13 -07:00 -
6b90ff60cd
Add preliminary lua support to redbean
Justine Tunney
2021-03-21 17:27:53 -07:00 -
2f41b4dcc6
fabriziobertocci
2021-03-21 10:33:33 -04:00 -
0d2aa4fba4
Added prototype for srandom(). Function is already defined in random.c (together with the other random functions like initstate, setstate, random) but not exposed in the header file
Fabrizio Bertocci
2021-03-21 08:43:12 -04:00 -
5af25f687a
fabriziobertocci
2021-03-20 23:48:40 -04:00 -
bdcf62cda9
Renamed eai2str to gai_strerror
Fabrizio Bertocci
2021-03-20 22:59:46 -04:00 -
61cd0d9238
Added macro to alias eai2str to gai_strerror
Fabrizio Bertocci
2021-03-19 08:46:33 -04:00 -
9c81729008
Alison Winters
2021-03-17 20:15:00 -07:00 -
8a236433a2
dosisod
2021-03-17 20:05:12 -07:00 -
a6ea5797ec
fflush: remove now-unused variable
Alison Winters
2021-03-17 19:49:42 -07:00 -
de6b94e816
Add fma function
dosisod
2021-03-17 18:19:09 -07:00 -
ab64ef7364
Make fflush() return 0 on success (#114)
Justine Tunney
2021-03-17 13:02:15 -07:00 -
4177489762
Perform fine-tuning of socketpair and pipe
Justine Tunney
2021-03-16 22:44:54 -07:00 -
4e93750afd
Perform some minor fixups
Justine Tunney
2021-03-16 22:19:51 -07:00 -
ca88ce5026
fabriziobertocci
2021-03-17 01:05:59 -04:00 -
4bb0e3262c
Add (most) missing math functions
dosisod
2021-03-16 19:50:43 -07:00 -
78f834ac7a
Refactored the implementation of socketpair for Windows to use named pipe instead of sockets. Changed the default family to AF_UNIX in case socketpar() is invoked with AF_UNSPEC. Added test for socketpair(). Shared some utility functions (previously local to pipe-nt.c) through internal.h so socketpair-nt.c can use it as well.
Fabrizio Bertocci
2021-03-16 22:34:40 -04:00 -
fec72d2b6c
Removed setting the newly created socket pair to non-blocking mode
Fabrizio Bertocci
2021-03-14 08:34:44 -04:00 -
6388ef21f8
dosisod
2021-03-13 20:46:12 -08:00 -
7ffeb29bfc
dosisod
2021-03-13 20:43:57 -08:00 -
da4dffccc5
Add random() and srandom()
Justine Tunney
2021-03-13 20:24:29 -08:00 -
807706a099
Perform minor fixups
Justine Tunney
2021-03-13 19:39:17 -08:00 -
507b85de51
Updated the implementation of socketpair for Windows with AF_UNIX to call either the _dgram od _stream version of socketpair()
Fabrizio Bertocci
2021-03-13 14:29:30 -05:00 -
7ae7010aa7
Re-implemented the Windows version of socketpair(). In particular there are two versions, one that build a packet-oriented socketpair and another one for stream-oriented pairs.
Fabrizio Bertocci
2021-03-13 14:11:58 -05:00 -
de5a638994
Format with clang-format
dosisod
2021-03-10 21:24:29 -08:00 -
c04f99df86
Add missing tgmath functions
dosisod
2021-03-10 21:21:49 -08:00 -
0f8adc258f
Alias noreturn to wontreturn
dosisod
2021-03-10 20:08:50 -08:00 -
cb5d02e9f2
Added inline wrapper for random() and srandom() (that call into the existing rand/srand)
Fabrizio Bertocci
2021-03-10 08:46:34 -05:00 -
edc5aa3234
Implemented missing socketpair
Fabrizio Bertocci
2021-03-10 08:29:18 -05:00 -
87d3a24f2d
Add noreturn macro
dosisod
2021-03-09 20:20:56 -08:00 -
83d0c3b870
Fix writev() on the New Technology (#117)
redbean-2021-03-09
Justine Tunney
2021-03-09 11:21:08 -08:00 -
6cd1037692
Alison Winters
2021-03-09 10:12:39 -08:00 -
5fdc23cb07
use cStandard to set -std= flag instead of explicitly including it
Alison Winters
2021-03-09 01:17:05 -08:00 -
064c32f4e3
add a working wsl/linux configuration for vscode
Alison Winters
2021-03-08 21:34:57 -08:00 -
28f309232b
remove some unused code in the vscode header
Alison Winters
2021-03-08 20:10:17 -08:00 -
9747f3a0bd
remove some duplicated char defines
Alison Winters
2021-03-08 20:03:52 -08:00 -
e0566c9675
Fix Lua build config
Justine Tunney
2021-03-08 17:51:26 -08:00 -
3f35b37b68
Remove nonstandard defines from limits.h (#115)
Justine Tunney
2021-03-08 17:34:44 -08:00 -
67c27d9e6e
Add Hello World example for LUA C API (#97)
Justine Tunney
2021-03-08 14:13:40 -08:00 -
2a3037d4e8
Delete Duktape (#97)
Justine Tunney
2021-03-08 13:17:52 -08:00 -
0a61fe4ea0
Add smoke test for timezone loading (#114)
Justine Tunney
2021-03-08 11:42:53 -08:00 -
33e8fc8687
Expose public garbage collector API for C language
Justine Tunney
2021-03-08 10:56:09 -08:00 -
0ad609268f
Improve system call polyfills
Justine Tunney
2021-03-08 10:07:02 -08:00 -
816b0e1851
Improve tmpfile api (#114)
Justine Tunney
2021-03-07 21:07:16 -08:00 -
2bd1e72d5a
Remove garbage collector macro from header (#114)
Justine Tunney
2021-03-07 20:23:29 -08:00 -
5ce83b08c8
Add posix_spawn (#114)
Justine Tunney
2021-03-07 20:14:07 -08:00 -
5f088cec23
Rename Lua test folder
Justine Tunney
2021-03-07 18:22:53 -08:00 -
a8945714e8
Make gdtoa less tunable (#104)
Justine Tunney
2021-03-07 16:34:16 -08:00 -
8a6ac6dd63
Alison Winters
2021-03-07 14:38:56 -08:00 -
ce2cf3861f
set errno when out of range in strtoimax
Alison Winters
2021-03-07 21:42:27 +00:00 -
f5da4efcaf
Alison Winters
2021-03-07 14:18:08 -08:00 -
b16b332539
Get Lua to build with all tests passing
Justine Tunney
2021-03-07 13:26:57 -08:00 -
4d3195f57a
Add Lua
Justine Tunney
2021-03-02 05:51:10 -08:00 -
6ec86777cc
restore neghex test, but with strtoul instead
Alison Winters
2021-03-07 20:36:00 +00:00 -
b2840c0415
use strtoul for unsigned conversion in chibi tokenizing
Alison Winters
2021-03-07 20:13:01 +00:00 -
9a2dd849c1
standardize strtol behavior when result is out of bounds
Alison Winters
2021-03-07 20:11:54 +00:00 -
aad841610e
Fix freopen so it resets stream buffer (#61)
Justine Tunney
2021-03-07 12:12:02 -08:00 -
7583b3accc
Show better error on bind() error
Justine Tunney
2021-03-07 11:31:44 -08:00 -
06a4e2d29b
Disable Travis emails
Justine Tunney
2021-03-07 08:29:43 -08:00 -
67b9675c81
dosisod
2021-03-06 22:40:18 -08:00 -
3158818249
Include math.h to tgmath.h
dosisod
2021-03-06 22:35:34 -08:00 -
214596ac1f
Move tgmath.h to isystem folder, fix pow taking only one param
dosisod
2021-03-06 22:30:55 -08:00 -
cba703f94f
Implement tgmath.h
dosisod
2021-03-06 21:41:25 -08:00 -
4d4aa9e791
Add automatic tests for pull requests
Justine Tunney
2021-03-06 21:23:18 -08:00 -
813e11b90b
Alison Winters
2021-03-06 21:12:32 -08:00 -
fb7b7c6e21
dosisod
2021-03-06 21:06:29 -08:00 -
807478247b
Fix certain isystem headers including the wrong files
dosisod
2021-03-06 20:44:36 -08:00