dana/openbox.git
18 years agofixed some uninstall issues
Dana Jansens [Sun, 21 Apr 2002 04:26:11 +0000 (04:26 +0000)]
fixed some uninstall issues

18 years agoeven better bestfit placement. way to go colophon!
Dana Jansens [Sun, 21 Apr 2002 03:36:09 +0000 (03:36 +0000)]
even better bestfit placement. way to go colophon!

18 years agospecify the std:: namespace for the ostrstreams.
Dana Jansens [Sun, 21 Apr 2002 02:17:34 +0000 (02:17 +0000)]
specify the std:: namespace for the ostrstreams.

18 years agobestfit placement now honors the left->right and top->bottom options for window place...
Dana Jansens [Sun, 21 Apr 2002 02:02:27 +0000 (02:02 +0000)]
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.

18 years ago*** empty log message ***
Scott Moynes [Sun, 21 Apr 2002 01:22:21 +0000 (01:22 +0000)]
*** empty log message ***

18 years agotyops
Scott Moynes [Sun, 21 Apr 2002 00:10:48 +0000 (00:10 +0000)]
tyops

18 years agocompile fix for --disable-slit
Dana Jansens [Sat, 20 Apr 2002 20:01:26 +0000 (20:01 +0000)]
compile fix for --disable-slit

18 years agoadded Changelog entry for the improved maximize-window code.
Dana Jansens [Sat, 20 Apr 2002 19:57:03 +0000 (19:57 +0000)]
added Changelog entry for the improved maximize-window code.

18 years agobetter logic to not place windows over the slit and toolbar
Dana Jansens [Sat, 20 Apr 2002 19:53:19 +0000 (19:53 +0000)]
better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*

18 years agochanges to bestfit from ruhi. takes windows sizes into account properly, and places...
Dana Jansens [Sat, 20 Apr 2002 18:30:47 +0000 (18:30 +0000)]
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.

18 years agoon reconfigure, if an option isn't specified in the rc file, then it will revert...
Dana Jansens [Sat, 20 Apr 2002 18:24:12 +0000 (18:24 +0000)]
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.

18 years agocomment typo and function spacing fix
Dana Jansens [Sat, 20 Apr 2002 18:13:55 +0000 (18:13 +0000)]
comment typo and function spacing fix

18 years agofixed memory leaks for strftime_format and rootcommand
Scott Moynes [Sat, 20 Apr 2002 15:28:14 +0000 (15:28 +0000)]
fixed memory leaks for strftime_format and rootcommand

18 years agofixed memory leak of application_name
Scott Moynes [Sat, 20 Apr 2002 15:26:41 +0000 (15:26 +0000)]
fixed memory leak of application_name

18 years agofixed a memory leak for resource.titlebar_layout
Scott Moynes [Sat, 20 Apr 2002 15:25:18 +0000 (15:25 +0000)]
fixed a memory leak for resource.titlebar_layout

18 years agofixed memory leak in screen::load()
Dana Jansens [Fri, 19 Apr 2002 21:05:49 +0000 (21:05 +0000)]
fixed memory leak in screen::load()

18 years agoupdated TODO to match current cvs status. yay progress!
Dana Jansens [Fri, 19 Apr 2002 07:57:05 +0000 (07:57 +0000)]
updated TODO to match current cvs status. yay progress!

18 years agostarting openbox without an rc file now works. it makes an empty Xrm db instead of...
Dana Jansens [Fri, 19 Apr 2002 07:50:02 +0000 (07:50 +0000)]
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)

18 years agotemprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need...
Dana Jansens [Fri, 19 Apr 2002 06:51:08 +0000 (06:51 +0000)]
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.

18 years agoadded bsetbg makefile
Scott Moynes [Fri, 19 Apr 2002 03:20:45 +0000 (03:20 +0000)]
added bsetbg makefile

18 years agoadded new bsetbg manpage
Scott Moynes [Thu, 18 Apr 2002 21:07:47 +0000 (21:07 +0000)]
added new bsetbg manpage

18 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.

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

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

18 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

18 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

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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

18 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

18 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

18 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.

18 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

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

18 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.

18 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

18 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>

18 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.

18 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

18 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)

18 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

18 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

18 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.

18 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.

18 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

18 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

18 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.

18 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

18 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().

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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.

18 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.

18 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.

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

18 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)

18 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

18 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.

18 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

18 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

18 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

18 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.

18 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().

18 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.

18 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.

18 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

18 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

18 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.

18 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

18 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.

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

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