Commit Graph
4881 Commits
Author SHA1 Message Date
Cédric Krier 4973fb2adc Allow configuration of default colors for graph and calendar
issue9435
review300011002
2020-07-09 00:34:01 +02:00
Cédric Krier 61f4d1fac4 Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Sergi Almacellas Abellana c028787e8f Do not read rec_name of unsaved records
issue9308
review327381002
2020-07-06 17:40:34 +02:00
Cédric Krier e6f16b11f6 Use proper logger to warn about completion failure 2020-07-01 14:49:33 +02:00
Nicolas Évrard 3ebf9e6290 Use character length instead of bytes length when inserting text in NumberEntry
Using insert_text on GtkEntryBuffer must use the numbers of characters inserted
not the number of bytes.
Likewise Gtk.Editable's set_text must return the position in character not in
bytes.

issue9390
review321561002
2020-06-27 13:02:52 +02:00
Nicolas Évrard fcd11b3ef0 Synchronize cell and editable content in treeview
issue9227
review289791002
2020-06-19 11:38:10 +02:00
Cédric Krier 7073e0f822 Decode board action the same way as window action
The evaluation code should be the same to ensure same behavior.

issue9275
review303761007
2020-06-19 00:20:27 +02:00
Cédric Krier 663f887d51 Returns None when evaluating domain with None
We implement the same behavior as SQL with NULL which always returns NULL
except for IS operator. So the evaluation has the same result as the search.

issue8615
review290281002
2020-06-19 00:18:04 +02:00
Cédric Krier 4cee13f1a5 Update primary menu after changing the language
issue7955
review303761006
2020-06-12 12:39:17 +02:00
Cédric Krier 66c39b0106 Remove sphinx configuration
The HTML can be generated with sphinx-build -C . _build/html

issue9370
review295661002
2020-06-06 14:04:01 +02:00
Cédric Krier cabe936897 Use existing context for get_preferences
So we present to the user his current contextual values.
But we clear the context after modification.

issue9327
review301611002
2020-06-06 14:02:22 +02:00
Cédric Krier b0ace21327 Use only ascii as translation source
issue9358
review290111002
2020-05-21 09:10:46 +02:00
Cédric Krier 5cba0eadc0 Add context to export URL
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier c2c5388781 Backed out changeset 1748347abb2f 2020-05-19 19:32:33 +02:00
Cédric Krier d1c1839bc8 Add context to export URL
issue9304
review317361002
2020-05-19 18:57:53 +02:00
Cédric Krier 9742048dfb Add bits to check version name on win32
issue9297
review289981002
2020-05-10 11:21:25 +02:00
Nicolas Évrard a868b57fc2 Prevent toggling the checkbox when the original record is not valid
issue9280
review319351002
2020-05-05 16:44:53 +02:00
Cédric Krier 0ab6ed6d6a Increase version number 2020-05-04 12:02:56 +02:00
Cédric Krier 9a774e0577 Add tag 5.6.0 [skip ci] 2020-05-04 12:02:42 +02:00
Cédric Krier 0fc36bd816 Prepare release 5.6.0 [skip ci] 2020-05-04 12:02:41 +02:00
Cédric Krier b1642dfbe6 Exclude tkinter
Recent version of cx_Freeze always tries to bundle it but it is not needed and
fails sometimes to find the proper path.

issue9292
review325251002
2020-05-03 14:39:09 +02:00
Cédric Krier 101ab1263c Reset width size when no record is active
issue9282
review317311002
2020-05-01 00:24:24 +02:00
Cédric Krier 8fd7ee6d10 Do not rely on cursor column for event with renderer
Events with renderer may be linked to another column than the one having the
cursor. So we must search for the column having the specific renderer
otherwise we may process the wrong column.

issue8897
review291501002
2020-04-24 21:57:10 +02:00
Cédric Krier b8ab5b8d4a Use empty text for empty Reference in editable tree
issue9052
review291491002
2020-04-24 21:55:30 +02:00
Cédric Krier 0efd5af638 Add selection shortcuts to editable list
issue8898
review289821002
2020-04-24 21:54:03 +02:00
Cédric Krier a0d1bd7280 Pass entry text when creating record from editable list
The text must be passed in order to set a default value to rec_name.

