dana/openbox.git
19 years agoadded new bsetbg manpage
Scott Moynes [Thu, 18 Apr 2002 21:07:47 +0000 (21:07 +0000)]
added new bsetbg manpage

19 years agofix 2 bus errors on osx:
Dana Jansens [Thu, 18 Apr 2002 20:56:23 +0000 (20:56 +0000)]
fix 2 bus errors on osx:
 - it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.

19 years agonew bsetbg version with manpage
Scott Moynes [Thu, 18 Apr 2002 20:54:45 +0000 (20:54 +0000)]
new bsetbg version with manpage

19 years agonew bsetbg from cthulhain
Dana Jansens [Thu, 18 Apr 2002 20:36:28 +0000 (20:36 +0000)]
new bsetbg from cthulhain

19 years agooptimized the finding-the-slit-position code in positionWindow
Dana Jansens [Thu, 18 Apr 2002 18:49:22 +0000 (18:49 +0000)]
optimized the finding-the-slit-position code in positionWindow

19 years agoadded Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens [Thu, 18 Apr 2002 18:11:33 +0000 (18:11 +0000)]
added Inflate, Deflate, and Translate to the Rect geometry class

19 years agoremove debugging couts
Dana Jansens [Thu, 18 Apr 2002 07:28:12 +0000 (07:28 +0000)]
remove debugging couts

19 years agotemporary solution to avoid placing windows over the slit and toolbar, until NETWM...
Dana Jansens [Thu, 18 Apr 2002 07:26:05 +0000 (07:26 +0000)]
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.

19 years agonow yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resour...
Dana Jansens [Thu, 18 Apr 2002 03:00:12 +0000 (03:00 +0000)]
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.

19 years agomaps/unmaps the toolbar when its resource setting is loaded from the file so it takes...
Dana Jansens [Thu, 18 Apr 2002 02:05:51 +0000 (02:05 +0000)]
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.

19 years agoaccidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens [Thu, 18 Apr 2002 00:47:08 +0000 (00:47 +0000)]
accidently removed a line somehow. OpaqueMove is now read from the rc file.

19 years agomenus update their values when they are reconfigure()d.
Dana Jansens [Wed, 17 Apr 2002 23:07:11 +0000 (23:07 +0000)]
menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.

19 years agoconfiguration changes "done"!!
Dana Jansens [Wed, 17 Apr 2002 08:30:55 +0000 (08:30 +0000)]
configuration changes "done"!!

on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.

19 years agoToolbar saves its settings as their changed
Dana Jansens [Wed, 17 Apr 2002 03:44:09 +0000 (03:44 +0000)]
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit

19 years agoSlit loads its own settings and saves them as they are changed
Dana Jansens [Tue, 16 Apr 2002 23:50:53 +0000 (23:50 +0000)]
Slit loads its own settings and saves them as they are changed
added an assert in Resource

19 years agofixed snap to edges with toolbar hidden
Scott Moynes [Tue, 16 Apr 2002 22:50:18 +0000 (22:50 +0000)]
fixed snap to edges with toolbar hidden

19 years agorenamed the obResource class to Resource.
Dana Jansens [Tue, 16 Apr 2002 22:08:37 +0000 (22:08 +0000)]
renamed the obResource class to Resource.

19 years agofixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes [Tue, 16 Apr 2002 20:30:53 +0000 (20:30 +0000)]
fixed HAVE_STRING_H introduced from some parrallel development. blast

19 years agoneed translations for Hide Toolbar
Scott Moynes [Tue, 16 Apr 2002 20:26:11 +0000 (20:26 +0000)]
need translations for Hide Toolbar

19 years agoAdded a runtime option for hiding the toolbar totally. Will be cleaner
Scott Moynes [Tue, 16 Apr 2002 20:22:01 +0000 (20:22 +0000)]
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.

19 years agorenamed the Changelog files
Dana Jansens [Tue, 16 Apr 2002 20:11:00 +0000 (20:11 +0000)]
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs

19 years agoremoved unneeded #include <X11/Xutil.h>
Dana Jansens [Tue, 16 Apr 2002 14:55:38 +0000 (14:55 +0000)]
removed unneeded #include <X11/Xutil.h>

19 years agoreversed tehmouse wheel buttons on the root window. scrolling up now goes to the...
Dana Jansens [Tue, 16 Apr 2002 07:20:25 +0000 (07:20 +0000)]
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.

