1 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * paragraph.C (writeFile): remove footflag arg
5 * buffer.C (makeLaTeXFile): use stringstream
6 (latexParagraphs): remove footnot gurba
8 * LaTeXFeatures.C (getPackages): use stringstream
10 (getTClassPreamble): likewise
11 (getFloatDefinitions): new method
13 * paragraph.C (writeFile): reindent
16 * WorkArea.h: revert the xpos + etc changes.
18 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
20 * lyxparagraph.[Ch]: add copy constructor, remove Clone
22 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
23 (pasteSelection): likewise
24 * text2.C (CreateUndo): likewise
26 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * minibuffer.C (peek_event): temporarily reduce the functionality
29 of the minibuffer (to allow args on lfuns)
31 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
32 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
34 * buffer.C (readInset): add compability reading of old float
35 lists, add reading of new style float list.
36 (readInset): avoid reevaluation of inscmd.getCmdName()
39 * MenuBackend.C (MenuItem): implement parsing of
40 md_floatlistinsert and md_floatinsert.
41 (expand::LastFiles): move initalizaton of iterators out of loop,
43 (expand::Documents): introduce typdedef vector<string> Strings,
45 (expand::ExportFormats): introduce typedef vector<Format const *>
47 (expand): implement FloatListInsert and FloatInsert.
49 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
50 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
51 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
53 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
55 (Dispatch::LFUN_FLOAT_LIST): implement
57 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
59 * LaTeX.C (run): Fix problem with --export code.
61 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
63 * BufferView.[Ch] (workarea): removed.
64 (getClipboard) new method; wrapper for workarea()->getClipboard()
66 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
69 * WorkArea.h (width, height, xpos, ypos): These methods all
70 returned the dimensions of the work_area sub-area of WorkArea,
71 resulting in a position error if the WorkArea were resized. Now
72 return the dimensions of the entire WorkArea.
74 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
76 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
78 * LaTeX.C (deplog): correct the syntax of regex reg1
80 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * undo.C: remove !NEW_INSETS cruft
84 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * text2.C: remove !NEW_INSETS cruft
88 * text.C: remove !NEW_INSETS cruft
90 * tabular.C: remove !NEW_INSETS cruft
92 * spellchecker.C: remove !NEW_INSETS cruft
94 * lyxtext.h: remove !NEW_INSETS cruft
96 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
98 * lyxfunc.C: remove !NEW_INSETS cruft
100 * lyxfind.C: remove !NEW_INSETS cruft
102 * lyx_cb.C: remove !NEW_INSETS cruft
104 * figureForm.C: remove !NEW_INSETS cruft
106 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
108 * buffer.[Ch]: remove !NEW_INSETS cruft
110 * ToolbarDefaults.C: remove !NEW_INSETS cruft
112 * CutAndPaste.C: remove !NEW_INSETS cruft
114 * BufferView_pimpl.C: remove !NEW_INSETS cruft
116 * BufferView2.C: remove !NEW_INSETS cruft
118 * BufferView.h: remove !NEW_INSETS cruft
120 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * Lsstream.h: include LString.h before the sstream headers to
123 fix problem with gcc 2.95.3 and lyxstring
125 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
127 * lyx_main.C: add using directives when needed for C functions
128 declared in std:: namespace.
130 2001-04-27 Juergen Vigna <jug@sad.it>
132 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
133 (SetHeightOfRow): comment out the update call should not be needed!
135 2001-04-13 Juergen Vigna <jug@sad.it>
137 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
138 (LyXTabular): tried to minimize operator= operations (and realized
141 2001-04-27 Juergen Vigna <jug@sad.it>
143 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
145 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
147 * lyxfunc.C (Dispatch): hack to make listof algorithm work
149 * buffer.C (readInset): hack to make listof algorithm work
151 * BufferView_pimpl.C: hack to make listof algorithm work
153 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
155 * LyXAction.C: removed all !NEW_INSETS cruft
156 (init): moved lfun_item in method
158 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
160 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
162 * BufferView2.C (theLockingInset): white space.
164 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * minibuffer.C: include <iostream>
168 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
170 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
172 * commandtags.h: add LFUN_TRANSPOSE_CHARS
174 * text.[Ch] (TransposeChars): new method
176 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * call message directly through LyXView instead of through LyXFunc
179 * BufferView2.C: adjust
180 * BufferView_pimpl.C: adjust
181 * FontLoader.C: adjust
183 * bufferview_funcs.C: adjust
184 * converter.C: adjust
185 * figureForm.C: adjust
188 * lyx_gui_misc.C: adjust
192 + more files in subdirs
194 * lyxparagraph.h (size): move up int file
197 * adjust all uses of Assert to lyx::Assert.
199 * BufferView2.C (ChangeCitationsIfUnique): adjust for
200 lyxfunctional in namespace lyx
201 * layout.C (hasLayout): ditto
204 (delete_layout): ditto
205 (NumberOfClass): ditto
206 * converter.C (GetFormat): ditto
211 * bufferlist.C (getFileNames): ditto
212 (emergencyWriteAll): ditto
215 * MenuBackend.C (hasSubmenu): ditto
218 * BufferView_pimpl.C (getInsetByCode): ditto
220 2001-04-18 Juergen Vigna <jug@sad.it>
222 * vspace.C (asLatexString): fixed the 100% problem.
224 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
226 * lyxfunc.C (Dispatch):
228 * minibuffer.h: add a few std:: qualifiers
230 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
232 * minibuffer.[Ch]: reimplement so that commands is initiated and
233 run from lyxfunc, simplified som handling, and made the completion
234 and history code for complete. wip.
236 * lyxfunc.C (processKeySym): call message
237 (miniDispatch): new temporary method
238 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
239 (LFUN_MESSAGE): implement
240 (LFUN_MESSAGE_PUSH): implement
241 (LFUN_MESSAGE_POP): implement
242 (initMiniBuffer): the initial/defualt minibuffer message.
244 * lyxfont.[Ch]: inline some more getters
246 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
248 * lyx_gui_misc.[Ch] (WriteStatus): remove method
250 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
251 (AutoSave): use LFUN_MESSAGE
254 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
256 * figureForm.C: use LFUN_MESSAGE
258 * converter.C (runLaTeX): use LFUN_MESSAGE
260 * bufferview_funcs.C: use LFUN_MESSAGE
264 * bufferparams.h: use boost::
266 * bufferlist.h: inherit privately from noncopyable
268 * bufferlist.C (loadLyXFile): remove some commented code.
270 * buffer.C (runChktex): use LFUN_MESSAGE
272 * ShareContainer.h: inherit privately from noncopyable
274 * ParagraphParameters.[hC] (depth): inline it.
276 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
278 (message): new method
281 (show): init minibuffer
282 (showState): direct call
284 * LaTeX.[Ch]: inherit privately from noncopyable
285 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
286 instead of WriteStatus.
288 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
290 * BufferView_pimpl.C (buffer): don't init minibuffer
291 (workAreaButtonPress): use LFUN_MESSAGE
292 (workAreaButtonRelease): ditto
293 (savePosition): ditto
294 (restorePosition): ditto
295 (MenuInsertLyXFile): ditto
296 (workAreaExpose): don't init minibuffer
297 (update): remove commented code, simplify
299 * BufferView2.C (openStuff): use LFUN_MESSAGE
303 (copyEnvironment): ditto
304 (pasteEnvironment): ditto
309 (updateInset): remove some commented code
311 * lastfiles.h: inherit privately from noncopyable
316 * lyxlex_pimpl.h: ditto
318 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
319 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
320 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
322 * LyXAction.h: inherit privately from noncopyable, add methods
323 func_begin, func_end, returning iterators to the func map.
325 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
326 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
327 (func_begin): new method
328 (func_end): new method
330 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
332 (copySelection): ditto
333 (pasteSelection): ditto
335 * BufferView.C: whitespace change
336 * BufferView.h: inherit privately from noncopyable
338 2001-04-16 Allan Rae <rae@lyx.org>
340 * tabular-old.C (l_getline):
341 * spellchecker.C (sc_check_word):
342 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
343 an unrecognised preprocessor directive. So ensure they're wrapped.
345 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
347 * src/exporter.C (Export): Give an error message when path to file
350 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
352 * LaTeX.C (deplog): Always check that foundfile exists.
354 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
357 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
359 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
361 * tabular.[Ch] (getLabelList): implement new method
363 * minibuffer.h: comment ouf setTiimer
365 * minibuffer.C (ExecutingCB): constify res
366 (peek_event): constify s
367 (Set): constify ntext
368 (Init): constify nicename
370 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
372 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
373 (savePosition): use two params to Minibuffer::Set
374 (restorePosition): ditto
376 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
378 * lyx_main.C: include language.h
380 * Makefile.am (lyx_main.o): add language.h
382 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
388 * CutAndPaste.C: include gettext.h
390 * lyxfont.h: remove old hack with ON and OFF.
393 * lyxfont.h: do not include language.h...
398 * bufferview_funcs.C:
404 * paragraph.C: ... but do it here instead
406 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
410 * tabular.C: small reformat
412 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
415 (BreakParagraph): ditto
416 (SetOnlyLayout): ditto
419 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
422 * lastfiles.C: removed most using decl, add std:: where needed
424 * buffer.C: ws changes
426 * MenuBackend.C (class compare_format): put into anon namespace
427 (expand): constify label, names, action, action2
430 * text.C (SingleWidth): constify font
431 (IsBoundary): constify rtl2
432 (GetVisibleRow): constify ww
434 * LaTeX.C (deplog): constify logfile
436 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
438 (workAreaExpose): constify widthChange, heightChange
440 * lyxrow.C (par): moved
443 * lyxrow.h: as inlines here
445 * lyxfont.h (shape): moved from lyxfont.C
446 (emph): moved from lyxfont.C
448 * lyxfont.C (LyXFont): use initialization list for all
450 (shape): move to lyxfont.h as inline
451 (emph): move to lyxfont.h as inline
454 2001-04-04 Juergen Vigna <jug@sad.it>
456 * vspace.C: had to include stdio.h for use of sscanf
458 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
461 * BufferView_pimpl.h: remove xforms cruft. Both classes are
462 independent of xforms.
464 2001-04-02 Juergen Vigna <jug@sad.it>
466 * spellchecker.C: fixed namespace placing!
468 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
470 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
471 the LyXParagraph * is 0.
473 2001-03-29 Juergen Vigna <jug@sad.it>
475 * vspace.C: added support for %, c%, p%, l%.
476 (stringFromUnit): added helper function.
477 (asLatexString): changed to give right results for the %-values.
479 * buffer.C: convert the widthp in a width%.
481 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
483 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
486 * figureForm.[Ch]: stripped the FD_from_figure manipulation
487 code out of lux_cb.[Ch], ready for its (imminent?) removal.
489 * lyx_cb.[Ch]: see above.
491 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
495 * lyx.[Ch]: replaced by figure_form.[Ch].
499 * lyxfunc.C: changed headers associated with above changes.
501 2001-03-27 Juergen Vigna <jug@sad.it>
503 * BufferView_pimpl.C: set the temporary cursor right!
505 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
507 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
509 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
511 * LString.h: removed "using std::getline"!
513 * BufferView_pimpl.C (Dispatch): changes due to changes in
514 InsetInclude::Params.
516 * buffer.C (tag_name): removed redundant break statements as they were
517 producing lots of warnings with my compiler.
519 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
521 * LString.h: add "using std::getline" when using the real <string>.
523 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
525 * buffer.C: removed bitset usage.
526 PAR_TAG moved to an anonymous name space.
527 (tag_name): new funtion, also in the anonymous namespace.
528 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
529 (makeDocBookFile): clean code. Completed transition from string arrays
531 (SimpleDocBookOnePar): code clean.
533 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
535 * tabular.C: add some comments.
537 2001-03-22 Juergen Vigna <jug@sad.it>
539 * buffer.C (parseSingleLyXformat2Token): redone the minipage
540 compatibility read a bit and fixed bug with minipage in different
543 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
545 * buffer.C (pop_tag): removed.
547 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
548 array replaced with vector. Added support for CDATA sections.
549 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
551 (makeDocBookFile): XML conformant declaration of CDATA section,
552 fixed bug related to <emphasis> in the first paragraph char.
553 (sgmlOpenTag): exclude empty tags.
554 (sgmlCloseTag): ditto.
556 * buffer.h (pop_tag): removed.
559 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
561 * language.h (Languages): added size_type and size().
563 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
565 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
566 response on compability reading of minipages. One probliem is that
567 the old usage of minipages was «flertydig»
569 * several files here and in subdirs: don't use static at file
570 scope use anon namespaces instead.
572 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
574 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
575 LaTeX output. This is necessary for Literate document
578 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
580 * buffer.C: insert hfill when needed.
582 * tabular.C (l_getline): use string::erase, small whitespace change.
584 * BufferView_pimpl.C: try the anon namespace.
587 2001-03-16 Juergen Vigna <jug@sad.it>
589 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
590 otherwise it won't open options-dialogs.
592 * buffer.C: honor pextraWidth(p) on converting minipages.
594 * tabular.C (l_getline): changed the functions to strip trailing \r.
596 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
598 * BufferView_pimpl.C:
599 * minibuffer..C: added "using SigC::slot" declaration.
601 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
603 * lyxlex_pimpl.h: noncopyable is in namespace boost.
611 * lyxtext.h: NO_PEXTRA
613 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
615 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
616 * ParameterStruct.h: ditto
617 * ParagraphParameters.h: ditto
618 * lyxparagraph.h: ditto
620 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
622 * buffer.C: add compability for minipage alignment.
623 (latexParagraphs): remove unwanted pextra check.
625 * several files: remove CXX_WORKING_NAMESPACES
627 * buffer.C (pop_tag): tie is in namespace boost
629 * BufferView.h: noncopyable is in namespace boost
635 * bufferlist.h: ditto
636 * ShareContainer.h: ditto
641 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
643 * Merging changes from BRANCH_MVC back into HEAD.
645 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
647 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
649 * BufferView_pimpl.C: change from intl.C
653 * Makefile.am: move combox.*
659 * intl.C: remove dialog (covered by prefs)
661 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
663 * lyxfunc.C (Dispatch): removed redundant break statement.
665 2001-03-14 Juergen Vigna <jug@sad.it>
667 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
669 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
671 * buffer.C: add hack to fix compability reading of minipages.
673 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
675 * buffer.C (getLists): Cleanup.
677 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
679 * lyxfont.C (update): don't honor toggleall on font size.
681 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
685 * Makefile.am: moved to frontends/xforms/
689 * BufferView_pimpl.C: changes for moved mathpanel
691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
693 * gettext.h: fix gettext_init() in --disable-nls
695 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
697 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
699 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
702 * lyx.h: strip external form
704 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
706 * BufferView_pimpl.C: add comment, destroySplash()
708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
710 * BufferView_pimpl.C:
714 * lyxfunc.C: use re-worked insetinclude
716 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
718 * buffer.C: add using std::stringstream.
720 * lyx_cb.C: readd using std::ios.
722 * buffer.C: add using std::map.
724 * BufferView_pimpl.C: add using std::vector.
726 * ShareContainer.h: add std:: to swap.
728 * buffer.h: add some typedefs
729 * buffer.C (getLists): use them
730 (getLists): renamed from getTocList.
731 add a counter for the different float types and use it in the
733 (getLists): use the same counter for the NEW_INSETS and the "non"
736 * lyx_cb.h: remove unused items, includes, using etc.
738 * ShareContainer.h: remove some commented code, add more comments
741 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
743 * buffer.C (getTocList): make the list also when NEW_INSETS is
746 * buffer.h: remove TocType
748 * buffer.C (getTocList): change to return a map<string,
749 vector<TocItem> >, implement for dynamic number of list.
751 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
752 * text2.C (PasteSelection): adjust
753 * CutAndPaste.C (pasteSelection): adjust
755 * FloatList.C (FloatList): update from the new_insets branch.
756 * Floating.[Ch]: ditto
757 * LaTeXFeatures.C: ditto
759 * lyxlex_pimpl.C: ditto
761 * paragraph.C (Last): remove when NEW_INSETS is defined.
763 * other file: changes because of the above.
765 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
767 * lyxparagraph.h: rename next to next_, previous to previous_,
768 make them private for NEW_INSETS. Rename Next() to next(),
769 Previous() to previous().
771 * other files: changes because of the above.
773 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
776 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
779 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
781 * main.C (main): pass lyx_localedir to gettext_init().
783 * gettext.h: remove locale_init and gettext_init macros
785 * gettext.C (locale_init): new function
786 (gettext_init): new function
788 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
791 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
793 * Moved credits to frontends:
794 * credits.[Ch]: removed
795 * credits_form.[Ch]: removed
796 * lyx_gui_misc.C: remove credits stuff
799 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
801 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
803 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
806 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
807 a standalone pointer again.
809 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
811 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
826 * BufferView_pimpl.C: use new file dialog in GUII
829 * lyx_cb.C: remove LayoutsCB to Toolbar
831 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
833 * ShareContainer.h (get): add std:: qualifier
835 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
837 * ShareContainer.h: define a proper ShareContainer::value_type
838 type (and use typename to please compaq cxx)
840 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
842 * lyxparagraph.h: move serveral local vars to
843 ParameterStruct/ParagraphParameters., use ShareContainer in
844 FontTable., make vars in FontTable private and add getter and
847 * paragraph.C: changes because of the above.
849 * lyxfont.h: remove copy constructor and copy assignment. (the
850 default ones is ok), move number inside FontBits. move inlines to
853 * lyxfont.C: add number to initializaton of statics, move several
854 inlines here. constify several local vars. some whitespace
855 cleanup. Dont hide outerscope variables.
857 * Spacing.h: add two new constructors to match the set methods.
859 * ShareContainer.h: new file, will perhaps be moved to support
861 * ParameterStruct.h: new file
863 * ParagraphParameters.h: new file
865 * ParagraphParameters.C: new file
867 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
868 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
870 * BufferView_pimpl.C: ParagraphParameter changes.
871 * buffer.C: Likewise.
872 * bufferview_funcs.C: Likewise.
876 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
878 * lyxfind.C (LyXReplace): do not redefine default argument in
880 (IsStringInText): ditto
881 (SearchForward): ditto
882 (SearchBackward): ditto
884 2001-03-06 Juergen Vigna <jug@sad.it>
886 * lyxfind.C (IsStringInText): put parentes around expressions.
888 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
890 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
892 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
894 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
896 * stl_string_fwd.h: add comment
898 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
901 * tabular.C: remove unused DocBook methods
907 killed DO_USE_DEFAULT_LANGUAGE
909 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
911 * lyx_gui.C: do not include language.h.
913 * bufferview_funcs.C (ToggleAndShow): do not provide optional
914 arguments in function implementation.
916 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
918 * BufferView_pimpl.C: add <ctime>
920 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
922 * BufferView_pimpl.C: add using std::find_if
924 2001-02-27 José Matos <jamatos@fep.up.pt>
926 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
929 2001-02-11 José Matos <jamatos@fep.up.pt>
931 * buffer.C (makeDocBookFile): command styles now have a parameter as
934 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
936 * layout_forms.[Ch]: removed
937 * lyx_cb.[Ch]: out character
938 * lyx_gui.C: out character
939 * lyx_gui_misc.C: out character
940 * bufferview_funcs.C: : out character,
941 added toggleall as parameter in ToggleAndShow
943 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
945 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
947 * text2.C (SetCurrentFont): Disable number property at boundary.
949 2001-02-26 Juergen Vigna <jug@sad.it>
951 * lyxfunc.C (getStatus): added a string argument override function so
952 that this is correctly called from LyXFunc::Dispatch if it contains a
953 do_not_use_argument which is used!
954 (Dispatch): added check for "custom" export and call appropriate func.
956 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
958 * lyxrc.C: Add language_command_local, language_use_babel and
959 language_global_options.
961 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
963 * buffer.C (makeLaTeXFile): Use language_use_babel and
964 language_global_options.
966 2001-02-23 Juergen Vigna <jug@sad.it>
968 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
969 which works with LyXText and putted it inside BufferView. Here now we
970 only call for that part the BufferView::Dispatch() function.
972 * BufferView.C (Dispatch): added.
974 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
975 functions which needs to use a LyXText over from LyXFunc.
976 (MenuInsertLyXFile): added
977 (getInsetByCode): added
978 (moveCursorUpdate): added
981 2001-02-22 Juergen Vigna <jug@sad.it>
983 * BufferView_pimpl.C (update): call a status update to see if LyXText
986 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
988 * vc-backend.C (revert): implement for CVS
989 (getLog): implement for CVS
991 2001-02-20 Juergen Vigna <jug@sad.it>
993 * text2.C (ClearSelection): added BufferView param for inset_owner call
995 * lyxfunc.C (TEXT): added this function and use it instead of
996 directly owner->view()-text of getLyXText().
998 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1000 * src/layout_forms.C: out preamble
1001 * src/layout_forms.h: out preamble
1002 * src/lyx_cb.C: out preamble
1003 * src/lyx_cb.h: out preamble
1004 * src/lyx_gui.C: out preamble
1005 * src/lyx_gui_misc.C: out preamble
1006 * src/lyxfunc.C: connect with guii preamble
1008 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1010 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1012 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1014 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1015 whether to run bibtex.
1017 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1019 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1021 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1023 * Makefile.am (lyx_SOURCES): removed bibforms.h
1027 * text.C (GetVisibleRow): make several local vars const
1029 * tabular.C: small cleanup.
1031 * lyxserver.C (callback): use compare instead of strncmp
1033 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1034 inlines to after class or to paragraph.C
1036 * lyxfont.h: remove friend operator!=
1038 * converter.h: move friend bool operator< to non friend and after
1041 * combox.h: small cleanup
1043 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1044 to inlines after class def.
1046 * buffer.C (pop_tag): use string operations instead of strcmp
1048 * bmtable.c: doxygen, small cleanup
1050 * LaTeX.h: remove friend operator==
1052 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1064 * BufferView_pimpl.C:
1065 * BufferView.[Ch]: remove cruft
1067 2001-02-14 Juergen Vigna <jug@sad.it>
1069 * lyxfunc.C: removed #if 0 unused code
1071 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1073 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1075 * text2.C (SetSelection): added a BufferView * parameter
1077 2001-02-13 Juergen Vigna <jug@sad.it>
1079 * lyxfunc.C (Dispatch): fixed protected blank problem.
1080 * BufferView2.C (protectedBlank): added LyxText * parameter.
1082 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1083 (AppendColumn): same as above for column_info.
1085 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1086 (moveCursorUpdate): use a LyXText param for support of InsetText.
1088 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1089 (tripleClick): ditto
1091 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1093 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1095 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1097 * text2.C (SetSelection): set correct update status if inset_owner
1100 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1102 * tabular.C: remove some commented code.
1104 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1106 * BufferView_pimpl.C: call hideSplash()
1108 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1111 * bibforms.h: remove
1114 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1115 add LFUN_CHILD_CREATE
1117 * counters.h: fix tiny typo
1122 * lyx.C: move splash to frontends/xforms/
1124 * lyx_gui_misc.C: move Include and Bibform to frontends
1126 * lyxvc.h: clarify comment
1128 * vspace.C: tiny housekeeping
1130 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1132 * text.C (PrepareToPrint): RTL Fix.
1134 * paragraph.C (GetUChar): New method.
1135 (String): Use GetUChar.
1137 * buffer.C (asciiParagraph): Use GetUChar.
1139 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1141 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1143 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1146 * buffer.C: rename to getLogName(), handle
1147 build log / latex log nicely
1149 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1152 * MenuBackend.h: remove support for reference menuitem type.
1154 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1156 * BufferView_pimpl.C: housekeeping
1157 * BufferView_pimpl.h:
1162 * minibuffer.h: move Timeout GUI-I
1164 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1166 * lyxrc.C (read): Update converters data-structures.
1168 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1170 * LaTeX.h (operator!=): add operator != for Aux_Info
1172 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1174 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1176 * LaTeXLog.C: deleted, useful code moved to Buffer
1179 * buffer.C: new function getLatexLogName()
1185 * lyxfunc.C: use frontends for LaTeX and VC logs
1187 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1189 * LaTeX.h: yet another std:: that Allan forgot.
1191 * Variables.C (set): renamed from isset(), because this clashes
1192 with some HP-UX macros (grr).
1194 2001-02-06 Allan Rae <rae@lyx.org>
1196 * LaTeX.h: Another bug fix. Missing std:: this time.
1198 2001-02-04 Allan Rae <rae@lyx.org>
1200 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1201 floats problem. I've left it commented out because it's not quite
1202 correct. It should also test that the current object is a table or
1203 figure inset. But I haven't gotten around to figuring out how to do
1204 that. I *think* it'll be something like: "table" == inset.type()
1206 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1209 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1211 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1212 all the citation/databases/styles in the auxilary file.
1213 (run): Rerun latex if there was a babel language error.
1215 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1217 * text.C (Backspace): Preserve the font when changing newline char
1219 (BreakParagraph): If the cursor is before a space, delete the space.
1221 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1223 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1225 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1226 new argument (code).
1227 (ChangeCitationsIfUnique): New method.
1229 * paragraph.C (GetPositionOfInset): Handle bibkey.
1231 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1233 * BufferView_pimpl.h: change type of Position::par_pos to
1234 LyXParagraph::size_type.
1236 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1238 * BufferView_pimpl.C (savePosition, restorePosition): Write
1239 messages to minibuffer.
1241 2001-01-28 José Matos <jamatos@fep.up.pt>
1243 * buffer.C (makeDocBookFile): adds support for document language.
1244 A silly restriction on the name of LatexCommand types where removed.
1245 Added support for CDATA sections, allows to chars unescaped, used
1246 among others in code, to avoid escape < and >.
1248 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1250 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1251 saved positions instrad of a stack. Furthermore, a position is
1252 stored using paragraph id/paragraph position.
1254 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1255 Remove LFUN_REF_BACK.
1257 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1259 * converter.C (dvipdfm_options): New method.
1261 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1263 * vspace.C (isValidLength): Fix for empty input string.
1265 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1267 * LyXAction.C (init): change description of LFUN_FIGURE to
1270 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1272 * LaTeX.C: add using directive
1274 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1276 * MenuBackend.C (expand): Fix the sorting of the formats.
1278 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1280 * lyx_main.C: tiny error message fix
1282 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1284 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1285 calling fl_initialize(). This fixes the problem with ',' as
1286 decimal separator in text files.
1288 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1290 * trans.C (process): Fix the keymap bug.
1292 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1294 * LaTeX.C (scanAuxFiles): New method. Provides support for
1295 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1296 (scanLogFile) Scan for "run BibTeX" messages.
1298 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1299 OT1 font encoding. Also, load the aecompl package if the ae
1302 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1304 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1306 * texrow.C (increasePos): turn two error messages into debug
1309 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1311 * LaTeX.C (scanAux): Handle the \@input macro.
1312 (runBibTeX): Use scanAux().
1314 * language.C (latex_options_): New field.
1316 * LaTeXFeatures.C (getMacros): Add language macros.
1318 * buffer.C (makeLaTeXFile): Small fix.
1320 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1324 * text2.C: add a using directive.
1326 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1331 * lyxfunc.C: kill LyXBell.
1333 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1335 * text.C (IsBoundary): Remove the error message
1337 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1339 * lyxrc.C (setDefaults): Correct initialization value for
1342 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1344 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1347 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1350 * src/LyXAction.C: Added reference-next.
1352 * text.C (InsertChar): Use contains instead of strchr.
1354 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1356 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1358 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1359 alignment commands (when needed).
1361 * text.C (InsertChar): Add ':' to number separator chars.