Commit Graph

35597 Commits

Author SHA1 Message Date
Ingo Weinhold
ff626c8e29 Patch by Alex Wilson: Added archiving/unarchiving support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 00:46:40 +00:00
Ingo Weinhold
3fb74eb796 Patch by Alex Wilson (with minor changes by myself):
* Added support for archiving/unarchiving.
* Coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 00:41:56 +00:00
Ingo Weinhold
a3d9e70188 dos2unix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 00:20:19 +00:00
Ingo Weinhold
849e11ad8d Patch by Alex Wilson:
* Implemented archiving/unarchiving support.
* Coding style cleanup (some more by myself).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 00:15:31 +00:00
Ingo Weinhold
d1535a45df Patch by Alex Wilson:
* Implemented archiving/unarchiving support.
* Coding style cleanup (some more by myself).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-17 00:09:06 +00:00
Ingo Weinhold
80c2bbd8ae Patch by Alex Wilson (with small style changes by myself): Added support for
archiving/unarchiving.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 18:11:24 +00:00
Ingo Weinhold
7ed1644c55 Patch by Alex Wilson:
* Added archiving/unarchiving support.
* Style cleanup (also some by myself).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 17:23:15 +00:00
Ingo Weinhold
cbac1a2355 Patch by Alex Wilson: Added archiving/unarchiving of layout and layout
related data.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 17:06:55 +00:00
Ingo Weinhold
b137ab3eb3 Patch by Alex Wilson (minor changes by myself) related to the new archiving
features:
* Some cosmetic adjustments of the API, like using references instead of
  pointers, argument order, method names, etc.
* Added convenience template methods for archiving and unarchiving to BArchiver
  and BUnarchiver.
* BUnarchiver (respectively the private BUnarchiveManager) explicitly deals with
  object ownership, now. This is necessary since an error while unarchiving
  could leave an already unarchived object without owning object, which would
  result in it being leaked. The BUnarchiver::{Get,Find}Object() methods do now
  have an optional parameter to specify whether object ownership shall be
  transferred.
* Fixed incorrect header guard in headers/private/binary_compatibility/Global.h.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 16:49:42 +00:00
Stefano Ceccherini
6a78d35e85 Color schemas are applied live now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 12:03:43 +00:00
Stefano Ceccherini
72439e2074 Obviously, just checking for the text color isn't enough.
Also renamed colors to schema since it makes more sense


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 11:56:11 +00:00
Stefano Ceccherini
80490c776a Add a menufield to select color combinations, and add obvious
"white on black" and "black on white". For some reason these aren't
applied live, like when you chose a custom combo.
I'm not really fond of the code, and will rework it in the next few days.
But at least it works!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 11:52:35 +00:00
Ingo Weinhold
3aea1d4f53 * Added ObjectCache::alignment, the object alignment and used the alignment for
incrementing the cache color cycle. Using the fixed value (8) would
  potentially misalign the object again.
* Don't use CACHE_ALIGN_ON_SIZE for object caches any longer -- we have the
  alignment parameter anyway (the flag is still used for the MemoryManager,
  though).
* ObjectCache::InitSlab(): Slab coloring *was* done when CACHE_ALIGN_ON_SIZE
  was given, i.e. exactly the wrong way around. Also the cache_color_cycle
  computation was weird -- color 0 was used twice in a row.
* The "slabs" and "slab_cache" KDL commands also print the alignment, now.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 01:27:27 +00:00
Rene Gollent
a8d618d4d2 Update WebPositive to r532.
- fixes ticket #6186: Web+ would crash if pgup/pgdn was hit in its URL input while the choice list wasn't visible.
	


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 01:23:33 +00:00
Ingo Weinhold
44db70a313 * Resolved TODO: Use an object cache for the thread structure alloction.
* Align the allocated objects to 16 byte. This is required by the x86
  arch_thread structure. Haiku only didn't crash and burn since the until
  recently used heap allocator apparently aligned the structures to 16 byte
  anyway and the now used slab allocator has a bug preventing slab coloring
  for that object size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 01:13:22 +00:00
Oliver Tappe
7ad694e346 Some more ICU-related improvements:
* updated icu-devel package to 4.4.1
* create appropriate devel lib links when icu-devel is being installed
  (which only works during build, not when using installoptionalpackage)
* dropped ICU headers from repository and instead fetch them from the
  icu-devel package when needed during the build