issue8913
review299471002
2020-04-19 16:34:15 +02:00
Cédric Krier be906c1096 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier ceb70b2086 Skip invalid branch of domain without the inverted field
Those branches of the domain should not prevent to compute a proper inverted
domain for the field as the other fields will be fixed later.

issue9200
review311191002
2020-04-12 23:21:08 +02:00
Cédric Krier 01a65f6c6b Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier abb6a22ec6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier 284420fdd2 Filter leaf before preparing reference domain
We must not prepare reference domain if the clause is not applicable to the
current value.

issue9107
review305231002
2020-04-10 18:32:55 +02:00
Cédric Krier b040a119ec Add keys method on EvalEnvironment
The keys method is used by domain inversion to test known fields.

issue9199
review305211002
2020-04-10 18:27:39 +02:00
Maxime Richez f6df7b9a1f Add icon in add/remove programs list on Windows
issue9195
review289601002
2020-04-02 09:56:58 +02:00
Cédric Krier 935bf1df84 Add width and height attributes on calendar view
issue9148
review250931003
2020-04-01 23:58:49 +02:00
Cédric Krier 2c0c89fb63 Set default size for image widget in all views
issue9131
review256701006
2020-03-28 00:35:48 +01:00
Cédric Krier 28fd6352b6 Set saved tree width only if client save them
We rename also the option from save_width_height to save_tree_width which
correspond better to the current behavior.

issue9130
review258921051
2020-03-28 00:33:27 +01:00
Cédric Krier f831ad9340 Retire App Menu usage
We replace the retired App Menu by a primary menu in the header bar.

issue9115
review258901002
2020-03-28 00:15:03 +01:00
Cédric Krier e954269ab2 Use key name for comma instead of the symbol
It is required by gtk_accelerator_parse
2020-03-28 00:13:56 +01:00
Cédric Krier f8093ad611 Add shortcut for preferences action
issue9099
review286831002
2020-03-28 00:01:03 +01:00
Sergi Almacellas Abellana 1ad29663c8 Add support for python3.8
issue8866
review274421004
2020-03-19 19:17:33 +01:00
Cédric Krier 2bc1589da3 Remove frame around CSV parameters
This simplifies the design of the dialog.

issue9087
review272931002
2020-03-19 00:35:41 +01:00
Cédric Krier e361dd01dd Remove Fast-Tabbing menu entry
The feature was removed in changeset 13836047b0ac

issue9098
review284911002
2020-03-06 23:23:08 +01:00
Cédric Krier 47737200fa Do not force value in OR-ed clause
When any other variable in Or-ed clause is not known, we can not force the
value of the variable.

issue9092
review272941002
2020-03-06 23:14:24 +01:00
Cédric Krier 2b851db71f Put gdk-pixbuf loaders in PATH under win32 freeze
The loaders may depend on external dll that are now stored in the same
directory by cx_Freeze 5.0.

issue8902
review282991002
2020-03-05 00:22:19 +01:00
Cédric Krier 2ad8093aba Add check_version, TRYTON_ICON to public common API 2020-03-01 16:33:40 +01:00
Cédric Krier 49a54593ce Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier f50fa74c14 Manage readonly dates and editable calendar view
If any of the dates is readonly, the event can not be modified by drag and
drop.
If the calendar is not editable no events can be modified.

issue9012
review256451002
2020-02-29 23:43:50 +01:00
Cédric Krier 2865bf0197 Build 32 and 64 bit windows setup
issue8914
review250371002
2020-02-29 23:37:07 +01:00
Cédric Krier 2f4abf528a Clean build and dist before freezing 2020-02-29 23:36:28 +01:00
Cédric Krier 6855f5295d Use new event store when displaying calendar
This is faster because the event store is not yet connected to the calendar so
it does not trigger an update each time an event is added.

issue8875
review264841002
2020-02-29 23:27:02 +01:00