Commit Graph

38823 Commits

Author SHA1 Message Date
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
Clemens Zeidler
ee1568cb41 Also add IMAP body fetch status message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 08:15:24 +00:00
Clemens Zeidler
0e657c0b6c Remember tracker message when downloading a partial message and open it with Mail. This is needed to get the next/previous message after downloading the body.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 07:55:47 +00:00
Clemens Zeidler
65598ac67b Fix POP3 fetch header status view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 07:53:57 +00:00
Clemens Zeidler
ae4a84c9fb Fix the partial download settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 06:49:02 +00:00
Clemens Zeidler
df317863c8 Fix regression spotted by Humdinger. Try to open the entry in settings/Mail/mailbox first.
Add some more info to the self made query, not perfect yet.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 06:08:26 +00:00
Clemens Zeidler
20a1f87af2 Open the new query window when clicking the deskbar mail icon. The mails/in folder is not a valid folder in any case and if you have a lot of mails it takes for ever to display all mail in tracker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 04:14:48 +00:00
Clemens Zeidler
7ab6cb9ac5 Copy sent mails to /boot/home/mail/sent. Hope that makes more clear if a mail should be send (in out folder) or already has be sent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 03:54:28 +00:00
Clemens Zeidler
84eaee26b8 Some cleanup in the config view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 03:27:42 +00:00
Jonas Sundström
f6c0e5b706 Updated Swedish translations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 02:19:34 +00:00
Siarzhuk Zharski
70a1f34934 The "usage" field of property_info should not be localized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 23:06:25 +00:00
Siarzhuk Zharski
dfe0a36e63 Corrected the comment to B_TRANSLATE calls that has problems with
displaying it on HTA. In request from Diver.

PS:It is a "second part" of r40564 changes missed by me. I'm sorry for the noise.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 22:59:05 +00:00
Siarzhuk Zharski
2e49ff35c5 Fixing localization of JPEG and JPEG2000 translation add-ons.
Partially fixing #7229.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 22:28:42 +00:00
Siarzhuk Zharski
dcdbb901e4 Corrected the comment to B_TRANSLATE call that has problems with
displaying it on HTA. In request from Diver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 22:26:48 +00:00
Siarzhuk Zharski
aa1207034f Revert localization-related changes in the BeOS-only part of code.
Pointed out by Ingo. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 22:24:59 +00:00
Joachim Seemer
b5c4007b7a Using the new downloadable tarball from HTA inserted outdated catalogs. This should sync to the newst translations. Sorry about that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 19:10:21 +00:00