Commit Graph

35801 Commits

Author SHA1 Message Date
Adrien Destugues
66d288a959 * Actually set the 12/24hr clock selector depending on the date format when selecting a country.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 17:33:07 +00:00
Axel Dörfler
8d1485fa06 Work in progress commit by Atis Elsts (I'm posting his ChangeLog comments
directly here), I made only a few style changes:
* introduced 'has_broadcast_address' field in
struct net_address_module_info
 - REVIEW: the name, and the status of this field for UNIX and L2CAP
	families
* ipv6 address family support
* ipv6 address printing	
* ipv6 protocol support	
* ipv6 multicast support
  - TODO: add and remove multicast routes in a more proper way
  - TODO: support MLD
* ipv6 datalink protocol support
* icmpv6 protocol support (EchoRequest and EchoResponse messages)
* ipv6 neigbor discovery protocol support
  (Advertisement and Solicitation messages)
  - TODO: only the very basic support is present,
	the protocol state machine is by no means completed
  - TODO: replying to Solicitation does not work too good ATM
	(visible, when pinging Haiku from outside)
* added Jenkin's hash algorith
* minor changes in existing IPv4 code - cleanup function
	ipv4_get_loopback_address(), written by myself
* add tests: raw, udp, tcp/udp, mullicast sender
* add 'hoplimit' field in struct net_buffer
  - TODO: this is just a hack, more generic approach would be  better.
* add 'receive_data' function pointer in
	struct net_datalink_protocol_module_info
  - TODO: this is also more like a hack, to support information
	passing from ICMPv6 to IPv6_datagram level.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 16:55:55 +00:00
Adrien Destugues
0e23b87fe4 * Style fixes as pointed out by Ingo. Sorry !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 16:25:40 +00:00
Adrien Destugues
3047815036 * Fix \x parsing in collectcatkeys again (thanks to Kaliber)
* Hide the CatalogStub::GetCatalog method so that if liblocalestub.a is missing from a localized image, it will not try to steal the catalog of another one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:47:06 +00:00
Ingo Weinhold
e828231248 Added node monitoring support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:31:08 +00:00
Axel Dörfler
cc2a443dbd Another patch by Atis Elsts:
* Added ping6 command from FreeBSD.
* tcpdump is now built with IPv6 supprt.
* added IPv6 support to route, and ifconfig (the family stuff should eventually
  be factored out).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:24:36 +00:00
Axel Dörfler
ca83261dd6 Patch by Atis Elsts with only minor changes by myself:
* Moved ip6.h header from FreeBSD private to posix/netinet.
* Added some more IPv6 support definitions to in.h, and in6.h.
* Added icmp6.h header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:03:37 +00:00
Axel Dörfler
403ad05453 * Fixed warnings that occur with GCC4.4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:00:17 +00:00
Adrien Destugues
9253acf88d * $(HAIKU_LOCALE_LIBS) must be linked before "tracker", or else the wrong CatalogStub is used by the deskbar.
* Also fix some style problems and fix the build with APM-aware deskbar (was missing a B_TRANSLATE but did feature the closing parenthesis for it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 14:07:10 +00:00
Ingo Weinhold
4b53c2ba4f Implemented hooks write_fs_info(), sync(), set_flags(), fsync(), access().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 13:58:03 +00:00
Axel Dörfler
d869a06172 * Made the stack send out interface change notifications where needed (at least
hopefully :-)).
* Improved interface change notification to include the flags that changed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 13:48:16 +00:00
Stefano Ceccherini
be6c5ba6a7 Also add debug_server, input_server and cddb_daemon to the WError list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 13:22:51 +00:00
Stefano Ceccherini
016386c6d1 Add midi_server, print_server and registrar to the WError list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 12:39:36 +00:00
Stefano Ceccherini
6718659e48 Fix warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 12:38:49 +00:00
Axel Dörfler
8a5b57ee47 * Enlarged chunk size to 64k - this fixes boot over the network.
* Fixed typos.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 12:19:54 +00:00
Adrien Destugues
a6036edea1 * Update the MacDecorator to be more in-line with the new API. It still doesn't draw anything, however.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 12:12:18 +00:00
Ingo Weinhold
1e0016e1a9 BlockAllocator didn't update the freeBlocks field in the superblock. So after
unmounting and remounting the number of free blocks could be off.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 11:59:22 +00:00
Ingo Weinhold
284f17739e Open the underlying file (or device) with O_NOCACHE. This works around a
potential page writer deadlock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 11:57:57 +00:00
Adrien Destugues
e2cc7215e8 * Fix bug spotted by Rimas Kudelis : if an escaped sequence (such as \xA9) was immediately followed by other digits,
collectcatkeys parsed all the digits instead of just the two associated to the \x, leading to wrong characters in thecatkeys 
file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 11:21:11 +00:00
Wim van der Meer
7235f8680c Prevent the 'Settings...' button from opening multiple windows
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 11:18:25 +00:00
Axel Dörfler
51b6847f5f * Dump a line if an unhandled ICMP packet was received.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 11:10:45 +00:00
Axel Dörfler
0fc7ab7be6 * put_route() now survives being called with a NULL domain (TCP might do this).
* This fixes bug #6239.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:58:59 +00:00
Ingo Weinhold
470934be8c Implemented link() hook.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:49:29 +00:00
Ingo Weinhold
ae3bba85bb Volume::Link(): Also unwrap the target vnode. The client FS would get a wrong
vnode pointer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:48:44 +00:00
Axel Dörfler
e7c3a8ffd7 Fixed a few regressions that were introduced during the last months:
* device_attach() must not load the network stack. Besides being completely
  unbalanced, this was also one reason why the stack could not be unloaded
  anymore. Instead, it's now done in compat_open(), as before.