19 years agoget rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks...
Dana Jansens [Tue, 16 Apr 2002 06:25:00 +0000 (06:25 +0000)]
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead

19 years agoremoved the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens [Tue, 16 Apr 2002 05:55:10 +0000 (05:55 +0000)]
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)

19 years agoapplied Ruhi's cleanup patch. moves colSmartPlacement into its own function
Dana Jansens [Tue, 16 Apr 2002 01:10:53 +0000 (01:10 +0000)]
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now

19 years agoadded some consts to the cascade code
Scott Moynes [Mon, 15 Apr 2002 15:45:11 +0000 (15:45 +0000)]
added some consts to the cascade code

19 years agoapparently there were compiling problems with automake/autoconf. This should make...
Dana Jansens [Mon, 15 Apr 2002 06:44:49 +0000 (06:44 +0000)]
apparently there were compiling problems with automake/autoconf. This should make those go away.

19 years agoAdded a fallback for Best Fit to cascade. Also, moved cascade to its own
Scott Moynes [Mon, 15 Apr 2002 02:37:18 +0000 (02:37 +0000)]
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.

19 years agoadd the Geometry classes to bsetroot
Dana Jansens [Sun, 14 Apr 2002 19:41:50 +0000 (19:41 +0000)]
add the Geometry classes to bsetroot

19 years agoFixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens [Sun, 14 Apr 2002 19:32:09 +0000 (19:32 +0000)]
Fixed bsetroot to use the new Geometries returned in ScreenInfo

19 years agoSlit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and...
Dana Jansens [Sun, 14 Apr 2002 19:30:38 +0000 (19:30 +0000)]
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.

19 years agoBScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens [Sun, 14 Apr 2002 18:48:32 +0000 (18:48 +0000)]
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight

19 years agochanged OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return...
Dana Jansens [Sun, 14 Apr 2002 18:28:11 +0000 (18:28 +0000)]
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().

19 years agoadded some missing punctuation
Ruhi Bloodworth [Sun, 14 Apr 2002 16:15:03 +0000 (16:15 +0000)]
added some missing punctuation

19 years agoAdded Util.h, which contains only an ASSERT macro for now
Dana Jansens [Sun, 14 Apr 2002 15:57:07 +0000 (15:57 +0000)]
Added Util.h, which contains only an ASSERT macro for now

19 years agochanged version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference...
Dana Jansens [Sun, 14 Apr 2002 15:26:38 +0000 (15:26 +0000)]
changed version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference conversion

19 years agomade bsetroot compile with the new code for references instead of pointers
Dana Jansens [Sun, 14 Apr 2002 14:39:04 +0000 (14:39 +0000)]
made bsetroot compile with the new code for references instead of pointers

19 years agousing references instead of pointers if possible in Image
Dana Jansens [Sun, 14 Apr 2002 14:28:02 +0000 (14:28 +0000)]
using references instead of pointers if possible in Image

19 years agousing a Screen reference instead of pointer in Workspace
Dana Jansens [Sun, 14 Apr 2002 14:20:02 +0000 (14:20 +0000)]
using a Screen reference instead of pointer in Workspace

19 years agousing a reference for Openbox instead of a pointer
Dana Jansens [Sun, 14 Apr 2002 14:04:16 +0000 (14:04 +0000)]
using a reference for Openbox instead of a pointer

19 years agousing some references instead of pointers where possible in Screen, ScreenInfo, Slit...
Dana Jansens [Sun, 14 Apr 2002 13:58:17 +0000 (13:58 +0000)]
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen

19 years agoonly add one extra space to pad the clock in the toolbar
Dana Jansens [Sun, 14 Apr 2002 13:34:53 +0000 (13:34 +0000)]
only add one extra space to pad the clock in the toolbar

19 years agoUsing some references instead of pointers for the menus.
Dana Jansens [Sun, 14 Apr 2002 11:37:22 +0000 (11:37 +0000)]
Using some references instead of pointers for the menus.

19 years agomade shaded windows snap properly at their bottom, using their shaded height.
Dana Jansens [Sun, 14 Apr 2002 09:39:14 +0000 (09:39 +0000)]
made shaded windows snap properly at their bottom, using their shaded height.
window.getHeight() now returns the different/correct value when a window is shaded.

