Commit Graph

1473 Commits

Author SHA1 Message Date
hidnplayr
ea9bb80074 Tied 3c59x network driver to new interface.
git-svn-id: svn://kolibrios.org@3323 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 12:05:33 +00:00
hidnplayr
397fdefac7 Removed obsolete EthReceiver interface
git-svn-id: svn://kolibrios.org@3322 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 12:03:56 +00:00
CleverMouse
31e9ec37f4 fix r2601
git-svn-id: svn://kolibrios.org@3320 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 11:01:50 +00:00
turbanoff
7af2e521dd ext2 fix bug: bad error checking in ext2_get_inode_block and in ext2_HdRead
git-svn-id: svn://kolibrios.org@3317 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 18:42:16 +00:00
turbanoff
3cd1e6838b ext2 fix stack inconsistent in ext2_find_lfn
git-svn-id: svn://kolibrios.org@3316 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 16:32:44 +00:00
Marat Zakiyanov (Mario79)
5769420383 Documentation for F73 to trunk kernel.
git-svn-id: svn://kolibrios.org@3315 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 15:03:27 +00:00
turbanoff
e239be3fe2 ext2 fix stack inconsistent in ext2_HdRead
git-svn-id: svn://kolibrios.org@3314 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 14:34:52 +00:00
turbanoff
33eee384bf ext2: fix bug in file read
git-svn-id: svn://kolibrios.org@3313 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 13:53:24 +00:00
esevece
7f9ee006fe Correction for recent commit
git-svn-id: svn://kolibrios.org@3310 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-02 21:05:28 +00:00
esevece
d2e8899b67 More spanish translation
git-svn-id: svn://kolibrios.org@3309 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-02 20:57:38 +00:00
hidnplayr
1b65aa6050 Fixed SOCKET_process_end (broken in #3264), Use mutexes for ring buffer reading/writing.
git-svn-id: svn://kolibrios.org@3307 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 19:08:37 +00:00
CleverMouse
1d49faceef fix FAT32 formatting in tmpdisk
git-svn-id: svn://kolibrios.org@3305 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 11:27:25 +00:00
CleverMouse
a5c1457eb0 I'm sorry
git-svn-id: svn://kolibrios.org@3304 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:30:42 +00:00
CleverMouse
a321a83609 Protect thread from external terminate while running any syscall except 5,10,23.
Now 18.2/18.12 are really safe through kernel-colored glasses (however, you still
should not use them except for really critical cases),
although the protection is sometimes quite excessive.

git-svn-id: svn://kolibrios.org@3303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:27:19 +00:00
CleverMouse
165c453d43 protect thread from external terminate while running sysfn 70
git-svn-id: svn://kolibrios.org@3296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 22:03:45 +00:00
CleverMouse
debda5ffe2 output program name in addition to PID when it crashes
git-svn-id: svn://kolibrios.org@3294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 12:09:39 +00:00
hidnplayr
e2df6e8111 Fixed stack corruption in TCP_input when TCP queue is full
git-svn-id: svn://kolibrios.org@3293 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 11:51:11 +00:00
hidnplayr
ba61873d0c Fixed unlocking of mutex in TCP_output.
git-svn-id: svn://kolibrios.org@3289 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 03:21:03 +00:00
esevece
3ca743d7cf Added kernelsp.inc for some messages
git-svn-id: svn://kolibrios.org@3287 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 22:34:38 +00:00
CleverMouse
790f4651cc fix FAT16 formatting in tmpdisk
git-svn-id: svn://kolibrios.org@3285 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:56:28 +00:00
CleverMouse
dbd7b62e8f wrong var name
git-svn-id: svn://kolibrios.org@3284 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:54:05 +00:00
CleverMouse
4b55541f4c fix return value of disk_sync in compatibility case
git-svn-id: svn://kolibrios.org@3283 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:52:48 +00:00
esevece
0ee4a33419 Copied booteng.inc to booten.inc. So, removing booteng.inc
git-svn-id: svn://kolibrios.org@3276 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 21:00:05 +00:00
hidnplayr
46d92cd305 Cleanup in TCP, fixed possible deadlock in TCP_input.
git-svn-id: svn://kolibrios.org@3275 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 20:17:02 +00:00
esevece
9069d7e9ca Spanish translation (boot and kernel). Fix in makefile. Change name of booteng.inc to booten.inc
git-svn-id: svn://kolibrios.org@3274 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 18:29:14 +00:00
hidnplayr
82934c24f2 Updated network.inc for applications.
git-svn-id: svn://kolibrios.org@3272 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-25 12:15:01 +00:00
hidnplayr
4fe36c5853 Fixed bugs in TCP (crash when closing socket, crash when responding to segment that has no socket)
git-svn-id: svn://kolibrios.org@3270 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-24 17:12:10 +00:00
hidnplayr
7eb55c9625 Unblock a blocked socket before closing it.
git-svn-id: svn://kolibrios.org@3267 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-24 09:45:53 +00:00
hidnplayr
6b57089391 separate thread and process ID's for sockets.
git-svn-id: svn://kolibrios.org@3264 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-23 16:38:26 +00:00
hidnplayr
67f8bac00f PID fix for SOCKET_pair function.
git-svn-id: svn://kolibrios.org@3261 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-23 08:57:51 +00:00
hidnplayr
d12cb9e707 Re-applied some changes concerning local sockets. They were reverted by accident.
git-svn-id: svn://kolibrios.org@3259 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-19 17:06:46 +00:00
hidnplayr
89bfe5f5d6 Better blocking sockets, preparing for some API changes.
git-svn-id: svn://kolibrios.org@3257 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-19 16:56:54 +00:00
hidnplayr
4bceec50e4 Fixed some bugs with non-blocking local sockets.
git-svn-id: svn://kolibrios.org@3253 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 20:39:37 +00:00
hidnplayr
629fb2b3e1 Better TCP timestamp, fixed stack corruption if PAWS fails.
git-svn-id: svn://kolibrios.org@3252 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 19:43:01 +00:00
hidnplayr
72f758c218 Changed some debug output messages (and their levels) in new stack.
Implemented a queue for incoming TCP segments.

git-svn-id: svn://kolibrios.org@3251 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 17:58:53 +00:00
hidnplayr
8fc51dbddb Removed unused fields from netstat
git-svn-id: svn://kolibrios.org@3250 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 17:10:57 +00:00
hidnplayr
e68a03adef Removed non-working debug level specific for network stack.
git-svn-id: svn://kolibrios.org@3249 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 16:37:08 +00:00
Sergey Semyonov (Serge)
629515a9f6 heap.inc: Fix indention. Why don't we use 12 spaces ?
git-svn-id: svn://kolibrios.org@3246 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 12:07:32 +00:00
johnfound
f18f91c208 kernel.asm back to #3238
git-svn-id: svn://kolibrios.org@3242 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-11 19:53:26 +00:00
johnfound
0d1c86e7bb Introduced new header version, that to serve STDIO through a IPC sockets mechanism. Some code cleanup and comments added.
git-svn-id: svn://kolibrios.org@3240 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-11 19:09:43 +00:00
hidnplayr
ad706e4a24 IRCc: do not redraw userlist, unless scrollbar actually moved.
git-svn-id: svn://kolibrios.org@3234 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 13:55:04 +00:00
hidnplayr
1373a38089 Added alphabetic sorting for users in IRCc
git-svn-id: svn://kolibrios.org@3233 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 13:29:24 +00:00
Sergey Semyonov (Serge)
5690f9671b kolibri-acpi: update
git-svn-id: svn://kolibrios.org@3232 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 09:10:30 +00:00
hidnplayr
6e6fb52d02 Added PCI ID's for ADMtek N100 to DEC21x4x driver.
git-svn-id: svn://kolibrios.org@3231 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 09:08:49 +00:00
hidnplayr
2222c3412c Forgot to set the PID in previous revision.
git-svn-id: svn://kolibrios.org@3229 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-05 17:24:15 +00:00
hidnplayr
14019f31f8 New function Socket_pair for UNIX (IPC) sockets.
git-svn-id: svn://kolibrios.org@3228 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-05 17:15:09 +00:00
hidnplayr
b7a4b76a9e Now IRCc will print messages to the correct window instead of just using the one that is opened.
git-svn-id: svn://kolibrios.org@3226 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-04 18:51:09 +00:00
hidnplayr
ff07ff5192 Better NICK command support, support for channels with many users.
git-svn-id: svn://kolibrios.org@3222 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-03 22:52:24 +00:00
hidnplayr
15cb7df159 Some more updates for userlist in IRCC.
git-svn-id: svn://kolibrios.org@3220 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-03 21:09:16 +00:00
hidnplayr
bd75afb87d Some GUI updates for IRCC.
git-svn-id: svn://kolibrios.org@3216 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-02 21:47:33 +00:00
hidnplayr
31434d0fa5 Fixed some more servercommands, made scrollbar for userlist functional.
git-svn-id: svn://kolibrios.org@3215 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 18:37:23 +00:00
hidnplayr
1632f80d55 Fixed JOIN and PRIVMSG commands for IRCc.
git-svn-id: svn://kolibrios.org@3214 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 15:18:31 +00:00
hidnplayr
d46e0f80ee Fixed bug in IRCC's serverparser.
git-svn-id: svn://kolibrios.org@3212 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 14:28:44 +00:00
hidnplayr
49fa77deae Sceletone for a BCM57xx driver. Only for the brave!
git-svn-id: svn://kolibrios.org@3211 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-31 22:00:20 +00:00
hidnplayr
49fed632cc Updated i8255x driver. Works but has some holes, uses only one receive descriptor. Use with caution.
git-svn-id: svn://kolibrios.org@3206 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-31 14:10:15 +00:00
hidnplayr
c4c2da3caa Updated PCI macros for network drivers.
git-svn-id: svn://kolibrios.org@3205 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-31 13:10:10 +00:00
hidnplayr
2d54529003 ARP will now wait for reply/timeout if it needed to send an ARP request packet.
git-svn-id: svn://kolibrios.org@3203 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-28 13:11:35 +00:00
CleverMouse
edce644b61 make DiskDel save ebx
git-svn-id: svn://kolibrios.org@3202 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-28 12:49:55 +00:00
hidnplayr
a52b2728a7 Some refactoring of DEC21x4x driver.
git-svn-id: svn://kolibrios.org@3201 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-27 20:13:23 +00:00
hidnplayr
a8ad5846a9 Updated API so applications can easily send ARP announcements, keep track of ARP conflicts.
Zeroconfig now supports padding option and sends ARP announcements if needed. Also some refactoring/cleanup.


git-svn-id: svn://kolibrios.org@3200 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-27 20:03:18 +00:00
hidnplayr
14192f7dba Fixed some PCI function macros for network cards.
(Now PCnet32 driver works again in VmWare)

git-svn-id: svn://kolibrios.org@3199 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-25 17:07:13 +00:00
hidnplayr
03cfe90034 Refactored PCnet driver. Omitted unnecessary copying of data.
git-svn-id: svn://kolibrios.org@3198 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-24 22:03:35 +00:00
hidnplayr
ac5091bcec Bugfix in PCnet driver.
git-svn-id: svn://kolibrios.org@3197 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-24 16:19:22 +00:00
Artem Jerdev (art_zh)
3fef9a66b5 SSE-moves
git-svn-id: svn://kolibrios.org@3195 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-23 00:06:59 +00:00
Artem Jerdev (art_zh)
b1147c3be7 Good-bye APM !
git-svn-id: svn://kolibrios.org@3194 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-22 22:47:49 +00:00
hidnplayr
2a1f846c07 Changed working title of network branch in kernel.asm.
git-svn-id: svn://kolibrios.org@3193 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-22 15:57:31 +00:00
hidnplayr
5959abc989 Stub for new IRC client.
git-svn-id: svn://kolibrios.org@3191 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-22 14:05:00 +00:00
hidnplayr
fbf1d3eec3 Syncing net branch with trunk.
git-svn-id: svn://kolibrios.org@3187 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-21 20:59:27 +00:00
hidnplayr
382dde4fed Added some experimental IPv6 code to net branch.
git-svn-id: svn://kolibrios.org@3185 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-18 14:32:05 +00:00
IgorA
0ab5d31ac7 correct import function names
git-svn-id: svn://kolibrios.org@3179 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-17 20:06:52 +00:00
Artem Jerdev (art_zh)
fd0e46d25e 16-bit rubbish cleaning
git-svn-id: svn://kolibrios.org@3176 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-17 00:08:55 +00:00
CleverMouse
e6976fc326 fix FAT folder delete in some rare cases
git-svn-id: svn://kolibrios.org@3174 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-16 12:21:15 +00:00
hidnplayr
d274e313e0 Added new sound.obj wich automatically loads correct sound driver.
See forum for more details (http://board.kolibrios.org/viewtopic.php?f=28&t=2196)

git-svn-id: svn://kolibrios.org@3171 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-15 20:38:35 +00:00
Artem Jerdev (art_zh)
9f98ff8ab6 -A: minor updates
git-svn-id: svn://kolibrios.org@3169 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 23:19:38 +00:00
Artem Jerdev (art_zh)
634c0e9aa4 -A: minor updates
git-svn-id: svn://kolibrios.org@3168 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 23:02:43 +00:00
CleverMouse
9f2e9bf07a get_pg_addr now correctly handles the kernel large page
git-svn-id: svn://kolibrios.org@3166 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 09:39:51 +00:00
CleverMouse
de94fe74ac make caching for PnP disks really work
git-svn-id: svn://kolibrios.org@3164 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 09:24:25 +00:00
Artem Jerdev (art_zh)
edb957dfa2 Good-bye VESA !
git-svn-id: svn://kolibrios.org@3163 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 17:03:03 +00:00
hidnplayr
d1a0247624 Fixed previous mistake.
git-svn-id: svn://kolibrios.org@3162 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 14:07:18 +00:00
hidnplayr
d0efc3d714 Actually release the TCP socket once it's closed.
git-svn-id: svn://kolibrios.org@3161 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 13:51:51 +00:00
hidnplayr
3341bc3ceb Refactored recent ARP code a bit.
git-svn-id: svn://kolibrios.org@3160 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 13:08:45 +00:00
hidnplayr
72dc4ba124 Kernel now automatically sends one gratuitous ARP once IP address has been set.
Also, fixed ARP stats.

git-svn-id: svn://kolibrios.org@3159 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 10:52:01 +00:00
hidnplayr
43ea83d5a4 Fixed bug in RTL8029 which led to crash after receiving TCP frame.
git-svn-id: svn://kolibrios.org@3158 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-11 10:45:19 +00:00
hidnplayr
8e9d5576fd Fixed autobuild
git-svn-id: svn://kolibrios.org@3156 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-10 17:39:29 +00:00
hidnplayr
efb37b3598 Replaced signed relative jumps with unsigned ones were needed.
(I must lose this bad habbit in 2013...)

git-svn-id: svn://kolibrios.org@3155 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-10 17:35:32 +00:00
hidnplayr
1dfb449935 Added VIA Rhine driver. Only tested on Rhine II cards.
git-svn-id: svn://kolibrios.org@3154 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-10 07:40:01 +00:00
hidnplayr
161e024c27 Fixed and refactored RTL8029/NE2000 driver. Some fine-tuning still needed.
git-svn-id: svn://kolibrios.org@3149 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-03 13:25:22 +00:00
hidnplayr
a62ea51291 Further fixing of ARP_add_entry. Now entries can be re-added if they were removed once before.
git-svn-id: svn://kolibrios.org@3148 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-31 14:21:41 +00:00
hidnplayr
f986b74d68 Fixed and simplified ARP_add_entry. (Previous versions worked only for one entry)
git-svn-id: svn://kolibrios.org@3147 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-31 13:04:38 +00:00
hidnplayr
2033224063 Added simple socket debugging tool.
Moved some TCP code to tcp_usreq.inc.

git-svn-id: svn://kolibrios.org@3146 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-30 20:31:11 +00:00
hidnplayr
9e043be92f Kill sockets when process crashes.
git-svn-id: svn://kolibrios.org@3145 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-30 10:06:53 +00:00
hidnplayr
949b920321 Added TCP_mss (max segment size) stub.
Bugfix in FTPD concerning data ports.

git-svn-id: svn://kolibrios.org@3144 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-29 22:22:10 +00:00
hidnplayr
14077f9230 Fixed TCP keepalive
git-svn-id: svn://kolibrios.org@3143 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-28 19:56:52 +00:00
CleverMouse
a221c289a3 fix double-unlock in free(); make free() always save edi; update test
git-svn-id: svn://kolibrios.org@3126 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-17 15:54:19 +00:00
Sergey Semyonov (Serge)
b9837f927b trunk: always show default cursor for inactive window
git-svn-id: svn://kolibrios.org@3069 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-28 20:03:00 +00:00
Sergey Semyonov (Serge)
6c5d6e467f kernel: export MapPage
git-svn-id: svn://kolibrios.org@3030 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-12 20:06:37 +00:00
Artem Jerdev (art_zh)
e626668c98 A-version of GMON
git-svn-id: svn://kolibrios.org@3007 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-05 20:19:33 +00:00
hidnplayr
ad6b39e045 Fixed bug in i8254x driver
git-svn-id: svn://kolibrios.org@2999 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-03 18:07:44 +00:00
hidnplayr
6e328be793 Fixed blocking in SOCKET_receive_tcp
git-svn-id: svn://kolibrios.org@2998 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-03 16:31:13 +00:00
hidnplayr
2d1db4c224 Experimental blocking sockets
git-svn-id: svn://kolibrios.org@2996 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-01 19:21:46 +00:00