]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
74e1b5cdfc6021b62296860fd3e32865717a60ab
[lyx.git] / src / ChangeLog
1 2004-10-24  José Matos  <jamatos@lyx.org>
2
3         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
5         * output_linuxdoc.C (linuxdocParagraphs):
6         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
7         add buffer as argument.
8
9 2004-10-24  José Matos  <jamatos@lyx.org>
10
11         * output_docbook.C (makeEnvironment, searchEnvironment): place
12         CDATA inside paragraphs and fix scope for listitems.
13
14 2004-10-24  José Matos  <jamatos@lyx.org>
15
16         * output_docbook.C: remove using statement for stack.
17
18 2004-10-23  José Matos  <jamatos@lyx.org>
19
20         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
21         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
22         docbook. The new scheme is recursive and makes use of iterators, the
23         same as latex export works.
24         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
25         directly with the paragraph contents. This code was moved up to
26         output_docbook.C (docbookParagraphs).
27         * sgml.C (openTag, closeTag): removed unneeded newlines.
28         (closeEnvTags) removed.
29
30 2003-10-23  André Pönitz  <poenitz@gmx.net>
31
32         * undo.C (textUndoOrRedo):
33         * dociterator.C (asDocIterator): work around crash
34
35         * cursor.C (getStatus): replace ASSERT by more verbose error message
36           and manual correction of the problem. Should increase stability
37           while providing more sensible information.
38
39 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
42
43         * bufferlist.C (previous, next): new methods
44
45         * lfuns.h: 
46         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
47
48 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
49
50         * buffer.C (makeDocBookFile): add dsssl stylesheet control
51         entities to preamble.
52
53 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
54
55         * messages.C (Pimpl): strip off translation context information
56
57 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
60         the cursor is correct (bug 1694)
61
62 2004-10-13  José Matos  <jamatos@lyx.org>
63
64         * output_docbook.C (docbookParagraphs): fix closing tags in the
65         end of the document. 
66
67 2004-10-09  José Matos  <jamatos@lyx.org>
68
69         * buffer.C: format up to 237.
70         * bufferparams.C (write): use tostr to convert booleans to strings.
71         
72 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
73
74         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
75
76 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * LaTeX.C: implement use of babel language in xindy.
79
80 2004-10-05  José Matos  <jamatos@lyx.org>
81
82         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
83         Add new translators to help reading and writing the lyx file.
84
85 2004-10-05  José Matos  <jamatos@lyx.org>
86
87         * ParagraphParameters.C (read):
88         * text.C (readParToken): replace nexToken by more appropriate lex
89         methods.
90
91 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
92
93         * LaTeX.C (runMakeIndex):
94         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
95         (usually 'makeindex') configurable.
96
97         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
98         with a variable rather than with a number.
99
100 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * output_latex.C (TeXOnePar): make sure font setting is the first
103         thing that gets output (and the last at the end). Should fix bug
104         1404.
105
106 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
107
108         * pch.h: use proper signal include
109
110         * LaTeX.h: Use preferred calling of Boost.Signal
111         * buffer.h: ditto
112
113 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
114
115         * pch.h: dont include <boost/function/function0.hpp>
116
117         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
118
119         * paragraph_pimpl.h: remove usage of ShareContainer
120
121         * paragraph_pimpl.C: remove initialization of ShareContainer.
122
123 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         Fix bug #1666
126
127         * BufferView.C (putSelectionAt): change the semantics when
128         backwards == true: now, this just swaps cursor and anchor wrt the
129         forward case
130
131         * BufferView.h (putSelectionAt): add some documentation
132
133         * lyxfind.C (findBackwards): rewrite using while(). In particular,
134         make sure backwardChar is done at least once (to avoid getting
135         stuck)
136         (findNextChange): use putSelectionAt in the forward direction
137         (operator()): use Paragraph::isWord
138
139 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
140
141         * Spacing.C (set): c_str fix
142
143 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * lyx_cb.C (Reconfigure): quote the name of configure script in
146         case it contains spaces
147
148 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
149
150         * client: new dir
151
152         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
153         (BOOST_LIBS): use top_buildir when looking for the file
154
155 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * pch.h: do not use include boost/format.hpp, multiple symbols
158                 will result (gcc bug)
159
160
161 2004-08-23  José Matos  <jamatos@lyx.org>
162
163         * bufferparams.C (readToken): fix reading of the author field.
164
165 2004-08-20  José Matos  <jamatos@lyx.org>
166
167         * lyxrc.C: remove support/translator.h inclusion since it is not used.
168
169 2004-08-20  José Matos  <jamatos@lyx.org>
170
171         * lyxlex.[Ch] (findToken): remove function.
172
173         * ParagraphParameters.C (findToken):
174         * bufferparams.C (findToken): replace call for previous function
175         with local copy. This local function has one more argument, the
176         read string argument.
177
178 2004-08-16  José Matos  <jamatos@lyx.org>
179
180         * ParagraphParameters.C (write):
181         * Spacing.C (writeFile):
182         * bufferparams.C (writeLaTeX):
183         * lyx_cb.C (Reconfigure):
184         * paragraph.C (write):
185         * tabular.C (write): remove unnecessary space at end of line.
186
187
188 2004-08-16  José Matos  <jamatos@lyx.org>
189
190         * text.C (readParagraph): remove debug message.
191
192 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
195         crash
196
197         * output_plaintext.C (asciiParagraph): set depth correctly
198
199         * outputparams.h: add member depth
200
201         * paragraph_funcs.C (ownerPar): remove.
202
203         * text2.C (setCounter): remove first_pit; comment out some
204         non-working code that uses ownerPar
205
206         * BufferView.C (getParentLanguage): remove. Not used anymore, and
207         uses ownerPar
208
209 2004-08-16  José Matos  <jamatos@lyx.org>
210
211         * text.C (readParToken, readParagraph, read): report all unknown tokens.
212         For the same level of importance use the same chanel to report problems.
213         (read): add code to deal with \begin_body and \end_body.
214
215
216 2004-08-15  José Matos  <jamatos@lyx.org>
217
218         * lyxlex.C (getString): fix comment, buffer::readBody is now
219         buffer:readDocument.
220
221         * tex-strings.C (string_papersize): Default -> default,
222         Custom -> custom, for consistency with other options.
223
224 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * pch.h: new file
227
228         * Makefile.am: support pch
229
230 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * text.C (readParToken): remove the static LyXFont variable and
233         pass it as a parameter instead. This fixes a nasty bug where an
234         inset will be inserted with a bad font in some situations
235         (readParagraph): adapt
236
237         * text2.C (setCounter): reduce number of calls to pars_[pit]
238
239         * text.C (singleWidth): add an assert, fix a test
240
241         * rowpainter.C (paintText): reduce number of calls to singleWidth
242
243         * paragraph.C (isHfill):
244         (isNewline): ws only
245
246 2004-08-14  André Pönitz  <poenitz@gmx.net>
247
248         * text.C:
249         * text2.C:
250         * rowpainter.C:
251         * lyxtext.h (several functions): use a Paragraph & argument
252         instead of par_type
253
254 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * metricsinfo.h: add a new field ltr_pos to PainterInfo
257
258         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
259
260         * text.C (singleWidth): remove useless test
261
262 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
263
264         * tabular.h: remove bogus comments
265
266         * tabular.C (getDescentOfRow):
267         (isPartOfMultiColumn): add assertions
268
269         * lyxlength.C (inPixels): remove #warning
270
271 2004-08-14  André Pönitz  <poenitz@gmx.net>
272
273         * paragraph.h: inline getChar()
274
275         * BufferView.h: remove unused declarations
276
277 2004-08-14  José Matos  <jamatos@lyx.org>
278
279         * Buffer.[Ch] (readDocument): new name for old readBody.
280         * Buffer.C: new file format, new keywords: \begin_document,
281         \begin_header, \begin_body, \end_body.
282
283         * bufferparams.C (readToken): replace all calls to lex.nextToken
284         by lex.next(). Do the same to eatLine except where really needed.
285
286         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
287         line when writing to the lyx file.
288
289         * output_plaintext.C (asciiParagraph): fix Bibliography style
290         handling.
291
292         * text.C (read): fix end of file handling.
293
294 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * MenuBackend.C (Menu::operator[]): new method to access
297         individual menu items
298         (Menu::hasFunc): new method. search for an item that corresponds
299         to a given func
300         (MenuBackend::specialMenu): new method
301         (MenuBackend::expand): if a special menu has been set, skip
302         entries whose func() appears in this menu
303
304 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
305
306         * text3.C: use Debug::DEBUG a bit more
307
308         * text.C (leftMargin): try to simplify a tiny bit change var x to
309         l_margin. Dont output the wide margins always.
310         (rightMargin): no margin in inner texts
311
312         * rowpainter.h (nestMargin): new func
313         (changebarMargin): new func
314         (rightMargin): new func
315
316         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
317         now functions.
318         (paintLast): ditto
319
320         * factory.C (createInset): modify setDrawFrame
321
322         * cursor.C: use Debug::DEBUG a bit more
323
324 2004-08-14  André Pönitz  <poenitz@gmx.net>
325
326         * coordcache.[Ch]:
327         * Makefile.am: new files to accomodate an 'external' (x,y)-position
328         cache for all insets in (at least partially) visible (top-level)
329         paragraphs.
330
331         * BufferView_pimpl.C: reset external coord cache before every update.
332         This means the coord cache only contains valid entries.
333
334 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
335
336         bug 1096
337         * BufferView_pimpl.C (getInsetByCode): move function out of class
338         and change in to a template in anon namespace. Also fix to do what
339         suits us better.
340
341 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
342
343         bug 1305
344         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
345         of char
346         (breakParagraph): rename par to par_offset and use a local
347         reference. Add code to keep the language over a rebreak.
348         (breakParagraphConservative): rename par to par_offset, use a
349         local reference
350         (mergeParagraph): ditto
351         (outerHook): ditto
352         (isFirstInSequence): ditto
353         (outerFont): rename pit to par_offset
354
355         * paragraph.C: ws change
356         * paragraph.h: ditto
357         * text3.C: ditto
358         * text.C: ditto
359
360 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
363         treatment for ']'
364
365         * paragraph.C (simpleTeXOnePar): when we have a \item with
366         optional argument, enclose the argument with curly brackets (in
367         case it contains a closing square bracket)
368
369         * text2.C (editXY):
370         * text2.C (editXY):
371         * text3.C (checkInsetHit): constify
372
373 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
376         documents (bug 1629)
377
378 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         Fix toggling of collapsable insets with the mouse (bug 1558)
381
382         * lyxfunc.C (dispatch): adapt to LCursor changes
383
384         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
385         make sure that dispatch is not invoked twice
386
387         * cursor.C (needsUpdate): new method
388         (dispatch): return void
389         (result): new method, to access the DispatchResult of the cursor.
390
391 2004-08-13  José Matos  <jamatos@lyx.org>
392
393         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
394
395 2004-08-13  André Pönitz  <poenitz@gmx.net>
396
397         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
398
399         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
400           multiple cells
401
402 2004-08-12  André Pönitz  <poenitz@gmx.net>
403
404         * text3.C: take out the 'cursor right' form insertInset and only
405         do it in those places when it is really needed. Fixes crash on
406         C-m...
407
408 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
411
412         * BufferView_pimpl.C (setBuffer): initialize the current font of
413         the underlying LyXText
414
415 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * kbsequence.C (print): use UI native formatting for menu
418         shortcuts
419
420         * text.C (insertChar): call Paragraph::insertChar with a font
421         argument (cosmetic)
422
423         * paragraph.C (insertInset, insertChar): the version that takes a
424         LyXFont argument is now a wrapper around the other one (the
425         opposite used to be true).
426
427         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
428         argument. Font setting is done in Paragraph now.
429
430 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * outputparams.h: add new members intitle and lang.
433
434         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
435         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
436
437 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
438
439         * text3.C (dispatch): remove special handling of button 4 and 5,
440         it is now taken care of in the frontend code.
441
442 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
443
444         * Spacing.h: add <string> (STLPort compile fix)
445
446 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
447
448         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
449
450 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
451
452         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
453         to bool.
454
455         * converter.C (showMessage): inherit from unary_function, make
456         operator() const.
457
458         * buffer.C (writeFile): initialize retval
459
460         * InsetList.h: rename private variable list to list_
461         * InsetList.[Ch]: adjust accordingly.
462
463 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
464
465         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
466         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
467         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
468         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
469         * ParagraphParameters.C, LaTeXFeatures.C: replace
470         "support/std_sstream.h" with <sstream>
471
472 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
473
474         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
475         * lyxsocket.C (LyXServerSocket): ditto
476         (serverCallback): ditto
477
478 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
479
480         * LaTeXFeatures.C: check release date when loading jurabib.
481
482 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
483
484         * lyxserver.C (startPipe): call register_socket_callback
485         (endPipe): call unregister_socket_callback
486
487 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
488
489         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
490         (LyXServerSocket): register the callback
491         (LyXServerSocket): unregister the callback
492         (fd): delete function
493         (serverCallback): improve error checking and setup the callbacks.
494         (dataCallback): change arg to fd.
495         (writeln): new func (copied fro the client socket) used for server
496         write to client.
497         (LyXDataSocket): simplify
498         (~LyXDataSocket): close ann unregiser callback
499         (server): delete function
500         (fd): delete function
501         (readln): small changes, improve some std::string usage
502         (writeln): constify a bit
503
504 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
507         Qt frontend
508
509 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * BufferView_pimpl.C (setBuffer): set the layout combox value only
512         after it has been populated
513
514 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * text2.C (insertInset): move cursor when inserting inset.
517
518 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * kbmap.C (findbindings): a couple of new methods. returns a
521         container of kb_sequence objects. The real work is done by the
522         private recursive version
523         (printbindings): uses findbindings to print out a bracketed list
524         of bindings (renamed from findbinding).
525
526         * MenuBackend.C (binding): use kb_keymap::findbindings
527
528         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
529
530 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
531
532         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
533
534 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * paragraph.C (isWord): return true on insets that report
537         isLetter().
538
539         * text.C (getWord): use Paragraph::isWord to decide what is in a
540         word and what is not; fix bug 1609.
541
542 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
543
544         * tex-strings.C: add "none" to string_paperpackages[], fixes
545         off-by-one-error in the paperpackage selection.
546
547         * lyxlex.[Ch]:
548         * tex-strings.[Ch]: char const * string[n]
549         -> char const * const string[]
550
551 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
554         command, return early.
555
556 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * debug.h: add DEBUG to enum and fix size of ANY.
559
560         * debug.C: add support for Debug::DEBUG
561         (showTags): cast errorTags.level to unsigned int
562
563         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
564         (redoCurrentBuffer): ditto
565         (updateScrollbar): ditto
566         * cursor.C (dispatch): ditto
567         * text2.C (setLayout): ditto
568         (setFont): ditto
569         (updateCounters): ditto
570         (editXY): ditto
571         (deleteEmptyParagraphMechanism): ditto
572
573 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
574
575         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
576         annotations to cleanup the Makefile slightly.
577
578 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyxrc.C: do not set user_email to a default value but use empty
581         instead. The entry used to be translated, which does not work
582         since at the point where lyxrc is constructed there is no
583         translation service available
584
585         * messages.C (getLocaleDir): remove and use directly
586         lyx_localedir() instead
587
588 2004-06-02  Angus Leeming  <leeming@lyx.org>
589
590         Fix crash caused by dereferencing null pointer 'exportdata' in
591         OutputParams by creating a new ExportData variable on the heap,
592         storing it in a boost::shared_ptr.
593         The crash was triggered when generating an Instant Preview
594         of an external inset.
595
596         * Makefile.am: add outputparams.C
597
598         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
599         (c-tor): allocate memory to it.
600
601         * exporter.C (c-tor): associated changes.
602
603 2004-06-01  Angus Leeming  <leeming@lyx.org>
604
605         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
606         contains data before calling isInset(0). (Bug 1513.)
607
608 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
609
610         * exporter.C (checkOverwrite): new method
611         * exporter.C (copyFile): new method
612         * exporter.C (Export): copy referenced files to the document dir
613         * exporter.[Ch]: new class ExportedFile
614         * exporter.[Ch]: new class ExportData. Contains currently the
615         names of referenced external files
616         * outputparams.h: add exportdata member.
617
618 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
619
620         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
621         version.C-tmp
622
623 2004-05-19  Angus Leeming  <leeming@lyx.org>
624
625         * LaTeXFeatures.C:
626         * ToolbarBackend.C:
627         * bufferparams.C:
628         * lyxfunc.C: small changes due to the introduction of namespace
629         lyx::frontend and the moving of namespace biblio to lyx::biblio.
630
631 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * text3.C (dispatch): supress update when only moving the cursor
634         * cursor.C (selHandle): remove commented code
635
636 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
637
638         * paragraph.C (startTeXParParams): correct column count
639         * CutAndPaste.C (pasteSelection): remove const_cast
640         * output_docbook.C (docbookParagraphs): remove const_cast
641         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
642         const_cast and return ParagraphList::const_iterator
643         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
644         * output_plaintext.C (writeFileAscii): remove const_cast
645         * paragraph.[Ch] (simpleTeXOnePar): make const
646         * paragraph_funcs.C (outerPar): use const iterators
647         * paragraph_pimpl.C (validate): use const iterators
648         * text.C (setHeightOfRow): use const iterators
649
650 2004-05-17  Angus Leeming  <leeming@lyx.org>
651
652         * lfuns.h:
653         * LyXAction.C (init): new LFUN_INSET_REFRESH.
654
655         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
656         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
657         if the citation engine has changed.
658
659 2004-05-14  José Matos  <jamatos@lyx.org>
660
661         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
662         if the textclass does not provide it. Have it different for sgml and
663         xml.
664         support the language of document.
665         * output_docbook.C (docbookParagraphs):
666         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
667         first anchor as the id of the paragraph, remove special case code.
668         * sgml.C (escapeChar): escape only < & >.
669
670 2004-05-14  Angus Leeming  <leeming@lyx.org>
671
672         * bufferparams.h: move biblio::CiteEngine enum here to minimize
673         dependencies on src/frontends/controllers/biblio.h. Define a
674         CiteEngine_enum wrapper class to enable the enum to be forward
675         declared.
676
677 2004-05-12  Angus Leeming  <leeming@lyx.org>
678
679         * buffer.C: up LYX_FORMAT to 234.
680         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
681         use_numerical_citations with a single biblio::CiteEngine cite_engine
682         variable.
683         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
684
685 2004-05-13  José Matos  <jamatos@lyx.org>
686
687         * converter.h:
688         * converter.C (Converter, readFlags): add xml member.
689         * outputparams.h: add XML flavor.
690         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
691
692 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * lyxfunc.C (dispatch):
695         (getStatus): fix handling of LFUN_SEQUENCE
696
697 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * debug.C (showLevel): do not forget the end-of-line marker
700
701 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * kbmap.C (read): do not stop parsing a bind file when an error
704         occurs (bug 1575)
705
706 2004-04-29  Angus Leeming  <leeming@lyx.org>
707
708         * cursor.C:
709         * factory.C:
710         * pariterator.C:
711         * text2.C: wrap a bunch of #warning statements
712         inside #ifdef WITH_WARNINGS blocks.
713
714 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
715
716         * buffer.C: increment format to 233.
717
718 2004-04-28  Angus Leeming  <leeming@lyx.org>
719
720         * BufferView_pimpl.C:
721         * lyxfunc.C:
722         * text3.C:
723         s/updateToolbar()/updateToolbars()/
724         s/Toolbar.h/Toolbars.h/
725
726 2004-04-28  Angus Leeming  <leeming@lyx.org>
727
728         * BufferView.[Ch] (c-tor):
729         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
730         No longer passes these data to the WorkArea generator.
731
732 2004-04-28  Angus Leeming  <leeming@lyx.org>
733
734         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
735
736 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
739
740 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * output_latex.C (TeXEnvironment): make sure that there is a line
743         break before \end{foo} for the last paragraph of a document
744         (TeXOnePar): if the paragraph is at the end of the document (or
745         inset) and the language has to be reset, then make sure that the
746         line break is _before_ the language command, not after (fixes bug
747         1225); also make sure that the language reset command is the first
748         thing after the paragraph (to ensure proper nesting of
749         environments and thus fix bug 1404)
750
751 2004-04-21  John Levon  <levon@movementarian.org>
752
753         * ToolbarBackend.h:
754         * ToolbarBackend.C: make "name" be a programmatic name
755         and a gui_name field.
756
757         * lyxfunc.C: display the minibuffer on M-x
758
759 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
760
761         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
762         (bug 1526)
763
764 2004-04-19  Angus Leeming  <leeming@lyx.org>
765
766         * BufferView_pimpl.C (setBuffer): changed preview interface.
767
768         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
769         possible values.
770
771 2004-04-19  John Levon  <levon@movementarian.org>
772
773         * BufferView_pimpl.C:
774         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
775
776 2004-04-05  Angus Leeming  <leeming@lyx.org>
777
778         * text.C (redoParagraphs): add call to updateCounters(), thereby
779         fixing the missing "Figure #:" label from the caption of a
780         figure float.
781
782 2004-04-13  Angus Leeming  <leeming@lyx.org>
783
784         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
785         cursor is clicked out of an inset.
786
787 2004-04-13  Angus Leeming  <leeming@lyx.org>
788
789         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
790         than an InsetOld one.
791
792 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * format.[Ch]: add editor to Format
795         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
796         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
797
798 2004-04-08  André Pönitz  <poenitz@gmx.net>
799
800         * metricsinfo.h: remove PainterInfo::width member
801
802 2004-04-08  Angus Leeming  <leeming@lyx.org>
803
804         * lyx_sty.C (boldsymbol_def): modify so that it outputs
805         "\providecommand" rather than "\newcommand", thereby preventing
806         clashes with packages that define "\boldsymbol" themselves.
807         Eg, beamer.
808
809 2004-04-08  Angus Leeming  <leeming@lyx.org>
810
811         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
812         thereby squashing an unnecessary warning.
813
814 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
815
816         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
817         setBuffer()
818
819 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * BufferView.C (setCursor): call redoParagraph (some insets could
822         have been opened)
823         (putSelectionAt): remove the 'double update' trick
824
825         * BufferView_pimpl.C (fitCursor): call refreshPar
826         (workAreaDispatch): remove an uneeded update call
827         (dispatch): remove some manual update calls
828
829         * cursor.[Ch]: remove cached_y_, updatePos
830         (selHandle): set noUpdate when appropriate
831
832         * lyxfunc.C (dispatch): track if we need an update
833
834         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
835
836         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
837         (paintSelection): cheap optimization, do not call cursorX when not
838         needed
839         (paintPars): change signature
840         (refreshPar): add
841         (paintText): adjust
842         (paintTextInset): adjust
843
844         * text.C: adjust
845
846 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * lengthcommon.C: compilation fix: remove explicit array size from
849         unit_name[] and friends
850
851 2004-04-05  Angus Leeming  <leeming@lyx.org>
852
853         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
854
855         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
856         present only for the preferences dialog.
857         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
858
859 2004-04-05  Angus Leeming  <leeming@lyx.org>
860
861         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
862         to enable the frontends to export changes to lyxrc correctly.
863
864         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
865
866 2004-04-07  André Pönitz  <poenitz@gmx.net>
867
868         * cursor.[Ch] (selClear, adjust): remove math
869
870         * cursor_slice.C: more agressive assert
871
872         * lyxfunc.C:
873         * BufferView_pimpl.C: rework mouse event dispatch
874
875         * dociterator.C:
876         * paragraph.C:
877         * text2.C:
878         * text3.C: adjust
879
880 2004-04-05  André Pönitz  <poenitz@gmx.net>
881
882         * cursor.[Ch] (valign, halign...): remove unneeded functions
883
884 2004-04-05  Angus Leeming  <leeming@lyx.org>
885
886         * lyxlength.[Ch] (unit_name et al.): const-correct.
887
888 2004-04-05  Angus Leeming  <leeming@lyx.org>
889
890         * BufferView_pimpl.C:
891         * buffer.C:
892         * counters.C:
893         * cursor.C:
894         * lyxfunc.C
895         * paragraph.C:
896         * pariterator.C:
897         * text.C:
898         * text2.C:
899         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
900
901 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * text3.C (getStatus): add LFUN_BEGINNINGBUF
904
905 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * lyxfind.C: add a couple of inTexted() tests + other small fixes
908         * BufferView_pimpl.[Ch] (getStatus)
909         * BufferView.[Ch] (getStatus): add
910         * lyxfunc.C (getStatus): move lfuns handled in
911         BufferView::dispatch to te function above
912         * Cursor.C (setSelection): set selection() = true
913
914 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
915
916         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
917
918 2004-03-31  Angus Leeming  <leeming@lyx.org>
919
920         * lyxfunc.C (dispatch): Fall through to the generic
921         Dialogs::show("preamble").
922
923 2004-03-31  Angus Leeming  <leeming@lyx.org>
924
925         * lyxfunc.C (dispatch): Fall through to the generic
926         Dialogs::show("spellchecker").
927
928 2004-03-31  Angus Leeming  <leeming@lyx.org>
929
930         * lyxfunc.C (getStatus, dispatch): changed invocation of the
931         preferences dialog.
932
933 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * BufferView.C
936         * cursor.[Ch]
937         * dociterator.[Ch]:
938         * insetiterator.[Ch]:
939         * lyxfind.C:
940         * lyxfunc.C:
941         * pariterator.[Ch]:
942         * text2.C:
943         * undo.[Ch]: s/DocumentIterator/DocIterator/g
944
945 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * BufferView.C (setCursor, putSelectionAt): call edit to open the
948         insets where we are putting the cursor.
949
950 2004-03-31  Angus Leeming  <leeming@lyx.org>
951
952         * lfuns.h:
953         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
954
955         * lyxrc.[Ch] (read, write): overloaded member functions taking
956         a std::[io]stream arguments.
957
958         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
959
960 2004-03-31  Angus Leeming  <leeming@lyx.org>
961
962         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
963         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
964
965         * lyxtextclass.C (load): if the text class couldn't be loaded, then
966         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
967
968 2004-03-31  Angus Leeming  <leeming@lyx.org>
969
970         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
971         the LFUN_ALL_INSETS_TOGGLE code.
972
973 2004-03-30  Angus Leeming  <leeming@lyx.org>
974
975         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
976         has died. Fall through to the generic Dialogs::show("document").
977
978 2004-03-30  Angus Leeming  <leeming@lyx.org>
979
980         * lfuns.h:
981         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
982         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
983
984         * lyxfunc.C (getStatus, dispatch): define the actions for these
985         lfuns. Little more than a cut and pste job from ControlDocument.C
986
987         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
988
989 2004-03-30  Angus Leeming  <leeming@lyx.org>
990
991         * lfuns.h:
992         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
993         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
994
995         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
996         open/closed state of ollapsable insets. Usage:
997
998         all-inset-toggle <state> <name>, where
999         <state> == "open" || "closed" || "toggle" and
1000         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1001
1002         * lyxtext.h, text2.C (toggleInset): removed.
1003
1004         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1005         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1006         now passes LFUN_INSET_TOGGLE to the found inset.
1007
1008         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1009         is now invoked as "all-insets-toggle toggle branch".
1010
1011 2004-03-30  Angus Leeming  <leeming@lyx.org>
1012
1013         * dociterator.C:
1014         * insetiterator.C:
1015         * pariterator.[Ch]: added/corrected header blurb.
1016
1017 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * dociterator.[Ch]: add an inset_ member
1020         (backwardPos): implemented
1021         (backwardPos, forwardPos): use inset_ when the stack is empty.
1022         (doc_iterator_begin, doc_iterator_end): implemented
1023         * pariterator.[Ch]: adjust, add begin, end
1024         * insetiterator.[Ch]: adjust, add begin, end
1025         * cursor.C:
1026         * document.C:
1027         * BufferView.C:
1028         * BufferView_pimpl.C:
1029         * CutAndPaste.C: adjust
1030
1031 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1032
1033         * buffer.C: increment file format to 232.
1034         * LaTeXFeatures.C: add bibtopic package.
1035         * bufferparams.[Ch]: param \use_bibtopic.
1036
1037         * lyxrc.[Ch]: add lyxrc bibtex_command
1038         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1039
1040         * buffer.C: increment file format to 231.
1041
1042 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * dociterator.C: implement forwardPar
1045         * iterators.[Ch]: remove, replaced by
1046         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1047         * BufferView.C:
1048         * BufferView_pimpl.C:
1049         * CutAndPaste.C:
1050         * buffer.C:
1051         * bufferview_funcs.C:
1052         * cursor.C:
1053         * lyxfind.C
1054         * lyxfunc.C
1055         * paragraph_funcs.C
1056         * toc.C:
1057         * Makefile.am: adjust
1058
1059 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1060
1061         * CutAndPaste.C (pasteSelection): fix 2 crashes
1062         (eraseSelection): fix a crash
1063         * paragraph_funcs.C: remove a warning
1064
1065 2004-03-28  Angus Leeming  <leeming@lyx.org>
1066
1067         * lfuns.h:
1068         * LyXAction.C (init): new LFUN_PRINT.
1069
1070         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1071
1072 2004-03-27  Angus Leeming  <leeming@lyx.org>
1073
1074         * lfuns.h:
1075         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1076
1077         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1078
1079 2004-03-27  Angus Leeming  <leeming@lyx.org>
1080
1081         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1082         insetlist always contains non-null pointers to insets.
1083
1084 2004-03-26  Angus Leeming  <leeming@lyx.org>
1085
1086         * src/BufferView_pimpl.C:
1087         * src/CutAndPaste.C:
1088         * src/buffer.C:
1089         * src/iterators.C:
1090         * src/output_plaintext.C:
1091         * src/outputparams.h:
1092         * src/paragraph_funcs.C:
1093         * src/rowpainter.C:
1094         * src/text.C:
1095         * src/text2.C:
1096         * src/frontends/controllers/ControlErrorList.C:
1097         * src/frontends/gtk/FileDialogPrivate.C:
1098         * src/frontends/gtk/GPainter.C:
1099         * src/frontends/gtk/GToolbar.C:
1100         * src/frontends/qt2/QRef.C:
1101         * src/mathed/math_scriptinset.C: squash compiler warnings.
1102
1103 2004-03-26  Angus Leeming  <leeming@lyx.org>
1104
1105         * ispell.C (LaunchIspell::start):
1106         * lyx_cb.C (AutoSaveBuffer::start):
1107         invoke run(DontWait) rather than runNonBlocking().
1108
1109 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1110
1111         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1112
1113 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * kbsequence.C (print): adjust
1116
1117         * kbmap.C (printKeySym): rename and change signature
1118         (printKey): use LyXKeySym::print()
1119
1120 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1121
1122         * undo.C: add using std::advance to compile for stlport
1123
1124 2004-03-24  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1127         it leads to a crash when no buffer is present.
1128
1129 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130             Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * lyxfunc.C (dispatch):
1133         * bufferparams.C (readToken): use the new LColor::setColor
1134
1135         * LColor.[Ch] (setColor): new version that takes two strings as
1136         argument and creates a new color entry if necessary
1137
1138 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1139
1140         * buffer.C (makeLaTeXFile): if the main latex file that is
1141         processed is usually a subdocument of some master, then pretend
1142         for a while that it is actually the master
1143
1144 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1145
1146         * buffer.C (getLabelList):
1147         (getBibkeyList): use getMasterBuffer()
1148         (getMasterBuffer): new method. Returns the main document in the
1149         case where one is using included documents.
1150
1151 2004-03-25  André Pönitz  <poenitz@gmx.net>
1152
1153         * Makefile.am:
1154         * iterators.[Ch]:
1155         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1156
1157         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1158
1159         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1160         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1161
1162         * ParameterStruct.h: merge with ParagraphParameters
1163
1164         * lyxtext.h: remove LyXText::parOffset() and getPar()
1165
1166         * text3.C: Remove all 'manual' update calls. We do now one per user
1167         interaction which is completely sufficient.
1168
1169         * Bidi.C:
1170         * BufferView.[Ch]:
1171         * BufferView_pimpl.C:
1172         * FontIterator.[Ch]:
1173         * MenuBackend.C:
1174         * ParagraphParameters.[Ch]:
1175         * buffer.C:
1176         * buffer.h:
1177         * bufferlist.C:
1178         * cursor.[Ch]:
1179         * cursor_slice.[Ch]:
1180         * dociterator.[Ch]:
1181         * errorlist.[Ch]:
1182         * factory.C:
1183         * lfuns.h:
1184         * lyxfind.C:
1185         * lyxfunc.C:
1186         * output_docbook.[Ch]:
1187         * output_latex.[Ch]:
1188         * output_linuxdoc.[Ch]:
1189         * output_plaintext.[Ch]:
1190         * paragraph.[Ch]:
1191         * paragraph_funcs.[Ch]:
1192         * paragraph_pimpl.[Ch]:
1193         * rowpainter.C:
1194         * tabular.[Ch]:
1195         * text.C:
1196         * text2.C:
1197         * toc.C:
1198         * undo.[Ch]: adjust
1199
1200         * frontends/controllers/ControlDocument.C:
1201         * frontends/controllers/ControlErrorList.C:
1202         * frontends/controllers/ControlSpellchecker.C:
1203         * insets/inset.C:
1204         * insets/inset.h:
1205         * insets/insetbase.h:
1206         * insets/insetbibitem.C:
1207         * insets/insetbox.C:
1208         * insets/insetbranch.C:
1209         * insets/insetcaption.C:
1210         * insets/insetcharstyle.C:
1211         * insets/insetcharstyle.h:
1212         * insets/insetcollapsable.C:
1213         * insets/insetcollapsable.h:
1214         * insets/insetert.C:
1215         * insets/insetfloat.C:
1216         * insets/insetfoot.C:
1217         * insets/insetmarginal.C:
1218         * insets/insetnote.C:
1219         * insets/insetoptarg.C:
1220         * insets/insettabular.C:
1221         * insets/insettext.C:
1222         * insets/insettext.h:
1223         * insets/insetwrap.C:
1224         * mathed/math_mboxinset.C:
1225         * mathed/math_nestinset.C:
1226         * mathed/math_scriptinset.C:
1227         * mathed/math_scriptinset.h:
1228         * support/types.h:
1229
1230 2004-03-24  Angus Leeming  <leeming@lyx.org>
1231
1232         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1233         deal with any child processes that have finished but are waiting to
1234         communicate this fact to the rest of LyX.
1235
1236 2004-03-24  Angus Leeming  <leeming@lyx.org>
1237
1238         64-bit compile fixes.
1239
1240         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1241         (c-tor): pass lyx::pos_types rather than ints.
1242
1243         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1244         lyx::pos_type.
1245
1246         * text.C (Delete): compile fix.
1247         (getPar): ensure that function declaration is the same as that in
1248         the header file.
1249
1250 2004-03-23  Angus Leeming  <leeming@lyx.org>
1251
1252         * ispell.C (LaunchIspell):
1253         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1254         a boost::shred_ptr rather than a std::auto_ptr.
1255
1256 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1257
1258         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1259         handle LFUN_FILE_INSERT_*
1260
1261         * lyxrc.C (setDefaults, getDescription, output, read):
1262         * lyxrc.h: remove ps_command
1263
1264 2004-03-22  Angus Leeming  <leeming@lyx.org>
1265
1266         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1267         Ensure that error_handler is processed once only and that all data
1268         is saved before attempting to output any warning messages.
1269
1270         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1271
1272 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1275
1276 2004-03-19  André Pönitz  <poenitz@gmx.net>
1277
1278         * cursor.[Ch] (reset): take main text inset as argument
1279
1280         * BufferView: adjust
1281         * BufferView_pimpl.C: adjust
1282
1283         * paragraph.[Ch]: fix completely broken operator=()
1284
1285 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * LColor.C (getFromLyXName): make sure that the color name is used
1288         as lowercase.
1289
1290 2004-03-17  Angus Leeming  <leeming@lyx.org>
1291
1292         * lfuns.h:
1293         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1294
1295         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1296         dialog and to kill a forked process.
1297
1298 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * text2.C (setCursorFromCoordinates): fix font problem
1301
1302 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1305         bogus "rebuild cursor" code
1306
1307 2004-03-11  André Pönitz  <poenitz@gmx.net>
1308
1309         * buffer.[Ch]: use InsetText instead of LyXText as container for
1310         the main lyx text.
1311
1312         * dociterator.[Ch]: drop the BufferView * member which is not needed
1313         anymore after the change to buffer.C
1314
1315         * paragraph_funcs.C:
1316         * text.C:
1317         * text2.C:
1318         * BufferView.[Ch]:
1319         * BufferView_pimpl.[Ch]:
1320         * cursor.[Ch]:
1321         * cursor_slice.[Ch]: adjust
1322
1323         * text3.C: fix bug in mathDispatch
1324
1325 2004-03-08  André Pönitz  <poenitz@gmx.net>
1326
1327         * undo.[Ch]: use 'StableDocumentIterator' as base for
1328         the Undo struct.
1329
1330 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1331
1332         * LaTeXFeatures.C:
1333         * bufferparams.[Ch]: add jurabib support and param.
1334
1335         * LaTeX.C: add FIXME/comment.
1336
1337 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1338
1339         * buffer.C: increment file format to 230.
1340
1341 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * cursor.C (dispatch): avoid infinite loops
1344
1345 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * rowpainter.C (paintSelection): fix x coordinates
1348
1349 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * text.C (rowBreakPoint): fix breaking before displayed insets
1352
1353 2004-03-01  André Pönitz  <poenitz@gmx.net>
1354
1355         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1356
1357         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1358
1359         * Makefile.am:
1360         * BufferView.C:
1361         * BufferView_pimpl.C:
1362         * buffer.C:
1363         * lyxfind.C:
1364         * lyxfunc.C:
1365         * text.C:
1366         * text2.C:
1367         * text3.C: adjust
1368
1369 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * lyxtext.h:
1372         * text.C:
1373         * text2.C:
1374         * rowpainter.C:
1375         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1376         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1377
1378 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * Bidi.[Ch] (computeTables): const correctness
1381         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1382         fill_hfill, fill_label_hfill and x from Row
1383         * lyxtext.h: prepareToPrint returns a RowMetrics
1384         * rowPainter.C: adjust
1385         * text.C (prepareToPrint): use width, not textWidth. adjust
1386         (redoParagraphInternal, cursorX): adjust
1387         * text2.C (getColumnNearX): adjust
1388         (init): put a default value to the top LyXText::width
1389
1390 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1393
1394 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * lyxtext.h: add FontIterator class
1397
1398         * text.C (FontIterator, operator*, operator->, operator++): add
1399         (rowBreakPoint, setRowWidth): adjust (fixing a
1400         rebreaking bug)
1401
1402 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1403
1404         * BufferView_pimpl.C (workAreaDispatch): allow also
1405         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1406
1407 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * text.C (rowBreakPoint): fix a bug showing with very large insets
1410
1411 2004-02-25  André Pönitz  <poenitz@gmx.net>
1412
1413         * text3.C:
1414         * cursor.[Ch]: move some mathed specific code to mathed
1415
1416 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1417
1418         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1419         use_tempdir in preferences
1420         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1421         tempfile creation
1422         * lyx_main.C: ensure that tempdir is valid
1423         * lyxlex.h: correct typo
1424         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1425         * paragraph.[Ch] (isMultiLingual): make const
1426         * cursor.[Ch] (openable): make const
1427
1428 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1429
1430         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1431
1432 2004-02-20  André Pönitz  <poenitz@gmx.net>
1433
1434         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1435
1436         * cursor.[Ch]: prepare for localized getStatus()
1437
1438         * lyxtext.h:
1439         * tabular.C:
1440         * text.C:
1441         * text2.C:
1442         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1443
1444 2004-02-20  André Pönitz  <poenitz@gmx.net>
1445
1446         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1447
1448 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1449
1450         * text2.C (setCursorFromCoordinates): switch to absolute coords
1451         (cursorUp): adjust
1452         (cursorDown): adjust
1453         * text3.C (dispatch): adjust
1454
1455 2004-02-16  André Pönitz  <poenitz@gmx.net>
1456
1457         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1458           insets/ChangeLog)
1459
1460         * cursor_slice.[Ch]: remove unneeded acessor function
1461
1462         * lyxtext.h: rename rtl() to isRTL()
1463
1464         * rowpainter.C:
1465         * tabular.C:
1466         * text.C:
1467         * text2.C:
1468         * text3.C: adjust
1469
1470 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * rowpainter.C (paintSelection): coord fix
1473
1474 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1475
1476         * Spacing.C: compile fix
1477
1478 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1479
1480         * cursor.C (dispatch): restore current_ before returning
1481
1482 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1483
1484         * text2.C (cursorUp, cursorDown): fix coords
1485         (moveUp): fix crash
1486
1487 2004-02-12  André Pönitz  <poenitz@gmx.net>
1488
1489         * lyxtext.h:
1490         * text.C:
1491         * text2.C:
1492         * text3.C: add LCursor & parameter to most cursor movement functions
1493           remove usage of LyXText::cursorRow() and cursorPar()
1494
1495         * cursor.[Ch]: add textRow() needed members
1496
1497         * BufferView.C:
1498         * BufferView_pimpl.C:
1499         * paragraph.[Ch]:
1500         * BufferView.C:
1501         * BufferView_pimpl.C: adjust
1502
1503 2004-02-11  André Pönitz  <poenitz@gmx.net>
1504
1505         * lyxfunc.C:
1506         * BufferView.[Ch]:
1507         * BufferView_pimpl.C: shift undo/redo handling
1508
1509         * cursor.[Ch]: fix mathed crash
1510
1511         * lyxfind.C:
1512         * lyxtext.h: move selectionAsText to LCursor
1513
1514         * output_latex.C:
1515         * paragraph.C:
1516         * text.C:
1517         * text2.C:
1518         * text3.C: adjust
1519
1520         * rowpainter.C: fix excessive drawing
1521
1522 2004-02-06  André Pönitz  <poenitz@gmx.net>
1523
1524         * BufferView.[Ch]:
1525         * BufferView_pimpl.[Ch]:
1526         * text3.C: move some text specific LFUN handling
1527
1528 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1529
1530         * text3.C (checkInsetHit): adjust coords
1531         * text2.C (getColumnNearX): adjust coords
1532         (edit): adjust coords
1533         * text.C (getRowNearY): add two asserts
1534
1535 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1536
1537         * converter.C:
1538         * format.C: add using std::distance to compile on gcc 2.95/stlport
1539
1540 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1541
1542         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1543
1544 2004-02-04  André Pönitz  <poenitz@gmx.net>
1545
1546         * BufferView.[Ch] (insertInset):
1547         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1548
1549         * text2.C:
1550         * text3.C: adjust
1551
1552 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1553
1554         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1555         on the default clause of the switch
1556         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1557         wasn't catched by LCursor::dispatch
1558
1559 2004-02-03  André Pönitz  <poenitz@gmx.net>
1560
1561         * BufferView.C:
1562         * cursor.[Ch]: some additional asserts
1563
1564         * undo.[Ch]: remove LyXText dependency in interface
1565
1566         * lyxfunc.C: adjust
1567
1568         * lyxtext.h (firstPar, lastPar): remove dead functions
1569
1570         * text.C:
1571         * text2.C:
1572         * text3.C:
1573         * paragraph.[Ch]: adjust
1574
1575 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * lyxfind.C (find): fix argument order in call to ::find
1578
1579 2004-02-02  André Pönitz  <poenitz@gmx.net>
1580
1581         * cursor.[Ch]: remove direct access to anchor
1582
1583         * text.C: remove findText() hack
1584
1585 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * iterators.[Ch] (lockPath): remove in favour of...
1588         * BufferView.[Ch] (setCursor): this addition
1589         * BufferView.C (putSelectionAt): adjust
1590         * undo.C (performUndoOrRedo): adjust
1591         * lyxfunc.C (dispatch): adjust
1592
1593 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1594
1595         * iterators.C (lockPath): add a missing slice
1596         * undo.C (performUndoOrRedo): remove redundant positioning code
1597
1598 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1599
1600         * vc-backend.C (scanMaster): ";" -> ';'
1601
1602 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1603
1604         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1605         std::binary_function
1606
1607         * lyxtextclass.C (compare_name): rename to...
1608         (LayoutNamesEqual): ...this
1609
1610         * lyxlex_pimpl.C (compare_tags): inherit from
1611         std::binary_function, put back into anon namespace
1612
1613         * lyxfind.C (MatchString): inherig from std::binary_function
1614         (findChange): use empty() istead of !size()
1615
1616         * format.C (FormatNamesEqual): new functor
1617         (getFormat): use it
1618         (getNumber): use it
1619         (add): use it
1620         (erase): use it
1621         (setViewer): use it
1622
1623         * converter.C (compare_Converter): rename to...
1624         (ConverterEqual): ...this, and fixup a bit.
1625         (getConverter): use it, and make function const
1626         (getNumber): use it, and make function const
1627         (add): use it
1628         (erase): use it:
1629
1630         * bufferlist.C: add using boost::bind
1631
1632         * MenuBackend.C (MenuNamesEqual): new functor
1633         (hasMenu): use it, and make function const
1634         (hasSubmenu): use nested bind to get rid of compare_memfun.
1635
1636 2004-01-30  André Pönitz  <poenitz@gmx.net>
1637
1638         * BufferView_pimpl.C:
1639         * cursor.C:
1640         * cursor.h:
1641         * cursor_slice.[Ch]:
1642         * lyxfunc.C:
1643         * lyxtext.h:
1644         * paragraph_funcs.C:
1645         * paragraph_funcs.h:
1646         * rowpainter.C:
1647         * text.C:
1648         * text2.C:
1649         * text3.C: move some of the edit(x,y) handling to the insets
1650         some coordinate changes.
1651
1652 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1653
1654         * text.C: add using statements for std::advance and std::distance
1655
1656         * paragraph.C: add using statement for std::distance
1657
1658         * lyxfind.C: add using statement for std::advance
1659
1660         * cursor.C (region): remove std:: from swap
1661         (openable): use nucleus in stead of operator->
1662
1663         * BufferView.C: add using statements for std::distance and std::swap
1664
1665 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1666
1667         * iterators.C: Remove the pimple, move the needed structures to
1668         the header file. Create accessor for the positions stack.
1669         (asPosIterator): remove function
1670
1671         * PosIterator.C (PosIterator): move constructors to top of file
1672         (PosIterator): reimplement the constructor taking a ParIterator in
1673         terms of setFrom.
1674         (setFrom): new function
1675         (operator!=): inline it
1676
1677 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1678
1679         * lyxfind.C (replaceAll): use std::advance
1680
1681         * iterators.h: inherit from std::iterator.
1682
1683         * PosIterator.C (advance, distance): remove
1684         * PosIterator.h: interit from std::iterator.
1685
1686 2004-01-26  André Pönitz  <poenitz@gmx.net>
1687
1688         * BufferView.[Ch]:
1689         * BufferView_pimpl.[Ch]:
1690         * InsetList.[Ch]:
1691         * PosIterator.[Ch]:
1692         * buffer.h:
1693         * bufferview_funcs.C:
1694         * cursor.[Ch]:
1695         * cursor_slice.h:
1696         * factory.[Ch]:
1697         * iterators.[Ch]:
1698         * lyxfind.C:
1699         * lyxfunc.C:
1700         * lyxtext.h:
1701         * output_docbook.C:
1702         * output_latex.C:
1703         * output_linuxdoc.C:
1704         * output_plaintext.C:
1705         * paragraph.[Ch]:
1706         * paragraph_funcs.[Ch]:
1707         * paragraph_pimpl.[Ch]:
1708         * rowpainter.C:
1709         * tabular.C:
1710         * tabular.h:
1711         * text.C:
1712         * text2.C:
1713         * text3.C: more IU:  dumps most of the rest of the mathcursor
1714     implementation into cursor.[Ch]; "globalize" a bit of it.
1715
1716 2004-01-25  Angus Leeming  <leeming@lyx.org>
1717
1718         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1719
1720 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1721
1722         * LaTeXFeatures.h: add nice_ and nice() const
1723         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1724
1725 2004-01-20  André Pönitz  <poenitz@gmx.net>
1726
1727         * BufferView.[Ch]:
1728         * BufferView_pimpl.C:
1729         * PosIterator.C:
1730         * bufferview_funcs.C:
1731         * cursor.[Ch]:
1732         * cursor_slice.[Ch]:
1733         * factory.C:
1734         * iterators.C:
1735         * lyx_cb.C:
1736         * lyxfind.C:
1737         * lyxfunc.C:
1738         * lyxtext.h:
1739         * rowpainter.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C:
1743         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1744           LCursor and mathcursor parts to LCursor and InsetBase.
1745
1746 2004-01-15  André Pönitz  <poenitz@gmx.net>
1747
1748         * cursor_slice.[Ch]: add a few covienience functions
1749
1750         * funcrequest.[Ch]: remove BufferView * member
1751
1752         * BufferView_pimpl.C:
1753         * cursor.C:
1754         * factory.[Ch]:
1755         * lyxfind.[Ch]:
1756         * lyxfunc.C:
1757         * lyxtext.h:
1758         * text3.C:
1759         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1760
1761 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1764         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1765
1766 2004-01-13  André Pönitz  <poenitz@gmx.net>
1767
1768         * textcursor.[Ch]:
1769         * lyxtext.h: hide cursor and selection anchor behind accessor function
1770
1771         * BufferView.C:
1772         * BufferView_pimpl.[Ch]:
1773         * PosIterator.C:
1774         * bufferview_funcs.C:
1775         * cursor.h:
1776         * lyxfind.C:
1777         * lyxfunc.C:
1778         * text.C:
1779         * text2.C:
1780         * text3.C:
1781         * undo.C: adjust
1782
1783         * cursor.h:
1784         * cursor_slice.[Ch]: some integer type changes for inset unification
1785
1786         * lyxcursor.[hC]: remove, it's CursorSlice now.
1787
1788         * Makefile.am:
1789         * BufferView_pimpl.[Ch]:
1790         * bufferview_funcs.C:
1791         * cursor_slice.C:
1792         * lyxtext.h:
1793         * text.C:
1794         * text2.C:
1795         * text3.C:
1796         * textcursor.[Ch]: adjust
1797
1798 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * text2.C (undoSpan): add and use
1801         * text.C (breakParagraph): use undoSpan (fix bug 578)
1802         * lyxtext.h: adjust
1803
1804 2004-01-08  Angus Leeming  <leeming@lyx.org>
1805
1806         * BufferView_pimpl.C (MenuInsertLyXFile):
1807         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1808         * lyxfunc.C (menuNew, open, doImport):
1809         FileFilterList change to the FileDialog open and save functions.
1810
1811 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1812
1813         * ShareContainer.h: make isEqual and isUnique adaptable
1814
1815         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1816
1817 2004-01-07  Angus Leeming  <leeming@lyx.org>
1818
1819         * LyXAction.C:
1820         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1821
1822         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1823
1824         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1825         functions replacing find, replace and replaceAll.
1826
1827         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1828         LFUN_WORDFIND(FORWARD|BACKWARD).
1829
1830 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * text.C (breakParagraph): remove an outdated #warning
1833
1834 2004-01-07  André Pönitz  <poenitz@gmx.net>
1835
1836         * lyxfind.C: somewhat clearer logic
1837
1838         * text.C: prevent crash in cursorX on unitialized row cache
1839
1840 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * lyxcursor.[Ch] (operator>): add
1843         * textcursor.C (selStart, selEnd): use std::min and std::max
1844
1845 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1846
1847         * Chktex.C: include boost/format.hpp
1848
1849 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1850
1851         * InsetList.C: replace functor MathcIt with adaptable functor
1852         InsetTablePosLess
1853         (insetIterator): modify accordingly
1854
1855         * BranchList.h: move the BranchNamesEqual functor here from...
1856         * BranchList.C: ... to here
1857
1858         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1859         SameName and match.
1860         (add): replace a finding loop with std::find_if.
1861
1862 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1863
1864         * output_docbook.C: moving LatexParam functionality into
1865         .layout files
1866
1867 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1868
1869         * buffer.C: increment format to 229.
1870
1871 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1872
1873         * LaTeXFeatures.C:
1874         * lyx_sty.[Ch]: remove minipageindent_def
1875
1876         * LyXAction.C:
1877         * factory.C:
1878         * lfuns.h:
1879         * lyxfunc.C:
1880         * text3.C: remove LFUN_INSET_MINIPAGE
1881
1882 2003-12-28  Angus Leeming  <leeming@lyx.org>
1883
1884         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1885
1886 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * text2.C (setParagraph): fix off-by-one crash
1889
1890 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1891
1892         * output_docbook.C: header stuff for AGU
1893
1894 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * text2.C (redoCursor): remove
1897         * text.C:
1898         * text3.C:
1899         * BufferView_pimpl.C: remove calls to redoCursor and
1900         setCursor(cursor.par(), cursor.pos()) all around
1901
1902 2003-12-15  Angus Leeming  <leeming@lyx.org>
1903
1904         * buffer.C: up the format to 228.
1905
1906 2003-12-15  André Pönitz  <poenitz@gmx.net>
1907
1908         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1909         slices
1910
1911         * Makefile.am:
1912
1913         * BufferView_pimpl.C:
1914         * cursor.[Ch]:
1915         * lyxcursor.[Ch]:
1916         * rowpainter.[Ch]:
1917         * lyxtext.h:
1918         * text.C:
1919         * text2.C:
1920         * text3.C: adjust
1921
1922 2003-12-15  Angus Leeming  <leeming@lyx.org>
1923
1924         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1925         than getFromGUIName to manipulate the color.
1926
1927 2003-12-14  Angus Leeming  <leeming@lyx.org>
1928
1929         * BranchList.[Ch]: minimize the API.
1930         (Branch::getBranch, getColor): now return a 'const &'.
1931         (Branch::setSelected) now returns a bool set to true if the
1932         selection status changes.
1933         (BranchList::clear, size, getColor, setColor, setSelected,
1934         allBranches, allSelected, separator): removed.
1935         (BranchList::find): new functions, returning the Branch with
1936         the given name.
1937         (BranchList::add, remove): return a bool indicating that
1938         the operation was successful.
1939
1940         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1941         new InsetBranch::isBranchSlected member function.
1942
1943         * LColor.[Ch]: mimimize the API.
1944         (fill): renamed as addColor and made private.
1945         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1946         versions of these functions taking a string arg have been removed.
1947
1948         * bufferparams.C (readToken):
1949         * lyxfunc.C (dispatch):
1950         * lyxrc.C (read): changes due to the altered BranchList and
1951         LColor APIs.
1952
1953         * factory.C (createInset, readInset): changes due to altered
1954         InsetBranch c-tor.
1955
1956 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1957
1958         * factory.C:
1959         * lyxfunc.C: remove insetminipage. "minipage-insert"
1960         now produces a frameless minipage box inset.
1961
1962 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * textcursor.[Ch] (selStart,selEnd): add new methods
1965         remove selection::start, end, use LyXCursor::operator<
1966         * lyxcursor.[Ch] (operator<): add
1967         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1968         * BufferView.[Ch] (unsetXSel): add
1969         * text2.C (clearSelection): use unsetXSel,adjust
1970         * text.C: adjust
1971         * text3.C: adjust
1972         * rowpainter.C: adjust
1973         * bufferview_funcs.C (put_selection_at): adjust
1974
1975 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * BufferView_pimpl.C: small coord. correction
1978
1979 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1982         dragging over the splash screen.
1983
1984 2003-12-11  Angus Leeming  <leeming@lyx.org>
1985
1986         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1987         as it is now handled in LyXText::dispatch.
1988
1989         * text3.C (doInsertInset): remove a level of nesting.
1990
1991 2003-12-11  Angus Leeming  <leeming@lyx.org>
1992
1993         * factory.C (createInset): changes due to the changed interface to
1994         InsetCommandMailer::string2params.
1995
1996 2003-12-10  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1999         'dialog-show-new-inset <inset name>'
2000
2001 2003-12-10  Angus Leeming  <leeming@lyx.org>
2002
2003         * buffer.C: up the format to 227.
2004
2005         * factory.C: the box inset is now identified simply by 'Box'.
2006
2007 2003-12-10  Angus Leeming  <leeming@lyx.org>
2008
2009         * buffer.C: up the format to 226.
2010
2011         * factory.C: the note inset is now identified simply by 'Note'.
2012
2013 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2014
2015         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2016         when a pit is enough. Standarize a couple of loops.
2017
2018 2003-12-05  Angus Leeming  <leeming@lyx.org>
2019
2020         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2021         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2022         data to the re-worked "log" dialog.
2023
2024 2003-12-03  André Pönitz  <poenitz@gmx.net>
2025
2026         * PosIterator.C:
2027         * iterators.C:
2028         * lyxtext.h:
2029         * output_latex.C:
2030         * paragraph_funcs.C:
2031         * text.C:
2032         * text2.C: use Inset::getText instead of Inset::getParagraph
2033
2034 2003-12-03  André Pönitz  <poenitz@gmx.net>
2035
2036         * buffer.[Ch]:
2037         * lyxtext.h:
2038         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2039         InsetText::read() as LyXText::read()
2040
2041 2003-12-02  Angus Leeming  <leeming@lyx.org>
2042
2043         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2044         type. Add a comment in the implementation that the function uses
2045         the stream's bad() function rather than fail() as the std::streams
2046         would do.
2047
2048 2003-12-02  André Pönitz  <poenitz@gmx.net>
2049
2050         * lyxlex.[Ch]: make interface more similar to std::stream
2051
2052         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2053
2054 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2055
2056         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2057
2058 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2059
2060         * vspace.[Ch]: remove VSpace::NONE
2061
2062 2003-12-01  André Pönitz  <poenitz@gmx.net>
2063
2064         * buffer.[Ch]:
2065         * lyxtext.h: move ParagraphList member to LyXText
2066         rename LyXText::ownerParagraphs to LyXText::paragraph
2067
2068         * CutAndPaste.C:
2069         * bufferview_funcs.C:
2070         * iterators.[Ch]:
2071         * lyx_cb.C:
2072         * paragraph.C:
2073         * rowpainter.C:
2074         * tabular.C:
2075         * text.C:
2076         * text2.C:
2077         * text3.C: adjust
2078
2079         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2080
2081         * undo.C: fix cursor positioning
2082
2083 2003-12-01  John Levon  <levon@movementarian.org>
2084
2085         * BufferView_pimpl.C: fix a crash on exit with
2086         a buffer open
2087
2088 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2089
2090         * BranchList.C: fix setSelected() method.
2091
2092 2003-11-28  André Pönitz  <poenitz@gmx.net>
2093
2094         * ParagraphParameters.[Ch]:
2095         * ParameterStruct.h: remove space above/below from Paragraph to
2096          InsetVSpace
2097
2098         * BufferView_pimpl.C:
2099         * factory.C:
2100         * lyxfunc.C:
2101         * lyxtext.h:
2102         * output_latex.C:
2103         * paragraph.C:
2104         * paragraph_funcs.C:
2105         * rowpainter.[Ch]:
2106         * text.C:
2107         * text2.C:
2108         * text3.C: adjust
2109
2110 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * factory.C: Syntax change for CharStyles
2113
2114 2003-11-28  André Pönitz  <poenitz@gmx.net>
2115
2116         * BufferView.[Ch]:
2117         * BufferView.[Ch]:
2118         * buffer.[Ch]:
2119         * buffer.[Ch]: move LyXText member
2120
2121 2003-11-28  André Pönitz  <poenitz@gmx.net>
2122
2123         * BufferView.[Ch]: make LyXText * text a private member
2124
2125         * BufferView_pimpl.C:
2126         * cursor.C:
2127         * iterators.C:
2128         * lyx_cb.C:
2129         * lyxfind.C:
2130         * lyxtext.h:
2131         * rowpainter.[Ch]:
2132         * text.C:
2133         * text2.C:
2134         * undo.C: adjust
2135
2136         * output_plaintext.C: cleanup
2137
2138 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2139
2140         * buffer.C:
2141         * lyxtextclass.[Ch]: parametrize SGML document header
2142
2143 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2144
2145         * converter.[Ch]:
2146         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2147         getFlavor().
2148
2149 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2150
2151         * text2.C (setFont): rework using PosIterator (no more recursive)
2152         (setCharFont): no more needed
2153         (setLayout): no more selection cursors fiddling (done by redoCursor)
2154         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2155         destroy remaining ones)
2156
2157 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2160         * lyxtext.h: ditto
2161         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2162         selection cursors
2163         * lyxfunc.C: adjust
2164         * text3.C: adjust + re-allow multi par depth changes
2165         * textcursor.C: simplify a bit
2166
2167 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2168
2169         * src/buffer.C:
2170         * src/lyxlayout.C:
2171         * src/lyxlayout.h:
2172         * src/lyxtext.h:
2173         * src/output_docbook.C:
2174         * src/output_latex.C:
2175         * src/paragraph.C:
2176         * src/paragraph.h:
2177         * src/sgml.C:
2178         * src/sgml.h:
2179         * src/text2.C: Introducing a number of tags parametrizing various
2180         XML formats that we may want to support
2181
2182 2003-11-25  André Pönitz  <poenitz@gmx.net>
2183
2184         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2185
2186         * lyxtext.h (leftMargin/rightMargin): simplify interface
2187
2188         * rowpainter.C:
2189         * text.C:
2190         * text2.C:
2191         * text3.C: adjust
2192
2193 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2194
2195         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2196         master file to any child files. Fixes bug 546.
2197
2198 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2201
2202 2003-11-24  André Pönitz  <poenitz@gmx.net>
2203
2204         * rowpainter.C: simplification
2205
2206         * text2.C (updateCounters): remove call to redoParagraph on
2207         changed labels as this is far too expensive.
2208
2209 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2210
2211         * converter.C (convert): fix a crash: this function gets
2212         called with buffer == 0 from importer code.
2213
2214 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2215
2216         * text3.C (cursorPrevious): make sure that we do not compare
2217         iterators form different containers.
2218         (cursorNext): ditto
2219
2220         * rowpainter.C (paintSelection): make sure that we do not compare
2221         iterators from different containers.
2222
2223         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2224         iterators from different ParagraphList containers.
2225         [NEXT] ditto
2226
2227         * text2.C (LyXText): change order of initialization slightly
2228         (operator=): new function. copy all variables except cache_par_
2229         (moveUp): make sure that we do not compare iterators from
2230         different ParagraphList constainers.
2231         (moveDown): ditto
2232
2233         * text.C (firstPar): new function
2234         (lastPar): new function
2235         (endPar): new function
2236
2237         * lyxtext.h: move things around and group public functions, public
2238         variables, private functions, private variables
2239
2240 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2241
2242         * factory.C: change call to InsetERT constructor to avoid
2243         additional invocation of method status
2244         * text2.C (toggleInset): remove redundant update() call
2245         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2246         instead of a Bufferview pointer
2247
2248 2003-11-21  André Pönitz  <poenitz@gmx.net>
2249
2250         * rowpainter.C: simplification
2251
2252 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2253
2254         * text3.C (dispatch): make possible to extend a word/row selection
2255         with the mouse
2256
2257 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2258
2259         * lyxtext.h: x0_,y0_ -> xo_,yo_
2260         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2261         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2262         * rowpainter.C (paintRows): paint full paragraphs
2263
2264 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2267         screen coordinates)
2268
2269 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * lyxtext.h: add x0_, y0_
2272         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2273         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2274
2275 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * text2.C (setCursorIntern): move the x_target update here *
2278         * text3.C: change some bv() to true/false in calls to
2279         cursorUp/Down/Right/Left
2280         * cursor.C: use helper function.
2281
2282 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2283
2284         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2285         * paragraph_funcs.[Ch]: correct comment
2286         * rowpainter.C: do not paint selections away from bv->cursor()
2287         Fix a long standing selection painting bug.
2288         * text3.C: generalize mouse-selection code to LyXTexts other that
2289         top one
2290         * textcursor.C: do not use y coords if we can use par offsets
2291
2292 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2295         cursor position after e.g. inset insert)
2296
2297 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * lyxfind.C (replace): adjust to locking removal + some
2300         code simplification
2301
2302 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2305         of the path
2306
2307 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2308
2309         * lyxlayout.[Ch]:
2310         * output_docbook.C: XML sanitation: new layout
2311         parameters InnerTag and CommandDepth
2312
2313 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2314
2315         * BufferView_pimpl.C:
2316         * factory.C:
2317         * text3.C: Fix the insertion and modification of button-style
2318         insets
2319
2320 2003-11-13  André Pönitz  <poenitz@gmx.net>
2321
2322         * InsetList.[Ch]: remove deleteLyXText
2323
2324         * paragraph.[Ch]: cache beginOfBody position
2325
2326         * Bidi.C:
2327         * text.C:
2328         * text2.C:
2329         * text3.C: remove superfluous update() calls
2330
2331         * vspace.C: cleanup
2332
2333 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2336         * BufferView.C (fitLockedInsetCursor): remove
2337         * cursor.[Ch] (getDim): add
2338         * text.C (getRowNearY): add faster version
2339         * text3.C: remove some update calls
2340
2341 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * LaTeXFeatures.C:
2344         * LyXAction.C:
2345         * MenuBackend.C:
2346         * MenuBackend.h:
2347         * dispatchresult.h:
2348         * factory.C:
2349         * lfuns.h:
2350         * lyxfunc.C:
2351         * lyxtextclass.C:
2352         * lyxtextclass.h:
2353         * text3.C: The Character Style /XML short element patch.
2354
2355 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * text3.C:
2358         * factory.C: Small step to solving 'unable to insert some insets'
2359         problem
2360
2361 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * cursor.[Ch] (updatePos): new function for updating the y
2364         position of the tip inset
2365         * bufferview_funcs.C (put_selection_at):
2366         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2367
2368 2003-11-11  André Pönitz  <poenitz@gmx.net>
2369
2370         * text.C: remove big comment on invalid Paragraph pointers as it is
2371         not valid anymore
2372
2373 2003-11-11  André Pönitz  <poenitz@gmx.net>
2374
2375         * text_funcs.[Ch]: merge with ...
2376
2377         * text.C: ... this
2378
2379         * lyxtext.h:
2380         * text2.C:
2381         * text3.C: adjust
2382
2383         * Makefile.am: remove text_funcs.[Ch]
2384
2385 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * cursor.C (getPos): return absolute cached y coord
2388
2389         * BufferView_pimpl.C (fitCursor): new simplistic code
2390         (workAreaDispatch): add a fitCursor call
2391
2392 2003-11-10  André Pönitz  <poenitz@gmx.net>
2393
2394         * BufferView.[Ch]:
2395         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2396
2397 2003-11-10  André Pönitz  <poenitz@gmx.net>
2398
2399         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2400         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2401         indicate that the cursor needs to leave an inset
2402
2403         * lyxtext.h: remove inset locking
2404
2405         * cursor.[Ch]: re-implement functionality provided by inset locking
2406
2407         * BufferView.[Ch]:
2408         * BufferView_pimpl.[Ch]:
2409         * LyXAction.C:
2410         * bufferview_funcs.[Ch]:
2411         * factory.C:
2412         * funcrequest.[Ch]:
2413         * iterators.C:
2414         * lyx_cb.C:
2415         * lyxfind.C:
2416         * lyxfunc.C:
2417         * text.C:
2418         * text2.C:
2419         * text3.C:
2420         * undo.C: adjust
2421
2422 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * PosIterator.[Ch]: replace the stack with a vector, add inset
2425         accesor
2426         * iterators.[C]: adjust
2427
2428 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2431         replaced
2432         * paragraph_funcs.C (readParToken): put the correct id in the
2433         error item, not the id of the top paragraph
2434
2435 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2436
2437         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2438         * bufferview_funcs.C (put_selection_at): use the above
2439
2440 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2441
2442         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2443
2444 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2445
2446         * output_linuxdoc.h:
2447         * output_plaintext.h:
2448         * output.h:
2449         * output_docbook.h: add #include statements
2450
2451 2003-11-05  José Matos  <jamatos@lyx.org>
2452
2453         * output_docbook.[Ch]:
2454         * output_latex.[Ch]:
2455         * output_linuxdoc.[Ch]:
2456         * output_plaintext.[Ch]: New files for output formats.
2457         * output.[Ch]: New file for helper functions.
2458
2459         * buffer.[Ch]:
2460         * paragraph_funcs.[Ch]: output functions moved to new files.
2461
2462         * outputparams.h: rename of latexrunparams.h
2463
2464         * LaTeX.[Ch]:
2465         * buffer.[Ch]:
2466         * bufferlist.[Ch]:
2467         * converter.[Ch]:
2468         * exporter.C:
2469         * paragraph.[Ch]:
2470         * paragraph_funcs.[Ch]:
2471         * paragraph_pimpl.[Ch]:
2472         * tabular.[Ch]: rename ascii to plaintext
2473         and LatexRunParams to OutputParams.
2474
2475 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2476
2477         * iterators.[Ch] (text): require bv argument
2478         * undo.C (recordUndo):
2479         * lyxfunc.C (dispatch):
2480         * bufferview_funcs.C (put_selection_at): adjust
2481
2482 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2483
2484         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2485
2486 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2487
2488         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2489         nestings
2490
2491 2003-11-04  André Pönitz  <poenitz@gmx.net>
2492
2493         * cursor.[Ch]: restructure
2494
2495         * BufferView.[Ch]:
2496         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2497
2498         * iterators.[Ch] (asCursor): remove
2499
2500         * lfuns.h: remove LFUN_INSET_EDIT
2501
2502         * lyxfunc.C:
2503         * tabular.C:
2504         * text.C:
2505         * text2.C:
2506         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2507
2508 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * lyxfind.[Ch]: complete overhaul
2511         * BufferView_pimpl.C:
2512         * lyxfunc.C: adjust
2513         * paragraph.[Ch] (insert): add
2514
2515 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * BufferView.[Ch]:
2518         * lyxtext.h:
2519         * text.C: remove dead spellcheck code
2520
2521 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2522
2523         * dispatchresult.h: add a val setter
2524
2525         * cursor.C (dispatch): use a tempvar for data_[i]
2526
2527 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2528
2529         * PosIterator.[Ch]: compile fix
2530
2531 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2532
2533         * text.C (cursorPar): deactivate the cursor cache
2534
2535 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2536
2537         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2538
2539 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * text3.C (dispatch): adjust for new DisptchResult semantics.
2542
2543         * lyxfunc.C (dispatch): handle update when return from
2544         Cursor::dispatch, adjust for new DispatchResult semantics.
2545
2546         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2547         DispatchResult(true) mean to not update. Add class functions for
2548         setting dispatched and update, as well as reading.
2549
2550         * cursor.C (dispatch): don't handle update here
2551
2552 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2555         * trans_mgr.C: adjust
2556
2557         * paragraph_funcs.C (readParToken): exception safety
2558
2559         * lyxvc.h: store the vcs pointer in a scoped_ptr
2560         * lyxvc.C: adjust
2561
2562         * lyxsocket.C (serverCallback): exception safety
2563
2564         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2565
2566         * ispell.C (clone): make it return a auto_ptr
2567
2568         * factory.C (createInset): exception safety
2569         (readInset): exception safety
2570
2571         * bufferlist.C (newBuffer): exception safety
2572
2573         * Thesaurus.C (Thesaurus): use initialization for aik_
2574
2575         * MenuBackend.C (expandToc): exception safety.
2576
2577 2003-11-03  André Pönitz  <poenitz@gmx.net>
2578
2579         * buffer.C:
2580         * buffer.h:
2581         * bufferview_funcs.C: remove getInsetFromId()
2582
2583         * lyxcursor.[Ch]:
2584         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2585
2586         * lyxfunc.C:
2587         * text2.C:
2588         * text3.C: adjust
2589
2590 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * PosIterator.C (distance, advance): new
2593         * bufferview_funcs.[Ch] (put_selection_at): new
2594         * iterators.[Ch] (lockPath): new
2595
2596 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * iterators.[Ch] (asPosIterator): added
2599         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2600         * PosIterator.[Ch]: added
2601
2602 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * text3.C:
2605         * lyxfunc.C:
2606         * cursor.C (dispatch):
2607         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2608
2609         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2610         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2611         contructor, add a class function dispatched. Remove operator>=
2612
2613 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2614
2615         * debug.C: only use the default constructor for debugstream
2616         (lyxerr) here.
2617
2618         * main.C (main): include debug.h and setup the lyxerr streambuf
2619         here.
2620
2621 2003-10-31  José Matos  <jamatos@lyx.org>
2622
2623         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2624
2625         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2626         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2627         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2628         * paragraph_pimpl.C (simpleTeXSpecialC):
2629         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2630         add LatexRunParams argument.
2631
2632         * exporter.C (Export): change call accordingly.
2633
2634         * latexrunparams.h: add new member to take care of the other backends.
2635 2003-10-30  José Matos  <jamatos@lyx.org>
2636
2637         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2638         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2639         factorise code for paragraph output.
2640         * buffer.[Ch]:
2641         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2642         move functions.
2643
2644 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * text3.C (dispatch):
2647         * lyxfunc.C (dispatch):
2648         * cursor.C (dispatch):
2649         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2650
2651         * dispatchresult.h: make the dispatch_result_t ctor explicit
2652
2653 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * sgml.[Ch]:
2656         * buffer.C: small refactoring of docbook stuff
2657
2658 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2661         meaning.
2662
2663 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2666         operator dispatch_result_t, and operators for == != and >=
2667
2668         * cursor.C (dispatch): adjust for operator dispatch_result_t
2669         removal. comment out call to update
2670
2671         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2672
2673 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * text3.C:
2676         * text2.C:
2677         * text.C:
2678         * lyxtext.h:
2679         * lyxfunc.C:
2680         * cursor.C:
2681         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2682         (dispatch):
2683
2684         * dispatchresult.h: new file, DispatchResult broken out of
2685         insets/insetbase.h
2686
2687         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2688
2689 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2690
2691         * text.C (rowBreakPoint): put a hack inside #if 0
2692
2693 2003-10-28  André Pönitz  <poenitz@gmx.net>
2694
2695         * lyxtext.h:
2696         * metricsinfo.C:
2697         * paragraph_funcs.C:
2698         * rowpainter.C:
2699         * text.C:
2700         * text2.C: general cleanup (lots of small stuff)
2701
2702 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * text2.C (cursorEnd): simple fix to the "end key goes to one
2705         before the end on last row" bug
2706
2707 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * text.C (backspace): fix the "zombie characters"
2710
2711 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2714
2715 2003-10-27  André Pönitz  <poenitz@gmx.net>
2716
2717         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2718
2719         * factory.C: handle new InsetPagebreak, InsetLine
2720
2721         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2722         and move handling into new InsetPagebreak, InsetLine
2723
2724         * BufferView_pimpl.C:
2725         * LyXAction.C:
2726         * ParagraphParameters.C:
2727         * ParameterStruct.h:
2728         * lyxfunc.C:
2729         * lyxtext.h:
2730         * paragraph.C:
2731         * paragraph.h:
2732         * paragraph_funcs.C:
2733         * paragraph_pimpl.C:
2734         * rowpainter.C:
2735         * text.C:
2736         * text2.C:
2737         * text3.C: adjust
2738
2739 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * text.C:
2742         * lyxrow_funcs.[Ch]:
2743         * Bidi.C:
2744         * paragraph.C:
2745         * lyxtext.h:
2746         * rowpainter.C:
2747         * text2.C:
2748         * text3.C: remove lastPos uses in favour of Row::endpos
2749
2750 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * undo.C (performUndoOrRedo): fix two crashes by setting a
2753         cursor by hand and reordering some calls. Use bv->lockInset instead
2754         of inset->edit because the latter loses cursor information
2755
2756 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2757
2758         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2759         by Martin
2760         (rowBreakPoint): fix width. change point to point + 1.
2761         Add a missing check.
2762
2763 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * MenuBackend.C:
2766         * lyxfunc.C: fix (at least partly) the problems
2767         with the Nav menu and headers inside branch insets
2768         reported by Kayvan
2769
2770 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * paragraph.C (getChar): add strong asserts
2773
2774         * lyxrow_funcs.C (lastPos): remove hideous hack
2775
2776         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2777         (fill): adjust to that (avoid an infinite loop)
2778
2779 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2782
2783 2003-10-23  André Pönitz  <poenitz@gmx.net>
2784
2785         * RowList_fwd.h: change list<> to vector<> to gain speed
2786         after suggestion from Alfredo
2787
2788 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * lyxtext.h: move the bidi stuff from here...
2791         * text.C: and here
2792         * text2.C: and here
2793         * Bidi.[Ch]: ... to here
2794
2795 2003-10-23  André Pönitz  <poenitz@gmx.net>
2796
2797         * lyxtext.h:
2798         * text.C (isLastRow, isFirstRow): new functions
2799
2800         * paragraph.h: new width cache member
2801
2802         * rowpainter.C: replace RowList::iterator with Row & where possible
2803
2804         * lyxfunc.C: replace several view()->text with a single call
2805
2806         * toc.C: fix 'unused' warning
2807
2808 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2809
2810         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2811         when woring with stream::pos_type
2812         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2813
2814 2003-10-22  André Pönitz  <poenitz@gmx.net>
2815
2816         * lyxtext.h:
2817         * text.C: use Row & instead of RowList::iterator
2818
2819         * lyxrow.h: rename end() to endpos()
2820
2821         * rowpainter.C:
2822         * text.C:
2823         * text2.C: adjust
2824
2825 2003-10-22  Angus Leeming  <leeming@lyx.org>
2826
2827         * buffer.[Ch] (fully_loaded): new member function, returning true
2828         only when the file has been loaded fully.
2829         Used to prevent the premature generation of previews and by the
2830         citation inset to prevent computation of the natbib-style label.
2831
2832         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2833         templates are all set up.
2834
2835         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2836
2837 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2838
2839         * text.C: fixed an "oops" in the "is a bit silly"
2840         bug fix
2841
2842 2003-10-21  André Pönitz  <poenitz@gmx.net>
2843
2844         * FuncStatus.[Ch]: small stuff, whitespace
2845
2846         * lyxfont.[Ch]: operator<<() for debug reasons
2847
2848         * lyxfunc.C:
2849         * lyxrow_funcs.C:
2850         * lyxtext.h: whitespace, spelling
2851
2852         * paragraph.C: naming of variables
2853
2854         * text.C:
2855         * text2.C: small stuff
2856
2857
2858 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2859
2860         * text.C: (1) finish off the inset display() work;
2861         (2) fix the "is a bit silly" bug (accessing char
2862         past end of par).
2863
2864 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2865
2866         * text.C: re-introduce display() for insets, fixing the
2867         various bugs (stretch of line above, math inset
2868         positioning, ...)
2869
2870 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * text.C (rightMargin): remove spurious semicolon
2873
2874         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2875         1415)
2876
2877 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2878
2879         * text3.C: fix one crash due to wrong cursor def
2880
2881 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * vc-backend.C (scanMaster): make the regex static
2884
2885         * LaTeX.C (scanAuxFile): make the regexs static
2886
2887         * text3.C (doInsertInset, dispatch, dispatch):
2888         * text2.C (cursorUp, cursorDown):
2889         * text.C (selectNextWordToSpellcheck):
2890         * BufferView_pimpl.C (dispatch):
2891         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2892
2893 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * lyxsocket.C: include <cerrno>
2896
2897 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * lyxfunc.C (dispatch): remove textcache stuff
2900
2901         * bufferlist.C (release): remove textcache stuff
2902         (closeAll): ditto
2903
2904         * TextCache.C: delete file
2905         * TextCache.h: delete file
2906
2907         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2908
2909         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2910         delete of the bv_->text.
2911         (resizeCurrentBuffer): remove texcache stuff
2912         (workAreaResize): ditto
2913
2914 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2915
2916         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2917         action.
2918
2919 2003-10-16  André Pönitz  <poenitz@gmx.net>
2920
2921         * lyxrow.[Ch]:
2922         * paragraph.h:
2923         * rowpainter.C:
2924         * text.C:
2925         * text2.C:
2926         * text3.C: speed up by storing y positions per paragraph plus per-row
2927         offset instead of having a 'full' y position in the row.
2928
2929 2003-10-15  André Pönitz  <poenitz@gmx.net>
2930
2931         * iterators.[Ch]:
2932         * iterators.[Ch]:
2933         * undo.[Ch]: make undo aware of inner insets
2934
2935 2003-10-14  Angus Leeming  <leeming@lyx.org>
2936
2937         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2938         static member functions LyX::ref() and LyX::cref.
2939         (lastfiles): new accessor functions for the new lastfiles_ member var.
2940         (addLyXView, views_): add a new LyXView to the list of views_.
2941         (updateInset): loop over all LyXViews to call their own updateInset
2942         member function, returning a pointer to the Buffer owning the inset.
2943
2944         * BufferView_pimpl.C (loadLyXFile):
2945         * MenuBackend.C (expandLastfiles):
2946         * bufferlist.C (MenuWrite, QuitLyX):
2947         lastfiles is no longer a global variable.
2948         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2949
2950         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2951         static function. Access through LyX::cref().emergencyCleanup().
2952
2953 2003-10-14  André Pönitz  <poenitz@gmx.net>
2954
2955         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2956
2957         * undo.[Ch]: restoring part of 'undo in insets'
2958
2959         * Makefile.am:
2960         * undo_funcs.[Ch]: merge with undo.[Ch]
2961
2962         * tabular.C: small cleansing stuff
2963
2964 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * paragraph_funcs.C (readParToken): report unknown insets as error
2967         boxes. Use the outer paragraph as location (also for unknown
2968         tokens).
2969
2970         * factory.C (readInset): do not abort on reading an unknown inset.
2971         Eat it and return 0.
2972
2973 2003-10-13  Angus Leeming  <leeming@lyx.org>
2974
2975         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2976
2977         * lyxrc.C: displayTranslator is now a function,
2978         declared in GraphicsTypes.h.
2979
2980 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2981
2982         * format.C: new placeholder $$a to pass the socket address.
2983
2984         * bufferlist.[Ch]: new function getBufferFromTmp.
2985
2986         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2987           files in the temporary dir.
2988
2989 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2990
2991         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2992
2993         * Makefile.am: add lyxsocket.[Ch].
2994
2995         * lyx_main.C (error_handler): handle SIGPIPE.
2996
2997 2003-10-13  André Pönitz  <poenitz@gmx.net>
2998
2999         * BufferView_pimpl.C:
3000         * lyxtext.h:
3001         * text.C:
3002         * text2.C:
3003         * text3.C:
3004         * undo_funcs.[Ch]: use paroffset_type instead of
3005           ParagraphList::iterators to prevent multiple conversion
3006           (and get a more robust interface)
3007
3008 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3011         * lyxtext.h: ditto
3012         * text3.C (dispatch): ditto
3013
3014 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3017         move the onlyfile, use onlyfile instead of foundfile in a couple
3018         of places.
3019
3020         * DepTable.C (update): flush the error stream a bit more
3021
3022 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * lyxserver.C (callback): adjust
3025
3026         * lyxfunc.C (getStatus): add a missing brace in commented code
3027         (ensureBufferClean): reindent
3028         (dispatch): delete version taking a string
3029
3030 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * LaTeX.C (deplog): move found file handlig from here...
3033         (handleFoundFile): .. to new function here.
3034         (deplog): make sure to discover several files mentioned on the
3035         same log line.
3036
3037 2003-10-10  André Pönitz  <poenitz@gmx.net>
3038
3039         * lyxfunc.C:
3040         * lyxtext.h:
3041         * tabular.C:
3042         * text.C:
3043         * text2.C:
3044         * text3.C: fix some of the tabular crashes
3045
3046 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3047
3048         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3049
3050         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3051
3052 2003-10-09  André Pönitz  <poenitz@gmx.net>
3053
3054         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3055
3056         * BufferView.C:
3057         * BufferView_pimpl.C:
3058         * bufferview_funcs.C:
3059         * lyx_cb.C:
3060         * lyxcursor.C:
3061         * lyxfind.C:
3062         * lyxfunc.C:
3063         * lyxtext.h:
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * text_funcs.[Ch]:
3068         * textcursor.[Ch]:
3069         * undo_funcs.C: adjust
3070
3071 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * text2.C (incrementItemDepth): new function, use a backtracking
3074         algorithm to discover the correct item depth.
3075         (resetEnumCounterIfNeeded): new function, use a backtracking
3076         algorithm to discover if counter reset is needed.
3077         (setCounter): use them. Simplify a bit. Add different labels for
3078         different item depths for itemize.
3079
3080         * paragraph.C (Paragraph): remove initialization of enumdepth
3081         (operator=): ditto
3082
3083         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3084         enumerate and itemize. Change the type of itemdepth to signed char.
3085
3086 2003-10-08  André Pönitz  <poenitz@gmx.net>
3087
3088         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3089           thing assignable.
3090         * text.C:
3091         * text2.C: adjust
3092
3093         * tabular.[Ch]: fix crash after 'row-insert'
3094
3095 2003-10-08  Angus Leeming  <leeming@lyx.org>
3096
3097         Fix doxygen warnings.
3098
3099         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3100         Remove CutAndPaste:: prefix from header file declaration.
3101
3102         * LColor.h (fill): remove LColor:: prefix from declaration.
3103
3104         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3105         use lyx::depth_type rather than Paragraph::depth_type so that
3106         header file and .C file match.
3107
3108         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3109
3110         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3111         * aspell.C: \file aspell_local.C -> \file aspell.C
3112         * gettext.C: \file gettext.C -> \file src/gettext.C
3113         * gettext.h: \file gettext.h -> \file src/gettext.h
3114         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3115         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3116         * text.C: \file text.C -> \file src/text.C
3117
3118         * toc.C: move comment so that doxygen is not confused.
3119
3120 2003-10-07  Angus Leeming  <leeming@lyx.org>
3121
3122         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3123
3124 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3125
3126         * aspell.C:
3127         * aspell_local.h: add forgotten std::string's.
3128
3129 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3130
3131         * LaTeXFeatures.C:
3132         * LyXAction.C:
3133         * factory.C:
3134         * lfuns.h:
3135         * lyxfunc.C:
3136         * text3.C: The Box patch. Fancybox support, minipage, parbox
3137
3138 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3139
3140         * CutAndPaste.h:
3141         * DepTable.h:
3142         * FloatList.h:
3143         * LaTeXFeatures.h:
3144         * ParagraphParameters.h:
3145         * TextCache.h:
3146         * Thesaurus.h:
3147         * bufferlist.h:
3148         * exporter.h:
3149         * importer.h:
3150         * lastfiles.h:
3151         * lyxfind.h:
3152         * lyxfont.h:
3153         * lyxlex.h:
3154         * lyxtextclasslist.h:
3155         * messages.h:
3156         * paragraph.h:
3157         * paragraph_pimpl.C:
3158         * textcursor.h: add <string> and other small fixes to make Lars'
3159         std::string patch compile with STLport.
3160
3161 2003-10-06  Angus Leeming  <leeming@lyx.org>
3162
3163         * LColor.h: Add missing #include <string>.
3164
3165 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * All most all file in all subdirs: Make <string> be the prefered
3168         way of getting to std::string, add using declarations.
3169
3170 2003-10-06  André Pönitz  <poenitz@gmx.net>
3171
3172         * metricsinfo.C: initialize LyXFont before changing attribute.
3173         (fixes the 'math in \emph is upright' bug)
3174
3175 2003-10-06  André Pönitz  <poenitz@gmx.net>
3176
3177         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3178
3179 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * graph.C:
3182         * paragraph_pimpl.C: Small fixes to build using STLport
3183
3184 2003-10-02  André Pönitz  <poenitz@gmx.net>
3185
3186         * lyxfunc.C:
3187         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3188
3189 2003-10-01  André Pönitz  <poenitz@gmx.net>
3190
3191         * factory.C: assert early
3192
3193 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * lyx_main.C: remove the global debug object
3196
3197         * debug.h: adjust for new debugstream
3198
3199         * debug.C: adjust for new debugstream and keep the global debug
3200         object here.
3201
3202 2003-09-22  Angus Leeming  <leeming@lyx.org>
3203
3204         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3205         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3206         an incomplete class LyXFont.
3207
3208 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3209
3210         * factory.C: bug fix in branches
3211
3212 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3213
3214         * lyxfunc.C (processKeySym): adjust
3215         (dispatch): adjust
3216         (dispatch): change arg name from ev to func, adjust
3217         (sendDispatchMessage): ditto
3218
3219         * lyx_main.C (defaultKeyBindings): adjust keybindings
3220         (deadKeyBindings): ditto
3221
3222         * kbsequence.C (addkey): return a FuncRequest
3223
3224         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3225
3226         * kbmap.C (bind): take a FuncRequest as arg, adjust
3227         (read): adjust
3228         (lookup): adjust
3229         (defkey): change to take a FuncRequest as arg, adjust
3230         (findbinding): take a FuncRequest as arg, adjust.
3231
3232         * funcrequest.h (operator=): added
3233
3234         * funcrequest.C (FuncRequest): default kb_action changed from
3235         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3236
3237         * buffer.C (dispatch): simplify
3238         (dispatch): adjust to take a FuncRequest as arg, adjust
3239
3240         * boost.C (assertion_failed): change assertion message slightly
3241
3242         * ToolbarBackend.C (read): simplify
3243
3244         * MenuBackend.C (binding): adjust call to findbinding, add a
3245         message if no binding is found.
3246         (read): simplify
3247         (expandToc): correct by adding a empty FuncRequest
3248
3249         * LyXAction.C: include <boost/assert.hpp>
3250         (isPseudoAction): delete function
3251         (LookupFunc): change name to...
3252         (lookupFunc): this. change return type to FuncRequest.
3253         (getActionName): take kb_action as arg, simplify
3254         (funcHasFlag): add an assert, simplify.
3255
3256 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * toc.C (action): return a FuncRequest, simplify
3259
3260         * lyxfunc.C (processKeySym): adjust
3261         (getStatus): delete version that takes an int.
3262         (getStatus): adjust
3263         (dispatch): delete version that takes action as int
3264         (dispatch): adjust
3265         (sendDispatchMessage): simplify and adjust
3266
3267         * funcrequest.C (getArg): take unsigned int as arg
3268
3269         * ToolbarBackend.C (read): adjust
3270         (add): delete version that takes func as a string.
3271         (getIton): take a FuncRequest as arg
3272
3273         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3274         action.
3275
3276         * MenuBackend.C (MenuItem): add a new construct that only takes a
3277         Kind, simplify the constructor use for submenus.
3278         (add): adjust
3279         (expandLastfiles): adjust
3280         (expandDocuments): adjust
3281         (expandFormats): adjust
3282         (expandFloatListInsert): adjust
3283         (expandFloatInsert): adjust
3284         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3285
3286         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3287         Remove class variables lyx_pseudo_map and lyx_arg_map
3288
3289         * LyXAction.C (searchActionArg): delete function
3290         (getPseudoAction): delete function
3291         (retrieveActionArg): delete function
3292         (LookupFunc): make it return kb_action, simplify.
3293         (getActionName): simplify
3294
3295         * factory.C (createInset): fix new bug
3296
3297 2003-09-19  Angus Leeming  <leeming@lyx.org>
3298
3299         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3300         masterFilename_ parameter in the include inset.
3301
3302         * factory.C (createInset): changes due to the changes to InsetInclude.
3303
3304 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3305
3306         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3307
3308 2003-09-18  Angus Leeming  <leeming@lyx.org>
3309
3310         * buffer.C:
3311         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3312         Inset::fillWithBibKeys.
3313         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3314
3315 2003-09-18  Angus Leeming  <leeming@lyx.org>
3316
3317         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3318         variables.
3319         (ctor): pass and store a 'Buffer const &'
3320         (buffer): new member function.
3321
3322         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3323         '*this' to the LaTeXFeatures ctor.
3324
3325 2003-09-18  Angus Leeming  <leeming@lyx.org>
3326
3327         * LColor.h:
3328         * lyxfont.C:
3329         * lyxfont.h:
3330         * lyxtext.h:
3331         * text.C: rename EnumLColor as LColor_color.
3332
3333 2003-09-18  Angus Leeming  <leeming@lyx.org>
3334
3335         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3336         remove #include "insets/insetbase.h" from cursor.h.
3337
3338 2003-09-18  Angus Leeming  <leeming@lyx.org>
3339
3340         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3341         InsetOld_code to remove #include "inset.h".
3342
3343         * iterators.C: add #include "insets/inset.h"
3344
3345 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * BufferView.C: remove more locking stuff that apparently doesn't
3348         do anything sensible.
3349
3350 2003-09-16  André Pönitz  <poenitz@gmx.net>
3351
3352         * paragraph.[Ch]:
3353         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3354           performance boost.
3355
3356 2003-09-16  Angus Leeming  <leeming@lyx.org>
3357
3358         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3359
3360         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3361         arg/return type.
3362
3363         * paragraph.h: remove #include "lyxfont.h". Forward declare
3364         LyXFont_size.
3365
3366 2003-09-16  Angus Leeming  <leeming@lyx.org>
3367
3368         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3369         of support/textutils.h.
3370         (isWord): move the contents of support/textutils.h's IsWordChar here.
3371
3372         * buffer.C:
3373         * lyxfind.C:
3374         * rowpainter.C:
3375         * text.C:
3376         * text2.C: add #include "paragraph.h".
3377
3378         * rowpainter.C:
3379         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3380
3381 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * main.C:
3384         * lyx_main.C:
3385         * lyx_cb.C:
3386         * buffer.C:
3387         * LaTeX.C: use namespace alias for lyx::support::os
3388
3389 2003-09-16  Angus Leeming  <leeming@lyx.org>
3390
3391         * bufferparams.C:
3392         * bufferview_funcs.C:
3393         * factory.C:
3394         * lyxfunc.C:
3395         * paragraph_pimpl.C:
3396         * rowpainter.C:
3397         * text.C: add #include "LColor.h".
3398
3399 2003-09-16  Angus Leeming  <leeming@lyx.org>
3400
3401         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3402         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3403         return LyXFont &.
3404         Store the FontBits::color variable as an int rather than as an
3405         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3406         file.
3407
3408         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3409         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3410         string calls together.
3411
3412         * lyxrc.C: add #include "LColor.h".
3413
3414 2003-09-15  Angus Leeming  <leeming@lyx.org>
3415
3416         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3417         a cow_ptr.
3418
3419 2003-09-15  Angus Leeming  <leeming@lyx.org>
3420
3421         * LColor.h: add an EnumLColor wrapper for LColor::color.
3422
3423         * lyxfont.[Ch] (color, setColor, realColor):
3424         * lyxtext.h, text.C (backgroundColor):
3425         pass EnumLColor args to/from the functions, rather than LColor::color
3426         ones.
3427
3428         * lyxfont.h:
3429         * lyxtext.h: forward declare EnumLColor.
3430
3431         * lyx_main.C: add #include "LColor.h".
3432
3433 2003-09-15  Angus Leeming  <leeming@lyx.org>
3434
3435         * .cvsignore: add lyx-gtk.
3436
3437 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * Chktex.C
3440         * LaTeX.C
3441         * LaTeXFeatures.C
3442         * ParagraphParameters.C
3443         * Spacing.C
3444         * buffer.C
3445         * bufferparams.C
3446         * bufferview_funcs.C
3447         * chset.C
3448         * counters.C
3449         * funcrequest.C
3450         * lyxfont.C
3451         * lyxgluelength.C
3452         * lyxlength.C
3453         * paragraph.C
3454         * paragraph_funcs.C
3455         * text3.C
3456         * vc-backend.C: remove usage of STRCONV
3457
3458 2003-09-15  Angus Leeming  <leeming@lyx.org>
3459
3460         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3461         explicitly define the color passed to the painter.
3462
3463 2003-09-15  Angus Leeming  <leeming@lyx.org>
3464
3465         * bufferparams.C (BufferParams): reorder member initializers to avoid
3466         compiler warning.
3467
3468 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3471         * text.C (updateRowPositions): remove an unusual nop
3472
3473 2003-09-12  André Pönitz  <poenitz@gmx.net>
3474
3475         * BufferView_pimpl.C:
3476         * Bullet.C:
3477         * layout.h:
3478         * lyxfunc.C:
3479         * lyxlayout.[Ch]:
3480         * lyxtextclass.C:
3481         * rowpainter.C:
3482         * text.C:
3483         * text2.C:
3484         * Counters.[Ch]: finish the 'automatic counters' job
3485
3486 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3487
3488         * aspell.C: include <boost/assert.cpp> (compile fix)
3489
3490 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3491
3492         * boost.C (assertion_failed): use lyx::support::abort instead of
3493         assert.
3494
3495 2003-09-10  Angus Leeming  <leeming@lyx.org>
3496
3497         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3498         with their _fwd progeny.
3499
3500 2003-09-09  Angus Leeming  <leeming@lyx.org>
3501
3502         134 files throughtout the source tree: replace 'using namespace abc;'
3503         directives with the appropriate 'using abc::xyz;' declarations.
3504
3505 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3506
3507         * boost.C (emergencyCleanup): moved here from LAssert.c
3508         (assertion_failed): new function, called by BOOST_ASSERT
3509
3510         * several files: change Assert to BOOST_ASSERT
3511
3512 2003-09-09  Angus Leeming  <leeming@lyx.org>
3513
3514         * buffer.[Ch]: Add an Impl class and move Buffer's member
3515         variables into it. As a result move several header files out of
3516         buffer.h.
3517
3518         Add header files to lots of .C files all over the tree as a result.
3519
3520 2003-09-09  Angus Leeming  <leeming@lyx.org>
3521
3522         * buffer.[Ch]: make Buffer's member variables private. Add
3523         accessor functions.
3524
3525         Lots of changes all over the tree as a result.
3526
3527 2003-09-08  Angus Leeming  <leeming@lyx.org>
3528
3529         * graph.C: #include <config.h>.
3530
3531 2003-09-08  Angus Leeming  <leeming@lyx.org>
3532
3533         * BranchList.C:
3534         * BufferView.C:
3535         * BufferView_pimpl.C:
3536         * CutAndPaste.C:
3537         * DepTable.C:
3538         * LaTeX.C:
3539         * LaTeXFeatures.C:
3540         * LyXAction.C:
3541         * MenuBackend.C:
3542         * TextCache.C:
3543         * aspell.C:
3544         * buffer.C:
3545         * bufferlist.C:
3546         * changes.C:
3547         * chset.C:
3548         * converter.C:
3549         * counters.C:
3550         * debug.C:
3551         * graph.C:
3552         * ispell.C:
3553         * lyx_cb.C:
3554         * lyxfind.C:
3555         * lyxfunc.C:
3556         * lyxlex_pimpl.C:
3557         * lyxrc.C:
3558         * lyxrow.C:
3559         * paragraph.C:
3560         * rowpainter.C:
3561         * texrow.C:
3562         * text.C:
3563         * text2.C:
3564         * toc.C: remove redundant using directives.
3565
3566 2003-09-07  Angus Leeming  <leeming@lyx.org>
3567
3568         * LaTeXFeatures.h: remove #include "support/types.h".
3569         * ToolbarBackend.h: remove #include <algorithm>.
3570         * changes.h: remove #include <ctime>.
3571         * debug.h: remove #include <iosfwd>.
3572         * graph.h: remove #include "support/std_string.h".
3573         * lyx_main.h: remove #include <csignal>.
3574         * lyxlex_pimpl.h: remove #include <fstream>.
3575         * sgml.h: remove #include <algorithm>, <utility>.
3576         * toc.h: remove #include "support/std_ostream.h".
3577         Add #include <iosfwd>.
3578
3579 2003-09-07  Angus Leeming  <leeming@lyx.org>
3580
3581         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3582
3583         * converter.h: forward declare LatexRunParams.
3584         * encoding.h: remove #include "lyxrc.h".
3585         * lyxtext.h: remove #include "LColor.h".
3586         * lyxtextclass.h: remove #include "support/types.h".
3587         * trans.h: remove #include "tex-accent.h".
3588         * trans_mgr.h: remove #include "tex-accent.h".
3589         * insets/inset.h: remove #include "support/types.h", <vector>.
3590         * insets/insetcollapsable.h: remove #include "LColor.h".
3591         * insets/insetinclude.h: remove #include "dimension.h".
3592         * insets/insetlatexaccent.h: remove #include "dimension.h".
3593         * insets/insetoptarg.h:: remove #include "insettext.h".
3594         * insets/insettext.h: remove #include "dimension.h",
3595         <boost/shared_ptr.hpp>
3596
3597         * insets/renderers.h: add #include "dimension.h".
3598         * insets/updatableinset.h: add #include "support/types.h".
3599
3600         * many .C files: Associated changes.
3601
3602 2003-09-06  Angus Leeming  <leeming@lyx.org>
3603
3604         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3605         one, inside testInvariant.
3606
3607         * PrinterParams.C: new file.
3608         * PrinterParams.[Ch]: move the function bodies out of line.
3609
3610 2003-09-06  Angus Leeming  <leeming@lyx.org>
3611
3612         * ParagraphParameters.h: forward declare ParameterStruct rather than
3613         including its header file.
3614         (depth): moved out-of-line.
3615
3616 2003-09-06  Angus Leeming  <leeming@lyx.org>
3617
3618         * BufferView_pimpl.h:
3619         * kbmap.h:
3620         * kbsequence.h:
3621         * lyxfunc.h: forward declare LyXKeySym rather than
3622         #include "frontends/LyXKeySym.h".
3623
3624         * BufferView_pimpl.C:
3625         * kbmap.C:
3626         * kbsequence.C:
3627         * lyxfunc.C: associated changes.
3628
3629 2003-09-06  Angus Leeming  <leeming@lyx.org>
3630
3631         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3632         As a result, can remove the #include "insets/inset.h" from BufferView.h
3633
3634 2003-09-06  Angus Leeming  <leeming@lyx.org>
3635
3636         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3637         As a result, can remove the #include "insets/inset.h" from BufferView.h
3638
3639 2003-09-06  Angus Leeming  <leeming@lyx.org>
3640
3641         * buffer_funcs.C:
3642         * buffer.h:
3643         * bufferlist.C:
3644         * BufferView.C:
3645         * bufferview_funcs.C:
3646         * BufferView_pimpl.C:
3647         * CutAndPaste.C:
3648         * lyx_cb.C:
3649         * lyxfunc.C:
3650         * paragraph.h:
3651         * ParagraphParameters.C:
3652         * tabular.C:
3653         * text3.C:
3654         * toc.C:
3655         * undo_funcs.C:
3656         * frontends/controllers/ControlDocument.C:
3657         * insets/insetcaption.C: rearrange the #includes into some sort of
3658         coherent order.
3659
3660         * buffer.h: remove #includes ErrorList.h, undo.h
3661
3662 2003-09-06  Angus Leeming  <leeming@lyx.org>
3663
3664         * support/types.h: add a 'depth_type' typedef, used to store the
3665         nesting depth of a paragraph.
3666
3667         * paragraph.h:
3668         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3669         defining explicitly.
3670
3671         * buffer.h:
3672         * paragraph_funcs.h:
3673         * ParagraphParameters.h:
3674         * sgml.h: use lyx::depth_type rather than Paragraph or
3675         ParameterStruct's depth_type.
3676
3677         * buffer.h
3678         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3679
3680         * BufferView.C:
3681         * BufferView_pimpl.C:
3682         * CutAndPaste.C:
3683         * ParagraphParameters.C:
3684         * buffer_funcs.C:
3685         * bufferlist.C:
3686         * bufferview_funcs.C:
3687         * lyx_cb.C:
3688         * lyxfunc.C:
3689         * tabular.C:
3690         * text3.C:
3691         * toc.C:
3692         * undo_funcs.C:
3693         * frontends/LyXView.C:
3694         * frontends/controllers/ControlDocument.C:
3695         * frontends/controllers/ControlErrorList.C:
3696         * insets/insetbibitem.C:
3697         * insets/insetbranch.C:
3698         * insets/insetcaption.C:
3699         * insets/insetcollapsable.C:
3700         * insets/insetenv.C:
3701         * insets/insetert.C:
3702         * insets/insetfloat.C:
3703         * insets/insetfoot.C:
3704         * insets/insetfootlike.C:
3705         * insets/insetnewline.C:
3706         * insets/insetquotes.C:
3707         * insets/insettabular.C:
3708         * insets/insettext.C:
3709         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3710
3711         * frontends/controllers/ControlChanges.C: #include "changes.h".
3712
3713 2003-09-06  Angus Leeming  <leeming@lyx.org>
3714
3715         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3716         than #including paragraph.h.
3717
3718         * ParagraphList.h:
3719         * RowList.h: deleted. Superfluous.
3720
3721         * CutAndPaste.h:
3722         * iterators.h:
3723         * lyxcursor.h:
3724         * lyxtext.h:
3725         * text_funcs.h:
3726         * undo.h:
3727         * undo_funcs.h:
3728         * insets/inset.h:
3729         * insets/insettext.h: use ParagraphList_fwd.h rather than
3730         ParagraphList.h.
3731
3732         * paragraph.h: don't forward declare ParagraphList.
3733
3734         * buffer.h:
3735         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3736         rather than ParagraphList.h. paragraph.h is still needed for the
3737         Paragraph::depth_type parameters.
3738
3739         * textcursor.h: enable it to compile stand-alone in light of the
3740         above changes.
3741
3742         * bufferview_funcs.C:
3743         * iterators.C:
3744         * lyxfunc.C:
3745         * lyxrow_funcs.C:
3746         * paragraph.C:
3747         * rowpainter.C:
3748         * text.C:
3749         * text2.C:
3750         * text3.C:
3751         * text_funcs.C:
3752         * textcursor.C:
3753         * undo.C:
3754         * frontends/controllers/ControlParagraph.C:
3755         * frontends/controllers/ControlTabular.C:
3756         * insets/insetmarginal.C:
3757         * insets/insetminipage.C:
3758         * insets/insetnote.C:
3759         * insets/insetoptarg.C: add header files needed to compile again.
3760
3761 2003-09-06  Angus Leeming  <leeming@lyx.org>
3762
3763         * RowList_fwd.h: new file, forward-declaring Row rather than
3764         #including lyxrow.h.
3765
3766         * lyxrow_funcs.h:
3767         * lyxtext.h:
3768         * paragraph.h:
3769         * insets/insettext.h: use it instead of RowList.h
3770
3771         * bufferview_funcs.C:
3772         * lyxfunc.C:
3773         * lyxrow_funcs.C:
3774         * paragraph.C:
3775         * rowpainter.C:
3776         * text.C:
3777         * text2.C:
3778         * text3.C: #include "RowList.h".
3779
3780 2003-09-05  Angus Leeming  <leeming@lyx.org>
3781
3782         * factory.C (createInset):
3783         * vspace.C (c-tor): replace sscanf call with an istringstream.
3784         * ispell.C: re-add missing HP/UX headers.
3785         * lyxserver.C: re-add missing  os2 headers.
3786
3787 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3788
3789         * BranchList.C:
3790         * graph.C:
3791         * ispell.C:
3792         * lastfiles.C:
3793         * lyx_cb.C:
3794         * lyxserver.C:
3795         * texrow.C:
3796         * text3.C: re-add missing system headers, needed for 2.95.2.
3797
3798 2003-09-05  Angus Leeming  <leeming@lyx.org>
3799
3800         Changes most place everywhere due to the removal of using directives
3801         from support/std_sstream.h.
3802
3803 2003-09-05  Angus Leeming  <leeming@lyx.org>
3804
3805         Replace LString.h with support/std_string.h,
3806         Lsstream.h with support/std_sstream.h,
3807         support/LIstream.h with support/std_istream.h,
3808         support/LOstream.h with support/std_ostream.h.
3809
3810         Changes resulting throughout the tree.
3811
3812 2003-09-05  Angus Leeming  <leeming@lyx.org>
3813
3814         * sgml.h: ensure that the header file can be compiled stand-alone.
3815         * *.C: strip out redundant #includes. (320 in total.)
3816
3817 2003-09-04  Angus Leeming  <leeming@lyx.org>
3818
3819         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3820         here (from getPackages).
3821
3822         * debug.[Ch]: add a new EXTERNAL tag.
3823
3824 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3825
3826         * text2.C (cursorEnd): simplify
3827         (setCursor): adjust
3828         (getColumnNearX): adjust
3829
3830         * text.C (computeBidiTables): adjust
3831         (fill): adjust
3832
3833         * rowpainter.C (paintChars): adjust
3834         (paintSelection): adjust
3835         (paintChangeBar): adjust
3836         (paintText): adjust
3837
3838         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3839         lastPos instead.
3840         (numberOfSeparators): adjust
3841
3842 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3843
3844         * LyXAction.C:
3845         * box.[Ch]:
3846         * lfuns.h:
3847         * lyxfunc.C:
3848         * text3.C: Restricts the mouse click functionality
3849         of insets like bibtex, include, toc and floatlist to the visible
3850         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3851         up the dialogs. Cursor has to be in front of the inset (i.e.
3852         start of row) for this to function.
3853
3854 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3855
3856         * bufferview_funcs.C (currentState): output row information
3857
3858 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3859
3860         * bufferview_funcs.C (currentState): output paragraph position
3861
3862 2003-09-04  Angus Leeming  <leeming@lyx.org>
3863
3864         * FloatList.h: move out #include "Floating.h".
3865         * LaTeX.h: move out #include "DepTable.h".
3866         * LyXAction.h: move out #include "funcrequest.h".
3867         * buffer.h: move out #include "author.h", "iterators.h".
3868         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3869         * lyx_main.h: move out #include "errorlist.h".
3870         * lyxfunc.h: move out #include "FuncStatus.h".
3871         * lyxtext: move out #include "lyxcursor.h".
3872         * paragraph_pimpl.h: move out #include "counters.h".
3873
3874 2003-09-03  Angus Leeming  <leeming@lyx.org>
3875
3876         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3877         preamble_snippets list, enabling us to add snippets to the preamble
3878         only if the snippet was not there already.
3879
3880 2003-09-04  Angus Leeming  <leeming@lyx.org>
3881
3882         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3883
3884 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3887         update
3888
3889 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3890
3891         * BranchList.C: point fix, earlier forgotten
3892
3893 2003-09-02  Angus Leeming  <leeming@lyx.org>
3894
3895         * box.C (contains): renamed from 'contained' after a fantastic
3896         amount of hot air.
3897
3898 2003-09-02  John Levon  <levon@movementarian.org>
3899
3900         * BufferView.C:
3901         * lyxcursor.h:
3902         * lyxcursor.C:
3903         * lyxfunc.C:
3904         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3905
3906 2003-09-02  John Levon  <levon@movementarian.org>
3907
3908         * text2.C: simplification of cursorEnd(), including partial
3909         fix for bug 1376
3910
3911 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * buffer.C (readFile): add a space
3914
3915 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3918
3919 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * buffer.C (readFile): new function, take a filename and a
3922         ParagraphList::iterator
3923         (readFile): adjust
3924         (readFile): adjust, make it private. don't use setStream, make
3925         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3926         always contain the filename.
3927
3928         * BufferView.C (insertLyXFile): simplify and make it work for
3929         gzipped files.
3930
3931 2003-08-30  John Levon  <levon@movementarian.org>
3932
3933         * Makefile.am: fix dist (from Kayvan)
3934
3935 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * most files: change to use const Buffer refs
3938
3939 2003-08-27  André Pönitz  <poenitz@gmx.net>
3940
3941         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3942         on top of ownerPar().
3943
3944 2003-08-27  John Levon  <levon@movementarian.org>
3945
3946         * funcrequest.C: properly initialise POD members
3947
3948 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * lyxtext.h (top_y): move top_y from here
3951         * text.C:
3952         * text2.C:
3953         * text3.C:
3954         * BufferView.[Ch]:
3955         * BufferView_pimpl.[Ch]: to here
3956         * frontends/screen.C:
3957         * insets/insettabular.C:
3958         * insets/insettext.C: adjust
3959         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3960
3961 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * BufferView.[Ch]:
3964         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3965
3966 2003-08-26  André Pönitz  <poenitz@gmx.net>
3967
3968         * paragraph_func.[Ch] (outerPar): new function
3969
3970         * paragraph.C:
3971         * paragraph_funcs.C:
3972         * paragraph_funcs.h:
3973         * paragraph_pimpl.C:
3974         * text2.C: remove Inset::par_owner
3975
3976 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3977
3978         * lyxrow_funcs.C:
3979         * lyxtext.h:
3980         * text.C:
3981         * text2.C: eliminates the needFullRow/display() stuff
3982         altogether, putting the logic in metrics/draw in the insets.
3983
3984 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * text2.C (redoParagraphInternal, redoParagraphs):
3987         * text.C (redoParagraph): add a call to updateRowPositions at the
3988         end of each 'metrics-like' call. Remove all others.
3989         (getRow): remove the 'y-computing' version.
3990         (getRowNearY): do not compute nor return the real y. Solve the
3991         'y < 0' problem and simplify.
3992
3993 2003-08-22  Angus Leeming  <leeming@lyx.org>
3994
3995         * *.[Ch]: clean-up of licence and author blurbs.
3996         Also move config.h out of a few .h files and into a few .C files.
3997
3998 2003-08-22  André Pönitz  <poenitz@gmx.net>
3999
4000         * lyxrow.[Ch]: add x_ and *fill_ members
4001
4002         * lyxtext.h:
4003         * text.C:
4004         * rowpainter.C:
4005         * text2.C: adjust/remove prepareToPrint() calls
4006
4007 2003-08-22  André Pönitz  <poenitz@gmx.net>
4008
4009         * lyxrow.[Ch]: add  end_ member
4010
4011         * lyxrow_funcs.C: use LyXRow::end_
4012
4013         * lyxtext.h (singleWidth): add LyXFont parameter
4014
4015         * rowpainter.C:
4016         * text2.C: adjust LyXText::singleWidth() calls
4017
4018         * text.C (redoParagraph): simplify row breaking logic
4019
4020
4021 2003-08-19  André Pönitz  <poenitz@gmx.net>
4022
4023         * funcrequest.C: initialize button_ member
4024
4025         * text3.C:
4026         * rowpainter.[Ch]: interface consolidation
4027
4028 2003-08-18  André Pönitz  <poenitz@gmx.net>
4029
4030         * BufferView.C:
4031         * BufferView_pimpl.C:
4032         * lyxfind.C:
4033         * paragraph_funcs.C:
4034         * rowpainter.C:
4035         * text3.C: remove LyXScreen::draw() and fitCursor calls
4036
4037         * BranchList.h: remove spurious semicolons
4038
4039         * MenuBackend.C: fix branchlist related crash
4040
4041 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4042
4043         * BranchList.[Ch]:
4044         * InsetList.[Ch]:
4045         * LColor.[Ch]:
4046         * LyXAction.C:
4047         * Makefile.am:
4048         * MenuBackend.[Ch]:
4049         * bufferparams.[Ch]:
4050         * factory.C:
4051         * lfuns.h:
4052         * lyxfunc.C:
4053         * text3.C: implements the 'branch inset'
4054         idea. This allows the output of various versions of a document
4055         from a single source version, selectively outputing or suppressing
4056         output of parts of the text.
4057         This implementation contains a 'branch list editor' in a separate
4058         tab of the document settings dialog. Branches are user definable
4059         and have a "display colour" to distinguish them on-screen.
4060
4061         ColorHandler was somewhat cleaned up.
4062         (1) make possible a dynamically growing LColor list by allowing
4063         the graphic context cache to grow along (vector);
4064         (2) eliminate an IMHO unnecessary step in colour allocation.
4065
4066 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4067
4068         * BufferView_pimpl.C: compile fix
4069
4070 2003-08-15  André Pönitz  <poenitz@gmx.net>
4071
4072         * rowpainter.C: remove extra metrics calls
4073
4074         * lyxtext.h: merge the two constructors into a single one,
4075           pass reference to owner's par list
4076
4077         * BufferView_pimpl.C:
4078         * text.C:
4079         * text2.C: adjust
4080
4081 2003-08-15  André Pönitz  <poenitz@gmx.net>
4082
4083         * lyxrow_funcs.[Ch]:
4084         * lyxtext.h:
4085         * paragraph.h:
4086         * paragraph_funcs.C:
4087         * rowpainter.C:
4088         * text.C:
4089         * text2.C:
4090         * text3.C:
4091         * text_funcs.C: split LyXText::rowlist_ into individual
4092         Paragraph::rows_ chunks
4093
4094         * BufferView.[Ch]:
4095         * BufferView_pimpl.[Ch]:
4096         * lyxfind.C:
4097         * lyxtext.h:
4098         * text3.C: remove toggleSelection()
4099
4100 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4101
4102         * bufferlist.C: beautify two alerts (shorter text of buttons)
4103         * buffer.C: Remove redundant ' ' from message
4104         * tabular.h:
4105         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4106         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4107         rename VALIGN_CENTER to VALIGN_MIDDLE
4108
4109 2003-08-11  André Pönitz  <poenitz@gmx.net>
4110
4111         * lyxtext.h (getPar):
4112         * text.C: new function
4113
4114 2003-08-11  André Pönitz  <poenitz@gmx.net>
4115
4116         * Makefile.am:
4117         * tracer.[Ch]: remove unneeded files
4118
4119         * InsetList.[Ch]: remove resizeInsetsLyXText()
4120
4121         * lyxtext.h:
4122         * text.C:
4123         * text2.C:
4124         * text3.C: merge insertParagraphs() and appendParagraph()
4125         remove breakAgain(), update()
4126
4127         * BufferView_pimpl.[Ch]:
4128         * bufferview_funcs.[Ch]:
4129         * lyxfunc.C:
4130         * paragraph.[Ch]:
4131         * rowpainter.C:
4132         * tabular.C: adjust after text & InsetList changes.
4133
4134 2003-08-08  André Pönitz  <poenitz@gmx.net>
4135
4136         * text.C (insertChar, backspace): replace rowlist fiddling
4137         with rebreak of full par
4138
4139         * lyxtext.h:
4140         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4141         checkParagraph, updateInset): removed
4142
4143 2003-08-07  André Pönitz  <poenitz@gmx.net>
4144
4145         * paragraph.C:
4146         * text3.C: merge some LFUN handlers, remove dead code
4147
4148 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4149
4150         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4151
4152 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * text2.C (DEPM): fix part of bug 1255 and 1256
4155
4156 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4157
4158         * BufferView_pimpl.C (workAreaDispatch): change to use
4159         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4160         that are no mouse related.
4161
4162 2003-08-05  André Pönitz  <poenitz@gmx.net>
4163
4164         * BufferView.[Ch]:
4165         * BufferView_pimpl.[Ch]:
4166         * bufferview_funcs.C:
4167         * text2.C:
4168         * text3.C: rip out "deep update"
4169
4170         * textcursor.[Ch] (last_sel_cursor): remove unused member
4171
4172 2003-08-04  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView.[Ch]:
4175         * BufferView_pimpl.[Ch]:
4176         * ParagraphParameters.C:
4177         * bufferview_funcs.C:
4178         * lyx_cb.C:
4179         * lyxfind.C:
4180         * lyxfunc.C:
4181         * text.C:
4182         * text2.C:
4183         * text3.C: replace "complicated" BufferView::update(...) calls with
4184         simpler ones.
4185
4186         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4187
4188 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4189
4190         * Makefile.am (lyx_SOURCES): add paper.h
4191
4192 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4193
4194         * Makefile.am: move things around so that both lyx-qt and
4195         lyx-xforms can be built (according to --with-frontend). Then lyx
4196         is a symbolic link to lyx-[firstfrontend]
4197
4198 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4199
4200         * Always use std::endl with lyxerr
4201
4202 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4203
4204         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4205
4206 2003-08-01  André Pönitz  <poenitz@gmx.net>
4207
4208         * BufferView.[Ch]:
4209         * BufferView_pimpl.[Ch]:
4210         * lyxfunc.C:
4211         * text3.C: merge BufferView::repaint() and BufferView::update()
4212
4213 2003-08-01  José Matos  <jamatos@lyx.org>
4214
4215         * buffer.[Ch]: file_format is no longer a buffer data element.
4216
4217 2003-08-01  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView.C:
4220         * lyxtext.h:
4221         * text.C:
4222         * text2.C: make redoParagraph more independent of current cursor
4223
4224         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4225         * text.C:
4226         * text2.C: remove unneeded members
4227
4228 2003-07-30  André Pönitz  <poenitz@gmx.net>
4229
4230         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4231
4232         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4233           create a single function...
4234
4235         * paragraph_funcs.C (moveItem): ... here.
4236
4237         * text.C:
4238           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4239
4240 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4241
4242         * LColor.[Ch]: Add comment and greyedout logical colors.
4243
4244 2003-07-30  André Pönitz  <poenitz@gmx.net>
4245
4246         * tabular.C: don't use Assert too heavily. This crashes where it
4247           shouldn't
4248
4249 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4252         is disabled (bug 1232)
4253
4254 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * factory.C: limited 'arg' scope
4257
4258 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * factory.C: fixed Note submenu issues
4261
4262 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4263
4264         * factory.C: submenu for Note/Comment/Greyedout
4265
4266 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * lyx_main.C (LyX):
4269         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4270
4271 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * LaTeXFeatures.C:
4274         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4275         greyedout. Patch provided by Jürgen Spitzmüller.
4276
4277 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4278
4279         * kbmap.C (read): fix error message when reading bind files
4280
4281 2003-07-29  Angus Leeming  <leeming@lyx.org>
4282
4283         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4284         certainly does not do what it purports to do. I am doing it, and
4285         us, a favour by killing it.
4286
4287 2003-07-28  José Matos  <jamatos@lyx.org>
4288
4289         * buffer.C (readBody, do_writeFile):
4290         * paragraph.C(readParagraph): \end_document replaces \the_end.
4291
4292 2003-07-29  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView.[Ch]:
4295         * BufferView_pimpl.[Ch]:
4296         * lyxfunc.C:
4297         * text2.C:
4298         * text3.C:
4299         * textcursor.[Ch]: remove toggleToggle & Co
4300
4301 2003-07-28  José Matos  <jamatos@fep.up.pt>
4302
4303         * buffer.C (readParagraph):
4304         * params_func (readParToken, readParagraph):
4305         * paragraph.C (write): \layout -> \begin_layout.
4306
4307 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * lyxlex_pimpl.C (setFile): clean up slightly.
4310
4311         * bufferparams.h: add compressed var
4312
4313         * buffer_funcs.C (readFile): adjust for LyXLex change
4314         (newFile): ditto + simplify
4315
4316         * buffer.C (writeFile): handle writing of compressed files
4317
4318         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4319         Check if the file is compressed and set a bufferparm if so.
4320
4321         * Makefile.am (lyx_LDADD): remove explicit -lz
4322
4323 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4324
4325         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4326         makeDocBookFile): put the real LyX version in the first line of
4327         the file
4328
4329         * version.h:
4330         * version.C.in: remove lyx_docversion
4331
4332         * tabular.C (write_attribute): add a template-based version to
4333         write enums properly
4334
4335 2003-07-28  André Pönitz  <poenitz@gmx.net>
4336
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C:
4340         * text3.C: use doubles again for x-coordinates. They are needed.
4341
4342 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * messages.C (getLocaleDir): use lyx_localedir()
4345
4346         * lyxlex_pimpl.C (setFile): compress stuff
4347
4348         * buffer.C (writeFile): add some compression stuff
4349         (do_writeFile): new func, dont call expliti close... will this
4350         breake anything?
4351
4352         * Makefile.am (lyx_LDADD): add -lz
4353
4354 2003-07-28  José Matos  <jamatos@fep.up.pt>
4355
4356         * buffer.C: increment file format.
4357         * paragraph_funcs (readParagraph, readParToken):
4358         * paragraph.C (readParagraph): add \end_layout.
4359
4360 2003-07-27  Angus Leeming  <leeming@lyx.org>
4361
4362         * Makefile.am: remove special casing for configure-time setting of
4363         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4364
4365         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4366         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4367
4368 2003-07-26  André Pönitz  <poenitz@gmx.net>
4369
4370         * paragraph_func.[Ch]:
4371         * paragraph.C (realizeFont): inline it whereever it is used
4372
4373         * rowpainter.C:
4374         * text.C:
4375         * text2.C:
4376         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4377
4378
4379 2003-07-26  André Pönitz  <poenitz@gmx.net>
4380
4381         *       lyxtext.h:
4382         * text.C:
4383         * text2.C: get rid of LyXText::need_break_row
4384
4385 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * toc.[Ch]: put namespace toc inside namespace lyx
4388
4389         * MenuBackend.C (expandToc2): adjust for lyx::toc
4390         (expandToc): ditto
4391
4392         * lyxfunc.C (dispatch): adjust for lyx::find
4393
4394         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4395         lyx::find instead. Reorganize a bit.
4396         (LyXReplace): rename to replace
4397         (LyXFind): rename to find
4398
4399         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4400         (dispatch): ditto
4401
4402 2003-07-26  André Pönitz  <poenitz@gmx.net>
4403
4404         * text.C (setHeightOfRow): restrict scope of temporary variable
4405
4406         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4407           code (never has been used?)
4408
4409 2003-07-27  Asger Alstrup  <alstrup@local>
4410
4411         * text.C (fill): Optimise algorithm to exploit that we can reuse
4412         the LyXFont for many characters.
4413         (setHeightOfRow): Same thing.
4414         (rowBreakPoint): Same thing.
4415
4416 2003-07-26  Asger Alstrup  <alstrup@local>
4417
4418         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4419
4420         * text.C (singleWidth): Spurious font copying in hot-spot
4421         singleWidth avoided. Reorder tests for arabic for efficiency.
4422
4423         * text.C (fill): handle empty paragraphs better.
4424
4425 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4426
4427         * ispell.C:
4428         * encoding.h: add includes
4429
4430         * lyxrc.C: remove reading of bind files
4431
4432         * lyx_main.C (init): setup bindings and menus only if we have a
4433         gui.
4434
4435         * kbmap.C (read): new method. Do the actual reading of bind
4436         files.
4437
4438         * converter.C (dvipdfm_options):
4439         * bufferparams.C:
4440         * lyxrc.C (read):
4441         (output): adapt PAPER_* enums.
4442
4443         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4444
4445         * bufferparams.h: remove paper-related enums from there
4446
4447         * paper.h: New file. A trivial header file to hold paper-related
4448         enums. It should later expand to contain many paper-related
4449         horrors access.
4450
4451         * lyxrc.C: declare extern displayTranslator
4452
4453 2003-07-27  José Matos  <jamatos@fep.up.pt>
4454
4455         * tabular.[Ch] (linuxdoc): add support for tables and figures
4456         (linuxdoc).
4457
4458 2003-07-27  José Matos  <jamatos@fep.up.pt>
4459
4460         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4461         consistency in both functions.
4462         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4463
4464 2003-07-26  Asger Alstrup  <alstrup@local>
4465
4466         * rowpainter.C (paintRows): Change algorithm to work directly on
4467         the insets rather than asking every character in the document
4468         whether its an inset.
4469
4470 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * buffer.C (openFileWrite): factorize some code
4473
4474 2003-07-26  Angus Leeming  <leeming@lyx.org>
4475
4476         * lyx_cb.C:
4477         * lyx_main.[Ch]: replace occurances of system_tempdir with
4478         os::getTmpDir().
4479
4480 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * rename Inset to InsetOld
4483
4484 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4485
4486         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4487         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4488         which I think is a bit clearer. EDIT is gone, since it was
4489         premature optimisation, and broken for mathed anyway.
4490         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4491         with cursor positioning in insets as well (math insets still do not
4492         work, but that's a different story anyway.) It mysteriously
4493         crashes sometimes with undo in the first paragraph, but I'm fairly
4494         confident that this is a compiler bug.
4495
4496 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * paragraph.C (Paragraph): adjust for new clone return type
4499         (operator==): ditto
4500         (copyIntoMinibuffer): ditto
4501
4502 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4503
4504         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4505         by not having a special case, and always doing a full rebreak of
4506         the document after undo.
4507
4508 2003-07-23  Angus Leeming  <leeming@lyx.org>
4509
4510         * factory.C (createInset): InsetExternal::setParams now takes a
4511         Buffer const * arg.
4512
4513 2003-07-23  Angus Leeming  <leeming@lyx.org>
4514
4515         * factory.C (createInset): changed interface to the external and
4516         graphics mailers' string2params functions.
4517
4518 2003-07-23  Angus Leeming  <leeming@lyx.org>
4519
4520         * factory.C (createInset): pass a
4521         Buffer const * parameter to InsetExternalMailer's string2params.
4522
4523 2003-07-22  John Levon  <levon@movementarian.org>
4524
4525         * Thesaurus.h: include the right aiksaurus header
4526
4527 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4528
4529         * MenuBackend.C (expand): check menu shortcuts unconditionally
4530
4531 2003-07-21  Angus Leeming  <leeming@lyx.org>
4532
4533         * factory.C (createInset): pass a
4534         buffer_path parameter to InsetGraphicsMailer's string2params.
4535
4536 2003-07-21  Angus Leeming  <leeming@lyx.org>
4537
4538         * BufferView_pimpl.C (buffer):
4539         * buffer.C (d-tor):
4540         * lyx_main.C (LyX):
4541         * lyxfunc.C (dispatch):
4542         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4543         rather than the grfx shortcut.
4544
4545 2003-07-21  André Pönitz  <poenitz@gmx.net>
4546
4547         * rowpainter.C: remove unused variables
4548
4549         * tabular_funcs.C:
4550         * tabular_funcs.h: move to tabular.C
4551         * Makefile.am: adjust
4552
4553         * tabular.[Ch]: basic optical cleaning
4554
4555         * author.h: pass references, not values
4556
4557 2003-07-18  André Pönitz  <poenitz@gmx.net>
4558
4559         * lyxtext.h:
4560         * metricsinfo.C:
4561         * metricsinfo.h:
4562         * rowpainter.C:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: two-phase drawing for InsetText and InsetTabular
4566         some float -> int changes.
4567
4568 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * lyx_main.C: fix the fix
4571
4572 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4573
4574         * lyx_main.C: fix a crash in batch mode if no files specified
4575         * converter.C: ws
4576
4577 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4578
4579         * format.[Ch] (papersize): moved to BufferParams
4580         * converter.[Ch] (dvips_options): moved to BufferParams
4581         (dvipdfm_options): moved to anon namespace
4582         * bufferparams.[Ch]: added above functions.
4583
4584 2003-07-17  André Pönitz  <poenitz@gmx.net>
4585
4586         * lyxtext.h:
4587         * rowpainter.C:
4588         * text2.C: don't call inset->update() anymore
4589
4590         * metricsinfo.[Ch]: add convenience constructor
4591
4592 2003-07-16  André Pönitz  <poenitz@gmx.net>
4593
4594         * lyxcursor.[Ch]:
4595         * lyxfunc.[Ch]:
4596         * text.C:
4597         * text2.C: replace the LyXCursor::irow_ member with
4598          on-demand computation of the value
4599
4600 2003-07-16  John Levon  <levon@movementarian.org>
4601
4602         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4603
4604 2003-07-15  André Pönitz  <poenitz@gmx.net>
4605
4606         * text.C:
4607         * text2.C: remove no more needed refresh_row
4608
4609 2003-07-15  André Pönitz  <poenitz@gmx.net>
4610
4611         * lyxtext.h:
4612         * rowpainter.C:
4613         * text2.C:
4614         * text3.C: refresh_status tristate -> need_update bool
4615
4616 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * lyxtext.h (init): remove reinit argument (act as if always true)
4619         * text2.C: adjust to that
4620
4621 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4622
4623         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4624         * text3.C: use it to delete selections in some cases
4625         (bugs 441, 673, 702, 954).
4626
4627 2003-07-14  André Pönitz  <poenitz@gmx.net>
4628
4629         * rowpainter.[Ch]: reduce interface
4630
4631 2003-07-14  André Pönitz  <poenitz@gmx.net>
4632
4633         * BufferView_pimpl.C:
4634         * text2.C: adjust after removing unused BufferView * argument
4635
4636 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4637
4638         * text2.C (init): fix a crash fired on resize
4639
4640 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4641
4642         * buffer.[Ch]: added new closing signal
4643         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4644         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4645         BufferView::Pimpl via the closing the signal
4646
4647 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * buffer.[Ch]: take out all bv-related from buffer
4650         * BufferView.C:
4651         * BufferView_pimpl.[Ch]: connect to new signals
4652         * CutAndPaste.C: removed useless asserts
4653         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4654         * lyxvc.[Ch]:
4655         * vc-backend.[Ch]:
4656         * lyxfunc.C: moved view-related funciontality from vc here
4657         * paragraph.C: removed outdated comments
4658         * text.C: ws
4659
4660 2003-07-10  André Pönitz  <poenitz@gmx.net>
4661
4662         * BufferView_pimpl.C:
4663         * tabular.h:
4664         * tabular_funcs.C:
4665         * text.C:
4666         * text2.C: remove InsetText::InnerCache, clean up consequences
4667
4668 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4669
4670         * ispell.C: fix two typos in error messages
4671
4672 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4673
4674         * Extend Note inset to other forms of annotation like Comment
4675         and Greyedout. Right button click gives dialog.
4676
4677         Files modified or added (+):
4678
4679         * insetnote.[Ch]
4680         * FormNote.[Ch]      +
4681         * ControlNote.[Ch]   +
4682         * form_note.fd       +
4683         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4684         frontends/controllers
4685         * xforms/Dialogs.C
4686         * factory.C
4687
4688 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4689
4690         * aspell.C: add missing namespace lyx::support
4691
4692 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * BufferView.[Ch] (newFile): Add
4695         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4696         * LaTeX.[Ch] (message): added this signal and use it
4697         * buffer.[Ch] (busy, message): added these signals and use them
4698         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4699         * converter.C:
4700         * exporter.C:
4701         * format.C:
4702         * importer.C: use buffer signals instead of direct bv calling
4703         * lyx_cb.[Ch] (ShowMessage): removed
4704         * lyx_main.C:
4705         * lyxfunc.C:
4706         * paragraph_funcs.C:
4707         * text2.C: use buffer signals
4708
4709 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * introduce namespace lyx::graphics
4712
4713 2003-07-02  André Pönitz  <poenitz@gmx.net>
4714
4715         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4716
4717 2003-07-01  André Pönitz  <poenitz@gmx.net>
4718
4719         * text.C:
4720         * text2.C:
4721         * text3.C:
4722         * text_funcs.[Ch]:
4723         * textcursor.h:
4724         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4725           text*.C to text_func.C
4726
4727 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * introduce namespace lyx::support
4730
4731 2003-06-30  André Pönitz  <poenitz@gmx.net>
4732
4733         * Chktex.C:
4734         * funcrequest.C:
4735         * lyxtext.h:
4736         * text.C: re-enable --with-included-string
4737
4738 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * textcursor.C: add <config.h>
4741
4742         * text.C (getWord): remove const from word_location arg
4743
4744         * lyxvc.C (getLogFile): fix const type order
4745
4746         * lyxtext.h: remove const from word_location arg, add arg name
4747
4748         * lyxlayout.h: currect type on labeltype.
4749
4750         * importer.C: correct \file
4751
4752         * converter.C (intToFormat): use std:: on ret val, ws changes
4753
4754         * bufferlist.h: correct \file
4755
4756         * buffer.C (makeLinuxDocFile): fix const type order
4757         (makeDocBookFile): ditto
4758         (fillWithBibKeys): use std:: on stdlib args.
4759
4760         * CutAndPaste.C: fix authors.
4761         (availableSelections): use std:: on return vector
4762
4763 2003-06-27  André Pönitz  <poenitz@gmx.net>
4764
4765         * BufferView_pimpl.C:
4766         * bufferview_funcs.C:
4767         * lyxcursor.C:
4768         * lyxcursor.h:
4769         * lyxfunc.C:
4770         * lyxtext.h:
4771         * rowpainter.C:
4772         * text.C:
4773         * text2.C:
4774         * text3.C: remove LyXCursor::row_ member
4775
4776         * lyxtext.h:
4777         * text.C: rename fullRebreak() to partialRebreak() and implement
4778           a fullRebreak() that really bereks fully
4779
4780         * textcursor.h: new struct for cursor-related data
4781
4782 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4783
4784         * lyx_main.C (LyX): get full path of document loaded on the
4785         command line
4786
4787 2003-06-26  André Pönitz  <poenitz@gmx.net>
4788
4789         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4790           remove unused/broken operator>,<,>=.
4791
4792         *       text.C: remove only use of broken operator<= in an Assert().
4793
4794 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4795
4796         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4797         moved errorlist_.clear to showErrorList
4798
4799 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4800
4801         * converter.C (scanLog, runLaTeX):
4802         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4803         move the bv->showErrorList call to the callers
4804         * lyxfunc.C: i.e. here...
4805         * text2.C: and here
4806         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4807         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4808         namespace, the second to...
4809         * buffer_funcs (BufferFormat, parseErrors): added
4810         * errorlist.C (ErrorList(TeXErrors const &)): removed
4811
4812 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4813
4814         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4815
4816 2003-06-24  "Garst R. Reese" <reese@isn.net>
4817
4818         * debug.C: fix typo
4819
4820 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4821
4822         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4823
4824         * version.C.in: change docversion to 1.4
4825
4826 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * buffer.C: fix a bug just introduced
4829
4830 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * buffer.[Ch]: added the parseError signal and use it, removed
4833         sgmlError
4834         * BufferView.[Ch] (addError): moved to ...
4835         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4836         to the Buffer::parseError signal to catch (guess what) parse errors
4837         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4838
4839 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4842         ability to create a buffer and to return an existing one from
4843         the list. Moved these functions to...
4844         * buffer_funcs.[Ch]: added
4845         * BufferView.[Ch] (loadLyXFile): added
4846         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4847         job removed from bufferlist::loadLyXFile.
4848         * buffer.C (setReadOnly): make it work without view
4849         (i.e added an if (users))
4850
4851 2003-06-19  Angus Leeming  <leeming@lyx.org>
4852
4853         * lfuns.h:
4854         * LyXAction.C (init):
4855         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4856         with LFUN_DIALOG_SHOW <name> <data>.
4857
4858 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4859
4860         * CutAndPaste.C (availableSelections): small compilation fix for
4861         ancient (gcc 2.9x) compilers
4862
4863 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * text3.C (cursorNext): add tmp var
4866
4867         * text2.C (updateCounters): for function calling out of for clause
4868         (replaceSelectionWithString): ditto
4869         (insertStringAsParagraphs): ditto
4870         (getColumnNearX): add tmp var
4871         (setCursorFromCoordinates): add tmp var
4872         (cursorDownParagraph): add tmp var
4873         (deleteEmptyParagraphMechanism): add tmp var
4874
4875         * text.C (insertChar): add tmp var
4876
4877         * rowpainter.C (paintDepthBar): add tmp var
4878
4879         * CutAndPaste.C (availableSelections): potentially check all
4880         paragraphs in a cut to fill the shown strings.
4881
4882 2003-06-18  André Pönitz  <poenitz@gmx.net>
4883
4884         * kbmap.[Ch]: use vector<> instead of list<>
4885
4886 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4887
4888         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4889         pasteSelection with index
4890
4891         * text2.C (pasteSelection): modify, call pasteSelection with index
4892
4893         * paragraph.C (asString): reimplement version with no interval to
4894         call the one with interval.
4895
4896         * lyxtext.h: add index arg to pasteSelection
4897
4898         * MenuBackend.C (MenuItem): handle PasteRecent
4899         (Menu::read::Menutags): add md_pasterecent
4900         (read): handle it
4901         (expandPasteRecent): new function
4902         (expand): use it
4903
4904         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4905
4906         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4907         the limited stack
4908         (availableSelections): new function
4909
4910 2003-06-17  Angus Leeming  <leeming@lyx.org>
4911
4912         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4913
4914 2003-06-17  Angus Leeming  <leeming@lyx.org>
4915
4916         * lfuns.h:
4917         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4918
4919         * lyxfunc.C (dispatch): invoke it.
4920
4921 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4922
4923         * iterators.C (operator++, ParPosition): reintroduce some
4924         const_cast for the benefit of older compilers.
4925
4926 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4927
4928         * text3.C (dispatch): do not modify clipboard when doing
4929         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4930         LFUN_DELETE_SKIP on a selection selection
4931
4932 2003-06-16  André Pönitz  <poenitz@gmx.net>
4933
4934         * BufferView.C:
4935         * buffer.C:
4936         * buffer.h:
4937         * paragraph.C:
4938         * tabular.[Ch]: IU of clone() and getLabelList();
4939
4940 2003-06-13  André Pönitz  <poenitz@gmx.net>
4941
4942         * tabular.h: compactification
4943
4944 2003-06-12  André Pönitz  <poenitz@gmx.net>
4945
4946         * tabular.C:
4947         * tabular.h:
4948         * tabular_funcs.h: some renaming plus whitespace
4949
4950 2003-06-12  André Pönitz  <poenitz@gmx.net>
4951
4952         * BufferView.C:
4953         * BufferView_pimpl.C:
4954         * CutAndPaste.C:
4955         * buffer.C:
4956         * iterators.[Ch]:
4957         * lyxfunc.C:
4958         * text.C:
4959         * toc.C: Return a Paragraph & for ParIterator::operator*()
4960
4961 2003-06-11  John Levon  <levon@movementarian.org>
4962
4963         * lyx_main.C:
4964         * ToolbarBackend.h:
4965         * ToolbarBackend.C: add "Toolbars" section and
4966         put the flags there
4967
4968 2003-06-10  Angus Leeming  <leeming@lyx.org>
4969
4970         * lfuns.h:
4971         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4972
4973         * lyxfunc.C (dispatch): invoke it.
4974
4975 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * main.C: protect <ios> with HAVE_IOS
4978         (main): protect sync_with_stdio with HAVE_IOS
4979
4980 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4981
4982         * text2.C (cutSelection): adjust
4983         (pasteSelection): adjust
4984
4985         * messages.C: handle get of empty string
4986
4987         * main.C (main): use sync_with_stdio(false)
4988
4989         * lyxfunc.C (dispatch): adjust
4990
4991         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4992         (WriteAs): remove unneeded BufferView arg.
4993
4994         * bufferparams.h: use correct types on papersize, papersize2 and
4995         paperpackage.
4996
4997         * bufferparams.C (readToken): adjust for type
4998         (writeLaTeX): add missing cases to switch.
4999
5000         * bufferlist.C (quitWriteBuffer): adjust
5001         (close): adjust
5002
5003         * buffer.C (asciiParagraph): remove some commented code.
5004
5005         * CutAndPaste.C: remove current_view extern variable.
5006         (cutSelection): add BufferParams arg.
5007         (eraseSelection): add BufferParams arg.
5008         (pasteSelection): add Buffer const & arg
5009
5010 2003-06-07  John Levon  <levon@movementarian.org>
5011
5012         * buffer.C:
5013         * paragraph_funcs.C:
5014         * paragraph_pimpl.C:
5015         * text.C:
5016         * text2.C:
5017         * paragraph.h:
5018         * paragraph.C: allow InsetERT to freely space lines,
5019         and some consolidation of code
5020
5021 2003-06-06  José Matos  <jamatos@fep.up.pt>
5022
5023         * buffer.C (makeDocBookFile): fix bug #821
5024
5025 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5028
5029 2003-06-04  Angus Leeming  <leeming@lyx.org>
5030
5031         * buffer.C: bump format to 224.
5032
5033 2003-06-05  André Pönitz  <poenitz@gmx.net>
5034
5035         * text2.C (redoParagraphs): remove two const_cast<>
5036
5037 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5038
5039         * ParagraphList.h: remove last remnants of NO_STD_LIST
5040
5041 2003-06-03  Angus Leeming  <leeming@lyx.org>
5042
5043         * factory.C (createInset): small change to the way InsetExternal's params
5044         are set.
5045
5046 2003-06-04  André Pönitz  <poenitz@gmx.net>
5047
5048         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5049
5050         * paragraph_pimpl.h:
5051         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5052
5053         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5054
5055         * undo_funcs.C: make some simple cases of undo work again
5056
5057 2003-06-03  John Levon  <levon@movementarian.org>
5058
5059         * ispell.C: HPUX doesn't have sys/select.h
5060         (from Albert Chin)
5061
5062 2003-06-03  John Levon  <levon@movementarian.org>
5063
5064         * CutAndPaste.C: update tabular and include inset
5065         buffer references
5066
5067         * buffer.h:
5068         * paragraph.h:
5069         * paragraph.C: remove owningBuffer(), don't pass Buffer
5070         to clone()
5071
5072         * factory.C: insetGraphicsParams changed
5073
5074 2003-06-02  John Levon  <levon@movementarian.org>
5075
5076         * LyXAction.C:
5077         * factory.C:
5078         * lfuns.h:
5079         * lyxfunc.C:
5080         * text3.C: remove insetparent
5081
5082 2003-06-02  John Levon  <levon@movementarian.org>
5083
5084         * buffer.h:
5085         * buffer.C: fix inset_iterator.end(), move out of line
5086         (bug 1149)
5087
5088 2003-06-01  John Levon  <levon@movementarian.org>
5089
5090         * text3.C: use a proper cut/paste when doing inset
5091         insert (from Jürgen Spitzmüller)
5092
5093 2003-06-01  John Levon  <levon@movementarian.org>
5094
5095         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5096
5097 2003-05-30  André Pönitz  <poenitz@gmx.net>
5098
5099         * rowpainter.C: unify second drawing phase
5100
5101 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * trans_mgr.C: remove one case of current_view
5104
5105         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5106
5107         * paragraph_funcs.h: remove paragraph.h include
5108
5109         * paragraph.h: delete NO_STD_LIST stuff
5110
5111         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5112
5113         * buffer.h: remove paragraph.h include
5114
5115         * ParagraphList.C: delete file
5116
5117         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5118
5119         * toc.C (getTocList): adjust
5120
5121         * paragraph_pimpl.C (validate): adjust
5122
5123         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5124
5125         * paragraph.C (Paragraph): adjust
5126         (getPositionOfInset): use const_iterator, adjust
5127         (bibitem): use const_iterator, adjust
5128         (setInsetOwner): adjust
5129
5130         * iterators.C (operator++): adjust
5131
5132         * InsetList.[Ch]: Replace selfmade iterator with standard
5133         vector::iterator also introduce const_iterator. Remove getPos,
5134         getInset and setInset from InsetTable. Adjust accordingly.
5135
5136         * BufferView.C (lockInset): adjust
5137         (ChangeInsets): adjust
5138
5139         * tabular.[Ch]: delete commented same_id functions
5140
5141 2003-05-28  John Levon  <levon@movementarian.org>
5142
5143         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5144
5145 2003-05-28  André Pönitz  <poenitz@gmx.net>
5146
5147         * metricsinfo.[Ch]: remove 'fullredraw' member
5148
5149 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5150
5151         * lyxtextclass.C (operator): remove caching.
5152
5153 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * text3.C: adjust
5156
5157         * text2.C (cursorBottom): adjust
5158         (setCounter): use ParagraphList::find, adjust
5159
5160         * text.C (workWidth): use ParagraphList::find, adjust
5161
5162         * lyxcursor.C (LyXCursor): adjust
5163
5164         * buffer.C (inset_iterator): adjust
5165
5166         * ParagraphList.h: make iterator(value_type) private, make
5167         ParagraphList a friend of iterator.
5168
5169         * ParagraphList.C (find): new function
5170
5171         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5172
5173 2003-05-27  André Pönitz  <poenitz@gmx.net>
5174
5175         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5176
5177 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5178
5179         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5180
5181 2003-05-26  John Levon  <levon@movementarian.org>
5182
5183         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5184
5185 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * remove same_id from function signatures, adjust.
5188
5189 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5192
5193         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5194
5195         * paragraph.C (Paragraph): get rid of same_ids parameter
5196
5197         * ParagraphList.C (insert): adjust
5198         (push_back): adjust
5199
5200 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * paragraph_funcs.C (breakParagraph): adjust
5203         (breakParagraphConservative): adjust
5204
5205         * buffer.C (readParagraph): adjust
5206
5207         * ParagraphList.C (insert): take a reference instead of a pointer
5208         (insert): adjust
5209
5210         * paragraph.[Ch] (id): new function
5211
5212         * bufferlist.C (newFile): adjust
5213
5214         * ParagraphList.C (ParagraphList): adjust
5215         (assign): adjust
5216         (push_back): take a reference instead of a pointer.
5217
5218         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5219
5220         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5221         instead.
5222
5223         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5224         set else use old code.
5225
5226         * ParagraphList.C: remove all NO_NEXT code and only compile this
5227         code of NO_STD_LIST is set.
5228
5229 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * BufferView_pimpl.C:
5232         * TextCache.C:
5233         * TextCache.h:
5234         * bufferlist.C:
5235         * errorlist.h:
5236         * format.C:
5237         * format.h:
5238         * graph.C:
5239         * lyxfunc.C:
5240         * lyxrc.C:
5241         * graphics/GraphicsConverter.C:
5242         * graphics/PreviewLoader.C: header adjustment
5243
5244 2003-05-23  Angus Leeming  <leeming@lyx.org>
5245
5246         * LaTeXFeatures.[Ch] (useBabel): new method.
5247         * bufferparams.C (writeLaTeX): use it.
5248
5249 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * ParagraphList.h (set): remove unused function.
5252
5253 2003-05-23  André Pönitz  <poenitz@gmx.net>
5254
5255         * BufferView.C:
5256         * BufferView_pimpl.C:
5257         * buffer.C:
5258         * buffer.h:
5259         * lyxfunc.C:
5260         * undo_funcs.C: setUndo reworked
5261
5262         * iterators.[Ch]: add access to topmost ParagraphList
5263
5264         * lyxtext.[Ch] (workWidth): add a const
5265
5266 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * texrow.[Ch] (increasePos): remove function
5269         * exporter.C (export): removed unused var and outdated comment
5270
5271 2003-05-23  Angus Leeming  <leeming@lyx.org>
5272
5273         * latexrunparams.h: rename fragile as moving_arg.
5274         * paragraph.C (simpleTeXOnePar): ditto.
5275         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5276
5277 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5280         (createUndo): ditto
5281         (textUndoOrRedo): comment out a currently unused var.
5282
5283         * paragraph.h (NO_NEXT): enable NO_NEXT
5284
5285         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5286
5287         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5288
5289         * exporter.C (Export): adjust for removeAutoInsets removal.
5290
5291         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5292
5293         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5294
5295         * BufferView.[Ch] (removeAutoInsets): delete function
5296
5297 2003-05-22  Angus Leeming  <leeming@lyx.org>
5298
5299         * latexrunparams.h: add a free_spacing variable.
5300
5301         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5302         to pass moving_arg, as the data is stored in runparams.fragile.
5303
5304         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5305         to Inset::latexOptional or to simpleTeXOnePar.
5306
5307         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5308         free_spacing arg to Inset::latexOptional.
5309
5310         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5311         free_spacing arg.
5312
5313 2003-05-22  Angus Leeming  <leeming@lyx.org>
5314
5315         * latexrunparams.h: add fragile and use_babel variables.
5316
5317         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5318         * buffer.C (makeLaTeXFile): store this returned value in
5319         runparams.use_babel, thus passing it to the inset::latex methods.
5320
5321         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5322         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5323
5324         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5325         longer has a fragile arg, as it is stored in runparams.fragile.
5326
5327         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5328         moving_arg parameter as the data is stored in runparams.fragile.
5329
5330         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5331         a fragile parameter as the data is stored in runparams.fragile.
5332
5333 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5336
5337 2003-05-22  Angus Leeming  <leeming@lyx.org>
5338
5339         * latexrunparams.h: add a 'bool nice' which defaults to false.
5340
5341         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5342         now encapsulated within runparams.
5343
5344         * bufferlist.C (updateIncludedTeXfiles):
5345         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5346
5347 2003-05-22  Angus Leeming  <leeming@lyx.org>
5348
5349         * latexrunparams.h: new file containing struct LatexRunParams.
5350         * Makefile.am: add new file.
5351
5352         * LaTeX.[Ch] (c-tor, run):
5353         * buffer.[Ch] (makeLaTeXFile):
5354         * bufferlist.[Ch] (updateIncludedTeXfiles):
5355         * converter.C (convert, scanLog):
5356         * converter.[Ch] (runLaTeX):
5357         * exporter.C (Export):
5358         * paragraph.[Ch] (simpleTeXOnePar):
5359         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5360         * paragraph_funcs.[Ch] (latexParagraphs):
5361         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5362         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5363         pass around a LatexRunParams parameter.
5364
5365 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * paragraph.[Ch]: remove unused constructor
5368
5369         * ParagraphList.C (erase): new function, taking two iterators
5370
5371 2003-05-22  André Pönitz  <poenitz@gmx.net>
5372
5373         * undo_funcs.C: remove duplicated code
5374
5375         * iterator.[Ch]: operator=
5376
5377 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * tabular.C (SetMultiColumn): ws changes
5380
5381         * rowpainter.C (paintFirst): get rid of a ->previous
5382
5383         * lyx_cb.C (getPossibleLabel): parlist simplification
5384
5385         * BufferView.C (ChangeInsets): simplify slightly.
5386
5387 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5388
5389         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5390         * lfuns.h: new LFUN_SPACE
5391         * lyxfunc.C: protected space has a new lfun
5392         * paragraph_funcs.C: read new space insets
5393         * text3.C:
5394         * factory.C: handle new space insets
5395
5396 2003-05-22  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView.C:
5399         * BufferView_pimpl.C:
5400         * buffer.[Ch]:
5401         * lyxfunc.C:
5402         * undo_funcs.C: return a ParIterator from getParFromID.
5403
5404         * iterators.[Ch]: add two const's
5405
5406 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * toc.C (getTocList): adjust
5409
5410         * iterators.[Ch]: rework for parlist
5411
5412         * buffer.C (par_iterator_begin): adjust
5413         (par_iterator_end): adjust
5414
5415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5416
5417         * BufferView.C (removeAutoInsets): adjust
5418         (ChangeInsets): adjust
5419
5420 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5421
5422         * text.C (top_y): fix bug 1110
5423
5424 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * errorlist.[Ch]: added
5427         * buffer.C:
5428         * BufferView.[Ch]:
5429         * BufferView_pimpl.C:
5430         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5431         instead
5432
5433 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * Makefile.am: ensure that lyx is relinked upon changes to the
5436         various "convenience" libs.
5437
5438 2003-05-20  Angus Leeming  <leeming@lyx.org>
5439
5440         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5441         files are compiled in alphabetical order again.
5442
5443         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5444
5445 2003-05-19  Angus Leeming  <leeming@lyx.org>
5446
5447         * gettext.[Ch]: remove "char const * _(char const *)".
5448
5449 2003-05-19  André Pönitz  <poenitz@gmx.net>
5450
5451         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5452
5453         * Makefile.am:
5454         * BufferView.C:
5455         * DepTable.h:
5456         * LaTeXFeatures.C:
5457         * buffer.C:
5458         * lyxfont.C:
5459         * lyxlex.h:
5460         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5461
5462 2003-05-19  André Pönitz  <poenitz@gmx.net>
5463
5464         * buffer.C:
5465         * lyxlayout.[Ch]:
5466         * lyxtextclass.[Ch]:
5467         * paragraph.C:
5468         * paragraph_funcs.[Ch]:
5469         * text2.C:
5470         * text3.C: more insetenv work
5471
5472 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * ParagraphParameters.C (params2string): small bug fixed
5475
5476 2003-05-16  André Pönitz  <poenitz@gmx.net>
5477
5478         * debug.C:
5479         * bufferview_funcs.C: patch from Kornel Benko to prevent
5480           crash when _(...) is called twice in a statement
5481
5482 2003-05-16  André Pönitz  <poenitz@gmx.net>
5483
5484         * BufferView.C:
5485         * lyxfunc.C:
5486         * text.C:
5487         * text2.C:
5488         * text3.C:
5489         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5490
5491 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * lyx_main.C (init): remove spurious static_cast
5494
5495 2003-05-14  André Pönitz  <poenitz@gmx.net>
5496
5497         * BufferView.C: fix format string
5498
5499 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * BufferView.[Ch] (insertErrors): removed
5502         * BufferView.[Ch] (showErrorList): added
5503         * buffer.C (runChkTeX):
5504         * converter.C (scanLog): call showErrorList instead of inserterrors
5505
5506 2003-05-13  André Pönitz  <poenitz@gmx.net>
5507
5508         * BufferView_pimpl.C:
5509         * buffer.C:
5510         * bufferview_func.C:
5511         * MenuBackend.C:
5512         * lyxfunc.C:
5513         * lyxrc.C:
5514         * tex-accent.C:
5515         * text3.C:
5516         * toc.C:
5517         * tabular_funcs.h: tostr() from its own header
5518
5519         * ParagraphParameters.C:
5520         * ToolbarBackend.C:
5521         * bufferparams.C:
5522         * format.C:
5523         * lyxlex_pimpl.C:
5524         * text3.C: STRCONV()
5525
5526 2003-05-12  André Pönitz  <poenitz@gmx.net>
5527
5528         * BufferView.C:
5529         * BufferView_pimpl.C:
5530         * CutAndPaste.C:
5531         * LaTeX.C:
5532         * LaTeXFeatures.C:
5533         * ParagraphParameters.C:
5534         * buffer.C:
5535         * bufferlist.C:
5536         * bufferparams.C:
5537         * bufferview_funcs.C:
5538         * converter.C:
5539         * counters.C:
5540         * debug.C:
5541         * exporter.C:
5542         * format.C:
5543         * importer.C:
5544         * lyx_cb.C:
5545         * lyx_main.C:
5546         * lyxfont.C:
5547         * lyxfunc.C:
5548         * lyxvc.C:
5549         * paragraph.C:
5550         * paragraph_funcs.C:
5551         * tabular.C:
5552         * tabular_funcs.C:
5553         * text2.C:
5554         * text3.C:  boost::format -> bformat  all over the place
5555
5556
5557 2003-05-09  André Pönitz  <poenitz@gmx.net>
5558
5559         * LColor.[Ch]: Pimpl the #include <map> away
5560
5561 2003-05-09  John Levon  <levon@movementarian.org>
5562
5563         * bufferlist.C: never remove emergency saves
5564
5565 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * Makefile.am: better lib building
5568
5569 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5572         instead.
5573         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5574         (simpleTeXSpecialChars): adjust
5575         (simpleTeXSpecialChars): adjust
5576         * paragraph.C (simpleTeXOnePar): adjust
5577         * buffer.C (makeLaTeXFile): adjust
5578
5579         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5580
5581         * text2.C (changeDepth): parlist cleanup
5582         (getColumnNearX): ditto
5583
5584         * rowpainter.C (getLabelFont): parlist cleanup
5585
5586         * bufferlist.C (newFile): parlist cleanup
5587
5588         * CutAndPaste.C (eraseSelection): parlist cleanup
5589
5590         * BufferView_pimpl.C (trackChanges): parlist cleanup
5591         (dispatch): ditto
5592
5593         * BufferView.C (lockInset): parlist cleanup.
5594         (ChangeInsets): ditto
5595
5596 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * CutAndPaste.h: Update file header.
5599
5600         * CutAndPaste.C: Update file header.
5601         Store the parts cut out of the Document in a limited_stack.
5602         (copySelection): adjust
5603         (pasteSelection): new function, takes the index in the limited stack.
5604         (nrOfParagraphs): adjust
5605         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5606         simplify error inset insertion.
5607         (checkPastePossible): adjust
5608
5609 2003-05-06  John Levon  <levon@movementarian.org>
5610
5611         * text2.C: don't cast wrap inset to float
5612
5613 2003-05-05  André Pönitz  <poenitz@gmx.net>
5614
5615         * iterator.C:
5616         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5617
5618         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5619           few naked Paragraph *.
5620
5621 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5622
5623         * bufferparams.C: Output warning if a document with missing
5624         TeX document class is loaded
5625         * exporter.C: Disable TeX exports if the document class is missing
5626         * lyxtextclass.C:
5627         * lyxtextclass.h:
5628         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5629         isTeXClassAvailable()
5630
5631 2003-05-03  John Levon  <levon@movementarian.org>
5632
5633         * BufferView.h:
5634         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5635         explicit cursor show/hide
5636
5637         * BufferView_pimpl.h:
5638         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5639         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5640
5641         * lyxfunc.C: hide cursor before dispatching.
5642
5643         * lyx_cb.C:
5644         * lyxfind.C:
5645         * text.C:
5646         * text3.C: remove explicit cursor hides
5647
5648 2003-05-02  André Pönitz  <poenitz@gmx.net>
5649
5650         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5651
5652         * undo_funcs.C:
5653         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5654           linked lists
5655
5656         * text2.C: tiny whitespace
5657
5658 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * undo_funcs.C: almost only ws changes.
5661
5662         * ParagraphList.C (splice): just return if pl is empty.
5663
5664 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * ParagraphList.C (splice): new function.
5667
5668         * CutAndPaste.C (pasteSelection): use it
5669
5670 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * CutAndPaste.C (pasteSelection): remove the last next and
5673         previous from this file.
5674
5675 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * CutAndPaste.C (pasteSelection): more clean up, user proper
5678         ParagraphList functions for pasteing.
5679
5680         * ParagraphList.C (insert): new function, three arg insert
5681
5682 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * ParagraphList.C (insert): new function, three arg insert
5685
5686         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5687         not on paragraphs.
5688
5689 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5692
5693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5696
5697 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5700         (copySelection): clean up a bit.
5701         (pasteSelection): use make_pair
5702
5703         * ParagraphList.C (ParagraphList): implement copy constructor
5704         (operator=): implement, base on copy constructor.
5705         (assign): new func
5706
5707         * paragraph.C (erase): return a bool
5708
5709         * paragraph_pimpl.C (erasePos): remove function, move contents...
5710         (erase): ... here. Return a bool.
5711         (erase): call erase instead of erasePos.
5712
5713 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * ParagraphList.h: define PitPosPair
5716         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5717         ParagraphList, fix a bug on pasting multiple pars
5718         * text2.C: change interface to C&P
5719
5720 2003-04-30  André Pönitz  <poenitz@gmx.net>
5721
5722         * undo_func.C: revert part of yesterday's patch 2
5723
5724 2003-04-30  John Levon  <levon@movementarian.org>
5725
5726         * LColor.C: s/tabular/table/
5727
5728 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * text3.C (dispatch): do not convert iterator -> pointer
5731         * undo_funcs.C (setCursorParUndo): ditto
5732         * text_funcs.C (transposeChars): ditto
5733
5734         * text2.C (setLayout): ws changes only
5735
5736         * text.C (breakParagraph): do not convert iterator -> pointer
5737         (insertChar): ditto
5738         (acceptChange): ditto
5739         (rejectChange): ditto
5740         (changeCase): ditto
5741         (Delete): ditto
5742         (backspace): ditto
5743
5744         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5745         pointer
5746
5747 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5748
5749         * text3.C (gotoInset): YABG (yet another bad getChar)
5750
5751 2003-04-29  André Pönitz  <poenitz@gmx.net>
5752
5753         * paragraph.h: make operator= private unimplemented as long as
5754           it is unusable
5755
5756         * ParagraphList.C: whitespace
5757
5758         * paragraph.[Ch]:
5759         * paragraph_pimpl.[Ch]:
5760         * paragraph_funcs.C:
5761         * CutAndPaste.C:
5762         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5763
5764         * text2.C:
5765           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5766
5767 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5768
5769         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5770         * paragraph.[Ch] (erase):
5771         * paragraph_pimpl.[Ch] (erase): change return type and value
5772         * text2.C (cutSelection): some rework
5773
5774 2003-04-28  John Levon  <levon@movementarian.org>
5775
5776         * bufferlist.C: changes for unsaved changes dialog
5777
5778 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * bufferlist.C (newFile): set language (messages_) for new
5781         documents also.
5782
5783         * buffer.C (readFile): ws changes only.
5784
5785 2003-04-28  André Pönitz  <poenitz@gmx.net>
5786
5787         * undo_funcs.C:
5788         * lyxfunc.C:
5789         * buffer.[Ch]:
5790         * BufferView_pimpl.C:
5791         * BufferView.C: getParFromID related ParagraphList::iterator changes
5792
5793 2003-04-28  André Pönitz  <poenitz@gmx.net>
5794
5795         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5796           Changes
5797
5798 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * messages.C: remove one more localedir class variable.
5801
5802 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * messages.C (getLocaleDir): singleton generation function
5805         (Pimpl): use it.
5806         (Messages): add a default constructor.
5807
5808         * main.C (main): do not setup localedir here, do not call
5809         gettext_init.
5810
5811         * gettext.C (_): use it.
5812         (gettext_init): delete funciton
5813
5814 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * gettext.C (getLyXMessages): new singleton generating function.
5817
5818         * buffer.C (updateDocLang): adjust
5819
5820         * Makefile.am (messages.o): add target
5821         (main.o): remove target
5822
5823 2003-04-27  John Levon  <levon@movementarian.org>
5824
5825         * bufferlist.C:
5826         * lyx_cb.C:
5827         * lyxfunc.C:
5828         * lyxvc.C: specify cancel button in Alert::prompt
5829
5830 2003-04-26  John Levon  <levon@movementarian.org>
5831
5832         * text3.C:
5833         * lyxfunc.C:
5834         * lfuns.h:
5835         * LyXAction.C: add LFUN_INSET_SETTINGS
5836
5837         * lyxfunc.C: don't enable tabular-feature when there's
5838         just any locking inset
5839
5840 2003-04-26  John Levon  <levon@movementarian.org>
5841
5842         * bufferlist.C: re-add Cancel to buffer close question
5843
5844         * lyxfunc.C: fix import UI a bit
5845
5846 2003-04-25  John Levon  <levon@movementarian.org>
5847
5848         * gettext.C: remove the broken asserts for now
5849
5850 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5851
5852         * messages.C: make case where setlocale cannot comply work better.
5853
5854         * buffer.C (updateDocLang): new function
5855         (changeLanguage): use it
5856         (readFile): use it
5857
5858         * text2.C (setCounter): use B_ a bit.
5859
5860         * lyxlayout.C (Read): be sure to trim the label strings.
5861
5862         * messages.C (Messages): fix typo in comment
5863
5864         * buffer.C (readFile): set message_ after file is loaded.
5865         (makeDocBookFile): remove double return
5866         (changeLanguage): reset message_ upon language change.
5867         (B_): new func, use this to get translated buffer strings.
5868
5869         * main.C: add myself and Jean Marc as authors.
5870
5871 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * messages.[hC]: pimplify Messages, and three different pimpls to be
5874         used in different circumstances.
5875
5876         * gettext.[Ch]: change for use with new message code.
5877
5878 2003-04-24 André Pönitz <poenitz@gmx.net>
5879
5880         * factory.C: support for eqref
5881
5882 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * messages.[Ch]: add missing char
5885
5886         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5887
5888         * messages.[Ch]: New files
5889
5890 2003-04-18  John Levon  <levon@movementarian.org>
5891
5892         * BufferView.h:
5893         * BufferView.C:
5894         * BufferView_pimpl.C:
5895         * lfuns.h:
5896         * LyXAction.C:
5897         * lyxtext.h:
5898         * text2.C: remove layout-copy/paste (bug 778)
5899
5900 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5903
5904 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5907         if they succeed. Act accordingly.
5908
5909 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * text2.C (setCharFont): adjust
5912         (setCounter): adjust
5913         (insertStringAsLines): adjust
5914
5915         * text.C (leftMargin): adjust
5916         (setHeightOfRow): adjust
5917
5918         * rowpainter.C (paintFirst): adjust
5919         (paintLast): adjust
5920
5921         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5922         (outerHook): ditto
5923         (isFirstInSequence): ditto
5924         (getEndLabel): ditto
5925         (outerFont): adjust
5926
5927         * paragraph.C (getParLanguage): comment out some hard stuff.
5928
5929         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5930         (sgmlError): ditto
5931         (simpleDocBookOnePar): ditto
5932         (makeDocBookFile): use ParagraphList::iterator
5933
5934         * CutAndPaste.C (pasteSelection): adjust
5935
5936 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * text2.C (getFont): adjust
5939         (getLayoutFont): adjust
5940         (getLabelFont): adjust
5941
5942         * paragraph_funcs.C (TeXOnePar): adjust
5943
5944         * buffer.C (simpleLinuxDocOnePar): adjust
5945         (simpleDocBookOnePar): adjust
5946
5947         * CutAndPaste.C (pasteSelection): adjust
5948
5949         * BufferView.C (getEncoding): adjust
5950
5951         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5952
5953 2003-04-16  John Levon  <levon@movementarian.org>
5954
5955         * lyxfind.C: use parlist stuff for search/changes
5956
5957 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5960
5961         * text2.C (deleteEmptyParagraphMechanism): adjust
5962
5963         * text2.[Ch] (ownerParagraph): delete func (both of them
5964
5965 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5968
5969 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * ParagraphList.C: prepare for NO_NEXT
5972
5973 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text2.C (getFont): adjust
5976         (getLayoutFont): adjust
5977         (getLabelFont): adjust
5978
5979         * paragraph.C (getFont): adjust
5980         (getLabelFont): adjust
5981         (getLayoutFont): adjust
5982
5983         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5984
5985 2003-04-15  John Levon  <levon@movementarian.org>
5986
5987         From Angus Leeming
5988
5989         * lyx_main.C: handle Include in .ui files
5990
5991 2003-04-15  John Levon  <levon@movementarian.org>
5992
5993         * MenuBackend.C: make the doc files length shorter
5994
5995         * ToolbarBackend.h:
5996         * ToolbarBackend.C: handle toolbar placement flags,
5997         Minibuffer
5998
5999 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6002         adjust
6003
6004         * paragraph_funcs.C (TeXOnePar): adjust
6005
6006         * paragraph.C (getLabelFont): add outerfont arg, adjust
6007         (getLayoutFont): ditto
6008         (simpleTeXOnePar): adjust
6009
6010         * paragraph_pimpl.C (realizeFont): delete func
6011
6012 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6015         row argument, constify cur argument.
6016
6017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * text2.C (getFont): adjust
6020         (getLayoutFont): adjust
6021         (getLabelFont): adjust
6022
6023         * paragraph_funcs.C (TeXOnePar): adjust
6024         (outerFont): new func...
6025         (realizeFont): ...moved out from here, changed this to facilitate
6026         transition
6027
6028         * paragraph.C (getFont): take outerfont as arg, adjust
6029         (simpleTeXOnePar): add outerfont arg, adjust
6030
6031         * buffer.C (simpleLinuxDocOnePar): adjust
6032         (simpleDocBookOnePar): adjust
6033
6034         * CutAndPaste.C (pasteSelection): adjust
6035
6036         * BufferView.C (getEncoding): adjust
6037
6038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * text2.C (setCharFont): adjust
6041         (setCounter): adjust
6042
6043         * text.C (leftMargin): adjust
6044         (setHeightOfRow): adjust
6045
6046         * rowpainter.C (paintFirst): adjust
6047         (paintLast): adjust
6048
6049         * paragraph_pimpl.C (realizeFont): adjust
6050
6051         * paragraph.C (isFirstInSequence): move from here...
6052         * paragraph_funcs.C (isFirstInSequence): ...to here
6053
6054         * paragraph.C (outerHook): move from here...
6055         * paragraph_funcs.C (outerHook): ...to here
6056
6057         * paragraph.C (depthHook): move from here...
6058         * paragraph_funcs.C (depthHook): ...to here
6059
6060         * paragraph.C (getEndLabel): move from here...
6061         * paragraph_funcs.C (getEndLabel): ...to here
6062
6063         * text2.C (realizeFont): move from here...
6064         * paragraph_funcs.C (realizeFont): ...to here
6065
6066 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6069
6070 2003-04-14  Angus Leeming  <leeming@lyx.org>
6071
6072         * LColor.[Ch]: scrap LColor mathcursor.
6073
6074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * lyxlex.[Ch] (text): delete function
6077         * trans.C (Load): adjust
6078         * paragraph_funcs.C (readParToken): adjust
6079
6080 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6083         vector<char> instead of a char[].
6084
6085         * lyxlex_pimpl.C (getString): adjust
6086         (next): adjust
6087         (lex): use getString
6088         (eatLine): adjust
6089         (nextToken): adjust
6090
6091         * lyxlex.C (text): use pimpl_->getString()
6092         (getBool): ditto
6093         (findToken): ditto
6094
6095 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6098         (makeFontEntriesLayoutSpecific): temp var for par.size()
6099         (setLayout): temp var for ownerParagraphs().end()
6100         (fullRebreak): temp var for rows().end()
6101         (selectionAsString): temp var for boost::next(startpit), realize
6102         that the while really is a regular for loop.
6103         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6104         setCursor in one place.
6105         (setParagraph): temp vr for ownerParagraphs().end()
6106         (updateCounters): make the while loop a for loop
6107         (cutSelection): temp var for ownerParagraphs().end()
6108         (updateInset): make the do {} while() a regular for loop
6109         (getCursorX): use temp vars
6110         (setCurrentFont): use temp vars
6111         (getColumnNearX): use temp vars
6112
6113 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * text.C (transformChar): use temp var for getChar
6116         (computeBidiTables): use temp var for row->par()
6117         (fill): move temp vars for row->par() and pit->layout() earlier in
6118         the function.
6119         (labelFill): use temp var for row->par()
6120         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6121         asc and desc, realize that pit never changes and that firstpit is
6122         just a duplicate and not needed. Exchange rit->par() with pit in a
6123         lot of places.
6124         (breakAgain): use a temp var for boost::next(rit)
6125         (breakAgainOneRow): ditto
6126         (breakParagraph): use a temp var for rows().begin()
6127         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6128         (cursorRightOneWord): use temp var for cursor.par() and
6129         cursor.pos(), remove usage of tmpcursor.
6130         (cursorLeftOneWord): use temp var for cursor.par() and
6131         cursor.pos() only set cur at end of function.
6132
6133 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * text.C, text2.C: exchange all usage of Paragraph::next with
6136         boost::next(ParagraphList::iterator)
6137
6138         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6139
6140         * text2.C (cursorTop): simplify implementation
6141         (cursorBottom): ditto
6142         (setParagraph): use ParagraphList::iterator
6143         (setCurrentFont): adjust
6144         (getColumnNearX): adjust
6145         (cursorRight): adjust
6146         (cursorLeft): remove usage of Paragraph::previous
6147         (cursorUpParagraph): ditto
6148         (deleteEmptyParagraphMechanism): slight cleanup
6149
6150         * text.C (isBoundary): take a Paragraph const & instead of a
6151         pointer as arg.
6152         (addressBreakPoint): ditto
6153         (leftMargin): remove usage of Paragraph::previous.
6154         (setHeightOfRow): ditto
6155         (cursorLeftOneWord): ditto
6156         (selectNextWordToSpellcheck): ditto
6157         (Delete): ditto
6158         (backspace): ditto
6159         (breakParagraph): remove one usage of Paragraph::next
6160         (redoParagraph): ditto
6161         (acceptChange): ditto
6162         (insertChar): adjust
6163         (rowBreakPoint): adjust
6164
6165         * bufferview_funcs.C (toggleAndShow): adjust
6166
6167 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6168
6169         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6170         methods to access it.
6171         * lyxtext.h:
6172         * text.C: Added updateRowPositions to compute all row positions.
6173         Make top_y and getRowNearY() to use the cached y position
6174
6175 2003-04-11  John Levon  <levon@movementarian.org>
6176
6177         * text.C (rowBreakPoint): reintroduce the labelEnd
6178         checks, code copied from the row fill stuff. Deep voodoo.
6179
6180         * text.C (fill): add a comment and debugging for the
6181         next poor soul.
6182
6183 2003-04-11  John Levon  <levon@movementarian.org>
6184
6185         * text.C: make sure fullrow insets get wrapped to the next line,
6186         even when they're in a manual label
6187
6188 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * text2.C (insertParagraph): make it take ParagraphList::iterator
6191         as arg.
6192         (setLayout): make it return ParagraphList::iterator
6193         (redoParagraphs): ditto
6194         (setCounter): ditto
6195         (checkParagraph): ditto
6196
6197         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6198
6199         * text2.C: adjust several funcs.
6200         (realizeFont): take a ParagraphList::iterator as arg.
6201         (getLayoutFont): ditto
6202         (getLabelFont): ditto
6203         (setCharFont): ditto
6204
6205         * text.C: adjust several funcs.
6206
6207 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6208
6209         * text.C (selectNextWordToSpellcheck): don't accidentally
6210         skip insets
6211
6212 2003-04-10  John Levon  <levon@movementarian.org>
6213
6214         * ToolbarBackend.C (getIcon): special handling for
6215         LFUN_MATH_DELIM
6216
6217 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * text2.C (cursorRight): a getChar assert fixed
6220
6221 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * text2.C (getFont): change to take a ParagraphList::iterator
6224         instead of Paragraph*
6225         Adjust several functions.
6226
6227         * text.C (transformChar): change to take a ParagraphList::iterator
6228         instead of Paragraph*
6229         (singleWidth): ditto
6230         Adjust several functions.
6231
6232         * rowpainter.C: adjust several functions
6233         * rowpainter.h:store a ParagraphList::iterator and not a
6234         Paragraph&.
6235
6236
6237 2003-04-09  John Levon  <levon@movementarian.org>
6238
6239         * lyxfunc.C:
6240         * lfuns.h:
6241         * LyXAction.h:
6242         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6243         and the "help" bits as well
6244
6245 2003-04-09  John Levon  <levon@movementarian.org>
6246
6247         * ToolbarBackend.h:
6248         * ToolbarBackend.C: allow multiple toolbars
6249
6250 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * undo_funcs.C (setCursorParUndo): adjust
6253
6254         * text_funcs.C (transposeChars): adjust
6255
6256         * text3.C (gotoNextInset): adjust
6257         (dispatch): adjust
6258
6259         * text2.C (setLayout): adjust
6260         (changeDepth): adjust
6261         (setFont): adjust
6262         (redoParagraphs): adjust
6263         (selectionAsString): adjust
6264         (setParagraph): adjust
6265         (insertInset): adjust
6266         (cutSelection): adjust
6267         (copySelection): adjust
6268         (pasteSelection): adjust
6269         (insertStringAsLines): adjust
6270         (updateInset): adjust
6271         (setCursor): change to take a ParagraphList::iterator parameter
6272         (setCursorIntern): change to take a ParagraphList::iterator parameter
6273         (setCurrentFont): adjust
6274         (cursorLeft): adjust
6275         (cursorRight): adjust
6276         (deleteEmptyParagraphMechanism): adjust
6277
6278         * text.C (breakParagraph): adjust
6279         (insertChar): adjust
6280         (acceptChange): adjust
6281         (rejectChange): adjust
6282         (selectNextWordToSpellcheck): adjust
6283         (changeCase): adjust
6284         (Delete): adjust
6285         (backspace): adjust
6286
6287         * lyxfind.C (SearchForward): adjust
6288         (SearchBackward): adjust
6289         (nextChange): adjust
6290
6291         * lyxcursor.C (par): adjust
6292
6293         * lyxcursor.h: store a ParagraphList::iterator instead of a
6294         Paragraph*
6295
6296         * lyx_cb.C (getPossibleLabel): adjust
6297
6298         * bufferview_funcs.C (toggleAndShow): adjust
6299
6300         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6301         (dispatch): adjust
6302
6303         * BufferView.C (removeAutoInsets): adjust
6304         (lockedInsetStoreUndo): adjust
6305
6306 2003-04-09  John Levon  <levon@movementarian.org>
6307
6308         * ToolbarBackend.C: try icon without argument
6309         if with argument fails
6310
6311 2003-04-08  John Levon  <levon@movementarian.org>
6312
6313         * ToolbarBackend.h:
6314         * ToolbarBackend.C: add getIcon(), handle tooltip,
6315         and change from "Icon" to "Item".
6316
6317 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6318
6319         * BufferView.C (lockInset): another bad getchar crunched
6320
6321 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6322
6323         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6324         again)
6325
6326 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6327
6328         * lyxfind.C (searchForward, searchBackwards): bug 782
6329
6330 2003-04-07  John Levon  <levon@movementarian.org>
6331
6332         * paragraph.C: remove dead comment
6333
6334         * text.C: remove troublesome depth-fiddling code
6335         in leftMargin() and rightMargin() (bug 1017)
6336
6337         * text.C: fix breaking of rows in nested lists
6338         (bug 1004)
6339
6340         * text2.C (updateCounters): fix up depth values
6341         (bug 1013)
6342
6343 2003-04-07  John Levon  <levon@movementarian.org>
6344
6345         * BufferView_pimpl.C: clear message when doc finishes resizing,
6346         and after a mouse event
6347
6348         * lyxfunc.C: clear message after exiting inset
6349
6350 2003-04-07  John Levon  <levon@movementarian.org>
6351
6352         * bufferview_funcs.C: show math status not outside
6353         status in the statusbar
6354
6355 2003-04-07  John Levon  <levon@movementarian.org>
6356
6357         * lyxfunc.C: note status changed after a depth change
6358
6359 2003-04-04  Angus Leeming  <leeming@lyx.org>
6360
6361         * LaTeX.h: move AuxInfo operator==, != out of line.
6362         Remove LaTeX virtual destructor; nothing derives from it.
6363         Move operator()() out of public area and rename it startscript().
6364         Change protected for private.
6365
6366 2003-04-04  Angus Leeming  <leeming@lyx.org>
6367
6368         * lyxfunc.C:
6369         * text2.C: remove unneeded #includes.
6370
6371 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6372
6373         * text2.C (dEPM): fix the heigth of the next row
6374
6375 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6376
6377         * text.C: squashed an invalid getChar requester + some ws changes
6378
6379 2003-04-03  John Levon  <levon@movementarian.org>
6380
6381         * bufferview_funcs.h:
6382         * bufferview_funcs.C:
6383         * lyxfunc.C:
6384         * lyxtext.h:
6385         * text2.C: make getStatus work for the env depth lfuns
6386
6387 2003-04-03  John Levon  <levon@movementarian.org>
6388
6389         * bufferview_funcs.h:
6390         * bufferview_funcs.C:
6391         * lyxfunc.C:
6392         * lyxtext.h:
6393         * text2.C: parlistize decDepth(), by merging it with incDepth()
6394
6395 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * lyxrow.h: store a ParagraphList::iterator instead of a
6398         Paragraph* and adjust other class functions to suit.
6399
6400         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6401         above.
6402
6403 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * text2.C (setCursor): do not anchor to cursor row for the time being
6406
6407 2003-04-02  John Levon  <levon@movementarian.org>
6408
6409         * LyXAction.C:
6410         * lfuns.h:
6411         * lyx_main.C:
6412         * lyxtext.h:
6413         * text.C:
6414         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6415
6416 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * paragraph.h: make ParagraphList and ParagraphList::iterator
6419         friends of Paragraph.
6420
6421         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6422
6423         * ParagraphList.C: Use the private next_ and previous_ from
6424         Paragraph.
6425
6426 2003-04-01  John Levon  <levon@movementarian.org>
6427
6428         * ToolbarBackend.h:
6429         * ToolbarBackend.C:
6430         * Makefile.am: rename, remove defaults gunk
6431
6432         * MenuBackend.h:
6433         * MenuBackend.C: remove defaults gunk
6434
6435         * Languages.h:
6436         * Languages.C: remove defaults gunk
6437
6438         * lyx_main.h:
6439         * lyx_main.C: error out if files couldn't be found.
6440
6441 2003-04-02  John Levon  <levon@movementarian.org>
6442
6443         * text2.C: make incDepth() use parlist
6444
6445 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * undo_funcs.C (firstUndoParagraph): adjust
6448
6449         * text3.C (gotoInset): adjust
6450         (dispatch): adjust, and rewrite loop.
6451
6452         * text2.C (init): adjust, and rewrite loop.
6453         (redoParagraphs): adjust
6454         (updateInset): adjust, and rewrite loop.
6455         (deleteEmptyParagraphMechanism): adjust
6456
6457         * tabular.C (LyXTabular): adjust
6458         (SetMultiColumn): adjust
6459         (TeXRow): adjust
6460
6461         * lyxtext.[Ch] (ownerParagraph): delete function
6462         (ownerParagraphs): new function returns a ParagraphList.
6463
6464         * BufferView.C (removeAutoInsets): adjust
6465         (insertErrors): adjust
6466         (setCursorFromRow): adjust
6467
6468 2003-04-01  Angus Leeming  <leeming@lyx.org>
6469
6470         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6471         in the frontends.
6472
6473 2003-04-02  John Levon  <levon@movementarian.org>
6474
6475         * lyxtext.h:
6476         * text.C:
6477         * Makefile.am:
6478         * text_funcs.h:
6479         * text_funcs.C: make transposeChars a free function
6480
6481         * lyxrow_funcs.C: remove wrong comment
6482
6483 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * lyxtext.h: adjust
6486         * rowpainter.C: adjust
6487         * text.C: adjust
6488         * text2.C: adjust
6489         * text3.C: adjust
6490
6491         * lyxrow_funcs. [Ch]: new files
6492
6493         * lyxrow.[Ch]: remove next and previous pointers
6494         (next,previous): remove accessor functions
6495         (isParEnd): move to lyxrow_funcs
6496         (lastPos): move to lyxrow_funcs
6497         (nextRowIsAllInset): move to lyxrow_funcs
6498         (lastPrintablePos): move to lyxrow_funcs
6499         (numberOfSeparators): move to lyxrow_funcs
6500         (numberOfHfills): move to lyxrow_funcs
6501         (numberOfLabelHfills): move to lyxrow_funcs
6502         (hfillExpansion): move to lyxrow_funcs
6503
6504         * lyxfunc.C: adjust
6505
6506         * bufferview_funcs.C (toggleAndShow): adjust
6507
6508         * RowList.h: Remove class RowList from file leave just a
6509         std::list<Row>.
6510
6511         * RowList.C: delete file
6512
6513         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6514         and lyxrow_funcs.h
6515
6516 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * text3.C (cursorPrevious): adjust
6519         (cursorNext): adjust
6520         (dispatch): adjust
6521
6522         * text2.C (redoHeightOfParagraph): adjust
6523         (redoDrawingOfParagraph): adjust
6524         (setCursor): adjust
6525
6526         * text.C (breakParagraph): adjust
6527         (insertChar): adjust
6528         (backspace): adjust
6529
6530         * rowpainter.C (RowPainter): adjust
6531         (leftMargin): simplify and adjust
6532         (most rowpainter functions): adjust.
6533
6534         * rowpainter.h: store the row as RowList::iterator not as Row*
6535
6536         * lyxcursor.C (row): taka RowList::iterator as arg
6537         (irow): ditto
6538
6539         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6540         of Row*.
6541
6542 2003-04-01  Angus Leeming  <leeming@lyx.org>
6543
6544         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6545         stuff like bool Bool.
6546
6547 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6548
6549         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6550         rewrite a loop
6551
6552 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6555         RowList::iterator.
6556
6557         * lyxtext.h (rows): drop one version and leve a const variant that
6558         returns a RowList::iterator.
6559
6560 2003-03-31  Angus Leeming  <leeming@lyx.org>
6561
6562         * text.C (fill): ensure that the signature is the same as that in the
6563         header file.
6564
6565 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * text2.C (redoParagraphs): adjust
6568         (updateCounters): adjust
6569         (checkParagraph): adjust
6570         (getColumnNearX): adjust and reformat a bit.
6571
6572         * text.C (top_y): adjust
6573         (workWidth): adjust
6574         (leftMargin): adjust
6575         (prepareToPrint): adjust
6576         (getRow): adjust
6577         (getRowNearY): adjust
6578
6579         * lyxtext.h: make rowlist_ mutable.
6580
6581         * RowList.h: add const_iterator
6582         * RowList.C: adjust for RowList::const_iterator.
6583
6584         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6585         adjust.
6586
6587 2003-03-31  John Levon  <levon@movementarian.org>
6588
6589         * lyxrc.h:
6590         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6591
6592         * lyx_main.C: set default fonts from using lyx_gui funcs
6593
6594         * exporter.C: pdf_mode moved from lyxrc
6595
6596         * lyx_cb.C:
6597         * lyxfunc.C: changes from above
6598
6599 2003-03-31  John Levon  <levon@movementarian.org>
6600
6601         * lyx_main.C: fix to the last fix
6602
6603 2003-03-31  John Levon  <levon@movementarian.org>
6604
6605         * bufferlist.C: "Load original" -> "Load Original"
6606
6607         * converter.C:
6608         * exporter.C:
6609         * importer.C:
6610         * lyx_main.C:
6611         * format.C: more Alert cleanups
6612
6613 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * text2.C (removeParagraph): make it take a RowList::iterator as
6616         arg, adjust.
6617         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6618         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6619
6620         * text.C (anchor_row): make it take a RowList::iterator as arg,
6621         adjust.
6622         (computeBidiTables): make it take a const reference to Row instead
6623         of Row pointer, adjust.
6624         (leftMargin): make it take a RowList::iterator as arg, adjust.
6625         (rowBreakPoint): adjust
6626         (breakAgainOneRow): make it take a RowList::iterator as arg,
6627         adjust.
6628         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6629
6630         * bufferview_funcs.C (toggleAndShow): adjust
6631
6632 2003-03-30  John Levon  <levon@movementarian.org>
6633
6634         * Makefile.am:
6635         * BoostFormat.h:
6636         * boost-inst.C: moved to support
6637
6638         * several files: changes as a result
6639
6640 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * text2.C (LyXText): adjust.
6643         (init): adjust
6644         (removeRow): make it take a RowList::iterator as arg, adjust.
6645         (fullRebreak): adjust
6646         (deleteEmptyParagraphMechanism): adjust
6647         (clearPaint): adjust
6648         (postPaint): adjust
6649
6650         * text.C (top_y): adjust
6651         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6652         (breakAgain): make it take a RowList::iterator as arg, adjust.
6653         (breakParagraph): adjust
6654         (insertChar): adjust
6655         (backspace): adjust
6656
6657         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6658         need_break_row, and refresh_row.
6659
6660         * text3.C (dispatch): adjust
6661
6662         * text2.C (checkParagraph): adjust
6663         (setCursor): adjust
6664         (setCursorFromCoordinates): adjust
6665
6666         * text.C (top_y): adjust
6667         (workWidth): adjust
6668         (getRow): make it return a RowList::iterator, adjust
6669         (getRowNearY): make it return a RowList::iterator, adjust
6670
6671         * text2.C (init): adjust
6672         (insertRow): remove function
6673         (insertParagraph): adjust
6674         (redoParagraphs): adjust
6675         (fullRebreak): adjust
6676         (updateCounters): adjust
6677
6678         * text.C (top_y): rewrite to use RowList iterators.
6679         (top_y): adjust
6680         (setHeightOfRow): rewrite to sue RowList iterators.
6681         (appendParagraph): adjust
6682         (breakAgain): adjust
6683         (breakAgainOneRow): adjust
6684         (breakParagraph): adjust
6685         (getRow): adjust
6686         (getRowNearY): adjust, and remove commented code.
6687
6688         * lyxtext.h (firstRow): delete function
6689         (lastRow): delete function
6690         (rows): new function (const and non-const versions.)
6691         (insertRow): delete function
6692
6693         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6694
6695 2003-03-29  John Levon  <levon@movementarian.org>
6696
6697         * BufferView_pimpl.C: always update scrollbar top
6698         because pasting text when we're anchored could mean we
6699         miss an update altogether
6700
6701 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * text2.C (init): use rowlist_.end() and not 0.
6704         (insertRow): change to take a RowList::iterator as arg, adjust
6705         for this.
6706         (insertParagraph): change to take a RowList::iterator as arg,
6707         adjust for this.
6708         (redoParagraphs): remove some debug msgs.
6709
6710         * text.C (appendParagraph): change to take a RowList::iterator
6711         arg, adjust for this.
6712         (breakAgain): add an assert
6713         (breakAgainOneRow): ditto
6714
6715 2003-03-29  John Levon  <levon@movementarian.org>
6716
6717         * text2.C: do not clear selection after inc/decDepth
6718         (bug 550)
6719
6720 2003-03-29  John Levon  <levon@movementarian.org>
6721
6722         * BufferView.C:
6723         * buffer.C: fix broken strerrors according to Lars
6724
6725 2003-03-29  John Levon  <levon@movementarian.org>
6726
6727         * converters.C: more Alert cleanups
6728
6729 2003-03-29  John Levon  <levon@movementarian.org>
6730
6731         * bufferview_funcs.C: remove pointless Alert
6732
6733         * buffer.C: fix confusing error message when
6734         a template is chmoded 000
6735
6736 2003-03-29  John Levon  <levon@movementarian.org>
6737
6738         * BufferView.C:
6739         * BufferView.h:
6740         * BufferView_pimpl.C: Alert fixes
6741
6742         * Makefile.am:
6743         * tabular.C:
6744         * tabular-old.C: remove unused table compat reading
6745
6746 2003-03-29  John Levon  <levon@movementarian.org>
6747
6748         * BufferView.C:
6749         * buffer.C:
6750         * lyx_cb.h:
6751         * lyx_cb.C: more Alert cleanups
6752
6753         * lyxfunc.C: don't allow chktex if not latex document
6754
6755 2003-03-29  John Levon  <levon@movementarian.org>
6756
6757         * lyx_cb.C:
6758         * BufferView.C:
6759         * buffer.C: warnings pushed down from support/,
6760         kill err_alert
6761
6762 2003-03-29  John Levon  <levon@movementarian.org>
6763
6764         * lyxfunc.C: safety check for C-r (revert)
6765
6766 2003-03-29  John Levon  <levon@movementarian.org>
6767
6768         * bufferlist.h:
6769         * bufferlist.C: several UI fixes using Alert::prompt.
6770         Fix the pointless looping quit code. Fix stupid revert
6771         behaviour (bug 938)
6772
6773         * lyxvc.h:
6774         * lyxvc.C:
6775         * lyx_cb.C: use Alert::prompt
6776
6777         * lyx_main.C: remove a silly question
6778
6779         * lyxfunc.C: remove a couple of silly questions,
6780         use Alert::prompt
6781
6782 2003-03-28  John Levon  <levon@movementarian.org>
6783
6784         * text2.C: fix bug 974 (End on empty par)
6785
6786 2003-03-28  John Levon  <levon@movementarian.org>
6787
6788         * BufferView_pimpl.C:
6789         * LyXAction.C:
6790         * lfuns.h: remove do-nothing math greek lfuns
6791
6792 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * lyxgluelength.h (isValidGlueLength): add default arg on
6795         parameter 2. Remove default arg from friend in class.
6796
6797         * lyxlength.h (isValidLength): add default arg on parameter 2.
6798         Remove default arg from friend in class.
6799
6800         * text2.C (LyXText): adjust, initialize refresh_row.
6801         (init): adjust
6802         (removeRow): adjust
6803         (insertRow): adjust
6804         (insertParagraph): adjst
6805         (redoParagraphs): adjust
6806         (fullRebreak): adjust
6807         (updateCounters): adjust
6808         (deleteEmptyParagraphMechanism): first attempt at fixing a
6809         crashing bug.
6810
6811         * text.C (top_y): adjust
6812         (setHeightOfRow): adjust
6813         (getRow): adjust
6814         (getRowNearY): adjust
6815
6816         * lyxtext.h: include RowList.h
6817         (~LyXText): not needed anymore, deleted.
6818         (firstRow): modify for RowList
6819         (lastRow): new function
6820         Delete firstrow and lastrow class variables, add a Rowlist
6821         rowlist_ class variable.
6822
6823         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6824         paragraph is empty.
6825
6826         * RowList.C (insert): fix case where it == begin().
6827
6828 2003-03-26  Angus Leeming  <leeming@lyx.org>
6829
6830         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6831         the thesaurus dialog.
6832
6833 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6836
6837         * RowList.[Ch]: new files
6838
6839         * ParagraphList.C (erase): handle the case where it == begin
6840         correctly.
6841
6842 2003-03-25  John Levon  <levon@movementarian.org>
6843
6844         * Makefile.am:
6845         * aspell_local.h:
6846         * aspell.C: add new aspell support
6847
6848         * lyxrc.h:
6849         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6850         have it accessible.
6851
6852 2003-03-25  Angus Leeming  <leeming@lyx.org>
6853
6854         * lfuns.h:
6855         * LyXAction.C (init): new LFUN_INSET_INSERT.
6856
6857         * BufferView_pimpl.C (dispatch): split out part of the
6858         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6859
6860         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6861         LFUN_INSET_APPLY.
6862
6863 2003-03-25  Angus Leeming  <leeming@lyx.org>
6864
6865         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6866
6867 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6868
6869         * text2.C:
6870         * text3.C: remove useless row->height(0)
6871
6872 2003-03-25  John Levon  <levon@movementarian.org>
6873
6874         * lyxtext.h:
6875         * text2.C:
6876         * text3.C: rename the refreshing stuff to better names
6877
6878 2003-03-24  John Levon  <levon@movementarian.org>
6879
6880         * BufferView_pimpl.h:
6881         * BufferView_pimpl.C: update layout choice on a mouse
6882         press/release
6883
6884 2003-03-23  John Levon  <levon@movementarian.org>
6885
6886         * Makefile.am: fix commandtags.h reference
6887
6888 2003-03-22  John Levon  <levon@movementarian.org>
6889
6890         * BufferView_pimpl.C:
6891         * lyxtext.h:
6892         * rowpainter.C:
6893         * rowpainter.h:
6894         * text.C:
6895         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6896
6897 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6898
6899         * lyxtext.h:
6900         * text.C: take the rtl methods out of line
6901
6902 2003-03-21 André Pönitz <poenitz@gmx.net>
6903
6904         * metricsinfo.[Ch]: new files containing structures to be passed around
6905         during the two-phase-drawing...
6906
6907 2003-03-21 André Pönitz <poenitz@gmx.net>
6908
6909         * lyxtextclass.C: read 'environment' tag.
6910
6911 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * text2.C (removeRow): fix bug 964
6914
6915 2003-03-20  John Levon  <levon@movementarian.org>
6916
6917         * rowpainter.C:
6918         * text.C:
6919         * text2.C: paint cleanups. Inset::update() dropped font
6920         parameter
6921
6922 2003-03-19  John Levon  <levon@movementarian.org>
6923
6924         * lyxfunc.C: only fitcursor/markDirty if available()
6925
6926 2003-03-19  John Levon  <levon@movementarian.org>
6927
6928         * commandtags.h: rename to ...
6929
6930         * lfuns.h: ... this, and renumber / cleanup
6931
6932 2003-03-19  John Levon  <levon@movementarian.org>
6933
6934         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6935         fit the cursor after an lfun
6936
6937         * BufferView.h:
6938         * BufferView.C:
6939         * BufferView_pimpl.h:
6940         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6941
6942         * LyXAction.C: layout-character should have ReadOnly
6943
6944         * ParagraphParameters.C:
6945         * buffer.C:
6946         * bufferview_funcs.C:
6947         * lyx_cb.C:
6948         * lyxfind.C:
6949         * lyxtext.h:
6950         * text.C:
6951         * text2.C:
6952         * text3.C:
6953         * undo_funcs.C: changes from above
6954
6955 2003-03-18  John Levon  <levon@movementarian.org>
6956
6957         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6958         remove it from update()
6959
6960         * lyxfunc.C: update layout choice after an lfun
6961
6962         * text3.C: remove extra updateLayoutChoice()s
6963
6964 2003-03-18  John Levon  <levon@movementarian.org>
6965
6966         * text.C: top_y change means full repaint, fix
6967         a drawing bug with cursor movement
6968
6969 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6970
6971         * lyxtext.h:
6972         * text.C:
6973         * text2.C: anchor row on setCursor
6974
6975 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6976
6977         * lyxtext.h: remove almost all mutable keywords
6978         * text.C:
6979         * text2.C:
6980         * text3.C: remove const keywords accordingly
6981
6982 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6985         anon namespace
6986         (TeXEnvironment): ditto
6987         (TeXOnePar): ditto
6988
6989 2003-03-17  John Levon  <levon@movementarian.org>
6990
6991         * text.C (rowBreakPoint): remove attempt to fix displayed
6992         math insets inside a manual label
6993
6994 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * lyxtext.h: remove BufferView* as first arg from almost all class
6997         functions.
6998         * other files: adjust.
6999
7000 2003-03-17  John Levon  <levon@movementarian.org>
7001
7002         * lyxtext.h:
7003         * undo_funcs.C:
7004         * text2.C: more paint cleanups
7005
7006         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7007
7008         * rowpainter.h:
7009         * rowpainter.C: remove "smart" background painting code
7010
7011 2003-03-16  John Levon  <levon@movementarian.org>
7012
7013         * lyxtext.h:
7014         * text.C:
7015         * text2.C:
7016         * text3.C: add helper functions for setting refresh_row/y
7017
7018 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7019
7020         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7021         newline inset which *can* get inserted in the pass_thru layouts.
7022         This is primarily for literate documents.
7023
7024 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7025
7026         * buffer.C: increment LYX_FORMAT to 223
7027
7028 2003-03-14 André Pönitz <poenitz@gmx.net>
7029
7030         * textclass.h: prepare for environment handling, ws changes
7031         * lyxlayout.C: read latexheader and latexfooter tags
7032
7033 2003-03-14  John Levon  <levon@movementarian.org>
7034
7035         * text2.C: rewrite ::status() a bit
7036
7037 2003-03-13  John Levon  <levon@movementarian.org>
7038
7039         * lyxtext.h: add some docs
7040
7041 2003-03-13  John Levon  <levon@movementarian.org>
7042
7043         * lyxtext.h:
7044         * text.C:
7045         * text2.C:
7046         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7047
7048 2003-03-13  John Levon  <levon@movementarian.org>
7049
7050         * text3.C: fix appendix redrawing
7051
7052 2003-03-13  John Levon  <levon@movementarian.org>
7053
7054         * text.C (setHeightOfRow):
7055         * rowpainter.h:
7056         * rowpainter.C: make appendix mark have the text
7057           "Appendix" so the user knows what it is
7058
7059         * LColor.h:
7060         * LColor.C: s/appendixline/appendix/ from above
7061
7062 2003-03-13  John Levon  <levon@movementarian.org>
7063
7064         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7065
7066         * text.C: fix a getChar(pos) bug properly
7067
7068 2003-03-13  Angus Leeming  <leeming@lyx.org>
7069
7070         * commandtags.h:
7071         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7072         Probably only temporary. Let's see how things pan out.
7073
7074         * BufferView.C (unlockInset):
7075         * BufferView_pimpl.C (fitCursor):
7076         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7077
7078         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7079         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7080
7081         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7082         new functions that convert ParagraphParameters to and from a string.
7083
7084         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7085         BufferView::Pimpl's dispatch.
7086         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7087
7088 2003-03-13 André Pönitz <poenitz@gmx.net>
7089
7090         * lyxfunc.C:
7091         * text3.C:
7092         * factory.C: make it aware of InsetEnv
7093
7094 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * text2.C (setCursor): never ask for one past last
7097         (setCursor): add some debugging messages.
7098
7099         * text.C (singleWidth): never ask for one past last
7100         (singleWidth): ditto
7101         (leftMargin): ditto
7102         (rightMargin): ditto
7103         (rowBreakPoint): ditto
7104         (setHeightOfRow): ditto
7105         (prepareToPrint): ditto
7106
7107         * rowpainter.C (paintBackground): never ask for one past last
7108         (paintText): never ask for one past last
7109
7110         * paragraph_pimpl.C (getChar): make the assert stricter, never
7111         allow the one past last pos to be taken
7112
7113         * paragraph.C (getChar): ws changes only
7114
7115         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7116         (numberOfSeparators): ditto
7117         (numberOfHfills): ditto
7118
7119 2003-03-12  John Levon  <levon@movementarian.org>
7120
7121         * author.h:
7122         * author.C:
7123         * bufferparams.h:
7124         * bufferparams.C:
7125         * paragraph_funcs.C: fix per-buffer authorlists
7126
7127 2003-03-12  John Levon  <levon@movementarian.org>
7128
7129         * text.C: fix newline in right address
7130
7131 2003-03-12  Angus Leeming  <leeming@lyx.org>
7132
7133         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7134         duplicate those in LyXFunc::dispatch.
7135
7136         * commandtags.h:
7137         * LyXAction.C:
7138         * ToolbarDefaults.C:
7139         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7140         Add LFUN_FONTFREE_UPDATE.
7141
7142         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7143         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7144
7145         * bufferview_func.[Ch]: several new functions to facilliate
7146         transfer of data to and from the character dialog.
7147
7148 2003-03-12  John Levon  <levon@movementarian.org>
7149
7150         * buffer.C:
7151         * paragraph.h:
7152         * paragraph.C:
7153         * paragraph_funcs.C:
7154         * paragraph_pimpl.C:
7155         * sgml.C:
7156         * tabular.C:
7157         * text.C:
7158         * text3.C: remove META_NEWLINE in favour of an inset
7159
7160         * rowpainter.h:
7161         * rowpainter.C: remove paintNewline (done by inset)
7162
7163 2003-03-12  John Levon  <levon@movementarian.org>
7164
7165         * paragraph_pimpl.C: complain about bad getChar()s
7166         for a while at least
7167
7168 2003-03-12  John Levon  <levon@movementarian.org>
7169
7170         * buffer.h:
7171         * buffer.C: move paragraph read into a separate function,
7172         a little renaming to reflect that.
7173
7174         * bufferparams.h:
7175         * bufferparams.C: remove the author_ids map, not necessary now
7176
7177         * factory.h:
7178         * factory.C: moved Buffer::readInset to here
7179
7180         * paragraph_funcs.h:
7181         * paragraph_funcs.C: readParagraph free function moved from
7182         buffer.C
7183
7184         * tabular.C: name change
7185
7186 2003-03-12  John Levon  <levon@movementarian.org>
7187
7188         * buffer.C:
7189         * ParagraphParameters.C: move par params input to
7190         a read() method
7191
7192         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7193         behave like a normal read from the stream wrt reading
7194         a line vs. a \\token
7195
7196 2003-03-12  John Levon  <levon@movementarian.org>
7197
7198         * paragraph.C:
7199         * ParagraphParameters.h:
7200         * ParagraphParameters.C: move output code to a
7201         ::write() method
7202
7203 2003-03-12  John Levon  <levon@movementarian.org>
7204
7205         * BufferView.C (insertLyXFile):
7206         * buffer.h:
7207         * buffer.C:
7208         * tabular.C: use a parlist iterator for creating the
7209           document.
7210
7211 2003-03-12  John Levon  <levon@movementarian.org>
7212
7213         * buffer.C: make current_change static local not
7214           static file-scope
7215
7216 2003-03-12  John Levon  <levon@movementarian.org>
7217
7218         * buffer.C: fix insertStringAsLines for change tracking
7219
7220 2003-03-12  John Levon  <levon@movementarian.org>
7221
7222         * BufferView.C:
7223         * tabular.C:
7224         * buffer.h:
7225         * buffer.C:
7226         * bufferparams.h:
7227         * bufferparams.C: move author list into params. Rename some
7228           functions. Move the header reading into a separate token
7229           loop. Move the header token reading into BufferParams.
7230
7231 2003-03-12  John Levon  <levon@movementarian.org>
7232
7233         * changes.C: put debug inside lyxerr.debugging() checks
7234
7235 2003-03-11 André Pönitz <poenitz@gmx.net>
7236
7237         * factory.C: make it aware of InsetHFill
7238
7239 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7240
7241         * buffer.C (latexParagraphs): move function from here...
7242         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7243         args.
7244
7245 2003-03-10  Angus Leeming  <leeming@lyx.org>
7246
7247         * LyXAction.C (init): fix bug in poplating array with multiple entries
7248         with the same LFUN (spotted by JMarc).
7249
7250 2003-03-10  John Levon  <levon@movementarian.org>
7251
7252         * text.C:
7253         * text2.C: move getColumnNearX() near its
7254         only call site
7255
7256 2003-03-10  John Levon  <levon@movementarian.org>
7257
7258         * text.C: fix break before a minipage
7259
7260 2003-03-10  John Levon  <levon@movementarian.org>
7261
7262         * text.C: fix the last commit
7263
7264 2003-03-09  John Levon  <levon@movementarian.org>
7265
7266         * lyxtext.h:
7267         * text.C:
7268         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7269         bug 365 (don't break before insets unless needed). Don't
7270         return a value > last under any circumstances.
7271
7272 2003-03-09  Angus Leeming  <leeming@lyx.org>
7273
7274         * BufferView_pimpl.C (trackChanges, dispatch): call
7275         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7276
7277 2003-03-09  Angus Leeming  <leeming@lyx.org>
7278
7279         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7280         than Dialogs::showAboutlyx().
7281
7282 2003-03-09  Angus Leeming  <leeming@lyx.org>
7283
7284         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7285         than Dialogs::showTabularCreate().
7286
7287 2003-03-09  John Levon  <levon@movementarian.org>
7288
7289         * lyxtext.h:
7290         * text.C:
7291         * text2.C: 3rd arg to nextBreakPoint was always the same.
7292           Use references.
7293
7294 2003-03-08  John Levon  <levon@movementarian.org>
7295
7296         * lyxrow.C:
7297         * paragraph.C:
7298         * paragraph.h:
7299         * rowpainter.C:
7300         * text.C:
7301         * text2.C: Remove the "main" bit from the "main body"
7302           notion.
7303
7304 2003-03-08  John Levon  <levon@movementarian.org>
7305
7306         * text.C (leftMargin): The left margin of an empty
7307         manual label paragraph should not include the label width
7308         string length.
7309
7310         * text.C (prepareToPrint): don't attempt to measure hfills
7311         for empty manual label paragraphs - the answer should be 0
7312
7313 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * CutAndPaste.C: remove commented code and reindent.
7316
7317 2003-03-08  John Levon  <levon@movementarian.org>
7318
7319         * lyxfunc.h:
7320         * lyxfunc.C: move reloadBuffer()
7321
7322         * BufferView.h:
7323         * BufferView.C: to here
7324
7325         * lyxvc.C: add comment
7326
7327         * vc-backend.h:
7328         * vc-backend.C: call bv->reload() to avoid
7329           getStatus() check on MENURELOAD
7330
7331 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7332
7333         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7334         to an old format .dep file.
7335
7336 2003-03-07  Angus Leeming  <leeming@lyx.org>
7337
7338         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7339         when the LFUN_MOUSE_RELEASE should have been handled by
7340         inset->localDispatch.
7341
7342 2003-03-07  Angus Leeming  <leeming@lyx.org>
7343
7344         * BufferView_pimpl.C (dispatch):
7345         * LyXAction.C (init):
7346         * ToolbarDefaults.C (init):
7347         * commandtags.h:
7348         * lyxfunc.C (getStatus):
7349         remove LFUN_INSET_GRAPHICS.
7350
7351         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7352
7353 2003-03-07  Angus Leeming  <leeming@lyx.org>
7354
7355         * commandtags.h:
7356         * LyXAction.C (init):
7357         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7358
7359         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7360
7361         * commandtags.h:
7362         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7363
7364         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7365         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7366
7367 2003-03-07  Angus Leeming  <leeming@lyx.org>
7368
7369         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7370         remove "ert".
7371
7372 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * ParagraphList.C (front): new function
7375         (back): implement
7376
7377 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7378
7379         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7380         and top_row_offset_. removed var first_y.
7381         * text.C (top_y):
7382         * text2.C (LyXText, removeRow):
7383         * text3.C:
7384         * BufferView_pimpl.C:
7385         use these methods instead of using first_y
7386
7387 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * text2.C (pasteSelection): adjust for checkPastePossible
7390
7391         * CutAndPaste.C: remove Paragraph * buf and replace with
7392         ParagraphList paragraphs.
7393         (DeleteBuffer): delete
7394         (cutSelection): change the tc type to textclass_type
7395         (copySelection): change the tc type to textclass_type
7396         (copySelection): adjust for ParagraphList
7397         (pasteSelection): change the tc type to textclass_type
7398         (pasteSelection): adjust for Paragraphlist
7399         (nrOfParagraphs): simplify for ParagraphList
7400         (checkPastePossible): simplify for ParagraphList
7401         (checkPastePossible): remove unused arg
7402
7403         * ParagraphList.C (insert): handle the case where there are no
7404         paragraphs yet.
7405
7406         * CutAndPaste.h: make CutAndPaste a namespace.
7407
7408         * text3.C (dispatch): adjust
7409
7410         * text.C (breakParagraph): add a ParagraphList as arg
7411
7412         * paragraph_funcs.C (breakParagraph): change to take a
7413         BufferParams and a ParagraphList as args.
7414         (breakParagraphConservative): ditto
7415         (mergeParagraph): ditto
7416         (TeXDeeper): add a ParagraphList arg
7417         (TeXEnvironment): ditto
7418         (TeXOnePar): ditto
7419
7420         * buffer.C (readLyXformat2): adjust
7421         (insertStringAsLines): adjust
7422         (latexParagraphs): adjust
7423
7424         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7425         (cutSelection): adjust
7426         (pasteSelection): adjust
7427
7428         * BufferView_pimpl.C (insertInset): adjust
7429
7430 2003-03-05  Angus Leeming  <leeming@lyx.org>
7431
7432         * commandtags.h:
7433         * LyXAction.C (init):
7434         * BufferView_pimpl.C (dispatch):
7435         * lyxfunc.C (getStatus):
7436         remove LFUN_CHILD_INSERT.
7437
7438         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7439
7440 2003-03-05  Angus Leeming  <leeming@lyx.org>
7441
7442         * commandtags.h:
7443         * LyXAction.C (init):
7444         * src/factory.C (createInset):
7445         * lyxfunc.C (getStatus):
7446         * text3.C (dispatch):
7447         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7448
7449         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7450
7451 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * ParagraphList.C (insert): handle insert right before end()
7454         (erase): fix cases where it can be first or last paragraph.
7455
7456 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7459         Paragraph::next and Paragraph::previous
7460         (TeXOnePar): ditto
7461
7462         * text.C (breakParagraph): adjust
7463
7464         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7465         BufferParams& as arg.
7466         (breakParagraph): use ParagraphList::insert
7467         (breakParagraphConservative): take a Buffer* instead of a
7468         BufferParams& as arg.
7469         (breakParagraphConservative): use ParagraphList::insert.
7470
7471         * buffer.C (insertStringAsLines): un-const it
7472         (insertStringAsLines): adjust
7473
7474         * ParagraphList.C (insert): new function
7475
7476         * CutAndPaste.C (pasteSelection): adjust
7477
7478         * text.C (backspace): adjust
7479
7480         * tabular.C (SetMultiColumn): adjust
7481
7482         * CutAndPaste.C (cutSelection): adjust
7483         (pasteSelection): adjust
7484
7485         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7486         Buffer const * as arg
7487
7488         * ParagraphList.C (erase): new function
7489         * paragraph_funcs.C (mergeParagraph): use it
7490         (mergeParagraph): make it take a Buffer* instead of a
7491         BufferParams* as arg
7492
7493         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7494         as arg
7495         (breakParagraphConservative): ditto
7496
7497         * paragraph.h: remove the breakParagraph friend
7498
7499         * paragraph.C (eraseIntern): new function
7500         (setChange): new function
7501
7502         * paragraph_funcs.C (mergeParagraph): make it take a
7503         ParagraphList::iterator instead of a Paragraph *, adjust
7504         accordingly.
7505
7506         * paragraph.h: move an #endif so that the change tracking stuff
7507         also works in the NO_NEXT case.
7508
7509 2003-03-04  Angus Leeming  <leeming@lyx.org>
7510
7511         * commandtags.h:
7512         * LyXAction.C: new LFUN_INSET_MODIFY.
7513
7514         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7515         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7516
7517 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * several files: ws changes only
7520
7521         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7522         (TeXEnvironment): ditto
7523         (TeXDeeper): ditto
7524
7525         * buffer.C (makeLaTeXFile): adjust
7526         (latexParagraphs): make it take ParagraphList::iterator as args
7527
7528 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * buffer.C (latexParagraphs): adjust
7531
7532         * paragraph.C (TeXOnePar): move function...
7533         (optArgInset): move function...
7534         (TeXEnvironment): move function...
7535         * paragraph_pimpl.C (TeXDeeper): move function...
7536         * paragraph_funcs.C: ...here
7537
7538         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7539
7540 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * buffer.C (readInset): remove compability code for old Figure and
7543         InsetInfo insets
7544
7545 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * buffer.C: ws changes
7548         (readInset):
7549
7550         * BufferView_pimpl.C: ditto
7551         * author.C: ditto
7552         * buffer.h: ditto
7553         * bufferlist.h: ditto
7554         * changes.h: ditto
7555         * lyxfunc.C: ditto
7556
7557 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7558
7559         * converter.[Ch]: split into itself +
7560         * graph.[Ch]
7561         * format.[Ch]
7562         * Makefile.am: += graph.[Ch] + format.[Ch]
7563         * MenuBackend.C
7564         * buffer.C
7565         * exporter.C
7566         * importer.C
7567         * lyx_main.C
7568         * lyxfunc.C
7569         * lyxrc.C: added #include "format.h"
7570
7571 2003-02-27  Angus Leeming  <leeming@lyx.org>
7572
7573         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7574           a label.
7575
7576         * factory.C (createInset): add "label" to the factory.
7577
7578         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7579           string and do no more.
7580
7581 2003-02-27  Angus Leeming  <leeming@lyx.org>
7582
7583         * commandtags.h:
7584         * LyXAction.C (init):
7585         * factory.C (createInset):
7586         * BufferView_pimpl.C (dispatch):
7587           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7588
7589         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7590
7591         * lyxfunc.C (dispatch):
7592         * text3.C (dispatch): pass name to params2string.
7593
7594 2003-02-26  Angus Leeming  <leeming@lyx.org>
7595
7596         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7597           blocks together.
7598           Rearrange the ~includes. Strip out the unnecessary ones.
7599
7600         * factory.C (createInset): reformat.
7601           create new insets for the various LFUN_XYZ_APPLY lfuns.
7602
7603 2003-02-26  John Levon  <levon@movementarian.org>
7604
7605         * lyxrow.h:
7606         * lyxrow.C: add isParStart,isParEnd helpers
7607
7608         * paragraph.h: make isInserted/DeletedText take refs
7609
7610         * paragraph_funcs.h:
7611         * paragraph_funcs.C: remove #if 0'd code
7612
7613         * lyxtext.h:
7614         * text3.C:
7615         * text2.C:
7616         * text.C: use lyxrow helpers above.
7617           Move draw and paint routines to RowPainter.
7618           Make several methods use refs not pointers.
7619           Make backgroundColor() const.
7620           Add markChangeInDraw(), isInInset().
7621           Merge changeRegionCase into changeCase.
7622           Make workWidth() shouldn't-happen code into an Assert.
7623
7624         * rowpainter.h:
7625         * rowpainter.C: new class for painting a row.
7626
7627         * vspace.h:
7628         * vspace.C: make inPixels take a ref
7629
7630 2003-02-26  Angus Leeming  <leeming@lyx.org>
7631
7632         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7633         LFUN_REF_APPLY.
7634
7635 2003-02-25  John Levon  <levon@movementarian.org>
7636
7637         * ispell.C: give the forked command a more accurate name
7638
7639 2003-02-22  John Levon  <levon@movementarian.org>
7640
7641         * toc.h:
7642         * toc.C: make TocItem store an id not a Paragraph *
7643           (bug #913)
7644
7645 2003-02-21  Angus Leeming  <leeming@lyx.org>
7646
7647         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7648           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7649           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7650           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7651           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7652           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7653
7654         * BufferView_pimpl.C (dispatch):
7655         * LyXAction.C (init):
7656         * factory.C (createInset):
7657         * lyxfunc.C (getStatus, dispatch):
7658         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7659
7660 2003-02-21  Angus Leeming  <leeming@lyx.org>
7661
7662         * BufferView_pimpl.C (MenuInsertLyXFile):
7663         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7664         * lyxfunc.C (menuNew, open, doImport):
7665           no longer pass a LyXView & to fileDlg.
7666
7667 2003-02-21  Angus Leeming  <leeming@lyx.org>
7668
7669         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7670         * LyXAction.C: change, BIBKEY to BIBITEM.
7671         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7672         Change InsetBibKey to InsetBibitem.
7673         Change BIBKEY_CODE to BIBITEM_CODE.
7674         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7675         * factory.C: replace insetbib.h with insetbibitem.h.
7676         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7677         * paragraph.C: replace insetbib.h with insetbibitem.h.
7678         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7679         Change bibkey() to bibitem().
7680         * text.C: remove insetbib.h.
7681         * text2.C: replace insetbib.h with insetbibitem.h.
7682         change bibkey() to bibitem().
7683         * text3.C: remove insetbib.h.
7684         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7685
7686 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7687
7688         * lyxrc.C (output): enclose user email in quotes (in case there are
7689         several words)
7690
7691 2003-02-18  John Levon  <levon@movementarian.org>
7692
7693         * buffer.h: add std::
7694
7695 2003-02-17  John Levon  <levon@movementarian.org>
7696
7697         * SpellBase.h:
7698         * ispell.h:
7699         * ispell.C:
7700         * pspell.h:
7701         * pspell.C: reworking. Especially in ispell, a large
7702           number of clean ups and bug fixes.
7703
7704         * lyxfunc.C: fix revert to behave sensibly
7705
7706 2003-02-17 André Pönitz <poenitz@gmx.net>
7707
7708         * LyXAction.C:
7709         * commandtags.h: new LFUN_INSERT_BIBKEY
7710
7711         * layout.h:
7712         * lyxlayout.C:
7713         * buffer.C:
7714         * factory.C:
7715         * text.C:
7716         * text2.C:
7717         * text3.C:
7718         * paragraph.[Ch]:
7719         * paragraph_func.C: remove special bibkey handling
7720
7721 2003-02-17  John Levon  <levon@movementarian.org>
7722
7723         * text.C (Delete): fix case where delete at the end of
7724           the very first paragraph would not merge the pars
7725
7726 2003-02-17  John Levon  <levon@movementarian.org>
7727
7728         * lyxrow.C: fix lastPrintablePos()
7729
7730 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7731
7732         * bufferparams.C (writeLaTeX): add a std:here
7733
7734         * buffer.C: and remove a using directive there
7735
7736 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7737
7738         * buffer.C (makeLaTeXFile): move the code that generates the
7739           preamble...
7740
7741         * bufferparams.C (writeLaTeX): ... in this new method
7742
7743         * LaTeXFeatures.C (getEncodingSet): make const
7744           (getLanguages): make const
7745
7746         * MenuBackend.C (binding): returns the binding associated to this
7747           action
7748           (add): sets the status of each item by calling getStatus. Adds
7749           some intelligence.
7750           (read): add support for OptSubMenu
7751           (expand): remove extra separator at the end of expanded menu
7752
7753 2003-02-15  John Levon  <levon@movementarian.org>
7754
7755         * BufferView.C:
7756         * BufferView_pimpl.C:
7757         * bufferlist.h:
7758         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7759           inset code that had no actual effect. Remove unneeded status
7760           code.
7761
7762 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7763
7764         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7765           in preamble
7766
7767 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7768
7769         * text.C (drawLengthMarker): also draw an arrow marker for
7770           symbolic lengths (medskip...)
7771
7772 2003-02-14  John Levon  <levon@movementarian.org>
7773
7774         * tabular.h:
7775         * tabular.C: better method names
7776
7777 2003-02-14  John Levon  <levon@movementarian.org>
7778
7779         * BufferView_pimpl.C:
7780         * bufferlist.C:
7781         * buffer.C:
7782         * converter.C:
7783         * lyx_cb.C:
7784         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7785           it's a more accurate name. Remove some pointless uses.
7786
7787 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7788
7789         * text2.C (LyXText): change order of initilizers to shut off
7790           warnings
7791
7792 2003-02-14  John Levon  <levon@movementarian.org>
7793
7794         * buffer.C: use ParIterator for getParFromID()
7795
7796         * paragraph.h:
7797         * paragraph.C:
7798         * paragraph_pimpl.h:
7799         * paragraph_pimpl.C: remove unused getParFromID()
7800
7801 2003-02-14  John Levon  <levon@movementarian.org>
7802
7803         * buffer.C: remove some very old #if 0'd parse code
7804
7805 2003-02-13  John Levon  <levon@movementarian.org>
7806
7807         * text.h:
7808         * text.C:
7809         * text2.C: move hfillExpansion(), numberOfSeparators(),
7810           rowLast(), rowLastPrintable(), numberofHfills(),
7811           numberOfLabelHfills() ...
7812
7813         * lyxrow.h:
7814         * lyxrow.C: ... to member functions here.
7815
7816         * paragraph.h:
7817         * paragraph.C:
7818         * lyxtext.h:
7819         * text.C: remove LyXText::beginningOfMainBody(), and call
7820           p->beginningOfMainBody() directly. Move the check for
7821           LABEL_MANUAL into the latter.
7822
7823         * text.h:
7824         * text.C:
7825         * text2.C:
7826         * vspace.C:
7827         * BufferView.h:
7828         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7829
7830         * text.h:
7831         * text.C:
7832         * text2.C:
7833         * text3.C:
7834         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7835           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7836
7837 2003-02-13  John Levon  <levon@movementarian.org>
7838
7839         * CutAndPaste.C: remove debug
7840
7841 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7842
7843         * paragraph.C (asString): remove two unused variables
7844
7845         * lyxtextclass.C (readTitleType):
7846           (Read):
7847           (LyXTextClass): handle new members titletype_ and titlename_
7848
7849         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7850
7851 2003-02-09  John Levon  <levon@movementarian.org>
7852
7853         * buffer.h:
7854         * buffer.C: replace hand-coded list with a map for the dep clean
7855
7856 2003-02-08  John Levon  <levon@movementarian.org>
7857
7858         * LaTeX.C: consolidate code into showRunMessage() helper
7859
7860 2003-02-08  John Levon  <levon@movementarian.org>
7861
7862         * lyxfind.C:
7863         * lyxtext.h:
7864         * text2.C:
7865         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7866           and pass the size in explicitly
7867
7868         * BufferView_pimpl.h:
7869         * BufferView_pimpl.C:
7870         * BufferView.h:
7871         * BufferView.C: add getCurrentChange()
7872
7873         * BufferView_pimpl.h:
7874         * BufferView_pimpl.C: handle change lfuns
7875
7876         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7877           for changes. Mark pasted paragraphs as new.
7878
7879         * support/lyxtime.h:
7880         * support/lyxtime.C:
7881         * DepTable.C: abstract time_t as lyx::time_type
7882
7883         * LColor.h:
7884         * LColor.C: add colours for new text, deleted text, changebars
7885
7886         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7887           package use "usenames" option.
7888
7889         * commandtags.h:
7890         * lyxfunc.C:
7891         * LyXAction.C: add change lfuns
7892
7893         * Makefile.am:
7894         * author.h:
7895         * author.C: author handling
7896
7897         * buffer.h:
7898         * buffer.C: add a per-buffer author list, with first entry as
7899           current author. Handle new .lyx tokens for change tracking. Output
7900           author list to .lyx file. Output dvipost stuff to .tex preamble.
7901           Bump lyx format to 222.
7902
7903         * bufferlist.h:
7904         * bufferlist.C: add setCurrentAuthor() to reset current author details
7905           in all buffers.
7906
7907         * bufferparams.h:
7908         * bufferparams.C: add param for tracking
7909
7910         * bufferview_funcs.C: output change info in minibuffer
7911
7912         * Makefile.am:
7913         * changes.h:
7914         * changes.C: add change-tracking structure
7915
7916         * debug.h:
7917         * debug.C: add CHANGES debug flag
7918
7919         * lyxfind.h:
7920         * lyxfind.C: add code for finding the next change piece
7921
7922         * lyxrc.h:
7923         * lyxrc.C: add user_name and user_email
7924
7925         * lyxrow.h:
7926         * lyxrow.C: add a metric for the top of the text line
7927
7928         * lyxtext.h:
7929         * text.C: implement accept/rejectChange()
7930
7931         * lyxtext.h:
7932         * text.C: paint changebars. Paint new/deleted text in the chosen
7933         colours. Strike through deleted text.
7934
7935         * paragraph.h:
7936         * paragraph.C:
7937         * paragraph_pimpl.h:
7938         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7939           in the current change to the insert functions. Rework erase to
7940           mark text as deleted, adding an eraseIntern() and a range-based
7941           erase(). Implement per-paragraph change lookup and
7942           accept/reject.
7943
7944         * paragraph_funcs.C: Fixup paste for change tracking.
7945
7946         * tabular.C: mark added row/columns as new.
7947
7948         * text.C: fix rowLast() to never return -1. Don't allow
7949           spellchecking of deleted text. Track transpose changes. Don't
7950           allow paragraph break or merge where appropriate.
7951
7952         * text2.C: leave cursor at end of selection after a cut.
7953
7954 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7955
7956         * text.C (getLengthMarkerHeight):
7957         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7958         visible on screen too.
7959
7960 2003-02-07  John Levon  <levon@movementarian.org>
7961
7962         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7963
7964 2003-02-05  Angus Leeming  <leeming@lyx.org>
7965
7966         * lyxserver.C (read_ready): revert my patch of 11 September last year
7967         as it sends PC cpu through the roof. Presumably this means that
7968         the lyxserver will no longer run on an Alpha...
7969
7970 2003-01-30  Angus Leeming  <leeming@lyx.org>
7971
7972         * factory.C (createInset): create an InsetCommandParam of type "index"
7973         and use it to 'do the right thing'.
7974
7975         * text2.C (getStringToIndex): ensure that cursor position is always
7976         reset to the reset_cursor position.
7977
7978 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7979
7980         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7981         disabled.
7982
7983 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7984
7985         * bufferview.C:
7986         * lyxcb.C:
7987         * lyxfunc.C: Output messages with identical spelling, punctuation,
7988         and spaces
7989
7990 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7991
7992         * MenuBackend.C (expandFormats): List only viewable export formats
7993         in "View" menu
7994
7995         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7996         message
7997
7998         * lyxfunc.C (getStatus): Make sure that formats other than
7999         "fax" can also be disabled
8000
8001 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8002
8003         * text3.C (dispatch): put the lfuns that insert insets in 3
8004         groups, and call doInsertInset with appropriate arguments.
8005         (doInsertInset): new function, that creates an inset and inserts
8006         it according to some boolean parameters.
8007
8008 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * buffer.C (readFile): remember to pass on 'par' when calling
8011         readFile recursively.
8012
8013 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8014
8015         * MenuBackend.C (expandFormats): add "..." to import formats.
8016
8017 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8018
8019         * paragraph.C (asString): Remove XForms RTL hacks.
8020
8021 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8022         * buffer.C: fix typo
8023
8024 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * Makefile.am (LIBS): delete var
8027         (lyx_LDADD): add @LIBS@ here instead.
8028
8029 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8030
8031         * Clarify the meaning of "wheel mouse jump"
8032
8033 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8034
8035         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8036         tabular in a float
8037
8038 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8039
8040         * importer.C (Loaders): do not preallocate 3 elements in the
8041         vector, since one ends up with 6 elements otherwise
8042
8043 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8044
8045         * DepTable.C (write): write the file name as last element of the
8046         .dep file (because it may contain spaces)
8047         (read): read info in the right order
8048
8049 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8050
8051         * paragraph_pimpl.C (simpleTeXBlanks):
8052         (simpleTeXSpecialChars):
8053         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8054
8055         * tabular.C (latex): add some missing case statements. Reindent.
8056
8057         * MenuBackend.C (expandToc): remove unused variable.
8058
8059 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8060
8061         * LColor.C:
8062         * LaTeX.C:
8063         * LyXAction.C:
8064         * MenuBackend.C:
8065         * buffer.C:
8066         * exporter.C:
8067         * lyxfunc.C:
8068         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8069         and the like.
8070
8071 2003-01-05  John Levon  <levon@movementarian.org>
8072
8073         * BufferView.h:
8074         * BufferView.C: add getEncoding()
8075
8076         * kbsequence.h:
8077         * kbsequence.C: do not store last keypress
8078
8079         * lyxfunc.h:
8080         * lyxfunc.C: store last keypress here instead. Pass encoding
8081           to getISOEncoded()
8082
8083 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8084
8085         * lyx_main.C (init): remove annoying error message when following
8086         symbolic links (bug #780)
8087
8088 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8089
8090         * text.C (insertChar):
8091         * lyxrc.C (getDescription): remove extra spaces
8092
8093 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8094
8095         * lyxrc.C (getDescription): remove extra spaces
8096
8097 2002-12-20  John Levon  <levon@movementarian.org>
8098
8099         * text3.C: hack fix for page up/down across tall rows
8100
8101 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8102
8103         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8104         not been invoked
8105
8106 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8107
8108         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8109         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8110         thesaurus is not compiled in
8111
8112 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8113
8114         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8115
8116 2002-12-16  Angus Leeming  <leeming@lyx.org>
8117
8118         * lyxrc.[Ch]:
8119         * lyx_main.C (init): remove override_x_deadkeys stuff.
8120
8121 2002-12-12  John Levon  <levon@movementarian.org>
8122
8123         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8124           insert. Only remove shift modifier under strict
8125           circumstances.
8126
8127 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * MenuBackend.C (expandToc): fix crash.
8130
8131 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * MenuBackend.C (expandToc): gettext on float names.
8134
8135 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8136
8137         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8138         implement bool empty() [bug 490]
8139
8140 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8141
8142         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8143
8144 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * several files: ws changes
8147
8148 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * text2.C (setCounter): clean up a bit, use boost.format.
8151         (updateCounters): initialize par upon declaration.
8152
8153         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8154         if the layout exists. We do not just store the layout any more.
8155         (SwitchLayoutsBetweenClasses): use boost.format
8156
8157 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8158
8159         * converter.C (convert): if from and to files are the same, use a
8160         temporary files as intermediary
8161
8162 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8163
8164         * commandtags.h:
8165         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8166
8167 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8168
8169         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8170
8171 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * tabular.C (asciiPrintCell): use string(size, char) instead of
8174         explicit loop.
8175
8176         * sgml.C (openTag): fix order of arguments to string constructor
8177         (closeTag): ditto
8178
8179         * lyxfunc.C (dispatch): use boost.format
8180
8181         * lots of files: change "c" -> 'c'
8182
8183 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8184
8185         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8186
8187 2002-11-25  Angus Leeming  <leeming@lyx.org>
8188
8189         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8190
8191         * lyx_main.C (init): compile fix.
8192
8193 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * lyx_cb.C (start): boost.formatify
8196         do not include <iostream>
8197
8198         * lengthcommon.C: ws only
8199
8200         * boost-inst.C,BoostFormat.h: add more explict instantations
8201
8202 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * lots of files: handle USE_BOOST_FORMAT
8205
8206 2002-11-21  John Levon  <levon@movementarian.org>
8207
8208         * pspell.C: fix compile
8209
8210 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8211
8212         * lyxfunc.C (dispatch): use boost::format
8213         (open): ditto
8214         (doImport): ditto
8215
8216         * lyxfont.C (stateText): use boost::format
8217
8218         * lyx_main.C (LyX): use boost::format
8219         (init): ditto
8220         (queryUserLyXDir): ditto
8221         (readRcFile): ditto
8222         (parse_dbg): ditto
8223         (typedef boost::function): use the recommened syntax.
8224
8225         * importer.C (Import): use boost::format
8226
8227         * debug.C (showLevel): use boost::format
8228
8229         * converter.C (view): use boost::format
8230         (convert): ditto
8231         (move): ditto
8232         (scanLog): ditto
8233
8234         * bufferview_funcs.C (currentState): use boost::format
8235
8236         * bufferlist.C (emergencyWrite): use boost::format
8237
8238         * buffer.C (readLyXformat2): use boost::format
8239         (parseSingleLyXformat2Token): ditto
8240
8241         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8242
8243         * LaTeX.C (run): use boost::format
8244
8245         * Chktex.C (scanLogFile): use boost::format
8246
8247         * BufferView_pimpl.C (savePosition): use boost::format
8248         (restorePosition): ditto
8249         (MenuInsertLyXFile): ditto
8250
8251         * BoostFormat.h: help file for explicit instation.
8252
8253 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8254
8255         * tabular.C (latex): Support for block alignment in fixed width
8256         columns.
8257
8258 2002-11-17  John Levon  <levon@movementarian.org>
8259
8260         * BufferView_pimpl.C:
8261         * lyx_cb.C:
8262         * lyxfunc.C: split filedialog into open/save
8263
8264 2002-11-08  Juergen Vigna  <jug@sad.it>
8265
8266         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8267         by my last patch (hopefully).
8268
8269 2002-11-08  John Levon  <levon@movementarian.org>
8270
8271         * iterators.h:
8272         * iterators.C:
8273         * buffer.h:
8274         * buffer.C:
8275         * paragraph.h:
8276         * paragraph.C:
8277         * toc.h:
8278         * toc.C: ParConstIterator, and use it (from Lars)
8279
8280 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8281
8282         * lyxtextclass.[Ch]: revise and add doxygen comments
8283
8284 2002-11-07  John Levon  <levon@movementarian.org>
8285
8286         * text.C: fix progress value for spellchecker
8287
8288         * toc.C: fix navigate menu for insetwrap inside minipage
8289
8290         * paragraph_funcs.C: added FIXME for suspect code
8291
8292 2002-11-07  John Levon  <levon@movementarian.org>
8293
8294         * BufferView_pimpl.C: fix redrawing of insets
8295           on buffer switch
8296
8297 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8298
8299         * text2.C (updateCounters): fix bug 668
8300
8301 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8302
8303         * text3.C (dispatch): Do not make the buffer dirty when moving the
8304         cursor.
8305
8306 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * vc-backend.C: STRCONV
8309         (scanMaster): ditto
8310
8311         * text2.C (setCounter): STRCONV
8312
8313         * paragraph.C (asString): STRCONV
8314
8315         * lyxlength.C (asString): STRCONV
8316         (asLatexString): ditto
8317
8318         * lyxgluelength.C (asString): STRCONV
8319         (asLatexString): ditto
8320
8321         * lyxfunc.C (dispatch): STRCONV
8322         (open): ditto
8323
8324         * lyxfont.C (stateText): STRCONV
8325
8326         * importer.C (Import): STRCONV
8327
8328         * counters.C (labelItem): STRCONV
8329         (numberLabel): ditto
8330         (numberLabel): remove unused ostringstream o
8331
8332         * chset.C: STRCONV
8333         (loadFile): ditto
8334
8335         * bufferview_funcs.C (currentState): STRCONV
8336
8337         * buffer.C (readFile): STRCONV
8338         (asciiParagraph): ditto
8339         (makeLaTeXFile): ditto
8340
8341         * Spacing.C (writeEnvirBegin): STRCONV
8342
8343         * LaTeXFeatures.C (getLanguages): STRCONV
8344         (getPackages): ditto
8345         (getMacros): ditto
8346         (getBabelOptions): ditto
8347         (getTClassPreamble): ditto
8348         (getLyXSGMLEntities): ditto
8349         (getIncludedFiles): ditto
8350
8351         * LaTeX.C: STRCONV
8352         (run): ditto
8353         (scanAuxFile): ditto
8354         (deplog): ditto
8355
8356         * LString.h: add the STRCONV macros
8357
8358         * BufferView_pimpl.C (savePosition): STRCONV
8359         (restorePosition): ditto
8360         (MenuInsertLyXFile): ditto
8361
8362         * vc-backend.C (scanMaster): change from submatch[...] to
8363         submatch.str(...)
8364
8365         * funcrequest.C: include config.h
8366
8367         * factory.C: include config.h
8368
8369         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8370
8371         * box.C: include config.h
8372
8373         * LaTeX.C (scanAuxFile): change from submatch[...] to
8374         submatch.str(...)
8375         (deplog): ditto
8376
8377 2002-10-25  Angus Leeming  <leeming@lyx.org>
8378
8379         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8380
8381         * ispell.[Ch] (setError): new method.
8382         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8383         Use setError() insetead of goto END.
8384
8385         * lyx_cb.C (AutoSave): move out child process into new class
8386         AutoSaveBuffer.
8387
8388 2002-10-30  John Levon  <levon@movementarian.org>
8389
8390         * text3.C: make start appendix undoable
8391
8392 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8393
8394         * lyxlength.C (inPixels): Fix returned value.
8395
8396         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8397         environment.
8398
8399 2002-10-24  Angus Leeming  <leeming@lyx.org>
8400
8401         * lyxgluelength.h: no need to forward declare BufferParams
8402         or BufferView, so don't.
8403
8404 2002-10-21  John Levon  <levon@movementarian.org>
8405
8406         * BufferView.C: menuUndo ->undo, redo
8407
8408         * BufferView.h: document, remove dead, make some methods private
8409
8410         * paragraph_funcs.h:
8411         * paragraph_funcs.C:
8412         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8413
8414         * buffer.h:
8415         * buffer.C:
8416         * sgml.h:
8417         * sgml.C: move sgml open/close tag into sgml.C
8418
8419         * bufferview_funcs.h: unused prototype
8420
8421         * lyxfunc.h:
8422         * lyxfunc.C: remove unused
8423
8424         * lyxtext.h:
8425         * text.C: remove unused
8426
8427 2002-10-21  John Levon  <levon@movementarian.org>
8428
8429         * BufferView.h:
8430         * BufferView.C:
8431         * BufferView_pimpl.h:
8432         * BufferView_pimpl.C: fix mouse wheel handling based on
8433           patch from Darren Freeman
8434
8435 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8436
8437         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8438
8439 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8440
8441         * lyxlength.C (inPixels): Fix hanfling of negative length.
8442         Fix LyXLength::MU case.
8443
8444 2002-10-16  John Levon  <levon@movementarian.org>
8445
8446         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8447
8448 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * converter.C (view): add support for $$i (file name) and $$p
8451         (file path) for the viewer command. If $$i is not specified, then
8452         it is appended to the command (for compatibility with old syntax)
8453
8454 2002-10-14  Juergen Vigna  <jug@sad.it>
8455
8456         * undo_funcs.C (textHandleUndo): alter the order in which the
8457         new undopar is added to the LyXText, as we have to set first
8458         the right prev/next and then add it as otherwise the rebuild of
8459         LyXText is not correct. Also reset the cursor to the right paragraph,
8460         with this IMO we could remove the hack in "redoParagraphs()".
8461
8462 2002-10-09  Angus Leeming  <leeming@lyx.org>
8463
8464         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8465         to turn off an optimisation if a new inset is to be inserted.
8466
8467 2002-10-11 André Pönitz <poenitz@gmx.net>
8468
8469         * lyxtext.h: make some functions public to allow access
8470         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8471
8472 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8473
8474         * text3.C (dispatch): when changing layout, avoid an infinite loop
8475         [bug #652]
8476
8477 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8478
8479         * lyxrc.C (read): treat a viewer or converter command of "none" as
8480         if it were empty.
8481
8482         * MenuBackend.C (expandFormats): for an update, also allow the
8483         formats that are not viewable
8484
8485         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8486         script if it is newer than the lyxrc.defaults in user directory
8487
8488 2002-10-07 André Pönitz <poenitz@gmx.net>
8489
8490         * text.C: Vitaly Lipatov's small i18n fix
8491
8492 2002-09-25  Angus Leeming  <leeming@lyx.org>
8493
8494         * ispell.h: doxygen fix.
8495
8496 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8497
8498         * buffer.h (readFile): Add a new argument to the method, to allow
8499         reading of old-format templates.
8500
8501 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8502
8503         * toc.C (getTocList): Get TOC from InsetWrap.
8504
8505 2002-09-16  John Levon  <levon@movementarian.org>
8506
8507         * lyxfunc.C: check tabular for cut/copy too
8508
8509 2002-09-12  John Levon  <levon@movementarian.org>
8510
8511         * LyXAction.C: tidy
8512
8513         * factory.h:
8514         * factory.C: add header
8515
8516         * paragraph_funcs.h:
8517         * paragraph_funcs.C: cleanup
8518
8519 2002-09-11  John Levon  <levon@movementarian.org>
8520
8521         * PrinterParams.h: odd/even default to true
8522
8523 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8524
8525         * PrinterParams.h: update printer parameters for new xforms dialog
8526
8527 2002-09-11  Angus Leeming  <leeming@lyx.org>
8528
8529         * lyxserver.C (read_ready): re-write to make it more transparent
8530         and to make it work in coherent fashion under Tru64 Unix.
8531
8532 2002-09-11  André Pönitz <poenitz@gmx.net>
8533
8534         * commandtags.h:
8535         * LyXAction.C:
8536         * text3.C: implement LFUN_WORDSEL
8537
8538 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8541         make floatlist_ a boost::shared_ptr<FloatList>
8542
8543         * lyxtextclass.C: include FloatList.h
8544         (LyXTextClass): initialize floatlist_
8545         (TextClassTags): add TC_NOFLOAT
8546         (Read): match "nofloat" to TC_NOFLOAT and use it.
8547         (readFloat): modify call to floatlist_
8548         (floats): ditto
8549         (floats): ditto
8550
8551         * FloatList.[Ch] (FloatList): remove commented out float
8552         initialization.
8553         (erase): new function
8554
8555 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8556
8557         * MenuBackend.C (expandToc): fix crash when there is no document
8558         open
8559
8560 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8561
8562         * many files: Add insetwrap.
8563
8564 2002-09-09  John Levon  <levon@movementarian.org>
8565
8566         * text2.C: remove confusing and awkward depth wraparound
8567
8568 2002-09-09  John Levon  <levon@movementarian.org>
8569
8570         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8571
8572         * buffer.h:
8573         * buffer.C: remove getIncludeonlyList()
8574
8575         * paragraph.C:
8576         * lyxfunc.C: remove headers
8577
8578 2002-09-09  Juergen Vigna  <jug@sad.it>
8579
8580         * text.C (getColumnNearX): fix form Michael this is most
8581         probably a cut&paste bug.
8582
8583 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8586
8587         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8588         references, ws changes.
8589
8590         * text2.C (init): update counters after init
8591         (insertParagraph): no need to set counter on idividual paragraphs.
8592         (setCounter): access the counters object in the textclass object
8593         on in the buffer object.
8594         (updateCounters): ditto
8595
8596         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8597         shared_ptr<Counters> to avoid loading counters.h in all
8598         compilation units.
8599         (LyXTextClass): initialize ctrs_
8600         (TextClassTags): add TC_COUNTER, and ...
8601         (Read): use it here.
8602         (CounterTags): new tags
8603         (readCounter): new function
8604         (counters): new funtion
8605         (defaultLayoutName): return a const reference
8606
8607         * counters.C (Counters): remove contructor
8608         (newCounter): remove a couple of unneeded statements.
8609         (newCounter): simplify a bit.
8610         (numberLabel): some small formatting changes.
8611
8612         * buffer.[Ch]: remove all traces of counters, move the Counters
8613         object to the LyXTextClass.
8614
8615 2002-09-06  Alain Castera  <castera@in2p3.fr>
8616
8617         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8618         package to set the horizontal alignment on fixed width columns.
8619
8620         * lyx_sty.C:
8621         * lyx_sty.h: added tabularnewline macro def.
8622
8623         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8624
8625 2002-09-06  John Levon  <levon@movementarian.org>
8626
8627         * LyXAction.C: tooltips for sub/superscript
8628
8629         * MenuBackend.C: a bit more verbose
8630
8631         * lyxfunc.C: tiny clean
8632
8633         * undo_funcs.C: document undo_frozen
8634
8635 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * counters.C (Counters): add missing algorithm counter.
8638
8639         * text2.C (setCounter): lookup the counter with layouts latexname
8640         instead of by section number.
8641         (setCounter): use a hackish way to lookup the correct enum
8642         counter.
8643         a float name->type change
8644         reset enum couners with counter name directly instead of depth value.
8645
8646         * counters.C (Counters): remove the push_backs, change to use the
8647         float type not the float name.
8648         (labelItem): remove unused string, float name->type change
8649
8650         * counters.h: don't include vector, loose the enums and sects vectors
8651
8652 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8655         (Read): add float->TC_FLOAT to textclassTags
8656         (Read): and handle it in the switch
8657         (readFloat): new function
8658
8659         * FloatList.C (FloatList): comment out the hardcoded float
8660         definitions.
8661
8662         * lyxlayout.h: ws change.
8663
8664 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8665
8666         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8667
8668 2002-09-03  Angus Leeming  <leeming@lyx.org>
8669
8670         * BufferView_pimpl.h: qualified name is not allowed in member
8671         declaration: WorkArea & Pimpl::workarea() const;
8672
8673         * factory.C: added using std::endl directive.
8674
8675         * text3.C: added using std::find and std::vector directives.
8676
8677 2002-08-29  André Pönitz <poenitz@gmx.net>
8678
8679         * lyxtext.h:
8680         * text2.C: remove unused member number_of_rows
8681
8682         * Makefile.am:
8683         * BufferView2.C: remove file, move contents to...
8684         * BufferView.C: ... here
8685
8686         * BufferView_pimpl.C:
8687         * factory.C: move more inset creation to factory
8688
8689         * vspace.C: avoid direct usage of LyXText, ws changes
8690
8691         * BufferView.[Ch]:
8692                 don't provide direct access to WorkArea, use two simple
8693                 acessors haveSelction() and workHeight() instead
8694
8695
8696 2002-08-29  John Levon  <levon@movementarian.org>
8697
8698         * BufferView_pimpl.C (dispatch): do not continue when
8699           no buffer
8700
8701 2002-08-28  André Pönitz <poenitz@gmx.net>
8702
8703         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8704
8705         * BufferView.h:
8706         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8707
8708 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8709
8710         * buffer.C: increment LYX_FORMAT to 221
8711
8712         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8713         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8714
8715         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8716
8717         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8718
8719 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * factory.C (createInset): use LyXTextClass::floats
8722
8723         * MenuBackend.C (expandFloatListInsert):
8724         (expandFloatInsert):
8725         (expandToc):
8726
8727         * text2.C (setCounter):
8728
8729         * LaTeXFeatures.C (useFloat):
8730         (getFloatDefinitions):
8731
8732         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8733
8734         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8735         floatlist_, with accessor floats().
8736
8737         * FloatList.h: remove global FloatList
8738
8739 2002-08-26  André Pönitz <poenitz@gmx.net>
8740
8741         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8742
8743         * BufferView.h:
8744         * BufferView2.C:
8745         * BufferView_pimpl.C:
8746         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8747
8748 2002-08-25  John Levon  <levon@movementarian.org>
8749
8750         * LyXAction.C: fix margin note description
8751
8752 2002-08-24  John Levon  <levon@movementarian.org>
8753
8754         * buffer.C:
8755         * bufferlist.C:
8756         * bufferview_funcs.C:
8757         * lyxfont.C:
8758         * undo_funcs.C: cleanups
8759
8760         * lyxfunc.C: disable CUT/COPY when no selection
8761
8762 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8763
8764         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8765         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8766
8767         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8768         Add backward compatibility to "mono", "gray" and "no".
8769
8770 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8771
8772         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8773         (and file_format >= 200).
8774
8775 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8776
8777         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8778
8779 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8782
8783 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8784
8785         * BufferView_pimpl.C:
8786         * LyXAction.C:
8787         * buffer.C:
8788         * commandtags.h:
8789         * lyxfunc.C:
8790         * paragraph.[Ch]:
8791         * text2.C:
8792         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8793         inset and code to make it  work with the paragraph code. The inset
8794         can be anywhere in the paragraph, but will only do the expected
8795         thing in LaTeX if the layout file contains the parameter line
8796                         OptionalArgs    1
8797         (or more generally, a nonzero value) for that layout.
8798
8799 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * paragraph.h: remove the declaration of undefined counters class
8802         function.
8803
8804 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8805
8806         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8807         Dr. Richard Hawkins.
8808
8809 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8810
8811         * paragraph_funcs.h: remove some unneeded includes
8812
8813         * text.C (backspace): pasteParagraph now in global scipe
8814
8815         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8816         (pasteSelection): ditto
8817
8818         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8819         * paragraph_funcs.C (pasteParagraph): ... here
8820
8821 2002-08-20  André Pönitz <poenitz@gmx.net>
8822
8823         * commandtags.h: new LFUNs for swapping/copying table row/colums
8824
8825         * LyXAction.C:
8826         * lyxfunc.C: support for new lfuns
8827
8828 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * tabular.C:
8831         * buffer.[Ch]: remove NO_COMPABILITY stuff
8832
8833 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * boost.C (throw_exception): new file, with helper function for
8836         boost compiled without exceptions.
8837
8838         * paragraph.h:
8839         * lyxlength.C:
8840         * buffer.C:
8841         * ParameterStruct.h:
8842         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8843
8844         * bufferlist.C (emergencyWriteAll): use boost bind
8845
8846         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8847
8848         * text.C: include paragraph_funcs.h
8849         (breakParagraph): breakParagraph is now in global scope
8850
8851         * paragraph_funcs.[Ch]: new files
8852
8853         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8854         global scope
8855
8856         * buffer.C: include paragraph_funcs.h
8857         (insertStringAsLines): breakParagraph is now in global scope
8858
8859         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8860         paragraph_funcs.C
8861
8862         * CutAndPaste.C: include paragraph_funcs.h
8863         (cutSelection): breakParagraphConservative is now in global scope
8864         (pasteSelection): ditto
8865
8866         * buffer.h: declare oprator== and operator!= for
8867         Buffer::inset_iterator
8868
8869         * bufferlist.C (emergencyWrite): don't use fmt(...)
8870
8871         * text3.C: add using std::endl
8872
8873         * BufferView.C (moveCursorUpdate): remove default arg
8874
8875 2002-08-20  André Pönitz <poenitz@gmx.net>
8876
8877         * buffer.[Ch]: move inline functions to .C
8878
8879         * BufferView2.C:
8880         * BufferView_pimpl.C:
8881         * text.C:
8882         * buffer.[Ch]: use improved inset_iterator
8883
8884         * buffer.C:
8885         * paragraph.[Ch]: write one paragraph at a time
8886
8887 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8888
8889         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8890         style if style is not specified.
8891
8892 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * text2.C (setCounter): when searching for right label for a
8895         caption, make sure to recurse to parent insets (so that a caption
8896         in a minipage in a figure float works) (bug #568)
8897
8898 2002-08-20  André Pönitz <poenitz@gmx.net>
8899
8900         * text3.C: new file for LyXText::dispatch() and helpers
8901
8902         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8903
8904         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8905
8906 2002-08-19  André Pönitz <poenitz@gmx.net>
8907
8908         * lyxtext.h:
8909         * text.C: new LyXText::dispatch()
8910
8911         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8912
8913 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8914
8915         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8916
8917         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8918         Hebrew text.
8919
8920 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * Makefile.am: use $(variables) instead of @substitutions@
8923
8924 2002-08-15  André Pönitz <poenitz@gmx.net>
8925
8926         * lyxfunc.C:
8927         * BufferView_pimpl.C: streamlining mathed <-> outer world
8928         interaction
8929
8930         * commandtags.h:
8931         * LyXAction.C: remove unused LFUN_MATH
8932
8933 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8934
8935         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8936
8937 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8938
8939         * paragraph.C (Paragraph): reformat a bit
8940         (cutIntoMinibuffer): use builtin InsetList function instad of
8941         doing it manually.
8942         (getInset): ditto
8943
8944         * buffer.C: include boost/bind.hpp, add using std::for_each
8945         (writeFileAscii): use ParagraphList iterators
8946         (validate): use for_each for validate traversal of paragraphs
8947         (getBibkeyList): use ParagraphList iterators
8948         (resizeInsets): use for_each to resizeInsetsLyXText for all
8949         paragraphs.
8950         (getParFromID): use ParagraphList iterators
8951
8952         * BufferView2.C (lockInset): use paragraph list and iterators
8953
8954 2002-08-14  John Levon  <levon@movementarian.org>
8955
8956         * lyxserver.C: remove spurious xforms include
8957
8958 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8961
8962 2002-08-13  André Pönitz <poenitz@gmx.net>
8963
8964         * LyXAction.[Ch]:
8965         * lyxfunc.C: further cleaning
8966
8967 2002-08-13  André Pönitz <poenitz@gmx.net>
8968
8969         * funcrequest.h: new constructor
8970
8971         * funcrequest.C: move stuff here from .h
8972
8973         * Makefile.am:
8974         * BufferView_pimpl.C:
8975         * LyXAction.C:
8976         * toc.C:
8977         * lyxfunc.C: subsequent changes
8978
8979         * lyxfunc.h: new view() member function
8980
8981         * lyxfunc.C: subsequent changes
8982
8983 2002-08-13  Angus Leeming  <leeming@lyx.org>
8984
8985         * BufferView2.C:
8986         * BufferView_pimpl.C:
8987         * buffer.C:
8988         * converter.C:
8989         * importer.C:
8990         * lyxfunc.C:
8991         * lyxvc.C:
8992         * toc.C:
8993         * vc-backend.C:
8994         changes due to the changed LyXView interface that now returns references
8995         to member variables not pointers.
8996
8997 2002-08-13  Angus Leeming  <leeming@lyx.org>
8998
8999         * WordLangTuple (word, lang_code): return references to strings,
9000         not strings.
9001
9002         * BufferView.h:
9003         * SpellBase.h:
9004         * lyxtext.h: forward-declare WordLangTuple.
9005
9006         * BufferView2.C:
9007         * ispell.C:
9008         * pspell.C:
9009         * text.C: #include "WordLangTuple.h".
9010
9011         * lyxtext.h:
9012         * text.C: (selectNextWordToSpellcheck): constify return type.
9013
9014 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9015
9016         * buffer.C:
9017         * buffer.h:
9018         * lyxtext.h:
9019         * paragraph.C:
9020         * paragraph_pimpl.h:
9021         * text.C:
9022         * text2.C:
9023         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9024         suggested by Angus.
9025         Made updateCounter always count from start of buffer, and removed
9026         second argument (par).
9027         Reverted floats number display to '#'. Perhaps I'll try again when the
9028         code base is sanitized a bit.
9029
9030 2002-08-12  Angus Leeming  <leeming@lyx.org>
9031
9032         * buffer.[Ch] (getLabelList): constify.
9033
9034 2002-08-07  André Pönitz <poenitz@gmx.net>
9035
9036         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9037
9038         * funcrequest.h: extension to keep mouse (x,y) position
9039
9040 2002-08-12  Juergen Vigna  <jug@sad.it>
9041
9042         * BufferView2.C (insertErrors): forbid undo when inserting error
9043         insets.
9044
9045         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9046
9047 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9048
9049         * ParagraphList.[Ch]: new files
9050
9051         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9052
9053         * BufferView2.C (lockInset): ParagraphList changes
9054         * toc.C: ditto
9055         * text2.C: ditto
9056         * bufferlist.C: ditto
9057         * buffer.h: ditto
9058         * buffer.C: ditto
9059
9060 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9063         unused class variable counter_,
9064
9065         * paragraph.[Ch] (getFirstCounter): delete unused function
9066
9067         * counters.C: include LAssert.h
9068         (reset): add a new function with no arg, change other version to
9069         not have def. arg and to not allow empty arg.
9070
9071         * text2.C (setCounter): remove empty arg from call to Counters::reset
9072
9073 2002-08-11  John Levon  <levon@movementarian.org>
9074
9075         * Makefile.am: add WordLangTuple.h
9076
9077 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9080         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9081
9082         * insets/insettext.C: InsetList changes
9083
9084         * graphics/GraphicsSupport.C (operator()): InsetList changes
9085
9086         * toc.C (getTocList): InsetList changes
9087
9088         * paragraph_pimpl.[Ch]: InsetList changes
9089
9090         * paragraph.[Ch]: InsetList changes
9091
9092         * buffer.C (inset_iterator): InsetList changes
9093         (setParagraph): ditto
9094         * buffer.h (inset_iterator): ditto
9095         * iterators.C (operator++): ditto
9096         * iterators.h: ditto
9097
9098         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9099
9100         * InsetList.[Ch]: new files, most InsetList handling moved out of
9101         paragraph.C.
9102
9103         * BufferView2.C (removeAutoInsets): InsetList changes
9104         (lockInset): ditto
9105         (ChangeInsets): ditto
9106
9107 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * paragraph_pimpl.h (empty): new function
9110
9111         * paragraph.[Ch] (empty): new function
9112
9113         * other files: use the new Paragraph::empty function
9114
9115 2002-08-09  John Levon  <levon@movementarian.org>
9116
9117         * lyxtext.h: remove unused refresh_height
9118
9119 2002-08-09  John Levon  <levon@movementarian.org>
9120
9121         * Makefile.am:
9122         * sgml.h:
9123         * sgml.C:
9124         * buffer.C:
9125         * paragraph.h:
9126         * paragraph.C: move sgml char escaping out of paragraph
9127
9128         * paragraph.h:
9129         * paragraph.C: remove id setter
9130
9131         * buffer.C:
9132         * paragraph.C:
9133         * paragraph_pimpl.C: remove dead tex_code_break_column
9134
9135         * bufferview_funcs.C: small cleanup
9136
9137         * lyxfunc.C: remove dead proto
9138
9139         * lyxtext.h: make some stuff private. Remove some dead stuff.
9140
9141         * lyxgluelength.C: make as[LyX]String() readable
9142
9143 2002-08-08  John Levon  <levon@movementarian.org>
9144
9145         * LyXAction.h:
9146         * LyXAction.C:
9147         * MenuBackend.C:
9148         * ToolbarDefaults.C:
9149         * lyxfunc.C:
9150         * lyxrc.C:
9151         * toc.C: lyxaction cleanup
9152
9153 2002-08-08  John Levon  <levon@movementarian.org>
9154
9155         * BufferView2.C: small cleanup
9156
9157         * lyxfind.h:
9158         * lyxfind.C: move unnecessary header into the .C
9159
9160 2002-08-08  John Levon  <levon@movementarian.org>
9161
9162         * funcrequest.h: just tedious nonsense
9163
9164         * lyx_main.h:
9165         * lyx_main.C: cleanups
9166
9167         * buffer.C:
9168         * vspace.C: remove dead header lyx_main.h
9169
9170 2002-08-07  Angus Leeming  <leeming@lyx.org>
9171
9172         * Paragraph.[Ch]:
9173         * paragraph_pimpl.h:
9174         Forward declare class Counters in paragraph.h by moving the ctrs member
9175         variable into Paragraph::Pimpl.
9176         (counters): new method, returning a reference to pimpl_->ctrs.
9177
9178         * text2.C: ensuing changes.
9179
9180 2002-08-07  John Levon  <levon@movementarian.org>
9181
9182         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9183
9184         * BufferView_pimpl.C: announce X selection on double/triple
9185           click
9186
9187         * lyx_main.C: use correct bool in batch dispatch
9188
9189         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9190
9191 2002-08-07  André Pönitz <poenitz@gmx.net>
9192
9193         * funcrequest.h: new class to wrap a kb_action and its argument
9194
9195         * BufferView.[Ch]:
9196         * BufferView_pimpl[Ch]:
9197         * LaTeX.C:
9198         * LyXAction.[Ch]:
9199         * lyxfunc.[Ch]:
9200         * lyxrc.C: subsequent changes
9201
9202
9203 2002-08-07  John Levon  <levon@movementarian.org>
9204
9205         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9206           document options change.
9207
9208 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9209
9210         * counters.[Ch]
9211         * text2.C
9212         * paragraph.[Ch]
9213         * makefile.am: move counters functionality over from
9214         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9215
9216 2002-08-06  John Levon  <levon@movementarian.org>
9217
9218         * WordLangTuple.h: new file for word + language code tuple
9219
9220         * SpellBase.h:
9221         * pspell.h:
9222         * pspell.C:
9223         * ispell.h:
9224         * ispell.C:
9225         * lyxtext.h:
9226         * text.C:
9227         * text2.C:
9228         * BufferView.h:
9229         * BufferView2.C: use WordLangTuple
9230
9231         * layout.h:
9232         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9233
9234 2002-08-06  John Levon  <levon@movementarian.org>
9235
9236         * lyx_main.C: fix cmdline batch handling
9237
9238 2002-08-06  André Pönitz <poenitz@gmx.net>
9239
9240         * lyxrc.C: set default for show_banner to true
9241
9242 2002-08-06  John Levon  <levon@movementarian.org>
9243
9244         * pspell.C: fix a crash, and allow new aspell to work
9245
9246 2002-08-06  John Levon  <levon@movementarian.org>
9247
9248         * lyxfunc.C:
9249         * kbmap.C: small cleanup
9250
9251         * vspace.h:
9252         * vspace.C: add const
9253
9254 2002-08-05  John Levon  <levon@movementarian.org>
9255
9256         * LyXAction.C: back to tabular-insert
9257
9258 2002-08-04  John Levon  <levon@movementarian.org>
9259
9260         * BufferView.h:
9261         * BufferView.C: cosmetic change
9262
9263         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9264
9265         * bufferlist.C:
9266         * buffer.h:
9267         * buffer.C:
9268         * lyxcb.h:
9269         * lyxcb.C:
9270         * lyxserver.C:
9271         * lyxvc.C:
9272         * vc-backend.C:
9273         * BufferView2.C: purge all "Lyx" not "LyX" strings
9274
9275         * lyxcursor.h:
9276         * lyxcursor.C: attempt to add some documentation
9277
9278         * lyxfunc.C:
9279         * commandtags.h:
9280         * LyXAction.C:
9281         * ToolbarDefaults.C:
9282         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9283           merge with LFUN_TABULAR_INSERT
9284
9285         * Makefile.am:
9286         * SpellBase.h:
9287         * ispell.h:
9288         * ispell.C:
9289         * pspell.h:
9290         * pspell.C: split up i/pspell implementations into separate
9291           files, many cleanups
9292
9293         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9294
9295         * text2.C: some cleanup
9296
9297         * lyxfunc.C: don't check for isp_command == "none" any more, it
9298           didn't make any sense
9299
9300 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9301
9302         * counters.[Ch]
9303         * text2.C
9304         * paragraph.[Ch]
9305         * makefile.am: move counters functionality over
9306         from text2.C/paragraph.[Ch] to counters.[Ch], and
9307         make proper C++.
9308 2002-08-02  John Levon  <levon@movementarian.org>
9309
9310         * buffer.C: s/lyxconvert/lyx2lyx/
9311
9312 2002-08-02  Angus Leeming  <leeming@lyx.org>
9313
9314         * lyxlex.C: revert John's change as it breaks reading of the user
9315         preamble.
9316
9317 2002-08-02  Angus Leeming  <leeming@lyx.org>
9318
9319         * importer.C (Import):
9320         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9321         changes due to LyXView::view() now returning a boost::shared_ptr.
9322
9323 2002-08-02  John Levon  <levon@movementarian.org>
9324
9325         * lyxlex.C: small cleanup
9326
9327 2002-08-02  John Levon  <levon@movementarian.org>
9328
9329         * text2.C (status): small cleanup, no logic change
9330
9331 2002-08-01  John Levon  <levon@movementarian.org>
9332
9333         * buffer.h:
9334         * buffer.C (writeFile): don't output alerts, caller
9335           handles this
9336
9337         * bufferlist.C:
9338         * lyx_cb.C: from above
9339
9340         * lyxfunc.C: allow to open non-existent files
9341
9342 2002-07-31  John Levon  <levon@movementarian.org>
9343
9344         * lyxserver.C: don't let incidental errors get
9345           in the way (errno)
9346
9347 2002-07-30  John Levon  <levon@movementarian.org>
9348
9349         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9350
9351 2002-07-30  John Levon  <levon@movementarian.org>
9352
9353         * lyxserver.h:
9354         * lyxserver.C: remove I/O callback too
9355
9356 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9357
9358         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9359         log.
9360
9361 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9362
9363         * many files: strip,frontStrip -> trim,ltrim,rtrim
9364
9365 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * PrinterParams.h: remove extern containsOnly, and include
9368         support/lstrings.h instead.
9369
9370         * LaTeX.C (scanAuxFile): modify because of strip changes
9371         (deplog): ditto
9372         * buffer.C (makeLaTeXFile): ditto
9373         * bufferparams.C (writeFile): ditt
9374         * lyxfont.C (stateText): ditto
9375         * lyxserver.C (read_ready): ditto
9376         * vc-backend.C (scanMaster): ditto
9377
9378         * BufferView_pimpl.h: ws changes
9379
9380         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9381
9382 2002-07-26  André Pönitz <poenitz@gmx.net>
9383
9384         * kb_sequence.C: remove unnedred usings
9385
9386 2002-07-26  Juergen Vigna  <jug@sad.it>
9387
9388         * lyxfind.C (LyXReplace): we have to check better if the returned
9389         text is not of theLockingInset()->getLockingInset().
9390
9391 2002-07-25  Juergen Vigna  <jug@sad.it>
9392
9393         * lyxfind.C (LyXReplace): don't replace if we don't get the
9394         right LyXText.
9395
9396         * undo_funcs.C (createUndo): remove debugging code.
9397
9398 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9399
9400         * buffer.C (parseSingleLyXformat2Token): Use default placement
9401         when reading old floats.
9402
9403         * FloatList.C (FloatList): Change the default placement of figure
9404         and tables to "tbp".
9405
9406 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * MenuBackend.C: using std::max
9409
9410 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * MenuBackend.C (expandToc):
9413         (expandToc2): code moved from xforms menu frontend. It is now
9414         generic and TOCs are transparent to menu frontends.
9415
9416 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9417
9418         * toc.C (getTocList): protect against buf=0
9419
9420         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9421         Menu as first parameter. Now, this calls itself recursively to
9422         expand a whole tree (this will be useful for TOC handling)
9423         (expandFloatInsert): remove 'wide' version of floats
9424
9425         * MenuBackend.h (submenuname): returns the name of the submenu.
9426         (submenu): returns the submenu itself, provided it has been
9427         created by MenuBackend::expand
9428
9429 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9430
9431         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9432         insets which have noFontChange == true. (bug #172)
9433
9434 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9435
9436         * BufferView_pimpl.C: add connection objects and use them...
9437         (Pimpl): here.
9438
9439 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * MenuBackend.C (expandLastfiles):
9442         (expandDocuments):
9443         (expandFormats):
9444         (expandFloatListInsert):
9445         (expandFloatInsert):
9446         (expand): split expand in parts
9447
9448 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * lyx_gui.C: use lyx_gui::exit()
9451
9452 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9453
9454         * LyXAction.C: show the failing pseudo action
9455
9456 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9457
9458         * buffer.C (readFile): Run the lyxconvert script in order to read
9459         old files.
9460
9461 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * LyXAction.C:
9464         * commandtags.h:
9465         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9466
9467 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * LyXAction.C:
9470         * commandtags.h:
9471         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9472
9473 2002-07-22  Herbert Voss  <voss@lyx.org>
9474
9475         * lengthcommon.C:
9476         * lyxlength.[Ch]: add support for the vertical lengths
9477
9478 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9479
9480         * toc.[Ch]: std:: fixes
9481
9482 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * lyxrc.C: do not include lyx_main.h
9485
9486         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9487         for layouts
9488
9489         * lyxrc.C:
9490         * encoding.C:
9491         * bufferlist.C:
9492         * BufferView2.C: include "lyxlex.h"
9493
9494         * tabular.h:
9495         * bufferparams.h: do not #include "lyxlex.h"
9496
9497         * lyxtextclasslist.C (Add): remove method
9498         (classlist): renamed to classlist_
9499
9500         * paragraph_pimpl.C:
9501         * paragraph.C:
9502         * text2.C:
9503         * CutAndPaste.C:
9504         * bufferview_funcs.C:
9505         * bufferlist.C:
9506         * text.C:
9507         * LaTeXFeatures.C:
9508         * buffer.C:
9509         * toc.C (getTocList): use BufferParams::getLyXTextClass
9510
9511         * toc.C (getTocList): use InsetFloat::addToToc
9512
9513         * toc.[Ch]: new files, containing helper functions to handle table
9514         of contents
9515
9516         * lyxfunc.C (dispatch): no need to remove spaces around command
9517         given as a string
9518         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9519         first command of the sequence; it is not very clever, but I do not
9520         have a better idea, actually
9521
9522         * LyXAction.C (LookupFunc): make sure to remove space at the
9523         beginning and end of the command
9524
9525 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * MenuBackend.C (getMenubar): new method: return the menubar of
9528         this menu set
9529         (read): treat differently reading of menu and menubar (in
9530         particular, the menubar has no name now)
9531         (Menu::menubar): remove
9532
9533         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9534         saving is finished
9535
9536 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9537
9538         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9539         a bibitem inset in a RTL paragraph.
9540
9541 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * paragraph_pimpl.C: constify
9544
9545         * BufferView_pimpl.C:
9546         * LaTeX.C:
9547         * lyxfunc.C: fix dispatch in a nicer way
9548
9549 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * lyxfunc.C (dispatch):
9552         * BufferView_pimpl.C:
9553         * BufferView_pimpl.h:
9554         * BufferView.C:
9555         * BufferView.h: rename Dispatch() to dispatch()
9556
9557         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9558
9559         * lyxlayout.C (Read): honor DependsOn tag
9560
9561         * lyxlayout.[Ch] (depends_on): new method
9562
9563         * version.C.in: update lyx_docversion
9564
9565         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9566
9567         * paragraph.C (validate): remove from here...
9568         * paragraph_pimpl.C (validate): ... and move here
9569         (isTextAt): make it const
9570
9571         * buffer.C (getLists): ws cleanup
9572
9573 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9574
9575         * language.C (read): Use iso8859-1 encoding in latex_lang
9576         (this prevents LyX from crashing when using iso10646-1 encoding).
9577
9578 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * text2.C (toggleInset): if cursor is inside an inset, close the
9581         inset and leave cursor _after_ it
9582
9583 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * lyxfunc.C: move minibuffer completion handling out of here
9586
9587 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * BufferView_pimpl.C:
9590         * LaTeX.C: fix dispatch calls
9591
9592 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9593
9594         * text.C (drawChars): Fix Arabic text rendering.
9595
9596 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * LyXAction.C:
9599         * commandtags.h:
9600         * lyxfunc.C: remove message-push/pop
9601
9602         * lyxserver.C:
9603         * lyxfunc.h:
9604         * lyxfunc.C: rationalise some code by removing verboseDispatch
9605           in favour of a bool argument to dispatch()
9606
9607 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * lyx_main.C (init): make sure to read symlinks as absolute paths
9610
9611 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9612
9613         * lyxfunc.h:
9614         * lyxfunc.C: no need for commandshortcut to be a member
9615
9616 2002-07-15  André Pönitz <poenitz@gmx.net>
9617
9618         * converter.C: add support for $$s (scripts from lib/scripts dir)
9619         * lyx_main.C: white space
9620
9621 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * bufferlist.C:
9624         * lyxrc.h:
9625         * lyxrc.C: remove second exit confirmation
9626
9627 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * BufferView.h:
9630         * BufferView.C:
9631         * BufferView2.C:
9632         * BufferView_pimpl.h:
9633         * BufferView_pimpl.C:
9634         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9635
9636 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * MenuBackend.C (expand): add numeric shortcuts to document menu
9639
9640         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9641
9642 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * lyxfont.C (setLyXFamily):
9645         (setLyXSeries):
9646         (setLyXShape):
9647         (setLyXSize):
9648         (setLyXMisc):
9649         (lyxRead):
9650         * debug.C (value):
9651         * buffer.C (asciiParagraph): use ascii_lowercase
9652
9653 2002-07-15  Mike Fabian  <mfabian@suse.de>
9654
9655         * lyxlex_pimpl.C (search_kw):
9656         * lyxlex.C (getLongString):
9657         * converter.h (operator<):
9658         * converter.C (operator<):
9659         * buffer.C (parseSingleLyXformat2Token):
9660         (asciiParagraph):
9661         * ToolbarDefaults.C (read):
9662         * MenuBackend.C (checkShortcuts):
9663         (read):
9664         * LColor.C (getFromGUIName):
9665         (getFromLyXName): use the compare_ascii_no_case instead of
9666         compare_no_case, because in turkish, 'i' is not the lowercase
9667         version of 'I', and thus turkish locale breaks parsing of tags.
9668
9669 2002-07-16  Angus Leeming  <leeming@lyx.org>
9670
9671         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9672         now takes a Buffer const & argument.
9673
9674 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * BufferView.C (resize): check there's a buffer to resize
9677
9678 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * lyxfunc.C: remove dead code
9681
9682         * lyxserver.h:
9683         * lyxserver.C: use lyx_guii::set_read_callback
9684
9685 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9688         an inset in a RTL paragraph.
9689
9690 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * lyxfunc.C: repaint after a font size update
9693
9694 2002-07-15  André Pönitz <poenitz@gmx.net>
9695
9696         * lyxlength.C: inBP should be able to return negative values
9697
9698 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * lyxfunc.C: use lyx_gui::update_fonts()
9701
9702 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * lyxfunc.C: use lyx_gui::update_color()
9705
9706 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * bufferlist.C:
9709         * lyxfunc.h:
9710         * lyxfunc.C:
9711         * lyxrc.h:
9712         * lyxrc.C: remove file->new asks for name option, and let
9713           buffer-new take an argument
9714
9715 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * BufferView_pimpl.C: remove unneeded extra repaint()
9718
9719 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * LyXAction.C: allow command-sequence with NoBuffer
9722
9723         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9724
9725 2002-07-10  Angus Leeming  <leeming@lyx.org>
9726
9727         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9728
9729 2002-07-09  Angus Leeming  <leeming@lyx.org>
9730
9731         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9732
9733 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * lengthcommon.h: whitespace
9736
9737         * lyxfunc.C: update scrollbar after goto paragraph
9738
9739         * lyxtext.h: factor out page break drawing, and fix it so
9740           page break/added space paints as selected nicely
9741
9742 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * BufferView_pimpl.C: add FIXMEs, clean up a little
9745
9746 2002-07-09  André Pönitz <poenitz@gmx.net>
9747
9748         * lyxfont.[Ch]: support for wasy symbols
9749
9750 2002-07-08  André Pönitz <poenitz@gmx.net>
9751
9752         * BufferView_pimpl.C: apply John's patch for #93.
9753
9754 2002-07-05  Angus Leeming  <leeming@lyx.org>
9755
9756         * BufferView_pimpl.C (buffer): generate previews if desired.
9757
9758         * LColor.h: add "preview" to the color enum.
9759
9760         * LColor.C (LColor): add a corresponding entry to the items array.
9761
9762         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9763         with this buffer.
9764
9765 2002-07-05  Angus Leeming  <leeming@lyx.org>
9766
9767         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9768         The body of the code is now in the method that is passed an ostream &
9769         rather than a file name.
9770         Pass an additional only_preamble parameter, useful for the forthcoming
9771         preview stuff.
9772
9773 2002-07-03  André Pönitz <poenitz@gmx.net>
9774
9775         * lyxfunc.C: simplify getStatus() a bit for math stuff
9776
9777 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9778
9779         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9780
9781 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * text.C (changeRegionCase): do not change case of all the
9784         document when region ends at paragraph end (bug #461)
9785
9786 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * paragraph.C (startTeXParParams):
9789         (endTeXParParams): add \protect when necessary
9790
9791 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * BufferView_pimpl.C (workAreaExpose): remove warning
9794
9795 2002-06-27  Angus Leeming  <leeming@lyx.org>
9796
9797         * Makefile.am: add lyxlayout_ptr_fwd.h.
9798
9799 2002-06-26  André Pönitz <poenitz@gmx.net>
9800
9801         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9802
9803 2002-06-25  Angus Leeming  <leeming@lyx.org>
9804
9805         * lyxfunc.C (dispatch): Comment out the call to
9806         grfx::GCache::changeDisplay. The method no longer exists now that the
9807         pixmap generation part of the graphics loader has been moved into
9808         InsetGraphics.
9809
9810 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9811
9812         * text2.C: layout as layout
9813
9814         * text.C: layout as layout
9815
9816         * tabular.C (OldFormatRead): layout as layout
9817
9818         * paragraph_pimpl.C (TeXDeeper): layout as layout
9819         (realizeFont): layout as layout
9820
9821         * paragraph.C (writeFile): layout as layout
9822         (validate): layout as layout
9823         (getFont): layout as layout
9824         (getLabelFont): layout as layout
9825         (getLayoutFont): layout as layout
9826         (breakParagraph): layout as layout
9827         (stripLeadingSpaces): layout as layout
9828         (getEndLabel): layout as layout
9829         (getMaxDepthAfter): layout as layout
9830         (applyLayout): layout as layout
9831         (TeXOnePar): layout as layout
9832         (simpleTeXOnePar): layout as layout
9833         (TeXEnvironment): layout as layout
9834         (layout): layout as layout
9835         (layout): layout as layout
9836
9837         * lyxtextclass.C (compare_name): new functor to work with
9838         shared_ptr, layout as layout
9839         (Read): layout as layout
9840         (hasLayout): layout as layout
9841         (operator): layout as layout
9842         (delete_layout): layout as layout
9843         (defaultLayout): layout as layout
9844
9845         * lyxlayout_ptr_fwd.h: new file
9846
9847         * lyxlayout.C (Read): layout as layout
9848
9849         * lyx_cb.C (MenuInsertLabel): layout as layout
9850
9851         * bufferlist.C (newFile): layout as layout
9852
9853         * buffer.C (readLyXformat2): layout as layout
9854         (parseSingleLyXformat2Token): layout as layout
9855         (insertStringAsLines): layout as layout
9856         (asciiParagraph): layout as layout
9857         (latexParagraphs): layout as layout
9858         (makeLinuxDocFile): layout as layout
9859         (simpleLinuxDocOnePar): layout as layout
9860         (makeDocBookFile): layout as layout
9861         (simpleDocBookOnePar): layout as layout
9862         (getLists): layout as layout
9863
9864         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9865
9866         * CutAndPaste.C (cutSelection): layout as layout
9867         (pasteSelection): layout as layout
9868         (SwitchLayoutsBetweenClasses): layout as layout
9869
9870         * BufferView_pimpl.C (Dispatch): layout as layout
9871         (smartQuote): layout as layout
9872
9873         * BufferView2.C (unlockInset): layout as layout
9874
9875 2002-06-24  André Pönitz <poenitz@gmx.net>
9876
9877         * lyxfunc.C: fix #487
9878
9879 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * lyxrc.h:
9882         * lyxrc.C:
9883         * lyxfunc.C: remove display_shortcuts, show_banner
9884
9885 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * Buffer_pimpl.C: oops, update on resize
9888
9889 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * buffer.C:
9892         * converter.C:
9893         * exporter.C:
9894         * lyxfunc.C:
9895         * BufferView.h:
9896         * BufferView.C: use repaint()
9897
9898         * BufferView_pimpl.h:
9899         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9900           as it's a clearer description. Remove superfluous
9901           redraws.
9902
9903 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * text.C: fix bug 488. Not ideal, but getting
9906           getWord() to work properly for the insets that
9907           matter is more difficult ...
9908
9909 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * BufferView_pimpl.C:
9912         * LyXAction.C:
9913         * commandtags.h:
9914         * lyxfunc.C: remove the six million index lyxfuncs to just
9915           one, and DTRT (bug 458)
9916
9917 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * BufferView.h:
9920         * BufferView.C:
9921         * BufferView_pimpl.h:
9922         * BufferView_pimpl.C: clean up resize() stuff,
9923           and unnecessary updateScreen()s
9924
9925 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * BufferView.h:
9928         * BufferView.C:
9929         * BufferView_pimpl.h:
9930         * BufferView_pimpl.C:
9931         * lyxfind.h:
9932         * lyxfind.C:
9933         * minibuffer.C: remove focus management of workarea,
9934           not needed. Use screen's greyOut()
9935
9936 2002-06-17  Herbert Voss  <voss@lyx.org>
9937
9938         * converter.C: (convert) do not post a message, when converting
9939         fails, let the calling function decide what to do in this case
9940
9941 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9942
9943         * lyxfunc.C: tidy up a little
9944
9945 2002-06-16    <alstrup@diku.dk>
9946
9947         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9948         Got rid of FORMS_H_LOCATION include. Now we are
9949         GUII.
9950
9951 2002-06-15  LyX Development team  <lyx@rilke>
9952
9953         * buffer.[Ch] (sgmlOpenTag):
9954         (sgmlCloseTag): Added support for avoiding pernicious mixed
9955         content. Return number of lines written.
9956
9957         (makeLinuxDocFile):
9958         (makeDocBookFile): Fixed calls to sgml*Tag.
9959         Simple white space clean.
9960
9961         (simpleDocBookOnePar): Simple white space clean.
9962
9963         * tabular.[Ch] (docBook): Renamed to docbook and got another
9964         argument to related with the pernicious mixed content.
9965
9966         (docbookRow): Fixed calls for docbook inset method.
9967
9968 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9969
9970         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9971         so it's X11 independent.
9972
9973         * kb*.[Ch]: ditto.
9974
9975         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9976
9977 2002-06-15  Lyx Development team  <lyx@electronia>
9978
9979         * intl.h: Renamed getTrans to getTransManager.
9980
9981 2002-06-14  Angus Leeming  <leeming@lyx.org>
9982
9983         * Makefile.am: nuke forgotten stl_string_fwd.h.
9984
9985 2002-06-12  Angus Leeming  <leeming@lyx.org>
9986
9987         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9988
9989 2002-06-13  Angus Leeming  <leeming@lyx.org>
9990
9991         * LaTeX.C:
9992         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9993
9994 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9995
9996         * kbmap.C (getiso): add support for cyrillic and greek
9997
9998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * BufferView.h:
10001         * BufferView.C:
10002         * BufferView_pimpl.h:
10003         * BufferView_pimpl.C: move bogus scrolling logic
10004           to xforms
10005
10006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10007
10008         * lyxfunc.C:
10009         * BufferView_pimpl.C: view->resize() change
10010
10011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * BufferView_pimpl.C: topCursorVisible
10014           prototype change
10015
10016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * Makefile.am:
10019         * lyx_gui.h:
10020         * lyx_gui.C: move to frontends/
10021
10022         * main.C:
10023         * lyx_main.h:
10024         * lyx_main.C: changes from above
10025
10026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * intl.C:
10029         * intl.h:
10030         * kbmap.C:
10031         * kbsequence.C:
10032         * lyx_cb.C:
10033         * lyx_main.C: minor tidy
10034
10035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * BufferView_pimpl.h:
10038         * BufferView_pimpl.C:
10039         * BufferView.h:
10040         * BufferView.C: make painter() const,
10041           remove dead code
10042
10043         * BufferView2.C: use screen() accessor
10044
10045         * lyx_main.h:
10046         * lyx_main.C: some minor cleanup
10047
10048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView_pimpl.h:
10051         * BufferView_pimpl.C: remove enter/leaveView,
10052           use workHeight()
10053
10054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * BufferView.h:
10057         * BufferView.C:
10058         * BufferView2.C:
10059         * BufferView_pimpl.h:
10060         * BufferView_pimpl.C: only construct screen once,
10061           rename
10062
10063         * lyxrc.C: remove pointless comment
10064
10065 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * BufferView.h:
10068         * BufferView.C: remove active() and belowMouse()
10069
10070         * BufferView_pimpl.h:
10071         * BufferView_pimpl.C: use workarea() not workarea_,
10072           and make it use a scoped_ptr instead
10073
10074 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * lyx_gui.C: add debug message on BadWindow
10077
10078 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10079
10080         * sp_spell.C: fdopen is not part of the C++ standard.
10081
10082         * paragraph.C (InsetIterator): use >= instead of ==
10083
10084 2002-06-07  Angus Leeming  <leeming@lyx.org>
10085
10086         Fixes needed to compile with Compaq cxx 6.5.
10087         * BufferView_pimpl.C:
10088         * DepTable.C:
10089         * buffer.C:
10090         * converter.C:
10091         * encoding.C:
10092         * lyx_gui.C:
10093         * lyx_main.C:
10094         * lyxtextclasslist.C:
10095         * minibuffer.C:
10096         * sp_spell.C:
10097         * tabular_funcs.C:
10098         * vc-backend.C:
10099         all c-library variables have been moved into namespace std. Wrap
10100         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10101
10102         * lyxlength.C:
10103         * tabular-old.C:
10104         * tabular.C:
10105         Add a using std::abs declaration.
10106
10107         * kbmap.h (modifier_pair):
10108         * paragraph.h (InsetTable, InsetList):
10109         * lyxfont.h (FontBits):
10110         type definition made public.
10111
10112         * bufferlist.C (emergencyWriteAll): the compiler complains that
10113         there is more than one possible lyx::class_fun template to choose from.
10114         I re-named the void specialisation as lyx::void_class_fun.
10115
10116         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10117
10118         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10119         the compiler is is unable to find tostr in write_attribute.
10120
10121 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * buffer.C (sgmlError): hide #warning
10124
10125 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10126
10127         * xtl/*: get rid of xtl, which is not in use anyway
10128
10129         * LyXAction.C (init):
10130         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10131         were unimplemented xtl experimentation
10132
10133 2002-06-04  André Pönitz <poenitz@gmx.net>
10134
10135         * lyxfunc.C: disable array operation on simple formulae
10136
10137 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * converter.C: constify a bit
10140
10141 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * lyx_gui.C: check xforms version correctly
10144
10145 2002-04-30  Herbert Voss  <voss@lyx.org>
10146
10147         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10148         "keep" option
10149
10150 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10153           attempt to register it with a VCS)
10154
10155 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * lyx_main.C (init): honor variables LYX_DIR_13x and
10158         LYX_USERDIR_13x
10159
10160 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * buffer.h:
10163         * buffer.C:
10164         * lyx_main.C: fix a crash on bad command line,
10165           and give a useful exit status on error
10166
10167         * lyxfunc.C (doImport): allow -i lyx to work
10168
10169 2002-03-30  André Pönitz <poenitz@gmx.net>
10170
10171         * lyxfunc.C: mathed font changes
10172
10173 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * LaTeX.C:
10176         * importer.h:
10177         * importer.C:
10178         * lyx_sty.h:
10179         * lyx_sty.C:
10180         * lyxlex.C:
10181         * lyxrow.h:
10182         * lyxtext.h:
10183         * paragraph.h:
10184         * paragraph.C:
10185         * texrow.h:
10186         * texrow.C:
10187         * text.C:
10188         * trans_mgr.h: srcdocs, and some minor cleanups
10189
10190 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10193         call getFont all the time)
10194
10195 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10196
10197         * switch from SigC signals to boost::signals
10198
10199 2002-05-29  André Pönitz <poenitz@gmx.net>
10200
10201         * paragraph_pimpl.C (getChar): don't call size() too often...
10202
10203 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * paragraph_pimpl.C (insertChar): do not try to update tables when
10206         appending (pos == size())
10207
10208         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10209         in order to reduce drastically the number of comparisons needed to
10210         parse a large document
10211
10212 2002-05-29  André Pönitz <poenitz@gmx.net>
10213
10214         * text.C:
10215         * text2.C:
10216         * lyxtextclass.C:
10217         * sp_pspell.h:
10218         * textclasslist.[Ch]:
10219         * sp_ispell.h: whitespace change
10220
10221 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10224         lyxaction directly now.
10225
10226 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * trans.C:
10229         * lyxfont.C:
10230         * lyxvc.C: remove unused headers
10231
10232 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * Makefile.am:
10235         * buffer.h:
10236         * undostack.h:
10237         * undostack.C:
10238         * undo_funcs.h:
10239         * undo_funcs.C: some cleanups. Use shared_ptr
10240           and a template for the undo stacks.
10241
10242 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.h:
10245         * BufferView_pimpl.C:
10246         * kbmap.h:
10247         * kbmap.C:
10248         * kbsequence.h:
10249         * kbsequence.C:
10250         * lyxfunc.h:
10251         * lyxfunc.C:
10252         * text2.C: use key_state/mouse_state
10253
10254 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10255
10256         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10257         and LSubstring
10258
10259         * chset.C: change include order
10260         (loadFile): use boost regex and get rid of LRegex and LSubstring
10261
10262         * Makefile.am (BOOST_LIBS): new variable
10263         (lyx_LDADD): use it
10264
10265         * LaTeX.C: change include order.
10266         (scanAuxFile): use boost regex and get rid of LRegex and
10267         LSubstring
10268         (deplog): ditto
10269
10270 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * ColorHandler.h:
10273         * ColorHandler.C:
10274         * FontInfo.h:
10275         * FontInfo.C: moved to frontends/xforms/
10276
10277         * FontLoader.h:
10278         * FontLoader.C: moved into frontends for GUIIzation
10279
10280         * Makefile.am:
10281         * lyx_gui.C:
10282         * lyxfont.C:
10283         * lyxfunc.C: changes from above
10284
10285 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * LColor.C: remove spurious X include
10288
10289         * BufferView_pimpl.C:
10290         * Makefile.am:
10291         * font.h:
10292         * font.C:
10293         * text.C:
10294         * text2.C: move font metrics to frontends/
10295
10296 2002-05-24  Juergen Vigna  <jug@sad.it>
10297
10298         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10299         setting the undo_cursor.
10300
10301         * ParagraphParameters.h: include local includes first.
10302
10303 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * BufferView_pimpl.C:
10306         * BufferView_pimpl.h:
10307         * Makefile.am:
10308         * WorkArea.h:
10309         * WorkArea.C:
10310         * screen.C: move WorkArea into frontends/
10311
10312         * lyxscreen.h:
10313         * screen.C:
10314         * text.C:
10315         * BufferView.C:
10316         * BufferView2.C: move LyXScreen into frontends/
10317
10318         * lyxlookup.h:
10319         * lyxlookup.C:
10320         * lyx_gui.C: move lyxlookup into frontends/xforms/
10321
10322 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView2.C:
10325         * BufferView_pimpl.C:
10326         * FontLoader.C:
10327         * LyXView.h:
10328         * LyXView.C:
10329         * Makefile.am:
10330         * WorkArea.C:
10331         * XFormsView.h:
10332         * XFormsView.C:
10333         * buffer.C:
10334         * bufferlist.C:
10335         * bufferview_funcs.C:
10336         * converter.C:
10337         * importer.C:
10338         * lyx_cb.C:
10339         * lyx_gui.C:
10340         * lyx_main.C:
10341         * lyx_find.C:
10342         * lyxfunc.C:
10343         * lyxvc.C:
10344         * minibuffer.C:
10345         * text.C:
10346         * text2.C:
10347         * trans.C:
10348         * vc-backend.C: move LyX/XFormsView into frontends/
10349
10350 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * Makefile.am:
10353         * PainterBase.C:
10354         * PainterBase.h:
10355         * Painter.C:
10356         * Painter.h:
10357         * WorkArea.C:
10358         * WorkArea.h:
10359         * screen.C:
10360         * tabular.C:
10361         * text.C:
10362         * text2.C: move Painter to frontends/
10363
10364 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * buffer.C: comment out some some code that depend upon lyx_format
10367         < 220
10368
10369         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10370         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10371
10372         * buffer.h (NO_COMPABILITY): turn off compability
10373
10374         * ColorHandler.C: include scoped_array.hpp
10375
10376         * font.C: Use more specific smart_ptr header.
10377         * Painter.C: ditto
10378         * gettext.C: ditto
10379         * ShareContainer.h: ditto
10380         * lyx_main.h: ditto
10381         * kbmap.h: ditto
10382         * FontInfo.h: ditto
10383         * BufferView_pimpl.h: ditto
10384         * ColorHandler.h: ditto
10385
10386         * kbmap.C (defkey): change call to shared_ptr::reset
10387
10388 2002-05-21  Juergen Vigna  <jug@sad.it>
10389
10390         * buffer.C (insertErtContents): fix to insert ert asis if it is
10391         non empty. Skip it completely if it contains only whitespaces.
10392
10393 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * BufferView_pimpl.C:
10396         * BufferView2.C: clear selection on paste (bug 393)
10397
10398 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10399
10400         * DepTable.C: include ctime
10401
10402 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10403
10404         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10405
10406 2002-05-14  Juergen Vigna  <jug@sad.it>
10407
10408         * text.C (breakParagraph): fixed function to honor the keepempty
10409         layout in the right maner and also to permit the right breaking
10410         algorithm on empty or non empyt keepempty paragraphs.
10411
10412         * paragraph.C (breakParagraph): we have to check also if the par
10413         is really empty (!size()) for isempty otherwise we do the wrong
10414         paragraph break.
10415
10416 2002-05-10  Juergen Vigna  <jug@sad.it>
10417
10418         * buffer.[Ch] : The following are only changes to the ert
10419         compatibility read reading old LaTeX layout and font stuff and
10420         convert it to ERTInsets.
10421
10422         * buffer.h: added isErtInset().
10423
10424         * buffer.C (struct ErtComp): add a fromlayout bool to check
10425         if we're inside a LaTeX layout.
10426         (isErtInset): new helper function.
10427         (insertErtContents): look for other ert insets before this one
10428         and insert the contents there, so that we don't have subsequent
10429         ERT insets with nothing between them. This way we create only one
10430         inset with multiple paragraphs. Also check if we don't insert only
10431         spaces ' ' as they are ignored anyway afterwards in the .tex file
10432         so if we have only spaces we will ignore this latex part in the
10433         new file.
10434         (parseSingleLyXformat2Token \\layout): better compatibility when
10435         reading layout-latex stuff.
10436         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10437         language tag.
10438         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10439         stuff after reading the inset only get the information back from
10440         the stack.
10441
10442 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10443
10444         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10445
10446         * LaTeXFeatures.C (getBabelOptions): New method.
10447
10448 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10449
10450         * BufferView_pimpl.C (Dispatch): work around missing argument for
10451         'layout'
10452
10453 2002-05-08  Juergen Vigna  <jug@sad.it>
10454
10455         * text.C (leftMargin): handle paragraph leftindent.
10456
10457         * paragraph.C (writeFile): write the new \\leftindent tag.
10458         (validate): handle leftindent code.
10459         (TeXEnvironment): handle paragraphleftindent code again.
10460
10461         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10462
10463         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10464         for paragrap_extra indent code and new token \\leftindent.
10465         (latexParagraphs): handle the leftindent as environment.
10466
10467         * ParameterStruct.h: added leftindent support.
10468
10469         * ParagraphParameters.C (leftIndent): added support functions for
10470         the paragraph left indent.
10471
10472         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10473         more appropriate.
10474
10475 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10476
10477         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10478         inside insetERT.
10479
10480         * text.C (computeBidiTables): No bidi in insetERT.
10481
10482         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10483         in RTL documents.
10484
10485 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * version.C.in: pre 5
10488
10489 2002-05-02  José Matos  <jamatos@fep.up.pt>
10490         * buffer.C (makeDocBookFile): white space changes, add newline to
10491         command styles.
10492         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10493
10494         * tabular.C (docBook): fix typo.
10495
10496 2002-05-03  Juergen Vigna  <jug@sad.it>
10497
10498         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10499         change in LyXText as we can not be sure it was not freed.
10500         (drawOneRow): remove unused code.
10501
10502         * text.C (drawInset): redo the calculation of the need_break_row as
10503         it could have a row which was already freed.
10504         (draw): look at the return value of drawInset and return false if
10505         it also returned false.
10506         (paintRowText): look at the return value of draw and return false if
10507         it also returned false.
10508
10509         * lyxtext.h: added bool return type to drawInset() and draw() so that
10510         if we have a change in the row so that the rowbreak has to be redone
10511         we abort drawing as it will be called again.
10512
10513 2002-05-02  Juergen Vigna  <jug@sad.it>
10514
10515         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10516         a change in the maintext also if we're inside an inset.
10517         (Dispatch): set the cursor again after a break line and after the
10518         screen has been updated as it could be we're in a different row.
10519
10520         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10521         to set the cursor behind the pargraph with > size().
10522         (setCursor): check also for the same paragraph when checking where
10523         to put the cursor if we have a NFR inset.
10524
10525         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10526         parts of layout read further up as it still was in the wrong
10527         position.
10528
10529 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * screen.C (drawFromTo): change sine fullRebreak always return
10532         true.
10533
10534         * buffer.C (parseSingleLyXformat2Token): reindent some
10535
10536         * BufferView_pimpl.C (update): change since fullRebreak always
10537         return true.
10538         (Dispatch): git rid of the last hardcoded "Standard"s.
10539
10540 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10541
10542         * text2.[Ch] (fullRebreak): make it return void now that we always
10543         returned true.
10544
10545 2002-04-30  Juergen Vigna  <jug@sad.it>
10546
10547         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10548         ert compatibility check for "latex" layout.
10549
10550 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10553         minipages: use col% instead of p%, and also use the current font.
10554         (makeLaTeXFile): Fix use babel condition.
10555         (parseSingleLyXformat2Token): Correct font when reading old floats.
10556
10557 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10558
10559         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10560         inserting list of floats.
10561
10562 2002-04-25  Herbert Voss  <voss@lyx.org>
10563
10564         * MenuBackend.C (expand): don't add the graphics extensions to the
10565         export menu
10566
10567 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10570         non-existing layout, do not complain if it was the default layout
10571         of the original class (bug #342)
10572
10573 2002-04-24  Juergen Vigna  <jug@sad.it>
10574
10575         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10576         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10577
10578 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * buffer.C (getBibkeyList): If using \bibliography, return the
10581         option field with the reference itself. Enables us to provide natbib
10582         support when using \bibliography.
10583
10584 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10585
10586         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10587
10588         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10589         natbib is provided by the LaTeX class.
10590
10591 2002-04-23  Juergen Vigna  <jug@sad.it>
10592
10593         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10594         Wakeup functions.
10595
10596         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10597
10598 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10601
10602         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10603         ensuremath around textordmasculine, textordfeminine and
10604         textdegree.
10605
10606 2002-04-19  Juergen Vigna  <jug@sad.it>
10607
10608         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10609         reinitializing the buffer otherwise row-dimensions may be wrong.
10610         (update): reset also the selection cursors if they do exits otherwise
10611         their x/y positions may be wrong.
10612
10613         * text2.C (cursorDown): don't enter the inset if we came from a row
10614         above and are one row over the inset.
10615
10616         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10617         really leaving an inset.
10618
10619 2002-04-18  Juergen Vigna  <jug@sad.it>
10620
10621         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10622         of the selected paragraph does not have the selected layout also if
10623         the last one had!
10624
10625         * text2.C (setLayout): fixed bug which did not change last selected
10626         paragraph.
10627
10628         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10629         changed the read and substituted \\end_float with \\end_inset!
10630
10631         * BufferView_pimpl.C (cursorPrevious):
10632         (cursorNext): fixed to make it work with rows heigher than the work
10633         area without moving the cursor only the draw of the row.
10634         (workAreaMotionNotify): fix jumping over high rows.
10635
10636 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10637
10638         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10639         Ressler.
10640
10641 2002-04-16  Juergen Vigna  <jug@sad.it>
10642
10643         * text2.C (setCursor): set also the irow().
10644         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10645         (cursorUp):
10646         (cursorDown): support for locking an inset if the x_fix value goes
10647         inside it. That way I can transverse insets too with cursor up/down.
10648
10649         * lyxrow.h: added irow helper function same as other (i) functions.
10650
10651         * BufferView_pimpl.C (cursorPrevious):
10652         (cursorNext): fixed for insets!
10653
10654 2002-04-15  Juergen Vigna  <jug@sad.it>
10655
10656         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10657         position otherwise it is wrong in some cases.
10658
10659         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10660         inside the inset before the call.
10661
10662 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10663
10664         * buffer.[Ch] (getBibkeyList): make it const.
10665
10666 2002-04-12  Juergen Vigna  <jug@sad.it>
10667
10668         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10669
10670         * text2.C (getCursorX): new helper function
10671         (setCursor): compute also ix_
10672         (setCursorFromCoordinates): set also ix.
10673
10674         * lyxcursor.h: added ix_ and helper functions.
10675
10676         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10677
10678         * buffer.C (insertStringAsLines): dont break paragraph if the this
10679         paragraph is inside an inset which does not permit it!
10680
10681         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10682         also with no chars on this paragraph.
10683         (paintRowText): only paint stuff if it's inside the workarea!
10684
10685         * paragraph.C (breakParagraph): honor keepempty flag and break the
10686         paragraph always below not above.
10687
10688         * BufferView2.C (unlockInset): update the paragraph layout on inset
10689         unlock as we changed paragraph in such a case.
10690
10691         * lyxfind.C (LyXFind): clear the former selection if not found!
10692
10693         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10694         again called in insertChar().
10695
10696         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10697         an inset which uses the whole row!
10698         (rightMargin): ditto.
10699         (insertChar): force a rebreak if we inserted an inset!
10700
10701 2002-03-28  Herbert Voss  <voss@lyx.org>
10702
10703         * lyxlength.[Ch]: add inBP() to get the right PS-point
10704         units (BigPoint). With inPixels we have rounding errors
10705
10706 2002-04-11  Juergen Vigna  <jug@sad.it>
10707
10708         * text2.C (setCursorFromCoordinates): set iy to the right value.
10709         (setCursor): add check if row->previous exists!
10710
10711         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10712         an old float_type as this was the case in the old code!
10713
10714         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10715
10716         * BufferView2.C (showLockedInsetCursor): use iy
10717         (fitLockedInsetCursor): ditto
10718
10719         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10720         locked insets as there we have the right value now.
10721
10722         * lyxcursor.C: added iy_ variable and iy functions to set to the
10723         baseline of cursor-y of the locked inset.
10724
10725         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10726         (setCursor): fixed for insets which need a full row.
10727
10728         * text.C (rowLastPrintable): don't ignore the last space when before
10729         an inset which needs a full row.
10730         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10731         as last character of a row when before a inset which needs a full row.
10732
10733 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * version.C.in: update date
10736
10737         * text2.C (fullRebreak): try to always return true and see what
10738         happens...
10739
10740 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10741
10742         * MenuBackend.C (expand): use Floating::listName
10743
10744         * FloatList.C (FloatList): add listName argument to the built-in
10745         floats
10746
10747         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10748         text associated with the float.
10749
10750 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10753
10754 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * ShareContainer.h: add a couple of missing typenames.
10757
10758 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10759
10760         * lyxrc.C (getDescription): use _() correctly rather than N_().
10761
10762 2002-03-28  Herbert Voss  <voss@lyx.org>
10763
10764         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10765         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10766
10767 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10770         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10771
10772 2002-03-29  Juergen Vigna  <jug@sad.it>
10773
10774         * lyxfunc.C (dispatch): add a missing fitCursor call.
10775
10776         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10777         it was scrolled by a cursor move, so return the bool status.
10778
10779         * BufferView.C (fitCursor): return the bool flag also to the outside
10780         world as this is needed.
10781
10782         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10783
10784         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10785         call the edit() as it is not needed (and wrong) IMO.
10786         (workAreaButtonPress): set the screen_first variable before evt.
10787         unlock the inset as this may change screen_first and then we have
10788         a wrong y position for the click!
10789
10790 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10791
10792         * MenuBackend.C (expand): another translation that I missed
10793
10794 2002-03-28  Juergen Vigna  <jug@sad.it>
10795
10796         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10797
10798         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10799
10800 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10803
10804         * MenuBackend.C (expand): fix export/view/update when there is no
10805         document open.
10806
10807 2002-03-27  Herbert Voss  <voss@lyx.org>
10808
10809         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10810         and text%
10811
10812 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * bufferview_funcs.C (currentState): only show paragraph number
10815         for is DEVEL_VERSION is set.
10816
10817         * lyxfunc.C (dispatch): put warning in INFO channel
10818
10819         * MenuBackend.C (expand): translate the name of floats
10820
10821         * FloatList.C (FloatList): mark the float names for translation
10822
10823         * converter.C (convert): use LibScriptSearch
10824
10825 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10826
10827         * MenuBackend.C (defaults): fix default menu (we might as well get
10828         rid of it...)
10829
10830 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10831
10832         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10833         directory.
10834
10835 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10836
10837         * lyxvc.C: reorder includes.
10838
10839 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10842           properly
10843
10844 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * CutAndPaste.C: change layouts earlier on paste
10847           to avoid crashing when calling getFont()
10848
10849 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10850
10851         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10852         irritating #error.
10853
10854 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10855
10856         * WorkArea.C: remove 'Pending' debug message.
10857
10858         * most files: ws cleanup
10859
10860         * buffer.[Ch]: ws changes
10861
10862         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10863
10864 2002-03-21  Juergen Vigna  <jug@sad.it>
10865
10866         * tabular.C (SetMultiColumn): collapse also the contents of the
10867         cells and set the last border right. Added a Buffer const * param.
10868
10869 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10870
10871         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10872         linking or not.
10873
10874 2002-03-19  Juergen Vigna  <jug@sad.it>
10875
10876         * text2.C (clearSelection): reset also xsel_cache.
10877
10878         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10879         where it needs to be called (John tells us to do so too :)
10880         (selectionLost): reset sel_cache.
10881
10882         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10883
10884 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10885
10886         * text2.C (setCursorIntern): put debuging code in INSETS channel
10887
10888 2002-03-19  André Pönitz <poenitz@gmx.net>
10889
10890         * lyxfunc.C: tiny whitespace change
10891
10892 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * ToolbarDefaults.C (init):
10895         * LyXAction.C (init):
10896         * commandtags.h:
10897         * BufferView_pimpl.C (Dispatch):
10898         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10899
10900 2002-03-19  Allan Rae  <rae@lyx.org>
10901
10902         * exporter.C (Export): removeAutoInsets before doing anything else.
10903         While I've just introduced a dependency on BufferView this really is
10904         the best place to clean the buffer otherwise you need to cleanup in
10905         a dozen places before calling export or cleanup in a dozen functions
10906         that export calls.
10907
10908         * converter.C (runLaTeX):
10909         (scanLog): Better handling of removeAutoInsets and screen updates.
10910
10911         * lyxfunc.C (dispatch): small whitespace changes
10912
10913 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * WorkArea.C (C_WorkAreaEvent): return a value.
10916         (event_cb): return 1 if we handled the event, 0 otherwise.
10917
10918         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10919
10920 2002-03-18  Juergen Vigna  <jug@sad.it>
10921
10922         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10923         (GetAdditionalWidth): ditto.
10924         (RightLine): ditto.
10925         (LeftLine): ditto.
10926
10927         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10928         inset if we're there actually (probably not used right now but this
10929         is the direction to go for unifying code).
10930         (paste): disable code to clear the selection.
10931
10932         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10933         inside an InsetText and move the check further up as it is in the
10934         wrong place.
10935
10936         * text2.C (pasteSelection): set a selection over the pasted text.
10937
10938 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10939
10940         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10941         and libgraphics to build on Cygwin.
10942
10943 2002-03-15  Juergen Vigna  <jug@sad.it>
10944
10945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10946         inserting an Inset into the paragraph. I know this is not the best
10947         fix but we already use current_view in CutAndPaste so we will remove
10948         all of it's using at the same time.
10949
10950         * buffer.C (sgmlError): deactivated function till it is rewritten in
10951         the right mode, now it can create problems.
10952
10953         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10954         before accessing it.
10955
10956 2002-03-14  Juergen Vigna  <jug@sad.it>
10957
10958         * undo_funcs.C (textHandleUndo): do the right thing when updating
10959         the inset after the undo/redo.
10960
10961         * text2.C (setCursor): just some testcode for #44 not ready yet.
10962
10963         * undo_funcs.C (textHandleUndo): set the next() and previous()
10964         pointers of the paragraph to 0 before deleting otherwise we have
10965         problems with the Paragraph::[destructor].
10966
10967         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10968         on a paragraph insertion.
10969
10970 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * buffer.C (asciiParagraph): use += operator for char append to
10973         string.
10974
10975         * paragraph.C (getFontSettings): compare >= not just >
10976         (highestFontInRange): ditto
10977         (setFont): ditto
10978
10979 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * paragraph.C: change several algorithm to be more appripriate for
10982         the problem domain. This is lookip in FontList and in the InsetList.
10983
10984 2002-03-13  André Pönitz <poenitz@gmx.net>
10985
10986         * commandtags.h:
10987         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10988
10989 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * commandtags.h:
10992         * LyXAction.C:
10993         * lyxfunc.C:
10994         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10995
10996 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * Painter.C (display): anon helper function, adjust code for this
10999         change.
11000         (pixmap): remove function.
11001
11002         * Painter.h: remove private display variable.
11003
11004         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11005
11006 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11007
11008         * WorkArea.[Ch]: remove figinset_canvas cruft.
11009
11010 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * lyxtextclass.C (operator): add one item cache optimization.
11013
11014         * bufferlist.h: doxy changes
11015
11016         * bufferlist.C: ws changes
11017
11018         * DepTable.[Ch] (ext_exist): place const in the right spot.
11019
11020         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11021         call resizeInsets.
11022         (workAreaExpose): call resizeInsets when the with BufferView changes.
11023         (Dispatch): adjust for protectedBlank removal
11024         (specialChar): call updateInset if the insert went ok.
11025
11026         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11027         specialChar instead.
11028
11029         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11030
11031         * BufferView.h: doxy change
11032
11033         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11034
11035         * lyxtextclass.C (operator[]): remove non-const version
11036         (defaultLayout): remove non-const version
11037
11038 2002-03-12  Juergen Vigna  <jug@sad.it>
11039
11040         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11041         did resize the LyXText too.
11042
11043         * buffer.C (readLyXformat2): set layout information on newly allocated
11044         paragraphs.
11045
11046         * tabular.C (OldFormatRead): set layout information on the paragraph.
11047
11048 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11049
11050         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11051
11052 2002-03-11  Juergen Vigna  <jug@sad.it>
11053
11054         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11055         plainly wrong.
11056         (resizeCurrentBuffer): force also the insets to resize themselfes.
11057         (moveCursorUpdate): fixed up for InsetText.
11058
11059 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11060
11061         * commandtags.h:
11062         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11063         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11064         value of Dialogs::tooltipsEnabled().
11065         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11066
11067 2002-03-08  Juergen Vigna  <jug@sad.it>
11068
11069         * BufferView_pimpl.C (updateInset): update inset inside inset also
11070         if it isn't inside theLockingInset().
11071
11072 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * buffer.C (asciiParagraph): redo some of the word and line length
11075         handling.
11076         (getLists): look for Caption instead of caption.
11077
11078 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * buffer.C (Buffer): initialize niceFile to true
11081         (makeLaTeXFile):
11082         (makeLinuxDocFile):
11083         (makeDocBookFile): make sure niceFile is true on exit
11084
11085 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11086
11087         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11088
11089 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * LyXSendto.C: remove.
11092         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11093         * lyx_gui.C: remove now-redundant comment.
11094         * ColorHandler.h: remove forward declaration of class WorkArea.
11095         * lyxfunc.C: remove #include "WorkArea.h".
11096
11097 2002-03-07  Juergen Vigna  <jug@sad.it>
11098
11099         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11100         got moved away with the DEPM and also set the inset_owner always
11101         right which before could have been omitted.
11102
11103 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11106         wanted layout is not found.
11107
11108 2002-03-07  Juergen Vigna  <jug@sad.it>
11109
11110         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11111
11112 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * paragraph.C (breakParagraph): use default layout not layout of
11115         prev paragraph.
11116         (Paragraph): clear ParagraphParameters.
11117
11118 2002-03-06  Juergen Vigna  <jug@sad.it>
11119
11120         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11121         otherwise it would not be a valid lenght. Fixed a special case in
11122         the minipage compatibility read where we end the document with a
11123         minipage.
11124
11125         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11126         was set as it could be 0 for InsetTexts first entry.
11127
11128 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11129
11130         * paragraph.C (writeFile): if layout is empty write out
11131         defaultLayoutName().
11132
11133         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11134         file without named layout we set layout to defaultLayoutName().
11135
11136 2002-03-06  Juergen Vigna  <jug@sad.it>
11137
11138         * CutAndPaste.C (copySelection): set layout for new paragraph.
11139
11140         * text.C (prepareToPrint): leave ERT inset left aligned
11141         (leftMargin): don't indent paragraphs inside ERT insets
11142
11143 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * paragraph.C (breakParagraph): dont call clear do the work manually
11146
11147         * paragraph.[Ch] (clear): remove function
11148
11149 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11150
11151         * paragraph.C (Paragraph): dont call clear, the work has already
11152         been done.
11153
11154         * lyxtextclass.C (operator): assert if n is empty
11155
11156         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11157         work manually instead.
11158
11159 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * BufferView_pimpl.C: protect selectionLost against text == 0
11162
11163 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * text.C (breakParagraph): fix a setting layout to '0' problem.
11166
11167 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11168
11169         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11170         final location of file, for the included files, and graphics.
11171
11172 2002-03-05  Juergen Vigna  <jug@sad.it>
11173
11174         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11175
11176 2002-03-04  Juergen Vigna  <jug@sad.it>
11177
11178         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11179
11180         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11181         last column of multicolumn cells.
11182         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11183
11184 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11185
11186         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11187         file if it doesn't go to a temporary file.
11188
11189         * buffer.C (sgmlOpenTag):
11190         (sgmlCloseTag):  remove extra newline insertion.
11191
11192 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * text.C (getRowNearY): comment out debug msg
11195
11196 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * text2.C: first -> first_y
11199
11200         * text.C (getRowNearY): add some attemts at a possible
11201         optimization, not working.
11202
11203         * tabular.[Ch]: add BufferParams to several function so that newly
11204         created paragraph can be initialized to he default layotu for the
11205         buffers textclass.
11206
11207         * tabular-old.C (ReadOld): add buf->params to call of Init
11208
11209         * screen.C: rename text->first to text->first_y
11210
11211         * paragraph.C (breakParagraph): always set layout in the broken
11212         paragraph
11213
11214         * lyxtextclass.C (Read): remove lowercase
11215         (hasLayout): ditto
11216         (operator): ditto
11217         (delete_layout): ditto
11218
11219         * lyxtext.h: rename first -> first_y
11220
11221         * lyxlayout.C (Read): remove lowercase
11222         (name): ditto
11223         (setName): ditto
11224         (obsoleted_by): ditto
11225
11226         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11227
11228         * buffer.C (insertErtContents): add params are to InsetERT
11229         (parseSingleLyXformat2Token): add code to check if a paragraphs
11230         layout really exist.
11231         (parseSingleLyXformat2Token): add params to several inset
11232         constructors
11233         (asciiParagraph): remove lowercase, do the layout comparisons with
11234         no_case
11235
11236         * BufferView_pimpl.C (cursorNext): first -> first_y
11237         (resizeCurrentBuffer): first -> first_y
11238         (updateScrollbar): first -> first_y
11239         (scrollCB): first -> first_y
11240         (workAreaMotionNotify): first -> first_y
11241         (workAreaButtonPress): first -> first_y
11242         (checkInsetHit): first -> first_y
11243         (cursorPrevious): first -> first_y
11244         (cursorNext): first -> first_y
11245         (Dispatch): add buffer_->params to severl inset contructors
11246
11247 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * lyxlayout.C (Read): remove some debug info that I forgot.
11250
11251         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11252         clean up the code slightly.
11253         (makeLinuxDocFile): ditto
11254         (makeDocBookFile): ditto
11255
11256         * text2.C: layout as string
11257
11258         * text.C: layout as string
11259
11260         * paragraph_pimpl.C: layout as string
11261
11262         * paragraph.[Ch]: layout as string
11263
11264         * lyxtextclasslist.[Ch]: layout as string
11265
11266         * lyxtextclass.[Ch]: layout as string
11267
11268         * lyxtext.h: layout as string
11269
11270         * lyxlayout.[Ch]: layout as string
11271
11272         * lyx_cb.C: layout as string
11273
11274         * bufferview_funcs.C: layout as string
11275
11276         * bufferparams.C: layout as string
11277
11278         * buffer.C: layout as string
11279
11280         * LyXView.[Ch]: layout as string
11281
11282         * LaTeXFeatures.[Ch]: layout as string
11283
11284         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11285
11286         * BufferView_pimpl.C: change current_layout to string, remove
11287         lyx::layout_type.
11288         (Dispatch):
11289         (smartQuote):
11290         (insertInset):
11291         (workAreaButtonRelease): layout as string
11292
11293         * BufferView2.C (unlockInset): adjust
11294
11295         * vspace.C (asLatexCommand): use an explict temp variable.
11296
11297 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * Makefile.am: use FRONTEND_*
11300
11301 2002-03-01  Juergen Vigna  <jug@sad.it>
11302
11303         * tabular.C (SetWidthOfMulticolCell): changed to something better
11304         I hope but still work in progress.
11305         (recalculateMulticolumnsOfColumn): renamed function from
11306         recalculateMulticolCells as it is more appropriate now.
11307         (SetWidthOfCell): calculate multicols better.
11308
11309 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11312
11313         * lyxfunc.C (processKeySym): print sequence also if it is
11314         `deleted' (complete)
11315
11316         * kbsequence.C (print): print sequence even if it is deleted
11317         (complete would be a better word, actually).
11318
11319         * lyxfunc.C (dispatch): print complete options after a prefix key
11320
11321         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11322
11323 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11324
11325         * text2.C (setCharFont): eliminate setCharFont code duplication.
11326
11327 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11330         LFUN_TABULAR_FEATURE (bug #177)
11331
11332 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11333
11334         * Makefile.am: remove figure.h
11335
11336 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * Bufferview_pimpl.C:
11339         * CutAndPasteC:
11340         * LaTeX.C:
11341         * LyXSendto.C:
11342         * buffer.C:
11343         * bufferlist.C:
11344         * converter.C:
11345         * language.C:
11346         * lyxfunc.C:
11347         * lyxvc.C:
11348         * paragraph.C:
11349         * text.C:
11350         * text2.C: remove #include "lyx_gui_misc.h".
11351
11352         * LaTeX.C: added #include <cstdio>
11353
11354 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11357         that the paragraph following this one can have.
11358
11359         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11360
11361         * vspace.C (asLatexCommand): fix bogus gcc warning
11362
11363         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11364
11365 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11366
11367         * text2.C (setLayout): get rid of redundant code
11368
11369 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11370
11371         * text2.C (incDepth): make sure depth cannot be increased beyond
11372         reasonable values.
11373
11374 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11375
11376         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11377         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11378
11379         * PainterBase.h (image):
11380         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11381         a LyXImage const *.
11382
11383 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView.C:
11386         * BufferView.h:
11387         * BufferView_pimpl.C:
11388         * BufferView_pimpl.h:
11389         * LaTeXFeatures.C:
11390         * LyXAction.C:
11391         * LyXView.C:
11392         * Makefile.am:
11393         * UpdateList.h:
11394         * UpdateList.C:
11395         * buffer.C:
11396         * figure.h:
11397         * figureForm.C:
11398         * figureForm.h:
11399         * figure_form.C:
11400         * figure_form.h:
11401         * lyx_cb.C:
11402         * lyx_gui.C:
11403         * lyx_gui_misc.C:
11404         * lyxfunc.C:
11405         * sp_base.h:
11406         * sp_ispell.h:
11407         * sp_pspell.h:
11408         * sp_spell.C: remove fig inset, and the crap house of
11409           cards that follows it
11410
11411 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * Makefile.am:
11414         * lyxserver.C:
11415         * os2_defines.h:
11416         * os2_errortable.h:
11417         * nt_defines.h: move .h into support/
11418
11419         * vms_defines.h: remove
11420
11421         * WorkArea.C: add space in debug output
11422
11423         * text2.C:
11424         * paragraph.C:
11425         * buffer.C: add WITH_WARNINGS
11426
11427         * vc-backend.h:
11428         * vc-backend.C:
11429         * bufferlist.C: s/retrive/retrieve/, add docs
11430
11431         * vspace.h:
11432         * vspace.C:
11433         * kbmap.h:
11434         * lyxlength.h:
11435         * lyxgluelength.h:
11436         * length_common.h:
11437         * chset.h:
11438         * chset.C: add docs
11439
11440         * lyxgui.C: add ID to X error handler
11441
11442         * lyxtestclass.c: fix typo
11443
11444 2002-02-26  Juergen Vigna  <jug@sad.it>
11445
11446         * tabular_funcs.C (write_attribute): changed so that some default
11447         attributes are not written at all.
11448         (getTokenValue): set default values before trying to read the
11449         value so we have the return value always set as default if we don't
11450         find the token we search for.
11451
11452         * tabular.C (Write): write bools as bools not as strings!
11453
11454 2002-02-22  Juergen Vigna  <jug@sad.it>
11455
11456         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11457         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11458
11459         * text.C (leftMargin): don't add an indent for paragraphs inside
11460         tabular cells (fix #208).
11461
11462 2002-02-21  José Matos  <jamatos@fep.up.pt>
11463
11464         * tabular.C (docBook): fixed support for long tables.
11465
11466 2002-02-20  Juergen Vigna  <jug@sad.it>
11467
11468         * text2.C (getFont): get the drawing font of the Inset if this
11469         paragraph is inside an inset (only important for InsetERT for now).
11470
11471         * buffer.C (insertErtContents): use new lanugage params in ERT
11472         constructor.
11473
11474         * CutAndPaste.C: commenting out seemingly uneeded code.
11475
11476 2002-02-19  Allan Rae  <rae@lyx.org>
11477
11478         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11479         Iterators might be simple to use but they also get invalidated.
11480         (removeAutoInsets): renamed saved cursor tracking variables and added
11481         some comments to clarify what everything does.
11482
11483 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * Chktex.C:
11486         * LaTeX.C:
11487         * LyXSendto.C:
11488         * converter.C:
11489         * lyx_cb.C:
11490         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11491         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11492
11493         * lyxfunc.C:
11494         * vc-backend.h: remove #include "support/syscall.h"
11495
11496         * LaTeX.C:
11497         * LyXSendto.C:
11498         * converter.C: rearrange #includes in Lars' approved fashion.
11499
11500         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11501         forward declare class Timeout in the header file.
11502
11503         * XFormsView.C: changes due to the above.
11504
11505         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11506         similar to LyXView.
11507
11508         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11509         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11510
11511 2002-02-18  José Matos  <jamatos@fep.up.pt>
11512
11513         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11514         insets contents.
11515
11516 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11517
11518         * a lot of small ws changes
11519         * add a lot of using std::XXX
11520         * use std construcs some places where approp.
11521         * use some exisint stuff from lyxfunctional where approp.
11522         * Make file changes to use partial linking (lets test this now...)
11523
11524 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * Chktex.C:
11527         * buffer.C:
11528         remove #include "support/syscontr.h" as it's redundant. Always has been.
11529
11530         * Chktex.C:
11531         * LaTeX.C:
11532         * LyXSendto.C:
11533         * converter.C:
11534         * lyx_cb.C:
11535         * vc-backend.C:
11536         change Systemcalls::System to Systemcalls::Wait and
11537         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11538         No change of functionality, just reflects the stripped down Systemcalls
11539         class.
11540
11541 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11542
11543         * debug.[Ch]: add a GRAPHICS type to the enum.
11544
11545 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11548
11549         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11550         there is an inset.
11551
11552 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11555         match the changes below.
11556
11557         * text2.C (toggleInset): if there is not editable inset at cursor
11558         position, try to see if cursor is _inside_ a collapsable inset
11559         and close it.
11560
11561 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11562
11563         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11564         document menu has a nice checkbox
11565
11566 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * lyxlength.C (asLatexString): change PW to output as percent of
11569         \textwidth.
11570
11571         * lengthcommon.C: change '%' to 't%'
11572
11573         * lyxfunc.C (dispatch): a few comments from Martin
11574
11575 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * WorkArea.h:
11578         * WorkArea.C:
11579         * BufferView_pimpl.h:
11580         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11581           the X selection.
11582
11583 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * vspace.C (inPixels): fix compiler warning
11586
11587 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * lyxfunc.C (getStatus): fix status message for disabled commands.
11590
11591 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * BufferView_pimpl.C: fix crash on close buffer
11594         during selection (#227)
11595
11596 2002-01-27  Herbert Voss  <voss@lyx.org>
11597
11598         * buffer.C: link old Figure to new graphic inset
11599
11600 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11601
11602         * FontLoader.C (getFontinfo): Change the latex font names in order
11603         to match the names of type1inst.
11604
11605 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11606
11607         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11608
11609         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11610         (extchanged): ditto
11611         (ext_exist): ditto
11612         (remove_files_with_extension): ditto
11613         (remove_file): ditto
11614         (write): ditto
11615
11616         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11617         document is smaller than the work area height. Do not initialize
11618         static variables to 0.
11619
11620 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11623
11624         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11625         LFUN_LAYOUT_PARAGRAPHS.
11626
11627         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11628         tabular. It is possible to provide a possible cell, which will
11629         typically be the actcell from the corresponding insettabular
11630
11631         * lyxfunc.C (getStatus): small cleanup; disable
11632         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11633         true
11634
11635 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11638
11639         * paragraph.C (startTeXParParams):
11640         (endTeXParParams): new methods. The LaTeX code to
11641         start/end paragraph formatting
11642         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11643         empty (fixes bug #200)
11644
11645         * vspace.C (inPixels): adapt to the change below
11646         (inPixels): [later] more cleanups (remove unused variables)
11647
11648         * lyxlength.C (inPixels): change to use a width and a height as
11649         parameter.
11650
11651 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11654         Replaced with \paperwidth
11655
11656         * DepTable.C (insert): add std:: qualifier
11657
11658 2002-01-18  Allan Rae  <rae@lyx.org>
11659
11660         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11661         updated also?
11662
11663         * text.C (drawInset): Turned out I didn't know enough about how
11664         rebreaking worked.  This fixes most of the redraw problems.  I see
11665         an occasional cursor trail when a line is broken now and the cursor
11666         placement can seem out by a few pixels also after a rebreak.
11667
11668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11669
11670         * buffer.C (parseSingleLyXformat2Token): update because minipage
11671         width is now a LyXLength
11672
11673         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11674
11675         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11676         math insets
11677
11678 2002-01-17  Juergen Vigna  <jug@sad.it>
11679
11680         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11681
11682         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11683         is set correctly and the inset is updated correctly.
11684
11685 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11686
11687         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11688         the beginning of the loop.
11689
11690 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * lyxrc.C: improve help for use_scalable_fonts
11693
11694 2002-01-17  Allan Rae  <rae@lyx.org>
11695
11696         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11697
11698 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11701         make sure to set their inset_owner to the right value (bug #171)
11702
11703 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11704
11705         * DepTable.h
11706         * DepTable.C: Implement mtime checking to reduce time spent doing
11707         CRCs.
11708
11709 2002-01-16  Juergen Vigna  <jug@sad.it>
11710
11711         * tabular.C (GetAdditionalHeight): one of error fixed.
11712
11713         * lyxrc.C (output): small fix in writing use_pspell.
11714
11715 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11716
11717         * sp_base.h: #include LString.h
11718
11719 2002-01-16  Allan Rae  <rae@lyx.org>
11720
11721         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11722         Can someone check this please?
11723
11724         * text.C (drawInset): It was possible that p.row would be removed by
11725         breakAgainOneRow upsetting a few other settings.  There may be another
11726         small tweak possible by setting need_break_row = 0 when p.row has been
11727         removed but I don't know enough about the logic here.
11728
11729 2002-01-15  Allan Rae  <rae@lyx.org>
11730
11731         * text.C (insertChar): removed conditional truism.
11732
11733         * BufferView2.C (removeAutoInsets): More tweaks.
11734         cur_par_prev could be a stray pointer.  Check for trailing empty line
11735         in case last line was cur_par and only had an error inset on it.
11736
11737 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11740         absolute
11741
11742         * vc-backend.C (most methods):
11743         * exporter.C (Export):
11744         * converter.C (convert):
11745         (runLaTeX):
11746         * LyXSendto.C (SendtoApplyCB):
11747         * lyxfunc.C (dispatch):
11748         (menuNew):
11749         (open):
11750         (doImport):
11751         * lyx_cb.C (AutoSave):
11752         (InsertAsciiFile):
11753         * BufferView_pimpl.C (MenuInsertLyXFile):
11754         * buffer.C (runChktex): use Buffer::filePath().
11755
11756         * buffer.h: rename filename to filename_; rename filepath to
11757         filepath_ and make it private
11758         (filePath): new method
11759
11760         * buffer.C (writeFile): use fileName()
11761         (getLatexName):
11762
11763         * lyx_main.C (init): fix starting  of LyX when the binary is a
11764         link from so,ewhere else.
11765
11766         * minibuffer.C: include <cctype> for isprint
11767
11768 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11771         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11772         name clash with InsetCollapsable's width function.
11773
11774 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * lastfiles.C: include <iterator>
11777
11778 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11779
11780         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11781         std::count.
11782
11783         * buffer.C (makeLaTeXFile): ditto.
11784         Also make loop operation more transparent.
11785
11786 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * ToolbarDefaults.C: remove trailing comma closing namespace.
11789
11790         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11791
11792         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11793         as in WorkArea.
11794
11795         * trans.C (Load): comment out unused variable, allowed.
11796
11797 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * minibuffer.[Ch] (append_char): new method to recieve input from the
11800         drop-down completion browser. If a key was pressed, then recieve this
11801         char and append it to the existing string.
11802         (peek_event): modify the positioning data passed to the completion
11803         browser so that it can be placed above the minibuffer rather than below.
11804 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11805
11806         * LyXAction.C (init): alloe error-next for readonly documents.
11807
11808         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11809         count.
11810
11811 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * bufferlist.C (readFile): create the buffer _after_ checking that
11814         the file exists.
11815
11816         * lyxfunc.C (verboseDispatch): fix handling of arguments
11817
11818         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11819
11820         * lyxrc.C: use string::erase() instead of initializing to "".
11821
11822
11823 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * BufferView_pimpl.h:
11826         * BufferView_pimpl.C:
11827         * WorkArea.h:
11828         * WorkArea.C:
11829         * text2.C: tell X when we have made a selection for copying
11830
11831 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11832
11833         * BufferView_pimpl.C (MenuInsertLyXFile):
11834         * lyxfunc.C (menuNew):
11835         (open):
11836         (doImport): add shortcuts to directory buttons
11837
11838         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11839         open a float)
11840
11841         * lyxfunc.C (setStatusMessage):
11842         (getStatusMessage): new methods
11843         (getStatus):use setStatusMessage instead of setErrorMessage
11844         (dispatch): when function is disabled, set error message here
11845         [instead of in getStatus previously]
11846
11847         * BufferView_pimpl.C (workAreaButtonRelease): update
11848         toolbar/menubar here too.
11849
11850 2002-01-13  Allan Rae  <rae@lyx.org>
11851
11852         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11853         Now seems indestructible.  Remaining task is to audit all other
11854         code affected by deleteEmptyParagraphMechanism.  One small quirk
11855         left is that an empty document with an error in the preamble can
11856         be made to report an error but no error box appears.  I don't know
11857         where it goes.
11858         (removeAutoInsets): Improved comments.
11859
11860 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * Thesaurus.h:
11863         * Thesaurus.C: update for Aiksaurus 0.14
11864
11865 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * text2.C (firstParagraph): removed member function, all uses
11868         replaces with ownerParagraph
11869         (redoParagraphs): here
11870         (updateInset): here
11871         (toggleAppendix): here
11872         * BufferView2.C (insertErrors): here
11873         (setCursorFromRow): here
11874
11875 2002-01-13  Allan Rae  <rae@lyx.org>
11876
11877         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11878         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11879         There is still a way to segfault this although you may have to do this
11880         multiple times: Have an InsetERT with an unknown command in it.
11881         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11882         <down-arrow>, <Enter> again, View->DVI, BANG!
11883
11884         * text2.C (setCursor):
11885         (deleteEmptyParagraphMechanism):
11886         * lyxtext.h (setCursor):
11887         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11888         Making use of the return value may help fix other bugs.
11889
11890 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11891
11892         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11893
11894         * LyXView.C (updateMenubar): call MenuBar::update here
11895         (updateToolbar): but not here
11896         (showState): do not update toolbar/menubar
11897
11898         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11899         should need to care about that.
11900
11901         * lyxfunc.C (verboseDispatch): simplify a bit
11902         (getStatus): have a version which takes a pseudoaction, and
11903         another which requires a (kb_action,string).
11904
11905         * LyXAction.C (retrieveActionArg): make it work also when action
11906         is not a pseudo-action.
11907         (getActionName): simplify a bit
11908         (helpText):
11909
11910 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * lyxfunc.C (verboseDispatch): new families of methods with
11913         several ways to specify a command and a bool to indicate whether
11914         the command name and shortcut should be displayed in minibuffer
11915         (eventually, we could extend that to a finer bitmask like
11916         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11917         (dispatch): the pristine dispatch command which just, well,
11918         dispatchs! Note it still sets its result to minibuffer; I'm not
11919         sure we want that.
11920
11921         * lyxfunc.h: remove setHintMessage
11922
11923         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11924
11925 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * BufferView_pimpl.C (specialChar): delete new inset if we have
11928         not been able to insert it.
11929
11930         * kbmap.C: revert to using int instead of kb_action, since all we
11931         are dealing with is pseudo-actions.
11932
11933         * LyXAction.C (searchActionArg): change to return int instead of
11934         kb_action, since the result is a pseudoaction.
11935
11936 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11937
11938         * buffer.C (insertErtContents): Fix (partially) the font bug.
11939
11940 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11943         as the other one is broken on my machine!
11944
11945 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11946
11947         * commandtags.h:
11948         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11949
11950 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11953         reflect their actual use. Provide compatibility code for older lyxrc
11954         files.
11955
11956         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11957         FL_NORMAL_STYLE.
11958         change names of popup font variables in line with the changes to lyxrc.C
11959
11960 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * buffer.C (asciiParagraph): avoid outputing a word twice after
11963         an inset.
11964
11965         * lyxrc.C (getDescription): document that document_path and
11966         template_path can be empty.
11967
11968 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11969
11970         * LaTeXFeatures.C (getMacros):
11971         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11972
11973         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11974
11975         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11976         getPackages.
11977         (getPackages): rename feature "floats" to "float". Use an array to
11978         iterate over 'simple' features (i.e. just a \usepackage). Add
11979         handling of "amsmath" (renamed from "amsstyle").
11980
11981 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11982
11983         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11984         features list.
11985
11986 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11987
11988         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11989         FuncStaus::FuncStatus & FuncStaus::some_method().
11990
11991 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11992
11993         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11994         of the func_satus stuff. Edited and massaged in various ways by
11995         JMarc.
11996
11997         * lyxfunc.C (getStatus): use FuncStatus
11998
11999 2002-01-08  Juergen Vigna  <jug@sad.it>
12000
12001         * text.C (nextBreakPoint): use function Inset::isChar().
12002
12003         * paragraph.C (TeXOnePar): use function
12004         Inset::forceDefaultParagraphs.
12005
12006         * buffer.C (latexParagraphs): use function
12007         Inset::forceDefaultParagraphs.
12008
12009 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * lyx_gui.C (init): set the style of the menu popups to
12012         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12013
12014 2002-01-07  Juergen Vigna  <jug@sad.it>
12015
12016         * text.C (setHeightOfRow): small fix
12017         (prepareToPrint): don't look at alignment if we don't have the place
12018         for doing it.
12019
12020 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12021
12022         * box.C: New file. Move the Box methods and functions out of box.h,
12023         following Lars' suggestion.
12024
12025 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * box.h: #include "support/LOstream.h", needed for inlined function.
12028
12029         * lyxtextclass.C:
12030         * lyxtextclasslist.C: added some using std declarations.
12031
12032 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * box.h: make signed dimensions to allow insets wider than
12035           the screen (bug #162)
12036
12037         * BufferView_pimpl.C: add some insetHit debug
12038
12039 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * vc-backend.C: add FIXME
12042
12043 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12044
12045         * lyxfunc.C (getStatus): enable code for showing math font status
12046         in toolbar/menu.
12047
12048 2002-01-07  Juergen Vigna  <jug@sad.it>
12049
12050         * text.C (nextBreakPoint): removed debug output not needed anymore.
12051
12052 2002-01-06  Juergen Vigna  <jug@sad.it>
12053
12054         * text.C (nextBreakPoint): fixed up this function we had this bug
12055         since ever but now hopefully we break row better.
12056         (insertChar): we have to check if an inset is the next char as it
12057         could now happen that a large inset is causing a break.
12058
12059 2002-01-05  Juergen Vigna  <jug@sad.it>
12060
12061         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12062         if it doesn't like to be drawed.
12063
12064 2002-01-04  Juergen Vigna  <jug@sad.it>
12065
12066         * BufferView2.C (lockInset): forgot to set a cursor.
12067
12068         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12069
12070 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12071
12072         * FormMathsPanel.C:
12073         * FormMathsPanel.h
12074         * MathsSymbols.C:
12075         * form_maths_panel.C:
12076         * form_maths_panel.h:
12077         * form_maths_panel.fd: implemented sub- and super- buttons in math
12078         panel.
12079
12080         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12081         (or ^ space) to be used as in TeX (req'd by André).
12082
12083         * lyxfunc.C: Allow ^ and _ again to be used both as
12084         super/subscript (mathed) and as themselves (in text).
12085
12086 2002-01-03  Allan Rae  <rae@lyx.org>
12087
12088         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12089         "LyX" or the filename of the current buffer if it has one.  This is a
12090         modified form of John Levon's patch.
12091
12092         * XFormsView.C (setWindowTitle): also set icon title.
12093
12094         * LyXView.h (setWindowTitle): signature changed.
12095         * XFormsView.h (setWindowTitle): ditto.
12096
12097 2002-01-02  Juergen Vigna  <jug@sad.it>
12098
12099         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12100
12101 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * screen.C (topCursorVisible): introduce a temp var for
12104         text->cursor.row(), handle the case where this row is null. (kindo
12105         hachish)
12106
12107         * text2.C (setCursor): add a couple of asserts.
12108
12109         * paragraph.h (inset_iterator): add -> operator
12110
12111         * paragraph.[Ch] (autoDeleteInsets): remove member function
12112
12113         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12114         cursor pos correctly and handle inset deletion by itself.
12115         (insertErrors): move iterator declaration out of for expression
12116
12117         * lyxtextclass.C: add <algorithm>
12118
12119         * Makefile.am: added the new files to sources, removed layout.C
12120
12121         * layout.C: removed file
12122
12123         * layout.h: remove LYX_DUMMY_LAYOUT
12124
12125         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12126         layout.
12127
12128         * lyxlayout.[Ch]:
12129         * lyxtextclass.[Ch]:
12130         * lyxtextclasslist.[Ch]: new files
12131
12132         * include order changes to a lot of files, also changes because of
12133         the six new files.
12134
12135 2001-12-27  Juergen Vigna  <jug@sad.it>
12136
12137         * buffer.C (asciiParagraph): more fixes.
12138
12139         * tabular.C (ascii): make ascii export support export of only the
12140         data separated by a column-delimiter.
12141         (ascii): better support for ascii export.
12142
12143         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12144
12145 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * tabular_funcs.C: use a "using std::getline" instead of the
12148         previous fix from Angus (necessary for cxx + lyxstring)
12149
12150 2001-12-24  Juergen Vigna  <jug@sad.it>
12151
12152         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12153
12154         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12155         problems. First check a minipage also if we have some ert-contents
12156         (not only on par->size(), second set the right depth of the paragraph
12157         on the relink to the root-paragraph-list!
12158
12159         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12160         which then did not anymore update the main paragraphs on undo/redo!
12161
12162 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12163
12164         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12165         code. Support all font-changing funcs (even those which are not in
12166         menu currently). Support for reporting font settings in
12167         mathed (disabled until Andre provides a function on mathed's side).
12168
12169         * func_status.h (toggle): small helper function to set toggle
12170         state on a flag.
12171
12172 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * tabular_funcs.C: getline -> std::getline
12175
12176 2001-12-21  Juergen Vigna  <jug@sad.it>
12177
12178         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12179         accessed and could be 0 (I couldn't generate this but it seems
12180         Michael could!).
12181
12182 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12185         * tabular_funcs.h: here and include iosfwd
12186
12187 2001-12-20  Juergen Vigna  <jug@sad.it>
12188
12189         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12190         inside inset but undo_par was.
12191
12192 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * Thesaurus.C: always include <config.h> in sources.
12195
12196         * Painter.h:
12197         * lyxlookup.h:
12198         * box.h: do not include <config.h> in header files
12199
12200         * text.C (paintLastRow): remove unused variable
12201
12202         * text.C (transformChar):
12203         (insertChar):
12204         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12205
12206         * Painter.C (text):
12207         * font.C (width): rewrite to use uppercase() instead of
12208         islower/toupper.
12209
12210         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12211
12212 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * lyxfind.C: clean up of find failure position change
12215
12216 2001-12-20  Juergen Vigna  <jug@sad.it>
12217
12218         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12219
12220         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12221         (TeXRow): added to LaTeX a single tabular row.
12222         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12223         (Latex): simplified and finally good LT-h/f support.
12224         (various_functions): just small adaptions for LT-h/f support.
12225
12226         * tabular_funcs.[hC]: added and moved here all not classfunctions
12227         of LyXTabular.
12228
12229 2001-12-19  Juergen Vigna  <jug@sad.it>
12230
12231         * tabular.[Ch]: better support for longtabular options (not finished
12232         yet!)
12233
12234 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * text.C (paintLastRow): use the label font instead of the font of
12237         the last character to compute the size of *_BOX. This makes more
12238         sense and avoids a crash with empty paragraphs.
12239         Use Painter::rectangle to draw EMPTY_BOX.
12240
12241 2001-12-19  Juergen Vigna  <jug@sad.it>
12242
12243         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12244         the paragraphs if the replaced paragraph is not the first one!
12245         Tried to delete not used paragraphs but does not work yet so for
12246         now it's inside #ifdef's and by default off!
12247
12248 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * MenuBackend.C: include "lyx_main.h" instead of declaring
12251         lastfiles (actually was declared as LastFiles* instead of a
12252         scoped_ptr).
12253
12254 2001-12-17  Juergen Vigna  <jug@sad.it>
12255
12256         * tabular.C (AppendColumn): applied John's fix
12257
12258 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * BufferView.h:
12261         * BufferView.C:
12262         * BufferView_pimpl.h:
12263         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12264
12265         * Makefile.am:
12266         * box.h: new start of class for above
12267
12268         * lyxfunc.C: ignore space-only minibuffer dispatches.
12269           Show the command name when it doesn't exist
12270
12271         * minibuffer.C: don't add empty lines to the history
12272
12273         * minibuffer.C: add a space on dropdown completion
12274
12275 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * text.C: fix line above/below drawing in insets
12278
12279 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * lyxlength.C (LyXLength): Initialize private variables.
12282
12283 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12284
12285         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12286         when inserting error insets.
12287
12288 2001-12-13  Juergen Vigna  <jug@sad.it>
12289
12290         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12291         actually sometimes the before-paragraph.
12292         (setUndo): don't clear the redostack if we're not actually undoing!
12293
12294 2001-12-06  Juergen Vigna  <jug@sad.it>
12295
12296         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12297         and fixed redoing of main paragraph, so we can use it now ;)
12298
12299         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12300
12301 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12304         Juergen's request
12305
12306 2001-12-13  André Pönitz <poenitz@gmx.net>
12307
12308         * undostack.[Ch]:
12309         * undo_func.C: minor cleanup
12310
12311 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12314         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12315         font in urw-fonts package which is marked as -urw-fontspecific and
12316         does not work (incidentally, changing the encoding in the
12317         fonts.dir of this package to -adobe-fontspecific fixes the
12318         problem).
12319
12320         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12321         is a crash when undoing first paragraph (Juergen, please take a
12322         look). THis does not mean the undo fix is wrong, just that it
12323         uncovers problems.
12324
12325         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12326         the (Paragraph*) version when needed instead of duplicating the
12327         code.
12328
12329         * text.C (workWidth): use Inset::parOwner to find out where the
12330         inset has been inserted. This is a huge performance gain for large
12331         documents with lots of insets. If Inset::parOwner is not set, fall
12332         back on the brute force method
12333
12334         * paragraph_pimpl.C (insertInset):
12335         * paragraph.C (Paragraph):
12336         (cutIntoMinibuffer): set parOwner of insets when
12337         inserting/removing them
12338
12339         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12340
12341 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12342
12343         * commandtags.h:
12344         * LyXAction.C:
12345         * lyx_main.C:
12346         * lyxfunc.C:
12347         * mathed/formulabase.C:
12348         * mathed/math_cursor.[Ch]:
12349         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12350
12351
12352 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * lyxlength.[Ch] (operator!=): new function
12355
12356 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * text.C (workWidth): use Inset::parOwner to find out where the
12359         inset has been inserted. This is a huge performance gain for large
12360         documents with lots of insets. If Inset::parOwner is not set, fall
12361         back on the brute force method
12362
12363         * paragraph_pimpl.C (insertInset):
12364         * paragraph.C (Paragraph):
12365         (cutIntoMinibuffer): set parOwner of insets when
12366         inserting/removing them
12367
12368         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12369
12370 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * tabular-old.C (getTokenValue):
12373         * tabular.C (getTokenValue):
12374         (write_attribute): new versions for LyXLength
12375         (everywhere): adjust the use of widths
12376
12377         * tabular.h: change the type of widths from string to LyXLength
12378
12379 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12380
12381         * paragraph.C: fixed missing line number count when exporting
12382         Environments to LaTeX file
12383
12384         * buffer.C: added informational message for checking line numbers.
12385
12386 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12387
12388         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12389         paragraph, do the 'double space' part, but not the 'empty
12390         paragraph' one.
12391
12392         * text.C (workWidth): small optimization
12393         (getLengthMarkerHeight): use minimal size for negative lengths.
12394
12395 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12396
12397         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12398
12399         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12400
12401 2001-12-11  André Pönitz <poenitz@gmx.net>
12402
12403         * FontLoader.C:
12404         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12405
12406 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * text2.C: keep selection on a setFont()
12409
12410 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * lyx_cb.C: another bv->text misuse, from insert label
12413
12414 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12415
12416         * kbsequence.h:
12417         * kbsequence.C: re-instate nmodifier mask
12418
12419 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12420
12421         * lyx_main.h: make lyxGUI private.
12422
12423 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * lyxfind.C: place the cursor correctly on failed search
12426
12427 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12428
12429         * text.C (getLengthMarkerHeight): for small heights, the arrows
12430         are not always on top/bottom of the text
12431         (drawLengthMarker): smaller arrows; take the left margin in
12432         account; draw also vfills.
12433         (paintFirstRow):
12434         (paintLastRow): remove special code for vfill and standard spaces,
12435         since everything is handled in drawLengthMarker now.
12436
12437 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * buffer.C (insertErtContents): try to handle font and language
12440         interaction a bit better.g
12441
12442         * ColorHandler.C (updateColor): change the hash to cover the whole
12443         LColor enum, ws cleanup
12444         (getGCLinepars): ditto
12445         (getGCLinepars): only lookup in the linecache once.
12446
12447 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12448
12449         * iterators.C (operator++): Make the iterator more robust
12450
12451         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12452         (John's patch)
12453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12454
12455 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * lyxtext.h:
12458         * text.C: better added space drawing
12459
12460 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * LyXView.C:
12463         * BufferView2.C: fix layout combo update on inset unlock
12464
12465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * Makefile.am: don't compile unused files
12468
12469 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * lyxfunc.C:
12472         * commandtags.h:
12473         * LyXAction.C: remove old LFUN_LAYOUTNO
12474
12475 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * paragraph_pimpl.h:
12478         * paragraph_pimpl.C: isTextAt() doesn't need font param
12479
12480 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12481
12482         * lyxlex.h:
12483         * lyxlex.C: little cleanup
12484
12485 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * BufferView_pimpl.C: fix insertAscii for insets
12488
12489 2001-12-05  Juergen Vigna  <jug@sad.it>
12490
12491         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12492         set the right font on the "multi" paragraph paste!
12493
12494 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * trans_decl.h:
12497         * trans_mgr.[Ch]:
12498         * trans.[Ch]:
12499         * lyxgluelength.C:
12500         * lyxlength.C: remove out-commented code.
12501
12502         * BufferView_pimpl:
12503         * CutAndPaste.C:
12504         * DepTable.C:
12505         * buffer.C:
12506         * chset.C:
12507         * lastfiles.C:
12508         * lyxlex.C:
12509         * lyxlex_pimpl.C:
12510         * lyxserver.C:
12511         * screen.C:
12512         * tabular-old.C:
12513         * tabular.C:
12514         * text.C:
12515         * trans_mgr.C:
12516         * vc-backend.C: change "while(" to "while ("
12517
12518         * lyxlength.[Ch]: add zero function to check if length is zero or
12519         not
12520         * lyxgluelength.C: use it
12521
12522 2001-12-05  Allan Rae  <rae@lyx.org>
12523
12524         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12525         Works for 2.95.3, from what I understand of Garst's reports this should
12526         work for other g++ versions.  We're screwed if the abs(int) definition
12527         changed between bugfix releases of gcc.
12528
12529 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12530
12531         * text.C: fix chapter label offset !
12532
12533 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * lyxtext.h:
12536         * text.C: fix hfill at end of line, clean up
12537
12538 2001-12-04  Juergen Vigna  <jug@sad.it>
12539
12540         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12541         that we force an update of the inset and it's owners if neccessary.
12542
12543 2001-12-03  Juergen Vigna  <jug@sad.it>
12544
12545         * text.C (rowLast): simplified code
12546
12547 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * lyxfunc.C: fix show options on timeout
12550
12551 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12552
12553         * screen.C (topCursorVisible): scroll half a page when the cursor
12554         reached top of bottom of screen
12555
12556 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * minibuffer.C: deactivate on loss of focus
12559
12560 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * vspace.[Ch] (operator!=): add operator.
12563
12564 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * BufferView_pimpl.C: refuse to open an inset when
12567         there's a selection.
12568
12569 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * BufferView_pimpl.C: allow to click on RHS of full row insets
12572
12573 2001-11-30  Juergen Vigna  <jug@sad.it>
12574
12575         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12576         insets for undo reasons.
12577
12578 2001-11-28  André Pönitz <poenitz@gmx.net>
12579
12580         * vspace.[Ch]: cosmetical changes
12581
12582 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * LyXAction.h:
12585         * LyXAction.C:
12586         * lyxfunc.h:
12587         * lyxfunc.C:
12588         * kbmap.h:
12589         * kbmap.C:
12590         * lyxrc.C:
12591         * kbsequence.h:
12592         * kbsequence.C: part re-write of old kb code
12593
12594         * Painter.C:
12595         * WorkArea.C: remove Lgb_bug_find_hack
12596
12597 2001-11-30  José Matos <jamatos@fep.up.pt>
12598
12599         * buffer.C (makeDocBookFile): add a comment to point a hack.
12600         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12601         Fixed a double write of labels.
12602
12603 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12604
12605         * LaTeX.C:
12606         * LaTeX.h Fixed bug in LaTeX class where it would not
12607         re-run latex if no depfiles were changed, but the .dvi was removed.
12608
12609 2001-11-28  André Pönitz <poenitz@gmx.net>
12610
12611         * all the files from the change on 2001/11/26:
12612         use lyx::layout_type instead of LyXTextClass::size_type
12613         use lyx::textclass_type instead of LyXTextClassList::size_type
12614
12615 2001-11-29  Juergen Vigna  <jug@sad.it>
12616
12617         * text.C: added support for paragraph::isFreeSpacing()
12618
12619         * buffer.C: same as above
12620
12621         * paragraph.h: inserted isFreeSpacing() function to enable
12622         FreeSpacing inside InsetERT.
12623
12624         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12625         of the paragraph's in the cut/copy buffer to 0!
12626
12627         * text2.C (removeRow): remove the assert as it can!
12628
12629         * lyxtext.h: added helper function firstRow returning firstrow and
12630         made firstrow private again.
12631
12632         * BufferView2.C (lockInset): don't relock if we're already locked!
12633
12634         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12635         the only paragraph.
12636         (removeRow): added Assert::(firstrow)
12637
12638         * debug.C: forgot to add INSETTEXT here.
12639
12640 2001-11-28  Juergen Vigna  <jug@sad.it>
12641
12642         * sp_spell.C (initialize): changed error text to more general
12643         spellchecker command use (not only ispell!)
12644
12645         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12646
12647         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12648
12649 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * vspace.C: initialise lyxgluelength on failure
12652
12653 2001-11-28  Allan Rae  <rae@lyx.org>
12654
12655         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12656         declaration & definition that looks like a function declaration.
12657
12658 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * BufferView2.C (copy):
12661         (copyEnvironment): do not clear the selection when doing a copy.
12662
12663         * text.C (paintFirstRow): compilation fix
12664
12665 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12666
12667         * tabular.C (Latex): correct line count when writing latex.
12668
12669 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * paragraph_pimpl.h:
12672         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12673           bug a bit
12674
12675 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * text.C:
12678         * LColor.h:
12679         * LColor.C: change vfillline->added_space
12680
12681         * text.C: add markers and text for added space
12682
12683         * vspace.C: fix comment
12684
12685 2001-11-28  André Pönitz <poenitz@gmx.net>
12686
12687         * paragraph.C: whitespace changes
12688         * all the other files from the change on 2001/11/26:
12689         change *::pos_type into lyx::pos_type
12690
12691 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12694         language of the document when inserting error insets.
12695
12696 2001-11-26  André Pönitz <poenitz@gmx.net>
12697
12698         * BufferView_pimpl.[Ch]:
12699         *       CutAndPaste.C:
12700         * buffer.[Ch]:
12701         * lyxcursor.[Ch]:
12702         * lyxfind.C:
12703         * lyxfunc.C:
12704         * lyxrow.[Ch]:
12705         * paragraph.[Ch]:
12706         * paragraph_pimpl.[Ch]:
12707         * sp_spell.C:
12708         * text.C:
12709         * text2.C: reduce header dependencies, introduce type for positions
12710
12711 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12712
12713         * <various>: change to use Alert.h
12714
12715 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12716
12717         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12718         when encountering an unknown token.
12719         (readLyXformat2): Show an error message if there were unknown tokens.
12720
12721 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * BufferView2.C:
12724         * BufferView_pimpl.C:
12725         * buffer.C:
12726         * paragraph.h:
12727         * text.C:
12728         * text2.C: use par->isInset()
12729
12730 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * paragraph_pimpl.h:
12733         * paragraph_pimpl.C: cleanup
12734
12735 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736
12737         * text2.C (removeRow):
12738         * text.C (setHeightOfRow): remove useless (and costly) call to
12739         getRow.
12740
12741 2001-11-20  Allan Rae  <rae@lyx.org>
12742
12743         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12744         Now need Inset*::checkInsertChar() to return true for appropriate
12745         cases so that the characters in the minibuffer will actually be
12746         inserted.
12747
12748 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * text.C: change the order of the includes.
12751         (workWidth): initialize it at once.
12752         (workWidth): make maxw unsigned
12753         (setHeightOfRow): remove unused variable (inset)
12754         (selectSelectedWord): remove unused variable (inset)
12755         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12756
12757 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12760         server is not running.
12761         (openConnection):
12762         (closeConnection): add debug info when server is disabled.
12763
12764         * ColorHandler.C (getGCForeground): send debug message to GUI
12765         channel.
12766
12767         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12768
12769         * kbmap.C (bind): modify because return conventions of
12770         kb_sequence::parse have changed.
12771
12772         * kbsequence.C (parse): only ignore spaces and not any stupid
12773         control character. This avoids tests like s[i] <= ' ', which are
12774         guaranteed to fail with 8bit characters and signed chars.
12775         Change return code to string::npos when there have been no error
12776         (0 was a bad idea when error is at first character)
12777
12778 2001-11-14  José Matos  <jamatos@fep.up.pt>
12779
12780         * buffer.h:
12781         * buffer.C (simpleDocBookOnePar): removed unused argument.
12782
12783 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12786         insets which are part of a word. Paragraph::isLetter takes care of
12787         that now. Use Paragraph::isInset to identify insets.
12788         (selectSelectedWord): do not test for hyphenation break.
12789
12790         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12791         that protected spaces are considered as spaces.
12792
12793         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12794         Inset::isLetter.
12795
12796 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12797
12798         * lyxserver.h:
12799         * lyxserver.C: fix it. and small cleanup.
12800
12801 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * BufferView_pimpl.C: use inline helpers
12804
12805         * LaTeXFeatures.h:
12806         * LaTeXFeatures.C: fix typos
12807
12808         * Spacing.h:
12809         * Spacing.C: move spacing_string into class
12810
12811         * ToolbarDefaults.C: move stuff into namespace anon
12812
12813         * layout.h: update enum
12814
12815         * lyxfunc.C: use better debug
12816
12817         * minibuffer.h: fix typo
12818
12819         * debug.h:
12820         * debug.C:
12821         * WorkArea.C: add and use Debug::WORKAREA
12822
12823         * lyxtext.h:
12824         * text.C:
12825         * text2.C: code re-organisation, inline helpers
12826
12827 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12828
12829         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12830         std::vector.empty().
12831
12832 2001-11-09  Allan Rae  <rae@lyx.org>
12833
12834         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12835         '\n's after tables.  Tabular and ERT inset work now makes this no
12836         longer necessary.
12837
12838 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * minibuffer.h:
12841         * minibuffer.C: fix crash, improve drop-down completion
12842
12843 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * lyxserver.h:
12846         * lyxserver.C: invalidate fd's when doing endPipe()
12847
12848 2001-11-08  José Matos  <jamatos@fep.up.pt>
12849
12850         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12851         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12852
12853         * paragraph.h:
12854         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12855
12856 2001-11-07  José Matos  <jamatos@fep.up.pt>
12857
12858         * buffer.h:
12859         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12860         const qualifier.
12861
12862         * buffer.C (sgmlOpenTag):
12863         * buffer.C (sgmlCloseTag): removed debug info.
12864
12865         * buffer.h (sgmlOpenTag):
12866         * buffer.h (sgmlCloseTag): made public.
12867
12868 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * buffer.C (saveParamsAsDefaults):
12871         * lyx_cb.C (MenuLayoutSave): remove
12872
12873         * LyXAction.C (init):
12874         * commandtags.h:
12875         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12876
12877 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12878
12879         * buffer.C (setPaperStuff): removed from here...
12880
12881         * bufferparams.C (setPaperStuff): ... and moved there.
12882
12883 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * minibuffer.h:
12886         * minibuffer.C:
12887         * XFormsView.C: add support for drop-down completion
12888
12889 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12890
12891         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12892         commands.
12893
12894 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12897         disabled.
12898
12899 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * lyx_main.C: change ref to known bugs
12902
12903 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12904
12905         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12906         to work around older babel problems.
12907
12908 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12909
12910         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12911
12912 2001-10-24  Juergen Vigna  <jug@sad.it>
12913
12914         * tabular-old.C (ReadOld): below variable changes reflected.
12915
12916         * tabular.[Ch]: added ltType struct for longtable header/footer
12917         defines and changed all instances where they are used. Added
12918         future support for double top/bottom rows.
12919
12920 2001-10-24  José Matos  <jamatos@fep.up.pt>
12921
12922         * buffer.h (docbookHandleCaption):
12923         * buffer.C (docbookHandleCaption): removed unused function.
12924         (makeDocBookFile): moved docbook supported version to v4.1.
12925
12926 2001-10-24  José Matos  <jamatos@fep.up.pt>
12927
12928         * tabular.h:
12929         * tabular.C (docbookRow): new function to export docbook code of a row.
12930         (DocBook): now honors the longtable flags.
12931
12932 2001-10-23  José Matos  <jamatos@fep.up.pt>
12933
12934         * LaTeXFeatures.h:
12935         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12936         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12937
12938         * buffer.C (makeLinuxDocFile):
12939         (makeDocBookFile): reworked the preamble, more clean, and with
12940         support for lyx defined entities. Changed the document declaration
12941         to be more XML friendly.
12942
12943         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12944         if we need to output XML that should be done with a filter.
12945
12946 2001-10-22  Juergen Vigna  <jug@sad.it>
12947
12948         * sp_pspell.h (class PSpell): add alive function needed in the
12949         controller to see if the spellchecker could be started.
12950
12951 2001-10-22  Juergen Vigna  <jug@sad.it>
12952
12953         * buffer.C (insertStringAsLines): modify the font for inserting
12954         chars in certain conditions by calling checkInsertChar(font).
12955
12956 2001-10-19  Juergen Vigna  <jug@sad.it>
12957
12958         * text.C (workWidth): use getRow instead of wrong algorithm.
12959         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12960
12961 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * lyxserver.h:
12964         * lyxserver.C:
12965         * lyx_main.h:
12966         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12967
12968 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * text.C (workWidth): do not search for the exact row when
12971         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12972         optimization for big documents.
12973
12974 2001-10-18  Juergen Vigna  <jug@sad.it>
12975
12976         * text.C (workWidth): new function with added Inset * parameter.
12977
12978 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12981
12982         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12983         change return type of getColumnNearX.
12984
12985
12986         * text.C (changeRegionCase): use uppercase/lowercase instead of
12987         toupper/tolower.
12988         (leftMargin):
12989         (rightMargin): simplify code by factoring out the uses of
12990         textclasslist.
12991         (labelFill):
12992         (numberOfHfills):
12993         (setHeightOfRow):
12994         (appendParagraph): use Paragraph::size_type
12995
12996 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * vspace.C (asLatexString): add a missing break
12999
13000 2001-10-15  Herbert Voss  <voss@perce.de>
13001
13002         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13003
13004 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13005
13006         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13007         is not available.
13008
13009 2001-10-10  André Pönitz <poenitz@gmx.net>
13010
13011         * lyxfunc.C: removed greek_kb_flag.
13012
13013 2001-10-10  Herbert Voss  <voss@perce.de>
13014
13015         * lyx_main.C: delete global string help_lyxdir.
13016
13017 2001-10-09  Herbert Voss  <voss@perce.de>
13018
13019         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13020
13021         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13022
13023         * lyx_main.C: added global string help_lyxdir.
13024
13025         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13026
13027 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13028
13029         * lyxrc.C (set_font_norm_type): support iso8859-4
13030
13031 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13032
13033         * LaTeX.C (deplog): add another regex for MikTeX
13034
13035 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13036
13037         * lyxrc.C (set_font_norm_type): support iso8859-3
13038
13039 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040
13041         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13042
13043         * LaTeXFeatures.C: remove special case of french and index
13044
13045         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13046         before \begin{document}). This solves several incompatibilities.
13047
13048 2001-10-03  Garst Reese  <reese@isn.net>
13049
13050         * lyx_cb.C: change CheckTex error msg.
13051
13052 2001-10-03  José Matos  <jamatos@fep.up.pt>
13053
13054         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13055
13056 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * .cvsignore: update
13059
13060         * lyx_main.C (commandLineVersionInfo): use new style version info.
13061
13062         * buffer.C (writeFile):
13063         (makeLaTeXFile):
13064         (makeLinuxDocFile):
13065         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13066
13067         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13068
13069         * version.h: update to use stuff in version.C
13070
13071         * version.C.in: new file. Contains version information determined
13072         at compile time. This is a merging of version.h and
13073         version_info.h.in.
13074
13075 2001-10-03  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (update): don't change "dirty" status in
13078         updateInset call.
13079
13080 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * WorkArea.C (c-tor): re-position version string slightly.
13083
13084 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13085
13086         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13087         revert to previous code.
13088
13089         WorkArea.[Ch]: (show, destroySplash): methods removed.
13090
13091         WorkArea.C: rework code so that it's an amalgam of the codes before and
13092         after the splash screen was moved to WorkArea.
13093
13094 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13095
13096         * lyxrc.C (read):
13097         * vspace.C (inPixels):
13098         (lyx_advance):
13099         * kbmap.C (bind):
13100         * buffer.C (insertStringAsLines):
13101         (asciiParagraph): fix types to be large enough
13102
13103         * lyxlex_pimpl.h: change member status from short to int
13104
13105         * layout.h: fix type of endlabeltype
13106
13107         * kbmap.C (bind):
13108         * kbsequence.C (parse): change return type to string::size_type
13109
13110         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13111         variable
13112
13113         * Bullet.C (bulletSize):
13114         (bulletEntry): do not use short ints as parameters
13115
13116         * BufferView2.C (insertLyXFile): change a char to an int.
13117
13118         * WorkArea.C (WorkArea): remove unneeded floats in computation
13119
13120 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13121
13122         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13123
13124         * paragraph.C (asString): Do not ignore newline/hfill chars when
13125         copying to the clipboard.
13126
13127 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13128
13129         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13130         after a multi-line inset.
13131
13132 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * paragraph.C (validate): Set NeedLyXFootnoteCode
13135
13136 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13137
13138         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13139         and decrease-error to decrease.
13140
13141 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13144         it more readable (should be equivalent)
13145
13146 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13147
13148         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13149
13150 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13153         of a cursor (row, etc.) after a character has been deleted
13154         (deleteEmptyParagraphMechanism): call the method above on _all_
13155         cursors held by the LyXText when a double space has been
13156         detected/deleted.
13157
13158 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13161         pixmap.
13162         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13163
13164         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13165         background. Use greyOut() and the new show() methods to toggle between
13166         the foreground and background. Add code to remove the splash after
13167         its initial showing.
13168
13169         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13170         (create_forms): no longer call Dialogs::showSplash.
13171
13172 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13173
13174         * .cvsignore: add version_info.h
13175
13176 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13177
13178         * version_info.h.in: new file
13179
13180         * Makefile.am: add version_info.h.in
13181
13182         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13183         version_info.h instead of VERSION_INFO
13184
13185 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13188         The ERT inset now returns string().
13189
13190 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13191
13192         * lyxtext.h, text.C (selectNextWord): renamed as
13193         selectNextWordToSpellcheck.
13194
13195         * text.C (selectNextWordToSpellcheck): Modified to not select
13196         words inside an ERT inset.
13197
13198 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * lyx_cb.C (MenuLayoutSave): change a bit the question
13201
13202         * sp_base.h: include <sys/types.h>
13203
13204 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13207
13208 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13209
13210         * several files: fix typos in user-visible strings
13211
13212 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * text2.C (pasteSelection): do not set the selection, since it
13215         will be cleared later. Actually, the intent was to fix the way the
13216         selection was set, but I figured rmoving the code was just as good.
13217
13218 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * FontLoader.C (available): Check if font is available without
13221         loading the font.
13222
13223 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13224
13225         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13226
13227 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13228
13229         * lyxrc.[Ch]: added display_graphics variable and associated code.
13230
13231 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * bufferparams.C (hasClassDefaults): new method. Returns true if
13234         the buffer parameters correspond to known class defaults
13235
13236 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13237
13238         * XFormsView.C (show): set minimum size to the main window.
13239
13240 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * text2.C (copySelection):
13243         (cutSelection):
13244         * lyxfind.C (LyXReplace):
13245         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13246         LyXText::selectionAsString.
13247
13248         * paragraph.C (asString): add "label" argument to the second form
13249
13250         * text2.C (selectionAsString): add "label" argument and pass it to
13251         Paragraph::asString.
13252
13253 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * lyx_main.C (commandLineHelp): remove version information
13256
13257 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13258
13259         * lyx_main.C: add -version commandline option
13260
13261 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13262
13263         * paragraph.h: make the optional constructor arg required instead.
13264         some modifications to other files because of this.
13265
13266         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13267
13268         * lyxserver.C (C_LyXComm_callback): make it static
13269
13270         * lyx_main.C (error_handler): make it static
13271
13272         * lyx_gui.C (LyX_XErrHandler): make it static
13273
13274         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13275
13276         * WorkArea.C: make the extern "C" methods static.
13277
13278         * Makefile.am (lyx_LDADD): simplify
13279
13280 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13283         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13284
13285         * LyXAction.C (init):
13286         * lyxfunc.C (dispatch): associated code removal.
13287
13288 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * lyxfont.h (isSymbolFont): shut off warning
13291
13292         * text.C (setHeightOfRow):
13293         (getVisibleRow): fix crash with empty paragraphs which have a
13294         bottom line
13295
13296 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13297
13298         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13299         code.
13300
13301 2001-09-04  José Matos  <jamatos@fep.up.pt>
13302         * buffer.C
13303         * buffer.h
13304         * tabular.C (docbook): rename docBook method to docbook.
13305
13306 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * Makefile.am: add dependencies to main.o.
13309
13310 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13311
13312         * FontLoader.C (available): Return false if !lyxrc.use_gui
13313
13314 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13315
13316         * FontInfo.C (query):
13317         * converter.C (view):
13318         * importer.C (Import):
13319         * exporter.C (Export): Can not -> cannot.
13320
13321 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * BufferView_pimpl.C: allow to create index inset even if
13324           string is empty
13325
13326 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * buffer.C (getLists): replace boost::tie code with an explicit pair
13329         as boost::tie can break some compilers.
13330
13331         * iterators.h: Added a std:: declaration to the return type of
13332         ParIterator::size.
13333
13334 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13337           case.
13338
13339 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * iterators.[Ch]: New files. Provide paragraph iterators.
13342
13343         * buffer.C (changeLanguage): Use paragraph iterators.
13344         (isMultiLingual): ditto
13345
13346         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13347
13348 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13349
13350         * FontLoader.C: Support for cmr font.
13351
13352 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13355         (available): New method.
13356
13357         * FontInfo.C (getFontname): Use scalable fonts even when
13358         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13359         found.
13360
13361 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * converter.C (Formats::view): reverted! Incorrect fix.
13364
13365 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * converter.C (Formats::view): only output the -paper option
13368         if the dvi viewer is xdvi, thereby fixing bug #233429.
13369
13370 2001-08-23  Herbert Voss  <voss@perce>
13371
13372         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13373
13374 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * Spacing.h (Spacing): Set space to Default on in the default
13377         constructor.
13378
13379 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * vc-backend.h (RCS::versionString): add RCS to version
13382         (CVS::versionString): add CVS to version
13383
13384         * vc-backend.C (scanMaster): do not add CVS to version.
13385         (scanMaster): do not add RCS to version
13386
13387         * lyxvc.C (versionString): new method
13388
13389         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13390
13391 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * Spacing.C (set): initialize fval
13394
13395 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13398         " or \.
13399
13400 2001-08-16  Juergen Vigna  <jug@sad.it>
13401
13402         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13403
13404 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * BufferView_pimpl.C:
13407         * figureForm.C:
13408         * lyxtext.h:
13409         * text2.C: setParagraph takes linespacing now
13410
13411 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * LyxAction.C: add internal LFUN_CITATION_INSERT
13414
13415         * LyXView.C: actually apply fix
13416
13417         * bufferlist.C: fix open non-existent file
13418
13419         * lyxfind.C: fix indentation
13420
13421         * lyxfunc.C: remove unneeded assert, fix typo
13422
13423 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * MenuBackend.C: use "Floatname List"
13426
13427 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13428
13429         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13430         when converting LaTeX layout to insetERT.
13431         Generate a non-collapsed float when reading old float
13432
13433 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13436         ERT insets.
13437
13438 2001-08-13  Juergen Vigna  <jug@sad.it>
13439
13440         * text.C (fill): return 0 instead of 20 as this seems to be the more
13441         correct value.
13442
13443 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13446         lyxrc.font_norm.
13447
13448 2001-08-13  Juergen Vigna  <jug@sad.it>
13449
13450         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13451         casesensitive off.
13452         (SearchBackward): comment out the unlocking of the inset_owner this
13453         should not be needed!
13454
13455 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13456
13457         * Many files: Remove inherit_language, and add latex_language
13458
13459         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13460         collapsible insets.
13461
13462 2001-08-10  Juergen Vigna  <jug@sad.it>
13463
13464         * text.C (prepareToPrint): fixed hfill-width in draw!
13465
13466         * BufferView2.C (selectLastWord): save the selection cursor as this
13467         now is cleared in the function LyXText::clearSelection!
13468
13469 2001-08-08  Juergen Vigna  <jug@sad.it>
13470
13471         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13472         BACKSPACE type functions.
13473
13474         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13475         is only cutted from the document but not put in the cut-buffer, where
13476         still the old stuff should be.
13477
13478         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13479
13480         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13481
13482         * tabular.C (SetWidthOfCell): fixed special case where the width
13483         was not updated!
13484         (LeftLine): handle '|' in align_special.
13485         (RightLine): ditto
13486         (LeftAlreadyDrawed): ditto
13487         (SetWidthOfCell): ditto
13488
13489 2001-08-07  Juergen Vigna  <jug@sad.it>
13490
13491         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13492
13493 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13496         * lyxlex.[hC]: ditto
13497
13498 2001-08-06  Juergen Vigna  <jug@sad.it>
13499
13500         * text.C (getVisibleRow): fix up row clearing a bit.
13501
13502 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * minibuffer.C: make sure the X server sees the changes in the input.
13505
13506 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * paragraph.C (getFont): split into...
13509         (getLabelFont): this
13510         (getLayoutFont): and this
13511         * paragraph_pimpl.C (realizeFont): calling this
13512
13513         * text2.C (getFont): split into...
13514         (getLayoutFont): this
13515         (getLabelFont): and this
13516         (realizeFont): all three calling this
13517
13518         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13519         files where used.
13520
13521 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13522
13523         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13524
13525 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13526
13527         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13528         layouts from the Quote inset insertion.
13529
13530 2001-08-03  Juergen Vigna  <jug@sad.it>
13531
13532         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13533
13534         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13535         only if status not is already CHANGED_IN_DRAW (second level).
13536
13537         * text.C (draw): don't set the need_break_row when inside an
13538         InsetText LyXText.
13539
13540 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13541
13542         * buffer.C (parseSingleLyXformat2Token): handle more latex
13543         conversion cases.
13544
13545         * bufferview_funcs.[hC]: change function names to
13546         begin with small char, adjust other files.
13547
13548 2001-08-02  André Pönitz <poenitz@gmx.net>
13549
13550         * lyxfunc.C:
13551         BufferView_pimpl.C: remove broken special code for math-greek
13552
13553 2001-08-02  Juergen Vigna  <jug@sad.it>
13554
13555         * BufferView_pimpl.C (update): redone this function so that we
13556         update the text again if there was a CHANGE_IN_DRAW.
13557
13558         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13559         (drawFromTo): added a new internal bool which is used by draw() and
13560         redraw() function.
13561         (general): some cursor drawing problems fixed.
13562
13563 2001-08-01  Juergen Vigna  <jug@sad.it>
13564
13565         * lyxfind.C (LyXFind): fixed
13566         (SearchForward): ditto
13567         (SearchBackward): ditto
13568
13569         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13570         spurius drawing of the cursor in the main area.
13571
13572         * text2.C (status): small fix which could lead to a segfault!
13573         (clearSelection): remove unneeded BufferView param.
13574
13575 2001-08-01  André Pönitz <poenitz@gmx.net>
13576
13577         * lyxfunc.C: small change due to changed mathed interface
13578
13579 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13582
13583 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * lyxfunc.c: fail gracefully if file doesn't exist
13586
13587         * LyXSendto.C:
13588         * buffer.C:
13589         * lyxfunc.C:
13590         * BufferView_pimpl.C: IsDirWriteable() proto changed
13591
13592         * LyXView.C: fix updateWindowTitle() to store the last title
13593
13594 2001-07-31  Juergen Vigna  <jug@sad.it>
13595
13596         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13597         the font (wrong since using of Paragraph::highestFontInRange).
13598
13599         * paragraph.C (highestFontInRange): added a default_size parameter.
13600
13601         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13602         (setHeightOfRow): reformat
13603
13604 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * converter.[hC] + affected files: move to (inital-char)lowercase
13607         function names.
13608
13609         * ParagraphParameters.C (ParagraphParameters): remove commented code
13610
13611         * PainterBase.[Ch]: remove commented code
13612
13613         * LaTeXFeatures.h: add "bool floats" for float.sty
13614
13615         * LaTeXFeatures.C (LaTeXFeatures): init floats
13616         (require): handle float
13617         (getPackages): do it with floats
13618
13619 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * BufferView_pimpl.C (Dispatch): improve handling of
13622         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13623
13624         * commandtags.h: #include lyxfont.h here temporarily to avoid
13625         keybinding bug.
13626
13627         * bufferlist.h: include LString.h here.
13628
13629 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * text2.C (getStringToIndex): new method.
13632
13633 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13634
13635         * *: Reduced header file dependencies all over.
13636
13637 2001-07-30  Baruch Even  <baruch@lyx.org>
13638
13639         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13640
13641 2001-07-29  Baruch Even  <baruch@lyx.org>
13642
13643         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13644
13645 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * ParameterStruct.h (endif): add a default constructor to make
13648         sure that all variables is initialized.
13649
13650         * ParagraphParameters.C (ParagraphParameters): adjust
13651
13652 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13655         index; also, check that there is something to index, and that it
13656         does not span over several paragraphs.
13657         (doubleClick): use WHOLE_WORD_STRICT for double click.
13658
13659         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13660
13661         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13662         scheme.
13663
13664 2001-07-26  Baruch Even  <baruch@lyx.org>
13665
13666         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13667         an InsetFig figure, backwards compatible reading of old figure code.
13668
13669 2001-07-27  Juergen Vigna  <jug@sad.it>
13670
13671         * text2.C: font.realize function adaption.
13672
13673         * text.C (draw): add a warnings lyxerr text if needed.
13674
13675         * layout.C: font.realize function adaption.
13676
13677         * language.C: add inherit_language and implement it's handlings
13678
13679         * bufferview_funcs.C (StyleReset): remove language parameter from
13680         font creation (should be language_inherit now).
13681
13682         * bufferparams.C (writeFile): handle ignore_language.
13683
13684         * paragraph.C (getFontSettings): the language has to be resolved
13685         otherwise we have problems in LyXFont!
13686
13687         * lyxfont.C (lyxWriteChanges): added document_language parameter
13688         (update): removed unneeded language parameter
13689
13690         * paragraph.C (validate): fixed wrong output of color-package when
13691         using interface colors for certain fonts in certain environments,
13692         which should not seen as that on the final output.
13693
13694 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * BufferView_pimpl.C:
13697         * Thesaurus.h:
13698         * Thesaurus.C:
13699         * Makefile.am:
13700         * commandtags.h:
13701         * LyXAction.C: add thesaurus support
13702
13703         * lyxfind.h:
13704         * lyxfind.C: add "once" parameter, for thesaurus, to not
13705           move to the next match
13706
13707 2001-07-26  Juergen Vigna  <jug@sad.it>
13708
13709         * lyxfont.C (realize): honor ignore_language too!
13710         (resolved): ditto.
13711
13712         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13713
13714         * text.C (draw): one place more for ignore_language to not draw
13715         itself!
13716
13717 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13718
13719         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13720
13721 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13724         the minipage conversion problem.
13725
13726 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13729         insert an inset.
13730
13731 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * BufferView.h: don't forward declare WorkArea
13734
13735         * BufferView.C: don't include WorkArea.h
13736
13737 2001-07-25  André Pönitz <poenitz@gmx.net>
13738
13739         * commandtags.h:
13740         * LyXAction.C:
13741         * lyxfunc.C:  new LFUN 'math-space'
13742
13743         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13744
13745 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * text2.C (toggleInset): call open/close
13748
13749 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * lyxfunc.C (dispatch): add debug for the disabled case
13752
13753         * font.C (buttonText): make similar to rectText
13754
13755         * buffer.C (readInset): comment out parsing of insetlist and
13756         insttheorem
13757
13758         * PainterBase.C (rectText): small correction
13759
13760         * BufferView_pimpl.C: comment out insettheorem and insetlist
13761         * LyXAction.C: ditto
13762         * commandtags.h: ditto
13763
13764 2001-07-24  Juergen Vigna  <jug@sad.it>
13765
13766         * text.C (draw): honor the ignore_language.
13767
13768         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13769
13770 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13771
13772         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13773         char inset.
13774
13775 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13776
13777         * lyxtext.h: remove unused (and unimplemented) methods
13778
13779 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13780
13781         * text.C (getVisibleRow): honor background color
13782
13783         * PainterBase.h:
13784         * Painter.h: remove default color argument for fillRectangle
13785
13786         * text.C (backgroundColor): new method
13787
13788 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * text.C (getVisibleRow): adjust
13791
13792         * font.[Ch] (rectText): new method, metrics
13793         (buttonText): new method, metrics
13794
13795         * PainterBase.[hC]: make rectText and buttonText always draw and take
13796         fewer paramteres.
13797
13798 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13799
13800         * ToolbarDefaults.C (read):
13801         * MenuBackend.C (read): allow escaping in all strings
13802
13803         * BufferView_pimpl.C (insertAndEditInset): new method.
13804         (Dispatch): use insertAndEditInset whenever appropriate.
13805
13806         * BufferView_pimpl.C (insertNote): removed
13807
13808         * BufferView_pimpl.C (smartQuote): new method, moved from
13809         BufferView; if an insetquote cannot be inserted, insert a '"'
13810         character instead.
13811
13812         * BufferView2.C: remove insertCorrectQuote();
13813
13814         * lyxfunc.C (getStatus): Add support for all remaingin
13815         inset-insert lfuns.
13816
13817         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13818
13819         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13820         command (necessary to pass " as parameter of self-insert.
13821
13822         * text.C (selectWordWhenUnderCursor):
13823         (selectWord): add word_location parameter
13824         (selectWordWhenUnderCursor): same + remove special code for word
13825         boundary.
13826         (selectNextWord): use kind() to guess type of insetspecialchar,
13827         not latex().
13828
13829         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13830         (insertErtContents): create ert insets as collapsed.
13831         (readInset): better compatibility code for Info inset.
13832
13833 2001-07-20  Juergen Vigna  <jug@sad.it>
13834
13835         * lyxfunc.C (dispatch): use always LyXFind now!
13836
13837         * text2.C (init): add a reinit flag so that the LyXText can be
13838         reinited instead of deleted and reallocated (used in InsetText).
13839
13840         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13841
13842         * text.C: ditto
13843
13844         * text2.C: ditto
13845
13846 2001-07-18  Juergen Vigna  <jug@sad.it>
13847
13848         * text.C (selectNextWord): handle insets inside inset by calling
13849         always the bv->text functions so that we can go up the_locking_inset!
13850
13851         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13852         in strange locations when inside an inset!
13853
13854         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13855         handling to include insets.
13856
13857         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13858
13859 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * LyXAction.C (init):
13862         * commandtags.h:
13863         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13864         LIGATURE_BREAK, since the name is so stupid.
13865
13866 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13869         InsetInfos.
13870
13871         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13872
13873         * sp_form.[Ch]: remove.
13874
13875         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13876
13877         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13878         InsetInfo.
13879
13880         * src/buffer.C (readInset): ditto.
13881
13882 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13883
13884         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13885         menuSeparator(), endOfSentenceDot(), ldots() and
13886         hyphenationPoint(), which are therefore removed.
13887         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13888
13889         * LyXAction.C (init):
13890         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13891
13892         * paragraph.C (getWord): removed.
13893
13894         * BufferView_pimpl.C (Dispatch): use last word or selection for
13895         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13896
13897         * lyx_main.C (queryUserLyXDir): do not ask before creating
13898         user_dir, except if it has been named explicitely.
13899
13900 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13901
13902         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13903         a document of zero size.
13904
13905 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13908         approriately in the c-tor and in require().
13909         (getPackages): output the appropriate LaTeX for natbib support.
13910
13911         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13912         variables "use_natbib" and "use_numerical_citations" when reading the
13913         LyX file.
13914         (readInset): read the various natbib cite commands.
13915         (validate): white-space change.
13916
13917         * bufferparams.[Ch]: new variables "bool use_natbib" and
13918         "bool use_numerical_citations".
13919         (writeFile): output them in the LyX file.
13920
13921 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13922
13923         * lyxfunc.C (getStatus): add support for all the inset insertion
13924         commands.
13925
13926         * text2.C (insertInset):
13927         * paragraph.C (insetAllowed):
13928         * BufferView_pimpl.C (insertInset): update to take in account the
13929         renaming of insertInsetAllowed
13930
13931         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13932
13933         * text2.C (getInset): new method. returns inset at cursor position.
13934
13935         * BufferView_pimpl.C (Dispatch): changes because of this.
13936
13937         * LyXAction.C (init): rename open-stuff to inset-toggle.
13938
13939         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13940
13941         * text2.C (toggleInset): renamed from openStuff; use
13942         Inset::open().
13943
13944 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13945
13946         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13947
13948         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13949
13950 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * buffer.C (readLyXformat2): Add filename to the error dialog
13953
13954 2001-07-18  Juergen Vigna  <jug@sad.it>
13955
13956         * tabular.C (GetCellNumber): put an assert here instead of the check!
13957
13958 2001-07-17  Juergen Vigna  <jug@sad.it>
13959
13960         * BufferView_pimpl.C (toggleSelection): adapted too.
13961
13962         * text.C (selectNextWord): adapted for use with insets.
13963         (selectSelectedWord): ditto
13964
13965 2001-07-17  Juergen Vigna  <jug@sad.it>
13966
13967         * sp_spell.C (PSpell): fix initialitation order.
13968
13969 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * paragraph.C: spacing
13972
13973 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13974
13975         * sp_spell.C: repair language selection for pspell
13976
13977 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * lyxfunc.h: change more methods to begin with lower char.
13980
13981 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13984         for unknown layouts.
13985
13986 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13987
13988         * buffer.C (readLyXformat2): Generate an error dialog if there are
13989         unknown layouts.
13990
13991 2001-07-16  Juergen Vigna  <jug@sad.it>
13992
13993         * sp_spell.C: always compile ISpell part.
13994
13995         * lyxrc.C: added use_pspell entry and it's handling.
13996
13997 2001-07-13  Juergen Vigna  <jug@sad.it>
13998
13999         * sp_spell.C: removed double includes.
14000
14001 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         Consistent use of Lsstream.h:
14004         * Lsstream.h: added using std::stringstream for consistencies sake.
14005
14006         * buffer.C: removed using std::stringstream
14007
14008         * lyxfont.C (stateText):
14009         * paragraph.C (asString):
14010         * text.C (selectNextWord, selectSelectedWord):
14011         * text2.C (setCounter):
14012         * vspace.C (asString, asLatexString):
14013         std::ostringstream -> ostringstream.
14014
14015 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14016
14017         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14018         * commandtags.h: add LFUN_HELP_ABOUTLYX
14019         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14020
14021 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14022
14023         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14024         cursorToggle()
14025         * lyx_gui_misc.C: remove spellchecker
14026         * lyxfunc.C: showSpellchecker
14027         * sp_base.h: added
14028         * sp_ispell.h: added
14029         * sp_pspell.h: added
14030         * sp_spell.C: added
14031         * sp_form.[Ch]: removed
14032         * spellchecker.[Ch]: removed
14033
14034 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14035
14036         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14037         is set.
14038         (simpleTeXSpecialChars): Simply print the input character without
14039         any special translation if pass_thru is set.
14040
14041         * layout.h: Added bool pass_thru to layout class for being able to
14042         implement pass through of a paragraph for Literate Programming.
14043
14044         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14045         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14046         * layout.C (Read): add "passthru" to list of layout tags and add
14047         code to set the pass_thru boolean when it is read.
14048
14049 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14050
14051         * trans_decl.h: remove allowed from KmodInfo
14052
14053         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14054         remove allowed code
14055         (Load): adjust
14056
14057         * paragraph_pimpl.C (erase): use boost::prior
14058
14059         * Painter.C (text): use data() instead of c_str() when length is
14060         also provided.
14061         * WorkArea.C (putClipboard): ditto
14062         * font.h (width): ditto
14063
14064         * BufferView2.C: use it-> instead of (*it). for iterators
14065         * texrow.C: ditto
14066         * paragraph_pimpl.C: ditto
14067         * paragraph.C: ditto
14068         * minibuffer.C: ditto
14069         * language.C: ditto
14070         * kbmap.C: ditto
14071         * encoding.C: ditto
14072         * counters.C: ditto
14073         * converter.C: ditto
14074         * chset.C: ditto
14075         * Variables.C: ditto
14076         * TextCache.C: ditto
14077         * MenuBackend.C: ditto
14078         * LyXAction.C: ditto
14079         * LColor.C: ditto
14080         * FloatList.C: ditto
14081         * DepTable.C: ditto
14082         * ColorHandler.C (LyXColorHandler): ditto
14083
14084 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085
14086         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14087
14088         * text2.C (openStuff): reintroduce this method (which had been
14089         nuked in NEW_INSETS frenzy).
14090
14091         * lyxfunc.C (Dispatch): when an action has not been handled, use
14092         its name in the error message, not its number.
14093
14094         * paragraph.C (inInset): change method name to begin with lowercase.
14095
14096         * undo_funcs.C:
14097         * text2.C: updates because of this.
14098
14099 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * ToolbarDefaults.C (add): add spaces in error message
14102
14103 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14106         (readLyXformat2): rename return_par to first_par, use lyxlex's
14107         pushToken and remove the manual push handling.
14108         (parseSingleLyXformat2Token): add another ert comp. variable:
14109         in_tabular, rename return_par to first_par. handle newlines better
14110
14111 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14112
14113         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14114
14115 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * text2.C (getParFromID): removed
14118
14119         * buffer.C (getParFromID): new method moved form lyxtext.
14120         * BufferView2.C (insertErrors): adjust
14121         (setCursorFromRow): adjust
14122         * BufferView_pimpl.C (restorePosition): adjust
14123         * lyxfunc.C (Dispatch): adjust
14124         * undo_funcs.C (textUndo): adjust
14125         (textRedo): adjust
14126         (textHandleUndo): adjust
14127         (textHandleUndo): adjust
14128
14129 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * buffer.C: up' the LYX_FORMAT
14132
14133         * lyxfont.h: turn NO_LATEX on as default
14134
14135         * buffer.C (insertErtContents): new methods of tex style compability.
14136         (parseSingleLyXformat2Token): use it several places.
14137         * tabular.C (OldFormatRead): and here
14138
14139 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14140
14141         * text2.C: remove some commented code.
14142         reindent file.
14143
14144         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14145         * trans.C: changes because of the above.
14146
14147 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14148
14149         * text2.C (setCounter): Fix counters bug with bibliography layout.
14150
14151 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14154         own member functions
14155         (simpleTeXSpecialChars): ditto
14156
14157 2001-07-06  Juergen Vigna  <jug@sad.it>
14158
14159         * a lot of files: changed the access to LyXText::status and the
14160         call of undo-functions.
14161
14162         * undo.[Ch]: added a inset_id to the undo informations.
14163
14164         * undo_funcs.[Ch]: added and moved here all undo functions.
14165
14166         * lyxtext.h: give the status enum a weight, made status_ a private
14167         variable and made accessor functions for it, removed the whole bunch
14168         of undo-functions as they are now in their own file, make some
14169         functions publically available. Added function ownerParagraph with
14170         int parameter.
14171
14172         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14173         made InInset() a const function, added getParFromID() function.
14174
14175         * buffer.[Ch]: added const version for inset_iterator functions,
14176         added getInsetFromID() function.
14177
14178         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14179         changed undo functions for new version.
14180
14181 2001-07-05  Juergen Vigna  <jug@sad.it>
14182
14183         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14184         unknow mechanism does not call the proper constructor but only this
14185         one also if I request the other!?
14186
14187 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14190
14191         * text2.C (LyXText): use initialization lists.
14192
14193         * lyxtext.h (Selection): initialize set_ and mark_
14194         (init): remove method
14195
14196 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14197
14198         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14199
14200 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * screen.[Ch]: change method names to begin with lowercase
14203
14204         * BufferView_pimpl.C (updateScrollbar): simplify further and
14205         hopefully make it a bit faster.
14206
14207 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14208
14209         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14210         calling directly xforms functions.
14211
14212         * Painter.C (Painter):
14213         * lyx_cb.C (MenuWrite):
14214         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14215         fl_display.
14216
14217         * lyx_gui.C: remove bogus guiruntime extern declaration.
14218
14219 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14222         in NEW_INSETS
14223         (redoDrawingOfParagraph): ditto
14224         (redoParagraphs): ditto
14225         (cutSelection): don't create a object for CutAndPaste use the
14226         static method directly
14227         (pasteSelection): ditto
14228
14229         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14230         LyXview (+ rename)
14231
14232 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14233
14234         * modifications to some other files because of this.
14235
14236         * Makefile.am (lyx_SOURCES): add XFormsView
14237
14238         * XFormsView.[Ch]: new files
14239
14240         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14241         the main window. Move the gui dependent stuff to XFormsView
14242
14243 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * tabular.C (GetCellInset): update cur_cell also in the row/col
14246         version of this function.
14247
14248         * lyxfunc.C: no need to include figure_form.h here.
14249
14250         * FontLoader.h:
14251         * lyxfunc.h:
14252         * lyxscreen.h:
14253         * text2.C:
14254         * lyxvc.C: no need to include forms.h here.
14255
14256 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14259
14260         * lyxfunc.C (Dispatch):
14261         * Spacing.C (set):
14262         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14263         constructor argument.
14264
14265 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * paragraph.C (Paragraph): dont't clear, and just set layout.
14268         (makeSameLayout): use params's copy contructor.
14269
14270         * ParagraphParameters.[Ch] (makeSame): delete method
14271
14272 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * Variables.[Ch]: fix indentation, rename set to isSet
14275
14276 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14277
14278         * lyxfunc.C (Dispatch): fix typo
14279
14280 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14283         upper_bound.
14284
14285         * bufferlist.C: include assert.h for emergencyWrite().
14286
14287 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14290           give up at last (bug #425202) !
14291
14292 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * lyx_gui_misc.C:
14295         * sp_form.h:
14296         * sp_form.C:
14297         * spellchecker.h:
14298         * spellchecker.C: strip spellchecker options and bring up
14299           preferences tab instead
14300
14301 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14304         the istringstream constructor
14305
14306 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * paragraph.C (getLayout): fix return value
14309
14310         * paragraph.h: do not declare getLayout as inline.
14311
14312         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14313
14314 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * lyxcursor.h (operator<): new func
14317         (operator>): new func
14318         (operator>=): new func
14319         (operator<=): new func
14320
14321         * text.C (changeCase): use selection.start and selection.end
14322         (changeRegionCase): require from to be <= to. Require par to be a
14323         valid paragraph.
14324
14325         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14326
14327 2001-06-27  Juergen Vigna  <jug@sad.it>
14328
14329         * text.C (cursorLeftOneWord): changed to return the cursor and added
14330         overlay with BufferView * parameter which calls this one.
14331         (getWord): added
14332         (selectWord): use new getWord function.
14333         (changeCase): renamed from changeWordCase as and extended to work
14334         also on selections.
14335
14336         * lyxtext.h: added enum word_location
14337
14338         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14339         changeCase as this operates now also on selections.
14340
14341 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14342
14343         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14344
14345         * many files: send debug output to Debug::INFO instead of
14346         Debug::ANY.
14347
14348         * converter.C (View):
14349         (Convert):
14350         (Move): send debug output to Debug::FILES instead of console.
14351
14352 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14353
14354         * lyxfunc.C (getStatus): use func_status
14355
14356         * func_status.h: new header, describing the results of
14357         LyXFunc::getStatus;
14358
14359         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14360         LFUN_MATH_HALIGN.
14361
14362 2001-06-25  The LyX Project  <jug@sad.it>
14363
14364         * buffer.C (sgmlOpenTag):
14365         (sgmlCloseTag):
14366         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14367
14368 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14369
14370         * text2.C: remove some dead code
14371
14372         * tabular.C (GetCellInset): store the last cell checked (gotten)
14373
14374         * tabular.h: add the helper for the speedup
14375
14376         * lyxtext.h: remove some dead code
14377
14378 2001-06-26  The LyX Project  <Asger>
14379
14380         * paragraph.C: Change export to LaTeX of alignment to
14381         \begin{center} and family for better roundtrip work with reLyX.
14382
14383         * Tune the math drawing a bit.
14384
14385 2001-06-25  The LyX Project  <Asger>
14386
14387         * LColor.C (LColor): New color for math background. New color
14388         for buttons.
14389
14390 2001-06-25  The LyX Project  <jug@sad.it>
14391
14392         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14393
14394         * lyxfunc.C (Open):
14395         * bufferlist.C (newFile): do not restrict to files ending with
14396         .lyx
14397
14398         * BufferView_pimpl.C (MenuInsertLyXFile):
14399
14400 2001-06-24  The LyX Project  <jug@sad.it>
14401
14402         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14403         of compare_no_case
14404
14405 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * lyxtext.h: rename most methods to begin with a small char.
14408         Lots of changes because of this.
14409
14410         * paragraph.C (Paragraph): do not call fitToSize
14411         (erase): call Pimpl::erase
14412         (insertChar): call Pimpl::insertChar
14413         (insertInset): call Pipl::insertInset
14414         (breakParagraph): do not call fitToSize
14415         (breakParagraphConservative): do not call fitToSize
14416         (fitToSize): remove method
14417
14418         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14419
14420 2001-06-24  The LyX Project  <Asger>
14421
14422         * Fix Qt compilation^2
14423
14424 2001-06-24  The LyX Project  <jug@sad.it>
14425
14426         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14427         depthHook(getDepth()-1).
14428
14429         * paragraph.h:
14430         * ParagraphParameters.h:
14431         * ParameterStruct.h: change type of depth to unsigned int ==
14432         depth_type. Many adaptations to other files before of that.
14433
14434 2001-06-24  The LyX Project  <Asger>
14435
14436         * Fix Qt compilation.
14437
14438 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * paragraph.h: renamed several methods to begin with small letter.
14441         several changes to many parts of the code because of this.
14442
14443 2001-06-23  The LyX Project  <jug@sad.it>
14444
14445         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14446         rewritten to discard all double spaces when KeepEmpty is off
14447         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14448         to only handle newlines but not fiddle with spaces and friends.
14449
14450         * lyxfunc.C (MenuNew): when doing 'new from template', use
14451         template_path as default directory
14452
14453 2001-06-23  The LyX Project  <Asger>
14454
14455         * Clean-up of header file includes all over
14456         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14457
14458 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * paragraph.h: renamed from lyxparagraph.h
14461
14462 2001-06-23  Asger  <lyx@violet.home.sad.it>
14463
14464         * Buffer.h: Removed Buffer::resize
14465         * BufferList.h: Removed BufferList::resize
14466         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14467         the document lazily when we change the width, or the font settings.
14468
14469 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14472
14473 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * buffer.h: remove out of date comment
14476
14477 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * lyxscreen.h:
14480         * screen.C: fix "theoretical" GC leak
14481
14482 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14483
14484         * LaTeX.C (scanAuxFile):
14485         (deplog): remove trailing \r when reading stream (useful under
14486         win32)
14487
14488 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14489
14490         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14491         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14492         and BufferView::theLockingInset(Inset*), so should use them and not
14493         access bv_->text->the_locking_inset directly.
14494
14495         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14496
14497 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * Makefile.am:
14500         * tex-defs.h: remove old unused file
14501
14502 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14503
14504         * BufferView_pimpl.C: fix typo, remove minibuffer message
14505           when buffer has loaded
14506
14507 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * lyxfunc.C (Dispatch): use stringstream
14510         (MenuNew): use stringstream
14511         (Open): use stringstream
14512
14513         * importer.C (Import): use stringstream
14514
14515         * bufferview_funcs.C (CurrentState): use stringstream
14516
14517         * LaTeX.C (run): use stringstream
14518
14519         * BufferView_pimpl.C (savePosition): use stringstream
14520         (restorePosition): use stringstream
14521         (MenuInsertLyXFile): use stringstream
14522
14523 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14524
14525         * BufferView.C:
14526         * Bullet.C:
14527         * ColorHandler.C:
14528         * FontInfo.C:
14529         * FontLoader.C:
14530         * LColor.C:
14531         * LaTeXFeatures.C:
14532         * Painter.C:
14533         * gettext.C:
14534         * lyx_gui_misc.C:
14535         * lyxserver.C:
14536         * vspace.C: removed // -*- C++ -*- as first line.
14537
14538         * lyxfind.h:
14539         * version.h: added // -*- C++ -*- as first line.
14540
14541 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14544
14545         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14546         of string
14547
14548 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14549
14550         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14551         of floats.
14552
14553 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14554
14555         * gettext.C: include LString.h even when --disable-nls is on.
14556
14557 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * converter.h (Get): changed argument type from int to
14560         FormatList::size_type to avoid unnecessary conversion.
14561
14562         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14563         before using it.
14564
14565 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14566
14567         * gettext.h: include LString.h even when --disable-nls is on.
14568
14569 2001-06-07  Juergen Vigna  <jug@sad.it>
14570
14571         * text.C (BreakAgain): subst spaces with tabs.
14572
14573         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14574         (resizeInsetsLyXText): set force on resizeLyXText.
14575
14576 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * gettext.h (gettext_init):
14579         (locale_init): use a real definition instead of a macro
14580
14581 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14582
14583         * Bufferview_pimpl.C:
14584         * LColor.h:
14585         * LColor.C: further lcolor tidies
14586
14587 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * BufferView_pimpl.C (updateScrollbar): simplify.
14590
14591         * BufferView2.C: don't include insets/insetinfo.h, change
14592         prototype for insertInset and call the Pimpl version. let
14593         updateInset call Pimpl version.
14594
14595         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14596         gotoInset to BufferView::Pimpl
14597
14598 2001-06-01  Juergen Vigna  <jug@sad.it>
14599
14600         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14601         inside a LockingInset (is the update needed at all?).
14602
14603 2001-05-31  Juergen Vigna  <jug@sad.it>
14604
14605         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14606         here not the old one otherwise how should we compare it afterwards
14607         if it's the same!
14608
14609 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * lyxfont.C:
14612         * tabular.C:
14613         * tabular-old.C:
14614         * FontInfo.C: bring C functions into global namespace when
14615         necessary
14616
14617 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14618
14619         * LString.h: make sure config.h has been loaded before LString.h.
14620
14621         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14622         (one for each char read by EatLine!).
14623
14624         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14625         variables.
14626
14627 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14628
14629         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14630         to the same as the par we break from
14631
14632 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14633
14634         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14635
14636         * MenuBackend.C (expand): also create menu entries for wide
14637         versions of the floats.
14638
14639         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14640
14641         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14642
14643         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14644         frontends/Makefile.am
14645
14646         * text2.C: adjust
14647         * text.C: adjust
14648
14649
14650         * tabular.C (getTokenValue): add std::
14651
14652         * tabular-old.C (getTokenValue): add std::
14653         (getTokenValue): ditto
14654         (getTokenValue): ditto
14655
14656         * screen.C (ToggleSelection): adjust
14657
14658         * lyxtext.h: put selection cursors inside a Selection struct.
14659
14660         * lyxfunc.C (moveCursorUpdate): adjust
14661
14662         * lyxfont.C (latexWriteStartChanges): add std::
14663
14664         * lyxfind.C: adjust
14665
14666         * font.h: delete with(char const *, LyXFont const &)
14667
14668         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14669
14670         * FontInfo.C (getFontname): add std::
14671
14672         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14673         (workAreaButtonPress): adjust
14674         (tripleClick): adjust
14675         (update): adjust
14676         (moveCursorUpdate): adjust
14677         (Dispatch): adjust
14678
14679         * BufferView2.C (gotoInset): adjust
14680
14681 2001-05-30  Juergen Vigna  <jug@sad.it>
14682
14683         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14684         to check pspell I add this as default as I now have new pspell
14685         libraries and they seem to use this.
14686
14687 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * text2.C (CutSelection): make the cursor valid before the call to
14690         ClearSelection.
14691
14692 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14693
14694         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14695         relied on 0 terminated strings and other horrors. Bug found due to
14696         the new assert in lyxstring!
14697
14698         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14699         KP_ keys.
14700
14701 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14704         to latinkeys.bind.
14705
14706         * lyxfunc.C (processKeySym): change method of getting to the
14707         self-insert char.
14708
14709         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14710         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14711         * BufferView_pimpl.[Ch]: here as private methods.
14712
14713 2001-05-28  Juergen Vigna  <jug@sad.it>
14714
14715         * text.C (SetHeightOfRow): added the update() call again as it is
14716         needed to initialize inset dimensions!
14717
14718 2001-05-16  Juergen Vigna  <jug@sad.it>
14719
14720         * text2.C (SetCharFont): Add new function with BufferView * and
14721         bool toggleall parameters for setting insets internal fonts.
14722         (SetFont): Freeze the undo as we may change fonts in Insets and
14723         all this change should be inside only one Undo!
14724
14725         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14726         setting font's in insets as for them we have the SetFont function!
14727
14728 2001-05-15  Juergen Vigna  <jug@sad.it>
14729
14730         * text2.C (ClearSelection): to be sure we REALLY don't have any
14731         selection anymore!
14732
14733         * tabular.C (TeXCellPreamble): fixed the left border problem for
14734         multicolumn cells.
14735
14736 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14739         dependancy file
14740
14741 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14744         LFUN_BREAKPARAGRAPH.
14745
14746         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14747         help test to "internal only", similar for LFUN_INSERT_URL
14748
14749         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14750         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14751         auto_region_delete and deadkeys.
14752
14753 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * LColor.h:
14756         * LColor.C: remove some dead entries, tidy a little
14757
14758 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14761         commented code.
14762         (Dispatch): implement LFUN_ESCAPE
14763
14764         * commandtags.h: add LFUN_ESCAPE
14765
14766         * LyXAction.C (init): add entry for LFUN_ESCAPE
14767
14768         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14769         Remove commented code.
14770         (insertNote): moved here
14771         (open_new_inset): moved here
14772
14773         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14774         BufferView_pimpl
14775
14776 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * kbmap.C (findbinding): clean it up and make it work correctly.
14779
14780         * lyx_main.C (init): do not pass argc and argv as parameters
14781
14782 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14783
14784         * buffer.C: fix path for OS/2 & Win32
14785
14786         * lyx_gui.C:
14787         * lyx_main:
14788         * lyx_main.C: Added os:: class.
14789
14790         * os2_defines.h: update
14791
14792 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14793
14794         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14795         better by trying again with reduced state.
14796
14797 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * lyxrc.C (read): print error about invalid key sequence only when
14800         debugging (because not all latinX keysyms are known to some X
14801         servers)
14802
14803         * kbsequence.C (getiso): add a few std:: qualifiers
14804         (getiso): comment out extra return statement.
14805
14806 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14809         handling.
14810         (Dispatch): enhance the accent inset a bit. (not perfect)
14811
14812 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14815
14816 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * bufferlist.C (emergencyWrite): fix assert() call
14819
14820 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14821
14822         * text.C (InsertChar): Added trivial patch to only send the "you
14823         can not do multiple spaces this way" message once during a
14824         session.
14825
14826 2001-05-08  Baruch Even  <baruch@lyx.org>
14827
14828         * Makefile.am: Changed order of libraries to get LyX to link properly
14829         with the gnome frontend.
14830
14831 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * LaTeXFeatures.h: add a std:: qualifier
14834
14835 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * paragraph.C (String): use stringstream
14838
14839 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * paragraph.C (writeFile): remove footflag arg
14842
14843         * buffer.C (makeLaTeXFile): use stringstream
14844         (latexParagraphs): remove footnot gurba
14845
14846         * LaTeXFeatures.C (getPackages): use stringstream
14847         (getMacros): likewise
14848         (getTClassPreamble): likewise
14849         (getFloatDefinitions): new method
14850
14851         * paragraph.C (writeFile): reindent
14852         (Erase): reindent
14853
14854         * WorkArea.h: revert the xpos + etc changes.
14855
14856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14857
14858         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14859
14860         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14861         (pasteSelection): likewise
14862         * text2.C (CreateUndo): likewise
14863
14864 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * minibuffer.C (peek_event): temporarily reduce the functionality
14867         of the minibuffer (to allow args on lfuns)
14868
14869         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14870         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14871
14872         * buffer.C (readInset): add compability reading of old float
14873         lists, add reading of new style float list.
14874         (readInset): avoid reevaluation of inscmd.getCmdName()
14875         (getLists): reindent
14876
14877         * MenuBackend.C (MenuItem): implement parsing of
14878         md_floatlistinsert and md_floatinsert.
14879         (expand::LastFiles): move initalizaton of iterators out of loop,
14880         avoid reevaluation.
14881         (expand::Documents): introduce typdedef vector<string> Strings,
14882         and use it.
14883         (expand::ExportFormats): introduce typedef vector<Format const *>
14884         Formats, and use it.
14885         (expand): implement FloatListInsert and FloatInsert.
14886
14887         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14888         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14889         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14890
14891         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14892         handling.
14893         (Dispatch::LFUN_FLOAT_LIST): implement
14894
14895 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14896
14897         * LaTeX.C (run): Fix problem with --export code.
14898
14899 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14900
14901         * BufferView.[Ch] (workarea): removed.
14902         (getClipboard) new method; wrapper for workarea()->getClipboard()
14903
14904         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14905         bug.
14906
14907         * WorkArea.h (width, height, xpos, ypos): These methods all
14908         returned the dimensions of the work_area sub-area of WorkArea,
14909         resulting in a position error if the WorkArea were resized. Now
14910         return the dimensions of the entire WorkArea.
14911
14912         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14913
14914 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * LaTeX.C (deplog): correct the syntax of regex reg1
14917
14918 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14919
14920         * undo.C: remove !NEW_INSETS cruft
14921
14922 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * text2.C: remove !NEW_INSETS cruft
14925
14926         * text.C: remove !NEW_INSETS cruft
14927
14928         * tabular.C: remove !NEW_INSETS cruft
14929
14930         * spellchecker.C: remove !NEW_INSETS cruft
14931
14932         * lyxtext.h: remove !NEW_INSETS cruft
14933
14934         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14935
14936         * lyxfunc.C: remove !NEW_INSETS cruft
14937
14938         * lyxfind.C: remove !NEW_INSETS cruft
14939
14940         * lyx_cb.C: remove !NEW_INSETS cruft
14941
14942         * figureForm.C: remove  !NEW_INSETS cruft
14943
14944         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14945
14946         * buffer.[Ch]: remove !NEW_INSETS cruft
14947
14948         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14949
14950         * CutAndPaste.C: remove !NEW_INSETS cruft
14951
14952         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14953
14954         * BufferView2.C: remove !NEW_INSETS cruft
14955
14956         * BufferView.h: remove !NEW_INSETS cruft
14957
14958 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14959
14960         * Lsstream.h: include LString.h before the sstream headers to
14961         fix problem with gcc 2.95.3 and lyxstring
14962
14963 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * lyx_main.C: add using directives when needed for C functions
14966         declared in std:: namespace.
14967
14968 2001-04-27  Juergen Vigna  <jug@sad.it>
14969
14970         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14971         (SetHeightOfRow): comment out the update call should not be needed!
14972
14973 2001-04-13  Juergen Vigna  <jug@sad.it>
14974
14975         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14976         (LyXTabular): tried to minimize operator= operations (and realized
14977         hopfully Lars wish).
14978
14979 2001-04-27  Juergen Vigna  <jug@sad.it>
14980
14981         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14982
14983 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14986
14987         * buffer.C (readInset): hack to make listof algorithm work
14988
14989         * BufferView_pimpl.C: hack to make listof algorithm work
14990
14991 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14992
14993         * LyXAction.C: removed all !NEW_INSETS cruft
14994         (init): moved lfun_item in method
14995
14996         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14997
14998 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14999
15000         * BufferView2.C (theLockingInset): white space.
15001
15002 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * minibuffer.C: include <iostream>
15005
15006         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15007
15008         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15009
15010         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15011
15012         * text.[Ch] (TransposeChars): new method
15013
15014 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * call message directly through LyXView instead of through LyXFunc
15017         * BufferView2.C: adjust
15018         * BufferView_pimpl.C: adjust
15019         * FontLoader.C: adjust
15020         * buffer.C: adjust
15021         * bufferview_funcs.C: adjust
15022         * converter.C: adjust
15023         * figureForm.C: adjust
15024         * importer.C: adjust
15025         * lyx_cb.C: adjust
15026         * lyx_gui_misc.C: adjust
15027         * lyxfunc.C: adjust
15028         * lyxvc.C: adjust
15029         * text2.C: adjust
15030         + more files in subdirs
15031
15032         * lyxparagraph.h (size): move up int file
15033         (GetLayout): ditto
15034
15035         * adjust all uses of Assert to lyx::Assert.
15036
15037         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15038         lyxfunctional in namespace lyx
15039         * layout.C (hasLayout): ditto
15040         (GetLayout): ditto
15041         (GetLayout): ditto
15042         (delete_layout): ditto
15043         (NumberOfClass): ditto
15044         * converter.C (GetFormat): ditto
15045         (GetNumber): ditto
15046         (Add): ditto
15047         (Delete): ditto
15048         (SetViewer): ditto
15049         * bufferlist.C (getFileNames): ditto
15050         (emergencyWriteAll): ditto
15051         (exists): ditto
15052         (getBuffer): ditto
15053         * MenuBackend.C (hasSubmenu): ditto
15054         (hasMenu): ditto
15055         (getMenu): ditto
15056         * BufferView_pimpl.C (getInsetByCode): ditto
15057
15058 2001-04-18  Juergen Vigna  <jug@sad.it>
15059
15060         * vspace.C (asLatexString): fixed the 100% problem.
15061
15062 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * lyxfunc.C (Dispatch):
15065         * minibuffer.C:
15066         * minibuffer.h: add a few std:: qualifiers
15067
15068 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15069
15070         * minibuffer.[Ch]: reimplement so that commands is initiated and
15071         run from lyxfunc, simplified som handling, and made the completion
15072         and history code for complete. wip.
15073
15074         * lyxfunc.C (processKeySym): call message
15075         (miniDispatch): new temporary method
15076         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15077         (LFUN_MESSAGE): implement
15078         (LFUN_MESSAGE_PUSH): implement
15079         (LFUN_MESSAGE_POP): implement
15080         (initMiniBuffer): the initial/defualt minibuffer message.
15081
15082         * lyxfont.[Ch]: inline some more getters
15083
15084         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15085
15086         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15087
15088         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15089         (AutoSave): use LFUN_MESSAGE
15090         (Reconfigure): ditto
15091
15092         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15093
15094         * figureForm.C: use LFUN_MESSAGE
15095
15096         * converter.C (runLaTeX): use LFUN_MESSAGE
15097
15098         * bufferview_funcs.C: use LFUN_MESSAGE
15099         (Melt): ditto
15100         (changeDepth): ditto
15101
15102         * bufferparams.h: use boost::
15103
15104         * bufferlist.h: inherit privately from noncopyable
15105
15106         * bufferlist.C (loadLyXFile): remove some commented code.
15107
15108         * buffer.C (runChktex): use LFUN_MESSAGE
15109
15110         * ShareContainer.h: inherit privately from noncopyable
15111
15112         * ParagraphParameters.[hC] (depth): inline it.
15113
15114         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15115         methods.
15116         (message): new method
15117         (messagePush): ditto
15118         (messagePop): ditto
15119         (show): init minibuffer
15120         (showState): direct call
15121
15122         * LaTeX.[Ch]: inherit privately from noncopyable
15123         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15124         instead of WriteStatus.
15125
15126         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15127
15128         * BufferView_pimpl.C (buffer): don't init minibuffer
15129         (workAreaButtonPress): use LFUN_MESSAGE
15130         (workAreaButtonRelease): ditto
15131         (savePosition): ditto
15132         (restorePosition): ditto
15133         (MenuInsertLyXFile): ditto
15134         (workAreaExpose): don't init minibuffer
15135         (update): remove commented code, simplify
15136
15137         * BufferView2.C (openStuff): use LFUN_MESSAGE
15138         (toggleFloat): ditto
15139         (menuUndo): ditto
15140         (menuRedo): ditto
15141         (copyEnvironment): ditto
15142         (pasteEnvironment): ditto
15143         (copy): ditto
15144         (cut): ditto
15145         (paste): ditto
15146         (gotoInset): ditto
15147         (updateInset): remove some commented code
15148
15149         * lastfiles.h: inherit privately from noncopyable
15150         * layout.h: ditto
15151         * lyx_gui.h: ditto
15152         * lyx_main.h: ditto
15153         * lyxlex.h: ditto
15154         * lyxlex_pimpl.h: ditto
15155
15156         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15157         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15158         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15159
15160         * LyXAction.h: inherit privately from noncopyable, add methods
15161         func_begin, func_end, returning iterators to the func map.
15162
15163         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15164         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15165         (func_begin): new method
15166         (func_end): new method
15167
15168         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15169         and not)
15170         (copySelection): ditto
15171         (pasteSelection): ditto
15172
15173         * BufferView.C: whitespace change
15174         * BufferView.h: inherit privately from noncopyable
15175
15176 2001-04-16  Allan Rae  <rae@lyx.org>
15177
15178         * tabular-old.C (l_getline):
15179         * spellchecker.C (sc_check_word):
15180         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15181         an unrecognised preprocessor directive.  So ensure they're wrapped.
15182
15183 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * src/exporter.C (Export): Give an error message when path to file
15186         contains spaces.
15187
15188 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15189
15190         * LaTeX.C (deplog): Always check that foundfile exists.
15191
15192 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * lyx_main.h:
15195         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15196
15197 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * tabular.[Ch] (getLabelList): implement new method
15200
15201         * minibuffer.h: comment ouf setTiimer
15202
15203         * minibuffer.C (ExecutingCB): constify res
15204         (peek_event): constify s
15205         (Set): constify ntext
15206         (Init): constify nicename
15207
15208         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15209
15210         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15211         (savePosition): use two params to Minibuffer::Set
15212         (restorePosition): ditto
15213
15214 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15215
15216         * lyx_main.C: include language.h
15217
15218         * Makefile.am (lyx_main.o): add language.h
15219
15220 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * exporter.C:
15223         * paragraph.C:
15224         * screen.C:
15225         * tabular.C:
15226         * CutAndPaste.C: include gettext.h
15227
15228         * lyxfont.h: remove old hack with ON and OFF.
15229
15230         * lyxparagraph.h:
15231         * lyxfont.h: do not include language.h...
15232
15233         * BufferView2.C:
15234         * LaTeXFeatures.C:
15235         * Painter.C:
15236         * bufferview_funcs.C:
15237         * font.C:
15238         * lyxfont.C:
15239         * text.C:
15240         * text2.C:
15241         * trans_mgr.C:
15242         * paragraph.C: ... but do it here instead
15243
15244 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15245
15246         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15247
15248         * tabular.C: small reformat
15249
15250         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15251         NEW_INSETS version
15252         (GetChar): ditto
15253         (BreakParagraph): ditto
15254         (SetOnlyLayout): ditto
15255         (SetLayout): ditto
15256
15257         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15258         with one arg less.
15259
15260         * lastfiles.C: removed most using decl, add std:: where needed
15261
15262         * buffer.C: ws changes
15263
15264         * MenuBackend.C (class compare_format): put into anon namespace
15265         (expand): constify label, names, action, action2
15266         (expand):
15267
15268         * text.C (SingleWidth): constify font
15269         (IsBoundary): constify rtl2
15270         (GetVisibleRow): constify ww
15271
15272         * LaTeX.C (deplog): constify logfile
15273
15274         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15275         start_x, end_x
15276         (workAreaExpose): constify widthChange, heightChange
15277
15278         * lyxrow.C (par): moved
15279         (height): moved
15280         (next): moved
15281         * lyxrow.h: as inlines here
15282
15283         * lyxfont.h (shape): moved from lyxfont.C
15284         (emph): moved from lyxfont.C
15285
15286         * lyxfont.C (LyXFont): use initialization list for all
15287         constructors
15288         (shape): move to lyxfont.h as inline
15289         (emph): move to lyxfont.h as inline
15290
15291
15292 2001-04-04  Juergen Vigna  <jug@sad.it>
15293
15294         * vspace.C: had to include stdio.h for use of sscanf
15295
15296 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15297
15298         * BufferView.h:
15299         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15300         independent of xforms.
15301
15302 2001-04-02  Juergen Vigna  <jug@sad.it>
15303
15304         * spellchecker.C: fixed namespace placing!
15305
15306 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15307
15308         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15309         the LyXParagraph * is 0.
15310
15311 2001-03-29  Juergen Vigna  <jug@sad.it>
15312
15313         * vspace.C: added support for %, c%, p%, l%.
15314         (stringFromUnit): added helper function.
15315         (asLatexString): changed to give right results for the %-values.
15316
15317         * buffer.C: convert the widthp in a width%.
15318
15319 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15322         figureForm.[Ch].
15323
15324         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15325         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15326
15327         * lyx_cb.[Ch]: see above.
15328
15329         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15330         form1.[Ch].
15331
15332         * form1.[Ch]:
15333         * lyx.[Ch]: replaced by figure_form.[Ch].
15334
15335         * lyx_gui.C:
15336         * lyx_gui_misc.C:
15337         * lyxfunc.C: changed headers associated with above changes.
15338
15339 2001-03-27  Juergen Vigna  <jug@sad.it>
15340
15341         * BufferView_pimpl.C: set the temporary cursor right!
15342
15343 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15344
15345         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15346
15347 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15348
15349         * LString.h: removed "using std::getline"!
15350
15351         * BufferView_pimpl.C (Dispatch): changes due to changes in
15352         InsetInclude::Params.
15353
15354         * buffer.C (tag_name): removed redundant break statements as they were
15355         producing lots of warnings with my compiler.
15356
15357 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * LString.h: add "using std::getline" when using the real <string>.
15360
15361 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15362
15363         * buffer.C: removed bitset usage.
15364         PAR_TAG moved to an anonymous name space.
15365         (tag_name): new funtion, also in the anonymous namespace.
15366         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15367         (makeDocBookFile): clean code. Completed transition from string arrays
15368         to string vectors.
15369         (SimpleDocBookOnePar): code clean.
15370
15371 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15372
15373         * tabular.C: add some comments.
15374
15375 2001-03-22  Juergen Vigna  <jug@sad.it>
15376
15377         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15378         compatibility read a bit and fixed bug with minipage in different
15379         depth.
15380
15381 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15382
15383         * buffer.C (pop_tag): removed.
15384         (push_tag): removed.
15385         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15386         array replaced with vector. Added support for CDATA sections.
15387         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15388         at any nest level.
15389         (makeDocBookFile): XML conformant declaration of CDATA section,
15390         fixed bug related to <emphasis> in the first paragraph char.
15391         (sgmlOpenTag): exclude empty tags.
15392         (sgmlCloseTag): ditto.
15393
15394         * buffer.h (pop_tag): removed.
15395         (push_tag): removed.
15396
15397 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15398
15399         * language.h (Languages): added size_type and size().
15400
15401 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15402
15403         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15404         response on compability reading of minipages. One probliem is that
15405         the old usage of minipages was «flertydig»
15406
15407         * several files here and in subdirs: don't use static at file
15408         scope use anon namespaces instead.
15409
15410 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15411
15412         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15413         LaTeX output. This is necessary for Literate document
15414         processing.
15415
15416 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15417
15418         * buffer.C: insert hfill when needed.
15419
15420         * tabular.C (l_getline): use string::erase, small whitespace change.
15421
15422         * BufferView_pimpl.C: try the anon namespace.
15423         * WorkArea.C: ditto
15424
15425 2001-03-16  Juergen Vigna  <jug@sad.it>
15426
15427         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15428         otherwise it won't open options-dialogs.
15429
15430         * buffer.C: honor pextraWidth(p) on converting minipages.
15431
15432         * tabular.C (l_getline): changed the functions to strip trailing \r.
15433
15434 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15435
15436         * BufferView_pimpl.C:
15437         * minibuffer..C: added "using SigC::slot" declaration.
15438
15439 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15440
15441         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15442
15443         * text2.C: ditto
15444
15445         * text.C: ditto
15446
15447         * paragraph.C: ditto
15448
15449         * lyxtext.h: NO_PEXTRA
15450
15451         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15452
15453         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15454         * ParameterStruct.h: ditto
15455         * ParagraphParameters.h: ditto
15456         * lyxparagraph.h: ditto
15457
15458 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15459
15460         * buffer.C: add compability for minipage alignment.
15461         (latexParagraphs): remove unwanted pextra check.
15462
15463         * several files: remove CXX_WORKING_NAMESPACES
15464
15465         * buffer.C (pop_tag): tie is in namespace boost
15466
15467         * BufferView.h: noncopyable is in namespace boost
15468         * lyxlex.h: ditto
15469         * lyx_main.h: ditto
15470         * lyx_gui.h: ditto
15471         * layout.h: ditto
15472         * lastfiles.h: ditto
15473         * bufferlist.h: ditto
15474         * ShareContainer.h: ditto
15475         * LyXView.h: ditto
15476         * LyXAction.h: ditto
15477         * LaTeX.h: ditto
15478
15479 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15480
15481         * Merging changes from BRANCH_MVC back into HEAD.
15482
15483         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15484
15485 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15486
15487         * BufferView_pimpl.C: change from intl.C
15488
15489         * combox.h:
15490         * combox.C:
15491         * Makefile.am: move combox.*
15492
15493         * form1.h:
15494         * form1.C:
15495         * lyx_gui.C:
15496         * intl.h:
15497         * intl.C: remove dialog (covered by prefs)
15498
15499 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * lyxfunc.C (Dispatch): removed redundant break statement.
15502
15503 2001-03-14  Juergen Vigna  <jug@sad.it>
15504
15505         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15506
15507 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15508
15509         * buffer.C: add hack to fix compability reading of minipages.
15510
15511 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15512
15513         * buffer.C (getLists): Cleanup.
15514
15515 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15516
15517         * lyxfont.C (update): don't honor toggleall on font size.
15518
15519 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15520
15521         * bmtable.c:
15522         * bmtable.h:
15523         * Makefile.am: moved to frontends/xforms/
15524
15525         * lyx_gui_misc.C:
15526         * lyxfunc.C:
15527         * BufferView_pimpl.C: changes for moved mathpanel
15528
15529 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * gettext.h: fix gettext_init() in --disable-nls
15532
15533 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15536
15537 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15538
15539         * lyx.C:
15540         * lyx.h: strip external form
15541
15542 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15543
15544         * BufferView_pimpl.C: add comment, destroySplash()
15545
15546 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15547
15548         * BufferView_pimpl.C:
15549         * LyXAction.C:
15550         * buffer.C:
15551         * commandtags.h:
15552         * lyxfunc.C: use re-worked insetinclude
15553
15554 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15555
15556         * buffer.C: add using std::stringstream.
15557
15558         * lyx_cb.C: readd using std::ios.
15559
15560         * buffer.C: add using std::map.
15561
15562         * BufferView_pimpl.C: add using std::vector.
15563
15564         * ShareContainer.h: add std:: to swap.
15565
15566         * buffer.h: add some typedefs
15567         * buffer.C (getLists): use them
15568         (getLists): renamed from getTocList.
15569         add a counter for the different float types and use it in the
15570         generated string.
15571         (getLists): use the same counter for the NEW_INSETS and the "non"
15572         NEW_INSETS
15573
15574         * lyx_cb.h: remove unused items, includes, using etc.
15575
15576         * ShareContainer.h: remove some commented code, add more comments
15577         and "documentation".
15578
15579 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15580
15581         * buffer.C (getTocList): make the list also when NEW_INSETS is
15582         defined.
15583
15584         * buffer.h: remove TocType
15585
15586         * buffer.C (getTocList): change to return a map<string,
15587         vector<TocItem> >, implement for dynamic number of list.
15588
15589         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15590         * text2.C (PasteSelection): adjust
15591         * CutAndPaste.C (pasteSelection): adjust
15592
15593         * FloatList.C (FloatList): update from the new_insets branch.
15594         * Floating.[Ch]: ditto
15595         * LaTeXFeatures.C: ditto
15596         * buffer.C: ditto
15597         * lyxlex_pimpl.C: ditto
15598
15599         * paragraph.C (Last): remove when NEW_INSETS is defined.
15600
15601         * other file: changes because of the above.
15602
15603 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15604
15605         * lyxparagraph.h: rename next to next_, previous to previous_,
15606         make them private for NEW_INSETS. Rename Next() to next(),
15607         Previous() to previous().
15608
15609         * other files: changes because of the above.
15610
15611 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * BufferView.h:
15614         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15615         problem.
15616
15617 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * main.C (main): pass lyx_localedir to gettext_init().
15620
15621         * gettext.h: remove locale_init and gettext_init macros
15622
15623         * gettext.C (locale_init): new function
15624         (gettext_init): new function
15625
15626         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15627         setlocale().
15628
15629 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15630
15631         * Moved credits to frontends:
15632         * credits.[Ch]: removed
15633         * credits_form.[Ch]: removed
15634         * lyx_gui_misc.C: remove credits stuff
15635         * Makefile.am:
15636
15637 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15638
15639         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15640
15641         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15642         unneeded destructor.
15643
15644         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15645         a standalone pointer again.
15646
15647         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15648
15649 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15650
15651         * Makefile.am:
15652         * filedlg.h:
15653         * filedlg.C:
15654         * LyXAction.C:
15655         * ToolbarDefaults.C:
15656         * bufferlist.C:
15657         * commandtags.h:
15658         * form1.C:
15659         * form1.h:
15660         * lyx_cb.C:
15661         * lyx_cb.h:
15662         * lyxfunc.h:
15663         * lyxfunc.C:
15664         * BufferView_pimpl.C: use new file dialog in GUII
15665
15666         * lyx_cb.h:
15667         * lyx_cb.C: remove LayoutsCB to Toolbar
15668
15669 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * ShareContainer.h (get): add std:: qualifier
15672
15673 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * ShareContainer.h: define a proper ShareContainer::value_type
15676         type (and use typename to please compaq cxx)
15677
15678 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15679
15680         * lyxparagraph.h: move serveral local vars to
15681         ParameterStruct/ParagraphParameters., use ShareContainer in
15682         FontTable., make vars in FontTable private and add getter and
15683         setter.
15684
15685         * paragraph.C: changes because of the above.
15686
15687         * lyxfont.h: remove copy constructor and copy assignment. (the
15688         default ones is ok), move number inside FontBits. move inlines to
15689         lyxfont.C
15690
15691         * lyxfont.C: add number to initializaton of statics, move several
15692         inlines here. constify several local vars. some whitespace
15693         cleanup. Dont hide outerscope variables.
15694
15695         * Spacing.h: add two new constructors to match the set methods.
15696
15697         * ShareContainer.h: new file, will perhaps be moved to support
15698
15699         * ParameterStruct.h: new file
15700
15701         * ParagraphParameters.h: new file
15702
15703         * ParagraphParameters.C: new file
15704
15705         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15706         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15707
15708         * BufferView_pimpl.C: ParagraphParameter changes.
15709         * buffer.C: Likewise.
15710         * bufferview_funcs.C: Likewise.
15711         * text.C: Likewise.
15712         * text2.C: Likewise.
15713
15714 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * lyxfind.C (LyXReplace): do not redefine default argument in
15717         implementation.
15718         (IsStringInText): ditto
15719         (SearchForward): ditto
15720         (SearchBackward): ditto
15721
15722 2001-03-06  Juergen Vigna  <jug@sad.it>
15723
15724         * lyxfind.C (IsStringInText): put parentes around expressions.
15725
15726 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15727
15728         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15729
15730 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15731
15732         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15733
15734         * stl_string_fwd.h: add comment
15735
15736         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15737
15738         * tabular.h:
15739         * tabular.C: remove unused DocBook methods
15740
15741         * intl.C:
15742         * language.C:
15743         * paragraph.C:
15744         * buffer.C:
15745         killed DO_USE_DEFAULT_LANGUAGE
15746
15747 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15748
15749         * lyx_gui.C: do not include language.h.
15750
15751         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15752         arguments in function implementation.
15753
15754 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15755
15756         * BufferView_pimpl.C: add <ctime>
15757
15758 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15759
15760         * BufferView_pimpl.C: add using std::find_if
15761
15762 2001-02-27  José Matos  <jamatos@fep.up.pt>
15763
15764         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15765         by OnlyPath.
15766
15767 2001-02-11  José Matos  <jamatos@fep.up.pt>
15768
15769         * buffer.C (makeDocBookFile): command styles now have a parameter as
15770         "title" by default.
15771
15772 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15773
15774         * layout_forms.[Ch]: removed
15775         * lyx_cb.[Ch]: out character
15776         * lyx_gui.C: out character
15777         * lyx_gui_misc.C: out character
15778         * bufferview_funcs.C: : out character,
15779         added toggleall as parameter in ToggleAndShow
15780
15781 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15784
15785         * text2.C (SetCurrentFont): Disable number property at boundary.
15786
15787 2001-02-26  Juergen Vigna  <jug@sad.it>
15788
15789         * lyxfunc.C (getStatus): added a string argument override function so
15790         that this is correctly called from LyXFunc::Dispatch if it contains a
15791         do_not_use_argument which is used!
15792         (Dispatch): added check for "custom" export and call appropriate func.
15793
15794 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * lyxrc.C: Add language_command_local, language_use_babel and
15797         language_global_options.
15798
15799         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15800
15801         * buffer.C (makeLaTeXFile): Use language_use_babel and
15802         language_global_options.
15803
15804 2001-02-23  Juergen Vigna  <jug@sad.it>
15805
15806         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15807         which works with LyXText and putted it inside BufferView. Here now we
15808         only call for that part the BufferView::Dispatch() function.
15809
15810         * BufferView.C (Dispatch): added.
15811
15812         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15813         functions which needs to use a LyXText over from LyXFunc.
15814         (MenuInsertLyXFile): added
15815         (getInsetByCode): added
15816         (moveCursorUpdate): added
15817         (static TEXT): added
15818
15819 2001-02-22  Juergen Vigna  <jug@sad.it>
15820
15821         * BufferView_pimpl.C (update): call a status update to see if LyXText
15822         needs it.
15823
15824 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15825
15826         * vc-backend.C (revert): implement for CVS
15827         (getLog): implement for CVS
15828
15829 2001-02-20  Juergen Vigna  <jug@sad.it>
15830
15831         * text2.C (ClearSelection): added BufferView param for inset_owner call
15832
15833         * lyxfunc.C (TEXT): added this function and use it instead of
15834         directly owner->view()-text of getLyXText().
15835
15836 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15837
15838         * src/layout_forms.C: out preamble
15839         * src/layout_forms.h: out preamble
15840         * src/lyx_cb.C: out preamble
15841         * src/lyx_cb.h: out preamble
15842         * src/lyx_gui.C: out preamble
15843         * src/lyx_gui_misc.C: out preamble
15844         * src/lyxfunc.C: connect with guii preamble
15845
15846 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15849
15850 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15851
15852         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15853         whether to run bibtex.
15854
15855 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15856
15857         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15858
15859 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15860
15861         * Makefile.am (lyx_SOURCES): removed bibforms.h
15862
15863         * vspace.h: doxygen
15864
15865         * text.C (GetVisibleRow): make several local vars const
15866
15867         * tabular.C: small cleanup.
15868
15869         * lyxserver.C (callback): use compare instead of strncmp
15870
15871         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15872         inlines to after class or to paragraph.C
15873
15874         * lyxfont.h: remove friend operator!=
15875
15876         * converter.h: move friend bool operator< to non friend and after
15877         class def.
15878
15879         * combox.h: small cleanup
15880
15881         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15882         to inlines after class def.
15883
15884         * buffer.C (pop_tag): use string operations instead of strcmp
15885
15886         * bmtable.c: doxygen, small cleanup
15887
15888         * LaTeX.h: remove friend operator==
15889
15890 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15891
15892         * screen.C:
15893         * lyxrc.[Ch]:
15894         * lyxfunc.C:
15895         * lyxfont.[Ch]:
15896         * lyx_cb.C:
15897         * intl.[Ch]:
15898         * commandtags.h:
15899         * buffer.C:
15900         * WorkArea.[Ch]:
15901         * LyXAction.C:
15902         * BufferView_pimpl.C:
15903         * BufferView.[Ch]: remove cruft
15904
15905 2001-02-14  Juergen Vigna  <jug@sad.it>
15906
15907         * lyxfunc.C: removed #if 0 unused code
15908
15909         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15910
15911         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15912
15913         * text2.C (SetSelection): added a BufferView * parameter
15914
15915 2001-02-13  Juergen Vigna  <jug@sad.it>
15916
15917         * lyxfunc.C (Dispatch): fixed protected blank problem.
15918         * BufferView2.C (protectedBlank): added LyxText * parameter.
15919
15920         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15921         (AppendColumn): same as above for column_info.
15922
15923         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15924         (moveCursorUpdate): use a LyXText param for support of InsetText.
15925
15926         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15927         (tripleClick): ditto
15928
15929         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15930
15931         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15932
15933         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15934
15935         * text2.C (SetSelection): set correct update status if inset_owner
15936         (ToggleFree): ditto
15937
15938 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15939
15940         * tabular.C: remove some commented code.
15941
15942 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15943
15944         * BufferView_pimpl.C: call hideSplash()
15945
15946         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15947
15948         * include_form.h:
15949         * bibforms.h: remove
15950
15951         * lyxfunc.C:
15952         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15953           add LFUN_CHILD_CREATE
15954
15955         * counters.h: fix tiny typo
15956
15957         * lyx_cb.C:
15958         * lyx.h:
15959         * lyx_gui.C:
15960         * lyx.C: move splash to frontends/xforms/
15961
15962         * lyx_gui_misc.C: move Include and Bibform to frontends
15963
15964         * lyxvc.h: clarify comment
15965
15966         * vspace.C: tiny housekeeping
15967
15968 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15969
15970         * text.C (PrepareToPrint): RTL Fix.
15971
15972         * paragraph.C (GetUChar): New method.
15973         (String):  Use GetUChar.
15974
15975         * buffer.C (asciiParagraph): Use GetUChar.
15976
15977 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15978
15979         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15980
15981 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15982
15983         * buffer.h:
15984         * buffer.C: rename to getLogName(), handle
15985           build log / latex log nicely
15986
15987 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * MenuBackend.C:
15990         * MenuBackend.h: remove support for reference menuitem type.
15991
15992 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * BufferView_pimpl.C: housekeeping
15995         * BufferView_pimpl.h:
15996         * LyXView.h:
15997         * Makefile.am:
15998         * Timeout.C:
15999         * Timeout.h:
16000         * minibuffer.h: move Timeout GUI-I
16001
16002 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16003
16004         * lyxrc.C (read): Update converters data-structures.
16005
16006 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16007
16008         * LaTeX.h (operator!=): add operator != for Aux_Info
16009
16010 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16011
16012         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16013
16014         * LaTeXLog.C: deleted, useful code moved to Buffer
16015
16016         * buffer.h:
16017         * buffer.C: new function getLatexLogName()
16018
16019         * lyx_gui_misc.C:
16020         * lyx_gui.C:
16021         * lyxvc.C:
16022         * lyxvc.h:
16023         * lyxfunc.C: use frontends for LaTeX and VC logs
16024
16025 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16026
16027         * LaTeX.h: yet another std:: that Allan forgot.
16028
16029         * Variables.C (set): renamed from isset(), because this clashes
16030         with some HP-UX macros (grr).
16031
16032 2001-02-06  Allan Rae  <rae@lyx.org>
16033
16034         * LaTeX.h: Another bug fix.  Missing std:: this time.
16035
16036 2001-02-04  Allan Rae  <rae@lyx.org>
16037
16038         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16039         floats problem. I've left it commented out because it's not quite
16040         correct.  It should also test that the current object is a table or
16041         figure inset.  But I haven't gotten around to figuring out how to do
16042         that.  I *think* it'll be something like: "table" == inset.type()
16043
16044         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16045         bool.
16046
16047 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16048
16049         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16050         all the citation/databases/styles in the auxilary file.
16051         (run): Rerun latex if there was a babel language error.
16052
16053 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16054
16055         * text.C (Backspace): Preserve the font when changing newline char
16056         with a space.
16057         (BreakParagraph): If the cursor is before a space, delete the space.
16058
16059         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16060
16061 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16062
16063         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16064         new argument (code).
16065         (ChangeCitationsIfUnique): New method.
16066
16067         * paragraph.C (GetPositionOfInset): Handle bibkey.
16068
16069 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * BufferView_pimpl.h: change type of Position::par_pos to
16072         LyXParagraph::size_type.
16073
16074 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * BufferView_pimpl.C (savePosition, restorePosition): Write
16077         messages to minibuffer.
16078
16079 2001-01-28  José Matos  <jamatos@fep.up.pt>
16080
16081         * buffer.C (makeDocBookFile): adds support for document language.
16082         A silly restriction on the name of LatexCommand types where removed.
16083         Added support for CDATA sections, allows to chars unescaped, used
16084         among others in code, to avoid escape < and >.
16085
16086 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16087
16088         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16089         saved positions instrad of a stack. Furthermore, a position is
16090         stored using paragraph id/paragraph position.
16091
16092         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16093         Remove LFUN_REF_BACK.
16094
16095 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16096
16097         * converter.C (dvipdfm_options): New method.
16098
16099 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16100
16101         * vspace.C (isValidLength): Fix for empty input string.
16102
16103 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * LyXAction.C (init): change description of LFUN_FIGURE to
16106         "Insert Graphics"
16107
16108 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * LaTeX.C: add using directive
16111
16112 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16113
16114         * MenuBackend.C (expand): Fix the sorting of the formats.
16115
16116 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16117
16118         * lyx_main.C: tiny error message fix
16119
16120 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16123         calling fl_initialize(). This fixes the problem with ',' as
16124         decimal separator in text files.
16125
16126 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16127
16128         * trans.C (process): Fix the keymap bug.
16129
16130 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * LaTeX.C (scanAuxFiles): New method. Provides support for
16133         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16134         (scanLogFile) Scan for "run BibTeX" messages.
16135
16136         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16137         OT1 font encoding. Also, load the aecompl package if the ae
16138         package is loaded.
16139
16140         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16141
16142 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16143
16144         * texrow.C (increasePos): turn two error messages into debug
16145         messages.
16146
16147 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * LaTeX.C (scanAux): Handle the \@input macro.
16150         (runBibTeX): Use scanAux().
16151
16152         * language.C (latex_options_): New field.
16153
16154         * LaTeXFeatures.C (getMacros): Add language macros.
16155
16156         * buffer.C (makeLaTeXFile): Small fix.
16157
16158 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16159
16160         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16161
16162         * text2.C: add a using directive.
16163
16164 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * BufferView2.C:
16167         * lyx_gui_misc.h:
16168         * lyxfr1.C:
16169         * lyxfunc.C: kill LyXBell.
16170
16171 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16172
16173         * text.C (IsBoundary): Remove the error message
16174
16175         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16176
16177         * lyxrc.C (setDefaults): Correct initialization value for
16178         font_norm_type.
16179
16180 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16181
16182         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16183         gotoError().
16184
16185         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16186         and GotoNextNote().
16187
16188         * src/LyXAction.C: Added reference-next.
16189
16190         * text.C (InsertChar): Use contains instead of strchr.
16191
16192         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16193
16194 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16195
16196         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16197         alignment commands (when needed).
16198
16199         * text.C (InsertChar): Add ':' to number separator chars.