19 years agochanging the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused...
Dana Jansens [Sun, 14 Apr 2002 08:20:56 +0000 (08:20 +0000)]
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.

19 years agoadded 'deep' style
Dana Jansens [Sun, 14 Apr 2002 07:50:25 +0000 (07:50 +0000)]
added 'deep' style

19 years agomerged the changelog from the 0.99.0 (stable) branch (the code was previously merged)
Dana Jansens [Sun, 14 Apr 2002 01:29:56 +0000 (01:29 +0000)]
merged the changelog from the 0.99.0 (stable) branch (the code was previously merged)

19 years agoadded entry for new BestFit placement type
Dana Jansens [Sun, 14 Apr 2002 01:27:23 +0000 (01:27 +0000)]
added entry for new BestFit placement type

19 years agoadded first revision of the BestFit placement type.
Dana Jansens [Sun, 14 Apr 2002 01:11:51 +0000 (01:11 +0000)]
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.

19 years agoadding Geometry classes: Point, Size, and Rect
Dana Jansens [Sat, 13 Apr 2002 23:41:36 +0000 (23:41 +0000)]
adding Geometry classes: Point, Size, and Rect

19 years agoremoved all Xrm database calls from Screen.cc (style loading).
Dana Jansens [Sat, 13 Apr 2002 22:42:31 +0000 (22:42 +0000)]
removed all Xrm database calls from Screen.cc (style loading).
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h

19 years agoFixed a bug in the bsetroot build that caused really strange behaviour
Scott Moynes [Sat, 13 Apr 2002 21:26:00 +0000 (21:26 +0000)]
Fixed a bug in the bsetroot build that caused really strange behaviour

19 years agoadded symlinking. needs a little work.
Scott Moynes [Sat, 13 Apr 2002 02:09:37 +0000 (02:09 +0000)]
added symlinking. needs a little work.

19 years agoreal_reconfigure now using obResource instead of teh XrmDatabase calls.
Dana Jansens [Fri, 12 Apr 2002 06:11:31 +0000 (06:11 +0000)]
real_reconfigure now using obResource instead of teh XrmDatabase calls.
obResource class calls XrmInitialize().

19 years agosave_rc() using the obResource class to save blackbox's configuration.
Dana Jansens [Fri, 12 Apr 2002 06:05:04 +0000 (06:05 +0000)]
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.

19 years agochanged the default edge-snap distance from 0 to 4. This way new users will see that...
Dana Jansens [Thu, 11 Apr 2002 06:59:34 +0000 (06:59 +0000)]
changed the default edge-snap distance from 0 to 4. This way new users will see that the option is there for them to change.

19 years agoload_rc(BScreen *) now uses the obResource class to load its configuration
Dana Jansens [Thu, 11 Apr 2002 06:58:53 +0000 (06:58 +0000)]
load_rc(BScreen *) now uses the obResource class to load its configuration
added a few consts in BScreen to be compatible with the new code.
reordered the compilation in src/ so that Resource.cc is in alphabetical order

19 years agoload_rc() now uses the obResource class to load its configuration
Dana Jansens [Thu, 11 Apr 2002 05:05:48 +0000 (05:05 +0000)]
load_rc() now uses the obResource class to load its configuration

19 years agoadding rules on how to code this project.
Dana Jansens [Thu, 11 Apr 2002 04:05:49 +0000 (04:05 +0000)]
adding rules on how to code this project.

19 years agoadded the obResource class which handles Xresouce database files in a sane manner
Dana Jansens [Thu, 11 Apr 2002 03:57:05 +0000 (03:57 +0000)]
added the obResource class which handles Xresouce database files in a sane manner

19 years agoadded the obResource class which handles Xresouce database files in a sane manner.
Dana Jansens [Thu, 11 Apr 2002 03:51:17 +0000 (03:51 +0000)]
added the obResource class which handles Xresouce database files in a sane manner.

19 years agoInitial revision
Dana Jansens [Thu, 11 Apr 2002 03:20:38 +0000 (03:20 +0000)]
Initial revision

19 years agoNew repository initialized by cvs2svn.
unknown [Thu, 11 Apr 2002 03:20:38 +0000 (03:20 +0000)]
New repository initialized by cvs2svn.