Commit Graph
100 Commits
Author SHA1 Message Date
Philippe Houdoin b4bc72fdc1 Keymap: control plane map should be selected even under caps lock
Ctrl+key codes are case insensitive. So pressing Ctrl+x (for instance) or
Ctrl+x under caps lock should works the same.
But when caps lock was on, it was falling back to default map,
producing the char  key instead.

This fix #20052.

Change-Id: I4b36adb3428533454e93ebb3d0a71f4343af9ea7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11254
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-11 13:58:47 +00:00
Philippe Houdoin 06dcef89c6 libnetwork: fix _nsconfigure after commit 43d6d8d
_nsconfigure() is OS-agnostic, should use _PATH_NS_CONF.

Change-Id: Ic8d8f2229543d28ca8fb34909383bbbe10043944
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11174
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-03 01:29:00 +00:00
Philippe Houdoin 49f62bc172 Add vector icons for MS Office files, by zuMi
Also add a generic File_Diagram derived from zuMi's MS Visio diagram icon.

Change-Id: I1208c8cf0af03d72baf5a23138c77fe4b0f3f451
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11198
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-06-30 15:45:53 +00:00
Philippe Houdoin 94270cfe47 mime_db: add detection of Microsoft Office XML Word, Excel, PowerPoint, Visio and Access files
Vector icons by ZuMi, thanks!

Expand the sniffing size up to 8k, as the zip file content layout can be very variable.
Now it works with all the available samples Microsoft Office 2007+ files I can put my hands on.

Change-Id: I806a66dd3d29bb47693759ef2270b482a8d7cd69
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11182
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-06-29 17:07:28 +00:00
Philippe Houdoin 3136245cbf libprint.a: check the transport add-on file actually exists before trying to load it
This should fix runtime_loader "cannot open file" errors logged into syslog because every
standard locations were attempted without checking for actual existance of a file to
attempt to open.

There messages were misleading users about their criticity.

Change-Id: I621b122a4eee1cc7ad2ff1c03f5146809657e7d4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11175
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-22 18:59:45 +00:00
Philippe Houdoin 749c032e15 IMAP: Better ID command, sharing some info about this client to the server.
- Moved former scoped IDCommand class to Commands module.
- Now the ID command expose the following info to IMAP server:
  - client name, IMAP mail_daemon add-on
  - os name, Haiku

Sample protocol trace for new IDCommand:

C: A0000002 ID ("name" "IMAP mail_daemon add-on" "os" "Haiku")
S: * ID ("name" "EA" "version" "COMS/EA24.10/r20260306")
IMAP server info:
  name: EA
  version: COMS/EA24.10/r20260306
S: A0000002 OK ID done

Change-Id: I07e3cff151ad84c68816172e4caaea04b6ca40fb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10712
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-11 11:46:32 +00:00
Philippe Houdoin 84b6b469cf libnetwork: add support for /boot/system/settings/network/nsswitch.conf
This open opportunity to use extra netresolv's nsswitch modules, like libnss_mdns.so,
for zeroconf .local names resolution.

Change-Id: If71fc47d7ab066e99daa97d453e70dddc3449f71
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10667
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2026-04-11 11:45:52 +00:00
Philippe Houdoin a65f8374f2 IMAP: add support for CAPABILITY in LOGIN tagged OK response.
Per RFC 3501, a server MAY include a CAPABILITY response code in the
tagged OK response to a successful LOGIN in order to send capabilities
automatically.

The capabilities in the untagged response could be truncated to a
shorter list of capabilities meaningful to the login process.

For instance, the IMAP4rev1 server of mailo.com, a french mail provider,
returns this on LOGIN command:

