Commit Graph

34716 Commits

Author SHA1 Message Date
Ithamar R. Adema
3cbb7d0544 * Implement LAN printer broadcast handling for IPP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 16:03:54 +00:00
François Revol
61ce1824df - the linux console doesn't handle the set title escape code,
- renice the shell for OSX, despite claiming to be the most advanced OS it doesn't really handles playing a video while doing a build...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:39:36 +00:00
François Revol
6e1b92abf9 Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:37:03 +00:00
Ithamar R. Adema
663b74a594 * Lock printing status window before calling Quit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:33:11 +00:00
Ithamar R. Adema
3d0010a866 * Fix bug in handling name/id combos published by transport addons
* Minor whitespace fixing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:30:29 +00:00
Ithamar R. Adema
3a4656dd4c * Add missing newline in listusb usage message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:19:23 +00:00
Jérôme Duval
a43c663f0a * top now takes into account the current window rows count.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 14:16:58 +00:00
Jérôme Duval
1590c69933 * added forkpty() and login_tty() to bsd compatibility, a test for forkpty().
* added a TODO questioning the closing master and slave in openpty() when applying window size fails.
* added TIOCSCTTY as a TTY ioctl code, the caller become controlling TTY. Review comments are welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 13:48:28 +00:00
Michael Lotz
ba51713c8f Fix gcc4 build of uhci_decode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 13:05:43 +00:00
Michael Lotz
bb1d98b687 * The volume init wasn't checked, so a failed init would crash.
* Unlocking a removable drive was done in the wrong error label which would've
  resulted in accessing deadbeef due to the volume being freed just before its
  use or using the not initialized volume variable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 12:57:17 +00:00
Ingo Weinhold
37b79c0324 Patch by Sean Bartell: Added support for old ReiserFS 3.5 super block location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 12:02:02 +00:00
Matt Madia
6e83f0eda4 Added licenses & updated AboutSystem for BRegion backend.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 05:01:10 +00:00
Matt Madia
a7547a1c30 Added a new license: MIT with an advertising clause. This is mentioned on
http://en.wikipedia.org/wiki/MIT_License#Modified_versions_of_the_license
Updated AboutSystem to utilize them for libxml2, libxslt, & libexslt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 04:51:29 +00:00
Matt Madia
d2a0e98609 style fixes. no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 21:29:25 +00:00
Stefano Ceccherini
9f568b889d NULL check after pointer dereference. CID 1032, btw.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:47:48 +00:00
Stefano Ceccherini
101ff0b674 authentification -> authentication, at least where it doesn't harm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:40:13 +00:00
Stefano Ceccherini
fc00480277 TRUE -> true
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:39:27 +00:00
Stefano Ceccherini
9917e1a6b2 Style changes. No functional changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:38:53 +00:00
Stefano Ceccherini
599a58a6ef Better error checking.
Style changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:37:15 +00:00
Matt Madia
bf77538c1d small cleanup. no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 20:02:14 +00:00
Matt Madia
4c5da317dc Adds support for displaying the currently connected ssid if run with only
device as argument. Contributed by Alex Botero-Lowry. Testing needed. 
Attempted to conform to the coding style checked via checkstlye; additional
feedback is appreciated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 19:53:09 +00:00
Ingo Weinhold
9d3e718801 We must not resize the area hash table while holding an address space lock,
since it could be the kernel address space.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 18:30:22 +00:00
Ingo Weinhold
e99d1fd16f * Fixed more incorrect occurrences of the pid_t == int assumption.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 17:32:09 +00:00
Ingo Weinhold
d7754ff079 * More generous buffer sizes for the semaphore and shared memory object names.
* The result shared memory was mapped PROT_WRITE only, but since the variable in
  it is used with the increment operator, it needs PROT_READ, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 17:15:49 +00:00
Ingo Weinhold
baa26c5b4c Fixed "if" condition: We need to map the error code to a negative value, when
it is positive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 17:09:56 +00:00
Ingo Weinhold
16b4b2c13b Fixed broken sprintf() invocation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 17:06:56 +00:00
Matt Madia
61fd0c7f97 slight rewording.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 15:56:32 +00:00
Matt Madia
444b1d4e98 Acknowledge Google & their Google Summer of Code program. Thank you!
Fixes #5663.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 15:42:05 +00:00
Ingo Weinhold
aea8795346 Be more generous with the semaphore name array size. Large enough PIDs would
lead to overwriting its bounds.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 15:34:12 +00:00
Scott McCreary
c5a3a6bba8 Updated libtool build to use sed at it's new location. Add LibIconv as a dependency for git.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 14:54:00 +00:00
Matt Madia
0660612cdb Moves the following to Vim's code block in OptionalPackages:
* addition of common/etc/vimrc
 * creation of symlink vi --> vim
Improves but not a final fix for #5699


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 14:22:16 +00:00
Stephan Aßmus
6ed212bd43 Added TODO about possibly better way to name some constants.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 10:03:43 +00:00
François Revol
092cf00807 Fix broken TRACE() arg. Add more tracing to spot a crash on unmount after deleting a folder. Return B_OK from read() when node has no data, this allows copying bookmarks which are empty files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 01:35:58 +00:00
François Revol
ce7942c6e0 More argument fixing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 00:36:52 +00:00
François Revol
62e2a8fccf Add googlefs back to the image, as it's working now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 23:27:03 +00:00
François Revol
8b1460ce94 It's working, it's working !
- put_vnode() also had a signature change,
- add backup server (commented) in config file,
- disable trace build,
- some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 22:33:23 +00:00
Ingo Weinhold
078dbb2d0e Defined more sysconf() and _POSIX_* constants required by POSIX.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:52:25 +00:00
Ingo Weinhold
f603ab3c58 Disabled more unused code (the cache allocation is disabled, so no need for
deallocation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:51:00 +00:00
Ingo Weinhold
1f285441c3 Define B_GENERAL_ERROR_BASE to INT_MIN instead of LONG_MIN. On 32 bit
platforms it's the same value, but we actually want type int, not long.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:49:04 +00:00
Ingo Weinhold
b4ab2a2c37 Fixed incorrect assumption that pid_t is int.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:32:47 +00:00
Ingo Weinhold
57ebe59dfd SEM_VALUE_MAX is not POSIX. Use sysconf(_SC_SEM_VALUE_MAX) instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:30:57 +00:00
Ingo Weinhold
e327fa52fe Missing return value.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:29:25 +00:00
Ingo Weinhold
dff3f62071 pthread_exit() cannot return, but the "noreturn" attribute is really a compiler
feature (which we haven't set yet). So return some dummy value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:27:34 +00:00
Ingo Weinhold
814f5ae159 SEM_VALUE_MAX is not POSIX. Use sysconf(_SC_SEM_VALUE_MAX) instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:24:13 +00:00
Ingo Weinhold
8e69b283a4 PTHREAD_ONCE_INIT only needs to be a valid initializer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:18:11 +00:00
Ingo Weinhold
72d74075da Prevent unused variable errors in case CLOCK_REALTIME is not defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:16:12 +00:00
Ingo Weinhold
a06cec2fdf <features.h> is not POSIX.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:14:34 +00:00
Ingo Weinhold
b22623ba6a Prevent clashes with non-POSIX macros that are (or were?) still part of some
standard and are defined in our headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 18:13:49 +00:00
François Revol
4358b19156 Of course, filling in the vnode ops for xattrs will help :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 17:42:03 +00:00
François Revol
507f27c458 Seems get_vnode() also had some changes in arguments. Now googlefs mounts and shows on the desktop. Seems xattrs aren't readable yet though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 17:26:02 +00:00