Commit Graph

23302 Commits

Author SHA1 Message Date
François Revol
aba654f76a Added Rene Gollent to the list of contributors, how come we forgot ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-03 21:16:29 +00:00
Stephan Aßmus
d2dd893957 Added James Urquhart to the list of contributors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-03 20:58:16 +00:00
Axel Dörfler
0e8c024030 * Also print the codec's revision.
* Only print [Output] if it's an output.
* Further cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-03 14:55:37 +00:00
Stefano Ceccherini
69fac0cee0 patch by Andrea Anzani (with a few style modification by me) which
enables tab (as BTab) switching via mouse wheel. Thanks!
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-03 12:41:05 +00:00
Stefano Ceccherini
495949fc2c x_offset -> xOffset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-03 12:29:07 +00:00
Axel Dörfler
e2fed6bae3 * Ever since I added O_NOCACHE to the flags BFS is using to open its
device, the read-only detection did not work anymore; I've now added
  handy methods to correctly check for this. This fixes bug #1829.
* Volume::Initialize() now also checks if the device could really be 
  opened read/write.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 23:17:26 +00:00
François Revol
4715069375 Setting a Bool when you actually Get a Bool might help...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 23:14:54 +00:00
Michael Lotz
084f3e01af Use the USING_HAIKU_TYPE_CONSTANTS_H define also for the BONE platform.
Maybe this needs to be extended to plain R5 as well, but I cannot currently
test that.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 23:13:50 +00:00
Axel Dörfler
6c39860087 * Added 1280x800x60, thanks Michael!
* Also added 800x480x60.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 21:22:57 +00:00
Rene Gollent
c8ae58fd4f Made Navigator color-sensitive. More to come.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 21:16:43 +00:00
Axel Dörfler
c7da4347df Applied patch by Maurice to fix Cortex' transport add-on selection, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 21:08:33 +00:00
François Revol
501dd0d604 Added Maurice Kalinowski to the contributors' list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 16:27:52 +00:00
Axel Dörfler
66eea40b53 * Applied patch by Maurice to make Cortex behave nicer in case
GetDormantFlavorInfoFor() fails. See bug #1763.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 16:18:08 +00:00
Axel Dörfler
3ba0ac742d * Fixed a few problems in AddMessage() (most of them were pointed out by Marcus):
- no need to initialize the buffer on stack
  - no need to initialize "buffer" to NULL
  - renamed "buf" to stackBuffer
  - enlarged buffer on stack to 16384 bytes (we have a minimum of 192 kB of
    stack per thread, anyway).
  - check the actual size of the stack buffer against the message's flattened
    size instead of the one of its pointer.
  - check if the allocation of the helper buffer failed, and return B_NO_MEMORY
    in this case.
* Moved static helper functions to the top of the file.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 14:47:03 +00:00
Axel Dörfler
9402b5edc6 Patch by Vasilis Kaoutsis to fix some warnings, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 14:37:26 +00:00
Axel Dörfler
57b9fd2d91 Applied patch by Olivier Coursière: this should help rebooting on some
machines, and fixes bug #1884, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 13:51:17 +00:00
François Revol
9ed64004cc Rules and targets to build a boot CD iso... use:
jam haiku-boot-cd


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 04:38:29 +00:00
François Revol
4a7d65fa5c Simple readme to put on a boot CD iso...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 04:35:46 +00:00
François Revol
8dcb4cb9f5 Make network support disabled by default for boot floppy, it's not needed and doesn't fit 1.44M.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 03:23:51 +00:00
François Revol
22ec1df3f0 Add rules to create a boot floppy (use jam haiku-boot-floppy), in preparation for CD booting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 03:05:23 +00:00
Marcus Overhagen
47b63fed56 Changed license from GPL to MIT. I'm the sole author of this code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 02:57:28 +00:00
Karsten Heimrich
0f9d90aa24 * This fixes ticket #1865
* Allocate the buffer to flatten the message on the heap, if it's size is bigger then a given 
  buffer on the stack. It seem's to exceed the stack size (this might count for AddFlat() too).

  Note: With this change one is able to copy the text into the clipboard (1mb), but it
        is still impossible to paste it somewhere, as in BClipboard::_DownloadFromSystem()
        SendMessage() fails transferring the data back in the reply msg because of the port size limit...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 00:06:45 +00:00
Marcus Overhagen
18c2aaaea2 Changed the license from GPL to MIT on request by Maurice. I'm the sole author of this code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 22:33:37 +00:00
Stefano Ceccherini
89017c088b Added Denis Washington to the contributors' list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 22:17:42 +00:00
Stefano Ceccherini
dc93a6b1ee Applied patch by Denis Washington which implements "diagonal mouse
support" for menus (see ticket #284). Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 22:15:23 +00:00
François Revol
84b29b5f5f Copied [efg]cvt() and *cvt_r() from glibc 2.3.2, this gets cdrecord running.
Btw, why do we have _G_config.h in 2 places ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 21:24:48 +00:00
François Revol
520b37b8e0 lower the command priority since it is a background task.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 18:46:20 +00:00
Axel Dörfler
002e8b64ae * Now completely initializes the current_mode if it's in the mode list.
* The mode list is now created by the common mode list creation code.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 17:27:20 +00:00
Axel Dörfler
4165dff999 Added modes for 1270x720 and 1400x1050 to the generic mode list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 17:23:40 +00:00
Axel Dörfler
b9d1483940 Added support for recognizing Jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 12:36:03 +00:00
Axel Dörfler
e4ffdb7a94 * Added a more generic subtype for the source code files for automatic
MIME type guessing.
* Now, if the specific MIME type exists, it will be chosen, if it doesn't,
  the generic MIME type is chosen. If that does not exist either, the most
  generic is chosen (a.k.a. "text/plain").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 11:56:30 +00:00
