Commit Graph

1047 Commits

Author SHA1 Message Date
Philippe Houdoin
7f45fe0b3e The window was blank, making any screensaver drawing over
the desktop drawing over a black screen...
Blackness pseudo screensaver will be fixing next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 15:36:13 +00:00
Philippe Houdoin
f27dcfe07b Fix #6763, using _SIZEOF_ADDR_IFREQ() macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 11:35:53 +00:00
François Revol
d66b59cdfc wget should handle https as well just file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 00:43:46 +00:00
François Revol
94ce028380 BUrl::Full() actually doesn't contain the protocol part, add it back for ftp so it understands it's an url. Add it for wget as well, doesn't hurt.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 00:37:58 +00:00
Axel Dörfler
60fed7e077 * Moved the shared part of NetServer.h into a new private header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:44:37 +00:00
Axel Dörfler
01308f219b * Simplified get_address_family() function.
* Use new BNetworkInterface::AutoConfigure() method.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:05:32 +00:00
Ingo Weinhold
25dc253d6a * Merged weak-symbols branch.
* Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp
* Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 13:06:36 +00:00
Stephan Aßmus
c8fa948b2a close() is defined in unistd.h as per the OpenGroup. Hope this
works on all host platforms, fixes the build on Linux at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 09:02:15 +00:00
Stephan Aßmus
8e61947230 Don't leak file descriptors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 23:28:07 +00:00
Michael Pfeiffer
f0de36acbb * Moved print_server_add_on from bin to servers folder
and renamed it to print_addon as suggested by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 17:46:16 +00:00
Michael Pfeiffer
61729fe266 * Added application print_server_add_on that is used
by the print_server to run a printer driver add-on.
  This makes the print_server
  1) resistant to add-on crashes
  2) and memory leaks in add-ons
  3) license of an add-on cannot influence the
     license of the print_server since it does not
     directly load the add-on anymore; might be
     an issue with GPL printer drivers like Gutenprint
 
  Transport add-ons directly loaded by the print_server
  should be moved outside the print_server too.
  Right now I am not aware that the transport add-ons
  in the repository have any of the issues.
  The Gutenprint driver has 2 + 3 that was the main
  motivation to implement that now. 

  Disabled for now until the launch issue is resolved.
  BRoster does not find the application by its
  signature until it is opened in Tracker once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:13:55 +00:00
