37 Commits

Author SHA1 Message Date
Jérôme Duval
c228b1689c B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-18 20:07:03 +00:00
Philippe Houdoin
3a42c9ba15 Enforce a CPU speed font size no bigger than the processor type one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:26:32 +00:00
Philippe Houdoin
db5c4a3b16 - The CPU clock speed string was assumed to be shorter than processor name string.
The best font size for speed is now dynamically computed to fit too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:14:08 +00:00
Axel Dörfler
eb8d1e3895 * Made preferences window font sensitive, this fixes bug #196.
* BottomPrefsView is no longer needed (just contained two buttons, moved
  their creation to the PrefsWindow class).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 17:12:27 +00:00
Jérôme Duval
039132ab1d pulse is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 14:11:21 +00:00
Axel Dörfler
4ccfb08661 * Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:57:45 +00:00
Ingo Weinhold
711f8274f3 BlankLogo is also needed on PPC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 13:50:20 +00:00
Ingo Weinhold
758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Philippe Houdoin
0e1237631f Cleanup: removing explicit strlcpy.c build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 22:45:02 +00:00
Philippe Houdoin
b56e312187 Added an AMD CPU logo to please screenshots lurkers.
Should be better moved into resources next time. Will see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 00:42:26 +00:00
Axel Dörfler
a22dce79df Fixed warning (wrong format).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 06:53:36 +00:00
Axel Dörfler
26ca407bfc Moved the CPU speed "clearing" function from Pulse to cpu_type.h header.
It's now also used by AboutHaiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 21:01:23 +00:00
Philippe Houdoin
3306648a89 Improve GHz speed accuracy, thanks to Axel for suggesting this.
(And, yes, that's stupid little commits, but I'm so bored at office *and* without any BeOS system to test...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:19:33 +00:00
Philippe Houdoin
f14ac66c8e That's Hz, not hz when prefixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:39:18 +00:00
Philippe Houdoin
67522bbd91 Added user friendly Ghz awareness :-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:26:13 +00:00
Axel Dörfler
0a7d4d9991 Moved the move-window-on-screen code into PulseWindow::MoveOnScreen().
When you change the appearance during runtime, the screen location is
now checked again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 11:03:43 +00:00
Axel Dörfler
8bc4973900 Some cleanup and bug fixes: the length of the bits in BBitmap::SetBits()
was way too much, new[] was used, but not delete[].
The font size is now adapted to the processor/vendor strings, looking
much better now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-30 23:05:55 +00:00
Axel Dörfler
e8fbd2527f Now checks if the window is out of the screen frame and move the window
back into it, if necessary.
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 05:15:26 +00:00
Axel Dörfler
48d350d76e Accidently replaced lib.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 19:50:01 +00:00
Axel Dörfler
80f47570a5 Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 19:49:18 +00:00
Jérôme Duval
f13db7ba25 links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:10:15 +00:00
Axel Dörfler
99cd375fb3 Another round of build fixes, courtesy of Philipp Schmid.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 17:38:05 +00:00
Jérôme Duval
e01fcf6917 moved to rdef format
added strlcpy.c for r5 builds


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 14:41:30 +00:00
Axel Dörfler
d86cadcdb3 Is now using the CPU string identification from private/shared/cpu_type.h.
Adapted to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:43:08 +00:00
Jérôme Duval
cfc8fb12a7 Added Pentium M label
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:11:26 +00:00
Jérôme Duval
2a9be6aaa6 Patch from Olivier Coursiere, adds Athlon 64 and Opteron support. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-19 21:29:10 +00:00
Philippe Houdoin
66914f157d Bad duplicate case line killed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 23:03:08 +00:00
Philippe Houdoin
e5fb9ab8da Trying to be quicker than shatty to add more ids, courtesy of pulse 1.08 on bebits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 21:40:15 +00:00
shatty
be4ab5d842 use OBOS_CPU_TYPES so compiling with R5 header is still possible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 19:45:16 +00:00
shatty
8af0e1199f not all iv_model2 are xeon so I changed it back to IV
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:26:16 +00:00
shatty
6bc3e59c35 added some more ids, courtesy of pulse 1.06 on bebits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:11:10 +00:00
Philippe Houdoin
2a93d8472f Fix unrecognized Pentium III models, and add newer AMD Athlon and Duron recognition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 21:28:47 +00:00
shatty
285c5708a2 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 00:54:25 +00:00
Ingo Weinhold
0971030020 Moved AddResources up. It needs to be called before the building rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@46 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:55:17 +00:00
ejakowatz
05cce1aecd Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@44 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:48:03 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00