lp:glom
- Get this branch:
- bzr branch lp:glom
Branch merges
Branch information
Import details
Last successful import was .
Recent revisions
- 1823. By murrayc
-
2009-04-11 Murray Cumming <email address hidden>
* glom/base_db.cc: add_standard_
groups( ): Give the developer group
SUPERUSER rights, fixing a problem in another patch I am working on.
I am surprised that this was not a problem before - maybe because the
user (instead of the group) always had superuser rights via the
command line database initialization. - 1822. By murrayc
-
2009-04-10 Murray Cumming <email address hidden>
* glom/applicatio
n.[h|cc] init_menus_file(): Add a File/Share On Network
toggle menu item. Added update_network_ shared_ ui() to ensure that it
is checked when appropriate.
open_browsed_document( ), on_document_load():
Call update_network_ shared_ ui().
* glom/frame_glom.[h| cc]: on_menu_ file_toggle_ share() : Handle the
new menu item, to change the configration and restart the server.* glom/libglom/
document/ document. cc: Added set_network_ shared( ),
get_network_shared( ). load_after(), save_before(): Save it in the
document. This is the default that will be used when opening a document.
It defaults to not shared.
* glom/glom_document. dtd: Document the new network_shared XML attribute. * glom/libglom/
connectionpool. [h|cc]: get_and_connect(): Only start avahi
publishing if we are shared on the network.
set_network_shared( ): Added this private function to change the configuration.
initialize(), startup(): Added network_shared parameter.
cleanup(): Call invalidate_connection( ) to prevent use of a connection
to a stopped server.,
* glom/libglom/connectionpool_ backends/ backend. [h|cc]: initialize,
startup, set_network_shared( ): Same change as for ConnectionPool.
* glom/libglom/connectionpool_ backends/ postgres_ self.[h| cc]:
initialize(): set_network_share() : Move config file writing to
set_network_share() and use different pg_hba.conf contents depending on
whether we are shared on the network.
startup(): Ensure that the configuration is correct. - 1820. By murrayc
-
2009-04-09 Murray Cumming <email address hidden>
* glom/libglom/
connectionpool. cc: get_and_connect(): Check that
m_backend is not null, to avoid a critical warning. - 1819. By murrayc
-
2009-04-09 Murray Cumming <email address hidden>
* glom/python_
embed/glom_ python. [h|cc]:
Added glom_python_module_ is_available( ) and
gda_python_module_ is_available( ).
* glom/main.cc: Use them to do some extra runtime sanity checking,
warning the user if their install is broken. - 1818. By murrayc
-
2009-04-09 Michael Hasselmann <email address hidden>
* glom/libglom/
connectionpool_ backends/ backend. h:
Introduced new error code FAILURE_NO_BACKEND which shall be used to
detect logical errors in the backend implementations.
* glom/libglom/connectionpool_ backends/ postgres_ self.cc (connect):
Set error correctly if no self-hosted instance is active.
* glom/libglom/connectionpool. cc (connect, cleanup):
Added a g_return_val_if_ fail to check whether there is a backend to
connect to. Also reset m_ready_to_connect flag to false during
cleanup, which stops Glom from behaving funnily if the user supplies
wrong credentials (see bug #577821):
- The user enters wrong credentials, gets a 'Connection failed' dialog
the first time. Then, enters wrong credentials a second time, gets no
dialog (but gets dialog for next try and so on).
- Glom would crash if the user tried to open another document, then decides
to abort and only opens another document (much) later (which would
look like a random crash then).
The ConnectionPool class could perhaps be made more robust concerning
that flag since it currently allows inconsistent states. - 1817. By pwithnall
-
2009-04-05 Philip Withnall <email address hidden>
* glom/libglom/
data_structure/ glomconversions .cc: Add
xgettext:no-c-format to a string used with strftime which
gettext is
erroneously marking as c-format. (Closes: #578013) - 1816. By pwithnall
-
2009-04-05 Philip Withnall <email address hidden>
* en_GB.po: Updated British English translation by Jen Ockwell
<email address hidden>. - 1814. By murrayc
-
2009-04-03 Murray Cumming <email address hidden>
* glom/frame_glom.cc: connection_
request_ password_ and_attempt( ):
When the password fails, just loop around the while again to ask again,
instead of showing a one-off extra dialog. That fixes the problem of being
asked twice when the first try failed.
Load the document outside of the while() instead of each time we ask for the
password.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)