Commit Graph

32350 Commits

Author SHA1 Message Date
Axel Dörfler
b4c6a820b9 * Now you can actually use a $(NAME) with spaces in it. Might not work for the
$(INSTALL_DIR) anymore, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 21:30:56 +00:00
Fredrik Holmqvist
ad1064afb0 These defines were duplicated. Removing the second copy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 21:23:48 +00:00
Axel Dörfler
609a4bc570 * Better handling of spaces in file names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 19:43:57 +00:00
Axel Dörfler
56ae953f5e * small_data attribute now get their st_mtim from st_ctim, as that should be
closer to the reality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 18:36:27 +00:00
Axel Dörfler
1b944eec20 * Improved the status_change time check to actually filter out invalid times,
before, st_ctim was never updated; since you cannot change st_ctim via an API,
  '0' cannot ever be set, either.
* Inode::WriteAttribute(), and Attribute::Write() now return whether they
  created an attribute or not, and thus B_ATTR_CREATED is now correctly set.
* Moved status_change update from bfs_write_attr() into Inode::WriteAttribute()
  where it can be handled more efficiently.
* Likewise, Inode::RemoveAttribute() now updates the status_change time as well,
  I simply forgot this before.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 18:09:15 +00:00
Adrien Destugues
2350995e01 Japanese translations for font preflet done by JPBE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 17:50:56 +00:00
Adrien Destugues
d2a1b8d7fd Updated russian translation, done by StoroZ Gneva again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 17:42:40 +00:00
Axel Dörfler
075cff30a0 * Also resize the window if it wouldn't fit on screen otherwise.
* Fixes bug #3675.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 15:11:46 +00:00
Axel Dörfler
9fb9c160af * TRoster now actually stores its settings, ie. the recent file list now
survives a reboot.
* The target directory is now created if needed.
* Relocated/renamed the settings file to
  ~/config/settings/system/registrar/RosterSettings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 13:55:47 +00:00
Axel Dörfler
c5a9a2ea13 * This should fix the GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 12:31:02 +00:00
Axel Dörfler
b43e064ecc * Attribute changes now also change the status change time.
* While Ingo already convinced me to use the modified time for this instead
  (see People files, for example), I did not do so for two reasons:
  1) The file modification date is important to the user; more or less hidden
     attribute changes shouldn't have an effect on this.
  2) Efficiency: the last_modified field is indexed whereas status_change is
     not. Speed would suffer noticeably else.
* We might want to think about a new "stat::st_attrtim" field, though, instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 10:21:52 +00:00
Axel Dörfler
23e00a25e2 * Fixed millions of coding style violations introduced by the stack & tile
patch. Grmbl.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 10:11:24 +00:00
Axel Dörfler
8cd9a52477 * delete_owned_ports() did not maintain the sUsedPorts variable, and thus led
to bug #4864.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 08:08:31 +00:00
Rudolf Cornelissen
f532a74ba9 fixed RAM access errors on coldstarted G450s. If this introduces trouble on other G450s or G550s please file a bug report. Bumped version to 0.32.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 21:58:53 +00:00
Brecht Machiels
8b20f2e4ae forgot to add this file in r33815
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 21:37:38 +00:00
Siarzhuk Zharski
7da907290f Ukrainian locale catalog files updated;
Ukrainian locale catalog files for Media and Keymap preflets added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 20:50:31 +00:00
Rene Gollent
757a470f33 Partial fix - some constants appear to be missing though, or weren't renamed correctly, which I can't fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:46:40 +00:00
Rene Gollent
eddae99610 Fix driver build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:41:34 +00:00
Philippe Houdoin
823380c666 Added Hong Yul Yang to contributors.
Hope "Yang" is actually your lastname!
Feel free to correct me.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:07:32 +00:00
Axel Dörfler
123bb4d5fd * Added a position tool tip to the seek slider.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:00:58 +00:00
Brecht Machiels
6cae2161f0 made code style more consistent with the rest of the driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:58:36 +00:00
Philippe Houdoin
ef831a1dc3 Applied Stack & Tile patch by Hong Yul Yang, formely by Christof Lutteroth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:46:23 +00:00
Oliver Tappe
4b0f176d9c Fix more regressions in _AutoResize() visible when renaming a file in Tracker
(reported by Axel):
* _AutoResize() can no longer check the difference between the textrect and
  the maximum line width, as the textrect is no being adjusted earlier during
  the line-calculation code - instead, it needs to measure the difference
  between the bounds and the textrect width plus the insets.
* MakeResizable(true) needs to reset the right inset, as otherwise the auto-
  resizing would get confused about how large the textview needs to be
  (seems to be an artefact of how Tracker creates the textview).
* GetInsets() doesn't need to compute the insets, as they're maintained in
  fLayoutData.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 17:39:02 +00:00