C: A0000001 LOGIN "[email protected]" "XXXXXXXXX"
S: * OK [CAPABILITY IMAP4rev1 ID LITERAL+ AUTH=LOGIN AUTH=PLAIN STARTTLS] IMAP4rev1 MAILO Ready
CAPABILITY: IMAP4rev1, ID, LITERAL+, AUTH=LOGIN, AUTH=PLAIN,
STARTTLS
S: A0000001 OK [CAPABILITY IMAP4rev1 ID LITERAL+ ENABLE IDLE QUOTA
NAMESPACE SORT UIDPLUS UNSELECT UTF8=ACCEPT] Welcome
[email protected]
CAPABILITY: IMAP4rev1, ID, LITERAL+, AUTH=LOGIN, AUTH=PLAIN, STARTTLS, ENABLE, IDLE, QUOTA, NAMESPACE, SORT, UIDPLUS, UNSELECT, UTF8=ACCEPT
capabilities: IMAP4rev1, ID, LITERAL+, AUTH=LOGIN, AUTH=PLAIN, STARTTLS, ENABLE, IDLE, QUOTA, NAMESPACE, SORT, UIDPLUS, UNSELECT, UTF8=ACCEPT

As the explicit CAPABILITY command is not sent if capabilities
were retrieved from LOGIN response, before this change, the complete
capabilities were not retrieved.

This change merge capabilities from both untagged response and tagged OK
response of LOGIN command.
Also, improve server responses traces, following the RFC S: prefix.

Change-Id: Id0fc18f0913ab03d2d3f5f90b296fbb7fb89446f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10703
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-10 09:22:56 +00:00
Philippe Houdoin cbad2174a9 TextSearch: in text only mode, disable grep file type checking
Without, grep would do its own file type check, which could clash
with the one done by our own FileIterator, based on MIME type.
Improve a bit overall performance.

Change-Id: Ib0ef814e89b076b93e2e7b215f079cad8137128f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10630
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-02 12:17:16 +00:00
Philippe Houdoin 91077c485a /bin/shutdown: fixed bug, was returning non zero even on shutdown
success. Spotted by mcandre, thanks!
2018-05-03 12:22:45 +02:00
Philippe Houdoin a54feb0e89 TextSearch: fix bug with filenames containing ' or " or \
* Style policy
* Add more error checking
* Increase default directories stack depth
2017-11-07 17:58:52 +01:00
Philippe Houdoin 77b2cdba88 TextSearch: fix build 2017-11-07 14:42:48 +01:00
Philippe Houdoin ce04a43add TextSearch: avoid calling ChangesIterator's method when null
Fixes #9874
2017-11-07 14:35:25 +01:00
Philippe Houdoin 653c767602 TextSearch: several small improvements
* Wakeup periodically search thread, cancelling should be
  more responsive now...
* Show Lines setting is now saved too
* Fix a bug, current file is display again while searching.
* Always pass line number, if any, to invoked app.
  Works with StyledEdit as with Pe.

Partially fix #13289.
Another change will add "open with" context menu and remove "Open with Pe".
2017-11-07 10:37:21 +01:00
Philippe Houdoin 6487273924 userguide: fixes link to repositories pref page. 2017-11-06 19:13:07 +01:00
Philippe Houdoin 8aab3a0d5e docs: promote SoftwareUpdater as easy tool to update Haiku.
The welcome page was still saying the only way to update Haiku
is per command line. Not as much welcoming as one could expect
since SoftwareUpdater is now available.

Add SoftwareUpdater to the list of Haiku's applications in User Guide.
2017-11-06 19:06:48 +01:00
Philippe Houdoin 359b82e26a TextSearch: unbreak 32bits builds 2017-11-06 18:08:35 +01:00
Philippe Houdoin 33d4c8a62e TextSearch: way speeder by using xargs + grep
* Previously, each file was starting a shell to run grep
  command on it. Very suboptimal performance, big overhead.
* Now a thread write each file path to xargs input,
  while another start xargs, let it distribute files on
  grep processes (one per cpu) and collect results asap.
