Age | Commit message (Collapse) | Author | Files | Lines |
|
Readline is only used in the standalone lua interpreter, and we don't really need that. It would
be silly to pull readline as a dependency for this reason.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mostly just cosmetic changes reflecting the slight change in syntax. I also took the opportunity
to remove the groupFile resource: it was already marked as deprecated and it wasn't used in a
long time.
|
|
|
|
|
|
To achieve this, I had to partially resurrect (and heavily modify) the old parsing code in
MenuCreator.cc.
|
|
instead of submenus. This is more in line (no pun intended :P) with how the old menu files worked.
|
|
|
|
|
|
|
|
so I removed the obsolete line.
|
|
|
|
|
|
|
|
|
|
|
|
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't
want to #include and link everything in src.
I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
|
|
|
|
This resource is a bit special, so I forgot to add an autosave call to it.
|
|
|
|
by adding the ability to automatically check for modifications at specified intervals.
Using inotify() would be better, but that's not always present.
|
|
|
|
As we integrate lua more and more into the core of fluxbox, it's going to progressively harder to
update all things that reference to the old state.
Furthermore, I would like to completely drop the reconfiguration at some point, after I'm
finished with making sure that all resources use the modifiedSig signal to update automatically.
|
|
|
|
The idea is that connecting to a signal doesn't change it's state or the state of the object
owning the signal (even though it needs to add the functor to the list for later reference).
Emitting, on the other hand, is usually done as a result of a state change and therefore remains
non-const.
Additional benefit of this arrangement is that objects can export const references to signals to
allow connecting, while keeping the ability to emit to themselves.
|
|
|
|
I needed to add explicit $(srcdir) in Makefiles when referencing to Translation.m.
I also removed generated-*.m files from the tree since they can be easily regenerated (and they
were confusing VPATH logic). They can be added to the distribution tarball later if needed (but
hopefully everyone has iconv).
|
|
|
|
as far as i can tell, they weren't doing anything and I observed no issues after removing them.
|
|
I mostly do this to avoid code duplication between fluxbox and fluxbox-update_configs.
|
|
previously, init was autosaved only when a resource was modified using the menu. I have also
included modifications through lua code.
To avoid wasting resources, the file is not saved immediately, but with a 5 second delay (to
enable saving a bunch of changes in one go)
|
|
without this it wasn't possible to construct a Slot returning void from functors returning some
real value because the compiler would complain about "return statement with a value in a function
returning void".
Theoretically, this may produce some unexpected type conversions, because static_cast is slightly
stronger than implicit cast, but I judge the risk to be negligable (the alternative would be to
provide explicit specializations for slots returning void - too much typing)
|
|
|
|
connectSlot
I do this to avoid compiler ambiguity between the two versions of connect()
|
|
as it's no longed needed
|
|
|
|
I also implemented a (slightly) less hacky way of removing empty menus.
|
|
this was already present in the old menu files, but I did not notice, because generally the title
is same as the label in the parent menu. Now menu title is set by the 'title' property, which
falls back to 'label' if it's empty.
|
|
This way, global variables set by the scripts don't persist between hard reconfigures.
I also cleaned up the reconfig-handling code in fluxbox.cc. Instead of three reconfig functions
(real_reconfig, timed_reconfig, reconfig) we have just one.
|
|
keybindings are now added like this
some_keymode['Ctrl F1'] = 'RootMenu'
This should be more intuitive and it allows things like this
foo['Ctrl F1'] = bar['Mod1 F2']
|
|
|
|
I uncoupled the binding lookup from actual adding. This will make it easier to add functions for
removing bindings.
|
|
hopefully, i have now updated all files that contain config file names.
|
|
|
|
new keymodes are created (in lua) by calling newKeyMode() and activated by calling
keymode:activate()
|