* This also fixes network booting from FreeBSD drivers - the stack apparently
  could not be initialized that early.
* Replaced the previous network stack based callout implementation with one
  that mostly copies its functionality, but has no dependencies. Furthermore,
  it runs at a higher priority (the one of the network timer should also be
  revisited, though).
* Fixed mtx_owned() to work without KDEBUG as well. It's not a good idea to
  introduce code that behaves completely different based on debug settings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:41:16 +00:00
Ingo Weinhold
69d34a505b Implemented rename() hook.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:27:26 +00:00
Axel Dörfler
fd5c0135e2 * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 10:18:04 +00:00
Axel Dörfler
98e415e567 * Corrected and improved debug output.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 09:20:29 +00:00
Stefano Ceccherini
7071dfc1d1 Style.
Add NULL guard to the color schemes struct, although the code was safe
neverthless (for now)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 06:17:52 +00:00
Ingo Weinhold
5b3d789879 File::GetFileVecs():
* Added debug output.
* Rounding up the size argument could cause an overflow. Use uint64 and block
  indexes, now.
* The iteration index wasn't incremented in the main loop.
* The in-block index was ignored when filling the first vector. Shouldn't
  really matter since we pass back complete blocks only, so the file map
  should never supply an unaligned offset, but anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 01:19:44 +00:00
Ingo Weinhold
08e2a0556c do_iterative_fd_io(): Don't fail when the getVecs callback returns
B_BUFFER_OVERFLOW. It will have returned valid vectors in this case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 01:14:02 +00:00
Ingo Weinhold
45849022ce syslog_sender():
* After an unsuccessful find_port() wait a while before trying again.
  find_port() is quite expensive and particularly during the boot process it
  was called quite busily. Essentially a find_port() per written syslog
  message was performed.
* Added TODOs regarding using a semaphore and using find_port().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 23:55:39 +00:00
François Revol
92d7886758 Fix Mac decorator build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 20:16:23 +00:00
Clemens Zeidler
43d808c01d Simplify code as suggested by Stippi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 20:05:37 +00:00
Adrien Destugues
cc5a68f1c1 * Use a BDateTime instead of a BTime to hold the time value forthe TimeEdit. This allow proper handling of conversion to time_t, taking timezones into account.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 19:24:15 +00:00
Adrien Destugues
4366ca40fe * A subtle bug in hta catkey computation made linkcatkey fail at buid o matic (freebsd), but not haiku, nor linux. Fix the affected files to make freebsd happy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 18:47:11 +00:00
Adrien Destugues
189ad1a924 * Sync all approved catalogs from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 17:05:37 +00:00
Adrien Destugues
3becd1d260 * Fix the ClassicBe decorator for decorator API change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 16:31:25 +00:00
Ingo Weinhold
935c5e8278 Fixed build with TRACE_VFS_REQUEST_IO enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 13:25:26 +00:00
Ingo Weinhold
a628d23613 Prevent creation of entries in unlinked directories.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 13:17:43 +00:00
Adrien Destugues
7b8dcda464 Add gcc version information to kdl info command. This could help debugging in some cases and fixes #3240.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 12:21:42 +00:00
Matt Madia
1e4d65f578 Create symlinks for the static libs of GCC Agnostic packages.
Note: Should we create symlinks for the *.la libtool related files?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 03:11:28 +00:00
Matt Madia
7bf351fce9 Added a small sanity check for improperly built images.
Added a TODO about creating the symlinks for gcc-agnostic packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 02:12:16 +00:00
Clemens Zeidler
e07ebdeb71 Fix SetTitle (bug #6321).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 01:35:45 +00:00
Rene Gollent
9509e395e7 Update Web+ to r535. Fixes ticket #6321, though behavior isn't correctly observable right now due to an app_server bug with respect to updating window titles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 00:56:52 +00:00
Ingo Weinhold
54f25b672a Fixed build with TRACE_VM86 enabled. Closes #6325.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 16:17:14 +00:00
Ingo Weinhold
c019945cbd Added detail to the comment about why we can't call the create() hook without
O_EXCL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 16:11:56 +00:00
Ingo Weinhold
1a38616f35 Fixed fs_vnode_ops::create() documentation: The function shall not fail, if
the file already exists, unless O_EXCL has been specified. At least that's
how our file systems with write support implement it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 16:00:48 +00:00
Ingo Weinhold
1f23605dd7 Added description for fs_volume_ops::get_vnode()'s _type and _flags
parameters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 15:39:39 +00:00
Adrien Destugues
7af097b973 * Add FormatDate variant returning fields positions and associated DateFields returning their identifiers
* Use them in the time preflet to display and edit the date in a local-aware way


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 12:24:57 +00:00