Stephan Aßmus
08e6655afe Patch by kaliber (ticket #6333): Removed many instances of
passing an additional -Wall to the compiler, which may actually
have unwanted effects. -Wall is standard by the build system.
Also, -Wno-multichar was passed unnecessarily for Haiku targets.
I didn't remove it for the bfs_shell, hope this is what Ingo meant
in the ticket.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 20:31:11 +00:00
Oliver Tappe
6fd2f4a0d1 One more monster commit (sorry ...) concerning the Locale Kit:
* extracted new class BFormattingConventions from BCountry, which
  manages the formatting conventions from a given locale and 
  allows to get/set the four different date/time formats supported
  by ICU-locales as well as number and monetary formats
* overhauled the Locale preflet:
  + drop editing features for all formats, since I don't think
    they do not make much sense to have in a prefs GUI - being
    able to select from the existing locales should be good
    enough. Please note that you can still change the formats
    programmatically in an application.
  + renamed the 'Countries' tab to 'Formatting'
  + the locale formatting conventions list in the 'Formatting'
    tab is now hierarchical for easier access (less scrolling)
  + fixed functionality of 'Revert' and 'Defaults' buttons
  + added support for using the month/day-names of your preferred
    language during date formatting
* adjusted BLocale to ask BFormattingConventions for the current
  formats when formatting dates and times and to offer 4
  different format styles (full, long, medium and short).
* adjust all classes formatting dates/times to pick the 
  appropriate format style
* BLocaleRoster no longer directly archives/unarchives the 
  individual formatting conventions but delegates that to
  BFormattingConventions
    

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 12:57:55 +00:00
Matt Madia
1974e33826 * More work relating to supporting multiple localized targets in the same
directory. Introduced a new variable HAIKU_MULTIPLE_LOCALIZED_TARGETS, which
gets set in any Jamfiles that contain multiple DoCatalogs invocations. This
removes the need to supply folder parameter to DoCatalogs.
 * Add the DoCatalogs invocation for filepanel.
 * Relocated the catkeys for Screenshot and screenshot into their respective
directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:49:44 +00:00
Scott McCreary
8f0c2a388c Removed definitions for O_BINARY and O_TEXT, and patched the few files that used them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-13 06:26:53 +00:00
Axel Dörfler
5a8805e647 * Added -h|--help option.
* Fixed return code such that it returns an error if no attribute could be
  found.
* Added -d|--data option that only shows the data itself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-05 07:25:08 +00:00
Axel Dörfler
f1c26ec658 * ftpd had a function getline() with non standards compatible parameters.
* This fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-04 14:00:44 +00:00
Matt Madia
ab17e86a66 Reworked LocaleRules (again). The generated catkeys and catalogs are stored in
a directory structure that reflects the catalogs in the repository. DoCatalogs
accepts an optional folder parameter, which allows one to specify an additional
subfolder to glob *.catkeys from. For example dstcheck in src/bin.
Improves upon r38819 and should address the concerns in
http://www.freelists.org/post/haiku/BOM-providing-catkeyszip-and-catkeyszipmd5-again,1


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-03 15:21:59 +00:00
Scott McCreary
36f8666256 Removed make and mkdepend source files, and removed them from the Jamfile. These are now available as OptionalPackages grouped in DevelopmentBase
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-26 17:02:16 +00:00
Matt Madia
0a53d94bd5 Introduced a new variable HAIKU_CATALOGS_OBJECT_DIR. The catkeys and catalogs
are stored in signature-based subdirectories. This improves upon r37871 and
should allow BOM to properly harvest catkeys for online translation tools.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-26 16:55:06 +00:00
Axel Dörfler
9157e52c88 * Improved VolumeControl snapping based on Stippi's snapping code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 08:45:38 +00:00
Oliver Tappe
b7f609650b * removed all BLocale-related getters from BLocaleRoster - they're available
in BLocale (which is accessible via be_locale)
* adjusted all users accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 19:58:19 +00:00
Adrien Destugues
b1b8672a53 * Add usb class name to listusb output, as it can be useful to identify devices.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-24 19:16:21 +00:00
Axel Dörfler
f072d0a87a * The "route" command now uses BNetworkAddress instead of its home brewn
solution, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 13:04:50 +00:00
Oliver Tappe
dbe1e23aa8 Optimised passing around of timezone a bit
* _kern_[sg]et_timezone() now accepts/passes out the timezone name, too
* adjust Time preflet and clockconfig to pass the timezone name into the kernel
  when calling _kern_set_timezone()
* ajust implementation of tzset() to fetch the timezone name from the kernel
  via _kern_get_timezone() instead of reading 'libroot_timezone_info'
* the Time preflet no longer writes 'libroot_timezone_info'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 22:01:28 +00:00
Adrien Destugues
8627cb38c1 CID 1515 : Wrong pointer type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 10:19:02 +00:00
François Revol
6b26291d7b Force reloading the current decorator on -r until they handle color changes correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 17:13:12 +00:00
François Revol
8e8634bf54 Add synonyms for tootip ui_color constants. Fix WindowShade to use the new official ones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 16:33:00 +00:00
Stefano Ceccherini
2323e7fa92 CID 1697. The FILE handle was leaked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 16:24:48 +00:00
Rene Gollent
e4dd2130ec Thought I reverted that change, shouldn't have been part of the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:47:00 +00:00
Rene Gollent
cdd17fcb56 Add an rdef for the keymap command line applet to specify background app so it doesn't pop up in Deskbar when being executed (especially annoying during Haiku builds).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:44:46 +00:00
Axel Dörfler
bfd62966de * Removed useless and wrong "net" symlink from the repository, hope that helps
Clemens.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:59:43 +00:00
Axel Dörfler
97dfb56d81 * ifconfig is no longer using any ioctl()s, but the new C++ classes only. Seems
to work fine so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:51:34 +00:00
Jérôme Duval
5091a866ec To be validated as part of bug #6386. Update glibc regex to 2.11, headers/posix/regex.h included. This imposes some changes in some of our sources using the regex.h,
mostly bin tools and mail kit. The use of __USE_GNU macro is needed for instance when the expected regex implementation is the GNU one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 16:49:58 +00:00
Axel Dörfler
aa6c140bc2 * Removed no longer needed utility functions, and use BNetworkAddress instead
of where they were used before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 13:57:39 +00:00
Axel Dörfler
b2a400e53a * Reimplemented listing interfaces completely via the new C++ API. Only when
configuring or deleting interfaces, the ioctl()s are used directly for now;
  but this should be changed as well.
* Applied patch by Atis partially that fixes mask creation by prefix length,
  and changes a few other minor things.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 13:25:36 +00:00
Axel Dörfler
584866c82f * Patch by Atis: reverted a few changes made to the FreeBSD version of ping6.c,
and use libutil.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 12:45:48 +00:00
Axel Dörfler
c968ec1c41 * Improved error output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 11:39:51 +00:00
Axel Dörfler
40061f8fd5 * Use the _SIZEOF_ADDR_IFREQ() macro instead of computing the length manually.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 13:13:02 +00:00
Axel Dörfler
e4e72487c2 * Added TODO about how to implement pcap_inject_haiku() - it's not used for
tcpdump, though.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 08:48:47 +00:00
Adrien Destugues
5c3a303486 * Move the locale-related stuff away from BCountry to BLocale.
* Remove the be_locale global object and go through the be_locale_roster instead
 * Rework the storage of data for the be_locale_roster, since BLocale already holds a BCountry and a BLanguage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-04 18:45:06 +00:00
Oliver Tappe
7e965f506d More consolidation of timezone code:
* dropped DaylightSavingTime from real_time_clock code in kernel, it was
  never really being used for what it meant (and just being referred to by
  gettimeofday(), which put a different meaning to it
* adjusted the syscalls get_timezone() & set_timezone() as well as their callers 
  accordingly
* got rid of get_rtc_info() and rtc_info struct in kernel, as it was only
  being referred to by the FAT add-on and that one (like gettimeofday()) put a
  different meaning to tz_minuteswest. Added a comment to FAT's util.c
  showing a possible solution, should the hardcoded GMT timezone pose a problem.
* fixed declaration of gettimeofday() to match POSIX base specs, issue 7
* changed implementation of gettimeofday() to not bother trying to fill struct
  timezone - it was using wrong values before, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 23:02:57 +00:00
Oliver Tappe
96ac47e312 Made some progress with consolidation of timezone-related code:
* renamed syscalls _kern_[gs]et_tzfilename 
  to _kern_[gs]et_real_time_clock_is_gmt, as the filename part is no longer
  relevant (and the two corresponding parameters were removed)
* C++-ified and reworked clockconfig to use the info from 'Time settings' 
  to setup the timezone info during boot
* removed invocation of _kern_get_tzfilename() from tzset(), as the syscall
  no longer exists and tzset() is currently broken anyway
* adjusted the Time preflet to use the renamed syscall when getting/setting 
  the RTC info


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 17:47:26 +00:00
Axel Dörfler
2b1c0755dd * Renamed the proprietary SIOC_* ioctls to B_SOCKET_* - no reason to pollute
global name space, and have ugly identifiers for nothing :-)
* Added a flags field to struct ifaliasreq. Added flags to mark an alias that
  is currently being configured, or has been automatically configured.
  Those flags aren't used yet, but they will replace IFF_CONFIGURING and
  friends.
* Implemented deleting addresses only from interfaces via ifconfig.
* Added more command aliases for delete to ifconfig ("del", and "delete", for
  more consistency with route).
* Fixed control_routes() to only release a reference to an address if it
  actually got one before.
* If an interface address is deleted, its routes are now removed as well.
* InterfaceAddress now holds a reference to its interface as planned.
* Implemented removing interfaces. Works quite nicely.
* When downing an interface, all of its routes are now removed. When upping
  it again, at least the default routes are added.
* datalink.cpp's get_interface_name_or_index() leaked a reference to the
  interface found.
* SIOCAIFADDR would also leak a reference when new addresses were added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 15:51:54 +00:00
Adrien Destugues
a7faa05822 * Allow to put the different catalogs for the bin/ directory in spearate places in the generated folder.
*  I didn't manage to make it work for the translations, however. If someone with better jam knowledge could look at it...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 14:10:15 +00:00
Joachim Seemer
63245d99ea Added the type 'icon' to the help text of addattr.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-02 16:31:31 +00:00
Oliver Tappe
38ac8def5a Largish cleanup sweep concerning the Locale Kit (sorry it got so big):
* refactored private/mutable stuff out of LocaleRoster into MutableLocaleRoster
* moved management of Locale/Time settings file and broadcasting of any changes 
  out of preflets and into MutableLocaleRoster
* added proper sorting to the listviews of the Locale preflet
* the Time preflet no longer overlaps long timezone names into the actual time
* several fixes with respect to leaking ICU objects, esp. in BCountry
* the locale roster no longer passes out references to its own BCountry object,
  but uses copies, instead - this makes locking superfluous, as the clients'
  BCountry objects can no longer be changed by the setting a new default 
  country in the locale roster
* removed pretty useless POSIX-style symbol fetching from BCountry - if we
  need that at all, it should live in the dedicated formatter classes
* adjusted readonlybootprompt, dstcheck and Deskbar to the changed Locale API
* refactored existing Time-formatter into TimeUnitFormat and DurationFormat
  (the latter of which is now used by AboutSystem)
* added stubs for Date, DateTime and Time formatters
* lots of coding style fixes throughout the Locale Kit and the Locale and Time 
  preflets
This will probably break most external apps making use of the Locale Kit - it
does break WebPositive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-01 20:28:19 +00:00
Axel Dörfler
98dc4f9c65 * Added "icon" type for adding icons (ie. B_VECTOR_ICON_TYPE).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-01 17:40:29 +00:00
Rene Gollent
62ffe41831 Don't free the symbol iterator on error here since the callers already do so, leading to a double free in such a case. Fixes CID 2008.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-31 18:29:01 +00:00
Joachim Seemer
4de827d536 Small changes to strings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 17:25:40 +00:00
Axel Dörfler
791fe8ec0f * Added new socket ioctls to strace, and the datalink debug output.
* Added a few more types to strace's network ioctls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 09:54:46 +00:00
Axel Dörfler
61729d9323 * Reworked the complete stack to allow more than one address per network
interface - this caused quite a number of changes.
* Network interfaces, and its addresses are now reference counted (not yet
  complete, though, InterfaceAddresses need to hold references to their
  interface as well).
* There are two known regressions of this commit that I will fix later:
  - you cannot remove interfaces anymore
  - IPv4 multicast was broken anyway, but now it's disabled, too.
* Moved a device_interfaces.cpp|h out of interfaces.cpp.
* The datalink layer chain is now instantiated per domain per interface,
  not just per interface anymore.
* When a buffer reaches the network layer, it has no known interface yet, ie.
  the ipv4|6|whatever modules need to set this manually.
* Added more debug output, and some new debugger commands, the control option
  is now printed in clear text.
* Added hash_address() function to the address modules. Added "const" to
  set_to_defaults() where needed.
* Fixed net_buffer's restore header functions offset use as reported by Atis.
* Improved buffer dump output, use the domain module to print the address if
  available.
* Moved net_buffer::type into the union, as it's not needed by the upper layers
  anymore.
* Moved IPv6 specific code from {add|remove}_default_route() to where it
  belongs, but disabled it for the time being.
* Completely discarded useless ipv4_datagram module.
* Added ping6 to the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 17:38:23 +00:00
Alex Wilson
fdc1b8cd84 Add an rdef file for /system/bin/notify which specifies the B_BACKGROUND_APP flag. Fixes #6399.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 08:38:59 +00:00
Oliver Tappe
c090a0fd84 * updated ICU build packages with newer builds that try a bit harder to avoid
warnings and incorporate some of the ICU-patches we had in our repo before
  we upgraded to 4.4.1
* fixed remaining warnings when building locale kit
* activated EnableWerror for locale kit
* added 'Unicode' license, which is the second license in use by ICU


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 22:05:39 +00:00
Oliver Tappe
ad51686353 * improved the locale kit build rules and headers to use a different set of
B_TRANSLATE-macros when running collectcatkeys, simplifying the regex a lot
* added B_TRANSLATE_NOCOLLECT...-macros for the case where a non-literal
  string shall be translated, but not picked up by collectcatkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 22:47:39 +00:00
Axel Dörfler
6600877a5f * On Haiku, ifreq::ifr_name always includes the trailing null byte. Adjusted
userland code to take this into account (the kernel would just cut off the
  name).
* This closes ticket #6280.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 12:35:44 +00:00
Adrien Destugues
5421c7d682 * Fix all localized applications, as an include was missing in some of them
* dstcheck : the generated catalog is now 'dstcheck.catkeys' instead of 'en.catkeys', so that it does not conflict with 
other localized apps in the bin/ folder.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 13:11:13 +00:00
Adrien Destugues
fe8d7c0225 * Remove the CatalogStub class and put the Gatcatalog function directly in BLocaleRoster,
* Adjust the B_TRANSLATE macros to take this into account
 * Adjust collectkatkeys to take it into account too
Thanks to Ingo for explaining me all the technical details about hiding things in shared objects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 11:38:34 +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
Adrien Destugues
6c5a134228 Patch by Jorma Karvonnen : localize filepanel application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 13:23:18 +00:00
Rene Gollent
5d7dcef8cd .c -> .cpp
Fix various warnings in badblocks, and fix broken build due to missing includes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 20:06:37 +00:00
Adrien Destugues
be28dac578 A wrongly escaped regexp in collectcatkeys made it not find any strings to translate. Thanks to mt for noticing!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 13:52:49 +00:00
Adrien Destugues
cae7fb3aec Fix target-side collectcatkeys to use the new regexp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 07:47:08 +00:00
Adrien Destugues
be8fa2fb30 * Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
 * readonlybootprompt will no longer update the locale settings : the 
method used messed with internal undocumented things
 * external localized apps (webpositive for example) will not run 
anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-02 11:36:13 +00:00
Wim van der Meer
50ac237cfd Fix a spelling mistake and a compiler warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-30 10:49:44 +00:00
Adrien Destugues
de1057eeb1 * Add DoCatalogs call for dstcheck
* Patch by Jorma Karvonnen with some tweaks from me : localize TextSearch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-29 16:37:15 +00:00
Adrien Destugues
77c8aa102f Should have been part of my previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-29 10:19:00 +00:00
Adrien Destugues
69b8708d75 Patch by Jorma Karvonnen, mostly rewritten by me :
* dstcheck is now localized
 * it also localize the date using the locale kit instead of strftime
I also added a way to force the message to display, because it helps testing a lot. Run "dstcheck force" for that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-29 09:34:42 +00:00
Adrien Destugues
e8f533b27b Fix a bug in native version of collectcatkeys (not the one used in
buildtools) that prevented it from working at all. This fixes #4840


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-21 10:10:36 +00:00
François Revol
8e129380ee Add a resource file for mount_nfs but don't use it just yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 20:49:03 +00:00
David McPaul
901ccb4cc3 Include all current extended feature flags
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-30 07:31:36 +00:00
Stephan Aßmus
f33637d9a8 * Improved BNotification API.
- No more manual memory management.
   - Make it clear who keeps or releases ownership of arguments passed.
   - Copy icon, arguments and entry_refs.
   - Do not expose implementation details (What do the BLists contain?!).
   - BRoster takes const BNotification& and bigtime_t timeout.

 * BRoster::Notify():
   - Proper error handling.
   - Fixed documentation.

 * Adjusted notify:
   - Renamed fOk to fHasGoodArguments.
   - The "const char*" members were really "char*" members (self-managed).
   - free() is NULL-safe.
   - fRefs contains BEntries, so passing void* to delete does no good.
   - Adjustments to the changed API.
   - Coding style fixes.

 * notification_server:
   - Adjustment to the new type for timeout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 17:50:12 +00:00
Stephan Aßmus
de9dcd41f8 Patch by plfiorini: Integration of InfoPopper as a system service. See ticket
#1245. There are some TODOs outlined in the ticket, but they will be much
easier to review as individual patches against trunk, versus as a new version
of the huge patch.

I've messed a lot with src/servers/notification/NotificationsView.cpp in order
to resolve a crash I was getting when testing this thing (rewrote line
wrapping). I've also replaced the icons with the one that zuMi did long ago.

Thanks, plfiorini, for working on this code as much as you did!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 14:48:27 +00:00
Axel Dörfler
279d26af87 * Fixed stupid usage of strlen() in two cases.
* Fixed 80-character column limit.
* Updated copyright that Ingo forgot with his previous commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 11:58:18 +00:00
Ingo Weinhold
d245fcd9e9 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 11:37:46 +00:00
Ingo Weinhold
386be45abc Fixed 64 bit warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 21:41:20 +00:00
Joachim Seemer
97d73e2ab2 The generated keymap file had the wrong keymap-syntax in the first shebang line. '-l' expects a binary file as it's generated via '-c'. The correct parameter is '-s'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 18:24:03 +00:00
Stephan Aßmus
1c47e8e40c Fixed typo. Closes ticket #5986, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 22:09:06 +00:00
Stephan Aßmus
559e4ec5f3 Small coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:55:48 +00:00
Stephan Aßmus
9579b1a3eb Added missing command line options to help text.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:02:54 +00:00
Stephan Aßmus
d293cd2cf0 Patch by Andreas Faerber to work around the missing
definition of __progname on Solaris. Thanks, closes ticket #5697.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-10 14:38:10 +00:00
Stephan Aßmus
015cd734f0 When checking the return code from BRoster::Launch(), always check for
B_ALREADY_RUNNING and don't treat it as error condition. See BeBook
documentation for more details. This bug resulted in urlwrapper opening a
Terminal and trying to use wget on Bookmark files that are supposed to open
in WebPositive (or any other browser), in the case that this browser was
already running.

Absolutely needs to go into alpha2. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 20:51:56 +00:00
Jérôme Duval
b54538cc66 * use getopt() for addattr
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 16:25:05 +00:00
Jérôme Duval
5e21079403 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:58:15 +00:00
Jérôme Duval
96aa451087 Patch from Alexander Shagarovi (ticket #5832): use getopt() for command line parsing. I fixed some code style and simplified a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:33:04 +00:00
Axel Dörfler
c71183bc8b * Added the text "(Do you have ACPI enabled?)" in case -q failed.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 07:13:21 +00:00
Jérôme Duval
3b1f35c046 catattr can now show attributes on symlinks through the option P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 17:23:02 +00:00
Matt Madia
21e8281bd7 Switch the default editor for less to nano. It was defaulting to vi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 07:44:02 +00:00
Jérôme Duval
32a32c2e70 Patch from augiedoggie #5765: include mktemp from coreutils.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 20:06:51 +00:00
Axel Dörfler
b19e758b80 * The Keymap::IsDeadKey() of the Keymap preferences which was the main source
of BKeymap was not compatible with IsDeadKey() of the other Keymap
  incarnations.
* Now, I've renamed IsDeadKey() to DeadKey(), and introduced a new
  ActiveDeadKey() method that works like the other former IsDeadKey().
* This fixes the dead key problems my earlier BKeymap work introduced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 16:36:54 +00:00
Axel Dörfler
910f10f2fc * Added libshared_build.a, currently only contains Keymap.cpp.
* keymap and <build>keymap are now using the BKeymap class as a base as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 08:17:07 +00:00
Ingo Weinhold
43f42779be Reverted the work-around introduced in r35619. It actually is harmful, since
it introduces cyclic dependencies. The .c files generated from the .def files
include builtext.h, which is built together with builtins.c. So builtins.c
can't depend on the generated .c files. Fixes #5750 for good.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-19 15:23:51 +00:00
Ingo Weinhold
2f1e62186e mkbuiltins.c does not include builtext.h, it generates it. Resolves a cyclic
dependency that caused unnecessary bash rebuilds (#5750).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-19 13:39:14 +00:00
Ingo Weinhold
7f646d6952 parse.y includes builtext.h as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-19 13:37:38 +00:00
Jérôme Duval
02b361c0b0 add a newline after setwep status (patch from luroh #5739).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-18 09:41:44 +00:00
Jérôme Duval
c8d939eaa8 * hopefully display correctly Penryn based Pentium models (instead of Core 2 Extreme).
* fix a cache entry I introduced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-17 16:20:27 +00:00
Axel Dörfler
b44c25de42 * Factored out a single base class out of the three Keymap implementations we
had in our tree.
* Adapted Keymap, <input>keyboard, and consoled to use it - the additional
  functionality is implemented via a subclass in the first two cases.
* "keymap" will come next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-16 07:47:41 +00:00
Jérôme Duval
dd41712c26 * added more L2 cache labels
* white space cleaning


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-15 19:16:55 +00:00
Axel Dörfler
e486a4d0dc * Moved consoled to bin/ - it's not really a test application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-15 15:32:00 +00:00
Jérôme Duval
0b807bb6ed this seems to annoy gcc4, remove it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-14 23:48:49 +00:00