61
I Use This!
Moderate Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Jun 03, 2024 — Jun 03, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
tidying up my mingw fixes to pdfsync; added str_skip and str_copy_skip_until functions More... about 17 years ago
Pdfsync: -Replace all the calls to _tcs* function (_tcslen, _tcscpy, ...) by calls to functions from tstr_util -Replace a malloc/delete by a malloc/free -Replace the message "press R to refresh" by "waiting for file to be unlocked to refresh" More... about 17 years ago
update greek translation (contributed by Georgios Dimopoulos)
kjk
as Krzysztof Kowalczyk
More... about 17 years ago
fix some memory leaks that I noticed with the pdf_gstate object More... about 17 years ago
fix for issue 220; wrong ref count with shade objects More... about 17 years ago
get mingw compiling working again: + use LPCTSTR because PCTSTR isn't defined in the mingw API and LPCTSTR is used elsewhere in Sumatra anyway + use assert macro from <assert.h> like the rest of Sumatra instead of _ASSERT from <crtdbg.h> + replace security enhancement string functions (eg strxxx_s) (non-trivial changes; hopefully didn't break anything) + replace _countof with dimof macro from <base_util.h> More... about 17 years ago
Find text feature: - Fix a memory leakage: the handle returned by CreateThread was never closed! Also the thread was using the function ShowWindow to change the state of a window created in another thread. This could potentially lead to a deadlock so I have replaced it by a call to ShowWindowAsync. - In the thread showing the find status, the Sleep function is now replaced by a call to WaitForSingleObject. Now the thread can be interrupted by raising a special event. This way, it is not necessary to wait 3sec before being able to show a new message. More... about 17 years ago
-The line '#define vsnprintf _vsnprintf' causes compilation error with VC90. I have put it inside a #if/#endif block. -Adjustment of the vertical scrolling position in forward search. More... about 17 years ago
Pdfsync forward-search: -if there is no record for the given line, it chooses the record corresponding to the nearest line within a range of EPSILON_LINE. -the vertical position of the location is now highlighted by a rectangular box of the width of the page; the horizontal position is indicated by a square mark. More... about 17 years ago
Add a rectangular mark to highlight the location found as a result of a forward search. This feature reveals a problem with the goToPage function: it does not necessarily adjust the page at the requested y location. More... about 17 years ago
I have implemented forward-search for the PdfSync module. SumatraPDF now accepts DDE queries of the form: More... about 17 years ago
The inverse-search command that is invoked when double-clicking the pdf can now be specified at the command-line. e.g.: More... about 17 years ago
-Some improvements in pdfsync -Conditional compilation of the pdfsync GUI enhancements (inverse-search dialog box) when the constant _PDFSYNC_GUI_ENHANCEMENT is defined in SumatraPDF.h More... about 17 years ago
Fix a bug reported by Maverick Woo that occurs "when sumatra is launched in the same directory of the PDF and the full path name of the PDF is not passed as the command line argument." This bug affected both the FileWatch and PdfSync modules. More... about 17 years ago
Simplification of the Pdfsync algorithm and data structures. More... about 17 years ago
Add a new menu to let the user specify the command-line to invoke when performing inverse-search. More... about 17 years ago
All the STL dependencies (string, stack, hash_map and vector) have been removed from PdfSync.cpp in order to make the binary file smaller. More... about 17 years ago
Forgot to commit changes in AppPrefs.h in the last revision. Sorry. More... about 17 years ago
The global option m_editorpattern is renamed into m_inversesearch_cmdline and is now properly serialized in the preference file. More... about 17 years ago
The command-line to run when doing inverse search (pdfsync) can now be specified in the global option gGlobalPrefs.m_editorpattern. It is a string which can contain replacement macros of the form %f (for source file name), %l (for line number) and %c (for column number). At the moment, the string gGlobalPrefs.m_editorpattern is not serialized in the preference file. It would need to be serialized at some point but this will brake compatibility with previous releases of Sumatra. More... about 17 years ago
The line allocating the pdfsync object was dropped from r671 to r673 More... about 17 years ago
Add the changes that were lost from r669 More... about 17 years ago
Add the changes that were lost from r667 More... about 17 years ago
Fix: In some cases, the .pdfsync file was not closed properly. More... about 17 years ago
Correction: during my previous commit, the file SumatraPDF.cpp was not properly submitted. Somehow after resolving spurious conflicts, SVN lost all my changes (my local copy was overwritten). I ended up redoing all the changes... More... about 17 years ago
Implementation of the pdfsync feature (requested in http://code.google.com/p/sumatrapdf/issues/detail?id=36) It is activated when a .pdfsync file (http://itexmac.sourceforge.net/pdfsync.html) lies in the same directory as the .pdf file. A double click on the pdf page brings the user to the source file that was used to create the PDF file. The source file is opened at the precise line number corresponding to the click position in the PDF. At the moment, the only editor supported is WinEdt (when installed in the default directory). The plan is to add an option to let the user specify a command-line for his favourite editor. Also, forward-search (from source file to pdf) is not yet implemented. More... about 17 years ago
#225 don't show window when printing (patch by Peter Astrand)
kjk
as Krzysztof Kowalczyk
More... about 17 years ago
#224 add option -print-dialog (patch by Peter Astrand); simplify by getting rid of #defines
kjk
as Krzysztof Kowalczyk
More... about 17 years ago
free model on failed load; don't jump to first page when first entering toc window
kjk
as Krzysztof Kowalczyk
More... about 17 years ago
reload toc when reloading the file (contributed by William Blum)
kjk
as Krzysztof Kowalczyk
More... about 17 years ago