Commit Graph

38738 Commits

Author SHA1 Message Date
Jonas Sundström
41e4f0903d Unsafe use of strncpy replaced by strlcpy. CID 2254.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 01:06:58 +00:00
Jonas Sundström
d1a78f51e0 Unsafe use of strncpy replaced by strlcpy. CID 2256.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:55:44 +00:00
Jonas Sundström
117711e680 Unsafe use of strncpy replaced by strlcpy. CID 2257.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:37:01 +00:00
Jonas Sundström
7d5b23fb44 Unsafe use of strncpy replaced by strlcpy. CID 2258.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:30:17 +00:00
Jonas Sundström
c4035e9124 Unsafe use of strncpy replaced by strlcpy. CID 2259.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:08:41 +00:00
Jonas Sundström
d4f0eca634 Unsafe use of strncpy replaced by strlcpy. CID 2264, 2265.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:01:16 +00:00
Jérôme Duval
53c001249b gcc 4.5 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 22:57:20 +00:00
Stephan Aßmus
96f9949a2d The parent menu of the attributes menu might be showing, thus it needs
to be locked before its font is retrieved or items are added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 22:46:48 +00:00
Siarzhuk Zharski
211be12926 A bit of extra localization support for Devices app.
Partially fixes #7245.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 20:37:54 +00:00
Siarzhuk Zharski
51a2a65082 Finnish translation updated from HTA in request from Jorma Karvonen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 19:09:32 +00:00
Siarzhuk Zharski
ace9bd8d80 Belarusian translation updated from HTA;
Russian translation updated from HTA;
ProcessController localization fixed - missed file added
into DoCatalogs Jamfile rule.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 18:50:50 +00:00
Joachim Seemer
2991ed2036 Updated French and German catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 18:47:55 +00:00
Jérôme Duval
b62dd5abd5 cleanup, header inclusion should be revisited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:39:09 +00:00
Jérôme Duval
1cc2cf286c Switched attribute type to B_XATTR_TYPE, as recommended by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:34:56 +00:00
Philippe Houdoin
3f2a0963f6 All debugger commands we've added, remove we must.
Closes #7251.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 13:27:00 +00:00
Philippe Houdoin
a4c21b1c82 Check if the name is already used in add_debugger_command*() and reject
duplicate attempt(s).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 11:56:57 +00:00
Jonas Sundström
a49fe9b849 Unsafe strncpy replaced by strlcpy. CID 2262, 2263, 2262, 2253, 2252, 2251, 2250, 2249. BUFFER_SIZE_WARNING.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 07:09:14 +00:00
Clemens Zeidler
07ede8884c Close the mail window when marking the last message as read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 06:45:23 +00:00
Jonas Sundström
aea362af0c Crediting Michael Davidson, Mikael Eiman and Pier Luigi Fiorini for the notification server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 04:53:23 +00:00
Jonas Sundström
0a6345894e Updated Swedish catkeys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 03:48:16 +00:00
Clemens Zeidler
7398688a5e IMAP commands are serialized using the BLooper message queue. MarkMessageAsRead used the direct way to access the protocol and so interfered with ongoing requests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 00:42:02 +00:00
Clemens Zeidler
379df1cc3c Move #define from E-mail.h to mail_util.h. Thx Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 23:16:08 +00:00
Clemens Zeidler
4ee7dfd971 Write status attributes correctly again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 23:10:19 +00:00
Clemens Zeidler
47d780d247 Don't mark read messages as seen when closing the mail window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 20:08:46 +00:00
Alexander von Gluck IV
c9b05e5212 when loading addons, put them in a map so we can access them later easily; use addon instances stored in map and call Save/Revert for each through dynamic addon osmosis; little style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:59:58 +00:00
Philippe Houdoin
025c4ea25a When no device is given, find ourselves which removable device (if any) can
be considered the default one.
When several are, the command failed after listing them.
This should avoid to always fallback to floppy as
the default removable device.
Closes #7247.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:27:38 +00:00
Philippe Houdoin
9b26b17b0e Made eject command a C++ program.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:24:30 +00:00
Alexander von Gluck IV
cdd15f8478 style tab cleanup; start using classy kMsg style BMessage vars; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 16:02:17 +00:00
Stefano Ceccherini
03683e642c Fixed the 10Mbit speed as noticed by Philippe.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:13:23 +00:00
Stefano Ceccherini
7920b5579c Style fixes, notably the pointer style and struct keyword used
iconsintently.
Respect the 80 columns limit, update copyright, used calloc instead of
malloc.
No functional changes (hopefully)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:11:24 +00:00
Clemens Zeidler
f191a57149 - Change the new mail query to search for the MAIL:read attribute.
- The deskbar status query is looking for MAIL:read values equal to B_UNREAD now. This has the effect that in manual mark as read mode also unseen messages are counted as read messages. In this way the deskbar shows the full mailbox icon only for really new messages.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 10:01:39 +00:00
Clemens Zeidler
d773c5bf4c If not in "mark automatically as read" mode mark the mail as seen. Fix selection of this option in the preference window. Fix some read/unread bugs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 09:52:41 +00:00
Stefano Ceccherini
8fbb452a31 Winbond 840 NIC driver: implemented link status api (tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 08:47:43 +00:00
Clemens Zeidler
9967dfd924 - Extend MarkMailAsRead to take a flag not only a bool value. Write an additional MAIL:read attribute.
- Remove some hard coded paths.
- Catch failure of FindMessage correctly. Thanks Axel.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:24:29 +00:00
Clemens Zeidler
ba11c28b6b Fix crash in imap config view. Remove hard coded path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:19:24 +00:00
Jonas Sundström
27f365eaa3 Small fix. Helps when doing a Close All from Deskbar and the Terminals all flatten/unflatten all over each other.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 04:02:50 +00:00
Alexander von Gluck IV
80d265a95f Impliment new struct for protocol information (friendlyname,present(working),inet AF number,socket id); Detect OS supported protocols; Draw tabs based on *working* OS protocols; make route ioctl calls ipv6 friendly (shudder); construct/deconstruct sockets based on supported protocols; no crashes! (8000 crashes later)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 02:48:48 +00:00
Philippe Saint-Pierre
2905062e64 In CharacterMap:
Separate the CodeView (info section at the bottom of the window)
in 2 sections, one with the character itself, the other with the
remaining infos (hex code, etc..)

The idea behind this is that if the font in the CharacterView above
is different than the default font used in that CodeView, it might
happen that a glyph doesn't show in the CodeView below but was shown
in the CharacterView above, or vice-versa.


Fixes ticket #4020


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 01:56:00 +00:00
Stephan Aßmus
9473d287b3 * Added functionality for initializing and retrieving future tool bar
icons.
 * Imported a few of zuMi's awesome tool bar icons as C code. Doing
   it this way imposes the least start up panalty (10ms on my Core 2 Duo,
   which is imperceptable when usually opening some largish image).
 * The init code is run, but there is no tool bar yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 22:42:30 +00:00
Stephan Aßmus
804c69ca06 Moved IconButton from LaunchBox (actually the updated version from WebPositive)
into libshared.a as BPrivate::BIconButton. Removed some outdated functionality
as well (now only uses BControlLook for drawing, cleaned up custom drawing).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 22:33:05 +00:00
Siarzhuk Zharski
1153eaca5f 1) Devices application localization support reordered to let more translated
values be handled. Partialy fixes #7245;
2) Support for localization some still not handled parameters in ProcessController.

