Commit Graph

34428 Commits

Author SHA1 Message Date
Adrien Destugues e9024a3be5 * Build tools : allow to run DoCatalogs with a custom regexp for special cases
* Introduce a system-wide localization catalog used for strings hidden deep in some libraries. Add special API to get it.
 * string_for_size is the first to make use of this system wide catalog. This allows to have a fully localized DriveSetup.
 * As a side effect, tracker also uses it. It now requires liblocale.so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 23:00:25 +00:00
Adrien Destugues 9113ee2cf7 The deskbar had the wrong mimesignature set in its locae file, leadng to the catalog being put in the wrong place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 22:48:33 +00:00
Ithamar R. Adema f7b0c08cae This modifies the Postscript printer to be able to insert a pipe in between the Postscript generation
and the transport addon. The actual command use as pipe is retrieved from the PPD that can be selected
at printer creation time.

Currently PPD selection is not shown (as the PPD directory is not available) and therefore the pipe
will not be inserted.

This still needs a bit of TLC, so hope to commit the last changes to fully support this later this week.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 22:01:13 +00:00
Stephan Aßmus 954af58694 Bug found by mmlr, since the "inText" is not terminated, strcpy could overwrite
a random amount of memory of the allocated "buffer". If it were terminated, it
would overwrite one byte, since it will also terminate the destination buffer,
which didn't contain the necessary room. Use strlcpy() instead and provide
enough room.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 21:20:39 +00:00
Axel Dörfler 7c86c0a813 * Corrected comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 20:45:23 +00:00
Axel Dörfler ee0d2be9e4 bonefish+axeld:
* Implemented a tiny bit more sophisticated version of
  estimate_max_scheduling_latency() that uses a syscall that lets the scheduler
  decide.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 20:40:58 +00:00
Adrien Destugues 5ffdbfdebb Fix the formatting of Expander aboutbox so its still right when localized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 20:22:07 +00:00
Adrien Destugues 8034f81f0c Sync French catalogs from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 19:58:52 +00:00
Adrien Destugues 76a8155582 Sync russian catalogs from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 19:47:59 +00:00
Adrien Destugues 5bffd5b411 Sync lithuanian translation from hta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 19:25:18 +00:00
Axel Dörfler b6486ac2c0 bonefish + axeld:
* When moving a window to another workspace (using the mouse or the keyboard),
  the fLastWorkspaceFocus array of the old workspace could still point to that
  window.
* This could also lead to a stale pointer and might have caused crashes in
  SetFocusWindow(). This should fix #5124, and its duplicates #5294, and #5688.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 19:12:39 +00:00
Clemens Zeidler f440034d88 Fix ticket #5542, patch by Finn.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 19:07:13 +00:00
Adrien Destugues c8d00b0e04 Sync japanese translation from hta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 18:14:42 +00:00
Michael Lotz 8f4f2bf933 Implement support for ATAPI command set devices. It's used by some USB CD drives
and easy to implement since ATAPI basically is SCSI anyway and we don't use many
problematic commands. Only tested for the 0x05 subclass, but 0x02 should work
the same.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 17:13:49 +00:00
Jonas Sundström a2224f75d9 Corrected strace output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 17:04:29 +00:00
Ithamar R. Adema b6e09fad7a * More style fixes ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 16:29:37 +00:00
Ithamar R. Adema 45428391f9 * Fix missing newline in error message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 16:13:53 +00:00
Ingo Weinhold 813d4cbe94 * Moved created subdirectory src/system/kernel/lock.cpp to new subdirectory
locks.
* Added syscalls for a new kind of mutex. A mutex consists only of an int32 and
  doesn't require any kernel resources. So it's initialization cannot fail
  (it consists only of setting the mutex value to 0). An uncontended lock or
  unlock operation can basically consist of an atomic_*() in userland. The
  syscalls (when the mutex is contended) are a bit more expensive than semaphore
  operations, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 16:07:39 +00:00
Axel Dörfler 216073afd7 * BTextView::CountLines() counts correctly in Haiku, so the BeOS work-around of
correcting it is no longer necessary. This should fix having the last line
  not quoted in Mail when doing partial replies.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 15:08:54 +00:00
