"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/pathjumpui.hh" between
worker-4.7.0.tar.bz2 and worker-4.8.0.tar.bz2

About: Worker is a file manager for the X Window System with the classical two panel interface.

pathjumpui.hh  (worker-4.7.0.tar.bz2):pathjumpui.hh  (worker-4.8.0.tar.bz2)
/* pathjumpui.hh /* pathjumpui.hh
* This file belongs to Worker, a file manager for UN*X/X11. * This file belongs to Worker, a file manager for UN*X/X11.
* Copyright (C) 2012-2020 Ralf Hoffmann. * Copyright (C) 2012-2021 Ralf Hoffmann.
* You can contact me at: ralf@boomerangsworld.de * You can contact me at: ralf@boomerangsworld.de
* or http://www.boomerangsworld.de/worker * or http://www.boomerangsworld.de/worker
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 63 skipping to change at line 63
public: public:
PathJumpUI( AGUIX &aguix, DeepPathStore &path_store, Worker &worker ); PathJumpUI( AGUIX &aguix, DeepPathStore &path_store, Worker &worker );
~PathJumpUI(); ~PathJumpUI();
typedef enum { typedef enum {
SHOW_BY_TIME, SHOW_BY_TIME,
SHOW_BY_FILTER, SHOW_BY_FILTER,
SHOW_BY_PROGRAM SHOW_BY_PROGRAM
} initial_tab_t; } initial_tab_t;
typedef enum {
SHOW_ALL,
SHOW_ONLY_SUBDIRS,
SHOW_ONLY_DIRECT_SUBDIRS
} entry_filter_mode_t;
int mainLoop( initial_tab_t show_tab ); int mainLoop( initial_tab_t show_tab );
std::string getSelectedPath( bool &stored ); std::string getSelectedPath( bool &stored );
void setCurrentDirname( const std::string &dirname ); void setCurrentDirname( const std::string &dirname );
void setCurrentBasename( const std::string &basename ); void setCurrentBasename( const std::string &basename );
void setEntryFilterMode( entry_filter_mode_t m );
void setShowAllData( bool v );
std::unique_ptr< NWC::Dir > getResultsAsDir(); std::unique_ptr< NWC::Dir > getResultsAsDir();
private: private:
AGUIX &m_aguix; AGUIX &m_aguix;
Worker &m_worker; Worker &m_worker;
DeepPathStore &m_path_store; DeepPathStore &m_path_store;
std::string m_dirname, m_basename; std::string m_dirname, m_basename;
std::string m_filter; std::string m_filter;
std::string m_byfilter_filter; std::string m_byfilter_filter;
std::string m_byprog_filter; std::string m_byprog_filter;
skipping to change at line 118 skipping to change at line 127
Text *m_age_text; Text *m_age_text;
FieldListView *m_byfilter_lv; FieldListView *m_byfilter_lv;
Text *m_byfilter_filter_t; Text *m_byfilter_filter_t;
Button *m_byfilter_jump_b; Button *m_byfilter_jump_b;
Button* m_byfilter_close_b; Button* m_byfilter_close_b;
Kartei *m_k1; Kartei *m_k1;
Text *m_byprog_filter_t; Text *m_byprog_filter_t;
Button *m_byprog_jump_b; Button *m_byprog_jump_b;
Button* m_byprog_close_b; Button* m_byprog_close_b;
Button* m_byprog_clean_b; Button* m_byprog_clean_b;
ChooseButton *m_show_relative_paths_cb;
time_t m_entry_filter_age; time_t m_entry_filter_age;
typedef enum { typedef enum {
PATH_HIDE, PATH_HIDE,
PATH_SHOW, PATH_SHOW,
BOOKMARK_HIDE, BOOKMARK_HIDE,
BOOKMARK_SHOW, BOOKMARK_SHOW,
} entry_visibility_t; } entry_visibility_t;
skipping to change at line 242 skipping to change at line 252
int m_current_depth; int m_current_depth;
std::vector< std::pair< std::string, bool > > m_current_components; std::vector< std::pair< std::string, bool > > m_current_components;
std::list< std::string > m_bookmarks; std::list< std::string > m_bookmarks;
std::vector< best_hit > m_best_hits; std::vector< best_hit > m_best_hits;
std::list< program_entry > m_used_programs; std::list< program_entry > m_used_programs;
std::map< std::string, std::vector< program_path_entry > > m_program_paths; std::map< std::string, std::vector< program_path_entry > > m_program_paths;
bool m_show_hidden_entries; bool m_show_hidden_entries;
typedef enum {
SHOW_ALL,
SHOW_ONLY_SUBDIRS,
SHOW_ONLY_DIRECT_SUBDIRS
} entry_filter_mode_t;
entry_filter_mode_t m_entry_filter_mode; entry_filter_mode_t m_entry_filter_mode;
std::string m_current_entry; std::string m_current_entry;
std::string m_current_entry_byfilter; std::string m_current_entry_byfilter;
bool m_lv_dirty; bool m_lv_dirty;
bool m_byfilter_lv_dirty; bool m_byfilter_lv_dirty;
bool m_byprog_lv_dirty; bool m_byprog_lv_dirty;
std::vector< std::tuple< std::string, time_t, ExistenceTest::existence_state _t > > m_entry_fullnames; std::vector< std::tuple< std::string, time_t, ExistenceTest::existence_state _t > > m_entry_fullnames;
skipping to change at line 348 skipping to change at line 352
struct { struct {
StringMatcherFlexibleMatch matcher; StringMatcherFlexibleMatch matcher;
size_t prefix_filter_length; size_t prefix_filter_length;
} m_ondemand_info; } m_ondemand_info;
time_t m_current_time; time_t m_current_time;
bool m_ignore_date_for_sorting; bool m_ignore_date_for_sorting;
time_t m_oldest_time; time_t m_oldest_time;
std::string m_previous_apply_filter; std::string m_previous_apply_filter;
bool m_relative_view_mode = true;
}; };
#endif #endif
 End of changes. 6 change blocks. 
7 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)