Pointed out by Diver. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 18:45:23 +00:00
Joachim Seemer
922f48327f With these changes the add-ons now sport a MIME type, which has been missing before and was complained about by the LocaleKit in the syslog before. It still won't find the catalog, however... See ticket #5594.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 17:25:43 +00:00
Alexander von Gluck IV
450a2dc7e4 make protocol selection more generic and easy to configure; this adds complexity but allows us to configure ipv4/ipv6 support from a single point.. now just have to figure out how to check for the presence of the IPv4 vs IPv6 network add-ons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 16:19:43 +00:00
Axel Dörfler
f38b8016a8 * Be a bit more generous about the maximum cache size; it filled up pretty
quickly with high resolution pictures.
* Changed the way how it's determined to reject pre-caching an image; this
  should work better in practice, and should also fix a potential problem that
  sometimes the cache wouldn't accept anything beyond the current picture as
  observed by stippi.
* Add optional debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 15:42:46 +00:00
Axel Dörfler
ebd792d8c1 * Made the minimum zoom depend on the actual zoom factor, too. This fixes the
wrong resizing as observed by humdinger.
* I did not remove the limit altogether, because it's a bit odd to be able to
  zoom out until you only see a pixel from the original image... Maybe someone
  has a better idea on how to go about this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 15:39:25 +00:00
Rene Gollent
83d2f58767 Style fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 14:46:19 +00:00
Rene Gollent
f16c55b074 Due to the changes in r40529, the resource data pointer was no longer pointing to static data.
Consequently the locale kit would fail to load resources since the pointer was no longer an address within the liblocale.so image,
with the result that things like flag bitmaps would no longer be accessible.
Fixes #7246.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 14:42:39 +00:00
Siarzhuk Zharski
c7302a8110 Russian translation updated from HTA in request from Sergei Reznikov.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 13:34:54 +00:00
Siarzhuk Zharski
af36157333 Belarusian localization updated from HTA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 12:18:24 +00:00
Siarzhuk Zharski
1da233a71f Yet another localization fix in Data Translators.
Partialy fixes #7129.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 12:15:28 +00:00