* This bring results way faster than previously.
* Rename Escape Text setting into Regular Expression, as
  name was more after shell workaround than after function.
* While it doesn't use a native text searching, by
  reusing both grep and xargs power, it answer the main
  issue with #9529.
2017-11-06 16:31:17 +00:00
Philippe Houdoin c64b6fc967 WebPTranslator: use libwebp to identify.
Previous hardcoded checks were only aware of VP8 lossy chunk format,
leading to rejecting lossless or newer extended WebP images, while
the libwebp bellow could have handle them fine.

Fix #13712.
2017-11-02 17:30:22 +00:00
Philippe Houdoin 22b7e29bc6 libroot: mktemp.c: use rand_r() and set seed only on first call
This avoid to break caller's own srand() and having the same seed
if called twice very quickly.
Thanks david.given for a better fix for #13660.
2017-08-10 10:33:41 +00:00
Philippe Houdoin c7a3a80cc6 libroot: make mktemp() more random
... by seeding rand() with process id, user id and current time.
This fix #13660
2017-08-09 19:33:36 +00:00
Philippe Houdoin 9854a9d3d6 virtio_net: set/get actual frame size
works OK under VirtualBox now, but no robustness and performance
tests were made yet.
2017-08-07 18:12:21 +00:00
Philippe Houdoin 2a081b42a9 fifo: revert broken fix 2017-08-03 16:53:17 +00:00
Philippe Houdoin 4a531db1f2 networkstatus: test explicit boolean expression 2017-08-03 16:53:17 +00:00
Philippe Houdoin cb7833c724 networkstatus: add no NoLink and LinkNoConfig status
An interface that fail to configure due to link lost will be
reported to have "No Link" instead of to be still "Configuring...",
which was not the actual state.
2017-08-03 14:40:48 +00:00
Philippe Houdoin 65abebfaa7 fifo: wakeup readers not checking POLLHUP/B_SELECT_DISCONNECTED
For readers waiting in select() or simply in read(),
B_SELECT_DISCONNECTED notification didn't wake them anymore.
Now, cascade notifications to be sure to wake them, either
on POLLHUP, POOLERR/B_SELECT_ERROR or, at worst, from read().

See #7859 for details.
2017-08-03 11:48:02 +00:00
Philippe Houdoin 57b87ea9c3 virtio_net: add rx & tx support
Rx see lots of errors, though, but at least DHCP works now and
the interface goes up.
2017-08-03 09:17:46 +00:00
Philippe Houdoin 12b5c184b2 kernel: add fifo polling test from #7859 2017-08-01 18:50:36 +00:00
Philippe Houdoin 17f88a29db Fix x86_64 build 2017-08-01 18:37:39 +00:00
Philippe Houdoin 216574f371 fifo: fix #7859 2017-08-01 18:37:38 +00:00
Philippe Houdoin f1cc99789b Add PatchBay to default image's demos 2013-08-08 22:45:20 +02:00
Philippe Houdoin 8683f5d4ee Quick style polishing... 2013-05-24 10:11:53 +02:00
Philippe Houdoin 415962e25f Add an unittest for if_nameindex to network kit tests pool 2013-05-24 09:44:41 +02:00
Philippe Houdoin 89e83cf613 Style cleanup and fix a possible endless loop 2013-05-15 19:46:30 +02:00
Philippe Houdoin 44908fe8c5 if_nameindex() wasn't retrieving interface index. Fixed #9770 2013-05-15 08:40:31 +02:00
Philippe Houdoin 1a84d6b362 Skip timeout computation in is_syscall_restarted case. 2013-05-04 11:27:04 +02:00
Philippe Houdoin ca4f3ba33c Patch by Pete Goodeve fixing #9311. Thanks.
* Respect device's declared max packet size.
  This improve support of USB midi controlers which don't support
  arbitrary bulk read size, like iCON ones.
* Fix an logic inversion regarding O_RDONLY/O_WRONLY
  and output or input ports only devices.