Axel Dörfler
1aa885efee * Added a temporary solution to add the Audio:Length attribute to audio files,
just like SoundPlay did.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 16:50:07 +00:00
Axel Dörfler
2caab6e574 * Coding style cleanups, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:35:33 +00:00
Scott McCreary
ae3eeac13b Updated build of python-2.6.4 to include patch from Chris Roberts which fixed zlib support. This fixes HaikuPorts ticket #239
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:07:36 +00:00
Axel Dörfler
13ce48d922 * Moved dprintf_args()/debug_puts() guts to a new dedicated private function
debug_output().
* Added a second buffer to be used when interrupts are turned off, otherwise
  dprintf_args() will now use a mutex guarded buffer to fill with vfprintf() -
  the actual sending to the outputs still needs the spinlock, so things only
  slightly improved.
* Moved private functions into the private section of the source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 13:31:55 +00:00
Axel Dörfler
b10da4d8c7 * _UpdateButtons() was called too early, before fCurrentMap, and fAppliedMap
were initialized, causing Keymap to lose the current map.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 12:03:04 +00:00
Axel Dörfler
7d6c7206c1 * There is no need for the sPageLock to be a spinlock - a mutex should do. This
should improve the kernel latencies, as things like
  vm_page_allocate_page_run() is very expensive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:44:29 +00:00
Adrien Destugues
64e8303b6d Lituanian translation for keymap and media preflets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:15:57 +00:00
Axel Dörfler
ea607d6f7f * Applied a patch by Christof Lutteroth that updates ALM, and brings new test
apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 09:00:14 +00:00
Axel Dörfler
dcfdc8374a * This should fix the calendar menu when using the click-to-focus mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 08:56:53 +00:00
Rene Gollent
d3b113282a Move CheckDevicesEqual into FSUtils so it can be used in more places.
Rework ContainerWindow's B_REFS_RECEIVED to use CheckDevicesEqual to decide move vs copy as is done elsewhere.

Fixes ticket #4850.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 03:04:42 +00:00
Scott McCreary
145eef6021 Added CMake as an Optional Package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 02:26:36 +00:00
Jonas Sundström
62ae78f7a8 Test-commit for mmadia.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 00:53:54 +00:00
Adrien Destugues
f8a1135cbb Localized MEdia preflet and translated it to french.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 21:08:00 +00:00
Axel Dörfler
7f452dbd1e * Moved Brecht to the current maintainers.
* Added Colin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:56:43 +00:00
Rudolf Cornelissen
4ba8fc5dcb updated modelist for ws modes, removed some unused code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:30:44 +00:00
Philippe Houdoin
d124b42d8b Move Fredrik "tqh" Holmqvist from contributors to maintainers.
Welcome onboard!

And, look, what a coincidence: you're my new upper neighbour in that list!
:-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:08:29 +00:00
Fredrik Holmqvist
6fde258427 Fix for ticket #3961:
The previous code used kill_thread() and then destroyed the common RingBuffer.
This wasn't working, and as Axel notes it's not really working on kernel side.
* Added RingBuffer::DestroyLock
* Changed the thread to exit gracefully on RingBuffer semaphore destruction.
* Changed close function to destroy RingBuffer sem, wait_for_thread and then destroy resources.
* Minor code style fixes.
(And also my first commit.)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:03:50 +00:00
Adrien Destugues
173b5560a2 Added russian translation for Keymap, done by StoroZ Gneva. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 19:41:01 +00:00
Colin Günther
df65e069cf Coding style fix. Thx to axeld. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 18:56:10 +00:00
Axel Dörfler
d337132b41 * Coding style cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 18:22:39 +00:00
Colin Günther
6c76785bef Using the add_timer() function as proposed by alexd. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 17:09:53 +00:00
Adrien Destugues
ad34440edc -Removed unseless reference to adler32 in hashmapcatalog
-Localized Keymap preflet and translated it to french


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 15:48:01 +00:00
Axel Dörfler
5234616d1a * That patent is obsolete now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 14:46:53 +00:00
Axel Dörfler
954da749a5 * Added SCHED_SPORADIC, and sorted the constants the way it's done in the specs.
* Also changed their numbering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 13:10:17 +00:00
Axel Dörfler
d88b4037b0 * Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome.
* Fixed indentation/coding style violations introduced with r33783. Please take
  more care when accepting patches!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:34:27 +00:00
Axel Dörfler
3ac4f1f258 * I even had a second look, but didn't spot this one - thanks Urias!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:12:27 +00:00
Colin Günther
2406849d4a * Coding style fixes regarding whitespace usage.
* Copyright style fixes.
* Implemented FreeBSD hardclock subsystem, which is needed to update the ticks
  variable. The previous usage of "#define ticks system_time()" wasn't
  sufficient anymore, as there are drivers using the ticks name for local
  scoped variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 08:14:03 +00:00