Ingo Weinhold 349039ff2e Added vm_[un]wire_page(), which are essentially versions of
[un]lock_memory_etc() optimized for a single page.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 15:07:06 +00:00
Ingo Weinhold 713bede839 full_scan_inactive_pages(): Don't call DEBUG_PAGE_ACCESS_START() before
checking whether the page is busy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 14:49:06 +00:00
Ithamar R. Adema b13b0b0f4e * Make sure LinkSender knows team ID of receiving team; this fixes the >64k ServerLink transfers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 14:26:19 +00:00
Oliver Tappe 575625f155 fix drawing artefacts when the caret is being clipped, which lead
to parts of the caret being inverted:
* instead of always inverting the caret rect, we now invalidate when the
  caret should be hidden



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 14:13:57 +00:00
François Revol 2365cde279 - cleanup,
- fix copyright,
- disable tracing,
- add support for reading attributes. The current naming is not final as I'm actually experimenting with it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:56:44 +00:00
Stephan Aßmus 8bc3360be8 Hopefully fixed the GCC2 build without changing the workings of the code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:55:18 +00:00
Rene Gollent a9fb9013e4 Slight simplification and fix gcc2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:42:45 +00:00
François Revol 5e818c534c Add missing files, fix the build :P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:27:53 +00:00
François Revol b026d219fc Partial implementation for attribute support. Currently listattr successfully lists attributes on files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:18:05 +00:00
Stephan Aßmus af6693471d Fixed build of the app_server test environment on Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:15:54 +00:00
Stephan Aßmus 8cf2d646ba Fixed GCC 4 error about breaking strict aliasing rules. Hope this fix is correct,
but perhaps I am overlooking something, so please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:14:27 +00:00
Jérôme Duval 03e6434ec0 * fixes a BSlider issue noticed by Matt on the mailing list:
Invoke() wasn't called the first time you grab a slider and slide it all the way to the left.
Thanks for the test case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 12:57:58 +00:00
Axel Dörfler 1a1a8f33d1 * Applied patch by Janito that solves a TODO and utilizes the actual device
block size to align the file map.
* This closes ticket #5707, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 12:05:59 +00:00
Matt Madia ef38ad6821 Adding Jorma Karvonen (Karvjorm) for his Finnish translations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 11:50:03 +00:00
Axel Dörfler 275463f4c3 * Applied (changed) patch by Janito to update the superblock structure to its
latest version. Thanks!
* This closes #5704.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 11:48:51 +00:00
Matt Madia 26d79d37f9 Renamed the variant MIT license & updated AboutSystem accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 10:56:08 +00:00
Ingo Weinhold de0b831289 * opentty(): Added missing return in error case. Fixed warning.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:59:59 +00:00
Clemens Zeidler ad0b28334d Fix spelling, pointed out by Stefano and Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:52:42 +00:00
Ithamar R. Adema 86d4795d36 * Use Jam variable for bnetapi library
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:31:30 +00:00
Axel Dörfler 022760a24a * Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:18:09 +00:00
Ithamar R. Adema a5b39147b3 * More style fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:07:43 +00:00
Axel Dörfler 16e8f13a63 * Applied patch by Vegard that moves the resolver configuration to where it
belongs (with a few changes by myself). Thanks!
* This closes ticket #5636.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:07:35 +00:00
Ithamar R. Adema f0ae1d0c2c * Fix coding style issues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:57:15 +00:00
Adrien Destugues b99bea880c Sync portuguese translation from hta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:47:48 +00:00
Ingo Weinhold 37cfdb5d95 Patch by Sean Bartell:
* SuperBlock: In case of ReiserFS 3.6 we were stil loading only the old
  superblock format.
* Added support for ReiserFS labels (volume names).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:44:38 +00:00
Adrien Destugues 91e0c1af4c Sync spanish translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:26:36 +00:00
Adrien Destugues 35ead8815b The WinDecorator crashed when trying to draw a menu.
Clean it up, and try to fix other things. It is now opening menus, but crashes when opening windows...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:26:17 +00:00
Matt Madia ad0be13f31 updated the ignore list as Wifi-ipw2100+fw & Wifi-iprowifi2200+fw are no
longer optional packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 05:20:19 +00:00
Scott McCreary cefbe0fa40 Updated libxml2 to 2.7.7 and added libxslt-1.1.26 as an optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 04:05:21 +00:00
Axel Dörfler e572c32335 * When receiving an out of sequence FIN we must ignore it until its part of
our available buffer (we might want to move this into the BufferQueue class).
* Now, _AddData() remembers the flag (and its position), and will alter the
  segment's flags field to reflect the current state.
* This fixes not being able to login into mmlr.dyndns.org.
* Fixed warnings when TCP_PROBE is defined.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 00:04:23 +00:00
François Revol d7acf4abc4 More cleanup :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 00:02:23 +00:00