2013-05-02 09:06:20 +02:00
Philippe Houdoin 9058801fe2 Fixing my own mess introduced in r41274. Fix #9446. 2013-04-18 02:06:20 +02:00
Philippe Houdoin 1e77e4f852 Tokenize directly in team_info.args buffer. 2013-04-18 00:20:10 +02:00
Philippe Houdoin cc2c83fa5c Applied patch by Prasad Joshi to add kill by process name support. Thanks. Closed #1944. 2013-04-18 00:20:05 +02:00
Philippe Houdoin 184fada4e9 Connecting an UDP endpoint was resetting a previously bound local port. Fix #9678 2013-04-17 22:23:27 +02:00
Philippe Houdoin b292f6936a Fix typo, spotted by ttcoder. Thanks. 2012-08-06 21:53:25 +02:00
Philippe Houdoin 47b44bbedb Fix SerialConnect gcc4 build. 2012-07-26 23:55:39 +02:00
Philippe Houdoin a3b73ff9d1 Fix insets 2012-07-26 23:31:57 +02:00
Philippe Houdoin ca741c4835 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-19 23:48:23 +02:00
Philippe Houdoin 9be0c9b03c Improve SVG image identification (close #8653)
* add a sniff rule
* until we have an image translator for SVG, and since Web+ is not
  included by default in Haiku images, made Web+ preferred app for SVG images.

Note that for compressed SVGZ (*.svgz), the sniff rule will still fail miserably.
Our sniffer will need decompression support before being able to do that...
2012-07-19 23:46:26 +02:00
Philippe Houdoin 427e96598c Revert back my change as its broken.
I will take some rest as obviously I should not allwed to commit anything rigth now.
Sorry guys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 06:46:40 +00:00
Philippe Houdoin cc6dd72fbb Update B_USB_RAW_COMMAND_GET_DESCRIPTOR to support retrieving
up to total_length a configuration descriptor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 06:19:49 +00:00
Philippe Houdoin 1ce29039cd Revert r42812. As pointed by Michael, one can use
BUSBDevice::GetDescriptor() to retrieve whatever descriptor, including a 
complete configuration descriptor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 21:02:14 +00:00
Philippe Houdoin d41559757e Expand usb_raw ioctl to support retrieving full usb configuration descriptor from userland, not only the header part.
I try to keep UBSConfiguration binary compatibility, but proofreading is welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-09 15:15:15 +00:00
Philippe Houdoin 13cb2a2930 Code cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-09 15:12:05 +00:00
Philippe Houdoin 7a931c68e8 Do an explicit row's update when it's needed.
This should close #7988 this time, hopefully.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-16 19:31:02 +00:00
Philippe Houdoin 909c526903 Pass up-to-date team_info to TeamRow, so we can detect when a team app image has changed after
an exec() syscall, and update team's fields, icon included. 
This fix #7988.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-15 22:14:00 +00:00
Philippe Houdoin d230708bcf * Expand kernel_args addresses ranges size, 8 is somewhat too small, leading
to a panic at boot.
* Make the panic message more explicit when there is no more room left.

This should hopefully fix #7869.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-05 10:49:32 +00:00
Philippe Houdoin 2bd5013756 Remove last usage of hardcoded k_app_mini old BeOS generic app icon.
That should gracefully close #7219.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-02 06:02:36 +00:00
Philippe Houdoin a46e462db9 * Fix the "USB USB Webcam" name: now generic UVC USB webcam will be named, well, that:
Generic UVC USB Webcam.
* Added my own Logitech HD Pro C910, which publish a compound device class, not an UVC class.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 05:54:55 +00:00
Philippe Houdoin 20cc5ae73c Update WebPositive package, new build was needed due to the
new ICU 4.8.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 22:16:24 +00:00
Philippe Houdoin c3688b17e9 Fix gcc 4.5.2 build (unused static function is now an error).
No functional change, sorry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 14:02:58 +00:00
Philippe Houdoin d90bbcc813 Fixed in ProcessController the same icon issue than in Debugger's running teams window.
Also get right of the ugly raster default app icon that was still used and visible in
memory & teams/threads submenus.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 13:34:50 +00:00
Philippe Houdoin dd537d13a8 Followed Ingo's suggestion: use private get_app_ref(). This reduce code duplication.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 13:00:21 +00:00
Philippe Houdoin 727c05a5df Now always retrieve the team icon from the first B_APP_IMAGE image entry_ref.
Using team_info.args as before was not safe: when truncated, the 
entry_ref could be an intermediate folder, which display a folder 
icon as team's icon!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 09:36:19 +00:00
Philippe Houdoin 6a80f55b25 Small changes resting on my working copy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-16 18:07:57 +00:00
Philippe Houdoin 45667a941b No space was made for Hat(s) value(s) in variable_joystick.
Would explain why hat shown by StickIt was always static neutral...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-16 16:01:32 +00:00
Philippe Houdoin fccb048765 Fixed gcc2 build (sorry).
Plus one forgotten small style fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-03 12:39:51 +00:00
Philippe Houdoin 1291377a6e Applied patch by Pete Goodeve, which adds multi-ports support to usb_midi driver.
Fixed some coding style and a few sanity checks where it make sense.

This driver code is not in a good shape and needs a wide cleanup.
unfortunatly, I still don't have any device to test with, so I can't do that anytime soon.
Intead of letting his patch collecting dust since 3 months (my bad),
I think it's better the multi-port support gets at least more exposure than
just Pete's hardware.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-03 10:30:03 +00:00
Philippe Houdoin 258cffcde2 Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-02 08:13:31 +00:00
Philippe Houdoin d28b0b06d0 Of course, when incomptability kick in, it's never limited only to
option string: FreeBSD's stat command line don't use  %s format specifier for
file size. Instead, %s specifier is unused at all and they goes with %z.
For file Zize, I guess...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 13:31:56 +00:00
Philippe Houdoin c3510ace83 When building floppy boot image on FreeBSD, the stat command line fail on
the -c/--format option which is unsupported on this platform.
Add a fallback, which should fix #7613.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 09:52:08 +00:00
Philippe Houdoin b6ba1daaac There is no point trying to request back from DHCP a link-local
auto-configured address...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-16 16:00:18 +00:00
Philippe Houdoin d7a82feb5c Added a few Radeon HD 48xx devices IDs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-16 15:19:02 +00:00
Philippe Houdoin 0f6581066d Remove "Parallel Port" print transport add-on from image: until we've a /dev/parallel driver to
actually support it, it make no point to let people think a parallel printer *may* be supported.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-16 14:50:26 +00:00
Philippe Houdoin 48315186a8 Remove reference to SVN, now that revision is a VCS-agnostic string...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-09 11:49:03 +00:00
Philippe Houdoin 0892800f69 Implemented INIT-REBOOT DHCP state: as required per DHCP specs,
we now request the last address we got from DHCP server, and only on failure
we fallback on the whole INIT state (discover, collect offer, etc).
This should fix people losing their IP address at each renewal, or far worse,
after the link goes up again.
Closed #7346.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-27 15:04:55 +00:00
Philippe Houdoin e65843e8c9 Revert files that were commit by mistake in previous commit. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:56:02 +00:00
Philippe Houdoin 9ff5266f3a Avoid deadlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:52:16 +00:00
Philippe Houdoin 302a7082ba Quit AutoconfigLooper when switching to static configuration.
Before, DHCP will still run after a link down & up event, which could 
leads to break the user-defined static configuration.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:02:02 +00:00
Philippe Houdoin 84fdf2c3ca Made _AddressToString() static methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 00:48:11 +00:00
Philippe Houdoin 03f6ab7fd1 Add dhcp_message::FindOption(), to retrieve a specific option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 21:52:15 +00:00
Philippe Houdoin 6d5ad15714 Check node monitoring messages to handle them only when it make sense.
Before, the "interfaces" settings file creation/removal notification was 
leading to a attempt to configure/remove an interface named 
"/boot/common/settings/network/interfaces"!
Could help fixing issue #7475.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 21:33:43 +00:00
Philippe Houdoin d09c1f8e8d Made message retransmission delay +1/-1 randomized as required per RFC2131
spec (see paragraph 4.1)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 20:45:34 +00:00
Philippe Houdoin ec2878c3cf Patch by SHINTA: add MediaPlayer cover image/artwork support.
This implemented #7430 enhancement.
Arigato gozaimasu!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-20 17:58:07 +00:00
Philippe Houdoin 6e5af4cdc4 Check a menu item is actually marked, just to be safe.
Remove leftover commented code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 10:03:02 +00:00
Philippe Houdoin 8859d46e56 Patch by Sean "jalopeura" Healy: save and restore account and encoding of draft mails.
This fix #4789. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 09:38:37 +00:00
Philippe Houdoin 9c87cb1b9f Moved the whole testpage into its own (offscreen) window, and
print from this window's looper.

There is two majors bugs raised by the test page feature, which sports both
gradiants and vector drawing (leaf, gradiant colors):
- radiants are not recorded/handled in BPicture
color gradiants presents in the test page
- scale is not correctly recorded or handled in BPicture, as seen when zooming on
the leaf drawing in Preview window...
I will investigate how to fix both.

Anyway, an incomplete test page is better than none.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 12:14:37 +00:00
Philippe Houdoin 89aa6cbe13 Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 11:39:54 +00:00
Philippe Houdoin 61698f2dad Audio clips are also concerned with backgroup volume level settings, so actually
"clips" was valid. Also adds a missing : after menu labels.
Thanks Humdinger for proofreading and suggestion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 13:06:08 +00:00
Philippe Houdoin b17cf6ff58 The "movies" term was used everywhere else, for coherency use it instead of "clips".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 10:41:02 +00:00
Philippe Houdoin 26b61bd984 Clean wrong spacing, as spotted by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:17:22 +00:00
Philippe Houdoin 0ceae11007 Remove leftovers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:49:31 +00:00
Philippe Houdoin 9f76097f9e Add WebP write support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:33 +00:00
Philippe Houdoin 463c0d1e8d Upgrade to latest libwebp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:26:16 +00:00
Philippe Houdoin b70b735dca Fix error message formating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 14:25:32 +00:00
Philippe Houdoin 7703b15314 Those should have been part of r40791. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 14:07:57 +00:00
Philippe Houdoin 662c94f6c4 Reorganized to follow libwebp source layout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 13:27:41 +00:00
Philippe Houdoin 552c44608f Change a bit the tooltip text, per Axel suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 17:37:02 +00:00
Philippe Houdoin a559946f03 Use string_for_size() to format and localize sizes in a consistent way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 16:08:24 +00:00
Philippe Houdoin d25cab17b0 * Check data size before trying to translate it into a picture image
* Remove leftover debug traces


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:28:09 +00:00
Philippe Houdoin 372bd6a113 Use be_control_look to draw the progressbar. The previously hardcoded one was
following the BeOS look, not our.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 11:17:19 +00:00
Philippe Houdoin e5dca0c2c0 * Scale down a bit the picture view, now using the same ration than
official (passport, ID card) photos
* Add a tooltip to give user some hints on the picture "field"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 09:54:30 +00:00
Philippe Houdoin f22fe14c4c * Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
  to be itself such target (copying a person picture to another one),
  though.
* Remember the source type and MIME and use them to save the picture in same
  format when possible.
* Avoid flickering when only focus is changing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 19:37:16 +00:00