summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.cc
AgeCommit message (Collapse)Author
2025-05-10White space: content_panel.ccCarl Hetherington
2025-03-05Report content as having missing files also if there are missing fonts.Carl Hetherington
2025-03-05Replace Content::paths_valid() with a free utility function.Carl Hetherington
2025-02-25Fix misunderstanding of wxDialog lifetime handling.Carl Hetherington
Broken by d0308d53dd9f4d036d8c5fe8023920fcdfd43f39 wxDialog can be stack allocated if opened with ShowModal(), but not with Show(). Go back to wx_ptr for those that are opened with Show().
2025-02-09Remove unnecessary wx_ptrCarl Hetherington
It was only ever used for wxDialog subclasses, which can be stack-allocated.
2025-01-14Put film_util methods in a namespace.Carl Hetherington
2024-11-20Merge branch 'main' into v2.17.xCarl Hetherington
2024-11-17Fix multi-selection of content.v2.16.98Carl Hetherington
In order to add ellipsizing of text we're using this "mode" of wxListCtrl where `OnGetItemAttr` is called to get information about an item. This was intended to support very long lists, so that the whole list does not have to be given to wxListCtrl. However, in this mode, multiple selections (e.g. shift-click) are just not reported. There's a 13-year-old wxWidgets bug to fix this: https://github.com/wxWidgets/wxWidgets/issues/4541 and there is mentioned the workaround applied here - listen to the focused event. We have to delay it because on macOS (at least) the selection state is not updated until after the focused event.
2024-09-03Remove use of wxT in favour of char_to_wx().Carl Hetherington
The wxWidgets docs advise against its use these days.
2024-09-03Remove some implicit conversions between wxString and std::string.Carl Hetherington
2024-06-25Fix assertion failure after removing content.Carl Hetherington
Adding, say, 10 items of content, removing the last 8 and then clicking somewhere in the content list would cause OnGetItem{Text,Attr} to be called with a high index (as if the items had not yet been removed).
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-03-12Rename TimelineDialog -> ContentTimelineDialog.Carl Hetherington
2024-01-16Remember some more paths when selecting files (#2728).Carl Hetherington
* export subtitles * export video * debug log * cinema database * config file
2024-01-09Move ScopeGuard into libdcp.Carl Hetherington
2023-11-11Move add_files_override_path to film_utilCarl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington
2023-08-09Cleanup: use nullptr.Carl Hetherington
2023-06-16Fix crash when pressing Ctrl+T with no content (#2563).Carl Hetherington
2023-06-16Improve some tooltips (#2560).Carl Hetherington
2023-04-25Cleanup: remove some unnecessary includes.Carl Hetherington
2023-01-19Simplify and fix up selection code for the content list (#2428).Carl Hetherington
This has been broken for a while, I think since the ContentListCtrl was added (overriding wxListCtrl) which stopped the GetItemData stuff working.
2023-01-19Use ScopeGuard for _no_check_selectionCarl Hetherington
2023-01-18Cleanup: stack-allocated dialogs.Carl Hetherington
2023-01-16Use wx_ptr more.Carl Hetherington
2023-01-14Add wx_ptr and use it instead of ScopeGuard in a lot of places.Carl Hetherington
2023-01-14Add options for where the add files dialog starts (#2413).Carl Hetherington
2023-01-14Use FileDialog for adding content files.Carl Hetherington
2023-01-14Use more ScopeGuards.Carl Hetherington
2023-01-03Generalise add_files_path to initial_paths().Carl Hetherington
2022-12-05Use the same default folder for add DCP as add files (#2348).Carl Hetherington
2022-12-05Cleanup: use ScopeGuard.Carl Hetherington
2022-12-05Use the same default folder for add folder as add files (#2348).Carl Hetherington
2022-12-05Cleanup: use ScopeGuard.Carl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-10-14Ellipsize content names in the middle (#2350).Carl Hetherington
2022-10-14Save and restore sash positions in the main DoM.Carl Hetherington
2022-10-14Allow dragging of the border between the controls and the preview (#2350).Carl Hetherington
2022-10-14Rename LimitedSplitter -> LimitedContentPanelSplitter.Carl Hetherington
2022-10-14Cleanup: move LimitedSplitter out of the header.Carl Hetherington
2022-10-14Cleanup: use simpler ownership for FilmViewer.Carl Hetherington
2022-10-05Support drag and drop onto the content list (#1220).v2.16.29Carl Hetherington
2022-09-28Replace directory with folder in some messages.Carl Hetherington
2022-09-27Use EnumIndexedVector in ContentPanel.Carl Hetherington
2022-09-15Fix some spelling mistakes (mostly in comments).Carl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2022-06-09Fix strange multi-selection behaviour on Linux (#2269).Carl Hetherington
It seems that all of a sudden the behaviour of wxListCtrl's selection is strange (on Linux at least). If a list item is selected by some other action (e.g. selection in the timeline) and then you click another directly in the list, both are selected. This "fix" seems to work on Linux at least - also setting wxLIST_STATE_FOCUSED as well as wxLIST_STATE_SELECTED. I don't know why this works.
2022-06-06Make jump-to-first-subtitle also work with DCP subs.Carl Hetherington
2022-04-29Primitive auto-crop (#1477).Carl Hetherington