* adjusted Jamfiles that make use of ICU-headers accordingly (hopefully
  I didn't miss any)
* fixed license in OptionalPackage description of icu packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 21:23:45 +00:00
Clemens Zeidler
369b4ff1e3 Update copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 20:38:13 +00:00
Clemens Zeidler
09301a4959 Fix another TODO and move the caching of the decorator footprint region (the border region) form the Window class into the decorator base class. To do so I make some of the public Decorator methods non virtual and introduce new protected virtual methods instead. The non virtual public methods handle the caching now and calling the protected method afterwards.
This has to be taken into account when fixing the other Decorators!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 20:23:35 +00:00
Philippe Houdoin
18d844d2d9 Long forgotten update about the new vector icon added to midi endpoint under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 18:34:25 +00:00
Adrien Destugues
3c000b968a * Fix the time preflet to work in all languages, including ones with the AM/PM field before the time (try chinese for example).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 11:04:21 +00:00
Stefano Ceccherini
e4c638f650 ServerApp::Quit() was hiding MessageLooper::Quit() due to the default
paramenter, causing warnings when compiling with gcc4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 07:32:15 +00:00
Stefano Ceccherini
47a694d367 Fix warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 07:28:44 +00:00
Clemens Zeidler
177ecc46b6 Refactoring of the Window class. Move window behaviour into separate WindowBehaviour class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 04:49:38 +00:00
Matt Madia
0009e148b8 Reworked the mandatory ICU package.
* repackaged archive to not include directory path information
 * updated the jam rules so that the correct archive gets extracted to the
   correct directory
Notes:
 * the .OptionalPackageDescription & specified license was not checked
 * this allows the newer Web+ to run on gcc2hybrids (r37519)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-15 02:24:17 +00:00
Ingo Weinhold
266681e27c Patch by Nathan Mentley: Build the x86-64 build tools with multilib support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 23:03:59 +00:00
Ingo Weinhold
1977401106 Simplified Jamfiles. The drivers isn't built anyway, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 21:11:24 +00:00
Rene Gollent
1dcfc6586a Update Web+ optional package for ICU 4.4 and locale kit changes. Note this doesn't currently work correctly on gcc2 hybrid due to some issues with the ICU optional package rules (gcc2 ICU libraries are ending up in gcc4/lib).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 20:38:20 +00:00
Adrien Destugues
a7e183f8e5 BDateField is already used in ColumnListView, so use another name for this enum.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 19:43:46 +00:00
Adrien Destugues
57500c639c * Allow use of unicode character in time view
* Some support for languages having an order different than H:M:S:AM (like chinese). Does not seem to work too well, but I can't spot what I missed
 * API to get the infos about the type of each field in a time format


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 16:43:04 +00:00
Alexandre Deckner
1f34e928ac * Removed last remains of the OPEN_TRACKER define.
* Cleanup of unused include.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 15:32:00 +00:00
Adrien Destugues
7f536f83ea * Time preferences : use localized time.
Note this only works if your localized time use only 8-bit utf-8 codepoints.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 13:56:54 +00:00
Adrien Destugues
c96d1da735 * Add an API to get a formatted time along with delimiters for the differrent fields, for further parsing/formatting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 13:20:20 +00:00
Adrien Destugues
859b891e3d * One of ICU libs got somewhat corrupted during the package creation. This fixes it and get you a bootable system again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 12:26:00 +00:00
Adrien Destugues
2a90ce534c * Actually include ICU 4.4 in the image we build
Note this doesn't fix everything yet, apparently there is a problem with ICU genereating an invalid opcode exception.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 10:34:06 +00:00
Stephan Aßmus
b1008df2c2 Patch by Alex Wilson: Added convenience methods for storing BAlignment and BSize
in BMessages. Also added type codes for them in TypeConstants.h. Closes ticket
#6302. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 07:02:38 +00:00
Matt Madia
f47eacc36c Increased the size of the nightly and alpha profiles, as the limited space
prevented a web browser from being installed with installoptionalpackage.
For @alpha-*, 690 was chosen, as the anyboot will add an additional 3~4M to
the image size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 07:01:41 +00:00
Ingo Weinhold
3121f39481 thread_exit(): Postpone deleting the thread's user stack until after sending
the thread's death notifications. The fixes issues where other threads depend
on objects on its stack (particularly relevant for the main thread). Fixes
#6315.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 01:20:58 +00:00
Ingo Weinhold
737b989128 Patch by Lucian Adrian Grijincu (slightly modified by myself):
ObjectCache::ReturnObjectToSlab(): Check the returned object pointer for
obvious invalidity (out of bounds or misalignment).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 00:48:45 +00:00
Ingo Weinhold
87c30de789 * Added a File class for representing regular files. We use a simple block tree
for the data management. Reading/writing (using file cache and file map) is
  implemented, but not exactly well tested yet.
* Renamed SymLink::{Read,Write}() to {Read,Write}SymLink().
* Implemented FS hooks write_stat(), create(), read(), write(), io().
* Added O_TRUNC support to open() hook.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 00:12:52 +00:00
Ingo Weinhold
4a6cd3b3f9 * Added some stat data setters.
* Added virtual methods needed for files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 00:04:43 +00:00
Ingo Weinhold
4cc1203416 * Added node locking related flags.
* Added convenience method StartAndAddNode().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 00:03:42 +00:00
Ingo Weinhold
7704e36304 Use RETURN_ERROR() in the free paths, so we see where things go wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 00:02:43 +00:00
Ingo Weinhold
e40e5ebf8c arch_clear_watchpoint(): Passed incorrect flag to clear_breakpoint(), so
watchpoints would never be cleared.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 23:56:14 +00:00
Ingo Weinhold
2fd209cf00 page_writer(): Added TODO about potential deadlock in case of loop file
systems/devices.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 23:42:31 +00:00
Adrien Destugues
62b6f47670 * Strip the ICU libraries
* Usethe proper name (with .44 suffix).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 19:48:32 +00:00
Adrien Destugues
5098ba1b94 Update ICU to 4.4
* Remove 4.2 sourcecode
 * ICU is now an optional package (mandatory)
 * Adjust the namespaces and libraries names where needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 19:04:40 +00:00
Philippe Houdoin
546fac2d14 Removed NetworkingKit pseudo-target from OpenBeOS era: useless since long already.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 17:57:47 +00:00
François Revol
aa4035d909 This should fix the UTF-8 name for the Bépo keymap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 15:36:11 +00:00
Alexandre Deckner
a111096469 * Minor style fixes, spaces vs tabs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 13:33:49 +00:00
Alexandre Deckner
148f33f206 * More PoseView localization by T.Murai (a.k.a mt). Thanks a lot. (be careful with the 80 chars indenting though ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 13:19:51 +00:00