Rene Gollent
6f432b15e5 Fix gcc4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 01:12:22 +00:00
Rene Gollent
f6d52cb737 - Added operator = implementation to rgb_color for convenience.
- Major cleanup of Appearance prefs - colors are now dynamically
  read from the app_server, and updating them also works, but
  triggers a bug: the state of the current window somehow gets
  confused, i.e. if I update the panel background color, for some
  reason the color of the BButtons in the appearance pref change color
  and also the textviews begin misbehaving. Have not yet tracked down
  the cause of this, but newly created windows after making the change
  do show up with the updated color and behave properly. Also vastly
  simplified the pref and cleaned up some obsolete definitions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 00:57:18 +00:00
Axel Dörfler
d8a88cb313 Updated our build SupportDefs.h to the same version as the current standard
version. This gets rid of the _IMPEXP* definitions so it should not cause
any trouble.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 23:43:18 +00:00
Axel Dörfler
438500b022 A bit more meaningful constant names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 19:09:59 +00:00
Axel Dörfler
abf12dd83f * Shuffled the functions a bit around to separate private from public functions.
* Renamed some functions, added comments.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 17:04:35 +00:00
Axel Dörfler
c607395208 Accidently read one response less than needed since reworking it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 16:25:35 +00:00
Alexandre Deckner
793fb95c82 * not a "chef d'oeuvre" but revert and apply buttons should behave as
expected now
* removed some dead code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 16:17:18 +00:00
Axel Dörfler
dd8a8496f0 Hopefully final build fix for Dano; at least I build everything with "-a" this
time and it worked :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 15:02:12 +00:00
Axel Dörfler
340dd4fe3d Renamed .c to .cpp, and fixed all warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 14:54:30 +00:00
Axel Dörfler
105152d1f5 * Rewrote CORB/RIRB handling: the previous code did not use it as a ring
buffer and would thus overwrite foreign memory after a while resp. reading
  invalid responses.
* Further cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 14:11:30 +00:00
Axel Dörfler
35f4a9220a * Now always adds a newline at the end of the given arguments. This fixes
bug #1875.
* This does not apply when retrieving the string from stdin, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 09:10:44 +00:00
Michael Lotz
87df690150 * Replaced the UTF8ToCharCode function with one that handles invalid chars
correctly (or at all...)
* Use the common 0xfffd character as a substitute for invalid characters
* Corrected comment

This function is used by the app_server to convert the UTF8 strings to char
codes to feed FreeType. Using a non space substitute character at least for
now, as it makes it more obvious where invalid characters are present.
I tested this change with some UTF8 test files and it seems to work well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 23:04:47 +00:00
Jérôme Duval
869ca0eb9a fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 21:35:31 +00:00
Axel Dörfler
d273d00822 * Fixed previous version of UTF8CountBytes() and put it in again: it was
breaking out of the loop too early, and would therefore miss the last
  character.
* Replaced UTF8CountChars() with a short and safe version as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 19:17:33 +00:00
Stephan Aßmus
ccf6ad1d8b Reverted to the previous version. Axel, your change completely broke all kinds
of stuff. I think the trouble is that you keep decrementing charCount while
still inside the same UTF8 glyph. I cannot really tell, I am hoping you don't
mind me reverting to the old version, since the new one is only three lines,
so it should be easy to correct and re-commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 15:56:31 +00:00
Axel Dörfler
a9ab9cf19a Setting a default netmask/broadcast address is no longer needed in ifconfig
and the net_server; the network stack now does this internally since r24170;
it worked for IPv4 only, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 15:51:34 +00:00
Axel Dörfler
b5a5aebc90 * Added a set_to_defaults() function to the address module: it can be used
to retrieve the default settings for the netmask/broadcast depending on the
  specified address/netmask.
* interface_protocol_control() now uses this to reset the broadcast/netmask
  to their default values on SIOCSIFADDR resp. the former only on
  SIOCSIFNETMASK.
* This fixes bug #1861.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 15:43:27 +00:00
Axel Dörfler
487b83f327 This should fix the remaining build problems under Dano and Zeta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 14:49:51 +00:00
Stephan Aßmus
43361fc860 * Fixed "missing virtual constructor" warning (which is probably even a
correct warning) for AbstractPointerListHelper. (libbe_build.so)
* I have had problems with implementing virtual functions inline in the
  class declaration before, so I implemented the virtual destructor
  externally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-28 14:39:19 +00:00