]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e80afd921daa482b413e5432e9dba6c775a8a962
[lyx.git] / src / ChangeLog
1 2004-10-25  José Matos  <jamatos@lyx.org>
2
3         * sgml.C (escapeString): import the require boosts header file for
4         tie, and avoid a signed unsigned comparison.
5
6 2004-10-25  José Matos  <jamatos@lyx.org>
7
8         * sgml.h: add #include <string>
9
10 2004-10-25  José Matos  <jamatos@lyx.org>
11
12         * sgml.[Ch] (escapeString): new function to escape all the string.
13
14 2004-10-24  José Matos  <jamatos@lyx.org>
15
16         * paragraph.[Ch] (getFirstWord): new function to get the first
17         word. Useful for description.
18         (simpleDocBookOnePar): remove depth argument, add another that
19         says where to start the paragraph.
20
21         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
22         use the new functions to fix cleanly the support for descriptions.
23         
24 2004-10-24  José Matos  <jamatos@lyx.org>
25
26         * buffer.C (makeLinuxDocFile, makeDocBookFile):
27         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
28         * output_linuxdoc.C (linuxdocParagraphs):
29         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
30         add buffer as argument.
31
32 2004-10-24  José Matos  <jamatos@lyx.org>
33
34         * output_docbook.C (makeEnvironment, searchEnvironment): place
35         CDATA inside paragraphs and fix scope for listitems.
36
37 2004-10-24  José Matos  <jamatos@lyx.org>
38
39         * output_docbook.C: remove using statement for stack.
40
41 2004-10-23  José Matos  <jamatos@lyx.org>
42
43         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
44         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
45         docbook. The new scheme is recursive and makes use of iterators, the
46         same as latex export works.
47         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
48         directly with the paragraph contents. This code was moved up to
49         output_docbook.C (docbookParagraphs).
50         * sgml.C (openTag, closeTag): removed unneeded newlines.
51         (closeEnvTags) removed.
52
53 2003-10-23  André Pönitz  <poenitz@gmx.net>
54
55         * undo.C (textUndoOrRedo):
56         * dociterator.C (asDocIterator): work around crash
57
58         * cursor.C (getStatus): replace ASSERT by more verbose error message
59           and manual correction of the problem. Should increase stability
60           while providing more sensible information.
61
62 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
65
66         * bufferlist.C (previous, next): new methods
67
68         * lfuns.h: 
69         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
70
71 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
72
73         * buffer.C (makeDocBookFile): add dsssl stylesheet control
74         entities to preamble.
75
76 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * messages.C (Pimpl): strip off translation context information
79
80 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
83         the cursor is correct (bug 1694)
84
85 2004-10-13  José Matos  <jamatos@lyx.org>
86
87         * output_docbook.C (docbookParagraphs): fix closing tags in the
88         end of the document. 
89
90 2004-10-09  José Matos  <jamatos@lyx.org>
91
92         * buffer.C: format up to 237.
93         * bufferparams.C (write): use tostr to convert booleans to strings.
94         
95 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
98
99 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * LaTeX.C: implement use of babel language in xindy.
102
103 2004-10-05  José Matos  <jamatos@lyx.org>
104
105         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
106         Add new translators to help reading and writing the lyx file.
107
108 2004-10-05  José Matos  <jamatos@lyx.org>
109
110         * ParagraphParameters.C (read):
111         * text.C (readParToken): replace nexToken by more appropriate lex
112         methods.
113
114 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
115
116         * LaTeX.C (runMakeIndex):
117         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
118         (usually 'makeindex') configurable.
119
120         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
121         with a variable rather than with a number.
122
123 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * output_latex.C (TeXOnePar): make sure font setting is the first
126         thing that gets output (and the last at the end). Should fix bug
127         1404.
128
129 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
130
131         * pch.h: use proper signal include
132
133         * LaTeX.h: Use preferred calling of Boost.Signal
134         * buffer.h: ditto
135
136 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
137
138         * pch.h: dont include <boost/function/function0.hpp>
139
140         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
141
142         * paragraph_pimpl.h: remove usage of ShareContainer
143
144         * paragraph_pimpl.C: remove initialization of ShareContainer.
145
146 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         Fix bug #1666
149
150         * BufferView.C (putSelectionAt): change the semantics when
151         backwards == true: now, this just swaps cursor and anchor wrt the
152         forward case
153
154         * BufferView.h (putSelectionAt): add some documentation
155
156         * lyxfind.C (findBackwards): rewrite using while(). In particular,
157         make sure backwardChar is done at least once (to avoid getting
158         stuck)
159         (findNextChange): use putSelectionAt in the forward direction
160         (operator()): use Paragraph::isWord
161
162 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * Spacing.C (set): c_str fix
165
166 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * lyx_cb.C (Reconfigure): quote the name of configure script in
169         case it contains spaces
170
171 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
172
173         * client: new dir
174
175         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
176         (BOOST_LIBS): use top_buildir when looking for the file
177
178 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * pch.h: do not use include boost/format.hpp, multiple symbols
181                 will result (gcc bug)
182
183
184 2004-08-23  José Matos  <jamatos@lyx.org>
185
186         * bufferparams.C (readToken): fix reading of the author field.
187
188 2004-08-20  José Matos  <jamatos@lyx.org>
189
190         * lyxrc.C: remove support/translator.h inclusion since it is not used.
191
192 2004-08-20  José Matos  <jamatos@lyx.org>
193
194         * lyxlex.[Ch] (findToken): remove function.
195
196         * ParagraphParameters.C (findToken):
197         * bufferparams.C (findToken): replace call for previous function
198         with local copy. This local function has one more argument, the
199         read string argument.
200
201 2004-08-16  José Matos  <jamatos@lyx.org>
202
203         * ParagraphParameters.C (write):
204         * Spacing.C (writeFile):
205         * bufferparams.C (writeLaTeX):
206         * lyx_cb.C (Reconfigure):
207         * paragraph.C (write):
208         * tabular.C (write): remove unnecessary space at end of line.
209
210
211 2004-08-16  José Matos  <jamatos@lyx.org>
212
213         * text.C (readParagraph): remove debug message.
214
215 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
218         crash
219
220         * output_plaintext.C (asciiParagraph): set depth correctly
221
222         * outputparams.h: add member depth
223
224         * paragraph_funcs.C (ownerPar): remove.
225
226         * text2.C (setCounter): remove first_pit; comment out some
227         non-working code that uses ownerPar
228
229         * BufferView.C (getParentLanguage): remove. Not used anymore, and
230         uses ownerPar
231
232 2004-08-16  José Matos  <jamatos@lyx.org>
233
234         * text.C (readParToken, readParagraph, read): report all unknown tokens.
235         For the same level of importance use the same chanel to report problems.
236         (read): add code to deal with \begin_body and \end_body.
237
238
239 2004-08-15  José Matos  <jamatos@lyx.org>
240
241         * lyxlex.C (getString): fix comment, buffer::readBody is now
242         buffer:readDocument.
243
244         * tex-strings.C (string_papersize): Default -> default,
245         Custom -> custom, for consistency with other options.
246
247 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
248
249         * pch.h: new file
250
251         * Makefile.am: support pch
252
253 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * text.C (readParToken): remove the static LyXFont variable and
256         pass it as a parameter instead. This fixes a nasty bug where an
257         inset will be inserted with a bad font in some situations
258         (readParagraph): adapt
259
260         * text2.C (setCounter): reduce number of calls to pars_[pit]
261
262         * text.C (singleWidth): add an assert, fix a test
263
264         * rowpainter.C (paintText): reduce number of calls to singleWidth
265
266         * paragraph.C (isHfill):
267         (isNewline): ws only
268
269 2004-08-14  André Pönitz  <poenitz@gmx.net>
270
271         * text.C:
272         * text2.C:
273         * rowpainter.C:
274         * lyxtext.h (several functions): use a Paragraph & argument
275         instead of par_type
276
277 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * metricsinfo.h: add a new field ltr_pos to PainterInfo
280
281         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
282
283         * text.C (singleWidth): remove useless test
284
285 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * tabular.h: remove bogus comments
288
289         * tabular.C (getDescentOfRow):
290         (isPartOfMultiColumn): add assertions
291
292         * lyxlength.C (inPixels): remove #warning
293
294 2004-08-14  André Pönitz  <poenitz@gmx.net>
295
296         * paragraph.h: inline getChar()
297
298         * BufferView.h: remove unused declarations
299
300 2004-08-14  José Matos  <jamatos@lyx.org>
301
302         * Buffer.[Ch] (readDocument): new name for old readBody.
303         * Buffer.C: new file format, new keywords: \begin_document,
304         \begin_header, \begin_body, \end_body.
305
306         * bufferparams.C (readToken): replace all calls to lex.nextToken
307         by lex.next(). Do the same to eatLine except where really needed.
308
309         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
310         line when writing to the lyx file.
311
312         * output_plaintext.C (asciiParagraph): fix Bibliography style
313         handling.
314
315         * text.C (read): fix end of file handling.
316
317 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * MenuBackend.C (Menu::operator[]): new method to access
320         individual menu items
321         (Menu::hasFunc): new method. search for an item that corresponds
322         to a given func
323         (MenuBackend::specialMenu): new method
324         (MenuBackend::expand): if a special menu has been set, skip
325         entries whose func() appears in this menu
326
327 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
328
329         * text3.C: use Debug::DEBUG a bit more
330
331         * text.C (leftMargin): try to simplify a tiny bit change var x to
332         l_margin. Dont output the wide margins always.
333         (rightMargin): no margin in inner texts
334
335         * rowpainter.h (nestMargin): new func
336         (changebarMargin): new func
337         (rightMargin): new func
338
339         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
340         now functions.
341         (paintLast): ditto
342
343         * factory.C (createInset): modify setDrawFrame
344
345         * cursor.C: use Debug::DEBUG a bit more
346
347 2004-08-14  André Pönitz  <poenitz@gmx.net>
348
349         * coordcache.[Ch]:
350         * Makefile.am: new files to accomodate an 'external' (x,y)-position
351         cache for all insets in (at least partially) visible (top-level)
352         paragraphs.
353
354         * BufferView_pimpl.C: reset external coord cache before every update.
355         This means the coord cache only contains valid entries.
356
357 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
358
359         bug 1096
360         * BufferView_pimpl.C (getInsetByCode): move function out of class
361         and change in to a template in anon namespace. Also fix to do what
362         suits us better.
363
364 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
365
366         bug 1305
367         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
368         of char
369         (breakParagraph): rename par to par_offset and use a local
370         reference. Add code to keep the language over a rebreak.
371         (breakParagraphConservative): rename par to par_offset, use a
372         local reference
373         (mergeParagraph): ditto
374         (outerHook): ditto
375         (isFirstInSequence): ditto
376         (outerFont): rename pit to par_offset
377
378         * paragraph.C: ws change
379         * paragraph.h: ditto
380         * text3.C: ditto
381         * text.C: ditto
382
383 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
386         treatment for ']'
387
388         * paragraph.C (simpleTeXOnePar): when we have a \item with
389         optional argument, enclose the argument with curly brackets (in
390         case it contains a closing square bracket)
391
392         * text2.C (editXY):
393         * text2.C (editXY):
394         * text3.C (checkInsetHit): constify
395
396 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
399         documents (bug 1629)
400
401 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         Fix toggling of collapsable insets with the mouse (bug 1558)
404
405         * lyxfunc.C (dispatch): adapt to LCursor changes
406
407         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
408         make sure that dispatch is not invoked twice
409
410         * cursor.C (needsUpdate): new method
411         (dispatch): return void
412         (result): new method, to access the DispatchResult of the cursor.
413
414 2004-08-13  José Matos  <jamatos@lyx.org>
415
416         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
417
418 2004-08-13  André Pönitz  <poenitz@gmx.net>
419
420         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
421
422         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
423           multiple cells
424
425 2004-08-12  André Pönitz  <poenitz@gmx.net>
426
427         * text3.C: take out the 'cursor right' form insertInset and only
428         do it in those places when it is really needed. Fixes crash on
429         C-m...
430
431 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
434
435         * BufferView_pimpl.C (setBuffer): initialize the current font of
436         the underlying LyXText
437
438 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * kbsequence.C (print): use UI native formatting for menu
441         shortcuts
442
443         * text.C (insertChar): call Paragraph::insertChar with a font
444         argument (cosmetic)
445
446         * paragraph.C (insertInset, insertChar): the version that takes a
447         LyXFont argument is now a wrapper around the other one (the
448         opposite used to be true).
449
450         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
451         argument. Font setting is done in Paragraph now.
452
453 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * outputparams.h: add new members intitle and lang.
456
457         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
458         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
459
460 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * text3.C (dispatch): remove special handling of button 4 and 5,
463         it is now taken care of in the frontend code.
464
465 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
466
467         * Spacing.h: add <string> (STLPort compile fix)
468
469 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
470
471         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
472
473 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
474
475         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
476         to bool.
477
478         * converter.C (showMessage): inherit from unary_function, make
479         operator() const.
480
481         * buffer.C (writeFile): initialize retval
482
483         * InsetList.h: rename private variable list to list_
484         * InsetList.[Ch]: adjust accordingly.
485
486 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
487
488         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
489         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
490         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
491         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
492         * ParagraphParameters.C, LaTeXFeatures.C: replace
493         "support/std_sstream.h" with <sstream>
494
495 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
496
497         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
498         * lyxsocket.C (LyXServerSocket): ditto
499         (serverCallback): ditto
500
501 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
502
503         * LaTeXFeatures.C: check release date when loading jurabib.
504
505 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * lyxserver.C (startPipe): call register_socket_callback
508         (endPipe): call unregister_socket_callback
509
510 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
511
512         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
513         (LyXServerSocket): register the callback
514         (LyXServerSocket): unregister the callback
515         (fd): delete function
516         (serverCallback): improve error checking and setup the callbacks.
517         (dataCallback): change arg to fd.
518         (writeln): new func (copied fro the client socket) used for server
519         write to client.
520         (LyXDataSocket): simplify
521         (~LyXDataSocket): close ann unregiser callback
522         (server): delete function
523         (fd): delete function
524         (readln): small changes, improve some std::string usage
525         (writeln): constify a bit
526
527 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
530         Qt frontend
531
532 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * BufferView_pimpl.C (setBuffer): set the layout combox value only
535         after it has been populated
536
537 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * text2.C (insertInset): move cursor when inserting inset.
540
541 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * kbmap.C (findbindings): a couple of new methods. returns a
544         container of kb_sequence objects. The real work is done by the
545         private recursive version
546         (printbindings): uses findbindings to print out a bracketed list
547         of bindings (renamed from findbinding).
548
549         * MenuBackend.C (binding): use kb_keymap::findbindings
550
551         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
552
553 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
556
557 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * paragraph.C (isWord): return true on insets that report
560         isLetter().
561
562         * text.C (getWord): use Paragraph::isWord to decide what is in a
563         word and what is not; fix bug 1609.
564
565 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
566
567         * tex-strings.C: add "none" to string_paperpackages[], fixes
568         off-by-one-error in the paperpackage selection.
569
570         * lyxlex.[Ch]:
571         * tex-strings.[Ch]: char const * string[n]
572         -> char const * const string[]
573
574 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
577         command, return early.
578
579 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
580
581         * debug.h: add DEBUG to enum and fix size of ANY.
582
583         * debug.C: add support for Debug::DEBUG
584         (showTags): cast errorTags.level to unsigned int
585
586         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
587         (redoCurrentBuffer): ditto
588         (updateScrollbar): ditto
589         * cursor.C (dispatch): ditto
590         * text2.C (setLayout): ditto
591         (setFont): ditto
592         (updateCounters): ditto
593         (editXY): ditto
594         (deleteEmptyParagraphMechanism): ditto
595
596 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
599         annotations to cleanup the Makefile slightly.
600
601 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * lyxrc.C: do not set user_email to a default value but use empty
604         instead. The entry used to be translated, which does not work
605         since at the point where lyxrc is constructed there is no
606         translation service available
607
608         * messages.C (getLocaleDir): remove and use directly
609         lyx_localedir() instead
610
611 2004-06-02  Angus Leeming  <leeming@lyx.org>
612
613         Fix crash caused by dereferencing null pointer 'exportdata' in
614         OutputParams by creating a new ExportData variable on the heap,
615         storing it in a boost::shared_ptr.
616         The crash was triggered when generating an Instant Preview
617         of an external inset.
618
619         * Makefile.am: add outputparams.C
620
621         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
622         (c-tor): allocate memory to it.
623
624         * exporter.C (c-tor): associated changes.
625
626 2004-06-01  Angus Leeming  <leeming@lyx.org>
627
628         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
629         contains data before calling isInset(0). (Bug 1513.)
630
631 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
632
633         * exporter.C (checkOverwrite): new method
634         * exporter.C (copyFile): new method
635         * exporter.C (Export): copy referenced files to the document dir
636         * exporter.[Ch]: new class ExportedFile
637         * exporter.[Ch]: new class ExportData. Contains currently the
638         names of referenced external files
639         * outputparams.h: add exportdata member.
640
641 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
642
643         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
644         version.C-tmp
645
646 2004-05-19  Angus Leeming  <leeming@lyx.org>
647
648         * LaTeXFeatures.C:
649         * ToolbarBackend.C:
650         * bufferparams.C:
651         * lyxfunc.C: small changes due to the introduction of namespace
652         lyx::frontend and the moving of namespace biblio to lyx::biblio.
653
654 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
655
656         * text3.C (dispatch): supress update when only moving the cursor
657         * cursor.C (selHandle): remove commented code
658
659 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
660
661         * paragraph.C (startTeXParParams): correct column count
662         * CutAndPaste.C (pasteSelection): remove const_cast
663         * output_docbook.C (docbookParagraphs): remove const_cast
664         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
665         const_cast and return ParagraphList::const_iterator
666         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
667         * output_plaintext.C (writeFileAscii): remove const_cast
668         * paragraph.[Ch] (simpleTeXOnePar): make const
669         * paragraph_funcs.C (outerPar): use const iterators
670         * paragraph_pimpl.C (validate): use const iterators
671         * text.C (setHeightOfRow): use const iterators
672
673 2004-05-17  Angus Leeming  <leeming@lyx.org>
674
675         * lfuns.h:
676         * LyXAction.C (init): new LFUN_INSET_REFRESH.
677
678         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
679         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
680         if the citation engine has changed.
681
682 2004-05-14  José Matos  <jamatos@lyx.org>
683
684         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
685         if the textclass does not provide it. Have it different for sgml and
686         xml.
687         support the language of document.
688         * output_docbook.C (docbookParagraphs):
689         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
690         first anchor as the id of the paragraph, remove special case code.
691         * sgml.C (escapeChar): escape only < & >.
692
693 2004-05-14  Angus Leeming  <leeming@lyx.org>
694
695         * bufferparams.h: move biblio::CiteEngine enum here to minimize
696         dependencies on src/frontends/controllers/biblio.h. Define a
697         CiteEngine_enum wrapper class to enable the enum to be forward
698         declared.
699
700 2004-05-12  Angus Leeming  <leeming@lyx.org>
701
702         * buffer.C: up LYX_FORMAT to 234.
703         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
704         use_numerical_citations with a single biblio::CiteEngine cite_engine
705         variable.
706         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
707
708 2004-05-13  José Matos  <jamatos@lyx.org>
709
710         * converter.h:
711         * converter.C (Converter, readFlags): add xml member.
712         * outputparams.h: add XML flavor.
713         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
714
715 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * lyxfunc.C (dispatch):
718         (getStatus): fix handling of LFUN_SEQUENCE
719
720 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * debug.C (showLevel): do not forget the end-of-line marker
723
724 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * kbmap.C (read): do not stop parsing a bind file when an error
727         occurs (bug 1575)
728
729 2004-04-29  Angus Leeming  <leeming@lyx.org>
730
731         * cursor.C:
732         * factory.C:
733         * pariterator.C:
734         * text2.C: wrap a bunch of #warning statements
735         inside #ifdef WITH_WARNINGS blocks.
736
737 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * buffer.C: increment format to 233.
740
741 2004-04-28  Angus Leeming  <leeming@lyx.org>
742
743         * BufferView_pimpl.C:
744         * lyxfunc.C:
745         * text3.C:
746         s/updateToolbar()/updateToolbars()/
747         s/Toolbar.h/Toolbars.h/
748
749 2004-04-28  Angus Leeming  <leeming@lyx.org>
750
751         * BufferView.[Ch] (c-tor):
752         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
753         No longer passes these data to the WorkArea generator.
754
755 2004-04-28  Angus Leeming  <leeming@lyx.org>
756
757         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
758
759 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
760
761         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
762
763 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * output_latex.C (TeXEnvironment): make sure that there is a line
766         break before \end{foo} for the last paragraph of a document
767         (TeXOnePar): if the paragraph is at the end of the document (or
768         inset) and the language has to be reset, then make sure that the
769         line break is _before_ the language command, not after (fixes bug
770         1225); also make sure that the language reset command is the first
771         thing after the paragraph (to ensure proper nesting of
772         environments and thus fix bug 1404)
773
774 2004-04-21  John Levon  <levon@movementarian.org>
775
776         * ToolbarBackend.h:
777         * ToolbarBackend.C: make "name" be a programmatic name
778         and a gui_name field.
779
780         * lyxfunc.C: display the minibuffer on M-x
781
782 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
785         (bug 1526)
786
787 2004-04-19  Angus Leeming  <leeming@lyx.org>
788
789         * BufferView_pimpl.C (setBuffer): changed preview interface.
790
791         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
792         possible values.
793
794 2004-04-19  John Levon  <levon@movementarian.org>
795
796         * BufferView_pimpl.C:
797         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
798
799 2004-04-05  Angus Leeming  <leeming@lyx.org>
800
801         * text.C (redoParagraphs): add call to updateCounters(), thereby
802         fixing the missing "Figure #:" label from the caption of a
803         figure float.
804
805 2004-04-13  Angus Leeming  <leeming@lyx.org>
806
807         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
808         cursor is clicked out of an inset.
809
810 2004-04-13  Angus Leeming  <leeming@lyx.org>
811
812         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
813         than an InsetOld one.
814
815 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
816
817         * format.[Ch]: add editor to Format
818         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
819         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
820
821 2004-04-08  André Pönitz  <poenitz@gmx.net>
822
823         * metricsinfo.h: remove PainterInfo::width member
824
825 2004-04-08  Angus Leeming  <leeming@lyx.org>
826
827         * lyx_sty.C (boldsymbol_def): modify so that it outputs
828         "\providecommand" rather than "\newcommand", thereby preventing
829         clashes with packages that define "\boldsymbol" themselves.
830         Eg, beamer.
831
832 2004-04-08  Angus Leeming  <leeming@lyx.org>
833
834         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
835         thereby squashing an unnecessary warning.
836
837 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
838
839         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
840         setBuffer()
841
842 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
843
844         * BufferView.C (setCursor): call redoParagraph (some insets could
845         have been opened)
846         (putSelectionAt): remove the 'double update' trick
847
848         * BufferView_pimpl.C (fitCursor): call refreshPar
849         (workAreaDispatch): remove an uneeded update call
850         (dispatch): remove some manual update calls
851
852         * cursor.[Ch]: remove cached_y_, updatePos
853         (selHandle): set noUpdate when appropriate
854
855         * lyxfunc.C (dispatch): track if we need an update
856
857         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
858
859         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
860         (paintSelection): cheap optimization, do not call cursorX when not
861         needed
862         (paintPars): change signature
863         (refreshPar): add
864         (paintText): adjust
865         (paintTextInset): adjust
866
867         * text.C: adjust
868
869 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * lengthcommon.C: compilation fix: remove explicit array size from
872         unit_name[] and friends
873
874 2004-04-05  Angus Leeming  <leeming@lyx.org>
875
876         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
877
878         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
879         present only for the preferences dialog.
880         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
881
882 2004-04-05  Angus Leeming  <leeming@lyx.org>
883
884         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
885         to enable the frontends to export changes to lyxrc correctly.
886
887         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
888
889 2004-04-07  André Pönitz  <poenitz@gmx.net>
890
891         * cursor.[Ch] (selClear, adjust): remove math
892
893         * cursor_slice.C: more agressive assert
894
895         * lyxfunc.C:
896         * BufferView_pimpl.C: rework mouse event dispatch
897
898         * dociterator.C:
899         * paragraph.C:
900         * text2.C:
901         * text3.C: adjust
902
903 2004-04-05  André Pönitz  <poenitz@gmx.net>
904
905         * cursor.[Ch] (valign, halign...): remove unneeded functions
906
907 2004-04-05  Angus Leeming  <leeming@lyx.org>
908
909         * lyxlength.[Ch] (unit_name et al.): const-correct.
910
911 2004-04-05  Angus Leeming  <leeming@lyx.org>
912
913         * BufferView_pimpl.C:
914         * buffer.C:
915         * counters.C:
916         * cursor.C:
917         * lyxfunc.C
918         * paragraph.C:
919         * pariterator.C:
920         * text.C:
921         * text2.C:
922         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
923
924 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * text3.C (getStatus): add LFUN_BEGINNINGBUF
927
928 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * lyxfind.C: add a couple of inTexted() tests + other small fixes
931         * BufferView_pimpl.[Ch] (getStatus)
932         * BufferView.[Ch] (getStatus): add
933         * lyxfunc.C (getStatus): move lfuns handled in
934         BufferView::dispatch to te function above
935         * Cursor.C (setSelection): set selection() = true
936
937 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
940
941 2004-03-31  Angus Leeming  <leeming@lyx.org>
942
943         * lyxfunc.C (dispatch): Fall through to the generic
944         Dialogs::show("preamble").
945
946 2004-03-31  Angus Leeming  <leeming@lyx.org>
947
948         * lyxfunc.C (dispatch): Fall through to the generic
949         Dialogs::show("spellchecker").
950
951 2004-03-31  Angus Leeming  <leeming@lyx.org>
952
953         * lyxfunc.C (getStatus, dispatch): changed invocation of the
954         preferences dialog.
955
956 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
957
958         * BufferView.C
959         * cursor.[Ch]
960         * dociterator.[Ch]:
961         * insetiterator.[Ch]:
962         * lyxfind.C:
963         * lyxfunc.C:
964         * pariterator.[Ch]:
965         * text2.C:
966         * undo.[Ch]: s/DocumentIterator/DocIterator/g
967
968 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * BufferView.C (setCursor, putSelectionAt): call edit to open the
971         insets where we are putting the cursor.
972
973 2004-03-31  Angus Leeming  <leeming@lyx.org>
974
975         * lfuns.h:
976         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
977
978         * lyxrc.[Ch] (read, write): overloaded member functions taking
979         a std::[io]stream arguments.
980
981         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
982
983 2004-03-31  Angus Leeming  <leeming@lyx.org>
984
985         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
986         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
987
988         * lyxtextclass.C (load): if the text class couldn't be loaded, then
989         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
990
991 2004-03-31  Angus Leeming  <leeming@lyx.org>
992
993         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
994         the LFUN_ALL_INSETS_TOGGLE code.
995
996 2004-03-30  Angus Leeming  <leeming@lyx.org>
997
998         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
999         has died. Fall through to the generic Dialogs::show("document").
1000
1001 2004-03-30  Angus Leeming  <leeming@lyx.org>
1002
1003         * lfuns.h:
1004         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1005         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1006
1007         * lyxfunc.C (getStatus, dispatch): define the actions for these
1008         lfuns. Little more than a cut and pste job from ControlDocument.C
1009
1010         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1011
1012 2004-03-30  Angus Leeming  <leeming@lyx.org>
1013
1014         * lfuns.h:
1015         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1016         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1017
1018         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1019         open/closed state of ollapsable insets. Usage:
1020
1021         all-inset-toggle <state> <name>, where
1022         <state> == "open" || "closed" || "toggle" and
1023         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1024
1025         * lyxtext.h, text2.C (toggleInset): removed.
1026
1027         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1028         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1029         now passes LFUN_INSET_TOGGLE to the found inset.
1030
1031         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1032         is now invoked as "all-insets-toggle toggle branch".
1033
1034 2004-03-30  Angus Leeming  <leeming@lyx.org>
1035
1036         * dociterator.C:
1037         * insetiterator.C:
1038         * pariterator.[Ch]: added/corrected header blurb.
1039
1040 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * dociterator.[Ch]: add an inset_ member
1043         (backwardPos): implemented
1044         (backwardPos, forwardPos): use inset_ when the stack is empty.
1045         (doc_iterator_begin, doc_iterator_end): implemented
1046         * pariterator.[Ch]: adjust, add begin, end
1047         * insetiterator.[Ch]: adjust, add begin, end
1048         * cursor.C:
1049         * document.C:
1050         * BufferView.C:
1051         * BufferView_pimpl.C:
1052         * CutAndPaste.C: adjust
1053
1054 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1055
1056         * buffer.C: increment file format to 232.
1057         * LaTeXFeatures.C: add bibtopic package.
1058         * bufferparams.[Ch]: param \use_bibtopic.
1059
1060         * lyxrc.[Ch]: add lyxrc bibtex_command
1061         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1062
1063         * buffer.C: increment file format to 231.
1064
1065 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1066
1067         * dociterator.C: implement forwardPar
1068         * iterators.[Ch]: remove, replaced by
1069         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1070         * BufferView.C:
1071         * BufferView_pimpl.C:
1072         * CutAndPaste.C:
1073         * buffer.C:
1074         * bufferview_funcs.C:
1075         * cursor.C:
1076         * lyxfind.C
1077         * lyxfunc.C
1078         * paragraph_funcs.C
1079         * toc.C:
1080         * Makefile.am: adjust
1081
1082 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1083
1084         * CutAndPaste.C (pasteSelection): fix 2 crashes
1085         (eraseSelection): fix a crash
1086         * paragraph_funcs.C: remove a warning
1087
1088 2004-03-28  Angus Leeming  <leeming@lyx.org>
1089
1090         * lfuns.h:
1091         * LyXAction.C (init): new LFUN_PRINT.
1092
1093         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1094
1095 2004-03-27  Angus Leeming  <leeming@lyx.org>
1096
1097         * lfuns.h:
1098         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1099
1100         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1101
1102 2004-03-27  Angus Leeming  <leeming@lyx.org>
1103
1104         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1105         insetlist always contains non-null pointers to insets.
1106
1107 2004-03-26  Angus Leeming  <leeming@lyx.org>
1108
1109         * src/BufferView_pimpl.C:
1110         * src/CutAndPaste.C:
1111         * src/buffer.C:
1112         * src/iterators.C:
1113         * src/output_plaintext.C:
1114         * src/outputparams.h:
1115         * src/paragraph_funcs.C:
1116         * src/rowpainter.C:
1117         * src/text.C:
1118         * src/text2.C:
1119         * src/frontends/controllers/ControlErrorList.C:
1120         * src/frontends/gtk/FileDialogPrivate.C:
1121         * src/frontends/gtk/GPainter.C:
1122         * src/frontends/gtk/GToolbar.C:
1123         * src/frontends/qt2/QRef.C:
1124         * src/mathed/math_scriptinset.C: squash compiler warnings.
1125
1126 2004-03-26  Angus Leeming  <leeming@lyx.org>
1127
1128         * ispell.C (LaunchIspell::start):
1129         * lyx_cb.C (AutoSaveBuffer::start):
1130         invoke run(DontWait) rather than runNonBlocking().
1131
1132 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1133
1134         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1135
1136 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * kbsequence.C (print): adjust
1139
1140         * kbmap.C (printKeySym): rename and change signature
1141         (printKey): use LyXKeySym::print()
1142
1143 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * undo.C: add using std::advance to compile for stlport
1146
1147 2004-03-24  Angus Leeming  <leeming@lyx.org>
1148
1149         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1150         it leads to a crash when no buffer is present.
1151
1152 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153             Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * lyxfunc.C (dispatch):
1156         * bufferparams.C (readToken): use the new LColor::setColor
1157
1158         * LColor.[Ch] (setColor): new version that takes two strings as
1159         argument and creates a new color entry if necessary
1160
1161 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1162
1163         * buffer.C (makeLaTeXFile): if the main latex file that is
1164         processed is usually a subdocument of some master, then pretend
1165         for a while that it is actually the master
1166
1167 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1168
1169         * buffer.C (getLabelList):
1170         (getBibkeyList): use getMasterBuffer()
1171         (getMasterBuffer): new method. Returns the main document in the
1172         case where one is using included documents.
1173
1174 2004-03-25  André Pönitz  <poenitz@gmx.net>
1175
1176         * Makefile.am:
1177         * iterators.[Ch]:
1178         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1179
1180         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1181
1182         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1183         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1184
1185         * ParameterStruct.h: merge with ParagraphParameters
1186
1187         * lyxtext.h: remove LyXText::parOffset() and getPar()
1188
1189         * text3.C: Remove all 'manual' update calls. We do now one per user
1190         interaction which is completely sufficient.
1191
1192         * Bidi.C:
1193         * BufferView.[Ch]:
1194         * BufferView_pimpl.C:
1195         * FontIterator.[Ch]:
1196         * MenuBackend.C:
1197         * ParagraphParameters.[Ch]:
1198         * buffer.C:
1199         * buffer.h:
1200         * bufferlist.C:
1201         * cursor.[Ch]:
1202         * cursor_slice.[Ch]:
1203         * dociterator.[Ch]:
1204         * errorlist.[Ch]:
1205         * factory.C:
1206         * lfuns.h:
1207         * lyxfind.C:
1208         * lyxfunc.C:
1209         * output_docbook.[Ch]:
1210         * output_latex.[Ch]:
1211         * output_linuxdoc.[Ch]:
1212         * output_plaintext.[Ch]:
1213         * paragraph.[Ch]:
1214         * paragraph_funcs.[Ch]:
1215         * paragraph_pimpl.[Ch]:
1216         * rowpainter.C:
1217         * tabular.[Ch]:
1218         * text.C:
1219         * text2.C:
1220         * toc.C:
1221         * undo.[Ch]: adjust
1222
1223         * frontends/controllers/ControlDocument.C:
1224         * frontends/controllers/ControlErrorList.C:
1225         * frontends/controllers/ControlSpellchecker.C:
1226         * insets/inset.C:
1227         * insets/inset.h:
1228         * insets/insetbase.h:
1229         * insets/insetbibitem.C:
1230         * insets/insetbox.C:
1231         * insets/insetbranch.C:
1232         * insets/insetcaption.C:
1233         * insets/insetcharstyle.C:
1234         * insets/insetcharstyle.h:
1235         * insets/insetcollapsable.C:
1236         * insets/insetcollapsable.h:
1237         * insets/insetert.C:
1238         * insets/insetfloat.C:
1239         * insets/insetfoot.C:
1240         * insets/insetmarginal.C:
1241         * insets/insetnote.C:
1242         * insets/insetoptarg.C:
1243         * insets/insettabular.C:
1244         * insets/insettext.C:
1245         * insets/insettext.h:
1246         * insets/insetwrap.C:
1247         * mathed/math_mboxinset.C:
1248         * mathed/math_nestinset.C:
1249         * mathed/math_scriptinset.C:
1250         * mathed/math_scriptinset.h:
1251         * support/types.h:
1252
1253 2004-03-24  Angus Leeming  <leeming@lyx.org>
1254
1255         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1256         deal with any child processes that have finished but are waiting to
1257         communicate this fact to the rest of LyX.
1258
1259 2004-03-24  Angus Leeming  <leeming@lyx.org>
1260
1261         64-bit compile fixes.
1262
1263         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1264         (c-tor): pass lyx::pos_types rather than ints.
1265
1266         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1267         lyx::pos_type.
1268
1269         * text.C (Delete): compile fix.
1270         (getPar): ensure that function declaration is the same as that in
1271         the header file.
1272
1273 2004-03-23  Angus Leeming  <leeming@lyx.org>
1274
1275         * ispell.C (LaunchIspell):
1276         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1277         a boost::shred_ptr rather than a std::auto_ptr.
1278
1279 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1282         handle LFUN_FILE_INSERT_*
1283
1284         * lyxrc.C (setDefaults, getDescription, output, read):
1285         * lyxrc.h: remove ps_command
1286
1287 2004-03-22  Angus Leeming  <leeming@lyx.org>
1288
1289         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1290         Ensure that error_handler is processed once only and that all data
1291         is saved before attempting to output any warning messages.
1292
1293         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1294
1295 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1296
1297         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1298
1299 2004-03-19  André Pönitz  <poenitz@gmx.net>
1300
1301         * cursor.[Ch] (reset): take main text inset as argument
1302
1303         * BufferView: adjust
1304         * BufferView_pimpl.C: adjust
1305
1306         * paragraph.[Ch]: fix completely broken operator=()
1307
1308 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * LColor.C (getFromLyXName): make sure that the color name is used
1311         as lowercase.
1312
1313 2004-03-17  Angus Leeming  <leeming@lyx.org>
1314
1315         * lfuns.h:
1316         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1317
1318         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1319         dialog and to kill a forked process.
1320
1321 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * text2.C (setCursorFromCoordinates): fix font problem
1324
1325 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1328         bogus "rebuild cursor" code
1329
1330 2004-03-11  André Pönitz  <poenitz@gmx.net>
1331
1332         * buffer.[Ch]: use InsetText instead of LyXText as container for
1333         the main lyx text.
1334
1335         * dociterator.[Ch]: drop the BufferView * member which is not needed
1336         anymore after the change to buffer.C
1337
1338         * paragraph_funcs.C:
1339         * text.C:
1340         * text2.C:
1341         * BufferView.[Ch]:
1342         * BufferView_pimpl.[Ch]:
1343         * cursor.[Ch]:
1344         * cursor_slice.[Ch]: adjust
1345
1346         * text3.C: fix bug in mathDispatch
1347
1348 2004-03-08  André Pönitz  <poenitz@gmx.net>
1349
1350         * undo.[Ch]: use 'StableDocumentIterator' as base for
1351         the Undo struct.
1352
1353 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1354
1355         * LaTeXFeatures.C:
1356         * bufferparams.[Ch]: add jurabib support and param.
1357
1358         * LaTeX.C: add FIXME/comment.
1359
1360 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1361
1362         * buffer.C: increment file format to 230.
1363
1364 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1365
1366         * cursor.C (dispatch): avoid infinite loops
1367
1368 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * rowpainter.C (paintSelection): fix x coordinates
1371
1372 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * text.C (rowBreakPoint): fix breaking before displayed insets
1375
1376 2004-03-01  André Pönitz  <poenitz@gmx.net>
1377
1378         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1379
1380         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1381
1382         * Makefile.am:
1383         * BufferView.C:
1384         * BufferView_pimpl.C:
1385         * buffer.C:
1386         * lyxfind.C:
1387         * lyxfunc.C:
1388         * text.C:
1389         * text2.C:
1390         * text3.C: adjust
1391
1392 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * lyxtext.h:
1395         * text.C:
1396         * text2.C:
1397         * rowpainter.C:
1398         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1399         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1400
1401 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * Bidi.[Ch] (computeTables): const correctness
1404         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1405         fill_hfill, fill_label_hfill and x from Row
1406         * lyxtext.h: prepareToPrint returns a RowMetrics
1407         * rowPainter.C: adjust
1408         * text.C (prepareToPrint): use width, not textWidth. adjust
1409         (redoParagraphInternal, cursorX): adjust
1410         * text2.C (getColumnNearX): adjust
1411         (init): put a default value to the top LyXText::width
1412
1413 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1414
1415         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1416
1417 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1418
1419         * lyxtext.h: add FontIterator class
1420
1421         * text.C (FontIterator, operator*, operator->, operator++): add
1422         (rowBreakPoint, setRowWidth): adjust (fixing a
1423         rebreaking bug)
1424
1425 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * BufferView_pimpl.C (workAreaDispatch): allow also
1428         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1429
1430 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * text.C (rowBreakPoint): fix a bug showing with very large insets
1433
1434 2004-02-25  André Pönitz  <poenitz@gmx.net>
1435
1436         * text3.C:
1437         * cursor.[Ch]: move some mathed specific code to mathed
1438
1439 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1440
1441         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1442         use_tempdir in preferences
1443         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1444         tempfile creation
1445         * lyx_main.C: ensure that tempdir is valid
1446         * lyxlex.h: correct typo
1447         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1448         * paragraph.[Ch] (isMultiLingual): make const
1449         * cursor.[Ch] (openable): make const
1450
1451 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1452
1453         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1454
1455 2004-02-20  André Pönitz  <poenitz@gmx.net>
1456
1457         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1458
1459         * cursor.[Ch]: prepare for localized getStatus()
1460
1461         * lyxtext.h:
1462         * tabular.C:
1463         * text.C:
1464         * text2.C:
1465         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1466
1467 2004-02-20  André Pönitz  <poenitz@gmx.net>
1468
1469         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1470
1471 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * text2.C (setCursorFromCoordinates): switch to absolute coords
1474         (cursorUp): adjust
1475         (cursorDown): adjust
1476         * text3.C (dispatch): adjust
1477
1478 2004-02-16  André Pönitz  <poenitz@gmx.net>
1479
1480         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1481           insets/ChangeLog)
1482
1483         * cursor_slice.[Ch]: remove unneeded acessor function
1484
1485         * lyxtext.h: rename rtl() to isRTL()
1486
1487         * rowpainter.C:
1488         * tabular.C:
1489         * text.C:
1490         * text2.C:
1491         * text3.C: adjust
1492
1493 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1494
1495         * rowpainter.C (paintSelection): coord fix
1496
1497 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1498
1499         * Spacing.C: compile fix
1500
1501 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * cursor.C (dispatch): restore current_ before returning
1504
1505 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1506
1507         * text2.C (cursorUp, cursorDown): fix coords
1508         (moveUp): fix crash
1509
1510 2004-02-12  André Pönitz  <poenitz@gmx.net>
1511
1512         * lyxtext.h:
1513         * text.C:
1514         * text2.C:
1515         * text3.C: add LCursor & parameter to most cursor movement functions
1516           remove usage of LyXText::cursorRow() and cursorPar()
1517
1518         * cursor.[Ch]: add textRow() needed members
1519
1520         * BufferView.C:
1521         * BufferView_pimpl.C:
1522         * paragraph.[Ch]:
1523         * BufferView.C:
1524         * BufferView_pimpl.C: adjust
1525
1526 2004-02-11  André Pönitz  <poenitz@gmx.net>
1527
1528         * lyxfunc.C:
1529         * BufferView.[Ch]:
1530         * BufferView_pimpl.C: shift undo/redo handling
1531
1532         * cursor.[Ch]: fix mathed crash
1533
1534         * lyxfind.C:
1535         * lyxtext.h: move selectionAsText to LCursor
1536
1537         * output_latex.C:
1538         * paragraph.C:
1539         * text.C:
1540         * text2.C:
1541         * text3.C: adjust
1542
1543         * rowpainter.C: fix excessive drawing
1544
1545 2004-02-06  André Pönitz  <poenitz@gmx.net>
1546
1547         * BufferView.[Ch]:
1548         * BufferView_pimpl.[Ch]:
1549         * text3.C: move some text specific LFUN handling
1550
1551 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1552
1553         * text3.C (checkInsetHit): adjust coords
1554         * text2.C (getColumnNearX): adjust coords
1555         (edit): adjust coords
1556         * text.C (getRowNearY): add two asserts
1557
1558 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1559
1560         * converter.C:
1561         * format.C: add using std::distance to compile on gcc 2.95/stlport
1562
1563 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1564
1565         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1566
1567 2004-02-04  André Pönitz  <poenitz@gmx.net>
1568
1569         * BufferView.[Ch] (insertInset):
1570         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1571
1572         * text2.C:
1573         * text3.C: adjust
1574
1575 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1578         on the default clause of the switch
1579         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1580         wasn't catched by LCursor::dispatch
1581
1582 2004-02-03  André Pönitz  <poenitz@gmx.net>
1583
1584         * BufferView.C:
1585         * cursor.[Ch]: some additional asserts
1586
1587         * undo.[Ch]: remove LyXText dependency in interface
1588
1589         * lyxfunc.C: adjust
1590
1591         * lyxtext.h (firstPar, lastPar): remove dead functions
1592
1593         * text.C:
1594         * text2.C:
1595         * text3.C:
1596         * paragraph.[Ch]: adjust
1597
1598 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * lyxfind.C (find): fix argument order in call to ::find
1601
1602 2004-02-02  André Pönitz  <poenitz@gmx.net>
1603
1604         * cursor.[Ch]: remove direct access to anchor
1605
1606         * text.C: remove findText() hack
1607
1608 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * iterators.[Ch] (lockPath): remove in favour of...
1611         * BufferView.[Ch] (setCursor): this addition
1612         * BufferView.C (putSelectionAt): adjust
1613         * undo.C (performUndoOrRedo): adjust
1614         * lyxfunc.C (dispatch): adjust
1615
1616 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * iterators.C (lockPath): add a missing slice
1619         * undo.C (performUndoOrRedo): remove redundant positioning code
1620
1621 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1622
1623         * vc-backend.C (scanMaster): ";" -> ';'
1624
1625 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1626
1627         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1628         std::binary_function
1629
1630         * lyxtextclass.C (compare_name): rename to...
1631         (LayoutNamesEqual): ...this
1632
1633         * lyxlex_pimpl.C (compare_tags): inherit from
1634         std::binary_function, put back into anon namespace
1635
1636         * lyxfind.C (MatchString): inherig from std::binary_function
1637         (findChange): use empty() istead of !size()
1638
1639         * format.C (FormatNamesEqual): new functor
1640         (getFormat): use it
1641         (getNumber): use it
1642         (add): use it
1643         (erase): use it
1644         (setViewer): use it
1645
1646         * converter.C (compare_Converter): rename to...
1647         (ConverterEqual): ...this, and fixup a bit.
1648         (getConverter): use it, and make function const
1649         (getNumber): use it, and make function const
1650         (add): use it
1651         (erase): use it:
1652
1653         * bufferlist.C: add using boost::bind
1654
1655         * MenuBackend.C (MenuNamesEqual): new functor
1656         (hasMenu): use it, and make function const
1657         (hasSubmenu): use nested bind to get rid of compare_memfun.
1658
1659 2004-01-30  André Pönitz  <poenitz@gmx.net>
1660
1661         * BufferView_pimpl.C:
1662         * cursor.C:
1663         * cursor.h:
1664         * cursor_slice.[Ch]:
1665         * lyxfunc.C:
1666         * lyxtext.h:
1667         * paragraph_funcs.C:
1668         * paragraph_funcs.h:
1669         * rowpainter.C:
1670         * text.C:
1671         * text2.C:
1672         * text3.C: move some of the edit(x,y) handling to the insets
1673         some coordinate changes.
1674
1675 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1676
1677         * text.C: add using statements for std::advance and std::distance
1678
1679         * paragraph.C: add using statement for std::distance
1680
1681         * lyxfind.C: add using statement for std::advance
1682
1683         * cursor.C (region): remove std:: from swap
1684         (openable): use nucleus in stead of operator->
1685
1686         * BufferView.C: add using statements for std::distance and std::swap
1687
1688 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1689
1690         * iterators.C: Remove the pimple, move the needed structures to
1691         the header file. Create accessor for the positions stack.
1692         (asPosIterator): remove function
1693
1694         * PosIterator.C (PosIterator): move constructors to top of file
1695         (PosIterator): reimplement the constructor taking a ParIterator in
1696         terms of setFrom.
1697         (setFrom): new function
1698         (operator!=): inline it
1699
1700 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1701
1702         * lyxfind.C (replaceAll): use std::advance
1703
1704         * iterators.h: inherit from std::iterator.
1705
1706         * PosIterator.C (advance, distance): remove
1707         * PosIterator.h: interit from std::iterator.
1708
1709 2004-01-26  André Pönitz  <poenitz@gmx.net>
1710
1711         * BufferView.[Ch]:
1712         * BufferView_pimpl.[Ch]:
1713         * InsetList.[Ch]:
1714         * PosIterator.[Ch]:
1715         * buffer.h:
1716         * bufferview_funcs.C:
1717         * cursor.[Ch]:
1718         * cursor_slice.h:
1719         * factory.[Ch]:
1720         * iterators.[Ch]:
1721         * lyxfind.C:
1722         * lyxfunc.C:
1723         * lyxtext.h:
1724         * output_docbook.C:
1725         * output_latex.C:
1726         * output_linuxdoc.C:
1727         * output_plaintext.C:
1728         * paragraph.[Ch]:
1729         * paragraph_funcs.[Ch]:
1730         * paragraph_pimpl.[Ch]:
1731         * rowpainter.C:
1732         * tabular.C:
1733         * tabular.h:
1734         * text.C:
1735         * text2.C:
1736         * text3.C: more IU:  dumps most of the rest of the mathcursor
1737     implementation into cursor.[Ch]; "globalize" a bit of it.
1738
1739 2004-01-25  Angus Leeming  <leeming@lyx.org>
1740
1741         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1742
1743 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1744
1745         * LaTeXFeatures.h: add nice_ and nice() const
1746         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1747
1748 2004-01-20  André Pönitz  <poenitz@gmx.net>
1749
1750         * BufferView.[Ch]:
1751         * BufferView_pimpl.C:
1752         * PosIterator.C:
1753         * bufferview_funcs.C:
1754         * cursor.[Ch]:
1755         * cursor_slice.[Ch]:
1756         * factory.C:
1757         * iterators.C:
1758         * lyx_cb.C:
1759         * lyxfind.C:
1760         * lyxfunc.C:
1761         * lyxtext.h:
1762         * rowpainter.C:
1763         * text.C:
1764         * text2.C:
1765         * text3.C:
1766         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1767           LCursor and mathcursor parts to LCursor and InsetBase.
1768
1769 2004-01-15  André Pönitz  <poenitz@gmx.net>
1770
1771         * cursor_slice.[Ch]: add a few covienience functions
1772
1773         * funcrequest.[Ch]: remove BufferView * member
1774
1775         * BufferView_pimpl.C:
1776         * cursor.C:
1777         * factory.[Ch]:
1778         * lyxfind.[Ch]:
1779         * lyxfunc.C:
1780         * lyxtext.h:
1781         * text3.C:
1782         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1783
1784 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1787         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1788
1789 2004-01-13  André Pönitz  <poenitz@gmx.net>
1790
1791         * textcursor.[Ch]:
1792         * lyxtext.h: hide cursor and selection anchor behind accessor function
1793
1794         * BufferView.C:
1795         * BufferView_pimpl.[Ch]:
1796         * PosIterator.C:
1797         * bufferview_funcs.C:
1798         * cursor.h:
1799         * lyxfind.C:
1800         * lyxfunc.C:
1801         * text.C:
1802         * text2.C:
1803         * text3.C:
1804         * undo.C: adjust
1805
1806         * cursor.h:
1807         * cursor_slice.[Ch]: some integer type changes for inset unification
1808
1809         * lyxcursor.[hC]: remove, it's CursorSlice now.
1810
1811         * Makefile.am:
1812         * BufferView_pimpl.[Ch]:
1813         * bufferview_funcs.C:
1814         * cursor_slice.C:
1815         * lyxtext.h:
1816         * text.C:
1817         * text2.C:
1818         * text3.C:
1819         * textcursor.[Ch]: adjust
1820
1821 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * text2.C (undoSpan): add and use
1824         * text.C (breakParagraph): use undoSpan (fix bug 578)
1825         * lyxtext.h: adjust
1826
1827 2004-01-08  Angus Leeming  <leeming@lyx.org>
1828
1829         * BufferView_pimpl.C (MenuInsertLyXFile):
1830         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1831         * lyxfunc.C (menuNew, open, doImport):
1832         FileFilterList change to the FileDialog open and save functions.
1833
1834 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1835
1836         * ShareContainer.h: make isEqual and isUnique adaptable
1837
1838         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1839
1840 2004-01-07  Angus Leeming  <leeming@lyx.org>
1841
1842         * LyXAction.C:
1843         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1844
1845         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1846
1847         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1848         functions replacing find, replace and replaceAll.
1849
1850         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1851         LFUN_WORDFIND(FORWARD|BACKWARD).
1852
1853 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1854
1855         * text.C (breakParagraph): remove an outdated #warning
1856
1857 2004-01-07  André Pönitz  <poenitz@gmx.net>
1858
1859         * lyxfind.C: somewhat clearer logic
1860
1861         * text.C: prevent crash in cursorX on unitialized row cache
1862
1863 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * lyxcursor.[Ch] (operator>): add
1866         * textcursor.C (selStart, selEnd): use std::min and std::max
1867
1868 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1869
1870         * Chktex.C: include boost/format.hpp
1871
1872 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1873
1874         * InsetList.C: replace functor MathcIt with adaptable functor
1875         InsetTablePosLess
1876         (insetIterator): modify accordingly
1877
1878         * BranchList.h: move the BranchNamesEqual functor here from...
1879         * BranchList.C: ... to here
1880
1881         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1882         SameName and match.
1883         (add): replace a finding loop with std::find_if.
1884
1885 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1886
1887         * output_docbook.C: moving LatexParam functionality into
1888         .layout files
1889
1890 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1891
1892         * buffer.C: increment format to 229.
1893
1894 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1895
1896         * LaTeXFeatures.C:
1897         * lyx_sty.[Ch]: remove minipageindent_def
1898
1899         * LyXAction.C:
1900         * factory.C:
1901         * lfuns.h:
1902         * lyxfunc.C:
1903         * text3.C: remove LFUN_INSET_MINIPAGE
1904
1905 2003-12-28  Angus Leeming  <leeming@lyx.org>
1906
1907         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1908
1909 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * text2.C (setParagraph): fix off-by-one crash
1912
1913 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1914
1915         * output_docbook.C: header stuff for AGU
1916
1917 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * text2.C (redoCursor): remove
1920         * text.C:
1921         * text3.C:
1922         * BufferView_pimpl.C: remove calls to redoCursor and
1923         setCursor(cursor.par(), cursor.pos()) all around
1924
1925 2003-12-15  Angus Leeming  <leeming@lyx.org>
1926
1927         * buffer.C: up the format to 228.
1928
1929 2003-12-15  André Pönitz  <poenitz@gmx.net>
1930
1931         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1932         slices
1933
1934         * Makefile.am:
1935
1936         * BufferView_pimpl.C:
1937         * cursor.[Ch]:
1938         * lyxcursor.[Ch]:
1939         * rowpainter.[Ch]:
1940         * lyxtext.h:
1941         * text.C:
1942         * text2.C:
1943         * text3.C: adjust
1944
1945 2003-12-15  Angus Leeming  <leeming@lyx.org>
1946
1947         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1948         than getFromGUIName to manipulate the color.
1949
1950 2003-12-14  Angus Leeming  <leeming@lyx.org>
1951
1952         * BranchList.[Ch]: minimize the API.
1953         (Branch::getBranch, getColor): now return a 'const &'.
1954         (Branch::setSelected) now returns a bool set to true if the
1955         selection status changes.
1956         (BranchList::clear, size, getColor, setColor, setSelected,
1957         allBranches, allSelected, separator): removed.
1958         (BranchList::find): new functions, returning the Branch with
1959         the given name.
1960         (BranchList::add, remove): return a bool indicating that
1961         the operation was successful.
1962
1963         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1964         new InsetBranch::isBranchSlected member function.
1965
1966         * LColor.[Ch]: mimimize the API.
1967         (fill): renamed as addColor and made private.
1968         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1969         versions of these functions taking a string arg have been removed.
1970
1971         * bufferparams.C (readToken):
1972         * lyxfunc.C (dispatch):
1973         * lyxrc.C (read): changes due to the altered BranchList and
1974         LColor APIs.
1975
1976         * factory.C (createInset, readInset): changes due to altered
1977         InsetBranch c-tor.
1978
1979 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1980
1981         * factory.C:
1982         * lyxfunc.C: remove insetminipage. "minipage-insert"
1983         now produces a frameless minipage box inset.
1984
1985 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * textcursor.[Ch] (selStart,selEnd): add new methods
1988         remove selection::start, end, use LyXCursor::operator<
1989         * lyxcursor.[Ch] (operator<): add
1990         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1991         * BufferView.[Ch] (unsetXSel): add
1992         * text2.C (clearSelection): use unsetXSel,adjust
1993         * text.C: adjust
1994         * text3.C: adjust
1995         * rowpainter.C: adjust
1996         * bufferview_funcs.C (put_selection_at): adjust
1997
1998 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1999
2000         * BufferView_pimpl.C: small coord. correction
2001
2002 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2005         dragging over the splash screen.
2006
2007 2003-12-11  Angus Leeming  <leeming@lyx.org>
2008
2009         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2010         as it is now handled in LyXText::dispatch.
2011
2012         * text3.C (doInsertInset): remove a level of nesting.
2013
2014 2003-12-11  Angus Leeming  <leeming@lyx.org>
2015
2016         * factory.C (createInset): changes due to the changed interface to
2017         InsetCommandMailer::string2params.
2018
2019 2003-12-10  Angus Leeming  <leeming@lyx.org>
2020
2021         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2022         'dialog-show-new-inset <inset name>'
2023
2024 2003-12-10  Angus Leeming  <leeming@lyx.org>
2025
2026         * buffer.C: up the format to 227.
2027
2028         * factory.C: the box inset is now identified simply by 'Box'.
2029
2030 2003-12-10  Angus Leeming  <leeming@lyx.org>
2031
2032         * buffer.C: up the format to 226.
2033
2034         * factory.C: the note inset is now identified simply by 'Note'.
2035
2036 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2037
2038         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2039         when a pit is enough. Standarize a couple of loops.
2040
2041 2003-12-05  Angus Leeming  <leeming@lyx.org>
2042
2043         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2044         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2045         data to the re-worked "log" dialog.
2046
2047 2003-12-03  André Pönitz  <poenitz@gmx.net>
2048
2049         * PosIterator.C:
2050         * iterators.C:
2051         * lyxtext.h:
2052         * output_latex.C:
2053         * paragraph_funcs.C:
2054         * text.C:
2055         * text2.C: use Inset::getText instead of Inset::getParagraph
2056
2057 2003-12-03  André Pönitz  <poenitz@gmx.net>
2058
2059         * buffer.[Ch]:
2060         * lyxtext.h:
2061         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2062         InsetText::read() as LyXText::read()
2063
2064 2003-12-02  Angus Leeming  <leeming@lyx.org>
2065
2066         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2067         type. Add a comment in the implementation that the function uses
2068         the stream's bad() function rather than fail() as the std::streams
2069         would do.
2070
2071 2003-12-02  André Pönitz  <poenitz@gmx.net>
2072
2073         * lyxlex.[Ch]: make interface more similar to std::stream
2074
2075         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2076
2077 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2078
2079         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2080
2081 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2082
2083         * vspace.[Ch]: remove VSpace::NONE
2084
2085 2003-12-01  André Pönitz  <poenitz@gmx.net>
2086
2087         * buffer.[Ch]:
2088         * lyxtext.h: move ParagraphList member to LyXText
2089         rename LyXText::ownerParagraphs to LyXText::paragraph
2090
2091         * CutAndPaste.C:
2092         * bufferview_funcs.C:
2093         * iterators.[Ch]:
2094         * lyx_cb.C:
2095         * paragraph.C:
2096         * rowpainter.C:
2097         * tabular.C:
2098         * text.C:
2099         * text2.C:
2100         * text3.C: adjust
2101
2102         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2103
2104         * undo.C: fix cursor positioning
2105
2106 2003-12-01  John Levon  <levon@movementarian.org>
2107
2108         * BufferView_pimpl.C: fix a crash on exit with
2109         a buffer open
2110
2111 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2112
2113         * BranchList.C: fix setSelected() method.
2114
2115 2003-11-28  André Pönitz  <poenitz@gmx.net>
2116
2117         * ParagraphParameters.[Ch]:
2118         * ParameterStruct.h: remove space above/below from Paragraph to
2119          InsetVSpace
2120
2121         * BufferView_pimpl.C:
2122         * factory.C:
2123         * lyxfunc.C:
2124         * lyxtext.h:
2125         * output_latex.C:
2126         * paragraph.C:
2127         * paragraph_funcs.C:
2128         * rowpainter.[Ch]:
2129         * text.C:
2130         * text2.C:
2131         * text3.C: adjust
2132
2133 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2134
2135         * factory.C: Syntax change for CharStyles
2136
2137 2003-11-28  André Pönitz  <poenitz@gmx.net>
2138
2139         * BufferView.[Ch]:
2140         * BufferView.[Ch]:
2141         * buffer.[Ch]:
2142         * buffer.[Ch]: move LyXText member
2143
2144 2003-11-28  André Pönitz  <poenitz@gmx.net>
2145
2146         * BufferView.[Ch]: make LyXText * text a private member
2147
2148         * BufferView_pimpl.C:
2149         * cursor.C:
2150         * iterators.C:
2151         * lyx_cb.C:
2152         * lyxfind.C:
2153         * lyxtext.h:
2154         * rowpainter.[Ch]:
2155         * text.C:
2156         * text2.C:
2157         * undo.C: adjust
2158
2159         * output_plaintext.C: cleanup
2160
2161 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2162
2163         * buffer.C:
2164         * lyxtextclass.[Ch]: parametrize SGML document header
2165
2166 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * converter.[Ch]:
2169         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2170         getFlavor().
2171
2172 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * text2.C (setFont): rework using PosIterator (no more recursive)
2175         (setCharFont): no more needed
2176         (setLayout): no more selection cursors fiddling (done by redoCursor)
2177         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2178         destroy remaining ones)
2179
2180 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2183         * lyxtext.h: ditto
2184         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2185         selection cursors
2186         * lyxfunc.C: adjust
2187         * text3.C: adjust + re-allow multi par depth changes
2188         * textcursor.C: simplify a bit
2189
2190 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2191
2192         * src/buffer.C:
2193         * src/lyxlayout.C:
2194         * src/lyxlayout.h:
2195         * src/lyxtext.h:
2196         * src/output_docbook.C:
2197         * src/output_latex.C:
2198         * src/paragraph.C:
2199         * src/paragraph.h:
2200         * src/sgml.C:
2201         * src/sgml.h:
2202         * src/text2.C: Introducing a number of tags parametrizing various
2203         XML formats that we may want to support
2204
2205 2003-11-25  André Pönitz  <poenitz@gmx.net>
2206
2207         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2208
2209         * lyxtext.h (leftMargin/rightMargin): simplify interface
2210
2211         * rowpainter.C:
2212         * text.C:
2213         * text2.C:
2214         * text3.C: adjust
2215
2216 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2217
2218         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2219         master file to any child files. Fixes bug 546.
2220
2221 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2224
2225 2003-11-24  André Pönitz  <poenitz@gmx.net>
2226
2227         * rowpainter.C: simplification
2228
2229         * text2.C (updateCounters): remove call to redoParagraph on
2230         changed labels as this is far too expensive.
2231
2232 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2233
2234         * converter.C (convert): fix a crash: this function gets
2235         called with buffer == 0 from importer code.
2236
2237 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2238
2239         * text3.C (cursorPrevious): make sure that we do not compare
2240         iterators form different containers.
2241         (cursorNext): ditto
2242
2243         * rowpainter.C (paintSelection): make sure that we do not compare
2244         iterators from different containers.
2245
2246         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2247         iterators from different ParagraphList containers.
2248         [NEXT] ditto
2249
2250         * text2.C (LyXText): change order of initialization slightly
2251         (operator=): new function. copy all variables except cache_par_
2252         (moveUp): make sure that we do not compare iterators from
2253         different ParagraphList constainers.
2254         (moveDown): ditto
2255
2256         * text.C (firstPar): new function
2257         (lastPar): new function
2258         (endPar): new function
2259
2260         * lyxtext.h: move things around and group public functions, public
2261         variables, private functions, private variables
2262
2263 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2264
2265         * factory.C: change call to InsetERT constructor to avoid
2266         additional invocation of method status
2267         * text2.C (toggleInset): remove redundant update() call
2268         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2269         instead of a Bufferview pointer
2270
2271 2003-11-21  André Pönitz  <poenitz@gmx.net>
2272
2273         * rowpainter.C: simplification
2274
2275 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * text3.C (dispatch): make possible to extend a word/row selection
2278         with the mouse
2279
2280 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * lyxtext.h: x0_,y0_ -> xo_,yo_
2283         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2284         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2285         * rowpainter.C (paintRows): paint full paragraphs
2286
2287 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2290         screen coordinates)
2291
2292 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * lyxtext.h: add x0_, y0_
2295         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2296         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2297
2298 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2299
2300         * text2.C (setCursorIntern): move the x_target update here *
2301         * text3.C: change some bv() to true/false in calls to
2302         cursorUp/Down/Right/Left
2303         * cursor.C: use helper function.
2304
2305 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2308         * paragraph_funcs.[Ch]: correct comment
2309         * rowpainter.C: do not paint selections away from bv->cursor()
2310         Fix a long standing selection painting bug.
2311         * text3.C: generalize mouse-selection code to LyXTexts other that
2312         top one
2313         * textcursor.C: do not use y coords if we can use par offsets
2314
2315 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2318         cursor position after e.g. inset insert)
2319
2320 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * lyxfind.C (replace): adjust to locking removal + some
2323         code simplification
2324
2325 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2328         of the path
2329
2330 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2331
2332         * lyxlayout.[Ch]:
2333         * output_docbook.C: XML sanitation: new layout
2334         parameters InnerTag and CommandDepth
2335
2336 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2337
2338         * BufferView_pimpl.C:
2339         * factory.C:
2340         * text3.C: Fix the insertion and modification of button-style
2341         insets
2342
2343 2003-11-13  André Pönitz  <poenitz@gmx.net>
2344
2345         * InsetList.[Ch]: remove deleteLyXText
2346
2347         * paragraph.[Ch]: cache beginOfBody position
2348
2349         * Bidi.C:
2350         * text.C:
2351         * text2.C:
2352         * text3.C: remove superfluous update() calls
2353
2354         * vspace.C: cleanup
2355
2356 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2359         * BufferView.C (fitLockedInsetCursor): remove
2360         * cursor.[Ch] (getDim): add
2361         * text.C (getRowNearY): add faster version
2362         * text3.C: remove some update calls
2363
2364 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2365
2366         * LaTeXFeatures.C:
2367         * LyXAction.C:
2368         * MenuBackend.C:
2369         * MenuBackend.h:
2370         * dispatchresult.h:
2371         * factory.C:
2372         * lfuns.h:
2373         * lyxfunc.C:
2374         * lyxtextclass.C:
2375         * lyxtextclass.h:
2376         * text3.C: The Character Style /XML short element patch.
2377
2378 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2379
2380         * text3.C:
2381         * factory.C: Small step to solving 'unable to insert some insets'
2382         problem
2383
2384 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2385
2386         * cursor.[Ch] (updatePos): new function for updating the y
2387         position of the tip inset
2388         * bufferview_funcs.C (put_selection_at):
2389         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2390
2391 2003-11-11  André Pönitz  <poenitz@gmx.net>
2392
2393         * text.C: remove big comment on invalid Paragraph pointers as it is
2394         not valid anymore
2395
2396 2003-11-11  André Pönitz  <poenitz@gmx.net>
2397
2398         * text_funcs.[Ch]: merge with ...
2399
2400         * text.C: ... this
2401
2402         * lyxtext.h:
2403         * text2.C:
2404         * text3.C: adjust
2405
2406         * Makefile.am: remove text_funcs.[Ch]
2407
2408 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * cursor.C (getPos): return absolute cached y coord
2411
2412         * BufferView_pimpl.C (fitCursor): new simplistic code
2413         (workAreaDispatch): add a fitCursor call
2414
2415 2003-11-10  André Pönitz  <poenitz@gmx.net>
2416
2417         * BufferView.[Ch]:
2418         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2419
2420 2003-11-10  André Pönitz  <poenitz@gmx.net>
2421
2422         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2423         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2424         indicate that the cursor needs to leave an inset
2425
2426         * lyxtext.h: remove inset locking
2427
2428         * cursor.[Ch]: re-implement functionality provided by inset locking
2429
2430         * BufferView.[Ch]:
2431         * BufferView_pimpl.[Ch]:
2432         * LyXAction.C:
2433         * bufferview_funcs.[Ch]:
2434         * factory.C:
2435         * funcrequest.[Ch]:
2436         * iterators.C:
2437         * lyx_cb.C:
2438         * lyxfind.C:
2439         * lyxfunc.C:
2440         * text.C:
2441         * text2.C:
2442         * text3.C:
2443         * undo.C: adjust
2444
2445 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2446
2447         * PosIterator.[Ch]: replace the stack with a vector, add inset
2448         accesor
2449         * iterators.[C]: adjust
2450
2451 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2452
2453         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2454         replaced
2455         * paragraph_funcs.C (readParToken): put the correct id in the
2456         error item, not the id of the top paragraph
2457
2458 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2461         * bufferview_funcs.C (put_selection_at): use the above
2462
2463 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2464
2465         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2466
2467 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * output_linuxdoc.h:
2470         * output_plaintext.h:
2471         * output.h:
2472         * output_docbook.h: add #include statements
2473
2474 2003-11-05  José Matos  <jamatos@lyx.org>
2475
2476         * output_docbook.[Ch]:
2477         * output_latex.[Ch]:
2478         * output_linuxdoc.[Ch]:
2479         * output_plaintext.[Ch]: New files for output formats.
2480         * output.[Ch]: New file for helper functions.
2481
2482         * buffer.[Ch]:
2483         * paragraph_funcs.[Ch]: output functions moved to new files.
2484
2485         * outputparams.h: rename of latexrunparams.h
2486
2487         * LaTeX.[Ch]:
2488         * buffer.[Ch]:
2489         * bufferlist.[Ch]:
2490         * converter.[Ch]:
2491         * exporter.C:
2492         * paragraph.[Ch]:
2493         * paragraph_funcs.[Ch]:
2494         * paragraph_pimpl.[Ch]:
2495         * tabular.[Ch]: rename ascii to plaintext
2496         and LatexRunParams to OutputParams.
2497
2498 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2499
2500         * iterators.[Ch] (text): require bv argument
2501         * undo.C (recordUndo):
2502         * lyxfunc.C (dispatch):
2503         * bufferview_funcs.C (put_selection_at): adjust
2504
2505 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2506
2507         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2508
2509 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2512         nestings
2513
2514 2003-11-04  André Pönitz  <poenitz@gmx.net>
2515
2516         * cursor.[Ch]: restructure
2517
2518         * BufferView.[Ch]:
2519         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2520
2521         * iterators.[Ch] (asCursor): remove
2522
2523         * lfuns.h: remove LFUN_INSET_EDIT
2524
2525         * lyxfunc.C:
2526         * tabular.C:
2527         * text.C:
2528         * text2.C:
2529         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2530
2531 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2532
2533         * lyxfind.[Ch]: complete overhaul
2534         * BufferView_pimpl.C:
2535         * lyxfunc.C: adjust
2536         * paragraph.[Ch] (insert): add
2537
2538 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * BufferView.[Ch]:
2541         * lyxtext.h:
2542         * text.C: remove dead spellcheck code
2543
2544 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2545
2546         * dispatchresult.h: add a val setter
2547
2548         * cursor.C (dispatch): use a tempvar for data_[i]
2549
2550 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2551
2552         * PosIterator.[Ch]: compile fix
2553
2554 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2555
2556         * text.C (cursorPar): deactivate the cursor cache
2557
2558 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2559
2560         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2561
2562 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2563
2564         * text3.C (dispatch): adjust for new DisptchResult semantics.
2565
2566         * lyxfunc.C (dispatch): handle update when return from
2567         Cursor::dispatch, adjust for new DispatchResult semantics.
2568
2569         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2570         DispatchResult(true) mean to not update. Add class functions for
2571         setting dispatched and update, as well as reading.
2572
2573         * cursor.C (dispatch): don't handle update here
2574
2575 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2578         * trans_mgr.C: adjust
2579
2580         * paragraph_funcs.C (readParToken): exception safety
2581
2582         * lyxvc.h: store the vcs pointer in a scoped_ptr
2583         * lyxvc.C: adjust
2584
2585         * lyxsocket.C (serverCallback): exception safety
2586
2587         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2588
2589         * ispell.C (clone): make it return a auto_ptr
2590
2591         * factory.C (createInset): exception safety
2592         (readInset): exception safety
2593
2594         * bufferlist.C (newBuffer): exception safety
2595
2596         * Thesaurus.C (Thesaurus): use initialization for aik_
2597
2598         * MenuBackend.C (expandToc): exception safety.
2599
2600 2003-11-03  André Pönitz  <poenitz@gmx.net>
2601
2602         * buffer.C:
2603         * buffer.h:
2604         * bufferview_funcs.C: remove getInsetFromId()
2605
2606         * lyxcursor.[Ch]:
2607         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2608
2609         * lyxfunc.C:
2610         * text2.C:
2611         * text3.C: adjust
2612
2613 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * PosIterator.C (distance, advance): new
2616         * bufferview_funcs.[Ch] (put_selection_at): new
2617         * iterators.[Ch] (lockPath): new
2618
2619 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * iterators.[Ch] (asPosIterator): added
2622         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2623         * PosIterator.[Ch]: added
2624
2625 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * text3.C:
2628         * lyxfunc.C:
2629         * cursor.C (dispatch):
2630         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2631
2632         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2633         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2634         contructor, add a class function dispatched. Remove operator>=
2635
2636 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * debug.C: only use the default constructor for debugstream
2639         (lyxerr) here.
2640
2641         * main.C (main): include debug.h and setup the lyxerr streambuf
2642         here.
2643
2644 2003-10-31  José Matos  <jamatos@lyx.org>
2645
2646         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2647
2648         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2649         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2650         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2651         * paragraph_pimpl.C (simpleTeXSpecialC):
2652         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2653         add LatexRunParams argument.
2654
2655         * exporter.C (Export): change call accordingly.
2656
2657         * latexrunparams.h: add new member to take care of the other backends.
2658 2003-10-30  José Matos  <jamatos@lyx.org>
2659
2660         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2661         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2662         factorise code for paragraph output.
2663         * buffer.[Ch]:
2664         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2665         move functions.
2666
2667 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2668
2669         * text3.C (dispatch):
2670         * lyxfunc.C (dispatch):
2671         * cursor.C (dispatch):
2672         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2673
2674         * dispatchresult.h: make the dispatch_result_t ctor explicit
2675
2676 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2677
2678         * sgml.[Ch]:
2679         * buffer.C: small refactoring of docbook stuff
2680
2681 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2682
2683         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2684         meaning.
2685
2686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2689         operator dispatch_result_t, and operators for == != and >=
2690
2691         * cursor.C (dispatch): adjust for operator dispatch_result_t
2692         removal. comment out call to update
2693
2694         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2695
2696 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2697
2698         * text3.C:
2699         * text2.C:
2700         * text.C:
2701         * lyxtext.h:
2702         * lyxfunc.C:
2703         * cursor.C:
2704         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2705         (dispatch):
2706
2707         * dispatchresult.h: new file, DispatchResult broken out of
2708         insets/insetbase.h
2709
2710         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2711
2712 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * text.C (rowBreakPoint): put a hack inside #if 0
2715
2716 2003-10-28  André Pönitz  <poenitz@gmx.net>
2717
2718         * lyxtext.h:
2719         * metricsinfo.C:
2720         * paragraph_funcs.C:
2721         * rowpainter.C:
2722         * text.C:
2723         * text2.C: general cleanup (lots of small stuff)
2724
2725 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * text2.C (cursorEnd): simple fix to the "end key goes to one
2728         before the end on last row" bug
2729
2730 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2731
2732         * text.C (backspace): fix the "zombie characters"
2733
2734 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2737
2738 2003-10-27  André Pönitz  <poenitz@gmx.net>
2739
2740         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2741
2742         * factory.C: handle new InsetPagebreak, InsetLine
2743
2744         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2745         and move handling into new InsetPagebreak, InsetLine
2746
2747         * BufferView_pimpl.C:
2748         * LyXAction.C:
2749         * ParagraphParameters.C:
2750         * ParameterStruct.h:
2751         * lyxfunc.C:
2752         * lyxtext.h:
2753         * paragraph.C:
2754         * paragraph.h:
2755         * paragraph_funcs.C:
2756         * paragraph_pimpl.C:
2757         * rowpainter.C:
2758         * text.C:
2759         * text2.C:
2760         * text3.C: adjust
2761
2762 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2763
2764         * text.C:
2765         * lyxrow_funcs.[Ch]:
2766         * Bidi.C:
2767         * paragraph.C:
2768         * lyxtext.h:
2769         * rowpainter.C:
2770         * text2.C:
2771         * text3.C: remove lastPos uses in favour of Row::endpos
2772
2773 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * undo.C (performUndoOrRedo): fix two crashes by setting a
2776         cursor by hand and reordering some calls. Use bv->lockInset instead
2777         of inset->edit because the latter loses cursor information
2778
2779 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2782         by Martin
2783         (rowBreakPoint): fix width. change point to point + 1.
2784         Add a missing check.
2785
2786 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2787
2788         * MenuBackend.C:
2789         * lyxfunc.C: fix (at least partly) the problems
2790         with the Nav menu and headers inside branch insets
2791         reported by Kayvan
2792
2793 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * paragraph.C (getChar): add strong asserts
2796
2797         * lyxrow_funcs.C (lastPos): remove hideous hack
2798
2799         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2800         (fill): adjust to that (avoid an infinite loop)
2801
2802 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2805
2806 2003-10-23  André Pönitz  <poenitz@gmx.net>
2807
2808         * RowList_fwd.h: change list<> to vector<> to gain speed
2809         after suggestion from Alfredo
2810
2811 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * lyxtext.h: move the bidi stuff from here...
2814         * text.C: and here
2815         * text2.C: and here
2816         * Bidi.[Ch]: ... to here
2817
2818 2003-10-23  André Pönitz  <poenitz@gmx.net>
2819
2820         * lyxtext.h:
2821         * text.C (isLastRow, isFirstRow): new functions
2822
2823         * paragraph.h: new width cache member
2824
2825         * rowpainter.C: replace RowList::iterator with Row & where possible
2826
2827         * lyxfunc.C: replace several view()->text with a single call
2828
2829         * toc.C: fix 'unused' warning
2830
2831 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2834         when woring with stream::pos_type
2835         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2836
2837 2003-10-22  André Pönitz  <poenitz@gmx.net>
2838
2839         * lyxtext.h:
2840         * text.C: use Row & instead of RowList::iterator
2841
2842         * lyxrow.h: rename end() to endpos()
2843
2844         * rowpainter.C:
2845         * text.C:
2846         * text2.C: adjust
2847
2848 2003-10-22  Angus Leeming  <leeming@lyx.org>
2849
2850         * buffer.[Ch] (fully_loaded): new member function, returning true
2851         only when the file has been loaded fully.
2852         Used to prevent the premature generation of previews and by the
2853         citation inset to prevent computation of the natbib-style label.
2854
2855         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2856         templates are all set up.
2857
2858         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2859
2860 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * text.C: fixed an "oops" in the "is a bit silly"
2863         bug fix
2864
2865 2003-10-21  André Pönitz  <poenitz@gmx.net>
2866
2867         * FuncStatus.[Ch]: small stuff, whitespace
2868
2869         * lyxfont.[Ch]: operator<<() for debug reasons
2870
2871         * lyxfunc.C:
2872         * lyxrow_funcs.C:
2873         * lyxtext.h: whitespace, spelling
2874
2875         * paragraph.C: naming of variables
2876
2877         * text.C:
2878         * text2.C: small stuff
2879
2880
2881 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2882
2883         * text.C: (1) finish off the inset display() work;
2884         (2) fix the "is a bit silly" bug (accessing char
2885         past end of par).
2886
2887 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2888
2889         * text.C: re-introduce display() for insets, fixing the
2890         various bugs (stretch of line above, math inset
2891         positioning, ...)
2892
2893 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * text.C (rightMargin): remove spurious semicolon
2896
2897         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2898         1415)
2899
2900 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * text3.C: fix one crash due to wrong cursor def
2903
2904 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * vc-backend.C (scanMaster): make the regex static
2907
2908         * LaTeX.C (scanAuxFile): make the regexs static
2909
2910         * text3.C (doInsertInset, dispatch, dispatch):
2911         * text2.C (cursorUp, cursorDown):
2912         * text.C (selectNextWordToSpellcheck):
2913         * BufferView_pimpl.C (dispatch):
2914         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2915
2916 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2917
2918         * lyxsocket.C: include <cerrno>
2919
2920 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * lyxfunc.C (dispatch): remove textcache stuff
2923
2924         * bufferlist.C (release): remove textcache stuff
2925         (closeAll): ditto
2926
2927         * TextCache.C: delete file
2928         * TextCache.h: delete file
2929
2930         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2931
2932         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2933         delete of the bv_->text.
2934         (resizeCurrentBuffer): remove texcache stuff
2935         (workAreaResize): ditto
2936
2937 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2940         action.
2941
2942 2003-10-16  André Pönitz  <poenitz@gmx.net>
2943
2944         * lyxrow.[Ch]:
2945         * paragraph.h:
2946         * rowpainter.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C: speed up by storing y positions per paragraph plus per-row
2950         offset instead of having a 'full' y position in the row.
2951
2952 2003-10-15  André Pönitz  <poenitz@gmx.net>
2953
2954         * iterators.[Ch]:
2955         * iterators.[Ch]:
2956         * undo.[Ch]: make undo aware of inner insets
2957
2958 2003-10-14  Angus Leeming  <leeming@lyx.org>
2959
2960         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2961         static member functions LyX::ref() and LyX::cref.
2962         (lastfiles): new accessor functions for the new lastfiles_ member var.
2963         (addLyXView, views_): add a new LyXView to the list of views_.
2964         (updateInset): loop over all LyXViews to call their own updateInset
2965         member function, returning a pointer to the Buffer owning the inset.
2966
2967         * BufferView_pimpl.C (loadLyXFile):
2968         * MenuBackend.C (expandLastfiles):
2969         * bufferlist.C (MenuWrite, QuitLyX):
2970         lastfiles is no longer a global variable.
2971         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2972
2973         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2974         static function. Access through LyX::cref().emergencyCleanup().
2975
2976 2003-10-14  André Pönitz  <poenitz@gmx.net>
2977
2978         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2979
2980         * undo.[Ch]: restoring part of 'undo in insets'
2981
2982         * Makefile.am:
2983         * undo_funcs.[Ch]: merge with undo.[Ch]
2984
2985         * tabular.C: small cleansing stuff
2986
2987 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * paragraph_funcs.C (readParToken): report unknown insets as error
2990         boxes. Use the outer paragraph as location (also for unknown
2991         tokens).
2992
2993         * factory.C (readInset): do not abort on reading an unknown inset.
2994         Eat it and return 0.
2995
2996 2003-10-13  Angus Leeming  <leeming@lyx.org>
2997
2998         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2999
3000         * lyxrc.C: displayTranslator is now a function,
3001         declared in GraphicsTypes.h.
3002
3003 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3004
3005         * format.C: new placeholder $$a to pass the socket address.
3006
3007         * bufferlist.[Ch]: new function getBufferFromTmp.
3008
3009         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3010           files in the temporary dir.
3011
3012 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3013
3014         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3015
3016         * Makefile.am: add lyxsocket.[Ch].
3017
3018         * lyx_main.C (error_handler): handle SIGPIPE.
3019
3020 2003-10-13  André Pönitz  <poenitz@gmx.net>
3021
3022         * BufferView_pimpl.C:
3023         * lyxtext.h:
3024         * text.C:
3025         * text2.C:
3026         * text3.C:
3027         * undo_funcs.[Ch]: use paroffset_type instead of
3028           ParagraphList::iterators to prevent multiple conversion
3029           (and get a more robust interface)
3030
3031 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3032
3033         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3034         * lyxtext.h: ditto
3035         * text3.C (dispatch): ditto
3036
3037 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3040         move the onlyfile, use onlyfile instead of foundfile in a couple
3041         of places.
3042
3043         * DepTable.C (update): flush the error stream a bit more
3044
3045 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * lyxserver.C (callback): adjust
3048
3049         * lyxfunc.C (getStatus): add a missing brace in commented code
3050         (ensureBufferClean): reindent
3051         (dispatch): delete version taking a string
3052
3053 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * LaTeX.C (deplog): move found file handlig from here...
3056         (handleFoundFile): .. to new function here.
3057         (deplog): make sure to discover several files mentioned on the
3058         same log line.
3059
3060 2003-10-10  André Pönitz  <poenitz@gmx.net>
3061
3062         * lyxfunc.C:
3063         * lyxtext.h:
3064         * tabular.C:
3065         * text.C:
3066         * text2.C:
3067         * text3.C: fix some of the tabular crashes
3068
3069 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3070
3071         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3072
3073         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3074
3075 2003-10-09  André Pönitz  <poenitz@gmx.net>
3076
3077         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3078
3079         * BufferView.C:
3080         * BufferView_pimpl.C:
3081         * bufferview_funcs.C:
3082         * lyx_cb.C:
3083         * lyxcursor.C:
3084         * lyxfind.C:
3085         * lyxfunc.C:
3086         * lyxtext.h:
3087         * text.C:
3088         * text2.C:
3089         * text3.C:
3090         * text_funcs.[Ch]:
3091         * textcursor.[Ch]:
3092         * undo_funcs.C: adjust
3093
3094 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * text2.C (incrementItemDepth): new function, use a backtracking
3097         algorithm to discover the correct item depth.
3098         (resetEnumCounterIfNeeded): new function, use a backtracking
3099         algorithm to discover if counter reset is needed.
3100         (setCounter): use them. Simplify a bit. Add different labels for
3101         different item depths for itemize.
3102
3103         * paragraph.C (Paragraph): remove initialization of enumdepth
3104         (operator=): ditto
3105
3106         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3107         enumerate and itemize. Change the type of itemdepth to signed char.
3108
3109 2003-10-08  André Pönitz  <poenitz@gmx.net>
3110
3111         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3112           thing assignable.
3113         * text.C:
3114         * text2.C: adjust
3115
3116         * tabular.[Ch]: fix crash after 'row-insert'
3117
3118 2003-10-08  Angus Leeming  <leeming@lyx.org>
3119
3120         Fix doxygen warnings.
3121
3122         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3123         Remove CutAndPaste:: prefix from header file declaration.
3124
3125         * LColor.h (fill): remove LColor:: prefix from declaration.
3126
3127         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3128         use lyx::depth_type rather than Paragraph::depth_type so that
3129         header file and .C file match.
3130
3131         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3132
3133         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3134         * aspell.C: \file aspell_local.C -> \file aspell.C
3135         * gettext.C: \file gettext.C -> \file src/gettext.C
3136         * gettext.h: \file gettext.h -> \file src/gettext.h
3137         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3138         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3139         * text.C: \file text.C -> \file src/text.C
3140
3141         * toc.C: move comment so that doxygen is not confused.
3142
3143 2003-10-07  Angus Leeming  <leeming@lyx.org>
3144
3145         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3146
3147 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3148
3149         * aspell.C:
3150         * aspell_local.h: add forgotten std::string's.
3151
3152 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3153
3154         * LaTeXFeatures.C:
3155         * LyXAction.C:
3156         * factory.C:
3157         * lfuns.h:
3158         * lyxfunc.C:
3159         * text3.C: The Box patch. Fancybox support, minipage, parbox
3160
3161 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3162
3163         * CutAndPaste.h:
3164         * DepTable.h:
3165         * FloatList.h:
3166         * LaTeXFeatures.h:
3167         * ParagraphParameters.h:
3168         * TextCache.h:
3169         * Thesaurus.h:
3170         * bufferlist.h:
3171         * exporter.h:
3172         * importer.h:
3173         * lastfiles.h:
3174         * lyxfind.h:
3175         * lyxfont.h:
3176         * lyxlex.h:
3177         * lyxtextclasslist.h:
3178         * messages.h:
3179         * paragraph.h:
3180         * paragraph_pimpl.C:
3181         * textcursor.h: add <string> and other small fixes to make Lars'
3182         std::string patch compile with STLport.
3183
3184 2003-10-06  Angus Leeming  <leeming@lyx.org>
3185
3186         * LColor.h: Add missing #include <string>.
3187
3188 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * All most all file in all subdirs: Make <string> be the prefered
3191         way of getting to std::string, add using declarations.
3192
3193 2003-10-06  André Pönitz  <poenitz@gmx.net>
3194
3195         * metricsinfo.C: initialize LyXFont before changing attribute.
3196         (fixes the 'math in \emph is upright' bug)
3197
3198 2003-10-06  André Pönitz  <poenitz@gmx.net>
3199
3200         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3201
3202 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3203
3204         * graph.C:
3205         * paragraph_pimpl.C: Small fixes to build using STLport
3206
3207 2003-10-02  André Pönitz  <poenitz@gmx.net>
3208
3209         * lyxfunc.C:
3210         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3211
3212 2003-10-01  André Pönitz  <poenitz@gmx.net>
3213
3214         * factory.C: assert early
3215
3216 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3217
3218         * lyx_main.C: remove the global debug object
3219
3220         * debug.h: adjust for new debugstream
3221
3222         * debug.C: adjust for new debugstream and keep the global debug
3223         object here.
3224
3225 2003-09-22  Angus Leeming  <leeming@lyx.org>
3226
3227         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3228         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3229         an incomplete class LyXFont.
3230
3231 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3232
3233         * factory.C: bug fix in branches
3234
3235 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * lyxfunc.C (processKeySym): adjust
3238         (dispatch): adjust
3239         (dispatch): change arg name from ev to func, adjust
3240         (sendDispatchMessage): ditto
3241
3242         * lyx_main.C (defaultKeyBindings): adjust keybindings
3243         (deadKeyBindings): ditto
3244
3245         * kbsequence.C (addkey): return a FuncRequest
3246
3247         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3248
3249         * kbmap.C (bind): take a FuncRequest as arg, adjust
3250         (read): adjust
3251         (lookup): adjust
3252         (defkey): change to take a FuncRequest as arg, adjust
3253         (findbinding): take a FuncRequest as arg, adjust.
3254
3255         * funcrequest.h (operator=): added
3256
3257         * funcrequest.C (FuncRequest): default kb_action changed from
3258         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3259
3260         * buffer.C (dispatch): simplify
3261         (dispatch): adjust to take a FuncRequest as arg, adjust
3262
3263         * boost.C (assertion_failed): change assertion message slightly
3264
3265         * ToolbarBackend.C (read): simplify
3266
3267         * MenuBackend.C (binding): adjust call to findbinding, add a
3268         message if no binding is found.
3269         (read): simplify
3270         (expandToc): correct by adding a empty FuncRequest
3271
3272         * LyXAction.C: include <boost/assert.hpp>
3273         (isPseudoAction): delete function
3274         (LookupFunc): change name to...
3275         (lookupFunc): this. change return type to FuncRequest.
3276         (getActionName): take kb_action as arg, simplify
3277         (funcHasFlag): add an assert, simplify.
3278
3279 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * toc.C (action): return a FuncRequest, simplify
3282
3283         * lyxfunc.C (processKeySym): adjust
3284         (getStatus): delete version that takes an int.
3285         (getStatus): adjust
3286         (dispatch): delete version that takes action as int
3287         (dispatch): adjust
3288         (sendDispatchMessage): simplify and adjust
3289
3290         * funcrequest.C (getArg): take unsigned int as arg
3291
3292         * ToolbarBackend.C (read): adjust
3293         (add): delete version that takes func as a string.
3294         (getIton): take a FuncRequest as arg
3295
3296         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3297         action.
3298
3299         * MenuBackend.C (MenuItem): add a new construct that only takes a
3300         Kind, simplify the constructor use for submenus.
3301         (add): adjust
3302         (expandLastfiles): adjust
3303         (expandDocuments): adjust
3304         (expandFormats): adjust
3305         (expandFloatListInsert): adjust
3306         (expandFloatInsert): adjust
3307         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3308
3309         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3310         Remove class variables lyx_pseudo_map and lyx_arg_map
3311
3312         * LyXAction.C (searchActionArg): delete function
3313         (getPseudoAction): delete function
3314         (retrieveActionArg): delete function
3315         (LookupFunc): make it return kb_action, simplify.
3316         (getActionName): simplify
3317
3318         * factory.C (createInset): fix new bug
3319
3320 2003-09-19  Angus Leeming  <leeming@lyx.org>
3321
3322         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3323         masterFilename_ parameter in the include inset.
3324
3325         * factory.C (createInset): changes due to the changes to InsetInclude.
3326
3327 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3328
3329         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3330
3331 2003-09-18  Angus Leeming  <leeming@lyx.org>
3332
3333         * buffer.C:
3334         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3335         Inset::fillWithBibKeys.
3336         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3337
3338 2003-09-18  Angus Leeming  <leeming@lyx.org>
3339
3340         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3341         variables.
3342         (ctor): pass and store a 'Buffer const &'
3343         (buffer): new member function.
3344
3345         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3346         '*this' to the LaTeXFeatures ctor.
3347
3348 2003-09-18  Angus Leeming  <leeming@lyx.org>
3349
3350         * LColor.h:
3351         * lyxfont.C:
3352         * lyxfont.h:
3353         * lyxtext.h:
3354         * text.C: rename EnumLColor as LColor_color.
3355
3356 2003-09-18  Angus Leeming  <leeming@lyx.org>
3357
3358         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3359         remove #include "insets/insetbase.h" from cursor.h.
3360
3361 2003-09-18  Angus Leeming  <leeming@lyx.org>
3362
3363         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3364         InsetOld_code to remove #include "inset.h".
3365
3366         * iterators.C: add #include "insets/inset.h"
3367
3368 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * BufferView.C: remove more locking stuff that apparently doesn't
3371         do anything sensible.
3372
3373 2003-09-16  André Pönitz  <poenitz@gmx.net>
3374
3375         * paragraph.[Ch]:
3376         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3377           performance boost.
3378
3379 2003-09-16  Angus Leeming  <leeming@lyx.org>
3380
3381         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3382
3383         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3384         arg/return type.
3385
3386         * paragraph.h: remove #include "lyxfont.h". Forward declare
3387         LyXFont_size.
3388
3389 2003-09-16  Angus Leeming  <leeming@lyx.org>
3390
3391         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3392         of support/textutils.h.
3393         (isWord): move the contents of support/textutils.h's IsWordChar here.
3394
3395         * buffer.C:
3396         * lyxfind.C:
3397         * rowpainter.C:
3398         * text.C:
3399         * text2.C: add #include "paragraph.h".
3400
3401         * rowpainter.C:
3402         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3403
3404 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * main.C:
3407         * lyx_main.C:
3408         * lyx_cb.C:
3409         * buffer.C:
3410         * LaTeX.C: use namespace alias for lyx::support::os
3411
3412 2003-09-16  Angus Leeming  <leeming@lyx.org>
3413
3414         * bufferparams.C:
3415         * bufferview_funcs.C:
3416         * factory.C:
3417         * lyxfunc.C:
3418         * paragraph_pimpl.C:
3419         * rowpainter.C:
3420         * text.C: add #include "LColor.h".
3421
3422 2003-09-16  Angus Leeming  <leeming@lyx.org>
3423
3424         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3425         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3426         return LyXFont &.
3427         Store the FontBits::color variable as an int rather than as an
3428         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3429         file.
3430
3431         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3432         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3433         string calls together.
3434
3435         * lyxrc.C: add #include "LColor.h".
3436
3437 2003-09-15  Angus Leeming  <leeming@lyx.org>
3438
3439         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3440         a cow_ptr.
3441
3442 2003-09-15  Angus Leeming  <leeming@lyx.org>
3443
3444         * LColor.h: add an EnumLColor wrapper for LColor::color.
3445
3446         * lyxfont.[Ch] (color, setColor, realColor):
3447         * lyxtext.h, text.C (backgroundColor):
3448         pass EnumLColor args to/from the functions, rather than LColor::color
3449         ones.
3450
3451         * lyxfont.h:
3452         * lyxtext.h: forward declare EnumLColor.
3453
3454         * lyx_main.C: add #include "LColor.h".
3455
3456 2003-09-15  Angus Leeming  <leeming@lyx.org>
3457
3458         * .cvsignore: add lyx-gtk.
3459
3460 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * Chktex.C
3463         * LaTeX.C
3464         * LaTeXFeatures.C
3465         * ParagraphParameters.C
3466         * Spacing.C
3467         * buffer.C
3468         * bufferparams.C
3469         * bufferview_funcs.C
3470         * chset.C
3471         * counters.C
3472         * funcrequest.C
3473         * lyxfont.C
3474         * lyxgluelength.C
3475         * lyxlength.C
3476         * paragraph.C
3477         * paragraph_funcs.C
3478         * text3.C
3479         * vc-backend.C: remove usage of STRCONV
3480
3481 2003-09-15  Angus Leeming  <leeming@lyx.org>
3482
3483         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3484         explicitly define the color passed to the painter.
3485
3486 2003-09-15  Angus Leeming  <leeming@lyx.org>
3487
3488         * bufferparams.C (BufferParams): reorder member initializers to avoid
3489         compiler warning.
3490
3491 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3494         * text.C (updateRowPositions): remove an unusual nop
3495
3496 2003-09-12  André Pönitz  <poenitz@gmx.net>
3497
3498         * BufferView_pimpl.C:
3499         * Bullet.C:
3500         * layout.h:
3501         * lyxfunc.C:
3502         * lyxlayout.[Ch]:
3503         * lyxtextclass.C:
3504         * rowpainter.C:
3505         * text.C:
3506         * text2.C:
3507         * Counters.[Ch]: finish the 'automatic counters' job
3508
3509 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3510
3511         * aspell.C: include <boost/assert.cpp> (compile fix)
3512
3513 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3514
3515         * boost.C (assertion_failed): use lyx::support::abort instead of
3516         assert.
3517
3518 2003-09-10  Angus Leeming  <leeming@lyx.org>
3519
3520         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3521         with their _fwd progeny.
3522
3523 2003-09-09  Angus Leeming  <leeming@lyx.org>
3524
3525         134 files throughtout the source tree: replace 'using namespace abc;'
3526         directives with the appropriate 'using abc::xyz;' declarations.
3527
3528 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3529
3530         * boost.C (emergencyCleanup): moved here from LAssert.c
3531         (assertion_failed): new function, called by BOOST_ASSERT
3532
3533         * several files: change Assert to BOOST_ASSERT
3534
3535 2003-09-09  Angus Leeming  <leeming@lyx.org>
3536
3537         * buffer.[Ch]: Add an Impl class and move Buffer's member
3538         variables into it. As a result move several header files out of
3539         buffer.h.
3540
3541         Add header files to lots of .C files all over the tree as a result.
3542
3543 2003-09-09  Angus Leeming  <leeming@lyx.org>
3544
3545         * buffer.[Ch]: make Buffer's member variables private. Add
3546         accessor functions.
3547
3548         Lots of changes all over the tree as a result.
3549
3550 2003-09-08  Angus Leeming  <leeming@lyx.org>
3551
3552         * graph.C: #include <config.h>.
3553
3554 2003-09-08  Angus Leeming  <leeming@lyx.org>
3555
3556         * BranchList.C:
3557         * BufferView.C:
3558         * BufferView_pimpl.C:
3559         * CutAndPaste.C:
3560         * DepTable.C:
3561         * LaTeX.C:
3562         * LaTeXFeatures.C:
3563         * LyXAction.C:
3564         * MenuBackend.C:
3565         * TextCache.C:
3566         * aspell.C:
3567         * buffer.C:
3568         * bufferlist.C:
3569         * changes.C:
3570         * chset.C:
3571         * converter.C:
3572         * counters.C:
3573         * debug.C:
3574         * graph.C:
3575         * ispell.C:
3576         * lyx_cb.C:
3577         * lyxfind.C:
3578         * lyxfunc.C:
3579         * lyxlex_pimpl.C:
3580         * lyxrc.C:
3581         * lyxrow.C:
3582         * paragraph.C:
3583         * rowpainter.C:
3584         * texrow.C:
3585         * text.C:
3586         * text2.C:
3587         * toc.C: remove redundant using directives.
3588
3589 2003-09-07  Angus Leeming  <leeming@lyx.org>
3590
3591         * LaTeXFeatures.h: remove #include "support/types.h".
3592         * ToolbarBackend.h: remove #include <algorithm>.
3593         * changes.h: remove #include <ctime>.
3594         * debug.h: remove #include <iosfwd>.
3595         * graph.h: remove #include "support/std_string.h".
3596         * lyx_main.h: remove #include <csignal>.
3597         * lyxlex_pimpl.h: remove #include <fstream>.
3598         * sgml.h: remove #include <algorithm>, <utility>.
3599         * toc.h: remove #include "support/std_ostream.h".
3600         Add #include <iosfwd>.
3601
3602 2003-09-07  Angus Leeming  <leeming@lyx.org>
3603
3604         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3605
3606         * converter.h: forward declare LatexRunParams.
3607         * encoding.h: remove #include "lyxrc.h".
3608         * lyxtext.h: remove #include "LColor.h".
3609         * lyxtextclass.h: remove #include "support/types.h".
3610         * trans.h: remove #include "tex-accent.h".
3611         * trans_mgr.h: remove #include "tex-accent.h".
3612         * insets/inset.h: remove #include "support/types.h", <vector>.
3613         * insets/insetcollapsable.h: remove #include "LColor.h".
3614         * insets/insetinclude.h: remove #include "dimension.h".
3615         * insets/insetlatexaccent.h: remove #include "dimension.h".
3616         * insets/insetoptarg.h:: remove #include "insettext.h".
3617         * insets/insettext.h: remove #include "dimension.h",
3618         <boost/shared_ptr.hpp>
3619
3620         * insets/renderers.h: add #include "dimension.h".
3621         * insets/updatableinset.h: add #include "support/types.h".
3622
3623         * many .C files: Associated changes.
3624
3625 2003-09-06  Angus Leeming  <leeming@lyx.org>
3626
3627         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3628         one, inside testInvariant.
3629
3630         * PrinterParams.C: new file.
3631         * PrinterParams.[Ch]: move the function bodies out of line.
3632
3633 2003-09-06  Angus Leeming  <leeming@lyx.org>
3634
3635         * ParagraphParameters.h: forward declare ParameterStruct rather than
3636         including its header file.
3637         (depth): moved out-of-line.
3638
3639 2003-09-06  Angus Leeming  <leeming@lyx.org>
3640
3641         * BufferView_pimpl.h:
3642         * kbmap.h:
3643         * kbsequence.h:
3644         * lyxfunc.h: forward declare LyXKeySym rather than
3645         #include "frontends/LyXKeySym.h".
3646
3647         * BufferView_pimpl.C:
3648         * kbmap.C:
3649         * kbsequence.C:
3650         * lyxfunc.C: associated changes.
3651
3652 2003-09-06  Angus Leeming  <leeming@lyx.org>
3653
3654         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3655         As a result, can remove the #include "insets/inset.h" from BufferView.h
3656
3657 2003-09-06  Angus Leeming  <leeming@lyx.org>
3658
3659         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3660         As a result, can remove the #include "insets/inset.h" from BufferView.h
3661
3662 2003-09-06  Angus Leeming  <leeming@lyx.org>
3663
3664         * buffer_funcs.C:
3665         * buffer.h:
3666         * bufferlist.C:
3667         * BufferView.C:
3668         * bufferview_funcs.C:
3669         * BufferView_pimpl.C:
3670         * CutAndPaste.C:
3671         * lyx_cb.C:
3672         * lyxfunc.C:
3673         * paragraph.h:
3674         * ParagraphParameters.C:
3675         * tabular.C:
3676         * text3.C:
3677         * toc.C:
3678         * undo_funcs.C:
3679         * frontends/controllers/ControlDocument.C:
3680         * insets/insetcaption.C: rearrange the #includes into some sort of
3681         coherent order.
3682
3683         * buffer.h: remove #includes ErrorList.h, undo.h
3684
3685 2003-09-06  Angus Leeming  <leeming@lyx.org>
3686
3687         * support/types.h: add a 'depth_type' typedef, used to store the
3688         nesting depth of a paragraph.
3689
3690         * paragraph.h:
3691         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3692         defining explicitly.
3693
3694         * buffer.h:
3695         * paragraph_funcs.h:
3696         * ParagraphParameters.h:
3697         * sgml.h: use lyx::depth_type rather than Paragraph or
3698         ParameterStruct's depth_type.
3699
3700         * buffer.h
3701         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3702
3703         * BufferView.C:
3704         * BufferView_pimpl.C:
3705         * CutAndPaste.C:
3706         * ParagraphParameters.C:
3707         * buffer_funcs.C:
3708         * bufferlist.C:
3709         * bufferview_funcs.C:
3710         * lyx_cb.C:
3711         * lyxfunc.C:
3712         * tabular.C:
3713         * text3.C:
3714         * toc.C:
3715         * undo_funcs.C:
3716         * frontends/LyXView.C:
3717         * frontends/controllers/ControlDocument.C:
3718         * frontends/controllers/ControlErrorList.C:
3719         * insets/insetbibitem.C:
3720         * insets/insetbranch.C:
3721         * insets/insetcaption.C:
3722         * insets/insetcollapsable.C:
3723         * insets/insetenv.C:
3724         * insets/insetert.C:
3725         * insets/insetfloat.C:
3726         * insets/insetfoot.C:
3727         * insets/insetfootlike.C:
3728         * insets/insetnewline.C:
3729         * insets/insetquotes.C:
3730         * insets/insettabular.C:
3731         * insets/insettext.C:
3732         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3733
3734         * frontends/controllers/ControlChanges.C: #include "changes.h".
3735
3736 2003-09-06  Angus Leeming  <leeming@lyx.org>
3737
3738         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3739         than #including paragraph.h.
3740
3741         * ParagraphList.h:
3742         * RowList.h: deleted. Superfluous.
3743
3744         * CutAndPaste.h:
3745         * iterators.h:
3746         * lyxcursor.h:
3747         * lyxtext.h:
3748         * text_funcs.h:
3749         * undo.h:
3750         * undo_funcs.h:
3751         * insets/inset.h:
3752         * insets/insettext.h: use ParagraphList_fwd.h rather than
3753         ParagraphList.h.
3754
3755         * paragraph.h: don't forward declare ParagraphList.
3756
3757         * buffer.h:
3758         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3759         rather than ParagraphList.h. paragraph.h is still needed for the
3760         Paragraph::depth_type parameters.
3761
3762         * textcursor.h: enable it to compile stand-alone in light of the
3763         above changes.
3764
3765         * bufferview_funcs.C:
3766         * iterators.C:
3767         * lyxfunc.C:
3768         * lyxrow_funcs.C:
3769         * paragraph.C:
3770         * rowpainter.C:
3771         * text.C:
3772         * text2.C:
3773         * text3.C:
3774         * text_funcs.C:
3775         * textcursor.C:
3776         * undo.C:
3777         * frontends/controllers/ControlParagraph.C:
3778         * frontends/controllers/ControlTabular.C:
3779         * insets/insetmarginal.C:
3780         * insets/insetminipage.C:
3781         * insets/insetnote.C:
3782         * insets/insetoptarg.C: add header files needed to compile again.
3783
3784 2003-09-06  Angus Leeming  <leeming@lyx.org>
3785
3786         * RowList_fwd.h: new file, forward-declaring Row rather than
3787         #including lyxrow.h.
3788
3789         * lyxrow_funcs.h:
3790         * lyxtext.h:
3791         * paragraph.h:
3792         * insets/insettext.h: use it instead of RowList.h
3793
3794         * bufferview_funcs.C:
3795         * lyxfunc.C:
3796         * lyxrow_funcs.C:
3797         * paragraph.C:
3798         * rowpainter.C:
3799         * text.C:
3800         * text2.C:
3801         * text3.C: #include "RowList.h".
3802
3803 2003-09-05  Angus Leeming  <leeming@lyx.org>
3804
3805         * factory.C (createInset):
3806         * vspace.C (c-tor): replace sscanf call with an istringstream.
3807         * ispell.C: re-add missing HP/UX headers.
3808         * lyxserver.C: re-add missing  os2 headers.
3809
3810 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3811
3812         * BranchList.C:
3813         * graph.C:
3814         * ispell.C:
3815         * lastfiles.C:
3816         * lyx_cb.C:
3817         * lyxserver.C:
3818         * texrow.C:
3819         * text3.C: re-add missing system headers, needed for 2.95.2.
3820
3821 2003-09-05  Angus Leeming  <leeming@lyx.org>
3822
3823         Changes most place everywhere due to the removal of using directives
3824         from support/std_sstream.h.
3825
3826 2003-09-05  Angus Leeming  <leeming@lyx.org>
3827
3828         Replace LString.h with support/std_string.h,
3829         Lsstream.h with support/std_sstream.h,
3830         support/LIstream.h with support/std_istream.h,
3831         support/LOstream.h with support/std_ostream.h.
3832
3833         Changes resulting throughout the tree.
3834
3835 2003-09-05  Angus Leeming  <leeming@lyx.org>
3836
3837         * sgml.h: ensure that the header file can be compiled stand-alone.
3838         * *.C: strip out redundant #includes. (320 in total.)
3839
3840 2003-09-04  Angus Leeming  <leeming@lyx.org>
3841
3842         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3843         here (from getPackages).
3844
3845         * debug.[Ch]: add a new EXTERNAL tag.
3846
3847 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3848
3849         * text2.C (cursorEnd): simplify
3850         (setCursor): adjust
3851         (getColumnNearX): adjust
3852
3853         * text.C (computeBidiTables): adjust
3854         (fill): adjust
3855
3856         * rowpainter.C (paintChars): adjust
3857         (paintSelection): adjust
3858         (paintChangeBar): adjust
3859         (paintText): adjust
3860
3861         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3862         lastPos instead.
3863         (numberOfSeparators): adjust
3864
3865 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3866
3867         * LyXAction.C:
3868         * box.[Ch]:
3869         * lfuns.h:
3870         * lyxfunc.C:
3871         * text3.C: Restricts the mouse click functionality
3872         of insets like bibtex, include, toc and floatlist to the visible
3873         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3874         up the dialogs. Cursor has to be in front of the inset (i.e.
3875         start of row) for this to function.
3876
3877 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3878
3879         * bufferview_funcs.C (currentState): output row information
3880
3881 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3882
3883         * bufferview_funcs.C (currentState): output paragraph position
3884
3885 2003-09-04  Angus Leeming  <leeming@lyx.org>
3886
3887         * FloatList.h: move out #include "Floating.h".
3888         * LaTeX.h: move out #include "DepTable.h".
3889         * LyXAction.h: move out #include "funcrequest.h".
3890         * buffer.h: move out #include "author.h", "iterators.h".
3891         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3892         * lyx_main.h: move out #include "errorlist.h".
3893         * lyxfunc.h: move out #include "FuncStatus.h".
3894         * lyxtext: move out #include "lyxcursor.h".
3895         * paragraph_pimpl.h: move out #include "counters.h".
3896
3897 2003-09-03  Angus Leeming  <leeming@lyx.org>
3898
3899         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3900         preamble_snippets list, enabling us to add snippets to the preamble
3901         only if the snippet was not there already.
3902
3903 2003-09-04  Angus Leeming  <leeming@lyx.org>
3904
3905         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3906
3907 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3910         update
3911
3912 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3913
3914         * BranchList.C: point fix, earlier forgotten
3915
3916 2003-09-02  Angus Leeming  <leeming@lyx.org>
3917
3918         * box.C (contains): renamed from 'contained' after a fantastic
3919         amount of hot air.
3920
3921 2003-09-02  John Levon  <levon@movementarian.org>
3922
3923         * BufferView.C:
3924         * lyxcursor.h:
3925         * lyxcursor.C:
3926         * lyxfunc.C:
3927         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3928
3929 2003-09-02  John Levon  <levon@movementarian.org>
3930
3931         * text2.C: simplification of cursorEnd(), including partial
3932         fix for bug 1376
3933
3934 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * buffer.C (readFile): add a space
3937
3938 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3941
3942 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * buffer.C (readFile): new function, take a filename and a
3945         ParagraphList::iterator
3946         (readFile): adjust
3947         (readFile): adjust, make it private. don't use setStream, make
3948         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3949         always contain the filename.
3950
3951         * BufferView.C (insertLyXFile): simplify and make it work for
3952         gzipped files.
3953
3954 2003-08-30  John Levon  <levon@movementarian.org>
3955
3956         * Makefile.am: fix dist (from Kayvan)
3957
3958 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * most files: change to use const Buffer refs
3961
3962 2003-08-27  André Pönitz  <poenitz@gmx.net>
3963
3964         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3965         on top of ownerPar().
3966
3967 2003-08-27  John Levon  <levon@movementarian.org>
3968
3969         * funcrequest.C: properly initialise POD members
3970
3971 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * lyxtext.h (top_y): move top_y from here
3974         * text.C:
3975         * text2.C:
3976         * text3.C:
3977         * BufferView.[Ch]:
3978         * BufferView_pimpl.[Ch]: to here
3979         * frontends/screen.C:
3980         * insets/insettabular.C:
3981         * insets/insettext.C: adjust
3982         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3983
3984 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * BufferView.[Ch]:
3987         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3988
3989 2003-08-26  André Pönitz  <poenitz@gmx.net>
3990
3991         * paragraph_func.[Ch] (outerPar): new function
3992
3993         * paragraph.C:
3994         * paragraph_funcs.C:
3995         * paragraph_funcs.h:
3996         * paragraph_pimpl.C:
3997         * text2.C: remove Inset::par_owner
3998
3999 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4000
4001         * lyxrow_funcs.C:
4002         * lyxtext.h:
4003         * text.C:
4004         * text2.C: eliminates the needFullRow/display() stuff
4005         altogether, putting the logic in metrics/draw in the insets.
4006
4007 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * text2.C (redoParagraphInternal, redoParagraphs):
4010         * text.C (redoParagraph): add a call to updateRowPositions at the
4011         end of each 'metrics-like' call. Remove all others.
4012         (getRow): remove the 'y-computing' version.
4013         (getRowNearY): do not compute nor return the real y. Solve the
4014         'y < 0' problem and simplify.
4015
4016 2003-08-22  Angus Leeming  <leeming@lyx.org>
4017
4018         * *.[Ch]: clean-up of licence and author blurbs.
4019         Also move config.h out of a few .h files and into a few .C files.
4020
4021 2003-08-22  André Pönitz  <poenitz@gmx.net>
4022
4023         * lyxrow.[Ch]: add x_ and *fill_ members
4024
4025         * lyxtext.h:
4026         * text.C:
4027         * rowpainter.C:
4028         * text2.C: adjust/remove prepareToPrint() calls
4029
4030 2003-08-22  André Pönitz  <poenitz@gmx.net>
4031
4032         * lyxrow.[Ch]: add  end_ member
4033
4034         * lyxrow_funcs.C: use LyXRow::end_
4035
4036         * lyxtext.h (singleWidth): add LyXFont parameter
4037
4038         * rowpainter.C:
4039         * text2.C: adjust LyXText::singleWidth() calls
4040
4041         * text.C (redoParagraph): simplify row breaking logic
4042
4043
4044 2003-08-19  André Pönitz  <poenitz@gmx.net>
4045
4046         * funcrequest.C: initialize button_ member
4047
4048         * text3.C:
4049         * rowpainter.[Ch]: interface consolidation
4050
4051 2003-08-18  André Pönitz  <poenitz@gmx.net>
4052
4053         * BufferView.C:
4054         * BufferView_pimpl.C:
4055         * lyxfind.C:
4056         * paragraph_funcs.C:
4057         * rowpainter.C:
4058         * text3.C: remove LyXScreen::draw() and fitCursor calls
4059
4060         * BranchList.h: remove spurious semicolons
4061
4062         * MenuBackend.C: fix branchlist related crash
4063
4064 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4065
4066         * BranchList.[Ch]:
4067         * InsetList.[Ch]:
4068         * LColor.[Ch]:
4069         * LyXAction.C:
4070         * Makefile.am:
4071         * MenuBackend.[Ch]:
4072         * bufferparams.[Ch]:
4073         * factory.C:
4074         * lfuns.h:
4075         * lyxfunc.C:
4076         * text3.C: implements the 'branch inset'
4077         idea. This allows the output of various versions of a document
4078         from a single source version, selectively outputing or suppressing
4079         output of parts of the text.
4080         This implementation contains a 'branch list editor' in a separate
4081         tab of the document settings dialog. Branches are user definable
4082         and have a "display colour" to distinguish them on-screen.
4083
4084         ColorHandler was somewhat cleaned up.
4085         (1) make possible a dynamically growing LColor list by allowing
4086         the graphic context cache to grow along (vector);
4087         (2) eliminate an IMHO unnecessary step in colour allocation.
4088
4089 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4090
4091         * BufferView_pimpl.C: compile fix
4092
4093 2003-08-15  André Pönitz  <poenitz@gmx.net>
4094
4095         * rowpainter.C: remove extra metrics calls
4096
4097         * lyxtext.h: merge the two constructors into a single one,
4098           pass reference to owner's par list
4099
4100         * BufferView_pimpl.C:
4101         * text.C:
4102         * text2.C: adjust
4103
4104 2003-08-15  André Pönitz  <poenitz@gmx.net>
4105
4106         * lyxrow_funcs.[Ch]:
4107         * lyxtext.h:
4108         * paragraph.h:
4109         * paragraph_funcs.C:
4110         * rowpainter.C:
4111         * text.C:
4112         * text2.C:
4113         * text3.C:
4114         * text_funcs.C: split LyXText::rowlist_ into individual
4115         Paragraph::rows_ chunks
4116
4117         * BufferView.[Ch]:
4118         * BufferView_pimpl.[Ch]:
4119         * lyxfind.C:
4120         * lyxtext.h:
4121         * text3.C: remove toggleSelection()
4122
4123 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4124
4125         * bufferlist.C: beautify two alerts (shorter text of buttons)
4126         * buffer.C: Remove redundant ' ' from message
4127         * tabular.h:
4128         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4129         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4130         rename VALIGN_CENTER to VALIGN_MIDDLE
4131
4132 2003-08-11  André Pönitz  <poenitz@gmx.net>
4133
4134         * lyxtext.h (getPar):
4135         * text.C: new function
4136
4137 2003-08-11  André Pönitz  <poenitz@gmx.net>
4138
4139         * Makefile.am:
4140         * tracer.[Ch]: remove unneeded files
4141
4142         * InsetList.[Ch]: remove resizeInsetsLyXText()
4143
4144         * lyxtext.h:
4145         * text.C:
4146         * text2.C:
4147         * text3.C: merge insertParagraphs() and appendParagraph()
4148         remove breakAgain(), update()
4149
4150         * BufferView_pimpl.[Ch]:
4151         * bufferview_funcs.[Ch]:
4152         * lyxfunc.C:
4153         * paragraph.[Ch]:
4154         * rowpainter.C:
4155         * tabular.C: adjust after text & InsetList changes.
4156
4157 2003-08-08  André Pönitz  <poenitz@gmx.net>
4158
4159         * text.C (insertChar, backspace): replace rowlist fiddling
4160         with rebreak of full par
4161
4162         * lyxtext.h:
4163         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4164         checkParagraph, updateInset): removed
4165
4166 2003-08-07  André Pönitz  <poenitz@gmx.net>
4167
4168         * paragraph.C:
4169         * text3.C: merge some LFUN handlers, remove dead code
4170
4171 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4172
4173         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4174
4175 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * text2.C (DEPM): fix part of bug 1255 and 1256
4178
4179 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4180
4181         * BufferView_pimpl.C (workAreaDispatch): change to use
4182         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4183         that are no mouse related.
4184
4185 2003-08-05  André Pönitz  <poenitz@gmx.net>
4186
4187         * BufferView.[Ch]:
4188         * BufferView_pimpl.[Ch]:
4189         * bufferview_funcs.C:
4190         * text2.C:
4191         * text3.C: rip out "deep update"
4192
4193         * textcursor.[Ch] (last_sel_cursor): remove unused member
4194
4195 2003-08-04  André Pönitz  <poenitz@gmx.net>
4196
4197         * BufferView.[Ch]:
4198         * BufferView_pimpl.[Ch]:
4199         * ParagraphParameters.C:
4200         * bufferview_funcs.C:
4201         * lyx_cb.C:
4202         * lyxfind.C:
4203         * lyxfunc.C:
4204         * text.C:
4205         * text2.C:
4206         * text3.C: replace "complicated" BufferView::update(...) calls with
4207         simpler ones.
4208
4209         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4210
4211 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4212
4213         * Makefile.am (lyx_SOURCES): add paper.h
4214
4215 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4216
4217         * Makefile.am: move things around so that both lyx-qt and
4218         lyx-xforms can be built (according to --with-frontend). Then lyx
4219         is a symbolic link to lyx-[firstfrontend]
4220
4221 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4222
4223         * Always use std::endl with lyxerr
4224
4225 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4226
4227         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4228
4229 2003-08-01  André Pönitz  <poenitz@gmx.net>
4230
4231         * BufferView.[Ch]:
4232         * BufferView_pimpl.[Ch]:
4233         * lyxfunc.C:
4234         * text3.C: merge BufferView::repaint() and BufferView::update()
4235
4236 2003-08-01  José Matos  <jamatos@lyx.org>
4237
4238         * buffer.[Ch]: file_format is no longer a buffer data element.
4239
4240 2003-08-01  André Pönitz  <poenitz@gmx.net>
4241
4242         * BufferView.C:
4243         * lyxtext.h:
4244         * text.C:
4245         * text2.C: make redoParagraph more independent of current cursor
4246
4247         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4248         * text.C:
4249         * text2.C: remove unneeded members
4250
4251 2003-07-30  André Pönitz  <poenitz@gmx.net>
4252
4253         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4254
4255         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4256           create a single function...
4257
4258         * paragraph_funcs.C (moveItem): ... here.
4259
4260         * text.C:
4261           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4262
4263 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4264
4265         * LColor.[Ch]: Add comment and greyedout logical colors.
4266
4267 2003-07-30  André Pönitz  <poenitz@gmx.net>
4268
4269         * tabular.C: don't use Assert too heavily. This crashes where it
4270           shouldn't
4271
4272 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4273
4274         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4275         is disabled (bug 1232)
4276
4277 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * factory.C: limited 'arg' scope
4280
4281 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * factory.C: fixed Note submenu issues
4284
4285 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4286
4287         * factory.C: submenu for Note/Comment/Greyedout
4288
4289 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * lyx_main.C (LyX):
4292         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4293
4294 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * LaTeXFeatures.C:
4297         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4298         greyedout. Patch provided by Jürgen Spitzmüller.
4299
4300 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4301
4302         * kbmap.C (read): fix error message when reading bind files
4303
4304 2003-07-29  Angus Leeming  <leeming@lyx.org>
4305
4306         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4307         certainly does not do what it purports to do. I am doing it, and
4308         us, a favour by killing it.
4309
4310 2003-07-28  José Matos  <jamatos@lyx.org>
4311
4312         * buffer.C (readBody, do_writeFile):
4313         * paragraph.C(readParagraph): \end_document replaces \the_end.
4314
4315 2003-07-29  André Pönitz  <poenitz@gmx.net>
4316
4317         * BufferView.[Ch]:
4318         * BufferView_pimpl.[Ch]:
4319         * lyxfunc.C:
4320         * text2.C:
4321         * text3.C:
4322         * textcursor.[Ch]: remove toggleToggle & Co
4323
4324 2003-07-28  José Matos  <jamatos@fep.up.pt>
4325
4326         * buffer.C (readParagraph):
4327         * params_func (readParToken, readParagraph):
4328         * paragraph.C (write): \layout -> \begin_layout.
4329
4330 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * lyxlex_pimpl.C (setFile): clean up slightly.
4333
4334         * bufferparams.h: add compressed var
4335
4336         * buffer_funcs.C (readFile): adjust for LyXLex change
4337         (newFile): ditto + simplify
4338
4339         * buffer.C (writeFile): handle writing of compressed files
4340
4341         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4342         Check if the file is compressed and set a bufferparm if so.
4343
4344         * Makefile.am (lyx_LDADD): remove explicit -lz
4345
4346 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4347
4348         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4349         makeDocBookFile): put the real LyX version in the first line of
4350         the file
4351
4352         * version.h:
4353         * version.C.in: remove lyx_docversion
4354
4355         * tabular.C (write_attribute): add a template-based version to
4356         write enums properly
4357
4358 2003-07-28  André Pönitz  <poenitz@gmx.net>
4359
4360         * lyxtext.h:
4361         * text.C:
4362         * text2.C:
4363         * text3.C: use doubles again for x-coordinates. They are needed.
4364
4365 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * messages.C (getLocaleDir): use lyx_localedir()
4368
4369         * lyxlex_pimpl.C (setFile): compress stuff
4370
4371         * buffer.C (writeFile): add some compression stuff
4372         (do_writeFile): new func, dont call expliti close... will this
4373         breake anything?
4374
4375         * Makefile.am (lyx_LDADD): add -lz
4376
4377 2003-07-28  José Matos  <jamatos@fep.up.pt>
4378
4379         * buffer.C: increment file format.
4380         * paragraph_funcs (readParagraph, readParToken):
4381         * paragraph.C (readParagraph): add \end_layout.
4382
4383 2003-07-27  Angus Leeming  <leeming@lyx.org>
4384
4385         * Makefile.am: remove special casing for configure-time setting of
4386         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4387
4388         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4389         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4390
4391 2003-07-26  André Pönitz  <poenitz@gmx.net>
4392
4393         * paragraph_func.[Ch]:
4394         * paragraph.C (realizeFont): inline it whereever it is used
4395
4396         * rowpainter.C:
4397         * text.C:
4398         * text2.C:
4399         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4400
4401
4402 2003-07-26  André Pönitz  <poenitz@gmx.net>
4403
4404         *       lyxtext.h:
4405         * text.C:
4406         * text2.C: get rid of LyXText::need_break_row
4407
4408 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * toc.[Ch]: put namespace toc inside namespace lyx
4411
4412         * MenuBackend.C (expandToc2): adjust for lyx::toc
4413         (expandToc): ditto
4414
4415         * lyxfunc.C (dispatch): adjust for lyx::find
4416
4417         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4418         lyx::find instead. Reorganize a bit.
4419         (LyXReplace): rename to replace
4420         (LyXFind): rename to find
4421
4422         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4423         (dispatch): ditto
4424
4425 2003-07-26  André Pönitz  <poenitz@gmx.net>
4426
4427         * text.C (setHeightOfRow): restrict scope of temporary variable
4428
4429         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4430           code (never has been used?)
4431
4432 2003-07-27  Asger Alstrup  <alstrup@local>
4433
4434         * text.C (fill): Optimise algorithm to exploit that we can reuse
4435         the LyXFont for many characters.
4436         (setHeightOfRow): Same thing.
4437         (rowBreakPoint): Same thing.
4438
4439 2003-07-26  Asger Alstrup  <alstrup@local>
4440
4441         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4442
4443         * text.C (singleWidth): Spurious font copying in hot-spot
4444         singleWidth avoided. Reorder tests for arabic for efficiency.
4445
4446         * text.C (fill): handle empty paragraphs better.
4447
4448 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4449
4450         * ispell.C:
4451         * encoding.h: add includes
4452
4453         * lyxrc.C: remove reading of bind files
4454
4455         * lyx_main.C (init): setup bindings and menus only if we have a
4456         gui.
4457
4458         * kbmap.C (read): new method. Do the actual reading of bind
4459         files.
4460
4461         * converter.C (dvipdfm_options):
4462         * bufferparams.C:
4463         * lyxrc.C (read):
4464         (output): adapt PAPER_* enums.
4465
4466         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4467
4468         * bufferparams.h: remove paper-related enums from there
4469
4470         * paper.h: New file. A trivial header file to hold paper-related
4471         enums. It should later expand to contain many paper-related
4472         horrors access.
4473
4474         * lyxrc.C: declare extern displayTranslator
4475
4476 2003-07-27  José Matos  <jamatos@fep.up.pt>
4477
4478         * tabular.[Ch] (linuxdoc): add support for tables and figures
4479         (linuxdoc).
4480
4481 2003-07-27  José Matos  <jamatos@fep.up.pt>
4482
4483         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4484         consistency in both functions.
4485         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4486
4487 2003-07-26  Asger Alstrup  <alstrup@local>
4488
4489         * rowpainter.C (paintRows): Change algorithm to work directly on
4490         the insets rather than asking every character in the document
4491         whether its an inset.
4492
4493 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * buffer.C (openFileWrite): factorize some code
4496
4497 2003-07-26  Angus Leeming  <leeming@lyx.org>
4498
4499         * lyx_cb.C:
4500         * lyx_main.[Ch]: replace occurances of system_tempdir with
4501         os::getTmpDir().
4502
4503 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * rename Inset to InsetOld
4506
4507 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4508
4509         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4510         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4511         which I think is a bit clearer. EDIT is gone, since it was
4512         premature optimisation, and broken for mathed anyway.
4513         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4514         with cursor positioning in insets as well (math insets still do not
4515         work, but that's a different story anyway.) It mysteriously
4516         crashes sometimes with undo in the first paragraph, but I'm fairly
4517         confident that this is a compiler bug.
4518
4519 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * paragraph.C (Paragraph): adjust for new clone return type
4522         (operator==): ditto
4523         (copyIntoMinibuffer): ditto
4524
4525 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4526
4527         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4528         by not having a special case, and always doing a full rebreak of
4529         the document after undo.
4530
4531 2003-07-23  Angus Leeming  <leeming@lyx.org>
4532
4533         * factory.C (createInset): InsetExternal::setParams now takes a
4534         Buffer const * arg.
4535
4536 2003-07-23  Angus Leeming  <leeming@lyx.org>
4537
4538         * factory.C (createInset): changed interface to the external and
4539         graphics mailers' string2params functions.
4540
4541 2003-07-23  Angus Leeming  <leeming@lyx.org>
4542
4543         * factory.C (createInset): pass a
4544         Buffer const * parameter to InsetExternalMailer's string2params.
4545
4546 2003-07-22  John Levon  <levon@movementarian.org>
4547
4548         * Thesaurus.h: include the right aiksaurus header
4549
4550 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4551
4552         * MenuBackend.C (expand): check menu shortcuts unconditionally
4553
4554 2003-07-21  Angus Leeming  <leeming@lyx.org>
4555
4556         * factory.C (createInset): pass a
4557         buffer_path parameter to InsetGraphicsMailer's string2params.
4558
4559 2003-07-21  Angus Leeming  <leeming@lyx.org>
4560
4561         * BufferView_pimpl.C (buffer):
4562         * buffer.C (d-tor):
4563         * lyx_main.C (LyX):
4564         * lyxfunc.C (dispatch):
4565         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4566         rather than the grfx shortcut.
4567
4568 2003-07-21  André Pönitz  <poenitz@gmx.net>
4569
4570         * rowpainter.C: remove unused variables
4571
4572         * tabular_funcs.C:
4573         * tabular_funcs.h: move to tabular.C
4574         * Makefile.am: adjust
4575
4576         * tabular.[Ch]: basic optical cleaning
4577
4578         * author.h: pass references, not values
4579
4580 2003-07-18  André Pönitz  <poenitz@gmx.net>
4581
4582         * lyxtext.h:
4583         * metricsinfo.C:
4584         * metricsinfo.h:
4585         * rowpainter.C:
4586         * text.C:
4587         * text2.C:
4588         * text3.C: two-phase drawing for InsetText and InsetTabular
4589         some float -> int changes.
4590
4591 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * lyx_main.C: fix the fix
4594
4595 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * lyx_main.C: fix a crash in batch mode if no files specified
4598         * converter.C: ws
4599
4600 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * format.[Ch] (papersize): moved to BufferParams
4603         * converter.[Ch] (dvips_options): moved to BufferParams
4604         (dvipdfm_options): moved to anon namespace
4605         * bufferparams.[Ch]: added above functions.
4606
4607 2003-07-17  André Pönitz  <poenitz@gmx.net>
4608
4609         * lyxtext.h:
4610         * rowpainter.C:
4611         * text2.C: don't call inset->update() anymore
4612
4613         * metricsinfo.[Ch]: add convenience constructor
4614
4615 2003-07-16  André Pönitz  <poenitz@gmx.net>
4616
4617         * lyxcursor.[Ch]:
4618         * lyxfunc.[Ch]:
4619         * text.C:
4620         * text2.C: replace the LyXCursor::irow_ member with
4621          on-demand computation of the value
4622
4623 2003-07-16  John Levon  <levon@movementarian.org>
4624
4625         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4626
4627 2003-07-15  André Pönitz  <poenitz@gmx.net>
4628
4629         * text.C:
4630         * text2.C: remove no more needed refresh_row
4631
4632 2003-07-15  André Pönitz  <poenitz@gmx.net>
4633
4634         * lyxtext.h:
4635         * rowpainter.C:
4636         * text2.C:
4637         * text3.C: refresh_status tristate -> need_update bool
4638
4639 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4640
4641         * lyxtext.h (init): remove reinit argument (act as if always true)
4642         * text2.C: adjust to that
4643
4644 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4645
4646         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4647         * text3.C: use it to delete selections in some cases
4648         (bugs 441, 673, 702, 954).
4649
4650 2003-07-14  André Pönitz  <poenitz@gmx.net>
4651
4652         * rowpainter.[Ch]: reduce interface
4653
4654 2003-07-14  André Pönitz  <poenitz@gmx.net>
4655
4656         * BufferView_pimpl.C:
4657         * text2.C: adjust after removing unused BufferView * argument
4658
4659 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * text2.C (init): fix a crash fired on resize
4662
4663 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * buffer.[Ch]: added new closing signal
4666         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4667         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4668         BufferView::Pimpl via the closing the signal
4669
4670 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * buffer.[Ch]: take out all bv-related from buffer
4673         * BufferView.C:
4674         * BufferView_pimpl.[Ch]: connect to new signals
4675         * CutAndPaste.C: removed useless asserts
4676         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4677         * lyxvc.[Ch]:
4678         * vc-backend.[Ch]:
4679         * lyxfunc.C: moved view-related funciontality from vc here
4680         * paragraph.C: removed outdated comments
4681         * text.C: ws
4682
4683 2003-07-10  André Pönitz  <poenitz@gmx.net>
4684
4685         * BufferView_pimpl.C:
4686         * tabular.h:
4687         * tabular_funcs.C:
4688         * text.C:
4689         * text2.C: remove InsetText::InnerCache, clean up consequences
4690
4691 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4692
4693         * ispell.C: fix two typos in error messages
4694
4695 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4696
4697         * Extend Note inset to other forms of annotation like Comment
4698         and Greyedout. Right button click gives dialog.
4699
4700         Files modified or added (+):
4701
4702         * insetnote.[Ch]
4703         * FormNote.[Ch]      +
4704         * ControlNote.[Ch]   +
4705         * form_note.fd       +
4706         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4707         frontends/controllers
4708         * xforms/Dialogs.C
4709         * factory.C
4710
4711 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4712
4713         * aspell.C: add missing namespace lyx::support
4714
4715 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * BufferView.[Ch] (newFile): Add
4718         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4719         * LaTeX.[Ch] (message): added this signal and use it
4720         * buffer.[Ch] (busy, message): added these signals and use them
4721         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4722         * converter.C:
4723         * exporter.C:
4724         * format.C:
4725         * importer.C: use buffer signals instead of direct bv calling
4726         * lyx_cb.[Ch] (ShowMessage): removed
4727         * lyx_main.C:
4728         * lyxfunc.C:
4729         * paragraph_funcs.C:
4730         * text2.C: use buffer signals
4731
4732 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * introduce namespace lyx::graphics
4735
4736 2003-07-02  André Pönitz  <poenitz@gmx.net>
4737
4738         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4739
4740 2003-07-01  André Pönitz  <poenitz@gmx.net>
4741
4742         * text.C:
4743         * text2.C:
4744         * text3.C:
4745         * text_funcs.[Ch]:
4746         * textcursor.h:
4747         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4748           text*.C to text_func.C
4749
4750 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * introduce namespace lyx::support
4753
4754 2003-06-30  André Pönitz  <poenitz@gmx.net>
4755
4756         * Chktex.C:
4757         * funcrequest.C:
4758         * lyxtext.h:
4759         * text.C: re-enable --with-included-string
4760
4761 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * textcursor.C: add <config.h>
4764
4765         * text.C (getWord): remove const from word_location arg
4766
4767         * lyxvc.C (getLogFile): fix const type order
4768
4769         * lyxtext.h: remove const from word_location arg, add arg name
4770
4771         * lyxlayout.h: currect type on labeltype.
4772
4773         * importer.C: correct \file
4774
4775         * converter.C (intToFormat): use std:: on ret val, ws changes
4776
4777         * bufferlist.h: correct \file
4778
4779         * buffer.C (makeLinuxDocFile): fix const type order
4780         (makeDocBookFile): ditto
4781         (fillWithBibKeys): use std:: on stdlib args.
4782
4783         * CutAndPaste.C: fix authors.
4784         (availableSelections): use std:: on return vector
4785
4786 2003-06-27  André Pönitz  <poenitz@gmx.net>
4787
4788         * BufferView_pimpl.C:
4789         * bufferview_funcs.C:
4790         * lyxcursor.C:
4791         * lyxcursor.h:
4792         * lyxfunc.C:
4793         * lyxtext.h:
4794         * rowpainter.C:
4795         * text.C:
4796         * text2.C:
4797         * text3.C: remove LyXCursor::row_ member
4798
4799         * lyxtext.h:
4800         * text.C: rename fullRebreak() to partialRebreak() and implement
4801           a fullRebreak() that really bereks fully
4802
4803         * textcursor.h: new struct for cursor-related data
4804
4805 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4806
4807         * lyx_main.C (LyX): get full path of document loaded on the
4808         command line
4809
4810 2003-06-26  André Pönitz  <poenitz@gmx.net>
4811
4812         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4813           remove unused/broken operator>,<,>=.
4814
4815         *       text.C: remove only use of broken operator<= in an Assert().
4816
4817 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4818
4819         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4820         moved errorlist_.clear to showErrorList
4821
4822 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4823
4824         * converter.C (scanLog, runLaTeX):
4825         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4826         move the bv->showErrorList call to the callers
4827         * lyxfunc.C: i.e. here...
4828         * text2.C: and here
4829         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4830         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4831         namespace, the second to...
4832         * buffer_funcs (BufferFormat, parseErrors): added
4833         * errorlist.C (ErrorList(TeXErrors const &)): removed
4834
4835 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4836
4837         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4838
4839 2003-06-24  "Garst R. Reese" <reese@isn.net>
4840
4841         * debug.C: fix typo
4842
4843 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4844
4845         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4846
4847         * version.C.in: change docversion to 1.4
4848
4849 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * buffer.C: fix a bug just introduced
4852
4853 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * buffer.[Ch]: added the parseError signal and use it, removed
4856         sgmlError
4857         * BufferView.[Ch] (addError): moved to ...
4858         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4859         to the Buffer::parseError signal to catch (guess what) parse errors
4860         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4861
4862 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4865         ability to create a buffer and to return an existing one from
4866         the list. Moved these functions to...
4867         * buffer_funcs.[Ch]: added
4868         * BufferView.[Ch] (loadLyXFile): added
4869         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4870         job removed from bufferlist::loadLyXFile.
4871         * buffer.C (setReadOnly): make it work without view
4872         (i.e added an if (users))
4873
4874 2003-06-19  Angus Leeming  <leeming@lyx.org>
4875
4876         * lfuns.h:
4877         * LyXAction.C (init):
4878         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4879         with LFUN_DIALOG_SHOW <name> <data>.
4880
4881 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4882
4883         * CutAndPaste.C (availableSelections): small compilation fix for
4884         ancient (gcc 2.9x) compilers
4885
4886 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * text3.C (cursorNext): add tmp var
4889
4890         * text2.C (updateCounters): for function calling out of for clause
4891         (replaceSelectionWithString): ditto
4892         (insertStringAsParagraphs): ditto
4893         (getColumnNearX): add tmp var
4894         (setCursorFromCoordinates): add tmp var
4895         (cursorDownParagraph): add tmp var
4896         (deleteEmptyParagraphMechanism): add tmp var
4897
4898         * text.C (insertChar): add tmp var
4899
4900         * rowpainter.C (paintDepthBar): add tmp var
4901
4902         * CutAndPaste.C (availableSelections): potentially check all
4903         paragraphs in a cut to fill the shown strings.
4904
4905 2003-06-18  André Pönitz  <poenitz@gmx.net>
4906
4907         * kbmap.[Ch]: use vector<> instead of list<>
4908
4909 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4910
4911         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4912         pasteSelection with index
4913
4914         * text2.C (pasteSelection): modify, call pasteSelection with index
4915
4916         * paragraph.C (asString): reimplement version with no interval to
4917         call the one with interval.
4918
4919         * lyxtext.h: add index arg to pasteSelection
4920
4921         * MenuBackend.C (MenuItem): handle PasteRecent
4922         (Menu::read::Menutags): add md_pasterecent
4923         (read): handle it
4924         (expandPasteRecent): new function
4925         (expand): use it
4926
4927         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4928
4929         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4930         the limited stack
4931         (availableSelections): new function
4932
4933 2003-06-17  Angus Leeming  <leeming@lyx.org>
4934
4935         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4936
4937 2003-06-17  Angus Leeming  <leeming@lyx.org>
4938
4939         * lfuns.h:
4940         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4941
4942         * lyxfunc.C (dispatch): invoke it.
4943
4944 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4945
4946         * iterators.C (operator++, ParPosition): reintroduce some
4947         const_cast for the benefit of older compilers.
4948
4949 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4950
4951         * text3.C (dispatch): do not modify clipboard when doing
4952         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4953         LFUN_DELETE_SKIP on a selection selection
4954
4955 2003-06-16  André Pönitz  <poenitz@gmx.net>
4956
4957         * BufferView.C:
4958         * buffer.C:
4959         * buffer.h:
4960         * paragraph.C:
4961         * tabular.[Ch]: IU of clone() and getLabelList();
4962
4963 2003-06-13  André Pönitz  <poenitz@gmx.net>
4964
4965         * tabular.h: compactification
4966
4967 2003-06-12  André Pönitz  <poenitz@gmx.net>
4968
4969         * tabular.C:
4970         * tabular.h:
4971         * tabular_funcs.h: some renaming plus whitespace
4972
4973 2003-06-12  André Pönitz  <poenitz@gmx.net>
4974
4975         * BufferView.C:
4976         * BufferView_pimpl.C:
4977         * CutAndPaste.C:
4978         * buffer.C:
4979         * iterators.[Ch]:
4980         * lyxfunc.C:
4981         * text.C:
4982         * toc.C: Return a Paragraph & for ParIterator::operator*()
4983
4984 2003-06-11  John Levon  <levon@movementarian.org>
4985
4986         * lyx_main.C:
4987         * ToolbarBackend.h:
4988         * ToolbarBackend.C: add "Toolbars" section and
4989         put the flags there
4990
4991 2003-06-10  Angus Leeming  <leeming@lyx.org>
4992
4993         * lfuns.h:
4994         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4995
4996         * lyxfunc.C (dispatch): invoke it.
4997
4998 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * main.C: protect <ios> with HAVE_IOS
5001         (main): protect sync_with_stdio with HAVE_IOS
5002
5003 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5004
5005         * text2.C (cutSelection): adjust
5006         (pasteSelection): adjust
5007
5008         * messages.C: handle get of empty string
5009
5010         * main.C (main): use sync_with_stdio(false)
5011
5012         * lyxfunc.C (dispatch): adjust
5013
5014         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5015         (WriteAs): remove unneeded BufferView arg.
5016
5017         * bufferparams.h: use correct types on papersize, papersize2 and
5018         paperpackage.
5019
5020         * bufferparams.C (readToken): adjust for type
5021         (writeLaTeX): add missing cases to switch.
5022
5023         * bufferlist.C (quitWriteBuffer): adjust
5024         (close): adjust
5025
5026         * buffer.C (asciiParagraph): remove some commented code.
5027
5028         * CutAndPaste.C: remove current_view extern variable.
5029         (cutSelection): add BufferParams arg.
5030         (eraseSelection): add BufferParams arg.
5031         (pasteSelection): add Buffer const & arg
5032
5033 2003-06-07  John Levon  <levon@movementarian.org>
5034
5035         * buffer.C:
5036         * paragraph_funcs.C:
5037         * paragraph_pimpl.C:
5038         * text.C:
5039         * text2.C:
5040         * paragraph.h:
5041         * paragraph.C: allow InsetERT to freely space lines,
5042         and some consolidation of code
5043
5044 2003-06-06  José Matos  <jamatos@fep.up.pt>
5045
5046         * buffer.C (makeDocBookFile): fix bug #821
5047
5048 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5049
5050         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5051
5052 2003-06-04  Angus Leeming  <leeming@lyx.org>
5053
5054         * buffer.C: bump format to 224.
5055
5056 2003-06-05  André Pönitz  <poenitz@gmx.net>
5057
5058         * text2.C (redoParagraphs): remove two const_cast<>
5059
5060 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5061
5062         * ParagraphList.h: remove last remnants of NO_STD_LIST
5063
5064 2003-06-03  Angus Leeming  <leeming@lyx.org>
5065
5066         * factory.C (createInset): small change to the way InsetExternal's params
5067         are set.
5068
5069 2003-06-04  André Pönitz  <poenitz@gmx.net>
5070
5071         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5072
5073         * paragraph_pimpl.h:
5074         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5075
5076         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5077
5078         * undo_funcs.C: make some simple cases of undo work again
5079
5080 2003-06-03  John Levon  <levon@movementarian.org>
5081
5082         * ispell.C: HPUX doesn't have sys/select.h
5083         (from Albert Chin)
5084
5085 2003-06-03  John Levon  <levon@movementarian.org>
5086
5087         * CutAndPaste.C: update tabular and include inset
5088         buffer references
5089
5090         * buffer.h:
5091         * paragraph.h:
5092         * paragraph.C: remove owningBuffer(), don't pass Buffer
5093         to clone()
5094
5095         * factory.C: insetGraphicsParams changed
5096
5097 2003-06-02  John Levon  <levon@movementarian.org>
5098
5099         * LyXAction.C:
5100         * factory.C:
5101         * lfuns.h:
5102         * lyxfunc.C:
5103         * text3.C: remove insetparent
5104
5105 2003-06-02  John Levon  <levon@movementarian.org>
5106
5107         * buffer.h:
5108         * buffer.C: fix inset_iterator.end(), move out of line
5109         (bug 1149)
5110
5111 2003-06-01  John Levon  <levon@movementarian.org>
5112
5113         * text3.C: use a proper cut/paste when doing inset
5114         insert (from Jürgen Spitzmüller)
5115
5116 2003-06-01  John Levon  <levon@movementarian.org>
5117
5118         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5119
5120 2003-05-30  André Pönitz  <poenitz@gmx.net>
5121
5122         * rowpainter.C: unify second drawing phase
5123
5124 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * trans_mgr.C: remove one case of current_view
5127
5128         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5129
5130         * paragraph_funcs.h: remove paragraph.h include
5131
5132         * paragraph.h: delete NO_STD_LIST stuff
5133
5134         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5135
5136         * buffer.h: remove paragraph.h include
5137
5138         * ParagraphList.C: delete file
5139
5140         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5141
5142         * toc.C (getTocList): adjust
5143
5144         * paragraph_pimpl.C (validate): adjust
5145
5146         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5147
5148         * paragraph.C (Paragraph): adjust
5149         (getPositionOfInset): use const_iterator, adjust
5150         (bibitem): use const_iterator, adjust
5151         (setInsetOwner): adjust
5152
5153         * iterators.C (operator++): adjust
5154
5155         * InsetList.[Ch]: Replace selfmade iterator with standard
5156         vector::iterator also introduce const_iterator. Remove getPos,
5157         getInset and setInset from InsetTable. Adjust accordingly.
5158
5159         * BufferView.C (lockInset): adjust
5160         (ChangeInsets): adjust
5161
5162         * tabular.[Ch]: delete commented same_id functions
5163
5164 2003-05-28  John Levon  <levon@movementarian.org>
5165
5166         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5167
5168 2003-05-28  André Pönitz  <poenitz@gmx.net>
5169
5170         * metricsinfo.[Ch]: remove 'fullredraw' member
5171
5172 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5173
5174         * lyxtextclass.C (operator): remove caching.
5175
5176 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * text3.C: adjust
5179
5180         * text2.C (cursorBottom): adjust
5181         (setCounter): use ParagraphList::find, adjust
5182
5183         * text.C (workWidth): use ParagraphList::find, adjust
5184
5185         * lyxcursor.C (LyXCursor): adjust
5186
5187         * buffer.C (inset_iterator): adjust
5188
5189         * ParagraphList.h: make iterator(value_type) private, make
5190         ParagraphList a friend of iterator.
5191
5192         * ParagraphList.C (find): new function
5193
5194         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5195
5196 2003-05-27  André Pönitz  <poenitz@gmx.net>
5197
5198         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5199
5200 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5201
5202         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5203
5204 2003-05-26  John Levon  <levon@movementarian.org>
5205
5206         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5207
5208 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * remove same_id from function signatures, adjust.
5211
5212 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5215
5216         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5217
5218         * paragraph.C (Paragraph): get rid of same_ids parameter
5219
5220         * ParagraphList.C (insert): adjust
5221         (push_back): adjust
5222
5223 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * paragraph_funcs.C (breakParagraph): adjust
5226         (breakParagraphConservative): adjust
5227
5228         * buffer.C (readParagraph): adjust
5229
5230         * ParagraphList.C (insert): take a reference instead of a pointer
5231         (insert): adjust
5232
5233         * paragraph.[Ch] (id): new function
5234
5235         * bufferlist.C (newFile): adjust
5236
5237         * ParagraphList.C (ParagraphList): adjust
5238         (assign): adjust
5239         (push_back): take a reference instead of a pointer.
5240
5241         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5242
5243         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5244         instead.
5245
5246         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5247         set else use old code.
5248
5249         * ParagraphList.C: remove all NO_NEXT code and only compile this
5250         code of NO_STD_LIST is set.
5251
5252 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * BufferView_pimpl.C:
5255         * TextCache.C:
5256         * TextCache.h:
5257         * bufferlist.C:
5258         * errorlist.h:
5259         * format.C:
5260         * format.h:
5261         * graph.C:
5262         * lyxfunc.C:
5263         * lyxrc.C:
5264         * graphics/GraphicsConverter.C:
5265         * graphics/PreviewLoader.C: header adjustment
5266
5267 2003-05-23  Angus Leeming  <leeming@lyx.org>
5268
5269         * LaTeXFeatures.[Ch] (useBabel): new method.
5270         * bufferparams.C (writeLaTeX): use it.
5271
5272 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * ParagraphList.h (set): remove unused function.
5275
5276 2003-05-23  André Pönitz  <poenitz@gmx.net>
5277
5278         * BufferView.C:
5279         * BufferView_pimpl.C:
5280         * buffer.C:
5281         * buffer.h:
5282         * lyxfunc.C:
5283         * undo_funcs.C: setUndo reworked
5284
5285         * iterators.[Ch]: add access to topmost ParagraphList
5286
5287         * lyxtext.[Ch] (workWidth): add a const
5288
5289 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * texrow.[Ch] (increasePos): remove function
5292         * exporter.C (export): removed unused var and outdated comment
5293
5294 2003-05-23  Angus Leeming  <leeming@lyx.org>
5295
5296         * latexrunparams.h: rename fragile as moving_arg.
5297         * paragraph.C (simpleTeXOnePar): ditto.
5298         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5299
5300 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5303         (createUndo): ditto
5304         (textUndoOrRedo): comment out a currently unused var.
5305
5306         * paragraph.h (NO_NEXT): enable NO_NEXT
5307
5308         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5309
5310         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5311
5312         * exporter.C (Export): adjust for removeAutoInsets removal.
5313
5314         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5315
5316         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5317
5318         * BufferView.[Ch] (removeAutoInsets): delete function
5319
5320 2003-05-22  Angus Leeming  <leeming@lyx.org>
5321
5322         * latexrunparams.h: add a free_spacing variable.
5323
5324         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5325         to pass moving_arg, as the data is stored in runparams.fragile.
5326
5327         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5328         to Inset::latexOptional or to simpleTeXOnePar.
5329
5330         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5331         free_spacing arg to Inset::latexOptional.
5332
5333         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5334         free_spacing arg.
5335
5336 2003-05-22  Angus Leeming  <leeming@lyx.org>
5337
5338         * latexrunparams.h: add fragile and use_babel variables.
5339
5340         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5341         * buffer.C (makeLaTeXFile): store this returned value in
5342         runparams.use_babel, thus passing it to the inset::latex methods.
5343
5344         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5345         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5346
5347         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5348         longer has a fragile arg, as it is stored in runparams.fragile.
5349
5350         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5351         moving_arg parameter as the data is stored in runparams.fragile.
5352
5353         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5354         a fragile parameter as the data is stored in runparams.fragile.
5355
5356 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5357
5358         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5359
5360 2003-05-22  Angus Leeming  <leeming@lyx.org>
5361
5362         * latexrunparams.h: add a 'bool nice' which defaults to false.
5363
5364         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5365         now encapsulated within runparams.
5366
5367         * bufferlist.C (updateIncludedTeXfiles):
5368         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5369
5370 2003-05-22  Angus Leeming  <leeming@lyx.org>
5371
5372         * latexrunparams.h: new file containing struct LatexRunParams.
5373         * Makefile.am: add new file.
5374
5375         * LaTeX.[Ch] (c-tor, run):
5376         * buffer.[Ch] (makeLaTeXFile):
5377         * bufferlist.[Ch] (updateIncludedTeXfiles):
5378         * converter.C (convert, scanLog):
5379         * converter.[Ch] (runLaTeX):
5380         * exporter.C (Export):
5381         * paragraph.[Ch] (simpleTeXOnePar):
5382         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5383         * paragraph_funcs.[Ch] (latexParagraphs):
5384         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5385         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5386         pass around a LatexRunParams parameter.
5387
5388 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * paragraph.[Ch]: remove unused constructor
5391
5392         * ParagraphList.C (erase): new function, taking two iterators
5393
5394 2003-05-22  André Pönitz  <poenitz@gmx.net>
5395
5396         * undo_funcs.C: remove duplicated code
5397
5398         * iterator.[Ch]: operator=
5399
5400 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * tabular.C (SetMultiColumn): ws changes
5403
5404         * rowpainter.C (paintFirst): get rid of a ->previous
5405
5406         * lyx_cb.C (getPossibleLabel): parlist simplification
5407
5408         * BufferView.C (ChangeInsets): simplify slightly.
5409
5410 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5411
5412         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5413         * lfuns.h: new LFUN_SPACE
5414         * lyxfunc.C: protected space has a new lfun
5415         * paragraph_funcs.C: read new space insets
5416         * text3.C:
5417         * factory.C: handle new space insets
5418
5419 2003-05-22  André Pönitz  <poenitz@gmx.net>
5420
5421         * BufferView.C:
5422         * BufferView_pimpl.C:
5423         * buffer.[Ch]:
5424         * lyxfunc.C:
5425         * undo_funcs.C: return a ParIterator from getParFromID.
5426
5427         * iterators.[Ch]: add two const's
5428
5429 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * toc.C (getTocList): adjust
5432
5433         * iterators.[Ch]: rework for parlist
5434
5435         * buffer.C (par_iterator_begin): adjust
5436         (par_iterator_end): adjust
5437
5438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5439
5440         * BufferView.C (removeAutoInsets): adjust
5441         (ChangeInsets): adjust
5442
5443 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5444
5445         * text.C (top_y): fix bug 1110
5446
5447 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5448
5449         * errorlist.[Ch]: added
5450         * buffer.C:
5451         * BufferView.[Ch]:
5452         * BufferView_pimpl.C:
5453         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5454         instead
5455
5456 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * Makefile.am: ensure that lyx is relinked upon changes to the
5459         various "convenience" libs.
5460
5461 2003-05-20  Angus Leeming  <leeming@lyx.org>
5462
5463         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5464         files are compiled in alphabetical order again.
5465
5466         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5467
5468 2003-05-19  Angus Leeming  <leeming@lyx.org>
5469
5470         * gettext.[Ch]: remove "char const * _(char const *)".
5471
5472 2003-05-19  André Pönitz  <poenitz@gmx.net>
5473
5474         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5475
5476         * Makefile.am:
5477         * BufferView.C:
5478         * DepTable.h:
5479         * LaTeXFeatures.C:
5480         * buffer.C:
5481         * lyxfont.C:
5482         * lyxlex.h:
5483         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5484
5485 2003-05-19  André Pönitz  <poenitz@gmx.net>
5486
5487         * buffer.C:
5488         * lyxlayout.[Ch]:
5489         * lyxtextclass.[Ch]:
5490         * paragraph.C:
5491         * paragraph_funcs.[Ch]:
5492         * text2.C:
5493         * text3.C: more insetenv work
5494
5495 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * ParagraphParameters.C (params2string): small bug fixed
5498
5499 2003-05-16  André Pönitz  <poenitz@gmx.net>
5500
5501         * debug.C:
5502         * bufferview_funcs.C: patch from Kornel Benko to prevent
5503           crash when _(...) is called twice in a statement
5504
5505 2003-05-16  André Pönitz  <poenitz@gmx.net>
5506
5507         * BufferView.C:
5508         * lyxfunc.C:
5509         * text.C:
5510         * text2.C:
5511         * text3.C:
5512         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5513
5514 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5515
5516         * lyx_main.C (init): remove spurious static_cast
5517
5518 2003-05-14  André Pönitz  <poenitz@gmx.net>
5519
5520         * BufferView.C: fix format string
5521
5522 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * BufferView.[Ch] (insertErrors): removed
5525         * BufferView.[Ch] (showErrorList): added
5526         * buffer.C (runChkTeX):
5527         * converter.C (scanLog): call showErrorList instead of inserterrors
5528
5529 2003-05-13  André Pönitz  <poenitz@gmx.net>
5530
5531         * BufferView_pimpl.C:
5532         * buffer.C:
5533         * bufferview_func.C:
5534         * MenuBackend.C:
5535         * lyxfunc.C:
5536         * lyxrc.C:
5537         * tex-accent.C:
5538         * text3.C:
5539         * toc.C:
5540         * tabular_funcs.h: tostr() from its own header
5541
5542         * ParagraphParameters.C:
5543         * ToolbarBackend.C:
5544         * bufferparams.C:
5545         * format.C:
5546         * lyxlex_pimpl.C:
5547         * text3.C: STRCONV()
5548
5549 2003-05-12  André Pönitz  <poenitz@gmx.net>
5550
5551         * BufferView.C:
5552         * BufferView_pimpl.C:
5553         * CutAndPaste.C:
5554         * LaTeX.C:
5555         * LaTeXFeatures.C:
5556         * ParagraphParameters.C:
5557         * buffer.C:
5558         * bufferlist.C:
5559         * bufferparams.C:
5560         * bufferview_funcs.C:
5561         * converter.C:
5562         * counters.C:
5563         * debug.C:
5564         * exporter.C:
5565         * format.C:
5566         * importer.C:
5567         * lyx_cb.C:
5568         * lyx_main.C:
5569         * lyxfont.C:
5570         * lyxfunc.C:
5571         * lyxvc.C:
5572         * paragraph.C:
5573         * paragraph_funcs.C:
5574         * tabular.C:
5575         * tabular_funcs.C:
5576         * text2.C:
5577         * text3.C:  boost::format -> bformat  all over the place
5578
5579
5580 2003-05-09  André Pönitz  <poenitz@gmx.net>
5581
5582         * LColor.[Ch]: Pimpl the #include <map> away
5583
5584 2003-05-09  John Levon  <levon@movementarian.org>
5585
5586         * bufferlist.C: never remove emergency saves
5587
5588 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * Makefile.am: better lib building
5591
5592 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5595         instead.
5596         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5597         (simpleTeXSpecialChars): adjust
5598         (simpleTeXSpecialChars): adjust
5599         * paragraph.C (simpleTeXOnePar): adjust
5600         * buffer.C (makeLaTeXFile): adjust
5601
5602         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5603
5604         * text2.C (changeDepth): parlist cleanup
5605         (getColumnNearX): ditto
5606
5607         * rowpainter.C (getLabelFont): parlist cleanup
5608
5609         * bufferlist.C (newFile): parlist cleanup
5610
5611         * CutAndPaste.C (eraseSelection): parlist cleanup
5612
5613         * BufferView_pimpl.C (trackChanges): parlist cleanup
5614         (dispatch): ditto
5615
5616         * BufferView.C (lockInset): parlist cleanup.
5617         (ChangeInsets): ditto
5618
5619 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * CutAndPaste.h: Update file header.
5622
5623         * CutAndPaste.C: Update file header.
5624         Store the parts cut out of the Document in a limited_stack.
5625         (copySelection): adjust
5626         (pasteSelection): new function, takes the index in the limited stack.
5627         (nrOfParagraphs): adjust
5628         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5629         simplify error inset insertion.
5630         (checkPastePossible): adjust
5631
5632 2003-05-06  John Levon  <levon@movementarian.org>
5633
5634         * text2.C: don't cast wrap inset to float
5635
5636 2003-05-05  André Pönitz  <poenitz@gmx.net>
5637
5638         * iterator.C:
5639         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5640
5641         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5642           few naked Paragraph *.
5643
5644 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5645
5646         * bufferparams.C: Output warning if a document with missing
5647         TeX document class is loaded
5648         * exporter.C: Disable TeX exports if the document class is missing
5649         * lyxtextclass.C:
5650         * lyxtextclass.h:
5651         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5652         isTeXClassAvailable()
5653
5654 2003-05-03  John Levon  <levon@movementarian.org>
5655
5656         * BufferView.h:
5657         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5658         explicit cursor show/hide
5659
5660         * BufferView_pimpl.h:
5661         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5662         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5663
5664         * lyxfunc.C: hide cursor before dispatching.
5665
5666         * lyx_cb.C:
5667         * lyxfind.C:
5668         * text.C:
5669         * text3.C: remove explicit cursor hides
5670
5671 2003-05-02  André Pönitz  <poenitz@gmx.net>
5672
5673         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5674
5675         * undo_funcs.C:
5676         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5677           linked lists
5678
5679         * text2.C: tiny whitespace
5680
5681 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * undo_funcs.C: almost only ws changes.
5684
5685         * ParagraphList.C (splice): just return if pl is empty.
5686
5687 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * ParagraphList.C (splice): new function.
5690
5691         * CutAndPaste.C (pasteSelection): use it
5692
5693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * CutAndPaste.C (pasteSelection): remove the last next and
5696         previous from this file.
5697
5698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5699
5700         * CutAndPaste.C (pasteSelection): more clean up, user proper
5701         ParagraphList functions for pasteing.
5702
5703         * ParagraphList.C (insert): new function, three arg insert
5704
5705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * ParagraphList.C (insert): new function, three arg insert
5708
5709         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5710         not on paragraphs.
5711
5712 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5715
5716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5719
5720 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5723         (copySelection): clean up a bit.
5724         (pasteSelection): use make_pair
5725
5726         * ParagraphList.C (ParagraphList): implement copy constructor
5727         (operator=): implement, base on copy constructor.
5728         (assign): new func
5729
5730         * paragraph.C (erase): return a bool
5731
5732         * paragraph_pimpl.C (erasePos): remove function, move contents...
5733         (erase): ... here. Return a bool.
5734         (erase): call erase instead of erasePos.
5735
5736 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5737
5738         * ParagraphList.h: define PitPosPair
5739         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5740         ParagraphList, fix a bug on pasting multiple pars
5741         * text2.C: change interface to C&P
5742
5743 2003-04-30  André Pönitz  <poenitz@gmx.net>
5744
5745         * undo_func.C: revert part of yesterday's patch 2
5746
5747 2003-04-30  John Levon  <levon@movementarian.org>
5748
5749         * LColor.C: s/tabular/table/
5750
5751 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * text3.C (dispatch): do not convert iterator -> pointer
5754         * undo_funcs.C (setCursorParUndo): ditto
5755         * text_funcs.C (transposeChars): ditto
5756
5757         * text2.C (setLayout): ws changes only
5758
5759         * text.C (breakParagraph): do not convert iterator -> pointer
5760         (insertChar): ditto
5761         (acceptChange): ditto
5762         (rejectChange): ditto
5763         (changeCase): ditto
5764         (Delete): ditto
5765         (backspace): ditto
5766
5767         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5768         pointer
5769
5770 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * text3.C (gotoInset): YABG (yet another bad getChar)
5773
5774 2003-04-29  André Pönitz  <poenitz@gmx.net>
5775
5776         * paragraph.h: make operator= private unimplemented as long as
5777           it is unusable
5778
5779         * ParagraphList.C: whitespace
5780
5781         * paragraph.[Ch]:
5782         * paragraph_pimpl.[Ch]:
5783         * paragraph_funcs.C:
5784         * CutAndPaste.C:
5785         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5786
5787         * text2.C:
5788           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5789
5790 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5791
5792         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5793         * paragraph.[Ch] (erase):
5794         * paragraph_pimpl.[Ch] (erase): change return type and value
5795         * text2.C (cutSelection): some rework
5796
5797 2003-04-28  John Levon  <levon@movementarian.org>
5798
5799         * bufferlist.C: changes for unsaved changes dialog
5800
5801 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * bufferlist.C (newFile): set language (messages_) for new
5804         documents also.
5805
5806         * buffer.C (readFile): ws changes only.
5807
5808 2003-04-28  André Pönitz  <poenitz@gmx.net>
5809
5810         * undo_funcs.C:
5811         * lyxfunc.C:
5812         * buffer.[Ch]:
5813         * BufferView_pimpl.C:
5814         * BufferView.C: getParFromID related ParagraphList::iterator changes
5815
5816 2003-04-28  André Pönitz  <poenitz@gmx.net>
5817
5818         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5819           Changes
5820
5821 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * messages.C: remove one more localedir class variable.
5824
5825 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * messages.C (getLocaleDir): singleton generation function
5828         (Pimpl): use it.
5829         (Messages): add a default constructor.
5830
5831         * main.C (main): do not setup localedir here, do not call
5832         gettext_init.
5833
5834         * gettext.C (_): use it.
5835         (gettext_init): delete funciton
5836
5837 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * gettext.C (getLyXMessages): new singleton generating function.
5840
5841         * buffer.C (updateDocLang): adjust
5842
5843         * Makefile.am (messages.o): add target
5844         (main.o): remove target
5845
5846 2003-04-27  John Levon  <levon@movementarian.org>
5847
5848         * bufferlist.C:
5849         * lyx_cb.C:
5850         * lyxfunc.C:
5851         * lyxvc.C: specify cancel button in Alert::prompt
5852
5853 2003-04-26  John Levon  <levon@movementarian.org>
5854
5855         * text3.C:
5856         * lyxfunc.C:
5857         * lfuns.h:
5858         * LyXAction.C: add LFUN_INSET_SETTINGS
5859
5860         * lyxfunc.C: don't enable tabular-feature when there's
5861         just any locking inset
5862
5863 2003-04-26  John Levon  <levon@movementarian.org>
5864
5865         * bufferlist.C: re-add Cancel to buffer close question
5866
5867         * lyxfunc.C: fix import UI a bit
5868
5869 2003-04-25  John Levon  <levon@movementarian.org>
5870
5871         * gettext.C: remove the broken asserts for now
5872
5873 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * messages.C: make case where setlocale cannot comply work better.
5876
5877         * buffer.C (updateDocLang): new function
5878         (changeLanguage): use it
5879         (readFile): use it
5880
5881         * text2.C (setCounter): use B_ a bit.
5882
5883         * lyxlayout.C (Read): be sure to trim the label strings.
5884
5885         * messages.C (Messages): fix typo in comment
5886
5887         * buffer.C (readFile): set message_ after file is loaded.
5888         (makeDocBookFile): remove double return
5889         (changeLanguage): reset message_ upon language change.
5890         (B_): new func, use this to get translated buffer strings.
5891
5892         * main.C: add myself and Jean Marc as authors.
5893
5894 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * messages.[hC]: pimplify Messages, and three different pimpls to be
5897         used in different circumstances.
5898
5899         * gettext.[Ch]: change for use with new message code.
5900
5901 2003-04-24 André Pönitz <poenitz@gmx.net>
5902
5903         * factory.C: support for eqref
5904
5905 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * messages.[Ch]: add missing char
5908
5909         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5910
5911         * messages.[Ch]: New files
5912
5913 2003-04-18  John Levon  <levon@movementarian.org>
5914
5915         * BufferView.h:
5916         * BufferView.C:
5917         * BufferView_pimpl.C:
5918         * lfuns.h:
5919         * LyXAction.C:
5920         * lyxtext.h:
5921         * text2.C: remove layout-copy/paste (bug 778)
5922
5923 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5926
5927 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5928
5929         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5930         if they succeed. Act accordingly.
5931
5932 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * text2.C (setCharFont): adjust
5935         (setCounter): adjust
5936         (insertStringAsLines): adjust
5937
5938         * text.C (leftMargin): adjust
5939         (setHeightOfRow): adjust
5940
5941         * rowpainter.C (paintFirst): adjust
5942         (paintLast): adjust
5943
5944         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5945         (outerHook): ditto
5946         (isFirstInSequence): ditto
5947         (getEndLabel): ditto
5948         (outerFont): adjust
5949
5950         * paragraph.C (getParLanguage): comment out some hard stuff.
5951
5952         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5953         (sgmlError): ditto
5954         (simpleDocBookOnePar): ditto
5955         (makeDocBookFile): use ParagraphList::iterator
5956
5957         * CutAndPaste.C (pasteSelection): adjust
5958
5959 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * text2.C (getFont): adjust
5962         (getLayoutFont): adjust
5963         (getLabelFont): adjust
5964
5965         * paragraph_funcs.C (TeXOnePar): adjust
5966
5967         * buffer.C (simpleLinuxDocOnePar): adjust
5968         (simpleDocBookOnePar): adjust
5969
5970         * CutAndPaste.C (pasteSelection): adjust
5971
5972         * BufferView.C (getEncoding): adjust
5973
5974         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5975
5976 2003-04-16  John Levon  <levon@movementarian.org>
5977
5978         * lyxfind.C: use parlist stuff for search/changes
5979
5980 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5983
5984         * text2.C (deleteEmptyParagraphMechanism): adjust
5985
5986         * text2.[Ch] (ownerParagraph): delete func (both of them
5987
5988 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5991
5992 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * ParagraphList.C: prepare for NO_NEXT
5995
5996 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * text2.C (getFont): adjust
5999         (getLayoutFont): adjust
6000         (getLabelFont): adjust
6001
6002         * paragraph.C (getFont): adjust
6003         (getLabelFont): adjust
6004         (getLayoutFont): adjust
6005
6006         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6007
6008 2003-04-15  John Levon  <levon@movementarian.org>
6009
6010         From Angus Leeming
6011
6012         * lyx_main.C: handle Include in .ui files
6013
6014 2003-04-15  John Levon  <levon@movementarian.org>
6015
6016         * MenuBackend.C: make the doc files length shorter
6017
6018         * ToolbarBackend.h:
6019         * ToolbarBackend.C: handle toolbar placement flags,
6020         Minibuffer
6021
6022 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6025         adjust
6026
6027         * paragraph_funcs.C (TeXOnePar): adjust
6028
6029         * paragraph.C (getLabelFont): add outerfont arg, adjust
6030         (getLayoutFont): ditto
6031         (simpleTeXOnePar): adjust
6032
6033         * paragraph_pimpl.C (realizeFont): delete func
6034
6035 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6038         row argument, constify cur argument.
6039
6040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * text2.C (getFont): adjust
6043         (getLayoutFont): adjust
6044         (getLabelFont): adjust
6045
6046         * paragraph_funcs.C (TeXOnePar): adjust
6047         (outerFont): new func...
6048         (realizeFont): ...moved out from here, changed this to facilitate
6049         transition
6050
6051         * paragraph.C (getFont): take outerfont as arg, adjust
6052         (simpleTeXOnePar): add outerfont arg, adjust
6053
6054         * buffer.C (simpleLinuxDocOnePar): adjust
6055         (simpleDocBookOnePar): adjust
6056
6057         * CutAndPaste.C (pasteSelection): adjust
6058
6059         * BufferView.C (getEncoding): adjust
6060
6061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * text2.C (setCharFont): adjust
6064         (setCounter): adjust
6065
6066         * text.C (leftMargin): adjust
6067         (setHeightOfRow): adjust
6068
6069         * rowpainter.C (paintFirst): adjust
6070         (paintLast): adjust
6071
6072         * paragraph_pimpl.C (realizeFont): adjust
6073
6074         * paragraph.C (isFirstInSequence): move from here...
6075         * paragraph_funcs.C (isFirstInSequence): ...to here
6076
6077         * paragraph.C (outerHook): move from here...
6078         * paragraph_funcs.C (outerHook): ...to here
6079
6080         * paragraph.C (depthHook): move from here...
6081         * paragraph_funcs.C (depthHook): ...to here
6082
6083         * paragraph.C (getEndLabel): move from here...
6084         * paragraph_funcs.C (getEndLabel): ...to here
6085
6086         * text2.C (realizeFont): move from here...
6087         * paragraph_funcs.C (realizeFont): ...to here
6088
6089 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6092
6093 2003-04-14  Angus Leeming  <leeming@lyx.org>
6094
6095         * LColor.[Ch]: scrap LColor mathcursor.
6096
6097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * lyxlex.[Ch] (text): delete function
6100         * trans.C (Load): adjust
6101         * paragraph_funcs.C (readParToken): adjust
6102
6103 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6106         vector<char> instead of a char[].
6107
6108         * lyxlex_pimpl.C (getString): adjust
6109         (next): adjust
6110         (lex): use getString
6111         (eatLine): adjust
6112         (nextToken): adjust
6113
6114         * lyxlex.C (text): use pimpl_->getString()
6115         (getBool): ditto
6116         (findToken): ditto
6117
6118 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6121         (makeFontEntriesLayoutSpecific): temp var for par.size()
6122         (setLayout): temp var for ownerParagraphs().end()
6123         (fullRebreak): temp var for rows().end()
6124         (selectionAsString): temp var for boost::next(startpit), realize
6125         that the while really is a regular for loop.
6126         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6127         setCursor in one place.
6128         (setParagraph): temp vr for ownerParagraphs().end()
6129         (updateCounters): make the while loop a for loop
6130         (cutSelection): temp var for ownerParagraphs().end()
6131         (updateInset): make the do {} while() a regular for loop
6132         (getCursorX): use temp vars
6133         (setCurrentFont): use temp vars
6134         (getColumnNearX): use temp vars
6135
6136 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * text.C (transformChar): use temp var for getChar
6139         (computeBidiTables): use temp var for row->par()
6140         (fill): move temp vars for row->par() and pit->layout() earlier in
6141         the function.
6142         (labelFill): use temp var for row->par()
6143         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6144         asc and desc, realize that pit never changes and that firstpit is
6145         just a duplicate and not needed. Exchange rit->par() with pit in a
6146         lot of places.
6147         (breakAgain): use a temp var for boost::next(rit)
6148         (breakAgainOneRow): ditto
6149         (breakParagraph): use a temp var for rows().begin()
6150         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6151         (cursorRightOneWord): use temp var for cursor.par() and
6152         cursor.pos(), remove usage of tmpcursor.
6153         (cursorLeftOneWord): use temp var for cursor.par() and
6154         cursor.pos() only set cur at end of function.
6155
6156 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * text.C, text2.C: exchange all usage of Paragraph::next with
6159         boost::next(ParagraphList::iterator)
6160
6161         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6162
6163         * text2.C (cursorTop): simplify implementation
6164         (cursorBottom): ditto
6165         (setParagraph): use ParagraphList::iterator
6166         (setCurrentFont): adjust
6167         (getColumnNearX): adjust
6168         (cursorRight): adjust
6169         (cursorLeft): remove usage of Paragraph::previous
6170         (cursorUpParagraph): ditto
6171         (deleteEmptyParagraphMechanism): slight cleanup
6172
6173         * text.C (isBoundary): take a Paragraph const & instead of a
6174         pointer as arg.
6175         (addressBreakPoint): ditto
6176         (leftMargin): remove usage of Paragraph::previous.
6177         (setHeightOfRow): ditto
6178         (cursorLeftOneWord): ditto
6179         (selectNextWordToSpellcheck): ditto
6180         (Delete): ditto
6181         (backspace): ditto
6182         (breakParagraph): remove one usage of Paragraph::next
6183         (redoParagraph): ditto
6184         (acceptChange): ditto
6185         (insertChar): adjust
6186         (rowBreakPoint): adjust
6187
6188         * bufferview_funcs.C (toggleAndShow): adjust
6189
6190 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6191
6192         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6193         methods to access it.
6194         * lyxtext.h:
6195         * text.C: Added updateRowPositions to compute all row positions.
6196         Make top_y and getRowNearY() to use the cached y position
6197
6198 2003-04-11  John Levon  <levon@movementarian.org>
6199
6200         * text.C (rowBreakPoint): reintroduce the labelEnd
6201         checks, code copied from the row fill stuff. Deep voodoo.
6202
6203         * text.C (fill): add a comment and debugging for the
6204         next poor soul.
6205
6206 2003-04-11  John Levon  <levon@movementarian.org>
6207
6208         * text.C: make sure fullrow insets get wrapped to the next line,
6209         even when they're in a manual label
6210
6211 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * text2.C (insertParagraph): make it take ParagraphList::iterator
6214         as arg.
6215         (setLayout): make it return ParagraphList::iterator
6216         (redoParagraphs): ditto
6217         (setCounter): ditto
6218         (checkParagraph): ditto
6219
6220         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6221
6222         * text2.C: adjust several funcs.
6223         (realizeFont): take a ParagraphList::iterator as arg.
6224         (getLayoutFont): ditto
6225         (getLabelFont): ditto
6226         (setCharFont): ditto
6227
6228         * text.C: adjust several funcs.
6229
6230 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * text.C (selectNextWordToSpellcheck): don't accidentally
6233         skip insets
6234
6235 2003-04-10  John Levon  <levon@movementarian.org>
6236
6237         * ToolbarBackend.C (getIcon): special handling for
6238         LFUN_MATH_DELIM
6239
6240 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6241
6242         * text2.C (cursorRight): a getChar assert fixed
6243
6244 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6245
6246         * text2.C (getFont): change to take a ParagraphList::iterator
6247         instead of Paragraph*
6248         Adjust several functions.
6249
6250         * text.C (transformChar): change to take a ParagraphList::iterator
6251         instead of Paragraph*
6252         (singleWidth): ditto
6253         Adjust several functions.
6254
6255         * rowpainter.C: adjust several functions
6256         * rowpainter.h:store a ParagraphList::iterator and not a
6257         Paragraph&.
6258
6259
6260 2003-04-09  John Levon  <levon@movementarian.org>
6261
6262         * lyxfunc.C:
6263         * lfuns.h:
6264         * LyXAction.h:
6265         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6266         and the "help" bits as well
6267
6268 2003-04-09  John Levon  <levon@movementarian.org>
6269
6270         * ToolbarBackend.h:
6271         * ToolbarBackend.C: allow multiple toolbars
6272
6273 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * undo_funcs.C (setCursorParUndo): adjust
6276
6277         * text_funcs.C (transposeChars): adjust
6278
6279         * text3.C (gotoNextInset): adjust
6280         (dispatch): adjust
6281
6282         * text2.C (setLayout): adjust
6283         (changeDepth): adjust
6284         (setFont): adjust
6285         (redoParagraphs): adjust
6286         (selectionAsString): adjust
6287         (setParagraph): adjust
6288         (insertInset): adjust
6289         (cutSelection): adjust
6290         (copySelection): adjust
6291         (pasteSelection): adjust
6292         (insertStringAsLines): adjust
6293         (updateInset): adjust
6294         (setCursor): change to take a ParagraphList::iterator parameter
6295         (setCursorIntern): change to take a ParagraphList::iterator parameter
6296         (setCurrentFont): adjust
6297         (cursorLeft): adjust
6298         (cursorRight): adjust
6299         (deleteEmptyParagraphMechanism): adjust
6300
6301         * text.C (breakParagraph): adjust
6302         (insertChar): adjust
6303         (acceptChange): adjust
6304         (rejectChange): adjust
6305         (selectNextWordToSpellcheck): adjust
6306         (changeCase): adjust
6307         (Delete): adjust
6308         (backspace): adjust
6309
6310         * lyxfind.C (SearchForward): adjust
6311         (SearchBackward): adjust
6312         (nextChange): adjust
6313
6314         * lyxcursor.C (par): adjust
6315
6316         * lyxcursor.h: store a ParagraphList::iterator instead of a
6317         Paragraph*
6318
6319         * lyx_cb.C (getPossibleLabel): adjust
6320
6321         * bufferview_funcs.C (toggleAndShow): adjust
6322
6323         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6324         (dispatch): adjust
6325
6326         * BufferView.C (removeAutoInsets): adjust
6327         (lockedInsetStoreUndo): adjust
6328
6329 2003-04-09  John Levon  <levon@movementarian.org>
6330
6331         * ToolbarBackend.C: try icon without argument
6332         if with argument fails
6333
6334 2003-04-08  John Levon  <levon@movementarian.org>
6335
6336         * ToolbarBackend.h:
6337         * ToolbarBackend.C: add getIcon(), handle tooltip,
6338         and change from "Icon" to "Item".
6339
6340 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6341
6342         * BufferView.C (lockInset): another bad getchar crunched
6343
6344 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6345
6346         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6347         again)
6348
6349 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6350
6351         * lyxfind.C (searchForward, searchBackwards): bug 782
6352
6353 2003-04-07  John Levon  <levon@movementarian.org>
6354
6355         * paragraph.C: remove dead comment
6356
6357         * text.C: remove troublesome depth-fiddling code
6358         in leftMargin() and rightMargin() (bug 1017)
6359
6360         * text.C: fix breaking of rows in nested lists
6361         (bug 1004)
6362
6363         * text2.C (updateCounters): fix up depth values
6364         (bug 1013)
6365
6366 2003-04-07  John Levon  <levon@movementarian.org>
6367
6368         * BufferView_pimpl.C: clear message when doc finishes resizing,
6369         and after a mouse event
6370
6371         * lyxfunc.C: clear message after exiting inset
6372
6373 2003-04-07  John Levon  <levon@movementarian.org>
6374
6375         * bufferview_funcs.C: show math status not outside
6376         status in the statusbar
6377
6378 2003-04-07  John Levon  <levon@movementarian.org>
6379
6380         * lyxfunc.C: note status changed after a depth change
6381
6382 2003-04-04  Angus Leeming  <leeming@lyx.org>
6383
6384         * LaTeX.h: move AuxInfo operator==, != out of line.
6385         Remove LaTeX virtual destructor; nothing derives from it.
6386         Move operator()() out of public area and rename it startscript().
6387         Change protected for private.
6388
6389 2003-04-04  Angus Leeming  <leeming@lyx.org>
6390
6391         * lyxfunc.C:
6392         * text2.C: remove unneeded #includes.
6393
6394 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6395
6396         * text2.C (dEPM): fix the heigth of the next row
6397
6398 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6399
6400         * text.C: squashed an invalid getChar requester + some ws changes
6401
6402 2003-04-03  John Levon  <levon@movementarian.org>
6403
6404         * bufferview_funcs.h:
6405         * bufferview_funcs.C:
6406         * lyxfunc.C:
6407         * lyxtext.h:
6408         * text2.C: make getStatus work for the env depth lfuns
6409
6410 2003-04-03  John Levon  <levon@movementarian.org>
6411
6412         * bufferview_funcs.h:
6413         * bufferview_funcs.C:
6414         * lyxfunc.C:
6415         * lyxtext.h:
6416         * text2.C: parlistize decDepth(), by merging it with incDepth()
6417
6418 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * lyxrow.h: store a ParagraphList::iterator instead of a
6421         Paragraph* and adjust other class functions to suit.
6422
6423         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6424         above.
6425
6426 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * text2.C (setCursor): do not anchor to cursor row for the time being
6429
6430 2003-04-02  John Levon  <levon@movementarian.org>
6431
6432         * LyXAction.C:
6433         * lfuns.h:
6434         * lyx_main.C:
6435         * lyxtext.h:
6436         * text.C:
6437         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6438
6439 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * paragraph.h: make ParagraphList and ParagraphList::iterator
6442         friends of Paragraph.
6443
6444         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6445
6446         * ParagraphList.C: Use the private next_ and previous_ from
6447         Paragraph.
6448
6449 2003-04-01  John Levon  <levon@movementarian.org>
6450
6451         * ToolbarBackend.h:
6452         * ToolbarBackend.C:
6453         * Makefile.am: rename, remove defaults gunk
6454
6455         * MenuBackend.h:
6456         * MenuBackend.C: remove defaults gunk
6457
6458         * Languages.h:
6459         * Languages.C: remove defaults gunk
6460
6461         * lyx_main.h:
6462         * lyx_main.C: error out if files couldn't be found.
6463
6464 2003-04-02  John Levon  <levon@movementarian.org>
6465
6466         * text2.C: make incDepth() use parlist
6467
6468 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * undo_funcs.C (firstUndoParagraph): adjust
6471
6472         * text3.C (gotoInset): adjust
6473         (dispatch): adjust, and rewrite loop.
6474
6475         * text2.C (init): adjust, and rewrite loop.
6476         (redoParagraphs): adjust
6477         (updateInset): adjust, and rewrite loop.
6478         (deleteEmptyParagraphMechanism): adjust
6479
6480         * tabular.C (LyXTabular): adjust
6481         (SetMultiColumn): adjust
6482         (TeXRow): adjust
6483
6484         * lyxtext.[Ch] (ownerParagraph): delete function
6485         (ownerParagraphs): new function returns a ParagraphList.
6486
6487         * BufferView.C (removeAutoInsets): adjust
6488         (insertErrors): adjust
6489         (setCursorFromRow): adjust
6490
6491 2003-04-01  Angus Leeming  <leeming@lyx.org>
6492
6493         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6494         in the frontends.
6495
6496 2003-04-02  John Levon  <levon@movementarian.org>
6497
6498         * lyxtext.h:
6499         * text.C:
6500         * Makefile.am:
6501         * text_funcs.h:
6502         * text_funcs.C: make transposeChars a free function
6503
6504         * lyxrow_funcs.C: remove wrong comment
6505
6506 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * lyxtext.h: adjust
6509         * rowpainter.C: adjust
6510         * text.C: adjust
6511         * text2.C: adjust
6512         * text3.C: adjust
6513
6514         * lyxrow_funcs. [Ch]: new files
6515
6516         * lyxrow.[Ch]: remove next and previous pointers
6517         (next,previous): remove accessor functions
6518         (isParEnd): move to lyxrow_funcs
6519         (lastPos): move to lyxrow_funcs
6520         (nextRowIsAllInset): move to lyxrow_funcs
6521         (lastPrintablePos): move to lyxrow_funcs
6522         (numberOfSeparators): move to lyxrow_funcs
6523         (numberOfHfills): move to lyxrow_funcs
6524         (numberOfLabelHfills): move to lyxrow_funcs
6525         (hfillExpansion): move to lyxrow_funcs
6526
6527         * lyxfunc.C: adjust
6528
6529         * bufferview_funcs.C (toggleAndShow): adjust
6530
6531         * RowList.h: Remove class RowList from file leave just a
6532         std::list<Row>.
6533
6534         * RowList.C: delete file
6535
6536         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6537         and lyxrow_funcs.h
6538
6539 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * text3.C (cursorPrevious): adjust
6542         (cursorNext): adjust
6543         (dispatch): adjust
6544
6545         * text2.C (redoHeightOfParagraph): adjust
6546         (redoDrawingOfParagraph): adjust
6547         (setCursor): adjust
6548
6549         * text.C (breakParagraph): adjust
6550         (insertChar): adjust
6551         (backspace): adjust
6552
6553         * rowpainter.C (RowPainter): adjust
6554         (leftMargin): simplify and adjust
6555         (most rowpainter functions): adjust.
6556
6557         * rowpainter.h: store the row as RowList::iterator not as Row*
6558
6559         * lyxcursor.C (row): taka RowList::iterator as arg
6560         (irow): ditto
6561
6562         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6563         of Row*.
6564
6565 2003-04-01  Angus Leeming  <leeming@lyx.org>
6566
6567         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6568         stuff like bool Bool.
6569
6570 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6573         rewrite a loop
6574
6575 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6578         RowList::iterator.
6579
6580         * lyxtext.h (rows): drop one version and leve a const variant that
6581         returns a RowList::iterator.
6582
6583 2003-03-31  Angus Leeming  <leeming@lyx.org>
6584
6585         * text.C (fill): ensure that the signature is the same as that in the
6586         header file.
6587
6588 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * text2.C (redoParagraphs): adjust
6591         (updateCounters): adjust
6592         (checkParagraph): adjust
6593         (getColumnNearX): adjust and reformat a bit.
6594
6595         * text.C (top_y): adjust
6596         (workWidth): adjust
6597         (leftMargin): adjust
6598         (prepareToPrint): adjust
6599         (getRow): adjust
6600         (getRowNearY): adjust
6601
6602         * lyxtext.h: make rowlist_ mutable.
6603
6604         * RowList.h: add const_iterator
6605         * RowList.C: adjust for RowList::const_iterator.
6606
6607         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6608         adjust.
6609
6610 2003-03-31  John Levon  <levon@movementarian.org>
6611
6612         * lyxrc.h:
6613         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6614
6615         * lyx_main.C: set default fonts from using lyx_gui funcs
6616
6617         * exporter.C: pdf_mode moved from lyxrc
6618
6619         * lyx_cb.C:
6620         * lyxfunc.C: changes from above
6621
6622 2003-03-31  John Levon  <levon@movementarian.org>
6623
6624         * lyx_main.C: fix to the last fix
6625
6626 2003-03-31  John Levon  <levon@movementarian.org>
6627
6628         * bufferlist.C: "Load original" -> "Load Original"
6629
6630         * converter.C:
6631         * exporter.C:
6632         * importer.C:
6633         * lyx_main.C:
6634         * format.C: more Alert cleanups
6635
6636 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * text2.C (removeParagraph): make it take a RowList::iterator as
6639         arg, adjust.
6640         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6641         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6642
6643         * text.C (anchor_row): make it take a RowList::iterator as arg,
6644         adjust.
6645         (computeBidiTables): make it take a const reference to Row instead
6646         of Row pointer, adjust.
6647         (leftMargin): make it take a RowList::iterator as arg, adjust.
6648         (rowBreakPoint): adjust
6649         (breakAgainOneRow): make it take a RowList::iterator as arg,
6650         adjust.
6651         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6652
6653         * bufferview_funcs.C (toggleAndShow): adjust
6654
6655 2003-03-30  John Levon  <levon@movementarian.org>
6656
6657         * Makefile.am:
6658         * BoostFormat.h:
6659         * boost-inst.C: moved to support
6660
6661         * several files: changes as a result
6662
6663 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * text2.C (LyXText): adjust.
6666         (init): adjust
6667         (removeRow): make it take a RowList::iterator as arg, adjust.
6668         (fullRebreak): adjust
6669         (deleteEmptyParagraphMechanism): adjust
6670         (clearPaint): adjust
6671         (postPaint): adjust
6672
6673         * text.C (top_y): adjust
6674         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6675         (breakAgain): make it take a RowList::iterator as arg, adjust.
6676         (breakParagraph): adjust
6677         (insertChar): adjust
6678         (backspace): adjust
6679
6680         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6681         need_break_row, and refresh_row.
6682
6683         * text3.C (dispatch): adjust
6684
6685         * text2.C (checkParagraph): adjust
6686         (setCursor): adjust
6687         (setCursorFromCoordinates): adjust
6688
6689         * text.C (top_y): adjust
6690         (workWidth): adjust
6691         (getRow): make it return a RowList::iterator, adjust
6692         (getRowNearY): make it return a RowList::iterator, adjust
6693
6694         * text2.C (init): adjust
6695         (insertRow): remove function
6696         (insertParagraph): adjust
6697         (redoParagraphs): adjust
6698         (fullRebreak): adjust
6699         (updateCounters): adjust
6700
6701         * text.C (top_y): rewrite to use RowList iterators.
6702         (top_y): adjust
6703         (setHeightOfRow): rewrite to sue RowList iterators.
6704         (appendParagraph): adjust
6705         (breakAgain): adjust
6706         (breakAgainOneRow): adjust
6707         (breakParagraph): adjust
6708         (getRow): adjust
6709         (getRowNearY): adjust, and remove commented code.
6710
6711         * lyxtext.h (firstRow): delete function
6712         (lastRow): delete function
6713         (rows): new function (const and non-const versions.)
6714         (insertRow): delete function
6715
6716         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6717
6718 2003-03-29  John Levon  <levon@movementarian.org>
6719
6720         * BufferView_pimpl.C: always update scrollbar top
6721         because pasting text when we're anchored could mean we
6722         miss an update altogether
6723
6724 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * text2.C (init): use rowlist_.end() and not 0.
6727         (insertRow): change to take a RowList::iterator as arg, adjust
6728         for this.
6729         (insertParagraph): change to take a RowList::iterator as arg,
6730         adjust for this.
6731         (redoParagraphs): remove some debug msgs.
6732
6733         * text.C (appendParagraph): change to take a RowList::iterator
6734         arg, adjust for this.
6735         (breakAgain): add an assert
6736         (breakAgainOneRow): ditto
6737
6738 2003-03-29  John Levon  <levon@movementarian.org>
6739
6740         * text2.C: do not clear selection after inc/decDepth
6741         (bug 550)
6742
6743 2003-03-29  John Levon  <levon@movementarian.org>
6744
6745         * BufferView.C:
6746         * buffer.C: fix broken strerrors according to Lars
6747
6748 2003-03-29  John Levon  <levon@movementarian.org>
6749
6750         * converters.C: more Alert cleanups
6751
6752 2003-03-29  John Levon  <levon@movementarian.org>
6753
6754         * bufferview_funcs.C: remove pointless Alert
6755
6756         * buffer.C: fix confusing error message when
6757         a template is chmoded 000
6758
6759 2003-03-29  John Levon  <levon@movementarian.org>
6760
6761         * BufferView.C:
6762         * BufferView.h:
6763         * BufferView_pimpl.C: Alert fixes
6764
6765         * Makefile.am:
6766         * tabular.C:
6767         * tabular-old.C: remove unused table compat reading
6768
6769 2003-03-29  John Levon  <levon@movementarian.org>
6770
6771         * BufferView.C:
6772         * buffer.C:
6773         * lyx_cb.h:
6774         * lyx_cb.C: more Alert cleanups
6775
6776         * lyxfunc.C: don't allow chktex if not latex document
6777
6778 2003-03-29  John Levon  <levon@movementarian.org>
6779
6780         * lyx_cb.C:
6781         * BufferView.C:
6782         * buffer.C: warnings pushed down from support/,
6783         kill err_alert
6784
6785 2003-03-29  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C: safety check for C-r (revert)
6788
6789 2003-03-29  John Levon  <levon@movementarian.org>
6790
6791         * bufferlist.h:
6792         * bufferlist.C: several UI fixes using Alert::prompt.
6793         Fix the pointless looping quit code. Fix stupid revert
6794         behaviour (bug 938)
6795
6796         * lyxvc.h:
6797         * lyxvc.C:
6798         * lyx_cb.C: use Alert::prompt
6799
6800         * lyx_main.C: remove a silly question
6801
6802         * lyxfunc.C: remove a couple of silly questions,
6803         use Alert::prompt
6804
6805 2003-03-28  John Levon  <levon@movementarian.org>
6806
6807         * text2.C: fix bug 974 (End on empty par)
6808
6809 2003-03-28  John Levon  <levon@movementarian.org>
6810
6811         * BufferView_pimpl.C:
6812         * LyXAction.C:
6813         * lfuns.h: remove do-nothing math greek lfuns
6814
6815 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * lyxgluelength.h (isValidGlueLength): add default arg on
6818         parameter 2. Remove default arg from friend in class.
6819
6820         * lyxlength.h (isValidLength): add default arg on parameter 2.
6821         Remove default arg from friend in class.
6822
6823         * text2.C (LyXText): adjust, initialize refresh_row.
6824         (init): adjust
6825         (removeRow): adjust
6826         (insertRow): adjust
6827         (insertParagraph): adjst
6828         (redoParagraphs): adjust
6829         (fullRebreak): adjust
6830         (updateCounters): adjust
6831         (deleteEmptyParagraphMechanism): first attempt at fixing a
6832         crashing bug.
6833
6834         * text.C (top_y): adjust
6835         (setHeightOfRow): adjust
6836         (getRow): adjust
6837         (getRowNearY): adjust
6838
6839         * lyxtext.h: include RowList.h
6840         (~LyXText): not needed anymore, deleted.
6841         (firstRow): modify for RowList
6842         (lastRow): new function
6843         Delete firstrow and lastrow class variables, add a Rowlist
6844         rowlist_ class variable.
6845
6846         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6847         paragraph is empty.
6848
6849         * RowList.C (insert): fix case where it == begin().
6850
6851 2003-03-26  Angus Leeming  <leeming@lyx.org>
6852
6853         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6854         the thesaurus dialog.
6855
6856 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6859
6860         * RowList.[Ch]: new files
6861
6862         * ParagraphList.C (erase): handle the case where it == begin
6863         correctly.
6864
6865 2003-03-25  John Levon  <levon@movementarian.org>
6866
6867         * Makefile.am:
6868         * aspell_local.h:
6869         * aspell.C: add new aspell support
6870
6871         * lyxrc.h:
6872         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6873         have it accessible.
6874
6875 2003-03-25  Angus Leeming  <leeming@lyx.org>
6876
6877         * lfuns.h:
6878         * LyXAction.C (init): new LFUN_INSET_INSERT.
6879
6880         * BufferView_pimpl.C (dispatch): split out part of the
6881         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6882
6883         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6884         LFUN_INSET_APPLY.
6885
6886 2003-03-25  Angus Leeming  <leeming@lyx.org>
6887
6888         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6889
6890 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6891
6892         * text2.C:
6893         * text3.C: remove useless row->height(0)
6894
6895 2003-03-25  John Levon  <levon@movementarian.org>
6896
6897         * lyxtext.h:
6898         * text2.C:
6899         * text3.C: rename the refreshing stuff to better names
6900
6901 2003-03-24  John Levon  <levon@movementarian.org>
6902
6903         * BufferView_pimpl.h:
6904         * BufferView_pimpl.C: update layout choice on a mouse
6905         press/release
6906
6907 2003-03-23  John Levon  <levon@movementarian.org>
6908
6909         * Makefile.am: fix commandtags.h reference
6910
6911 2003-03-22  John Levon  <levon@movementarian.org>
6912
6913         * BufferView_pimpl.C:
6914         * lyxtext.h:
6915         * rowpainter.C:
6916         * rowpainter.h:
6917         * text.C:
6918         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6919
6920 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6921
6922         * lyxtext.h:
6923         * text.C: take the rtl methods out of line
6924
6925 2003-03-21 André Pönitz <poenitz@gmx.net>
6926
6927         * metricsinfo.[Ch]: new files containing structures to be passed around
6928         during the two-phase-drawing...
6929
6930 2003-03-21 André Pönitz <poenitz@gmx.net>
6931
6932         * lyxtextclass.C: read 'environment' tag.
6933
6934 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6935
6936         * text2.C (removeRow): fix bug 964
6937
6938 2003-03-20  John Levon  <levon@movementarian.org>
6939
6940         * rowpainter.C:
6941         * text.C:
6942         * text2.C: paint cleanups. Inset::update() dropped font
6943         parameter
6944
6945 2003-03-19  John Levon  <levon@movementarian.org>
6946
6947         * lyxfunc.C: only fitcursor/markDirty if available()
6948
6949 2003-03-19  John Levon  <levon@movementarian.org>
6950
6951         * commandtags.h: rename to ...
6952
6953         * lfuns.h: ... this, and renumber / cleanup
6954
6955 2003-03-19  John Levon  <levon@movementarian.org>
6956
6957         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6958         fit the cursor after an lfun
6959
6960         * BufferView.h:
6961         * BufferView.C:
6962         * BufferView_pimpl.h:
6963         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6964
6965         * LyXAction.C: layout-character should have ReadOnly
6966
6967         * ParagraphParameters.C:
6968         * buffer.C:
6969         * bufferview_funcs.C:
6970         * lyx_cb.C:
6971         * lyxfind.C:
6972         * lyxtext.h:
6973         * text.C:
6974         * text2.C:
6975         * text3.C:
6976         * undo_funcs.C: changes from above
6977
6978 2003-03-18  John Levon  <levon@movementarian.org>
6979
6980         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6981         remove it from update()
6982
6983         * lyxfunc.C: update layout choice after an lfun
6984
6985         * text3.C: remove extra updateLayoutChoice()s
6986
6987 2003-03-18  John Levon  <levon@movementarian.org>
6988
6989         * text.C: top_y change means full repaint, fix
6990         a drawing bug with cursor movement
6991
6992 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6993
6994         * lyxtext.h:
6995         * text.C:
6996         * text2.C: anchor row on setCursor
6997
6998 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6999
7000         * lyxtext.h: remove almost all mutable keywords
7001         * text.C:
7002         * text2.C:
7003         * text3.C: remove const keywords accordingly
7004
7005 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7008         anon namespace
7009         (TeXEnvironment): ditto
7010         (TeXOnePar): ditto
7011
7012 2003-03-17  John Levon  <levon@movementarian.org>
7013
7014         * text.C (rowBreakPoint): remove attempt to fix displayed
7015         math insets inside a manual label
7016
7017 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * lyxtext.h: remove BufferView* as first arg from almost all class
7020         functions.
7021         * other files: adjust.
7022
7023 2003-03-17  John Levon  <levon@movementarian.org>
7024
7025         * lyxtext.h:
7026         * undo_funcs.C:
7027         * text2.C: more paint cleanups
7028
7029         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7030
7031         * rowpainter.h:
7032         * rowpainter.C: remove "smart" background painting code
7033
7034 2003-03-16  John Levon  <levon@movementarian.org>
7035
7036         * lyxtext.h:
7037         * text.C:
7038         * text2.C:
7039         * text3.C: add helper functions for setting refresh_row/y
7040
7041 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7042
7043         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7044         newline inset which *can* get inserted in the pass_thru layouts.
7045         This is primarily for literate documents.
7046
7047 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * buffer.C: increment LYX_FORMAT to 223
7050
7051 2003-03-14 André Pönitz <poenitz@gmx.net>
7052
7053         * textclass.h: prepare for environment handling, ws changes
7054         * lyxlayout.C: read latexheader and latexfooter tags
7055
7056 2003-03-14  John Levon  <levon@movementarian.org>
7057
7058         * text2.C: rewrite ::status() a bit
7059
7060 2003-03-13  John Levon  <levon@movementarian.org>
7061
7062         * lyxtext.h: add some docs
7063
7064 2003-03-13  John Levon  <levon@movementarian.org>
7065
7066         * lyxtext.h:
7067         * text.C:
7068         * text2.C:
7069         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7070
7071 2003-03-13  John Levon  <levon@movementarian.org>
7072
7073         * text3.C: fix appendix redrawing
7074
7075 2003-03-13  John Levon  <levon@movementarian.org>
7076
7077         * text.C (setHeightOfRow):
7078         * rowpainter.h:
7079         * rowpainter.C: make appendix mark have the text
7080           "Appendix" so the user knows what it is
7081
7082         * LColor.h:
7083         * LColor.C: s/appendixline/appendix/ from above
7084
7085 2003-03-13  John Levon  <levon@movementarian.org>
7086
7087         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7088
7089         * text.C: fix a getChar(pos) bug properly
7090
7091 2003-03-13  Angus Leeming  <leeming@lyx.org>
7092
7093         * commandtags.h:
7094         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7095         Probably only temporary. Let's see how things pan out.
7096
7097         * BufferView.C (unlockInset):
7098         * BufferView_pimpl.C (fitCursor):
7099         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7100
7101         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7102         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7103
7104         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7105         new functions that convert ParagraphParameters to and from a string.
7106
7107         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7108         BufferView::Pimpl's dispatch.
7109         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7110
7111 2003-03-13 André Pönitz <poenitz@gmx.net>
7112
7113         * lyxfunc.C:
7114         * text3.C:
7115         * factory.C: make it aware of InsetEnv
7116
7117 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * text2.C (setCursor): never ask for one past last
7120         (setCursor): add some debugging messages.
7121
7122         * text.C (singleWidth): never ask for one past last
7123         (singleWidth): ditto
7124         (leftMargin): ditto
7125         (rightMargin): ditto
7126         (rowBreakPoint): ditto
7127         (setHeightOfRow): ditto
7128         (prepareToPrint): ditto
7129
7130         * rowpainter.C (paintBackground): never ask for one past last
7131         (paintText): never ask for one past last
7132
7133         * paragraph_pimpl.C (getChar): make the assert stricter, never
7134         allow the one past last pos to be taken
7135
7136         * paragraph.C (getChar): ws changes only
7137
7138         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7139         (numberOfSeparators): ditto
7140         (numberOfHfills): ditto
7141
7142 2003-03-12  John Levon  <levon@movementarian.org>
7143
7144         * author.h:
7145         * author.C:
7146         * bufferparams.h:
7147         * bufferparams.C:
7148         * paragraph_funcs.C: fix per-buffer authorlists
7149
7150 2003-03-12  John Levon  <levon@movementarian.org>
7151
7152         * text.C: fix newline in right address
7153
7154 2003-03-12  Angus Leeming  <leeming@lyx.org>
7155
7156         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7157         duplicate those in LyXFunc::dispatch.
7158
7159         * commandtags.h:
7160         * LyXAction.C:
7161         * ToolbarDefaults.C:
7162         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7163         Add LFUN_FONTFREE_UPDATE.
7164
7165         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7166         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7167
7168         * bufferview_func.[Ch]: several new functions to facilliate
7169         transfer of data to and from the character dialog.
7170
7171 2003-03-12  John Levon  <levon@movementarian.org>
7172
7173         * buffer.C:
7174         * paragraph.h:
7175         * paragraph.C:
7176         * paragraph_funcs.C:
7177         * paragraph_pimpl.C:
7178         * sgml.C:
7179         * tabular.C:
7180         * text.C:
7181         * text3.C: remove META_NEWLINE in favour of an inset
7182
7183         * rowpainter.h:
7184         * rowpainter.C: remove paintNewline (done by inset)
7185
7186 2003-03-12  John Levon  <levon@movementarian.org>
7187
7188         * paragraph_pimpl.C: complain about bad getChar()s
7189         for a while at least
7190
7191 2003-03-12  John Levon  <levon@movementarian.org>
7192
7193         * buffer.h:
7194         * buffer.C: move paragraph read into a separate function,
7195         a little renaming to reflect that.
7196
7197         * bufferparams.h:
7198         * bufferparams.C: remove the author_ids map, not necessary now
7199
7200         * factory.h:
7201         * factory.C: moved Buffer::readInset to here
7202
7203         * paragraph_funcs.h:
7204         * paragraph_funcs.C: readParagraph free function moved from
7205         buffer.C
7206
7207         * tabular.C: name change
7208
7209 2003-03-12  John Levon  <levon@movementarian.org>
7210
7211         * buffer.C:
7212         * ParagraphParameters.C: move par params input to
7213         a read() method
7214
7215         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7216         behave like a normal read from the stream wrt reading
7217         a line vs. a \\token
7218
7219 2003-03-12  John Levon  <levon@movementarian.org>
7220
7221         * paragraph.C:
7222         * ParagraphParameters.h:
7223         * ParagraphParameters.C: move output code to a
7224         ::write() method
7225
7226 2003-03-12  John Levon  <levon@movementarian.org>
7227
7228         * BufferView.C (insertLyXFile):
7229         * buffer.h:
7230         * buffer.C:
7231         * tabular.C: use a parlist iterator for creating the
7232           document.
7233
7234 2003-03-12  John Levon  <levon@movementarian.org>
7235
7236         * buffer.C: make current_change static local not
7237           static file-scope
7238
7239 2003-03-12  John Levon  <levon@movementarian.org>
7240
7241         * buffer.C: fix insertStringAsLines for change tracking
7242
7243 2003-03-12  John Levon  <levon@movementarian.org>
7244
7245         * BufferView.C:
7246         * tabular.C:
7247         * buffer.h:
7248         * buffer.C:
7249         * bufferparams.h:
7250         * bufferparams.C: move author list into params. Rename some
7251           functions. Move the header reading into a separate token
7252           loop. Move the header token reading into BufferParams.
7253
7254 2003-03-12  John Levon  <levon@movementarian.org>
7255
7256         * changes.C: put debug inside lyxerr.debugging() checks
7257
7258 2003-03-11 André Pönitz <poenitz@gmx.net>
7259
7260         * factory.C: make it aware of InsetHFill
7261
7262 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7263
7264         * buffer.C (latexParagraphs): move function from here...
7265         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7266         args.
7267
7268 2003-03-10  Angus Leeming  <leeming@lyx.org>
7269
7270         * LyXAction.C (init): fix bug in poplating array with multiple entries
7271         with the same LFUN (spotted by JMarc).
7272
7273 2003-03-10  John Levon  <levon@movementarian.org>
7274
7275         * text.C:
7276         * text2.C: move getColumnNearX() near its
7277         only call site
7278
7279 2003-03-10  John Levon  <levon@movementarian.org>
7280
7281         * text.C: fix break before a minipage
7282
7283 2003-03-10  John Levon  <levon@movementarian.org>
7284
7285         * text.C: fix the last commit
7286
7287 2003-03-09  John Levon  <levon@movementarian.org>
7288
7289         * lyxtext.h:
7290         * text.C:
7291         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7292         bug 365 (don't break before insets unless needed). Don't
7293         return a value > last under any circumstances.
7294
7295 2003-03-09  Angus Leeming  <leeming@lyx.org>
7296
7297         * BufferView_pimpl.C (trackChanges, dispatch): call
7298         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7299
7300 2003-03-09  Angus Leeming  <leeming@lyx.org>
7301
7302         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7303         than Dialogs::showAboutlyx().
7304
7305 2003-03-09  Angus Leeming  <leeming@lyx.org>
7306
7307         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7308         than Dialogs::showTabularCreate().
7309
7310 2003-03-09  John Levon  <levon@movementarian.org>
7311
7312         * lyxtext.h:
7313         * text.C:
7314         * text2.C: 3rd arg to nextBreakPoint was always the same.
7315           Use references.
7316
7317 2003-03-08  John Levon  <levon@movementarian.org>
7318
7319         * lyxrow.C:
7320         * paragraph.C:
7321         * paragraph.h:
7322         * rowpainter.C:
7323         * text.C:
7324         * text2.C: Remove the "main" bit from the "main body"
7325           notion.
7326
7327 2003-03-08  John Levon  <levon@movementarian.org>
7328
7329         * text.C (leftMargin): The left margin of an empty
7330         manual label paragraph should not include the label width
7331         string length.
7332
7333         * text.C (prepareToPrint): don't attempt to measure hfills
7334         for empty manual label paragraphs - the answer should be 0
7335
7336 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * CutAndPaste.C: remove commented code and reindent.
7339
7340 2003-03-08  John Levon  <levon@movementarian.org>
7341
7342         * lyxfunc.h:
7343         * lyxfunc.C: move reloadBuffer()
7344
7345         * BufferView.h:
7346         * BufferView.C: to here
7347
7348         * lyxvc.C: add comment
7349
7350         * vc-backend.h:
7351         * vc-backend.C: call bv->reload() to avoid
7352           getStatus() check on MENURELOAD
7353
7354 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7355
7356         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7357         to an old format .dep file.
7358
7359 2003-03-07  Angus Leeming  <leeming@lyx.org>
7360
7361         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7362         when the LFUN_MOUSE_RELEASE should have been handled by
7363         inset->localDispatch.
7364
7365 2003-03-07  Angus Leeming  <leeming@lyx.org>
7366
7367         * BufferView_pimpl.C (dispatch):
7368         * LyXAction.C (init):
7369         * ToolbarDefaults.C (init):
7370         * commandtags.h:
7371         * lyxfunc.C (getStatus):
7372         remove LFUN_INSET_GRAPHICS.
7373
7374         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7375
7376 2003-03-07  Angus Leeming  <leeming@lyx.org>
7377
7378         * commandtags.h:
7379         * LyXAction.C (init):
7380         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7381
7382         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7383
7384         * commandtags.h:
7385         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7386
7387         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7388         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7389
7390 2003-03-07  Angus Leeming  <leeming@lyx.org>
7391
7392         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7393         remove "ert".
7394
7395 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * ParagraphList.C (front): new function
7398         (back): implement
7399
7400 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7401
7402         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7403         and top_row_offset_. removed var first_y.
7404         * text.C (top_y):
7405         * text2.C (LyXText, removeRow):
7406         * text3.C:
7407         * BufferView_pimpl.C:
7408         use these methods instead of using first_y
7409
7410 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * text2.C (pasteSelection): adjust for checkPastePossible
7413
7414         * CutAndPaste.C: remove Paragraph * buf and replace with
7415         ParagraphList paragraphs.
7416         (DeleteBuffer): delete
7417         (cutSelection): change the tc type to textclass_type
7418         (copySelection): change the tc type to textclass_type
7419         (copySelection): adjust for ParagraphList
7420         (pasteSelection): change the tc type to textclass_type
7421         (pasteSelection): adjust for Paragraphlist
7422         (nrOfParagraphs): simplify for ParagraphList
7423         (checkPastePossible): simplify for ParagraphList
7424         (checkPastePossible): remove unused arg
7425
7426         * ParagraphList.C (insert): handle the case where there are no
7427         paragraphs yet.
7428
7429         * CutAndPaste.h: make CutAndPaste a namespace.
7430
7431         * text3.C (dispatch): adjust
7432
7433         * text.C (breakParagraph): add a ParagraphList as arg
7434
7435         * paragraph_funcs.C (breakParagraph): change to take a
7436         BufferParams and a ParagraphList as args.
7437         (breakParagraphConservative): ditto
7438         (mergeParagraph): ditto
7439         (TeXDeeper): add a ParagraphList arg
7440         (TeXEnvironment): ditto
7441         (TeXOnePar): ditto
7442
7443         * buffer.C (readLyXformat2): adjust
7444         (insertStringAsLines): adjust
7445         (latexParagraphs): adjust
7446
7447         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7448         (cutSelection): adjust
7449         (pasteSelection): adjust
7450
7451         * BufferView_pimpl.C (insertInset): adjust
7452
7453 2003-03-05  Angus Leeming  <leeming@lyx.org>
7454
7455         * commandtags.h:
7456         * LyXAction.C (init):
7457         * BufferView_pimpl.C (dispatch):
7458         * lyxfunc.C (getStatus):
7459         remove LFUN_CHILD_INSERT.
7460
7461         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7462
7463 2003-03-05  Angus Leeming  <leeming@lyx.org>
7464
7465         * commandtags.h:
7466         * LyXAction.C (init):
7467         * src/factory.C (createInset):
7468         * lyxfunc.C (getStatus):
7469         * text3.C (dispatch):
7470         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7471
7472         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7473
7474 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * ParagraphList.C (insert): handle insert right before end()
7477         (erase): fix cases where it can be first or last paragraph.
7478
7479 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7482         Paragraph::next and Paragraph::previous
7483         (TeXOnePar): ditto
7484
7485         * text.C (breakParagraph): adjust
7486
7487         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7488         BufferParams& as arg.
7489         (breakParagraph): use ParagraphList::insert
7490         (breakParagraphConservative): take a Buffer* instead of a
7491         BufferParams& as arg.
7492         (breakParagraphConservative): use ParagraphList::insert.
7493
7494         * buffer.C (insertStringAsLines): un-const it
7495         (insertStringAsLines): adjust
7496
7497         * ParagraphList.C (insert): new function
7498
7499         * CutAndPaste.C (pasteSelection): adjust
7500
7501         * text.C (backspace): adjust
7502
7503         * tabular.C (SetMultiColumn): adjust
7504
7505         * CutAndPaste.C (cutSelection): adjust
7506         (pasteSelection): adjust
7507
7508         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7509         Buffer const * as arg
7510
7511         * ParagraphList.C (erase): new function
7512         * paragraph_funcs.C (mergeParagraph): use it
7513         (mergeParagraph): make it take a Buffer* instead of a
7514         BufferParams* as arg
7515
7516         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7517         as arg
7518         (breakParagraphConservative): ditto
7519
7520         * paragraph.h: remove the breakParagraph friend
7521
7522         * paragraph.C (eraseIntern): new function
7523         (setChange): new function
7524
7525         * paragraph_funcs.C (mergeParagraph): make it take a
7526         ParagraphList::iterator instead of a Paragraph *, adjust
7527         accordingly.
7528
7529         * paragraph.h: move an #endif so that the change tracking stuff
7530         also works in the NO_NEXT case.
7531
7532 2003-03-04  Angus Leeming  <leeming@lyx.org>
7533
7534         * commandtags.h:
7535         * LyXAction.C: new LFUN_INSET_MODIFY.
7536
7537         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7538         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7539
7540 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * several files: ws changes only
7543
7544         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7545         (TeXEnvironment): ditto
7546         (TeXDeeper): ditto
7547
7548         * buffer.C (makeLaTeXFile): adjust
7549         (latexParagraphs): make it take ParagraphList::iterator as args
7550
7551 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * buffer.C (latexParagraphs): adjust
7554
7555         * paragraph.C (TeXOnePar): move function...
7556         (optArgInset): move function...
7557         (TeXEnvironment): move function...
7558         * paragraph_pimpl.C (TeXDeeper): move function...
7559         * paragraph_funcs.C: ...here
7560
7561         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7562
7563 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * buffer.C (readInset): remove compability code for old Figure and
7566         InsetInfo insets
7567
7568 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * buffer.C: ws changes
7571         (readInset):
7572
7573         * BufferView_pimpl.C: ditto
7574         * author.C: ditto
7575         * buffer.h: ditto
7576         * bufferlist.h: ditto
7577         * changes.h: ditto
7578         * lyxfunc.C: ditto
7579
7580 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7581
7582         * converter.[Ch]: split into itself +
7583         * graph.[Ch]
7584         * format.[Ch]
7585         * Makefile.am: += graph.[Ch] + format.[Ch]
7586         * MenuBackend.C
7587         * buffer.C
7588         * exporter.C
7589         * importer.C
7590         * lyx_main.C
7591         * lyxfunc.C
7592         * lyxrc.C: added #include "format.h"
7593
7594 2003-02-27  Angus Leeming  <leeming@lyx.org>
7595
7596         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7597           a label.
7598
7599         * factory.C (createInset): add "label" to the factory.
7600
7601         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7602           string and do no more.
7603
7604 2003-02-27  Angus Leeming  <leeming@lyx.org>
7605
7606         * commandtags.h:
7607         * LyXAction.C (init):
7608         * factory.C (createInset):
7609         * BufferView_pimpl.C (dispatch):
7610           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7611
7612         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7613
7614         * lyxfunc.C (dispatch):
7615         * text3.C (dispatch): pass name to params2string.
7616
7617 2003-02-26  Angus Leeming  <leeming@lyx.org>
7618
7619         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7620           blocks together.
7621           Rearrange the ~includes. Strip out the unnecessary ones.
7622
7623         * factory.C (createInset): reformat.
7624           create new insets for the various LFUN_XYZ_APPLY lfuns.
7625
7626 2003-02-26  John Levon  <levon@movementarian.org>
7627
7628         * lyxrow.h:
7629         * lyxrow.C: add isParStart,isParEnd helpers
7630
7631         * paragraph.h: make isInserted/DeletedText take refs
7632
7633         * paragraph_funcs.h:
7634         * paragraph_funcs.C: remove #if 0'd code
7635
7636         * lyxtext.h:
7637         * text3.C:
7638         * text2.C:
7639         * text.C: use lyxrow helpers above.
7640           Move draw and paint routines to RowPainter.
7641           Make several methods use refs not pointers.
7642           Make backgroundColor() const.
7643           Add markChangeInDraw(), isInInset().
7644           Merge changeRegionCase into changeCase.
7645           Make workWidth() shouldn't-happen code into an Assert.
7646
7647         * rowpainter.h:
7648         * rowpainter.C: new class for painting a row.
7649
7650         * vspace.h:
7651         * vspace.C: make inPixels take a ref
7652
7653 2003-02-26  Angus Leeming  <leeming@lyx.org>
7654
7655         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7656         LFUN_REF_APPLY.
7657
7658 2003-02-25  John Levon  <levon@movementarian.org>
7659
7660         * ispell.C: give the forked command a more accurate name
7661
7662 2003-02-22  John Levon  <levon@movementarian.org>
7663
7664         * toc.h:
7665         * toc.C: make TocItem store an id not a Paragraph *
7666           (bug #913)
7667
7668 2003-02-21  Angus Leeming  <leeming@lyx.org>
7669
7670         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7671           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7672           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7673           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7674           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7675           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7676
7677         * BufferView_pimpl.C (dispatch):
7678         * LyXAction.C (init):
7679         * factory.C (createInset):
7680         * lyxfunc.C (getStatus, dispatch):
7681         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7682
7683 2003-02-21  Angus Leeming  <leeming@lyx.org>
7684
7685         * BufferView_pimpl.C (MenuInsertLyXFile):
7686         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7687         * lyxfunc.C (menuNew, open, doImport):
7688           no longer pass a LyXView & to fileDlg.
7689
7690 2003-02-21  Angus Leeming  <leeming@lyx.org>
7691
7692         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7693         * LyXAction.C: change, BIBKEY to BIBITEM.
7694         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7695         Change InsetBibKey to InsetBibitem.
7696         Change BIBKEY_CODE to BIBITEM_CODE.
7697         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7698         * factory.C: replace insetbib.h with insetbibitem.h.
7699         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7700         * paragraph.C: replace insetbib.h with insetbibitem.h.
7701         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7702         Change bibkey() to bibitem().
7703         * text.C: remove insetbib.h.
7704         * text2.C: replace insetbib.h with insetbibitem.h.
7705         change bibkey() to bibitem().
7706         * text3.C: remove insetbib.h.
7707         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7708
7709 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7710
7711         * lyxrc.C (output): enclose user email in quotes (in case there are
7712         several words)
7713
7714 2003-02-18  John Levon  <levon@movementarian.org>
7715
7716         * buffer.h: add std::
7717
7718 2003-02-17  John Levon  <levon@movementarian.org>
7719
7720         * SpellBase.h:
7721         * ispell.h:
7722         * ispell.C:
7723         * pspell.h:
7724         * pspell.C: reworking. Especially in ispell, a large
7725           number of clean ups and bug fixes.
7726
7727         * lyxfunc.C: fix revert to behave sensibly
7728
7729 2003-02-17 André Pönitz <poenitz@gmx.net>
7730
7731         * LyXAction.C:
7732         * commandtags.h: new LFUN_INSERT_BIBKEY
7733
7734         * layout.h:
7735         * lyxlayout.C:
7736         * buffer.C:
7737         * factory.C:
7738         * text.C:
7739         * text2.C:
7740         * text3.C:
7741         * paragraph.[Ch]:
7742         * paragraph_func.C: remove special bibkey handling
7743
7744 2003-02-17  John Levon  <levon@movementarian.org>
7745
7746         * text.C (Delete): fix case where delete at the end of
7747           the very first paragraph would not merge the pars
7748
7749 2003-02-17  John Levon  <levon@movementarian.org>
7750
7751         * lyxrow.C: fix lastPrintablePos()
7752
7753 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7754
7755         * bufferparams.C (writeLaTeX): add a std:here
7756
7757         * buffer.C: and remove a using directive there
7758
7759 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * buffer.C (makeLaTeXFile): move the code that generates the
7762           preamble...
7763
7764         * bufferparams.C (writeLaTeX): ... in this new method
7765
7766         * LaTeXFeatures.C (getEncodingSet): make const
7767           (getLanguages): make const
7768
7769         * MenuBackend.C (binding): returns the binding associated to this
7770           action
7771           (add): sets the status of each item by calling getStatus. Adds
7772           some intelligence.
7773           (read): add support for OptSubMenu
7774           (expand): remove extra separator at the end of expanded menu
7775
7776 2003-02-15  John Levon  <levon@movementarian.org>
7777
7778         * BufferView.C:
7779         * BufferView_pimpl.C:
7780         * bufferlist.h:
7781         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7782           inset code that had no actual effect. Remove unneeded status
7783           code.
7784
7785 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7786
7787         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7788           in preamble
7789
7790 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7791
7792         * text.C (drawLengthMarker): also draw an arrow marker for
7793           symbolic lengths (medskip...)
7794
7795 2003-02-14  John Levon  <levon@movementarian.org>
7796
7797         * tabular.h:
7798         * tabular.C: better method names
7799
7800 2003-02-14  John Levon  <levon@movementarian.org>
7801
7802         * BufferView_pimpl.C:
7803         * bufferlist.C:
7804         * buffer.C:
7805         * converter.C:
7806         * lyx_cb.C:
7807         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7808           it's a more accurate name. Remove some pointless uses.
7809
7810 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7811
7812         * text2.C (LyXText): change order of initilizers to shut off
7813           warnings
7814
7815 2003-02-14  John Levon  <levon@movementarian.org>
7816
7817         * buffer.C: use ParIterator for getParFromID()
7818
7819         * paragraph.h:
7820         * paragraph.C:
7821         * paragraph_pimpl.h:
7822         * paragraph_pimpl.C: remove unused getParFromID()
7823
7824 2003-02-14  John Levon  <levon@movementarian.org>
7825
7826         * buffer.C: remove some very old #if 0'd parse code
7827
7828 2003-02-13  John Levon  <levon@movementarian.org>
7829
7830         * text.h:
7831         * text.C:
7832         * text2.C: move hfillExpansion(), numberOfSeparators(),
7833           rowLast(), rowLastPrintable(), numberofHfills(),
7834           numberOfLabelHfills() ...
7835
7836         * lyxrow.h:
7837         * lyxrow.C: ... to member functions here.
7838
7839         * paragraph.h:
7840         * paragraph.C:
7841         * lyxtext.h:
7842         * text.C: remove LyXText::beginningOfMainBody(), and call
7843           p->beginningOfMainBody() directly. Move the check for
7844           LABEL_MANUAL into the latter.
7845
7846         * text.h:
7847         * text.C:
7848         * text2.C:
7849         * vspace.C:
7850         * BufferView.h:
7851         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7852
7853         * text.h:
7854         * text.C:
7855         * text2.C:
7856         * text3.C:
7857         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7858           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7859
7860 2003-02-13  John Levon  <levon@movementarian.org>
7861
7862         * CutAndPaste.C: remove debug
7863
7864 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7865
7866         * paragraph.C (asString): remove two unused variables
7867
7868         * lyxtextclass.C (readTitleType):
7869           (Read):
7870           (LyXTextClass): handle new members titletype_ and titlename_
7871
7872         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7873
7874 2003-02-09  John Levon  <levon@movementarian.org>
7875
7876         * buffer.h:
7877         * buffer.C: replace hand-coded list with a map for the dep clean
7878
7879 2003-02-08  John Levon  <levon@movementarian.org>
7880
7881         * LaTeX.C: consolidate code into showRunMessage() helper
7882
7883 2003-02-08  John Levon  <levon@movementarian.org>
7884
7885         * lyxfind.C:
7886         * lyxtext.h:
7887         * text2.C:
7888         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7889           and pass the size in explicitly
7890
7891         * BufferView_pimpl.h:
7892         * BufferView_pimpl.C:
7893         * BufferView.h:
7894         * BufferView.C: add getCurrentChange()
7895
7896         * BufferView_pimpl.h:
7897         * BufferView_pimpl.C: handle change lfuns
7898
7899         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7900           for changes. Mark pasted paragraphs as new.
7901
7902         * support/lyxtime.h:
7903         * support/lyxtime.C:
7904         * DepTable.C: abstract time_t as lyx::time_type
7905
7906         * LColor.h:
7907         * LColor.C: add colours for new text, deleted text, changebars
7908
7909         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7910           package use "usenames" option.
7911
7912         * commandtags.h:
7913         * lyxfunc.C:
7914         * LyXAction.C: add change lfuns
7915
7916         * Makefile.am:
7917         * author.h:
7918         * author.C: author handling
7919
7920         * buffer.h:
7921         * buffer.C: add a per-buffer author list, with first entry as
7922           current author. Handle new .lyx tokens for change tracking. Output
7923           author list to .lyx file. Output dvipost stuff to .tex preamble.
7924           Bump lyx format to 222.
7925
7926         * bufferlist.h:
7927         * bufferlist.C: add setCurrentAuthor() to reset current author details
7928           in all buffers.
7929
7930         * bufferparams.h:
7931         * bufferparams.C: add param for tracking
7932
7933         * bufferview_funcs.C: output change info in minibuffer
7934
7935         * Makefile.am:
7936         * changes.h:
7937         * changes.C: add change-tracking structure
7938
7939         * debug.h:
7940         * debug.C: add CHANGES debug flag
7941
7942         * lyxfind.h:
7943         * lyxfind.C: add code for finding the next change piece
7944
7945         * lyxrc.h:
7946         * lyxrc.C: add user_name and user_email
7947
7948         * lyxrow.h:
7949         * lyxrow.C: add a metric for the top of the text line
7950
7951         * lyxtext.h:
7952         * text.C: implement accept/rejectChange()
7953
7954         * lyxtext.h:
7955         * text.C: paint changebars. Paint new/deleted text in the chosen
7956         colours. Strike through deleted text.
7957
7958         * paragraph.h:
7959         * paragraph.C:
7960         * paragraph_pimpl.h:
7961         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7962           in the current change to the insert functions. Rework erase to
7963           mark text as deleted, adding an eraseIntern() and a range-based
7964           erase(). Implement per-paragraph change lookup and
7965           accept/reject.
7966
7967         * paragraph_funcs.C: Fixup paste for change tracking.
7968
7969         * tabular.C: mark added row/columns as new.
7970
7971         * text.C: fix rowLast() to never return -1. Don't allow
7972           spellchecking of deleted text. Track transpose changes. Don't
7973           allow paragraph break or merge where appropriate.
7974
7975         * text2.C: leave cursor at end of selection after a cut.
7976
7977 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7978
7979         * text.C (getLengthMarkerHeight):
7980         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7981         visible on screen too.
7982
7983 2003-02-07  John Levon  <levon@movementarian.org>
7984
7985         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7986
7987 2003-02-05  Angus Leeming  <leeming@lyx.org>
7988
7989         * lyxserver.C (read_ready): revert my patch of 11 September last year
7990         as it sends PC cpu through the roof. Presumably this means that
7991         the lyxserver will no longer run on an Alpha...
7992
7993 2003-01-30  Angus Leeming  <leeming@lyx.org>
7994
7995         * factory.C (createInset): create an InsetCommandParam of type "index"
7996         and use it to 'do the right thing'.
7997
7998         * text2.C (getStringToIndex): ensure that cursor position is always
7999         reset to the reset_cursor position.
8000
8001 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8002
8003         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8004         disabled.
8005
8006 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8007
8008         * bufferview.C:
8009         * lyxcb.C:
8010         * lyxfunc.C: Output messages with identical spelling, punctuation,
8011         and spaces
8012
8013 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8014
8015         * MenuBackend.C (expandFormats): List only viewable export formats
8016         in "View" menu
8017
8018         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8019         message
8020
8021         * lyxfunc.C (getStatus): Make sure that formats other than
8022         "fax" can also be disabled
8023
8024 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8025
8026         * text3.C (dispatch): put the lfuns that insert insets in 3
8027         groups, and call doInsertInset with appropriate arguments.
8028         (doInsertInset): new function, that creates an inset and inserts
8029         it according to some boolean parameters.
8030
8031 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * buffer.C (readFile): remember to pass on 'par' when calling
8034         readFile recursively.
8035
8036 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8037
8038         * MenuBackend.C (expandFormats): add "..." to import formats.
8039
8040 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8041
8042         * paragraph.C (asString): Remove XForms RTL hacks.
8043
8044 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8045         * buffer.C: fix typo
8046
8047 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * Makefile.am (LIBS): delete var
8050         (lyx_LDADD): add @LIBS@ here instead.
8051
8052 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8053
8054         * Clarify the meaning of "wheel mouse jump"
8055
8056 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8057
8058         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8059         tabular in a float
8060
8061 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8062
8063         * importer.C (Loaders): do not preallocate 3 elements in the
8064         vector, since one ends up with 6 elements otherwise
8065
8066 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8067
8068         * DepTable.C (write): write the file name as last element of the
8069         .dep file (because it may contain spaces)
8070         (read): read info in the right order
8071
8072 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8073
8074         * paragraph_pimpl.C (simpleTeXBlanks):
8075         (simpleTeXSpecialChars):
8076         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8077
8078         * tabular.C (latex): add some missing case statements. Reindent.
8079
8080         * MenuBackend.C (expandToc): remove unused variable.
8081
8082 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8083
8084         * LColor.C:
8085         * LaTeX.C:
8086         * LyXAction.C:
8087         * MenuBackend.C:
8088         * buffer.C:
8089         * exporter.C:
8090         * lyxfunc.C:
8091         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8092         and the like.
8093
8094 2003-01-05  John Levon  <levon@movementarian.org>
8095
8096         * BufferView.h:
8097         * BufferView.C: add getEncoding()
8098
8099         * kbsequence.h:
8100         * kbsequence.C: do not store last keypress
8101
8102         * lyxfunc.h:
8103         * lyxfunc.C: store last keypress here instead. Pass encoding
8104           to getISOEncoded()
8105
8106 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8107
8108         * lyx_main.C (init): remove annoying error message when following
8109         symbolic links (bug #780)
8110
8111 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8112
8113         * text.C (insertChar):
8114         * lyxrc.C (getDescription): remove extra spaces
8115
8116 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8117
8118         * lyxrc.C (getDescription): remove extra spaces
8119
8120 2002-12-20  John Levon  <levon@movementarian.org>
8121
8122         * text3.C: hack fix for page up/down across tall rows
8123
8124 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8125
8126         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8127         not been invoked
8128
8129 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8132         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8133         thesaurus is not compiled in
8134
8135 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8136
8137         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8138
8139 2002-12-16  Angus Leeming  <leeming@lyx.org>
8140
8141         * lyxrc.[Ch]:
8142         * lyx_main.C (init): remove override_x_deadkeys stuff.
8143
8144 2002-12-12  John Levon  <levon@movementarian.org>
8145
8146         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8147           insert. Only remove shift modifier under strict
8148           circumstances.
8149
8150 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * MenuBackend.C (expandToc): fix crash.
8153
8154 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * MenuBackend.C (expandToc): gettext on float names.
8157
8158 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8159
8160         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8161         implement bool empty() [bug 490]
8162
8163 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8166
8167 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * several files: ws changes
8170
8171 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * text2.C (setCounter): clean up a bit, use boost.format.
8174         (updateCounters): initialize par upon declaration.
8175
8176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8177         if the layout exists. We do not just store the layout any more.
8178         (SwitchLayoutsBetweenClasses): use boost.format
8179
8180 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8181
8182         * converter.C (convert): if from and to files are the same, use a
8183         temporary files as intermediary
8184
8185 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8186
8187         * commandtags.h:
8188         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8189
8190 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8191
8192         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8193
8194 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * tabular.C (asciiPrintCell): use string(size, char) instead of
8197         explicit loop.
8198
8199         * sgml.C (openTag): fix order of arguments to string constructor
8200         (closeTag): ditto
8201
8202         * lyxfunc.C (dispatch): use boost.format
8203
8204         * lots of files: change "c" -> 'c'
8205
8206 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8207
8208         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8209
8210 2002-11-25  Angus Leeming  <leeming@lyx.org>
8211
8212         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8213
8214         * lyx_main.C (init): compile fix.
8215
8216 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * lyx_cb.C (start): boost.formatify
8219         do not include <iostream>
8220
8221         * lengthcommon.C: ws only
8222
8223         * boost-inst.C,BoostFormat.h: add more explict instantations
8224
8225 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * lots of files: handle USE_BOOST_FORMAT
8228
8229 2002-11-21  John Levon  <levon@movementarian.org>
8230
8231         * pspell.C: fix compile
8232
8233 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8234
8235         * lyxfunc.C (dispatch): use boost::format
8236         (open): ditto
8237         (doImport): ditto
8238
8239         * lyxfont.C (stateText): use boost::format
8240
8241         * lyx_main.C (LyX): use boost::format
8242         (init): ditto
8243         (queryUserLyXDir): ditto
8244         (readRcFile): ditto
8245         (parse_dbg): ditto
8246         (typedef boost::function): use the recommened syntax.
8247
8248         * importer.C (Import): use boost::format
8249
8250         * debug.C (showLevel): use boost::format
8251
8252         * converter.C (view): use boost::format
8253         (convert): ditto
8254         (move): ditto
8255         (scanLog): ditto
8256
8257         * bufferview_funcs.C (currentState): use boost::format
8258
8259         * bufferlist.C (emergencyWrite): use boost::format
8260
8261         * buffer.C (readLyXformat2): use boost::format
8262         (parseSingleLyXformat2Token): ditto
8263
8264         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8265
8266         * LaTeX.C (run): use boost::format
8267
8268         * Chktex.C (scanLogFile): use boost::format
8269
8270         * BufferView_pimpl.C (savePosition): use boost::format
8271         (restorePosition): ditto
8272         (MenuInsertLyXFile): ditto
8273
8274         * BoostFormat.h: help file for explicit instation.
8275
8276 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8277
8278         * tabular.C (latex): Support for block alignment in fixed width
8279         columns.
8280
8281 2002-11-17  John Levon  <levon@movementarian.org>
8282
8283         * BufferView_pimpl.C:
8284         * lyx_cb.C:
8285         * lyxfunc.C: split filedialog into open/save
8286
8287 2002-11-08  Juergen Vigna  <jug@sad.it>
8288
8289         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8290         by my last patch (hopefully).
8291
8292 2002-11-08  John Levon  <levon@movementarian.org>
8293
8294         * iterators.h:
8295         * iterators.C:
8296         * buffer.h:
8297         * buffer.C:
8298         * paragraph.h:
8299         * paragraph.C:
8300         * toc.h:
8301         * toc.C: ParConstIterator, and use it (from Lars)
8302
8303 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8304
8305         * lyxtextclass.[Ch]: revise and add doxygen comments
8306
8307 2002-11-07  John Levon  <levon@movementarian.org>
8308
8309         * text.C: fix progress value for spellchecker
8310
8311         * toc.C: fix navigate menu for insetwrap inside minipage
8312
8313         * paragraph_funcs.C: added FIXME for suspect code
8314
8315 2002-11-07  John Levon  <levon@movementarian.org>
8316
8317         * BufferView_pimpl.C: fix redrawing of insets
8318           on buffer switch
8319
8320 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8321
8322         * text2.C (updateCounters): fix bug 668
8323
8324 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8325
8326         * text3.C (dispatch): Do not make the buffer dirty when moving the
8327         cursor.
8328
8329 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * vc-backend.C: STRCONV
8332         (scanMaster): ditto
8333
8334         * text2.C (setCounter): STRCONV
8335
8336         * paragraph.C (asString): STRCONV
8337
8338         * lyxlength.C (asString): STRCONV
8339         (asLatexString): ditto
8340
8341         * lyxgluelength.C (asString): STRCONV
8342         (asLatexString): ditto
8343
8344         * lyxfunc.C (dispatch): STRCONV
8345         (open): ditto
8346
8347         * lyxfont.C (stateText): STRCONV
8348
8349         * importer.C (Import): STRCONV
8350
8351         * counters.C (labelItem): STRCONV
8352         (numberLabel): ditto
8353         (numberLabel): remove unused ostringstream o
8354
8355         * chset.C: STRCONV
8356         (loadFile): ditto
8357
8358         * bufferview_funcs.C (currentState): STRCONV
8359
8360         * buffer.C (readFile): STRCONV
8361         (asciiParagraph): ditto
8362         (makeLaTeXFile): ditto
8363
8364         * Spacing.C (writeEnvirBegin): STRCONV
8365
8366         * LaTeXFeatures.C (getLanguages): STRCONV
8367         (getPackages): ditto
8368         (getMacros): ditto
8369         (getBabelOptions): ditto
8370         (getTClassPreamble): ditto
8371         (getLyXSGMLEntities): ditto
8372         (getIncludedFiles): ditto
8373
8374         * LaTeX.C: STRCONV
8375         (run): ditto
8376         (scanAuxFile): ditto
8377         (deplog): ditto
8378
8379         * LString.h: add the STRCONV macros
8380
8381         * BufferView_pimpl.C (savePosition): STRCONV
8382         (restorePosition): ditto
8383         (MenuInsertLyXFile): ditto
8384
8385         * vc-backend.C (scanMaster): change from submatch[...] to
8386         submatch.str(...)
8387
8388         * funcrequest.C: include config.h
8389
8390         * factory.C: include config.h
8391
8392         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8393
8394         * box.C: include config.h
8395
8396         * LaTeX.C (scanAuxFile): change from submatch[...] to
8397         submatch.str(...)
8398         (deplog): ditto
8399
8400 2002-10-25  Angus Leeming  <leeming@lyx.org>
8401
8402         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8403
8404         * ispell.[Ch] (setError): new method.
8405         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8406         Use setError() insetead of goto END.
8407
8408         * lyx_cb.C (AutoSave): move out child process into new class
8409         AutoSaveBuffer.
8410
8411 2002-10-30  John Levon  <levon@movementarian.org>
8412
8413         * text3.C: make start appendix undoable
8414
8415 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8416
8417         * lyxlength.C (inPixels): Fix returned value.
8418
8419         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8420         environment.
8421
8422 2002-10-24  Angus Leeming  <leeming@lyx.org>
8423
8424         * lyxgluelength.h: no need to forward declare BufferParams
8425         or BufferView, so don't.
8426
8427 2002-10-21  John Levon  <levon@movementarian.org>
8428
8429         * BufferView.C: menuUndo ->undo, redo
8430
8431         * BufferView.h: document, remove dead, make some methods private
8432
8433         * paragraph_funcs.h:
8434         * paragraph_funcs.C:
8435         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8436
8437         * buffer.h:
8438         * buffer.C:
8439         * sgml.h:
8440         * sgml.C: move sgml open/close tag into sgml.C
8441
8442         * bufferview_funcs.h: unused prototype
8443
8444         * lyxfunc.h:
8445         * lyxfunc.C: remove unused
8446
8447         * lyxtext.h:
8448         * text.C: remove unused
8449
8450 2002-10-21  John Levon  <levon@movementarian.org>
8451
8452         * BufferView.h:
8453         * BufferView.C:
8454         * BufferView_pimpl.h:
8455         * BufferView_pimpl.C: fix mouse wheel handling based on
8456           patch from Darren Freeman
8457
8458 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8459
8460         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8461
8462 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8463
8464         * lyxlength.C (inPixels): Fix hanfling of negative length.
8465         Fix LyXLength::MU case.
8466
8467 2002-10-16  John Levon  <levon@movementarian.org>
8468
8469         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8470
8471 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8472
8473         * converter.C (view): add support for $$i (file name) and $$p
8474         (file path) for the viewer command. If $$i is not specified, then
8475         it is appended to the command (for compatibility with old syntax)
8476
8477 2002-10-14  Juergen Vigna  <jug@sad.it>
8478
8479         * undo_funcs.C (textHandleUndo): alter the order in which the
8480         new undopar is added to the LyXText, as we have to set first
8481         the right prev/next and then add it as otherwise the rebuild of
8482         LyXText is not correct. Also reset the cursor to the right paragraph,
8483         with this IMO we could remove the hack in "redoParagraphs()".
8484
8485 2002-10-09  Angus Leeming  <leeming@lyx.org>
8486
8487         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8488         to turn off an optimisation if a new inset is to be inserted.
8489
8490 2002-10-11 André Pönitz <poenitz@gmx.net>
8491
8492         * lyxtext.h: make some functions public to allow access
8493         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8494
8495 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8496
8497         * text3.C (dispatch): when changing layout, avoid an infinite loop
8498         [bug #652]
8499
8500 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8501
8502         * lyxrc.C (read): treat a viewer or converter command of "none" as
8503         if it were empty.
8504
8505         * MenuBackend.C (expandFormats): for an update, also allow the
8506         formats that are not viewable
8507
8508         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8509         script if it is newer than the lyxrc.defaults in user directory
8510
8511 2002-10-07 André Pönitz <poenitz@gmx.net>
8512
8513         * text.C: Vitaly Lipatov's small i18n fix
8514
8515 2002-09-25  Angus Leeming  <leeming@lyx.org>
8516
8517         * ispell.h: doxygen fix.
8518
8519 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8520
8521         * buffer.h (readFile): Add a new argument to the method, to allow
8522         reading of old-format templates.
8523
8524 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8525
8526         * toc.C (getTocList): Get TOC from InsetWrap.
8527
8528 2002-09-16  John Levon  <levon@movementarian.org>
8529
8530         * lyxfunc.C: check tabular for cut/copy too
8531
8532 2002-09-12  John Levon  <levon@movementarian.org>
8533
8534         * LyXAction.C: tidy
8535
8536         * factory.h:
8537         * factory.C: add header
8538
8539         * paragraph_funcs.h:
8540         * paragraph_funcs.C: cleanup
8541
8542 2002-09-11  John Levon  <levon@movementarian.org>
8543
8544         * PrinterParams.h: odd/even default to true
8545
8546 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8547
8548         * PrinterParams.h: update printer parameters for new xforms dialog
8549
8550 2002-09-11  Angus Leeming  <leeming@lyx.org>
8551
8552         * lyxserver.C (read_ready): re-write to make it more transparent
8553         and to make it work in coherent fashion under Tru64 Unix.
8554
8555 2002-09-11  André Pönitz <poenitz@gmx.net>
8556
8557         * commandtags.h:
8558         * LyXAction.C:
8559         * text3.C: implement LFUN_WORDSEL
8560
8561 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8564         make floatlist_ a boost::shared_ptr<FloatList>
8565
8566         * lyxtextclass.C: include FloatList.h
8567         (LyXTextClass): initialize floatlist_
8568         (TextClassTags): add TC_NOFLOAT
8569         (Read): match "nofloat" to TC_NOFLOAT and use it.
8570         (readFloat): modify call to floatlist_
8571         (floats): ditto
8572         (floats): ditto
8573
8574         * FloatList.[Ch] (FloatList): remove commented out float
8575         initialization.
8576         (erase): new function
8577
8578 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8579
8580         * MenuBackend.C (expandToc): fix crash when there is no document
8581         open
8582
8583 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * many files: Add insetwrap.
8586
8587 2002-09-09  John Levon  <levon@movementarian.org>
8588
8589         * text2.C: remove confusing and awkward depth wraparound
8590
8591 2002-09-09  John Levon  <levon@movementarian.org>
8592
8593         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8594
8595         * buffer.h:
8596         * buffer.C: remove getIncludeonlyList()
8597
8598         * paragraph.C:
8599         * lyxfunc.C: remove headers
8600
8601 2002-09-09  Juergen Vigna  <jug@sad.it>
8602
8603         * text.C (getColumnNearX): fix form Michael this is most
8604         probably a cut&paste bug.
8605
8606 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8609
8610         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8611         references, ws changes.
8612
8613         * text2.C (init): update counters after init
8614         (insertParagraph): no need to set counter on idividual paragraphs.
8615         (setCounter): access the counters object in the textclass object
8616         on in the buffer object.
8617         (updateCounters): ditto
8618
8619         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8620         shared_ptr<Counters> to avoid loading counters.h in all
8621         compilation units.
8622         (LyXTextClass): initialize ctrs_
8623         (TextClassTags): add TC_COUNTER, and ...
8624         (Read): use it here.
8625         (CounterTags): new tags
8626         (readCounter): new function
8627         (counters): new funtion
8628         (defaultLayoutName): return a const reference
8629
8630         * counters.C (Counters): remove contructor
8631         (newCounter): remove a couple of unneeded statements.
8632         (newCounter): simplify a bit.
8633         (numberLabel): some small formatting changes.
8634
8635         * buffer.[Ch]: remove all traces of counters, move the Counters
8636         object to the LyXTextClass.
8637
8638 2002-09-06  Alain Castera  <castera@in2p3.fr>
8639
8640         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8641         package to set the horizontal alignment on fixed width columns.
8642
8643         * lyx_sty.C:
8644         * lyx_sty.h: added tabularnewline macro def.
8645
8646         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8647
8648 2002-09-06  John Levon  <levon@movementarian.org>
8649
8650         * LyXAction.C: tooltips for sub/superscript
8651
8652         * MenuBackend.C: a bit more verbose
8653
8654         * lyxfunc.C: tiny clean
8655
8656         * undo_funcs.C: document undo_frozen
8657
8658 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * counters.C (Counters): add missing algorithm counter.
8661
8662         * text2.C (setCounter): lookup the counter with layouts latexname
8663         instead of by section number.
8664         (setCounter): use a hackish way to lookup the correct enum
8665         counter.
8666         a float name->type change
8667         reset enum couners with counter name directly instead of depth value.
8668
8669         * counters.C (Counters): remove the push_backs, change to use the
8670         float type not the float name.
8671         (labelItem): remove unused string, float name->type change
8672
8673         * counters.h: don't include vector, loose the enums and sects vectors
8674
8675 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8678         (Read): add float->TC_FLOAT to textclassTags
8679         (Read): and handle it in the switch
8680         (readFloat): new function
8681
8682         * FloatList.C (FloatList): comment out the hardcoded float
8683         definitions.
8684
8685         * lyxlayout.h: ws change.
8686
8687 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8688
8689         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8690
8691 2002-09-03  Angus Leeming  <leeming@lyx.org>
8692
8693         * BufferView_pimpl.h: qualified name is not allowed in member
8694         declaration: WorkArea & Pimpl::workarea() const;
8695
8696         * factory.C: added using std::endl directive.
8697
8698         * text3.C: added using std::find and std::vector directives.
8699
8700 2002-08-29  André Pönitz <poenitz@gmx.net>
8701
8702         * lyxtext.h:
8703         * text2.C: remove unused member number_of_rows
8704
8705         * Makefile.am:
8706         * BufferView2.C: remove file, move contents to...
8707         * BufferView.C: ... here
8708
8709         * BufferView_pimpl.C:
8710         * factory.C: move more inset creation to factory
8711
8712         * vspace.C: avoid direct usage of LyXText, ws changes
8713
8714         * BufferView.[Ch]:
8715                 don't provide direct access to WorkArea, use two simple
8716                 acessors haveSelction() and workHeight() instead
8717
8718
8719 2002-08-29  John Levon  <levon@movementarian.org>
8720
8721         * BufferView_pimpl.C (dispatch): do not continue when
8722           no buffer
8723
8724 2002-08-28  André Pönitz <poenitz@gmx.net>
8725
8726         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8727
8728         * BufferView.h:
8729         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8730
8731 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8732
8733         * buffer.C: increment LYX_FORMAT to 221
8734
8735         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8736         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8737
8738         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8739
8740         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8741
8742 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8743
8744         * factory.C (createInset): use LyXTextClass::floats
8745
8746         * MenuBackend.C (expandFloatListInsert):
8747         (expandFloatInsert):
8748         (expandToc):
8749
8750         * text2.C (setCounter):
8751
8752         * LaTeXFeatures.C (useFloat):
8753         (getFloatDefinitions):
8754
8755         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8756
8757         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8758         floatlist_, with accessor floats().
8759
8760         * FloatList.h: remove global FloatList
8761
8762 2002-08-26  André Pönitz <poenitz@gmx.net>
8763
8764         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8765
8766         * BufferView.h:
8767         * BufferView2.C:
8768         * BufferView_pimpl.C:
8769         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8770
8771 2002-08-25  John Levon  <levon@movementarian.org>
8772
8773         * LyXAction.C: fix margin note description
8774
8775 2002-08-24  John Levon  <levon@movementarian.org>
8776
8777         * buffer.C:
8778         * bufferlist.C:
8779         * bufferview_funcs.C:
8780         * lyxfont.C:
8781         * undo_funcs.C: cleanups
8782
8783         * lyxfunc.C: disable CUT/COPY when no selection
8784
8785 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8786
8787         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8788         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8789
8790         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8791         Add backward compatibility to "mono", "gray" and "no".
8792
8793 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8794
8795         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8796         (and file_format >= 200).
8797
8798 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8801
8802 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8803
8804         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8805
8806 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8807
8808         * BufferView_pimpl.C:
8809         * LyXAction.C:
8810         * buffer.C:
8811         * commandtags.h:
8812         * lyxfunc.C:
8813         * paragraph.[Ch]:
8814         * text2.C:
8815         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8816         inset and code to make it  work with the paragraph code. The inset
8817         can be anywhere in the paragraph, but will only do the expected
8818         thing in LaTeX if the layout file contains the parameter line
8819                         OptionalArgs    1
8820         (or more generally, a nonzero value) for that layout.
8821
8822 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8823
8824         * paragraph.h: remove the declaration of undefined counters class
8825         function.
8826
8827 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8828
8829         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8830         Dr. Richard Hawkins.
8831
8832 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8833
8834         * paragraph_funcs.h: remove some unneeded includes
8835
8836         * text.C (backspace): pasteParagraph now in global scipe
8837
8838         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8839         (pasteSelection): ditto
8840
8841         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8842         * paragraph_funcs.C (pasteParagraph): ... here
8843
8844 2002-08-20  André Pönitz <poenitz@gmx.net>
8845
8846         * commandtags.h: new LFUNs for swapping/copying table row/colums
8847
8848         * LyXAction.C:
8849         * lyxfunc.C: support for new lfuns
8850
8851 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8852
8853         * tabular.C:
8854         * buffer.[Ch]: remove NO_COMPABILITY stuff
8855
8856 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * boost.C (throw_exception): new file, with helper function for
8859         boost compiled without exceptions.
8860
8861         * paragraph.h:
8862         * lyxlength.C:
8863         * buffer.C:
8864         * ParameterStruct.h:
8865         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8866
8867         * bufferlist.C (emergencyWriteAll): use boost bind
8868
8869         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8870
8871         * text.C: include paragraph_funcs.h
8872         (breakParagraph): breakParagraph is now in global scope
8873
8874         * paragraph_funcs.[Ch]: new files
8875
8876         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8877         global scope
8878
8879         * buffer.C: include paragraph_funcs.h
8880         (insertStringAsLines): breakParagraph is now in global scope
8881
8882         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8883         paragraph_funcs.C
8884
8885         * CutAndPaste.C: include paragraph_funcs.h
8886         (cutSelection): breakParagraphConservative is now in global scope
8887         (pasteSelection): ditto
8888
8889         * buffer.h: declare oprator== and operator!= for
8890         Buffer::inset_iterator
8891
8892         * bufferlist.C (emergencyWrite): don't use fmt(...)
8893
8894         * text3.C: add using std::endl
8895
8896         * BufferView.C (moveCursorUpdate): remove default arg
8897
8898 2002-08-20  André Pönitz <poenitz@gmx.net>
8899
8900         * buffer.[Ch]: move inline functions to .C
8901
8902         * BufferView2.C:
8903         * BufferView_pimpl.C:
8904         * text.C:
8905         * buffer.[Ch]: use improved inset_iterator
8906
8907         * buffer.C:
8908         * paragraph.[Ch]: write one paragraph at a time
8909
8910 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8911
8912         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8913         style if style is not specified.
8914
8915 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * text2.C (setCounter): when searching for right label for a
8918         caption, make sure to recurse to parent insets (so that a caption
8919         in a minipage in a figure float works) (bug #568)
8920
8921 2002-08-20  André Pönitz <poenitz@gmx.net>
8922
8923         * text3.C: new file for LyXText::dispatch() and helpers
8924
8925         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8926
8927         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8928
8929 2002-08-19  André Pönitz <poenitz@gmx.net>
8930
8931         * lyxtext.h:
8932         * text.C: new LyXText::dispatch()
8933
8934         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8935
8936 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8937
8938         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8939
8940         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8941         Hebrew text.
8942
8943 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8944
8945         * Makefile.am: use $(variables) instead of @substitutions@
8946
8947 2002-08-15  André Pönitz <poenitz@gmx.net>
8948
8949         * lyxfunc.C:
8950         * BufferView_pimpl.C: streamlining mathed <-> outer world
8951         interaction
8952
8953         * commandtags.h:
8954         * LyXAction.C: remove unused LFUN_MATH
8955
8956 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8959
8960 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * paragraph.C (Paragraph): reformat a bit
8963         (cutIntoMinibuffer): use builtin InsetList function instad of
8964         doing it manually.
8965         (getInset): ditto
8966
8967         * buffer.C: include boost/bind.hpp, add using std::for_each
8968         (writeFileAscii): use ParagraphList iterators
8969         (validate): use for_each for validate traversal of paragraphs
8970         (getBibkeyList): use ParagraphList iterators
8971         (resizeInsets): use for_each to resizeInsetsLyXText for all
8972         paragraphs.
8973         (getParFromID): use ParagraphList iterators
8974
8975         * BufferView2.C (lockInset): use paragraph list and iterators
8976
8977 2002-08-14  John Levon  <levon@movementarian.org>
8978
8979         * lyxserver.C: remove spurious xforms include
8980
8981 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8984
8985 2002-08-13  André Pönitz <poenitz@gmx.net>
8986
8987         * LyXAction.[Ch]:
8988         * lyxfunc.C: further cleaning
8989
8990 2002-08-13  André Pönitz <poenitz@gmx.net>
8991
8992         * funcrequest.h: new constructor
8993
8994         * funcrequest.C: move stuff here from .h
8995
8996         * Makefile.am:
8997         * BufferView_pimpl.C:
8998         * LyXAction.C:
8999         * toc.C:
9000         * lyxfunc.C: subsequent changes
9001
9002         * lyxfunc.h: new view() member function
9003
9004         * lyxfunc.C: subsequent changes
9005
9006 2002-08-13  Angus Leeming  <leeming@lyx.org>
9007
9008         * BufferView2.C:
9009         * BufferView_pimpl.C:
9010         * buffer.C:
9011         * converter.C:
9012         * importer.C:
9013         * lyxfunc.C:
9014         * lyxvc.C:
9015         * toc.C:
9016         * vc-backend.C:
9017         changes due to the changed LyXView interface that now returns references
9018         to member variables not pointers.
9019
9020 2002-08-13  Angus Leeming  <leeming@lyx.org>
9021
9022         * WordLangTuple (word, lang_code): return references to strings,
9023         not strings.
9024
9025         * BufferView.h:
9026         * SpellBase.h:
9027         * lyxtext.h: forward-declare WordLangTuple.
9028
9029         * BufferView2.C:
9030         * ispell.C:
9031         * pspell.C:
9032         * text.C: #include "WordLangTuple.h".
9033
9034         * lyxtext.h:
9035         * text.C: (selectNextWordToSpellcheck): constify return type.
9036
9037 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9038
9039         * buffer.C:
9040         * buffer.h:
9041         * lyxtext.h:
9042         * paragraph.C:
9043         * paragraph_pimpl.h:
9044         * text.C:
9045         * text2.C:
9046         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9047         suggested by Angus.
9048         Made updateCounter always count from start of buffer, and removed
9049         second argument (par).
9050         Reverted floats number display to '#'. Perhaps I'll try again when the
9051         code base is sanitized a bit.
9052
9053 2002-08-12  Angus Leeming  <leeming@lyx.org>
9054
9055         * buffer.[Ch] (getLabelList): constify.
9056
9057 2002-08-07  André Pönitz <poenitz@gmx.net>
9058
9059         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9060
9061         * funcrequest.h: extension to keep mouse (x,y) position
9062
9063 2002-08-12  Juergen Vigna  <jug@sad.it>
9064
9065         * BufferView2.C (insertErrors): forbid undo when inserting error
9066         insets.
9067
9068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9069
9070 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * ParagraphList.[Ch]: new files
9073
9074         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9075
9076         * BufferView2.C (lockInset): ParagraphList changes
9077         * toc.C: ditto
9078         * text2.C: ditto
9079         * bufferlist.C: ditto
9080         * buffer.h: ditto
9081         * buffer.C: ditto
9082
9083 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9084
9085         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9086         unused class variable counter_,
9087
9088         * paragraph.[Ch] (getFirstCounter): delete unused function
9089
9090         * counters.C: include LAssert.h
9091         (reset): add a new function with no arg, change other version to
9092         not have def. arg and to not allow empty arg.
9093
9094         * text2.C (setCounter): remove empty arg from call to Counters::reset
9095
9096 2002-08-11  John Levon  <levon@movementarian.org>
9097
9098         * Makefile.am: add WordLangTuple.h
9099
9100 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9101
9102         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9103         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9104
9105         * insets/insettext.C: InsetList changes
9106
9107         * graphics/GraphicsSupport.C (operator()): InsetList changes
9108
9109         * toc.C (getTocList): InsetList changes
9110
9111         * paragraph_pimpl.[Ch]: InsetList changes
9112
9113         * paragraph.[Ch]: InsetList changes
9114
9115         * buffer.C (inset_iterator): InsetList changes
9116         (setParagraph): ditto
9117         * buffer.h (inset_iterator): ditto
9118         * iterators.C (operator++): ditto
9119         * iterators.h: ditto
9120
9121         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9122
9123         * InsetList.[Ch]: new files, most InsetList handling moved out of
9124         paragraph.C.
9125
9126         * BufferView2.C (removeAutoInsets): InsetList changes
9127         (lockInset): ditto
9128         (ChangeInsets): ditto
9129
9130 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9131
9132         * paragraph_pimpl.h (empty): new function
9133
9134         * paragraph.[Ch] (empty): new function
9135
9136         * other files: use the new Paragraph::empty function
9137
9138 2002-08-09  John Levon  <levon@movementarian.org>
9139
9140         * lyxtext.h: remove unused refresh_height
9141
9142 2002-08-09  John Levon  <levon@movementarian.org>
9143
9144         * Makefile.am:
9145         * sgml.h:
9146         * sgml.C:
9147         * buffer.C:
9148         * paragraph.h:
9149         * paragraph.C: move sgml char escaping out of paragraph
9150
9151         * paragraph.h:
9152         * paragraph.C: remove id setter
9153
9154         * buffer.C:
9155         * paragraph.C:
9156         * paragraph_pimpl.C: remove dead tex_code_break_column
9157
9158         * bufferview_funcs.C: small cleanup
9159
9160         * lyxfunc.C: remove dead proto
9161
9162         * lyxtext.h: make some stuff private. Remove some dead stuff.
9163
9164         * lyxgluelength.C: make as[LyX]String() readable
9165
9166 2002-08-08  John Levon  <levon@movementarian.org>
9167
9168         * LyXAction.h:
9169         * LyXAction.C:
9170         * MenuBackend.C:
9171         * ToolbarDefaults.C:
9172         * lyxfunc.C:
9173         * lyxrc.C:
9174         * toc.C: lyxaction cleanup
9175
9176 2002-08-08  John Levon  <levon@movementarian.org>
9177
9178         * BufferView2.C: small cleanup
9179
9180         * lyxfind.h:
9181         * lyxfind.C: move unnecessary header into the .C
9182
9183 2002-08-08  John Levon  <levon@movementarian.org>
9184
9185         * funcrequest.h: just tedious nonsense
9186
9187         * lyx_main.h:
9188         * lyx_main.C: cleanups
9189
9190         * buffer.C:
9191         * vspace.C: remove dead header lyx_main.h
9192
9193 2002-08-07  Angus Leeming  <leeming@lyx.org>
9194
9195         * Paragraph.[Ch]:
9196         * paragraph_pimpl.h:
9197         Forward declare class Counters in paragraph.h by moving the ctrs member
9198         variable into Paragraph::Pimpl.
9199         (counters): new method, returning a reference to pimpl_->ctrs.
9200
9201         * text2.C: ensuing changes.
9202
9203 2002-08-07  John Levon  <levon@movementarian.org>
9204
9205         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9206
9207         * BufferView_pimpl.C: announce X selection on double/triple
9208           click
9209
9210         * lyx_main.C: use correct bool in batch dispatch
9211
9212         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9213
9214 2002-08-07  André Pönitz <poenitz@gmx.net>
9215
9216         * funcrequest.h: new class to wrap a kb_action and its argument
9217
9218         * BufferView.[Ch]:
9219         * BufferView_pimpl[Ch]:
9220         * LaTeX.C:
9221         * LyXAction.[Ch]:
9222         * lyxfunc.[Ch]:
9223         * lyxrc.C: subsequent changes
9224
9225
9226 2002-08-07  John Levon  <levon@movementarian.org>
9227
9228         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9229           document options change.
9230
9231 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9232
9233         * counters.[Ch]
9234         * text2.C
9235         * paragraph.[Ch]
9236         * makefile.am: move counters functionality over from
9237         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9238
9239 2002-08-06  John Levon  <levon@movementarian.org>
9240
9241         * WordLangTuple.h: new file for word + language code tuple
9242
9243         * SpellBase.h:
9244         * pspell.h:
9245         * pspell.C:
9246         * ispell.h:
9247         * ispell.C:
9248         * lyxtext.h:
9249         * text.C:
9250         * text2.C:
9251         * BufferView.h:
9252         * BufferView2.C: use WordLangTuple
9253
9254         * layout.h:
9255         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9256
9257 2002-08-06  John Levon  <levon@movementarian.org>
9258
9259         * lyx_main.C: fix cmdline batch handling
9260
9261 2002-08-06  André Pönitz <poenitz@gmx.net>
9262
9263         * lyxrc.C: set default for show_banner to true
9264
9265 2002-08-06  John Levon  <levon@movementarian.org>
9266
9267         * pspell.C: fix a crash, and allow new aspell to work
9268
9269 2002-08-06  John Levon  <levon@movementarian.org>
9270
9271         * lyxfunc.C:
9272         * kbmap.C: small cleanup
9273
9274         * vspace.h:
9275         * vspace.C: add const
9276
9277 2002-08-05  John Levon  <levon@movementarian.org>
9278
9279         * LyXAction.C: back to tabular-insert
9280
9281 2002-08-04  John Levon  <levon@movementarian.org>
9282
9283         * BufferView.h:
9284         * BufferView.C: cosmetic change
9285
9286         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9287
9288         * bufferlist.C:
9289         * buffer.h:
9290         * buffer.C:
9291         * lyxcb.h:
9292         * lyxcb.C:
9293         * lyxserver.C:
9294         * lyxvc.C:
9295         * vc-backend.C:
9296         * BufferView2.C: purge all "Lyx" not "LyX" strings
9297
9298         * lyxcursor.h:
9299         * lyxcursor.C: attempt to add some documentation
9300
9301         * lyxfunc.C:
9302         * commandtags.h:
9303         * LyXAction.C:
9304         * ToolbarDefaults.C:
9305         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9306           merge with LFUN_TABULAR_INSERT
9307
9308         * Makefile.am:
9309         * SpellBase.h:
9310         * ispell.h:
9311         * ispell.C:
9312         * pspell.h:
9313         * pspell.C: split up i/pspell implementations into separate
9314           files, many cleanups
9315
9316         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9317
9318         * text2.C: some cleanup
9319
9320         * lyxfunc.C: don't check for isp_command == "none" any more, it
9321           didn't make any sense
9322
9323 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9324
9325         * counters.[Ch]
9326         * text2.C
9327         * paragraph.[Ch]
9328         * makefile.am: move counters functionality over
9329         from text2.C/paragraph.[Ch] to counters.[Ch], and
9330         make proper C++.
9331 2002-08-02  John Levon  <levon@movementarian.org>
9332
9333         * buffer.C: s/lyxconvert/lyx2lyx/
9334
9335 2002-08-02  Angus Leeming  <leeming@lyx.org>
9336
9337         * lyxlex.C: revert John's change as it breaks reading of the user
9338         preamble.
9339
9340 2002-08-02  Angus Leeming  <leeming@lyx.org>
9341
9342         * importer.C (Import):
9343         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9344         changes due to LyXView::view() now returning a boost::shared_ptr.
9345
9346 2002-08-02  John Levon  <levon@movementarian.org>
9347
9348         * lyxlex.C: small cleanup
9349
9350 2002-08-02  John Levon  <levon@movementarian.org>
9351
9352         * text2.C (status): small cleanup, no logic change
9353
9354 2002-08-01  John Levon  <levon@movementarian.org>
9355
9356         * buffer.h:
9357         * buffer.C (writeFile): don't output alerts, caller
9358           handles this
9359
9360         * bufferlist.C:
9361         * lyx_cb.C: from above
9362
9363         * lyxfunc.C: allow to open non-existent files
9364
9365 2002-07-31  John Levon  <levon@movementarian.org>
9366
9367         * lyxserver.C: don't let incidental errors get
9368           in the way (errno)
9369
9370 2002-07-30  John Levon  <levon@movementarian.org>
9371
9372         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9373
9374 2002-07-30  John Levon  <levon@movementarian.org>
9375
9376         * lyxserver.h:
9377         * lyxserver.C: remove I/O callback too
9378
9379 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9382         log.
9383
9384 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9385
9386         * many files: strip,frontStrip -> trim,ltrim,rtrim
9387
9388 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9389
9390         * PrinterParams.h: remove extern containsOnly, and include
9391         support/lstrings.h instead.
9392
9393         * LaTeX.C (scanAuxFile): modify because of strip changes
9394         (deplog): ditto
9395         * buffer.C (makeLaTeXFile): ditto
9396         * bufferparams.C (writeFile): ditt
9397         * lyxfont.C (stateText): ditto
9398         * lyxserver.C (read_ready): ditto
9399         * vc-backend.C (scanMaster): ditto
9400
9401         * BufferView_pimpl.h: ws changes
9402
9403         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9404
9405 2002-07-26  André Pönitz <poenitz@gmx.net>
9406
9407         * kb_sequence.C: remove unnedred usings
9408
9409 2002-07-26  Juergen Vigna  <jug@sad.it>
9410
9411         * lyxfind.C (LyXReplace): we have to check better if the returned
9412         text is not of theLockingInset()->getLockingInset().
9413
9414 2002-07-25  Juergen Vigna  <jug@sad.it>
9415
9416         * lyxfind.C (LyXReplace): don't replace if we don't get the
9417         right LyXText.
9418
9419         * undo_funcs.C (createUndo): remove debugging code.
9420
9421 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9422
9423         * buffer.C (parseSingleLyXformat2Token): Use default placement
9424         when reading old floats.
9425
9426         * FloatList.C (FloatList): Change the default placement of figure
9427         and tables to "tbp".
9428
9429 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * MenuBackend.C: using std::max
9432
9433 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9434
9435         * MenuBackend.C (expandToc):
9436         (expandToc2): code moved from xforms menu frontend. It is now
9437         generic and TOCs are transparent to menu frontends.
9438
9439 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * toc.C (getTocList): protect against buf=0
9442
9443         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9444         Menu as first parameter. Now, this calls itself recursively to
9445         expand a whole tree (this will be useful for TOC handling)
9446         (expandFloatInsert): remove 'wide' version of floats
9447
9448         * MenuBackend.h (submenuname): returns the name of the submenu.
9449         (submenu): returns the submenu itself, provided it has been
9450         created by MenuBackend::expand
9451
9452 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9455         insets which have noFontChange == true. (bug #172)
9456
9457 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * BufferView_pimpl.C: add connection objects and use them...
9460         (Pimpl): here.
9461
9462 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9463
9464         * MenuBackend.C (expandLastfiles):
9465         (expandDocuments):
9466         (expandFormats):
9467         (expandFloatListInsert):
9468         (expandFloatInsert):
9469         (expand): split expand in parts
9470
9471 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * lyx_gui.C: use lyx_gui::exit()
9474
9475 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * LyXAction.C: show the failing pseudo action
9478
9479 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9480
9481         * buffer.C (readFile): Run the lyxconvert script in order to read
9482         old files.
9483
9484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * LyXAction.C:
9487         * commandtags.h:
9488         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9489
9490 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9491
9492         * LyXAction.C:
9493         * commandtags.h:
9494         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9495
9496 2002-07-22  Herbert Voss  <voss@lyx.org>
9497
9498         * lengthcommon.C:
9499         * lyxlength.[Ch]: add support for the vertical lengths
9500
9501 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9502
9503         * toc.[Ch]: std:: fixes
9504
9505 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * lyxrc.C: do not include lyx_main.h
9508
9509         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9510         for layouts
9511
9512         * lyxrc.C:
9513         * encoding.C:
9514         * bufferlist.C:
9515         * BufferView2.C: include "lyxlex.h"
9516
9517         * tabular.h:
9518         * bufferparams.h: do not #include "lyxlex.h"
9519
9520         * lyxtextclasslist.C (Add): remove method
9521         (classlist): renamed to classlist_
9522
9523         * paragraph_pimpl.C:
9524         * paragraph.C:
9525         * text2.C:
9526         * CutAndPaste.C:
9527         * bufferview_funcs.C:
9528         * bufferlist.C:
9529         * text.C:
9530         * LaTeXFeatures.C:
9531         * buffer.C:
9532         * toc.C (getTocList): use BufferParams::getLyXTextClass
9533
9534         * toc.C (getTocList): use InsetFloat::addToToc
9535
9536         * toc.[Ch]: new files, containing helper functions to handle table
9537         of contents
9538
9539         * lyxfunc.C (dispatch): no need to remove spaces around command
9540         given as a string
9541         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9542         first command of the sequence; it is not very clever, but I do not
9543         have a better idea, actually
9544
9545         * LyXAction.C (LookupFunc): make sure to remove space at the
9546         beginning and end of the command
9547
9548 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * MenuBackend.C (getMenubar): new method: return the menubar of
9551         this menu set
9552         (read): treat differently reading of menu and menubar (in
9553         particular, the menubar has no name now)
9554         (Menu::menubar): remove
9555
9556         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9557         saving is finished
9558
9559 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9560
9561         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9562         a bibitem inset in a RTL paragraph.
9563
9564 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * paragraph_pimpl.C: constify
9567
9568         * BufferView_pimpl.C:
9569         * LaTeX.C:
9570         * lyxfunc.C: fix dispatch in a nicer way
9571
9572 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * lyxfunc.C (dispatch):
9575         * BufferView_pimpl.C:
9576         * BufferView_pimpl.h:
9577         * BufferView.C:
9578         * BufferView.h: rename Dispatch() to dispatch()
9579
9580         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9581
9582         * lyxlayout.C (Read): honor DependsOn tag
9583
9584         * lyxlayout.[Ch] (depends_on): new method
9585
9586         * version.C.in: update lyx_docversion
9587
9588         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9589
9590         * paragraph.C (validate): remove from here...
9591         * paragraph_pimpl.C (validate): ... and move here
9592         (isTextAt): make it const
9593
9594         * buffer.C (getLists): ws cleanup
9595
9596 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9597
9598         * language.C (read): Use iso8859-1 encoding in latex_lang
9599         (this prevents LyX from crashing when using iso10646-1 encoding).
9600
9601 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9602
9603         * text2.C (toggleInset): if cursor is inside an inset, close the
9604         inset and leave cursor _after_ it
9605
9606 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * lyxfunc.C: move minibuffer completion handling out of here
9609
9610 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * BufferView_pimpl.C:
9613         * LaTeX.C: fix dispatch calls
9614
9615 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9616
9617         * text.C (drawChars): Fix Arabic text rendering.
9618
9619 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * LyXAction.C:
9622         * commandtags.h:
9623         * lyxfunc.C: remove message-push/pop
9624
9625         * lyxserver.C:
9626         * lyxfunc.h:
9627         * lyxfunc.C: rationalise some code by removing verboseDispatch
9628           in favour of a bool argument to dispatch()
9629
9630 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9631
9632         * lyx_main.C (init): make sure to read symlinks as absolute paths
9633
9634 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * lyxfunc.h:
9637         * lyxfunc.C: no need for commandshortcut to be a member
9638
9639 2002-07-15  André Pönitz <poenitz@gmx.net>
9640
9641         * converter.C: add support for $$s (scripts from lib/scripts dir)
9642         * lyx_main.C: white space
9643
9644 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * bufferlist.C:
9647         * lyxrc.h:
9648         * lyxrc.C: remove second exit confirmation
9649
9650 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * BufferView.h:
9653         * BufferView.C:
9654         * BufferView2.C:
9655         * BufferView_pimpl.h:
9656         * BufferView_pimpl.C:
9657         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9658
9659 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * MenuBackend.C (expand): add numeric shortcuts to document menu
9662
9663         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9664
9665 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * lyxfont.C (setLyXFamily):
9668         (setLyXSeries):
9669         (setLyXShape):
9670         (setLyXSize):
9671         (setLyXMisc):
9672         (lyxRead):
9673         * debug.C (value):
9674         * buffer.C (asciiParagraph): use ascii_lowercase
9675
9676 2002-07-15  Mike Fabian  <mfabian@suse.de>
9677
9678         * lyxlex_pimpl.C (search_kw):
9679         * lyxlex.C (getLongString):
9680         * converter.h (operator<):
9681         * converter.C (operator<):
9682         * buffer.C (parseSingleLyXformat2Token):
9683         (asciiParagraph):
9684         * ToolbarDefaults.C (read):
9685         * MenuBackend.C (checkShortcuts):
9686         (read):
9687         * LColor.C (getFromGUIName):
9688         (getFromLyXName): use the compare_ascii_no_case instead of
9689         compare_no_case, because in turkish, 'i' is not the lowercase
9690         version of 'I', and thus turkish locale breaks parsing of tags.
9691
9692 2002-07-16  Angus Leeming  <leeming@lyx.org>
9693
9694         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9695         now takes a Buffer const & argument.
9696
9697 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * BufferView.C (resize): check there's a buffer to resize
9700
9701 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * lyxfunc.C: remove dead code
9704
9705         * lyxserver.h:
9706         * lyxserver.C: use lyx_guii::set_read_callback
9707
9708 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9709
9710         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9711         an inset in a RTL paragraph.
9712
9713 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * lyxfunc.C: repaint after a font size update
9716
9717 2002-07-15  André Pönitz <poenitz@gmx.net>
9718
9719         * lyxlength.C: inBP should be able to return negative values
9720
9721 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * lyxfunc.C: use lyx_gui::update_fonts()
9724
9725 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * lyxfunc.C: use lyx_gui::update_color()
9728
9729 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * bufferlist.C:
9732         * lyxfunc.h:
9733         * lyxfunc.C:
9734         * lyxrc.h:
9735         * lyxrc.C: remove file->new asks for name option, and let
9736           buffer-new take an argument
9737
9738 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9739
9740         * BufferView_pimpl.C: remove unneeded extra repaint()
9741
9742 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * LyXAction.C: allow command-sequence with NoBuffer
9745
9746         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9747
9748 2002-07-10  Angus Leeming  <leeming@lyx.org>
9749
9750         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9751
9752 2002-07-09  Angus Leeming  <leeming@lyx.org>
9753
9754         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9755
9756 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * lengthcommon.h: whitespace
9759
9760         * lyxfunc.C: update scrollbar after goto paragraph
9761
9762         * lyxtext.h: factor out page break drawing, and fix it so
9763           page break/added space paints as selected nicely
9764
9765 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * BufferView_pimpl.C: add FIXMEs, clean up a little
9768
9769 2002-07-09  André Pönitz <poenitz@gmx.net>
9770
9771         * lyxfont.[Ch]: support for wasy symbols
9772
9773 2002-07-08  André Pönitz <poenitz@gmx.net>
9774
9775         * BufferView_pimpl.C: apply John's patch for #93.
9776
9777 2002-07-05  Angus Leeming  <leeming@lyx.org>
9778
9779         * BufferView_pimpl.C (buffer): generate previews if desired.
9780
9781         * LColor.h: add "preview" to the color enum.
9782
9783         * LColor.C (LColor): add a corresponding entry to the items array.
9784
9785         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9786         with this buffer.
9787
9788 2002-07-05  Angus Leeming  <leeming@lyx.org>
9789
9790         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9791         The body of the code is now in the method that is passed an ostream &
9792         rather than a file name.
9793         Pass an additional only_preamble parameter, useful for the forthcoming
9794         preview stuff.
9795
9796 2002-07-03  André Pönitz <poenitz@gmx.net>
9797
9798         * lyxfunc.C: simplify getStatus() a bit for math stuff
9799
9800 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9801
9802         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9803
9804 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * text.C (changeRegionCase): do not change case of all the
9807         document when region ends at paragraph end (bug #461)
9808
9809 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * paragraph.C (startTeXParParams):
9812         (endTeXParParams): add \protect when necessary
9813
9814 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * BufferView_pimpl.C (workAreaExpose): remove warning
9817
9818 2002-06-27  Angus Leeming  <leeming@lyx.org>
9819
9820         * Makefile.am: add lyxlayout_ptr_fwd.h.
9821
9822 2002-06-26  André Pönitz <poenitz@gmx.net>
9823
9824         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9825
9826 2002-06-25  Angus Leeming  <leeming@lyx.org>
9827
9828         * lyxfunc.C (dispatch): Comment out the call to
9829         grfx::GCache::changeDisplay. The method no longer exists now that the
9830         pixmap generation part of the graphics loader has been moved into
9831         InsetGraphics.
9832
9833 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9834
9835         * text2.C: layout as layout
9836
9837         * text.C: layout as layout
9838
9839         * tabular.C (OldFormatRead): layout as layout
9840
9841         * paragraph_pimpl.C (TeXDeeper): layout as layout
9842         (realizeFont): layout as layout
9843
9844         * paragraph.C (writeFile): layout as layout
9845         (validate): layout as layout
9846         (getFont): layout as layout
9847         (getLabelFont): layout as layout
9848         (getLayoutFont): layout as layout
9849         (breakParagraph): layout as layout
9850         (stripLeadingSpaces): layout as layout
9851         (getEndLabel): layout as layout
9852         (getMaxDepthAfter): layout as layout
9853         (applyLayout): layout as layout
9854         (TeXOnePar): layout as layout
9855         (simpleTeXOnePar): layout as layout
9856         (TeXEnvironment): layout as layout
9857         (layout): layout as layout
9858         (layout): layout as layout
9859
9860         * lyxtextclass.C (compare_name): new functor to work with
9861         shared_ptr, layout as layout
9862         (Read): layout as layout
9863         (hasLayout): layout as layout
9864         (operator): layout as layout
9865         (delete_layout): layout as layout
9866         (defaultLayout): layout as layout
9867
9868         * lyxlayout_ptr_fwd.h: new file
9869
9870         * lyxlayout.C (Read): layout as layout
9871
9872         * lyx_cb.C (MenuInsertLabel): layout as layout
9873
9874         * bufferlist.C (newFile): layout as layout
9875
9876         * buffer.C (readLyXformat2): layout as layout
9877         (parseSingleLyXformat2Token): layout as layout
9878         (insertStringAsLines): layout as layout
9879         (asciiParagraph): layout as layout
9880         (latexParagraphs): layout as layout
9881         (makeLinuxDocFile): layout as layout
9882         (simpleLinuxDocOnePar): layout as layout
9883         (makeDocBookFile): layout as layout
9884         (simpleDocBookOnePar): layout as layout
9885         (getLists): layout as layout
9886
9887         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9888
9889         * CutAndPaste.C (cutSelection): layout as layout
9890         (pasteSelection): layout as layout
9891         (SwitchLayoutsBetweenClasses): layout as layout
9892
9893         * BufferView_pimpl.C (Dispatch): layout as layout
9894         (smartQuote): layout as layout
9895
9896         * BufferView2.C (unlockInset): layout as layout
9897
9898 2002-06-24  André Pönitz <poenitz@gmx.net>
9899
9900         * lyxfunc.C: fix #487
9901
9902 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * lyxrc.h:
9905         * lyxrc.C:
9906         * lyxfunc.C: remove display_shortcuts, show_banner
9907
9908 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * Buffer_pimpl.C: oops, update on resize
9911
9912 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * buffer.C:
9915         * converter.C:
9916         * exporter.C:
9917         * lyxfunc.C:
9918         * BufferView.h:
9919         * BufferView.C: use repaint()
9920
9921         * BufferView_pimpl.h:
9922         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9923           as it's a clearer description. Remove superfluous
9924           redraws.
9925
9926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * text.C: fix bug 488. Not ideal, but getting
9929           getWord() to work properly for the insets that
9930           matter is more difficult ...
9931
9932 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * BufferView_pimpl.C:
9935         * LyXAction.C:
9936         * commandtags.h:
9937         * lyxfunc.C: remove the six million index lyxfuncs to just
9938           one, and DTRT (bug 458)
9939
9940 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView.h:
9943         * BufferView.C:
9944         * BufferView_pimpl.h:
9945         * BufferView_pimpl.C: clean up resize() stuff,
9946           and unnecessary updateScreen()s
9947
9948 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * BufferView.h:
9951         * BufferView.C:
9952         * BufferView_pimpl.h:
9953         * BufferView_pimpl.C:
9954         * lyxfind.h:
9955         * lyxfind.C:
9956         * minibuffer.C: remove focus management of workarea,
9957           not needed. Use screen's greyOut()
9958
9959 2002-06-17  Herbert Voss  <voss@lyx.org>
9960
9961         * converter.C: (convert) do not post a message, when converting
9962         fails, let the calling function decide what to do in this case
9963
9964 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyxfunc.C: tidy up a little
9967
9968 2002-06-16    <alstrup@diku.dk>
9969
9970         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9971         Got rid of FORMS_H_LOCATION include. Now we are
9972         GUII.
9973
9974 2002-06-15  LyX Development team  <lyx@rilke>
9975
9976         * buffer.[Ch] (sgmlOpenTag):
9977         (sgmlCloseTag): Added support for avoiding pernicious mixed
9978         content. Return number of lines written.
9979
9980         (makeLinuxDocFile):
9981         (makeDocBookFile): Fixed calls to sgml*Tag.
9982         Simple white space clean.
9983
9984         (simpleDocBookOnePar): Simple white space clean.
9985
9986         * tabular.[Ch] (docBook): Renamed to docbook and got another
9987         argument to related with the pernicious mixed content.
9988
9989         (docbookRow): Fixed calls for docbook inset method.
9990
9991 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9992
9993         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9994         so it's X11 independent.
9995
9996         * kb*.[Ch]: ditto.
9997
9998         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9999
10000 2002-06-15  Lyx Development team  <lyx@electronia>
10001
10002         * intl.h: Renamed getTrans to getTransManager.
10003
10004 2002-06-14  Angus Leeming  <leeming@lyx.org>
10005
10006         * Makefile.am: nuke forgotten stl_string_fwd.h.
10007
10008 2002-06-12  Angus Leeming  <leeming@lyx.org>
10009
10010         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10011
10012 2002-06-13  Angus Leeming  <leeming@lyx.org>
10013
10014         * LaTeX.C:
10015         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10016
10017 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10018
10019         * kbmap.C (getiso): add support for cyrillic and greek
10020
10021 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * BufferView.h:
10024         * BufferView.C:
10025         * BufferView_pimpl.h:
10026         * BufferView_pimpl.C: move bogus scrolling logic
10027           to xforms
10028
10029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10030
10031         * lyxfunc.C:
10032         * BufferView_pimpl.C: view->resize() change
10033
10034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * BufferView_pimpl.C: topCursorVisible
10037           prototype change
10038
10039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * Makefile.am:
10042         * lyx_gui.h:
10043         * lyx_gui.C: move to frontends/
10044
10045         * main.C:
10046         * lyx_main.h:
10047         * lyx_main.C: changes from above
10048
10049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * intl.C:
10052         * intl.h:
10053         * kbmap.C:
10054         * kbsequence.C:
10055         * lyx_cb.C:
10056         * lyx_main.C: minor tidy
10057
10058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * BufferView_pimpl.h:
10061         * BufferView_pimpl.C:
10062         * BufferView.h:
10063         * BufferView.C: make painter() const,
10064           remove dead code
10065
10066         * BufferView2.C: use screen() accessor
10067
10068         * lyx_main.h:
10069         * lyx_main.C: some minor cleanup
10070
10071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10072
10073         * BufferView_pimpl.h:
10074         * BufferView_pimpl.C: remove enter/leaveView,
10075           use workHeight()
10076
10077 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * BufferView.h:
10080         * BufferView.C:
10081         * BufferView2.C:
10082         * BufferView_pimpl.h:
10083         * BufferView_pimpl.C: only construct screen once,
10084           rename
10085
10086         * lyxrc.C: remove pointless comment
10087
10088 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * BufferView.h:
10091         * BufferView.C: remove active() and belowMouse()
10092
10093         * BufferView_pimpl.h:
10094         * BufferView_pimpl.C: use workarea() not workarea_,
10095           and make it use a scoped_ptr instead
10096
10097 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * lyx_gui.C: add debug message on BadWindow
10100
10101 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10102
10103         * sp_spell.C: fdopen is not part of the C++ standard.
10104
10105         * paragraph.C (InsetIterator): use >= instead of ==
10106
10107 2002-06-07  Angus Leeming  <leeming@lyx.org>
10108
10109         Fixes needed to compile with Compaq cxx 6.5.
10110         * BufferView_pimpl.C:
10111         * DepTable.C:
10112         * buffer.C:
10113         * converter.C:
10114         * encoding.C:
10115         * lyx_gui.C:
10116         * lyx_main.C:
10117         * lyxtextclasslist.C:
10118         * minibuffer.C:
10119         * sp_spell.C:
10120         * tabular_funcs.C:
10121         * vc-backend.C:
10122         all c-library variables have been moved into namespace std. Wrap
10123         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10124
10125         * lyxlength.C:
10126         * tabular-old.C:
10127         * tabular.C:
10128         Add a using std::abs declaration.
10129
10130         * kbmap.h (modifier_pair):
10131         * paragraph.h (InsetTable, InsetList):
10132         * lyxfont.h (FontBits):
10133         type definition made public.
10134
10135         * bufferlist.C (emergencyWriteAll): the compiler complains that
10136         there is more than one possible lyx::class_fun template to choose from.
10137         I re-named the void specialisation as lyx::void_class_fun.
10138
10139         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10140
10141         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10142         the compiler is is unable to find tostr in write_attribute.
10143
10144 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * buffer.C (sgmlError): hide #warning
10147
10148 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10149
10150         * xtl/*: get rid of xtl, which is not in use anyway
10151
10152         * LyXAction.C (init):
10153         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10154         were unimplemented xtl experimentation
10155
10156 2002-06-04  André Pönitz <poenitz@gmx.net>
10157
10158         * lyxfunc.C: disable array operation on simple formulae
10159
10160 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * converter.C: constify a bit
10163
10164 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * lyx_gui.C: check xforms version correctly
10167
10168 2002-04-30  Herbert Voss  <voss@lyx.org>
10169
10170         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10171         "keep" option
10172
10173 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10176           attempt to register it with a VCS)
10177
10178 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * lyx_main.C (init): honor variables LYX_DIR_13x and
10181         LYX_USERDIR_13x
10182
10183 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * buffer.h:
10186         * buffer.C:
10187         * lyx_main.C: fix a crash on bad command line,
10188           and give a useful exit status on error
10189
10190         * lyxfunc.C (doImport): allow -i lyx to work
10191
10192 2002-03-30  André Pönitz <poenitz@gmx.net>
10193
10194         * lyxfunc.C: mathed font changes
10195
10196 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * LaTeX.C:
10199         * importer.h:
10200         * importer.C:
10201         * lyx_sty.h:
10202         * lyx_sty.C:
10203         * lyxlex.C:
10204         * lyxrow.h:
10205         * lyxtext.h:
10206         * paragraph.h:
10207         * paragraph.C:
10208         * texrow.h:
10209         * texrow.C:
10210         * text.C:
10211         * trans_mgr.h: srcdocs, and some minor cleanups
10212
10213 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10216         call getFont all the time)
10217
10218 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * switch from SigC signals to boost::signals
10221
10222 2002-05-29  André Pönitz <poenitz@gmx.net>
10223
10224         * paragraph_pimpl.C (getChar): don't call size() too often...
10225
10226 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * paragraph_pimpl.C (insertChar): do not try to update tables when
10229         appending (pos == size())
10230
10231         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10232         in order to reduce drastically the number of comparisons needed to
10233         parse a large document
10234
10235 2002-05-29  André Pönitz <poenitz@gmx.net>
10236
10237         * text.C:
10238         * text2.C:
10239         * lyxtextclass.C:
10240         * sp_pspell.h:
10241         * textclasslist.[Ch]:
10242         * sp_ispell.h: whitespace change
10243
10244 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10247         lyxaction directly now.
10248
10249 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * trans.C:
10252         * lyxfont.C:
10253         * lyxvc.C: remove unused headers
10254
10255 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * Makefile.am:
10258         * buffer.h:
10259         * undostack.h:
10260         * undostack.C:
10261         * undo_funcs.h:
10262         * undo_funcs.C: some cleanups. Use shared_ptr
10263           and a template for the undo stacks.
10264
10265 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * BufferView_pimpl.h:
10268         * BufferView_pimpl.C:
10269         * kbmap.h:
10270         * kbmap.C:
10271         * kbsequence.h:
10272         * kbsequence.C:
10273         * lyxfunc.h:
10274         * lyxfunc.C:
10275         * text2.C: use key_state/mouse_state
10276
10277 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10280         and LSubstring
10281
10282         * chset.C: change include order
10283         (loadFile): use boost regex and get rid of LRegex and LSubstring
10284
10285         * Makefile.am (BOOST_LIBS): new variable
10286         (lyx_LDADD): use it
10287
10288         * LaTeX.C: change include order.
10289         (scanAuxFile): use boost regex and get rid of LRegex and
10290         LSubstring
10291         (deplog): ditto
10292
10293 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10294
10295         * ColorHandler.h:
10296         * ColorHandler.C:
10297         * FontInfo.h:
10298         * FontInfo.C: moved to frontends/xforms/
10299
10300         * FontLoader.h:
10301         * FontLoader.C: moved into frontends for GUIIzation
10302
10303         * Makefile.am:
10304         * lyx_gui.C:
10305         * lyxfont.C:
10306         * lyxfunc.C: changes from above
10307
10308 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * LColor.C: remove spurious X include
10311
10312         * BufferView_pimpl.C:
10313         * Makefile.am:
10314         * font.h:
10315         * font.C:
10316         * text.C:
10317         * text2.C: move font metrics to frontends/
10318
10319 2002-05-24  Juergen Vigna  <jug@sad.it>
10320
10321         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10322         setting the undo_cursor.
10323
10324         * ParagraphParameters.h: include local includes first.
10325
10326 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * BufferView_pimpl.C:
10329         * BufferView_pimpl.h:
10330         * Makefile.am:
10331         * WorkArea.h:
10332         * WorkArea.C:
10333         * screen.C: move WorkArea into frontends/
10334
10335         * lyxscreen.h:
10336         * screen.C:
10337         * text.C:
10338         * BufferView.C:
10339         * BufferView2.C: move LyXScreen into frontends/
10340
10341         * lyxlookup.h:
10342         * lyxlookup.C:
10343         * lyx_gui.C: move lyxlookup into frontends/xforms/
10344
10345 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * BufferView2.C:
10348         * BufferView_pimpl.C:
10349         * FontLoader.C:
10350         * LyXView.h:
10351         * LyXView.C:
10352         * Makefile.am:
10353         * WorkArea.C:
10354         * XFormsView.h:
10355         * XFormsView.C:
10356         * buffer.C:
10357         * bufferlist.C:
10358         * bufferview_funcs.C:
10359         * converter.C:
10360         * importer.C:
10361         * lyx_cb.C:
10362         * lyx_gui.C:
10363         * lyx_main.C:
10364         * lyx_find.C:
10365         * lyxfunc.C:
10366         * lyxvc.C:
10367         * minibuffer.C:
10368         * text.C:
10369         * text2.C:
10370         * trans.C:
10371         * vc-backend.C: move LyX/XFormsView into frontends/
10372
10373 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * Makefile.am:
10376         * PainterBase.C:
10377         * PainterBase.h:
10378         * Painter.C:
10379         * Painter.h:
10380         * WorkArea.C:
10381         * WorkArea.h:
10382         * screen.C:
10383         * tabular.C:
10384         * text.C:
10385         * text2.C: move Painter to frontends/
10386
10387 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10388
10389         * buffer.C: comment out some some code that depend upon lyx_format
10390         < 220
10391
10392         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10393         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10394
10395         * buffer.h (NO_COMPABILITY): turn off compability
10396
10397         * ColorHandler.C: include scoped_array.hpp
10398
10399         * font.C: Use more specific smart_ptr header.
10400         * Painter.C: ditto
10401         * gettext.C: ditto
10402         * ShareContainer.h: ditto
10403         * lyx_main.h: ditto
10404         * kbmap.h: ditto
10405         * FontInfo.h: ditto
10406         * BufferView_pimpl.h: ditto
10407         * ColorHandler.h: ditto
10408
10409         * kbmap.C (defkey): change call to shared_ptr::reset
10410
10411 2002-05-21  Juergen Vigna  <jug@sad.it>
10412
10413         * buffer.C (insertErtContents): fix to insert ert asis if it is
10414         non empty. Skip it completely if it contains only whitespaces.
10415
10416 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * BufferView_pimpl.C:
10419         * BufferView2.C: clear selection on paste (bug 393)
10420
10421 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * DepTable.C: include ctime
10424
10425 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10428
10429 2002-05-14  Juergen Vigna  <jug@sad.it>
10430
10431         * text.C (breakParagraph): fixed function to honor the keepempty
10432         layout in the right maner and also to permit the right breaking
10433         algorithm on empty or non empyt keepempty paragraphs.
10434
10435         * paragraph.C (breakParagraph): we have to check also if the par
10436         is really empty (!size()) for isempty otherwise we do the wrong
10437         paragraph break.
10438
10439 2002-05-10  Juergen Vigna  <jug@sad.it>
10440
10441         * buffer.[Ch] : The following are only changes to the ert
10442         compatibility read reading old LaTeX layout and font stuff and
10443         convert it to ERTInsets.
10444
10445         * buffer.h: added isErtInset().
10446
10447         * buffer.C (struct ErtComp): add a fromlayout bool to check
10448         if we're inside a LaTeX layout.
10449         (isErtInset): new helper function.
10450         (insertErtContents): look for other ert insets before this one
10451         and insert the contents there, so that we don't have subsequent
10452         ERT insets with nothing between them. This way we create only one
10453         inset with multiple paragraphs. Also check if we don't insert only
10454         spaces ' ' as they are ignored anyway afterwards in the .tex file
10455         so if we have only spaces we will ignore this latex part in the
10456         new file.
10457         (parseSingleLyXformat2Token \\layout): better compatibility when
10458         reading layout-latex stuff.
10459         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10460         language tag.
10461         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10462         stuff after reading the inset only get the information back from
10463         the stack.
10464
10465 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10468
10469         * LaTeXFeatures.C (getBabelOptions): New method.
10470
10471 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10472
10473         * BufferView_pimpl.C (Dispatch): work around missing argument for
10474         'layout'
10475
10476 2002-05-08  Juergen Vigna  <jug@sad.it>
10477
10478         * text.C (leftMargin): handle paragraph leftindent.
10479
10480         * paragraph.C (writeFile): write the new \\leftindent tag.
10481         (validate): handle leftindent code.
10482         (TeXEnvironment): handle paragraphleftindent code again.
10483
10484         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10485
10486         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10487         for paragrap_extra indent code and new token \\leftindent.
10488         (latexParagraphs): handle the leftindent as environment.
10489
10490         * ParameterStruct.h: added leftindent support.
10491
10492         * ParagraphParameters.C (leftIndent): added support functions for
10493         the paragraph left indent.
10494
10495         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10496         more appropriate.
10497
10498 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10501         inside insetERT.
10502
10503         * text.C (computeBidiTables): No bidi in insetERT.
10504
10505         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10506         in RTL documents.
10507
10508 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * version.C.in: pre 5
10511
10512 2002-05-02  José Matos  <jamatos@fep.up.pt>
10513         * buffer.C (makeDocBookFile): white space changes, add newline to
10514         command styles.
10515         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10516
10517         * tabular.C (docBook): fix typo.
10518
10519 2002-05-03  Juergen Vigna  <jug@sad.it>
10520
10521         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10522         change in LyXText as we can not be sure it was not freed.
10523         (drawOneRow): remove unused code.
10524
10525         * text.C (drawInset): redo the calculation of the need_break_row as
10526         it could have a row which was already freed.
10527         (draw): look at the return value of drawInset and return false if
10528         it also returned false.
10529         (paintRowText): look at the return value of draw and return false if
10530         it also returned false.
10531
10532         * lyxtext.h: added bool return type to drawInset() and draw() so that
10533         if we have a change in the row so that the rowbreak has to be redone
10534         we abort drawing as it will be called again.
10535
10536 2002-05-02  Juergen Vigna  <jug@sad.it>
10537
10538         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10539         a change in the maintext also if we're inside an inset.
10540         (Dispatch): set the cursor again after a break line and after the
10541         screen has been updated as it could be we're in a different row.
10542
10543         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10544         to set the cursor behind the pargraph with > size().
10545         (setCursor): check also for the same paragraph when checking where
10546         to put the cursor if we have a NFR inset.
10547
10548         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10549         parts of layout read further up as it still was in the wrong
10550         position.
10551
10552 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * screen.C (drawFromTo): change sine fullRebreak always return
10555         true.
10556
10557         * buffer.C (parseSingleLyXformat2Token): reindent some
10558
10559         * BufferView_pimpl.C (update): change since fullRebreak always
10560         return true.
10561         (Dispatch): git rid of the last hardcoded "Standard"s.
10562
10563 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10564
10565         * text2.[Ch] (fullRebreak): make it return void now that we always
10566         returned true.
10567
10568 2002-04-30  Juergen Vigna  <jug@sad.it>
10569
10570         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10571         ert compatibility check for "latex" layout.
10572
10573 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10576         minipages: use col% instead of p%, and also use the current font.
10577         (makeLaTeXFile): Fix use babel condition.
10578         (parseSingleLyXformat2Token): Correct font when reading old floats.
10579
10580 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10581
10582         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10583         inserting list of floats.
10584
10585 2002-04-25  Herbert Voss  <voss@lyx.org>
10586
10587         * MenuBackend.C (expand): don't add the graphics extensions to the
10588         export menu
10589
10590 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10593         non-existing layout, do not complain if it was the default layout
10594         of the original class (bug #342)
10595
10596 2002-04-24  Juergen Vigna  <jug@sad.it>
10597
10598         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10599         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10600
10601 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10602
10603         * buffer.C (getBibkeyList): If using \bibliography, return the
10604         option field with the reference itself. Enables us to provide natbib
10605         support when using \bibliography.
10606
10607 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10608
10609         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10610
10611         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10612         natbib is provided by the LaTeX class.
10613
10614 2002-04-23  Juergen Vigna  <jug@sad.it>
10615
10616         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10617         Wakeup functions.
10618
10619         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10620
10621 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10624
10625         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10626         ensuremath around textordmasculine, textordfeminine and
10627         textdegree.
10628
10629 2002-04-19  Juergen Vigna  <jug@sad.it>
10630
10631         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10632         reinitializing the buffer otherwise row-dimensions may be wrong.
10633         (update): reset also the selection cursors if they do exits otherwise
10634         their x/y positions may be wrong.
10635
10636         * text2.C (cursorDown): don't enter the inset if we came from a row
10637         above and are one row over the inset.
10638
10639         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10640         really leaving an inset.
10641
10642 2002-04-18  Juergen Vigna  <jug@sad.it>
10643
10644         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10645         of the selected paragraph does not have the selected layout also if
10646         the last one had!
10647
10648         * text2.C (setLayout): fixed bug which did not change last selected
10649         paragraph.
10650
10651         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10652         changed the read and substituted \\end_float with \\end_inset!
10653
10654         * BufferView_pimpl.C (cursorPrevious):
10655         (cursorNext): fixed to make it work with rows heigher than the work
10656         area without moving the cursor only the draw of the row.
10657         (workAreaMotionNotify): fix jumping over high rows.
10658
10659 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10660
10661         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10662         Ressler.
10663
10664 2002-04-16  Juergen Vigna  <jug@sad.it>
10665
10666         * text2.C (setCursor): set also the irow().
10667         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10668         (cursorUp):
10669         (cursorDown): support for locking an inset if the x_fix value goes
10670         inside it. That way I can transverse insets too with cursor up/down.
10671
10672         * lyxrow.h: added irow helper function same as other (i) functions.
10673
10674         * BufferView_pimpl.C (cursorPrevious):
10675         (cursorNext): fixed for insets!
10676
10677 2002-04-15  Juergen Vigna  <jug@sad.it>
10678
10679         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10680         position otherwise it is wrong in some cases.
10681
10682         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10683         inside the inset before the call.
10684
10685 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * buffer.[Ch] (getBibkeyList): make it const.
10688
10689 2002-04-12  Juergen Vigna  <jug@sad.it>
10690
10691         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10692
10693         * text2.C (getCursorX): new helper function
10694         (setCursor): compute also ix_
10695         (setCursorFromCoordinates): set also ix.
10696
10697         * lyxcursor.h: added ix_ and helper functions.
10698
10699         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10700
10701         * buffer.C (insertStringAsLines): dont break paragraph if the this
10702         paragraph is inside an inset which does not permit it!
10703
10704         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10705         also with no chars on this paragraph.
10706         (paintRowText): only paint stuff if it's inside the workarea!
10707
10708         * paragraph.C (breakParagraph): honor keepempty flag and break the
10709         paragraph always below not above.
10710
10711         * BufferView2.C (unlockInset): update the paragraph layout on inset
10712         unlock as we changed paragraph in such a case.
10713
10714         * lyxfind.C (LyXFind): clear the former selection if not found!
10715
10716         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10717         again called in insertChar().
10718
10719         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10720         an inset which uses the whole row!
10721         (rightMargin): ditto.
10722         (insertChar): force a rebreak if we inserted an inset!
10723
10724 2002-03-28  Herbert Voss  <voss@lyx.org>
10725
10726         * lyxlength.[Ch]: add inBP() to get the right PS-point
10727         units (BigPoint). With inPixels we have rounding errors
10728
10729 2002-04-11  Juergen Vigna  <jug@sad.it>
10730
10731         * text2.C (setCursorFromCoordinates): set iy to the right value.
10732         (setCursor): add check if row->previous exists!
10733
10734         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10735         an old float_type as this was the case in the old code!
10736
10737         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10738
10739         * BufferView2.C (showLockedInsetCursor): use iy
10740         (fitLockedInsetCursor): ditto
10741
10742         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10743         locked insets as there we have the right value now.
10744
10745         * lyxcursor.C: added iy_ variable and iy functions to set to the
10746         baseline of cursor-y of the locked inset.
10747
10748         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10749         (setCursor): fixed for insets which need a full row.
10750
10751         * text.C (rowLastPrintable): don't ignore the last space when before
10752         an inset which needs a full row.
10753         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10754         as last character of a row when before a inset which needs a full row.
10755
10756 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10757
10758         * version.C.in: update date
10759
10760         * text2.C (fullRebreak): try to always return true and see what
10761         happens...
10762
10763 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * MenuBackend.C (expand): use Floating::listName
10766
10767         * FloatList.C (FloatList): add listName argument to the built-in
10768         floats
10769
10770         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10771         text associated with the float.
10772
10773 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10776
10777 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * ShareContainer.h: add a couple of missing typenames.
10780
10781 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10782
10783         * lyxrc.C (getDescription): use _() correctly rather than N_().
10784
10785 2002-03-28  Herbert Voss  <voss@lyx.org>
10786
10787         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10788         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10789
10790 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10791
10792         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10793         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10794
10795 2002-03-29  Juergen Vigna  <jug@sad.it>
10796
10797         * lyxfunc.C (dispatch): add a missing fitCursor call.
10798
10799         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10800         it was scrolled by a cursor move, so return the bool status.
10801
10802         * BufferView.C (fitCursor): return the bool flag also to the outside
10803         world as this is needed.
10804
10805         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10806
10807         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10808         call the edit() as it is not needed (and wrong) IMO.
10809         (workAreaButtonPress): set the screen_first variable before evt.
10810         unlock the inset as this may change screen_first and then we have
10811         a wrong y position for the click!
10812
10813 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * MenuBackend.C (expand): another translation that I missed
10816
10817 2002-03-28  Juergen Vigna  <jug@sad.it>
10818
10819         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10820
10821         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10822
10823 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10826
10827         * MenuBackend.C (expand): fix export/view/update when there is no
10828         document open.
10829
10830 2002-03-27  Herbert Voss  <voss@lyx.org>
10831
10832         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10833         and text%
10834
10835 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10836
10837         * bufferview_funcs.C (currentState): only show paragraph number
10838         for is DEVEL_VERSION is set.
10839
10840         * lyxfunc.C (dispatch): put warning in INFO channel
10841
10842         * MenuBackend.C (expand): translate the name of floats
10843
10844         * FloatList.C (FloatList): mark the float names for translation
10845
10846         * converter.C (convert): use LibScriptSearch
10847
10848 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * MenuBackend.C (defaults): fix default menu (we might as well get
10851         rid of it...)
10852
10853 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10856         directory.
10857
10858 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10859
10860         * lyxvc.C: reorder includes.
10861
10862 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10865           properly
10866
10867 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * CutAndPaste.C: change layouts earlier on paste
10870           to avoid crashing when calling getFont()
10871
10872 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10875         irritating #error.
10876
10877 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * WorkArea.C: remove 'Pending' debug message.
10880
10881         * most files: ws cleanup
10882
10883         * buffer.[Ch]: ws changes
10884
10885         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10886
10887 2002-03-21  Juergen Vigna  <jug@sad.it>
10888
10889         * tabular.C (SetMultiColumn): collapse also the contents of the
10890         cells and set the last border right. Added a Buffer const * param.
10891
10892 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10895         linking or not.
10896
10897 2002-03-19  Juergen Vigna  <jug@sad.it>
10898
10899         * text2.C (clearSelection): reset also xsel_cache.
10900
10901         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10902         where it needs to be called (John tells us to do so too :)
10903         (selectionLost): reset sel_cache.
10904
10905         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10906
10907 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * text2.C (setCursorIntern): put debuging code in INSETS channel
10910
10911 2002-03-19  André Pönitz <poenitz@gmx.net>
10912
10913         * lyxfunc.C: tiny whitespace change
10914
10915 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * ToolbarDefaults.C (init):
10918         * LyXAction.C (init):
10919         * commandtags.h:
10920         * BufferView_pimpl.C (Dispatch):
10921         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10922
10923 2002-03-19  Allan Rae  <rae@lyx.org>
10924
10925         * exporter.C (Export): removeAutoInsets before doing anything else.
10926         While I've just introduced a dependency on BufferView this really is
10927         the best place to clean the buffer otherwise you need to cleanup in
10928         a dozen places before calling export or cleanup in a dozen functions
10929         that export calls.
10930
10931         * converter.C (runLaTeX):
10932         (scanLog): Better handling of removeAutoInsets and screen updates.
10933
10934         * lyxfunc.C (dispatch): small whitespace changes
10935
10936 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * WorkArea.C (C_WorkAreaEvent): return a value.
10939         (event_cb): return 1 if we handled the event, 0 otherwise.
10940
10941         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10942
10943 2002-03-18  Juergen Vigna  <jug@sad.it>
10944
10945         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10946         (GetAdditionalWidth): ditto.
10947         (RightLine): ditto.
10948         (LeftLine): ditto.
10949
10950         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10951         inset if we're there actually (probably not used right now but this
10952         is the direction to go for unifying code).
10953         (paste): disable code to clear the selection.
10954
10955         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10956         inside an InsetText and move the check further up as it is in the
10957         wrong place.
10958
10959         * text2.C (pasteSelection): set a selection over the pasted text.
10960
10961 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10962
10963         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10964         and libgraphics to build on Cygwin.
10965
10966 2002-03-15  Juergen Vigna  <jug@sad.it>
10967
10968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10969         inserting an Inset into the paragraph. I know this is not the best
10970         fix but we already use current_view in CutAndPaste so we will remove
10971         all of it's using at the same time.
10972
10973         * buffer.C (sgmlError): deactivated function till it is rewritten in
10974         the right mode, now it can create problems.
10975
10976         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10977         before accessing it.
10978
10979 2002-03-14  Juergen Vigna  <jug@sad.it>
10980
10981         * undo_funcs.C (textHandleUndo): do the right thing when updating
10982         the inset after the undo/redo.
10983
10984         * text2.C (setCursor): just some testcode for #44 not ready yet.
10985
10986         * undo_funcs.C (textHandleUndo): set the next() and previous()
10987         pointers of the paragraph to 0 before deleting otherwise we have
10988         problems with the Paragraph::[destructor].
10989
10990         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10991         on a paragraph insertion.
10992
10993 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * buffer.C (asciiParagraph): use += operator for char append to
10996         string.
10997
10998         * paragraph.C (getFontSettings): compare >= not just >
10999         (highestFontInRange): ditto
11000         (setFont): ditto
11001
11002 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11003
11004         * paragraph.C: change several algorithm to be more appripriate for
11005         the problem domain. This is lookip in FontList and in the InsetList.
11006
11007 2002-03-13  André Pönitz <poenitz@gmx.net>
11008
11009         * commandtags.h:
11010         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11011
11012 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * commandtags.h:
11015         * LyXAction.C:
11016         * lyxfunc.C:
11017         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11018
11019 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * Painter.C (display): anon helper function, adjust code for this
11022         change.
11023         (pixmap): remove function.
11024
11025         * Painter.h: remove private display variable.
11026
11027         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11028
11029 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * WorkArea.[Ch]: remove figinset_canvas cruft.
11032
11033 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * lyxtextclass.C (operator): add one item cache optimization.
11036
11037         * bufferlist.h: doxy changes
11038
11039         * bufferlist.C: ws changes
11040
11041         * DepTable.[Ch] (ext_exist): place const in the right spot.
11042
11043         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11044         call resizeInsets.
11045         (workAreaExpose): call resizeInsets when the with BufferView changes.
11046         (Dispatch): adjust for protectedBlank removal
11047         (specialChar): call updateInset if the insert went ok.
11048
11049         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11050         specialChar instead.
11051
11052         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11053
11054         * BufferView.h: doxy change
11055
11056         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11057
11058         * lyxtextclass.C (operator[]): remove non-const version
11059         (defaultLayout): remove non-const version
11060
11061 2002-03-12  Juergen Vigna  <jug@sad.it>
11062
11063         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11064         did resize the LyXText too.
11065
11066         * buffer.C (readLyXformat2): set layout information on newly allocated
11067         paragraphs.
11068
11069         * tabular.C (OldFormatRead): set layout information on the paragraph.
11070
11071 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11072
11073         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11074
11075 2002-03-11  Juergen Vigna  <jug@sad.it>
11076
11077         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11078         plainly wrong.
11079         (resizeCurrentBuffer): force also the insets to resize themselfes.
11080         (moveCursorUpdate): fixed up for InsetText.
11081
11082 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * commandtags.h:
11085         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11086         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11087         value of Dialogs::tooltipsEnabled().
11088         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11089
11090 2002-03-08  Juergen Vigna  <jug@sad.it>
11091
11092         * BufferView_pimpl.C (updateInset): update inset inside inset also
11093         if it isn't inside theLockingInset().
11094
11095 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11096
11097         * buffer.C (asciiParagraph): redo some of the word and line length
11098         handling.
11099         (getLists): look for Caption instead of caption.
11100
11101 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * buffer.C (Buffer): initialize niceFile to true
11104         (makeLaTeXFile):
11105         (makeLinuxDocFile):
11106         (makeDocBookFile): make sure niceFile is true on exit
11107
11108 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11111
11112 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11113
11114         * LyXSendto.C: remove.
11115         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11116         * lyx_gui.C: remove now-redundant comment.
11117         * ColorHandler.h: remove forward declaration of class WorkArea.
11118         * lyxfunc.C: remove #include "WorkArea.h".
11119
11120 2002-03-07  Juergen Vigna  <jug@sad.it>
11121
11122         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11123         got moved away with the DEPM and also set the inset_owner always
11124         right which before could have been omitted.
11125
11126 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11129         wanted layout is not found.
11130
11131 2002-03-07  Juergen Vigna  <jug@sad.it>
11132
11133         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11134
11135 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * paragraph.C (breakParagraph): use default layout not layout of
11138         prev paragraph.
11139         (Paragraph): clear ParagraphParameters.
11140
11141 2002-03-06  Juergen Vigna  <jug@sad.it>
11142
11143         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11144         otherwise it would not be a valid lenght. Fixed a special case in
11145         the minipage compatibility read where we end the document with a
11146         minipage.
11147
11148         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11149         was set as it could be 0 for InsetTexts first entry.
11150
11151 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * paragraph.C (writeFile): if layout is empty write out
11154         defaultLayoutName().
11155
11156         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11157         file without named layout we set layout to defaultLayoutName().
11158
11159 2002-03-06  Juergen Vigna  <jug@sad.it>
11160
11161         * CutAndPaste.C (copySelection): set layout for new paragraph.
11162
11163         * text.C (prepareToPrint): leave ERT inset left aligned
11164         (leftMargin): don't indent paragraphs inside ERT insets
11165
11166 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11167
11168         * paragraph.C (breakParagraph): dont call clear do the work manually
11169
11170         * paragraph.[Ch] (clear): remove function
11171
11172 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * paragraph.C (Paragraph): dont call clear, the work has already
11175         been done.
11176
11177         * lyxtextclass.C (operator): assert if n is empty
11178
11179         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11180         work manually instead.
11181
11182 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * BufferView_pimpl.C: protect selectionLost against text == 0
11185
11186 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11187
11188         * text.C (breakParagraph): fix a setting layout to '0' problem.
11189
11190 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11191
11192         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11193         final location of file, for the included files, and graphics.
11194
11195 2002-03-05  Juergen Vigna  <jug@sad.it>
11196
11197         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11198
11199 2002-03-04  Juergen Vigna  <jug@sad.it>
11200
11201         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11202
11203         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11204         last column of multicolumn cells.
11205         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11206
11207 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11208
11209         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11210         file if it doesn't go to a temporary file.
11211
11212         * buffer.C (sgmlOpenTag):
11213         (sgmlCloseTag):  remove extra newline insertion.
11214
11215 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * text.C (getRowNearY): comment out debug msg
11218
11219 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * text2.C: first -> first_y
11222
11223         * text.C (getRowNearY): add some attemts at a possible
11224         optimization, not working.
11225
11226         * tabular.[Ch]: add BufferParams to several function so that newly
11227         created paragraph can be initialized to he default layotu for the
11228         buffers textclass.
11229
11230         * tabular-old.C (ReadOld): add buf->params to call of Init
11231
11232         * screen.C: rename text->first to text->first_y
11233
11234         * paragraph.C (breakParagraph): always set layout in the broken
11235         paragraph
11236
11237         * lyxtextclass.C (Read): remove lowercase
11238         (hasLayout): ditto
11239         (operator): ditto
11240         (delete_layout): ditto
11241
11242         * lyxtext.h: rename first -> first_y
11243
11244         * lyxlayout.C (Read): remove lowercase
11245         (name): ditto
11246         (setName): ditto
11247         (obsoleted_by): ditto
11248
11249         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11250
11251         * buffer.C (insertErtContents): add params are to InsetERT
11252         (parseSingleLyXformat2Token): add code to check if a paragraphs
11253         layout really exist.
11254         (parseSingleLyXformat2Token): add params to several inset
11255         constructors
11256         (asciiParagraph): remove lowercase, do the layout comparisons with
11257         no_case
11258
11259         * BufferView_pimpl.C (cursorNext): first -> first_y
11260         (resizeCurrentBuffer): first -> first_y
11261         (updateScrollbar): first -> first_y
11262         (scrollCB): first -> first_y
11263         (workAreaMotionNotify): first -> first_y
11264         (workAreaButtonPress): first -> first_y
11265         (checkInsetHit): first -> first_y
11266         (cursorPrevious): first -> first_y
11267         (cursorNext): first -> first_y
11268         (Dispatch): add buffer_->params to severl inset contructors
11269
11270 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * lyxlayout.C (Read): remove some debug info that I forgot.
11273
11274         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11275         clean up the code slightly.
11276         (makeLinuxDocFile): ditto
11277         (makeDocBookFile): ditto
11278
11279         * text2.C: layout as string
11280
11281         * text.C: layout as string
11282
11283         * paragraph_pimpl.C: layout as string
11284
11285         * paragraph.[Ch]: layout as string
11286
11287         * lyxtextclasslist.[Ch]: layout as string
11288
11289         * lyxtextclass.[Ch]: layout as string
11290
11291         * lyxtext.h: layout as string
11292
11293         * lyxlayout.[Ch]: layout as string
11294
11295         * lyx_cb.C: layout as string
11296
11297         * bufferview_funcs.C: layout as string
11298
11299         * bufferparams.C: layout as string
11300
11301         * buffer.C: layout as string
11302
11303         * LyXView.[Ch]: layout as string
11304
11305         * LaTeXFeatures.[Ch]: layout as string
11306
11307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11308
11309         * BufferView_pimpl.C: change current_layout to string, remove
11310         lyx::layout_type.
11311         (Dispatch):
11312         (smartQuote):
11313         (insertInset):
11314         (workAreaButtonRelease): layout as string
11315
11316         * BufferView2.C (unlockInset): adjust
11317
11318         * vspace.C (asLatexCommand): use an explict temp variable.
11319
11320 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * Makefile.am: use FRONTEND_*
11323
11324 2002-03-01  Juergen Vigna  <jug@sad.it>
11325
11326         * tabular.C (SetWidthOfMulticolCell): changed to something better
11327         I hope but still work in progress.
11328         (recalculateMulticolumnsOfColumn): renamed function from
11329         recalculateMulticolCells as it is more appropriate now.
11330         (SetWidthOfCell): calculate multicols better.
11331
11332 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11333
11334         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11335
11336         * lyxfunc.C (processKeySym): print sequence also if it is
11337         `deleted' (complete)
11338
11339         * kbsequence.C (print): print sequence even if it is deleted
11340         (complete would be a better word, actually).
11341
11342         * lyxfunc.C (dispatch): print complete options after a prefix key
11343
11344         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11345
11346 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11347
11348         * text2.C (setCharFont): eliminate setCharFont code duplication.
11349
11350 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11353         LFUN_TABULAR_FEATURE (bug #177)
11354
11355 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * Makefile.am: remove figure.h
11358
11359 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11360
11361         * Bufferview_pimpl.C:
11362         * CutAndPasteC:
11363         * LaTeX.C:
11364         * LyXSendto.C:
11365         * buffer.C:
11366         * bufferlist.C:
11367         * converter.C:
11368         * language.C:
11369         * lyxfunc.C:
11370         * lyxvc.C:
11371         * paragraph.C:
11372         * text.C:
11373         * text2.C: remove #include "lyx_gui_misc.h".
11374
11375         * LaTeX.C: added #include <cstdio>
11376
11377 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11380         that the paragraph following this one can have.
11381
11382         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11383
11384         * vspace.C (asLatexCommand): fix bogus gcc warning
11385
11386         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11387
11388 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11389
11390         * text2.C (setLayout): get rid of redundant code
11391
11392 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11393
11394         * text2.C (incDepth): make sure depth cannot be increased beyond
11395         reasonable values.
11396
11397 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11398
11399         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11400         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11401
11402         * PainterBase.h (image):
11403         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11404         a LyXImage const *.
11405
11406 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * BufferView.C:
11409         * BufferView.h:
11410         * BufferView_pimpl.C:
11411         * BufferView_pimpl.h:
11412         * LaTeXFeatures.C:
11413         * LyXAction.C:
11414         * LyXView.C:
11415         * Makefile.am:
11416         * UpdateList.h:
11417         * UpdateList.C:
11418         * buffer.C:
11419         * figure.h:
11420         * figureForm.C:
11421         * figureForm.h:
11422         * figure_form.C:
11423         * figure_form.h:
11424         * lyx_cb.C:
11425         * lyx_gui.C:
11426         * lyx_gui_misc.C:
11427         * lyxfunc.C:
11428         * sp_base.h:
11429         * sp_ispell.h:
11430         * sp_pspell.h:
11431         * sp_spell.C: remove fig inset, and the crap house of
11432           cards that follows it
11433
11434 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * Makefile.am:
11437         * lyxserver.C:
11438         * os2_defines.h:
11439         * os2_errortable.h:
11440         * nt_defines.h: move .h into support/
11441
11442         * vms_defines.h: remove
11443
11444         * WorkArea.C: add space in debug output
11445
11446         * text2.C:
11447         * paragraph.C:
11448         * buffer.C: add WITH_WARNINGS
11449
11450         * vc-backend.h:
11451         * vc-backend.C:
11452         * bufferlist.C: s/retrive/retrieve/, add docs
11453
11454         * vspace.h:
11455         * vspace.C:
11456         * kbmap.h:
11457         * lyxlength.h:
11458         * lyxgluelength.h:
11459         * length_common.h:
11460         * chset.h:
11461         * chset.C: add docs
11462
11463         * lyxgui.C: add ID to X error handler
11464
11465         * lyxtestclass.c: fix typo
11466
11467 2002-02-26  Juergen Vigna  <jug@sad.it>
11468
11469         * tabular_funcs.C (write_attribute): changed so that some default
11470         attributes are not written at all.
11471         (getTokenValue): set default values before trying to read the
11472         value so we have the return value always set as default if we don't
11473         find the token we search for.
11474
11475         * tabular.C (Write): write bools as bools not as strings!
11476
11477 2002-02-22  Juergen Vigna  <jug@sad.it>
11478
11479         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11480         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11481
11482         * text.C (leftMargin): don't add an indent for paragraphs inside
11483         tabular cells (fix #208).
11484
11485 2002-02-21  José Matos  <jamatos@fep.up.pt>
11486
11487         * tabular.C (docBook): fixed support for long tables.
11488
11489 2002-02-20  Juergen Vigna  <jug@sad.it>
11490
11491         * text2.C (getFont): get the drawing font of the Inset if this
11492         paragraph is inside an inset (only important for InsetERT for now).
11493
11494         * buffer.C (insertErtContents): use new lanugage params in ERT
11495         constructor.
11496
11497         * CutAndPaste.C: commenting out seemingly uneeded code.
11498
11499 2002-02-19  Allan Rae  <rae@lyx.org>
11500
11501         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11502         Iterators might be simple to use but they also get invalidated.
11503         (removeAutoInsets): renamed saved cursor tracking variables and added
11504         some comments to clarify what everything does.
11505
11506 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * Chktex.C:
11509         * LaTeX.C:
11510         * LyXSendto.C:
11511         * converter.C:
11512         * lyx_cb.C:
11513         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11514         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11515
11516         * lyxfunc.C:
11517         * vc-backend.h: remove #include "support/syscall.h"
11518
11519         * LaTeX.C:
11520         * LyXSendto.C:
11521         * converter.C: rearrange #includes in Lars' approved fashion.
11522
11523         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11524         forward declare class Timeout in the header file.
11525
11526         * XFormsView.C: changes due to the above.
11527
11528         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11529         similar to LyXView.
11530
11531         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11532         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11533
11534 2002-02-18  José Matos  <jamatos@fep.up.pt>
11535
11536         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11537         insets contents.
11538
11539 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11540
11541         * a lot of small ws changes
11542         * add a lot of using std::XXX
11543         * use std construcs some places where approp.
11544         * use some exisint stuff from lyxfunctional where approp.
11545         * Make file changes to use partial linking (lets test this now...)
11546
11547 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11548
11549         * Chktex.C:
11550         * buffer.C:
11551         remove #include "support/syscontr.h" as it's redundant. Always has been.
11552
11553         * Chktex.C:
11554         * LaTeX.C:
11555         * LyXSendto.C:
11556         * converter.C:
11557         * lyx_cb.C:
11558         * vc-backend.C:
11559         change Systemcalls::System to Systemcalls::Wait and
11560         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11561         No change of functionality, just reflects the stripped down Systemcalls
11562         class.
11563
11564 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11565
11566         * debug.[Ch]: add a GRAPHICS type to the enum.
11567
11568 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11569
11570         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11571
11572         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11573         there is an inset.
11574
11575 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11578         match the changes below.
11579
11580         * text2.C (toggleInset): if there is not editable inset at cursor
11581         position, try to see if cursor is _inside_ a collapsable inset
11582         and close it.
11583
11584 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11585
11586         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11587         document menu has a nice checkbox
11588
11589 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11590
11591         * lyxlength.C (asLatexString): change PW to output as percent of
11592         \textwidth.
11593
11594         * lengthcommon.C: change '%' to 't%'
11595
11596         * lyxfunc.C (dispatch): a few comments from Martin
11597
11598 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * WorkArea.h:
11601         * WorkArea.C:
11602         * BufferView_pimpl.h:
11603         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11604           the X selection.
11605
11606 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11607
11608         * vspace.C (inPixels): fix compiler warning
11609
11610 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * lyxfunc.C (getStatus): fix status message for disabled commands.
11613
11614 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * BufferView_pimpl.C: fix crash on close buffer
11617         during selection (#227)
11618
11619 2002-01-27  Herbert Voss  <voss@lyx.org>
11620
11621         * buffer.C: link old Figure to new graphic inset
11622
11623 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11624
11625         * FontLoader.C (getFontinfo): Change the latex font names in order
11626         to match the names of type1inst.
11627
11628 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11631
11632         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11633         (extchanged): ditto
11634         (ext_exist): ditto
11635         (remove_files_with_extension): ditto
11636         (remove_file): ditto
11637         (write): ditto
11638
11639         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11640         document is smaller than the work area height. Do not initialize
11641         static variables to 0.
11642
11643 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11644
11645         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11646
11647         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11648         LFUN_LAYOUT_PARAGRAPHS.
11649
11650         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11651         tabular. It is possible to provide a possible cell, which will
11652         typically be the actcell from the corresponding insettabular
11653
11654         * lyxfunc.C (getStatus): small cleanup; disable
11655         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11656         true
11657
11658 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11659
11660         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11661
11662         * paragraph.C (startTeXParParams):
11663         (endTeXParParams): new methods. The LaTeX code to
11664         start/end paragraph formatting
11665         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11666         empty (fixes bug #200)
11667
11668         * vspace.C (inPixels): adapt to the change below
11669         (inPixels): [later] more cleanups (remove unused variables)
11670
11671         * lyxlength.C (inPixels): change to use a width and a height as
11672         parameter.
11673
11674 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11677         Replaced with \paperwidth
11678
11679         * DepTable.C (insert): add std:: qualifier
11680
11681 2002-01-18  Allan Rae  <rae@lyx.org>
11682
11683         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11684         updated also?
11685
11686         * text.C (drawInset): Turned out I didn't know enough about how
11687         rebreaking worked.  This fixes most of the redraw problems.  I see
11688         an occasional cursor trail when a line is broken now and the cursor
11689         placement can seem out by a few pixels also after a rebreak.
11690
11691 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11692
11693         * buffer.C (parseSingleLyXformat2Token): update because minipage
11694         width is now a LyXLength
11695
11696         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11697
11698         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11699         math insets
11700
11701 2002-01-17  Juergen Vigna  <jug@sad.it>
11702
11703         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11704
11705         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11706         is set correctly and the inset is updated correctly.
11707
11708 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11711         the beginning of the loop.
11712
11713 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * lyxrc.C: improve help for use_scalable_fonts
11716
11717 2002-01-17  Allan Rae  <rae@lyx.org>
11718
11719         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11720
11721 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11724         make sure to set their inset_owner to the right value (bug #171)
11725
11726 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11727
11728         * DepTable.h
11729         * DepTable.C: Implement mtime checking to reduce time spent doing
11730         CRCs.
11731
11732 2002-01-16  Juergen Vigna  <jug@sad.it>
11733
11734         * tabular.C (GetAdditionalHeight): one of error fixed.
11735
11736         * lyxrc.C (output): small fix in writing use_pspell.
11737
11738 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11739
11740         * sp_base.h: #include LString.h
11741
11742 2002-01-16  Allan Rae  <rae@lyx.org>
11743
11744         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11745         Can someone check this please?
11746
11747         * text.C (drawInset): It was possible that p.row would be removed by
11748         breakAgainOneRow upsetting a few other settings.  There may be another
11749         small tweak possible by setting need_break_row = 0 when p.row has been
11750         removed but I don't know enough about the logic here.
11751
11752 2002-01-15  Allan Rae  <rae@lyx.org>
11753
11754         * text.C (insertChar): removed conditional truism.
11755
11756         * BufferView2.C (removeAutoInsets): More tweaks.
11757         cur_par_prev could be a stray pointer.  Check for trailing empty line
11758         in case last line was cur_par and only had an error inset on it.
11759
11760 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11763         absolute
11764
11765         * vc-backend.C (most methods):
11766         * exporter.C (Export):
11767         * converter.C (convert):
11768         (runLaTeX):
11769         * LyXSendto.C (SendtoApplyCB):
11770         * lyxfunc.C (dispatch):
11771         (menuNew):
11772         (open):
11773         (doImport):
11774         * lyx_cb.C (AutoSave):
11775         (InsertAsciiFile):
11776         * BufferView_pimpl.C (MenuInsertLyXFile):
11777         * buffer.C (runChktex): use Buffer::filePath().
11778
11779         * buffer.h: rename filename to filename_; rename filepath to
11780         filepath_ and make it private
11781         (filePath): new method
11782
11783         * buffer.C (writeFile): use fileName()
11784         (getLatexName):
11785
11786         * lyx_main.C (init): fix starting  of LyX when the binary is a
11787         link from so,ewhere else.
11788
11789         * minibuffer.C: include <cctype> for isprint
11790
11791 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11792
11793         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11794         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11795         name clash with InsetCollapsable's width function.
11796
11797 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * lastfiles.C: include <iterator>
11800
11801 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11802
11803         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11804         std::count.
11805
11806         * buffer.C (makeLaTeXFile): ditto.
11807         Also make loop operation more transparent.
11808
11809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * ToolbarDefaults.C: remove trailing comma closing namespace.
11812
11813         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11814
11815         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11816         as in WorkArea.
11817
11818         * trans.C (Load): comment out unused variable, allowed.
11819
11820 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11821
11822         * minibuffer.[Ch] (append_char): new method to recieve input from the
11823         drop-down completion browser. If a key was pressed, then recieve this
11824         char and append it to the existing string.
11825         (peek_event): modify the positioning data passed to the completion
11826         browser so that it can be placed above the minibuffer rather than below.
11827 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * LyXAction.C (init): alloe error-next for readonly documents.
11830
11831         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11832         count.
11833
11834 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11835
11836         * bufferlist.C (readFile): create the buffer _after_ checking that
11837         the file exists.
11838
11839         * lyxfunc.C (verboseDispatch): fix handling of arguments
11840
11841         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11842
11843         * lyxrc.C: use string::erase() instead of initializing to "".
11844
11845
11846 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * BufferView_pimpl.h:
11849         * BufferView_pimpl.C:
11850         * WorkArea.h:
11851         * WorkArea.C:
11852         * text2.C: tell X when we have made a selection for copying
11853
11854 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * BufferView_pimpl.C (MenuInsertLyXFile):
11857         * lyxfunc.C (menuNew):
11858         (open):
11859         (doImport): add shortcuts to directory buttons
11860
11861         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11862         open a float)
11863
11864         * lyxfunc.C (setStatusMessage):
11865         (getStatusMessage): new methods
11866         (getStatus):use setStatusMessage instead of setErrorMessage
11867         (dispatch): when function is disabled, set error message here
11868         [instead of in getStatus previously]
11869
11870         * BufferView_pimpl.C (workAreaButtonRelease): update
11871         toolbar/menubar here too.
11872
11873 2002-01-13  Allan Rae  <rae@lyx.org>
11874
11875         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11876         Now seems indestructible.  Remaining task is to audit all other
11877         code affected by deleteEmptyParagraphMechanism.  One small quirk
11878         left is that an empty document with an error in the preamble can
11879         be made to report an error but no error box appears.  I don't know
11880         where it goes.
11881         (removeAutoInsets): Improved comments.
11882
11883 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * Thesaurus.h:
11886         * Thesaurus.C: update for Aiksaurus 0.14
11887
11888 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * text2.C (firstParagraph): removed member function, all uses
11891         replaces with ownerParagraph
11892         (redoParagraphs): here
11893         (updateInset): here
11894         (toggleAppendix): here
11895         * BufferView2.C (insertErrors): here
11896         (setCursorFromRow): here
11897
11898 2002-01-13  Allan Rae  <rae@lyx.org>
11899
11900         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11901         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11902         There is still a way to segfault this although you may have to do this
11903         multiple times: Have an InsetERT with an unknown command in it.
11904         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11905         <down-arrow>, <Enter> again, View->DVI, BANG!
11906
11907         * text2.C (setCursor):
11908         (deleteEmptyParagraphMechanism):
11909         * lyxtext.h (setCursor):
11910         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11911         Making use of the return value may help fix other bugs.
11912
11913 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11916
11917         * LyXView.C (updateMenubar): call MenuBar::update here
11918         (updateToolbar): but not here
11919         (showState): do not update toolbar/menubar
11920
11921         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11922         should need to care about that.
11923
11924         * lyxfunc.C (verboseDispatch): simplify a bit
11925         (getStatus): have a version which takes a pseudoaction, and
11926         another which requires a (kb_action,string).
11927
11928         * LyXAction.C (retrieveActionArg): make it work also when action
11929         is not a pseudo-action.
11930         (getActionName): simplify a bit
11931         (helpText):
11932
11933 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * lyxfunc.C (verboseDispatch): new families of methods with
11936         several ways to specify a command and a bool to indicate whether
11937         the command name and shortcut should be displayed in minibuffer
11938         (eventually, we could extend that to a finer bitmask like
11939         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11940         (dispatch): the pristine dispatch command which just, well,
11941         dispatchs! Note it still sets its result to minibuffer; I'm not
11942         sure we want that.
11943
11944         * lyxfunc.h: remove setHintMessage
11945
11946         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11947
11948 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * BufferView_pimpl.C (specialChar): delete new inset if we have
11951         not been able to insert it.
11952
11953         * kbmap.C: revert to using int instead of kb_action, since all we
11954         are dealing with is pseudo-actions.
11955
11956         * LyXAction.C (searchActionArg): change to return int instead of
11957         kb_action, since the result is a pseudoaction.
11958
11959 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11960
11961         * buffer.C (insertErtContents): Fix (partially) the font bug.
11962
11963 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11964
11965         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11966         as the other one is broken on my machine!
11967
11968 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11969
11970         * commandtags.h:
11971         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11972
11973 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11976         reflect their actual use. Provide compatibility code for older lyxrc
11977         files.
11978
11979         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11980         FL_NORMAL_STYLE.
11981         change names of popup font variables in line with the changes to lyxrc.C
11982
11983 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * buffer.C (asciiParagraph): avoid outputing a word twice after
11986         an inset.
11987
11988         * lyxrc.C (getDescription): document that document_path and
11989         template_path can be empty.
11990
11991 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * LaTeXFeatures.C (getMacros):
11994         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11995
11996         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11997
11998         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11999         getPackages.
12000         (getPackages): rename feature "floats" to "float". Use an array to
12001         iterate over 'simple' features (i.e. just a \usepackage). Add
12002         handling of "amsmath" (renamed from "amsstyle").
12003
12004 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12005
12006         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12007         features list.
12008
12009 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12012         FuncStaus::FuncStatus & FuncStaus::some_method().
12013
12014 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12015
12016         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12017         of the func_satus stuff. Edited and massaged in various ways by
12018         JMarc.
12019
12020         * lyxfunc.C (getStatus): use FuncStatus
12021
12022 2002-01-08  Juergen Vigna  <jug@sad.it>
12023
12024         * text.C (nextBreakPoint): use function Inset::isChar().
12025
12026         * paragraph.C (TeXOnePar): use function
12027         Inset::forceDefaultParagraphs.
12028
12029         * buffer.C (latexParagraphs): use function
12030         Inset::forceDefaultParagraphs.
12031
12032 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12033
12034         * lyx_gui.C (init): set the style of the menu popups to
12035         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12036
12037 2002-01-07  Juergen Vigna  <jug@sad.it>
12038
12039         * text.C (setHeightOfRow): small fix
12040         (prepareToPrint): don't look at alignment if we don't have the place
12041         for doing it.
12042
12043 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * box.C: New file. Move the Box methods and functions out of box.h,
12046         following Lars' suggestion.
12047
12048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * box.h: #include "support/LOstream.h", needed for inlined function.
12051
12052         * lyxtextclass.C:
12053         * lyxtextclasslist.C: added some using std declarations.
12054
12055 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * box.h: make signed dimensions to allow insets wider than
12058           the screen (bug #162)
12059
12060         * BufferView_pimpl.C: add some insetHit debug
12061
12062 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * vc-backend.C: add FIXME
12065
12066 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * lyxfunc.C (getStatus): enable code for showing math font status
12069         in toolbar/menu.
12070
12071 2002-01-07  Juergen Vigna  <jug@sad.it>
12072
12073         * text.C (nextBreakPoint): removed debug output not needed anymore.
12074
12075 2002-01-06  Juergen Vigna  <jug@sad.it>
12076
12077         * text.C (nextBreakPoint): fixed up this function we had this bug
12078         since ever but now hopefully we break row better.
12079         (insertChar): we have to check if an inset is the next char as it
12080         could now happen that a large inset is causing a break.
12081
12082 2002-01-05  Juergen Vigna  <jug@sad.it>
12083
12084         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12085         if it doesn't like to be drawed.
12086
12087 2002-01-04  Juergen Vigna  <jug@sad.it>
12088
12089         * BufferView2.C (lockInset): forgot to set a cursor.
12090
12091         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12092
12093 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12094
12095         * FormMathsPanel.C:
12096         * FormMathsPanel.h
12097         * MathsSymbols.C:
12098         * form_maths_panel.C:
12099         * form_maths_panel.h:
12100         * form_maths_panel.fd: implemented sub- and super- buttons in math
12101         panel.
12102
12103         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12104         (or ^ space) to be used as in TeX (req'd by André).
12105
12106         * lyxfunc.C: Allow ^ and _ again to be used both as
12107         super/subscript (mathed) and as themselves (in text).
12108
12109 2002-01-03  Allan Rae  <rae@lyx.org>
12110
12111         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12112         "LyX" or the filename of the current buffer if it has one.  This is a
12113         modified form of John Levon's patch.
12114
12115         * XFormsView.C (setWindowTitle): also set icon title.
12116
12117         * LyXView.h (setWindowTitle): signature changed.
12118         * XFormsView.h (setWindowTitle): ditto.
12119
12120 2002-01-02  Juergen Vigna  <jug@sad.it>
12121
12122         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12123
12124 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * screen.C (topCursorVisible): introduce a temp var for
12127         text->cursor.row(), handle the case where this row is null. (kindo
12128         hachish)
12129
12130         * text2.C (setCursor): add a couple of asserts.
12131
12132         * paragraph.h (inset_iterator): add -> operator
12133
12134         * paragraph.[Ch] (autoDeleteInsets): remove member function
12135
12136         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12137         cursor pos correctly and handle inset deletion by itself.
12138         (insertErrors): move iterator declaration out of for expression
12139
12140         * lyxtextclass.C: add <algorithm>
12141
12142         * Makefile.am: added the new files to sources, removed layout.C
12143
12144         * layout.C: removed file
12145
12146         * layout.h: remove LYX_DUMMY_LAYOUT
12147
12148         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12149         layout.
12150
12151         * lyxlayout.[Ch]:
12152         * lyxtextclass.[Ch]:
12153         * lyxtextclasslist.[Ch]: new files
12154
12155         * include order changes to a lot of files, also changes because of
12156         the six new files.
12157
12158 2001-12-27  Juergen Vigna  <jug@sad.it>
12159
12160         * buffer.C (asciiParagraph): more fixes.
12161
12162         * tabular.C (ascii): make ascii export support export of only the
12163         data separated by a column-delimiter.
12164         (ascii): better support for ascii export.
12165
12166         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12167
12168 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12169
12170         * tabular_funcs.C: use a "using std::getline" instead of the
12171         previous fix from Angus (necessary for cxx + lyxstring)
12172
12173 2001-12-24  Juergen Vigna  <jug@sad.it>
12174
12175         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12176
12177         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12178         problems. First check a minipage also if we have some ert-contents
12179         (not only on par->size(), second set the right depth of the paragraph
12180         on the relink to the root-paragraph-list!
12181
12182         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12183         which then did not anymore update the main paragraphs on undo/redo!
12184
12185 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12188         code. Support all font-changing funcs (even those which are not in
12189         menu currently). Support for reporting font settings in
12190         mathed (disabled until Andre provides a function on mathed's side).
12191
12192         * func_status.h (toggle): small helper function to set toggle
12193         state on a flag.
12194
12195 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * tabular_funcs.C: getline -> std::getline
12198
12199 2001-12-21  Juergen Vigna  <jug@sad.it>
12200
12201         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12202         accessed and could be 0 (I couldn't generate this but it seems
12203         Michael could!).
12204
12205 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12208         * tabular_funcs.h: here and include iosfwd
12209
12210 2001-12-20  Juergen Vigna  <jug@sad.it>
12211
12212         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12213         inside inset but undo_par was.
12214
12215 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12216
12217         * Thesaurus.C: always include <config.h> in sources.
12218
12219         * Painter.h:
12220         * lyxlookup.h:
12221         * box.h: do not include <config.h> in header files
12222
12223         * text.C (paintLastRow): remove unused variable
12224
12225         * text.C (transformChar):
12226         (insertChar):
12227         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12228
12229         * Painter.C (text):
12230         * font.C (width): rewrite to use uppercase() instead of
12231         islower/toupper.
12232
12233         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12234
12235 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * lyxfind.C: clean up of find failure position change
12238
12239 2001-12-20  Juergen Vigna  <jug@sad.it>
12240
12241         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12242
12243         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12244         (TeXRow): added to LaTeX a single tabular row.
12245         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12246         (Latex): simplified and finally good LT-h/f support.
12247         (various_functions): just small adaptions for LT-h/f support.
12248
12249         * tabular_funcs.[hC]: added and moved here all not classfunctions
12250         of LyXTabular.
12251
12252 2001-12-19  Juergen Vigna  <jug@sad.it>
12253
12254         * tabular.[Ch]: better support for longtabular options (not finished
12255         yet!)
12256
12257 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * text.C (paintLastRow): use the label font instead of the font of
12260         the last character to compute the size of *_BOX. This makes more
12261         sense and avoids a crash with empty paragraphs.
12262         Use Painter::rectangle to draw EMPTY_BOX.
12263
12264 2001-12-19  Juergen Vigna  <jug@sad.it>
12265
12266         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12267         the paragraphs if the replaced paragraph is not the first one!
12268         Tried to delete not used paragraphs but does not work yet so for
12269         now it's inside #ifdef's and by default off!
12270
12271 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12272
12273         * MenuBackend.C: include "lyx_main.h" instead of declaring
12274         lastfiles (actually was declared as LastFiles* instead of a
12275         scoped_ptr).
12276
12277 2001-12-17  Juergen Vigna  <jug@sad.it>
12278
12279         * tabular.C (AppendColumn): applied John's fix
12280
12281 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView.h:
12284         * BufferView.C:
12285         * BufferView_pimpl.h:
12286         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12287
12288         * Makefile.am:
12289         * box.h: new start of class for above
12290
12291         * lyxfunc.C: ignore space-only minibuffer dispatches.
12292           Show the command name when it doesn't exist
12293
12294         * minibuffer.C: don't add empty lines to the history
12295
12296         * minibuffer.C: add a space on dropdown completion
12297
12298 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * text.C: fix line above/below drawing in insets
12301
12302 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * lyxlength.C (LyXLength): Initialize private variables.
12305
12306 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12309         when inserting error insets.
12310
12311 2001-12-13  Juergen Vigna  <jug@sad.it>
12312
12313         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12314         actually sometimes the before-paragraph.
12315         (setUndo): don't clear the redostack if we're not actually undoing!
12316
12317 2001-12-06  Juergen Vigna  <jug@sad.it>
12318
12319         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12320         and fixed redoing of main paragraph, so we can use it now ;)
12321
12322         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12323
12324 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12325
12326         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12327         Juergen's request
12328
12329 2001-12-13  André Pönitz <poenitz@gmx.net>
12330
12331         * undostack.[Ch]:
12332         * undo_func.C: minor cleanup
12333
12334 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12335
12336         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12337         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12338         font in urw-fonts package which is marked as -urw-fontspecific and
12339         does not work (incidentally, changing the encoding in the
12340         fonts.dir of this package to -adobe-fontspecific fixes the
12341         problem).
12342
12343         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12344         is a crash when undoing first paragraph (Juergen, please take a
12345         look). THis does not mean the undo fix is wrong, just that it
12346         uncovers problems.
12347
12348         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12349         the (Paragraph*) version when needed instead of duplicating the
12350         code.
12351
12352         * text.C (workWidth): use Inset::parOwner to find out where the
12353         inset has been inserted. This is a huge performance gain for large
12354         documents with lots of insets. If Inset::parOwner is not set, fall
12355         back on the brute force method
12356
12357         * paragraph_pimpl.C (insertInset):
12358         * paragraph.C (Paragraph):
12359         (cutIntoMinibuffer): set parOwner of insets when
12360         inserting/removing them
12361
12362         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12363
12364 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12365
12366         * commandtags.h:
12367         * LyXAction.C:
12368         * lyx_main.C:
12369         * lyxfunc.C:
12370         * mathed/formulabase.C:
12371         * mathed/math_cursor.[Ch]:
12372         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12373
12374
12375 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * lyxlength.[Ch] (operator!=): new function
12378
12379 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * text.C (workWidth): use Inset::parOwner to find out where the
12382         inset has been inserted. This is a huge performance gain for large
12383         documents with lots of insets. If Inset::parOwner is not set, fall
12384         back on the brute force method
12385
12386         * paragraph_pimpl.C (insertInset):
12387         * paragraph.C (Paragraph):
12388         (cutIntoMinibuffer): set parOwner of insets when
12389         inserting/removing them
12390
12391         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12392
12393 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * tabular-old.C (getTokenValue):
12396         * tabular.C (getTokenValue):
12397         (write_attribute): new versions for LyXLength
12398         (everywhere): adjust the use of widths
12399
12400         * tabular.h: change the type of widths from string to LyXLength
12401
12402 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12403
12404         * paragraph.C: fixed missing line number count when exporting
12405         Environments to LaTeX file
12406
12407         * buffer.C: added informational message for checking line numbers.
12408
12409 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12412         paragraph, do the 'double space' part, but not the 'empty
12413         paragraph' one.
12414
12415         * text.C (workWidth): small optimization
12416         (getLengthMarkerHeight): use minimal size for negative lengths.
12417
12418 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12421
12422         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12423
12424 2001-12-11  André Pönitz <poenitz@gmx.net>
12425
12426         * FontLoader.C:
12427         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12428
12429 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * text2.C: keep selection on a setFont()
12432
12433 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12434
12435         * lyx_cb.C: another bv->text misuse, from insert label
12436
12437 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * kbsequence.h:
12440         * kbsequence.C: re-instate nmodifier mask
12441
12442 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * lyx_main.h: make lyxGUI private.
12445
12446 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyxfind.C: place the cursor correctly on failed search
12449
12450 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * text.C (getLengthMarkerHeight): for small heights, the arrows
12453         are not always on top/bottom of the text
12454         (drawLengthMarker): smaller arrows; take the left margin in
12455         account; draw also vfills.
12456         (paintFirstRow):
12457         (paintLastRow): remove special code for vfill and standard spaces,
12458         since everything is handled in drawLengthMarker now.
12459
12460 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * buffer.C (insertErtContents): try to handle font and language
12463         interaction a bit better.g
12464
12465         * ColorHandler.C (updateColor): change the hash to cover the whole
12466         LColor enum, ws cleanup
12467         (getGCLinepars): ditto
12468         (getGCLinepars): only lookup in the linecache once.
12469
12470 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12471
12472         * iterators.C (operator++): Make the iterator more robust
12473
12474         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12475         (John's patch)
12476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12477
12478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * lyxtext.h:
12481         * text.C: better added space drawing
12482
12483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * LyXView.C:
12486         * BufferView2.C: fix layout combo update on inset unlock
12487
12488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * Makefile.am: don't compile unused files
12491
12492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * lyxfunc.C:
12495         * commandtags.h:
12496         * LyXAction.C: remove old LFUN_LAYOUTNO
12497
12498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * paragraph_pimpl.h:
12501         * paragraph_pimpl.C: isTextAt() doesn't need font param
12502
12503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * lyxlex.h:
12506         * lyxlex.C: little cleanup
12507
12508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * BufferView_pimpl.C: fix insertAscii for insets
12511
12512 2001-12-05  Juergen Vigna  <jug@sad.it>
12513
12514         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12515         set the right font on the "multi" paragraph paste!
12516
12517 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * trans_decl.h:
12520         * trans_mgr.[Ch]:
12521         * trans.[Ch]:
12522         * lyxgluelength.C:
12523         * lyxlength.C: remove out-commented code.
12524
12525         * BufferView_pimpl:
12526         * CutAndPaste.C:
12527         * DepTable.C:
12528         * buffer.C:
12529         * chset.C:
12530         * lastfiles.C:
12531         * lyxlex.C:
12532         * lyxlex_pimpl.C:
12533         * lyxserver.C:
12534         * screen.C:
12535         * tabular-old.C:
12536         * tabular.C:
12537         * text.C:
12538         * trans_mgr.C:
12539         * vc-backend.C: change "while(" to "while ("
12540
12541         * lyxlength.[Ch]: add zero function to check if length is zero or
12542         not
12543         * lyxgluelength.C: use it
12544
12545 2001-12-05  Allan Rae  <rae@lyx.org>
12546
12547         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12548         Works for 2.95.3, from what I understand of Garst's reports this should
12549         work for other g++ versions.  We're screwed if the abs(int) definition
12550         changed between bugfix releases of gcc.
12551
12552 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * text.C: fix chapter label offset !
12555
12556 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * lyxtext.h:
12559         * text.C: fix hfill at end of line, clean up
12560
12561 2001-12-04  Juergen Vigna  <jug@sad.it>
12562
12563         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12564         that we force an update of the inset and it's owners if neccessary.
12565
12566 2001-12-03  Juergen Vigna  <jug@sad.it>
12567
12568         * text.C (rowLast): simplified code
12569
12570 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * lyxfunc.C: fix show options on timeout
12573
12574 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * screen.C (topCursorVisible): scroll half a page when the cursor
12577         reached top of bottom of screen
12578
12579 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * minibuffer.C: deactivate on loss of focus
12582
12583 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * vspace.[Ch] (operator!=): add operator.
12586
12587 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * BufferView_pimpl.C: refuse to open an inset when
12590         there's a selection.
12591
12592 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * BufferView_pimpl.C: allow to click on RHS of full row insets
12595
12596 2001-11-30  Juergen Vigna  <jug@sad.it>
12597
12598         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12599         insets for undo reasons.
12600
12601 2001-11-28  André Pönitz <poenitz@gmx.net>
12602
12603         * vspace.[Ch]: cosmetical changes
12604
12605 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * LyXAction.h:
12608         * LyXAction.C:
12609         * lyxfunc.h:
12610         * lyxfunc.C:
12611         * kbmap.h:
12612         * kbmap.C:
12613         * lyxrc.C:
12614         * kbsequence.h:
12615         * kbsequence.C: part re-write of old kb code
12616
12617         * Painter.C:
12618         * WorkArea.C: remove Lgb_bug_find_hack
12619
12620 2001-11-30  José Matos <jamatos@fep.up.pt>
12621
12622         * buffer.C (makeDocBookFile): add a comment to point a hack.
12623         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12624         Fixed a double write of labels.
12625
12626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12627
12628         * LaTeX.C:
12629         * LaTeX.h Fixed bug in LaTeX class where it would not
12630         re-run latex if no depfiles were changed, but the .dvi was removed.
12631
12632 2001-11-28  André Pönitz <poenitz@gmx.net>
12633
12634         * all the files from the change on 2001/11/26:
12635         use lyx::layout_type instead of LyXTextClass::size_type
12636         use lyx::textclass_type instead of LyXTextClassList::size_type
12637
12638 2001-11-29  Juergen Vigna  <jug@sad.it>
12639
12640         * text.C: added support for paragraph::isFreeSpacing()
12641
12642         * buffer.C: same as above
12643
12644         * paragraph.h: inserted isFreeSpacing() function to enable
12645         FreeSpacing inside InsetERT.
12646
12647         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12648         of the paragraph's in the cut/copy buffer to 0!
12649
12650         * text2.C (removeRow): remove the assert as it can!
12651
12652         * lyxtext.h: added helper function firstRow returning firstrow and
12653         made firstrow private again.
12654
12655         * BufferView2.C (lockInset): don't relock if we're already locked!
12656
12657         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12658         the only paragraph.
12659         (removeRow): added Assert::(firstrow)
12660
12661         * debug.C: forgot to add INSETTEXT here.
12662
12663 2001-11-28  Juergen Vigna  <jug@sad.it>
12664
12665         * sp_spell.C (initialize): changed error text to more general
12666         spellchecker command use (not only ispell!)
12667
12668         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12669
12670         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12671
12672 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * vspace.C: initialise lyxgluelength on failure
12675
12676 2001-11-28  Allan Rae  <rae@lyx.org>
12677
12678         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12679         declaration & definition that looks like a function declaration.
12680
12681 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * BufferView2.C (copy):
12684         (copyEnvironment): do not clear the selection when doing a copy.
12685
12686         * text.C (paintFirstRow): compilation fix
12687
12688 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12689
12690         * tabular.C (Latex): correct line count when writing latex.
12691
12692 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * paragraph_pimpl.h:
12695         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12696           bug a bit
12697
12698 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * text.C:
12701         * LColor.h:
12702         * LColor.C: change vfillline->added_space
12703
12704         * text.C: add markers and text for added space
12705
12706         * vspace.C: fix comment
12707
12708 2001-11-28  André Pönitz <poenitz@gmx.net>
12709
12710         * paragraph.C: whitespace changes
12711         * all the other files from the change on 2001/11/26:
12712         change *::pos_type into lyx::pos_type
12713
12714 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12715
12716         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12717         language of the document when inserting error insets.
12718
12719 2001-11-26  André Pönitz <poenitz@gmx.net>
12720
12721         * BufferView_pimpl.[Ch]:
12722         *       CutAndPaste.C:
12723         * buffer.[Ch]:
12724         * lyxcursor.[Ch]:
12725         * lyxfind.C:
12726         * lyxfunc.C:
12727         * lyxrow.[Ch]:
12728         * paragraph.[Ch]:
12729         * paragraph_pimpl.[Ch]:
12730         * sp_spell.C:
12731         * text.C:
12732         * text2.C: reduce header dependencies, introduce type for positions
12733
12734 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12735
12736         * <various>: change to use Alert.h
12737
12738 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12739
12740         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12741         when encountering an unknown token.
12742         (readLyXformat2): Show an error message if there were unknown tokens.
12743
12744 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * BufferView2.C:
12747         * BufferView_pimpl.C:
12748         * buffer.C:
12749         * paragraph.h:
12750         * text.C:
12751         * text2.C: use par->isInset()
12752
12753 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * paragraph_pimpl.h:
12756         * paragraph_pimpl.C: cleanup
12757
12758 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * text2.C (removeRow):
12761         * text.C (setHeightOfRow): remove useless (and costly) call to
12762         getRow.
12763
12764 2001-11-20  Allan Rae  <rae@lyx.org>
12765
12766         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12767         Now need Inset*::checkInsertChar() to return true for appropriate
12768         cases so that the characters in the minibuffer will actually be
12769         inserted.
12770
12771 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * text.C: change the order of the includes.
12774         (workWidth): initialize it at once.
12775         (workWidth): make maxw unsigned
12776         (setHeightOfRow): remove unused variable (inset)
12777         (selectSelectedWord): remove unused variable (inset)
12778         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12779
12780 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12781
12782         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12783         server is not running.
12784         (openConnection):
12785         (closeConnection): add debug info when server is disabled.
12786
12787         * ColorHandler.C (getGCForeground): send debug message to GUI
12788         channel.
12789
12790         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12791
12792         * kbmap.C (bind): modify because return conventions of
12793         kb_sequence::parse have changed.
12794
12795         * kbsequence.C (parse): only ignore spaces and not any stupid
12796         control character. This avoids tests like s[i] <= ' ', which are
12797         guaranteed to fail with 8bit characters and signed chars.
12798         Change return code to string::npos when there have been no error
12799         (0 was a bad idea when error is at first character)
12800
12801 2001-11-14  José Matos  <jamatos@fep.up.pt>
12802
12803         * buffer.h:
12804         * buffer.C (simpleDocBookOnePar): removed unused argument.
12805
12806 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12809         insets which are part of a word. Paragraph::isLetter takes care of
12810         that now. Use Paragraph::isInset to identify insets.
12811         (selectSelectedWord): do not test for hyphenation break.
12812
12813         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12814         that protected spaces are considered as spaces.
12815
12816         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12817         Inset::isLetter.
12818
12819 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * lyxserver.h:
12822         * lyxserver.C: fix it. and small cleanup.
12823
12824 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12825
12826         * BufferView_pimpl.C: use inline helpers
12827
12828         * LaTeXFeatures.h:
12829         * LaTeXFeatures.C: fix typos
12830
12831         * Spacing.h:
12832         * Spacing.C: move spacing_string into class
12833
12834         * ToolbarDefaults.C: move stuff into namespace anon
12835
12836         * layout.h: update enum
12837
12838         * lyxfunc.C: use better debug
12839
12840         * minibuffer.h: fix typo
12841
12842         * debug.h:
12843         * debug.C:
12844         * WorkArea.C: add and use Debug::WORKAREA
12845
12846         * lyxtext.h:
12847         * text.C:
12848         * text2.C: code re-organisation, inline helpers
12849
12850 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12851
12852         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12853         std::vector.empty().
12854
12855 2001-11-09  Allan Rae  <rae@lyx.org>
12856
12857         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12858         '\n's after tables.  Tabular and ERT inset work now makes this no
12859         longer necessary.
12860
12861 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * minibuffer.h:
12864         * minibuffer.C: fix crash, improve drop-down completion
12865
12866 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * lyxserver.h:
12869         * lyxserver.C: invalidate fd's when doing endPipe()
12870
12871 2001-11-08  José Matos  <jamatos@fep.up.pt>
12872
12873         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12874         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12875
12876         * paragraph.h:
12877         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12878
12879 2001-11-07  José Matos  <jamatos@fep.up.pt>
12880
12881         * buffer.h:
12882         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12883         const qualifier.
12884
12885         * buffer.C (sgmlOpenTag):
12886         * buffer.C (sgmlCloseTag): removed debug info.
12887
12888         * buffer.h (sgmlOpenTag):
12889         * buffer.h (sgmlCloseTag): made public.
12890
12891 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12892
12893         * buffer.C (saveParamsAsDefaults):
12894         * lyx_cb.C (MenuLayoutSave): remove
12895
12896         * LyXAction.C (init):
12897         * commandtags.h:
12898         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12899
12900 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12901
12902         * buffer.C (setPaperStuff): removed from here...
12903
12904         * bufferparams.C (setPaperStuff): ... and moved there.
12905
12906 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * minibuffer.h:
12909         * minibuffer.C:
12910         * XFormsView.C: add support for drop-down completion
12911
12912 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12915         commands.
12916
12917 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12920         disabled.
12921
12922 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * lyx_main.C: change ref to known bugs
12925
12926 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12927
12928         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12929         to work around older babel problems.
12930
12931 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12932
12933         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12934
12935 2001-10-24  Juergen Vigna  <jug@sad.it>
12936
12937         * tabular-old.C (ReadOld): below variable changes reflected.
12938
12939         * tabular.[Ch]: added ltType struct for longtable header/footer
12940         defines and changed all instances where they are used. Added
12941         future support for double top/bottom rows.
12942
12943 2001-10-24  José Matos  <jamatos@fep.up.pt>
12944
12945         * buffer.h (docbookHandleCaption):
12946         * buffer.C (docbookHandleCaption): removed unused function.
12947         (makeDocBookFile): moved docbook supported version to v4.1.
12948
12949 2001-10-24  José Matos  <jamatos@fep.up.pt>
12950
12951         * tabular.h:
12952         * tabular.C (docbookRow): new function to export docbook code of a row.
12953         (DocBook): now honors the longtable flags.
12954
12955 2001-10-23  José Matos  <jamatos@fep.up.pt>
12956
12957         * LaTeXFeatures.h:
12958         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12959         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12960
12961         * buffer.C (makeLinuxDocFile):
12962         (makeDocBookFile): reworked the preamble, more clean, and with
12963         support for lyx defined entities. Changed the document declaration
12964         to be more XML friendly.
12965
12966         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12967         if we need to output XML that should be done with a filter.
12968
12969 2001-10-22  Juergen Vigna  <jug@sad.it>
12970
12971         * sp_pspell.h (class PSpell): add alive function needed in the
12972         controller to see if the spellchecker could be started.
12973
12974 2001-10-22  Juergen Vigna  <jug@sad.it>
12975
12976         * buffer.C (insertStringAsLines): modify the font for inserting
12977         chars in certain conditions by calling checkInsertChar(font).
12978
12979 2001-10-19  Juergen Vigna  <jug@sad.it>
12980
12981         * text.C (workWidth): use getRow instead of wrong algorithm.
12982         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12983
12984 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * lyxserver.h:
12987         * lyxserver.C:
12988         * lyx_main.h:
12989         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12990
12991 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * text.C (workWidth): do not search for the exact row when
12994         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12995         optimization for big documents.
12996
12997 2001-10-18  Juergen Vigna  <jug@sad.it>
12998
12999         * text.C (workWidth): new function with added Inset * parameter.
13000
13001 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13004
13005         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13006         change return type of getColumnNearX.
13007
13008
13009         * text.C (changeRegionCase): use uppercase/lowercase instead of
13010         toupper/tolower.
13011         (leftMargin):
13012         (rightMargin): simplify code by factoring out the uses of
13013         textclasslist.
13014         (labelFill):
13015         (numberOfHfills):
13016         (setHeightOfRow):
13017         (appendParagraph): use Paragraph::size_type
13018
13019 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13020
13021         * vspace.C (asLatexString): add a missing break
13022
13023 2001-10-15  Herbert Voss  <voss@perce.de>
13024
13025         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13026
13027 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13030         is not available.
13031
13032 2001-10-10  André Pönitz <poenitz@gmx.net>
13033
13034         * lyxfunc.C: removed greek_kb_flag.
13035
13036 2001-10-10  Herbert Voss  <voss@perce.de>
13037
13038         * lyx_main.C: delete global string help_lyxdir.
13039
13040 2001-10-09  Herbert Voss  <voss@perce.de>
13041
13042         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13043
13044         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13045
13046         * lyx_main.C: added global string help_lyxdir.
13047
13048         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13049
13050 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13051
13052         * lyxrc.C (set_font_norm_type): support iso8859-4
13053
13054 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13055
13056         * LaTeX.C (deplog): add another regex for MikTeX
13057
13058 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13059
13060         * lyxrc.C (set_font_norm_type): support iso8859-3
13061
13062 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13065
13066         * LaTeXFeatures.C: remove special case of french and index
13067
13068         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13069         before \begin{document}). This solves several incompatibilities.
13070
13071 2001-10-03  Garst Reese  <reese@isn.net>
13072
13073         * lyx_cb.C: change CheckTex error msg.
13074
13075 2001-10-03  José Matos  <jamatos@fep.up.pt>
13076
13077         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13078
13079 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * .cvsignore: update
13082
13083         * lyx_main.C (commandLineVersionInfo): use new style version info.
13084
13085         * buffer.C (writeFile):
13086         (makeLaTeXFile):
13087         (makeLinuxDocFile):
13088         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13089
13090         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13091
13092         * version.h: update to use stuff in version.C
13093
13094         * version.C.in: new file. Contains version information determined
13095         at compile time. This is a merging of version.h and
13096         version_info.h.in.
13097
13098 2001-10-03  Juergen Vigna  <jug@sad.it>
13099
13100         * BufferView_pimpl.C (update): don't change "dirty" status in
13101         updateInset call.
13102
13103 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * WorkArea.C (c-tor): re-position version string slightly.
13106
13107 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13108
13109         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13110         revert to previous code.
13111
13112         WorkArea.[Ch]: (show, destroySplash): methods removed.
13113
13114         WorkArea.C: rework code so that it's an amalgam of the codes before and
13115         after the splash screen was moved to WorkArea.
13116
13117 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13118
13119         * lyxrc.C (read):
13120         * vspace.C (inPixels):
13121         (lyx_advance):
13122         * kbmap.C (bind):
13123         * buffer.C (insertStringAsLines):
13124         (asciiParagraph): fix types to be large enough
13125
13126         * lyxlex_pimpl.h: change member status from short to int
13127
13128         * layout.h: fix type of endlabeltype
13129
13130         * kbmap.C (bind):
13131         * kbsequence.C (parse): change return type to string::size_type
13132
13133         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13134         variable
13135
13136         * Bullet.C (bulletSize):
13137         (bulletEntry): do not use short ints as parameters
13138
13139         * BufferView2.C (insertLyXFile): change a char to an int.
13140
13141         * WorkArea.C (WorkArea): remove unneeded floats in computation
13142
13143 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13144
13145         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13146
13147         * paragraph.C (asString): Do not ignore newline/hfill chars when
13148         copying to the clipboard.
13149
13150 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13153         after a multi-line inset.
13154
13155 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13156
13157         * paragraph.C (validate): Set NeedLyXFootnoteCode
13158
13159 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13160
13161         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13162         and decrease-error to decrease.
13163
13164 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13167         it more readable (should be equivalent)
13168
13169 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13170
13171         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13172
13173 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13176         of a cursor (row, etc.) after a character has been deleted
13177         (deleteEmptyParagraphMechanism): call the method above on _all_
13178         cursors held by the LyXText when a double space has been
13179         detected/deleted.
13180
13181 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13182
13183         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13184         pixmap.
13185         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13186
13187         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13188         background. Use greyOut() and the new show() methods to toggle between
13189         the foreground and background. Add code to remove the splash after
13190         its initial showing.
13191
13192         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13193         (create_forms): no longer call Dialogs::showSplash.
13194
13195 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13196
13197         * .cvsignore: add version_info.h
13198
13199 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * version_info.h.in: new file
13202
13203         * Makefile.am: add version_info.h.in
13204
13205         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13206         version_info.h instead of VERSION_INFO
13207
13208 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13209
13210         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13211         The ERT inset now returns string().
13212
13213 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13214
13215         * lyxtext.h, text.C (selectNextWord): renamed as
13216         selectNextWordToSpellcheck.
13217
13218         * text.C (selectNextWordToSpellcheck): Modified to not select
13219         words inside an ERT inset.
13220
13221 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * lyx_cb.C (MenuLayoutSave): change a bit the question
13224
13225         * sp_base.h: include <sys/types.h>
13226
13227 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13228
13229         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13230
13231 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13232
13233         * several files: fix typos in user-visible strings
13234
13235 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * text2.C (pasteSelection): do not set the selection, since it
13238         will be cleared later. Actually, the intent was to fix the way the
13239         selection was set, but I figured rmoving the code was just as good.
13240
13241 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13242
13243         * FontLoader.C (available): Check if font is available without
13244         loading the font.
13245
13246 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13247
13248         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13249
13250 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13251
13252         * lyxrc.[Ch]: added display_graphics variable and associated code.
13253
13254 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13255
13256         * bufferparams.C (hasClassDefaults): new method. Returns true if
13257         the buffer parameters correspond to known class defaults
13258
13259 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * XFormsView.C (show): set minimum size to the main window.
13262
13263 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * text2.C (copySelection):
13266         (cutSelection):
13267         * lyxfind.C (LyXReplace):
13268         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13269         LyXText::selectionAsString.
13270
13271         * paragraph.C (asString): add "label" argument to the second form
13272
13273         * text2.C (selectionAsString): add "label" argument and pass it to
13274         Paragraph::asString.
13275
13276 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * lyx_main.C (commandLineHelp): remove version information
13279
13280 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13281
13282         * lyx_main.C: add -version commandline option
13283
13284 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * paragraph.h: make the optional constructor arg required instead.
13287         some modifications to other files because of this.
13288
13289         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13290
13291         * lyxserver.C (C_LyXComm_callback): make it static
13292
13293         * lyx_main.C (error_handler): make it static
13294
13295         * lyx_gui.C (LyX_XErrHandler): make it static
13296
13297         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13298
13299         * WorkArea.C: make the extern "C" methods static.
13300
13301         * Makefile.am (lyx_LDADD): simplify
13302
13303 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13306         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13307
13308         * LyXAction.C (init):
13309         * lyxfunc.C (dispatch): associated code removal.
13310
13311 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * lyxfont.h (isSymbolFont): shut off warning
13314
13315         * text.C (setHeightOfRow):
13316         (getVisibleRow): fix crash with empty paragraphs which have a
13317         bottom line
13318
13319 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13320
13321         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13322         code.
13323
13324 2001-09-04  José Matos  <jamatos@fep.up.pt>
13325         * buffer.C
13326         * buffer.h
13327         * tabular.C (docbook): rename docBook method to docbook.
13328
13329 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13330
13331         * Makefile.am: add dependencies to main.o.
13332
13333 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * FontLoader.C (available): Return false if !lyxrc.use_gui
13336
13337 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13338
13339         * FontInfo.C (query):
13340         * converter.C (view):
13341         * importer.C (Import):
13342         * exporter.C (Export): Can not -> cannot.
13343
13344 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * BufferView_pimpl.C: allow to create index inset even if
13347           string is empty
13348
13349 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13350
13351         * buffer.C (getLists): replace boost::tie code with an explicit pair
13352         as boost::tie can break some compilers.
13353
13354         * iterators.h: Added a std:: declaration to the return type of
13355         ParIterator::size.
13356
13357 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13360           case.
13361
13362 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * iterators.[Ch]: New files. Provide paragraph iterators.
13365
13366         * buffer.C (changeLanguage): Use paragraph iterators.
13367         (isMultiLingual): ditto
13368
13369         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13370
13371 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13372
13373         * FontLoader.C: Support for cmr font.
13374
13375 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13376
13377         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13378         (available): New method.
13379
13380         * FontInfo.C (getFontname): Use scalable fonts even when
13381         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13382         found.
13383
13384 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13385
13386         * converter.C (Formats::view): reverted! Incorrect fix.
13387
13388 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * converter.C (Formats::view): only output the -paper option
13391         if the dvi viewer is xdvi, thereby fixing bug #233429.
13392
13393 2001-08-23  Herbert Voss  <voss@perce>
13394
13395         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13396
13397 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13398
13399         * Spacing.h (Spacing): Set space to Default on in the default
13400         constructor.
13401
13402 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * vc-backend.h (RCS::versionString): add RCS to version
13405         (CVS::versionString): add CVS to version
13406
13407         * vc-backend.C (scanMaster): do not add CVS to version.
13408         (scanMaster): do not add RCS to version
13409
13410         * lyxvc.C (versionString): new method
13411
13412         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13413
13414 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * Spacing.C (set): initialize fval
13417
13418 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13419
13420         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13421         " or \.
13422
13423 2001-08-16  Juergen Vigna  <jug@sad.it>
13424
13425         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13426
13427 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * BufferView_pimpl.C:
13430         * figureForm.C:
13431         * lyxtext.h:
13432         * text2.C: setParagraph takes linespacing now
13433
13434 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * LyxAction.C: add internal LFUN_CITATION_INSERT
13437
13438         * LyXView.C: actually apply fix
13439
13440         * bufferlist.C: fix open non-existent file
13441
13442         * lyxfind.C: fix indentation
13443
13444         * lyxfunc.C: remove unneeded assert, fix typo
13445
13446 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * MenuBackend.C: use "Floatname List"
13449
13450 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13451
13452         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13453         when converting LaTeX layout to insetERT.
13454         Generate a non-collapsed float when reading old float
13455
13456 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13457
13458         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13459         ERT insets.
13460
13461 2001-08-13  Juergen Vigna  <jug@sad.it>
13462
13463         * text.C (fill): return 0 instead of 20 as this seems to be the more
13464         correct value.
13465
13466 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13467
13468         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13469         lyxrc.font_norm.
13470
13471 2001-08-13  Juergen Vigna  <jug@sad.it>
13472
13473         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13474         casesensitive off.
13475         (SearchBackward): comment out the unlocking of the inset_owner this
13476         should not be needed!
13477
13478 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * Many files: Remove inherit_language, and add latex_language
13481
13482         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13483         collapsible insets.
13484
13485 2001-08-10  Juergen Vigna  <jug@sad.it>
13486
13487         * text.C (prepareToPrint): fixed hfill-width in draw!
13488
13489         * BufferView2.C (selectLastWord): save the selection cursor as this
13490         now is cleared in the function LyXText::clearSelection!
13491
13492 2001-08-08  Juergen Vigna  <jug@sad.it>
13493
13494         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13495         BACKSPACE type functions.
13496
13497         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13498         is only cutted from the document but not put in the cut-buffer, where
13499         still the old stuff should be.
13500
13501         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13502
13503         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13504
13505         * tabular.C (SetWidthOfCell): fixed special case where the width
13506         was not updated!
13507         (LeftLine): handle '|' in align_special.
13508         (RightLine): ditto
13509         (LeftAlreadyDrawed): ditto
13510         (SetWidthOfCell): ditto
13511
13512 2001-08-07  Juergen Vigna  <jug@sad.it>
13513
13514         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13515
13516 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13519         * lyxlex.[hC]: ditto
13520
13521 2001-08-06  Juergen Vigna  <jug@sad.it>
13522
13523         * text.C (getVisibleRow): fix up row clearing a bit.
13524
13525 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13526
13527         * minibuffer.C: make sure the X server sees the changes in the input.
13528
13529 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * paragraph.C (getFont): split into...
13532         (getLabelFont): this
13533         (getLayoutFont): and this
13534         * paragraph_pimpl.C (realizeFont): calling this
13535
13536         * text2.C (getFont): split into...
13537         (getLayoutFont): this
13538         (getLabelFont): and this
13539         (realizeFont): all three calling this
13540
13541         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13542         files where used.
13543
13544 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13547
13548 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13549
13550         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13551         layouts from the Quote inset insertion.
13552
13553 2001-08-03  Juergen Vigna  <jug@sad.it>
13554
13555         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13556
13557         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13558         only if status not is already CHANGED_IN_DRAW (second level).
13559
13560         * text.C (draw): don't set the need_break_row when inside an
13561         InsetText LyXText.
13562
13563 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * buffer.C (parseSingleLyXformat2Token): handle more latex
13566         conversion cases.
13567
13568         * bufferview_funcs.[hC]: change function names to
13569         begin with small char, adjust other files.
13570
13571 2001-08-02  André Pönitz <poenitz@gmx.net>
13572
13573         * lyxfunc.C:
13574         BufferView_pimpl.C: remove broken special code for math-greek
13575
13576 2001-08-02  Juergen Vigna  <jug@sad.it>
13577
13578         * BufferView_pimpl.C (update): redone this function so that we
13579         update the text again if there was a CHANGE_IN_DRAW.
13580
13581         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13582         (drawFromTo): added a new internal bool which is used by draw() and
13583         redraw() function.
13584         (general): some cursor drawing problems fixed.
13585
13586 2001-08-01  Juergen Vigna  <jug@sad.it>
13587
13588         * lyxfind.C (LyXFind): fixed
13589         (SearchForward): ditto
13590         (SearchBackward): ditto
13591
13592         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13593         spurius drawing of the cursor in the main area.
13594
13595         * text2.C (status): small fix which could lead to a segfault!
13596         (clearSelection): remove unneeded BufferView param.
13597
13598 2001-08-01  André Pönitz <poenitz@gmx.net>
13599
13600         * lyxfunc.C: small change due to changed mathed interface
13601
13602 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13603
13604         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13605
13606 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyxfunc.c: fail gracefully if file doesn't exist
13609
13610         * LyXSendto.C:
13611         * buffer.C:
13612         * lyxfunc.C:
13613         * BufferView_pimpl.C: IsDirWriteable() proto changed
13614
13615         * LyXView.C: fix updateWindowTitle() to store the last title
13616
13617 2001-07-31  Juergen Vigna  <jug@sad.it>
13618
13619         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13620         the font (wrong since using of Paragraph::highestFontInRange).
13621
13622         * paragraph.C (highestFontInRange): added a default_size parameter.
13623
13624         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13625         (setHeightOfRow): reformat
13626
13627 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * converter.[hC] + affected files: move to (inital-char)lowercase
13630         function names.
13631
13632         * ParagraphParameters.C (ParagraphParameters): remove commented code
13633
13634         * PainterBase.[Ch]: remove commented code
13635
13636         * LaTeXFeatures.h: add "bool floats" for float.sty
13637
13638         * LaTeXFeatures.C (LaTeXFeatures): init floats
13639         (require): handle float
13640         (getPackages): do it with floats
13641
13642 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * BufferView_pimpl.C (Dispatch): improve handling of
13645         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13646
13647         * commandtags.h: #include lyxfont.h here temporarily to avoid
13648         keybinding bug.
13649
13650         * bufferlist.h: include LString.h here.
13651
13652 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * text2.C (getStringToIndex): new method.
13655
13656 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13657
13658         * *: Reduced header file dependencies all over.
13659
13660 2001-07-30  Baruch Even  <baruch@lyx.org>
13661
13662         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13663
13664 2001-07-29  Baruch Even  <baruch@lyx.org>
13665
13666         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13667
13668 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13669
13670         * ParameterStruct.h (endif): add a default constructor to make
13671         sure that all variables is initialized.
13672
13673         * ParagraphParameters.C (ParagraphParameters): adjust
13674
13675 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13678         index; also, check that there is something to index, and that it
13679         does not span over several paragraphs.
13680         (doubleClick): use WHOLE_WORD_STRICT for double click.
13681
13682         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13683
13684         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13685         scheme.
13686
13687 2001-07-26  Baruch Even  <baruch@lyx.org>
13688
13689         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13690         an InsetFig figure, backwards compatible reading of old figure code.
13691
13692 2001-07-27  Juergen Vigna  <jug@sad.it>
13693
13694         * text2.C: font.realize function adaption.
13695
13696         * text.C (draw): add a warnings lyxerr text if needed.
13697
13698         * layout.C: font.realize function adaption.
13699
13700         * language.C: add inherit_language and implement it's handlings
13701
13702         * bufferview_funcs.C (StyleReset): remove language parameter from
13703         font creation (should be language_inherit now).
13704
13705         * bufferparams.C (writeFile): handle ignore_language.
13706
13707         * paragraph.C (getFontSettings): the language has to be resolved
13708         otherwise we have problems in LyXFont!
13709
13710         * lyxfont.C (lyxWriteChanges): added document_language parameter
13711         (update): removed unneeded language parameter
13712
13713         * paragraph.C (validate): fixed wrong output of color-package when
13714         using interface colors for certain fonts in certain environments,
13715         which should not seen as that on the final output.
13716
13717 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * BufferView_pimpl.C:
13720         * Thesaurus.h:
13721         * Thesaurus.C:
13722         * Makefile.am:
13723         * commandtags.h:
13724         * LyXAction.C: add thesaurus support
13725
13726         * lyxfind.h:
13727         * lyxfind.C: add "once" parameter, for thesaurus, to not
13728           move to the next match
13729
13730 2001-07-26  Juergen Vigna  <jug@sad.it>
13731
13732         * lyxfont.C (realize): honor ignore_language too!
13733         (resolved): ditto.
13734
13735         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13736
13737         * text.C (draw): one place more for ignore_language to not draw
13738         itself!
13739
13740 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13743
13744 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13747         the minipage conversion problem.
13748
13749 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13752         insert an inset.
13753
13754 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * BufferView.h: don't forward declare WorkArea
13757
13758         * BufferView.C: don't include WorkArea.h
13759
13760 2001-07-25  André Pönitz <poenitz@gmx.net>
13761
13762         * commandtags.h:
13763         * LyXAction.C:
13764         * lyxfunc.C:  new LFUN 'math-space'
13765
13766         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13767
13768 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * text2.C (toggleInset): call open/close
13771
13772 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * lyxfunc.C (dispatch): add debug for the disabled case
13775
13776         * font.C (buttonText): make similar to rectText
13777
13778         * buffer.C (readInset): comment out parsing of insetlist and
13779         insttheorem
13780
13781         * PainterBase.C (rectText): small correction
13782
13783         * BufferView_pimpl.C: comment out insettheorem and insetlist
13784         * LyXAction.C: ditto
13785         * commandtags.h: ditto
13786
13787 2001-07-24  Juergen Vigna  <jug@sad.it>
13788
13789         * text.C (draw): honor the ignore_language.
13790
13791         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13792
13793 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13796         char inset.
13797
13798 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13799
13800         * lyxtext.h: remove unused (and unimplemented) methods
13801
13802 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13803
13804         * text.C (getVisibleRow): honor background color
13805
13806         * PainterBase.h:
13807         * Painter.h: remove default color argument for fillRectangle
13808
13809         * text.C (backgroundColor): new method
13810
13811 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13812
13813         * text.C (getVisibleRow): adjust
13814
13815         * font.[Ch] (rectText): new method, metrics
13816         (buttonText): new method, metrics
13817
13818         * PainterBase.[hC]: make rectText and buttonText always draw and take
13819         fewer paramteres.
13820
13821 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13822
13823         * ToolbarDefaults.C (read):
13824         * MenuBackend.C (read): allow escaping in all strings
13825
13826         * BufferView_pimpl.C (insertAndEditInset): new method.
13827         (Dispatch): use insertAndEditInset whenever appropriate.
13828
13829         * BufferView_pimpl.C (insertNote): removed
13830
13831         * BufferView_pimpl.C (smartQuote): new method, moved from
13832         BufferView; if an insetquote cannot be inserted, insert a '"'
13833         character instead.
13834
13835         * BufferView2.C: remove insertCorrectQuote();
13836
13837         * lyxfunc.C (getStatus): Add support for all remaingin
13838         inset-insert lfuns.
13839
13840         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13841
13842         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13843         command (necessary to pass " as parameter of self-insert.
13844
13845         * text.C (selectWordWhenUnderCursor):
13846         (selectWord): add word_location parameter
13847         (selectWordWhenUnderCursor): same + remove special code for word
13848         boundary.
13849         (selectNextWord): use kind() to guess type of insetspecialchar,
13850         not latex().
13851
13852         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13853         (insertErtContents): create ert insets as collapsed.
13854         (readInset): better compatibility code for Info inset.
13855
13856 2001-07-20  Juergen Vigna  <jug@sad.it>
13857
13858         * lyxfunc.C (dispatch): use always LyXFind now!
13859
13860         * text2.C (init): add a reinit flag so that the LyXText can be
13861         reinited instead of deleted and reallocated (used in InsetText).
13862
13863         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13864
13865         * text.C: ditto
13866
13867         * text2.C: ditto
13868
13869 2001-07-18  Juergen Vigna  <jug@sad.it>
13870
13871         * text.C (selectNextWord): handle insets inside inset by calling
13872         always the bv->text functions so that we can go up the_locking_inset!
13873
13874         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13875         in strange locations when inside an inset!
13876
13877         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13878         handling to include insets.
13879
13880         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13881
13882 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13883
13884         * LyXAction.C (init):
13885         * commandtags.h:
13886         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13887         LIGATURE_BREAK, since the name is so stupid.
13888
13889 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13892         InsetInfos.
13893
13894         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13895
13896         * sp_form.[Ch]: remove.
13897
13898         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13899
13900         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13901         InsetInfo.
13902
13903         * src/buffer.C (readInset): ditto.
13904
13905 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13906
13907         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13908         menuSeparator(), endOfSentenceDot(), ldots() and
13909         hyphenationPoint(), which are therefore removed.
13910         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13911
13912         * LyXAction.C (init):
13913         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13914
13915         * paragraph.C (getWord): removed.
13916
13917         * BufferView_pimpl.C (Dispatch): use last word or selection for
13918         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13919
13920         * lyx_main.C (queryUserLyXDir): do not ask before creating
13921         user_dir, except if it has been named explicitely.
13922
13923 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13926         a document of zero size.
13927
13928 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13929
13930         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13931         approriately in the c-tor and in require().
13932         (getPackages): output the appropriate LaTeX for natbib support.
13933
13934         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13935         variables "use_natbib" and "use_numerical_citations" when reading the
13936         LyX file.
13937         (readInset): read the various natbib cite commands.
13938         (validate): white-space change.
13939
13940         * bufferparams.[Ch]: new variables "bool use_natbib" and
13941         "bool use_numerical_citations".
13942         (writeFile): output them in the LyX file.
13943
13944 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13945
13946         * lyxfunc.C (getStatus): add support for all the inset insertion
13947         commands.
13948
13949         * text2.C (insertInset):
13950         * paragraph.C (insetAllowed):
13951         * BufferView_pimpl.C (insertInset): update to take in account the
13952         renaming of insertInsetAllowed
13953
13954         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13955
13956         * text2.C (getInset): new method. returns inset at cursor position.
13957
13958         * BufferView_pimpl.C (Dispatch): changes because of this.
13959
13960         * LyXAction.C (init): rename open-stuff to inset-toggle.
13961
13962         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13963
13964         * text2.C (toggleInset): renamed from openStuff; use
13965         Inset::open().
13966
13967 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13968
13969         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13970
13971         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13972
13973 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * buffer.C (readLyXformat2): Add filename to the error dialog
13976
13977 2001-07-18  Juergen Vigna  <jug@sad.it>
13978
13979         * tabular.C (GetCellNumber): put an assert here instead of the check!
13980
13981 2001-07-17  Juergen Vigna  <jug@sad.it>
13982
13983         * BufferView_pimpl.C (toggleSelection): adapted too.
13984
13985         * text.C (selectNextWord): adapted for use with insets.
13986         (selectSelectedWord): ditto
13987
13988 2001-07-17  Juergen Vigna  <jug@sad.it>
13989
13990         * sp_spell.C (PSpell): fix initialitation order.
13991
13992 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * paragraph.C: spacing
13995
13996 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13997
13998         * sp_spell.C: repair language selection for pspell
13999
14000 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * lyxfunc.h: change more methods to begin with lower char.
14003
14004 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14007         for unknown layouts.
14008
14009 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * buffer.C (readLyXformat2): Generate an error dialog if there are
14012         unknown layouts.
14013
14014 2001-07-16  Juergen Vigna  <jug@sad.it>
14015
14016         * sp_spell.C: always compile ISpell part.
14017
14018         * lyxrc.C: added use_pspell entry and it's handling.
14019
14020 2001-07-13  Juergen Vigna  <jug@sad.it>
14021
14022         * sp_spell.C: removed double includes.
14023
14024 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14025
14026         Consistent use of Lsstream.h:
14027         * Lsstream.h: added using std::stringstream for consistencies sake.
14028
14029         * buffer.C: removed using std::stringstream
14030
14031         * lyxfont.C (stateText):
14032         * paragraph.C (asString):
14033         * text.C (selectNextWord, selectSelectedWord):
14034         * text2.C (setCounter):
14035         * vspace.C (asString, asLatexString):
14036         std::ostringstream -> ostringstream.
14037
14038 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14039
14040         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14041         * commandtags.h: add LFUN_HELP_ABOUTLYX
14042         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14043
14044 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14045
14046         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14047         cursorToggle()
14048         * lyx_gui_misc.C: remove spellchecker
14049         * lyxfunc.C: showSpellchecker
14050         * sp_base.h: added
14051         * sp_ispell.h: added
14052         * sp_pspell.h: added
14053         * sp_spell.C: added
14054         * sp_form.[Ch]: removed
14055         * spellchecker.[Ch]: removed
14056
14057 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14058
14059         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14060         is set.
14061         (simpleTeXSpecialChars): Simply print the input character without
14062         any special translation if pass_thru is set.
14063
14064         * layout.h: Added bool pass_thru to layout class for being able to
14065         implement pass through of a paragraph for Literate Programming.
14066
14067         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14068         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14069         * layout.C (Read): add "passthru" to list of layout tags and add
14070         code to set the pass_thru boolean when it is read.
14071
14072 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * trans_decl.h: remove allowed from KmodInfo
14075
14076         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14077         remove allowed code
14078         (Load): adjust
14079
14080         * paragraph_pimpl.C (erase): use boost::prior
14081
14082         * Painter.C (text): use data() instead of c_str() when length is
14083         also provided.
14084         * WorkArea.C (putClipboard): ditto
14085         * font.h (width): ditto
14086
14087         * BufferView2.C: use it-> instead of (*it). for iterators
14088         * texrow.C: ditto
14089         * paragraph_pimpl.C: ditto
14090         * paragraph.C: ditto
14091         * minibuffer.C: ditto
14092         * language.C: ditto
14093         * kbmap.C: ditto
14094         * encoding.C: ditto
14095         * counters.C: ditto
14096         * converter.C: ditto
14097         * chset.C: ditto
14098         * Variables.C: ditto
14099         * TextCache.C: ditto
14100         * MenuBackend.C: ditto
14101         * LyXAction.C: ditto
14102         * LColor.C: ditto
14103         * FloatList.C: ditto
14104         * DepTable.C: ditto
14105         * ColorHandler.C (LyXColorHandler): ditto
14106
14107 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14108
14109         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14110
14111         * text2.C (openStuff): reintroduce this method (which had been
14112         nuked in NEW_INSETS frenzy).
14113
14114         * lyxfunc.C (Dispatch): when an action has not been handled, use
14115         its name in the error message, not its number.
14116
14117         * paragraph.C (inInset): change method name to begin with lowercase.
14118
14119         * undo_funcs.C:
14120         * text2.C: updates because of this.
14121
14122 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14123
14124         * ToolbarDefaults.C (add): add spaces in error message
14125
14126 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14127
14128         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14129         (readLyXformat2): rename return_par to first_par, use lyxlex's
14130         pushToken and remove the manual push handling.
14131         (parseSingleLyXformat2Token): add another ert comp. variable:
14132         in_tabular, rename return_par to first_par. handle newlines better
14133
14134 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14137
14138 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14139
14140         * text2.C (getParFromID): removed
14141
14142         * buffer.C (getParFromID): new method moved form lyxtext.
14143         * BufferView2.C (insertErrors): adjust
14144         (setCursorFromRow): adjust
14145         * BufferView_pimpl.C (restorePosition): adjust
14146         * lyxfunc.C (Dispatch): adjust
14147         * undo_funcs.C (textUndo): adjust
14148         (textRedo): adjust
14149         (textHandleUndo): adjust
14150         (textHandleUndo): adjust
14151
14152 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14153
14154         * buffer.C: up' the LYX_FORMAT
14155
14156         * lyxfont.h: turn NO_LATEX on as default
14157
14158         * buffer.C (insertErtContents): new methods of tex style compability.
14159         (parseSingleLyXformat2Token): use it several places.
14160         * tabular.C (OldFormatRead): and here
14161
14162 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14163
14164         * text2.C: remove some commented code.
14165         reindent file.
14166
14167         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14168         * trans.C: changes because of the above.
14169
14170 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * text2.C (setCounter): Fix counters bug with bibliography layout.
14173
14174 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14175
14176         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14177         own member functions
14178         (simpleTeXSpecialChars): ditto
14179
14180 2001-07-06  Juergen Vigna  <jug@sad.it>
14181
14182         * a lot of files: changed the access to LyXText::status and the
14183         call of undo-functions.
14184
14185         * undo.[Ch]: added a inset_id to the undo informations.
14186
14187         * undo_funcs.[Ch]: added and moved here all undo functions.
14188
14189         * lyxtext.h: give the status enum a weight, made status_ a private
14190         variable and made accessor functions for it, removed the whole bunch
14191         of undo-functions as they are now in their own file, make some
14192         functions publically available. Added function ownerParagraph with
14193         int parameter.
14194
14195         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14196         made InInset() a const function, added getParFromID() function.
14197
14198         * buffer.[Ch]: added const version for inset_iterator functions,
14199         added getInsetFromID() function.
14200
14201         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14202         changed undo functions for new version.
14203
14204 2001-07-05  Juergen Vigna  <jug@sad.it>
14205
14206         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14207         unknow mechanism does not call the proper constructor but only this
14208         one also if I request the other!?
14209
14210 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14211
14212         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14213
14214         * text2.C (LyXText): use initialization lists.
14215
14216         * lyxtext.h (Selection): initialize set_ and mark_
14217         (init): remove method
14218
14219 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14222
14223 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14224
14225         * screen.[Ch]: change method names to begin with lowercase
14226
14227         * BufferView_pimpl.C (updateScrollbar): simplify further and
14228         hopefully make it a bit faster.
14229
14230 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14233         calling directly xforms functions.
14234
14235         * Painter.C (Painter):
14236         * lyx_cb.C (MenuWrite):
14237         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14238         fl_display.
14239
14240         * lyx_gui.C: remove bogus guiruntime extern declaration.
14241
14242 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14245         in NEW_INSETS
14246         (redoDrawingOfParagraph): ditto
14247         (redoParagraphs): ditto
14248         (cutSelection): don't create a object for CutAndPaste use the
14249         static method directly
14250         (pasteSelection): ditto
14251
14252         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14253         LyXview (+ rename)
14254
14255 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14256
14257         * modifications to some other files because of this.
14258
14259         * Makefile.am (lyx_SOURCES): add XFormsView
14260
14261         * XFormsView.[Ch]: new files
14262
14263         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14264         the main window. Move the gui dependent stuff to XFormsView
14265
14266 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * tabular.C (GetCellInset): update cur_cell also in the row/col
14269         version of this function.
14270
14271         * lyxfunc.C: no need to include figure_form.h here.
14272
14273         * FontLoader.h:
14274         * lyxfunc.h:
14275         * lyxscreen.h:
14276         * text2.C:
14277         * lyxvc.C: no need to include forms.h here.
14278
14279 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14282
14283         * lyxfunc.C (Dispatch):
14284         * Spacing.C (set):
14285         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14286         constructor argument.
14287
14288 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14289
14290         * paragraph.C (Paragraph): dont't clear, and just set layout.
14291         (makeSameLayout): use params's copy contructor.
14292
14293         * ParagraphParameters.[Ch] (makeSame): delete method
14294
14295 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * Variables.[Ch]: fix indentation, rename set to isSet
14298
14299 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * lyxfunc.C (Dispatch): fix typo
14302
14303 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14306         upper_bound.
14307
14308         * bufferlist.C: include assert.h for emergencyWrite().
14309
14310 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14311
14312         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14313           give up at last (bug #425202) !
14314
14315 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14316
14317         * lyx_gui_misc.C:
14318         * sp_form.h:
14319         * sp_form.C:
14320         * spellchecker.h:
14321         * spellchecker.C: strip spellchecker options and bring up
14322           preferences tab instead
14323
14324 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14325
14326         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14327         the istringstream constructor
14328
14329 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * paragraph.C (getLayout): fix return value
14332
14333         * paragraph.h: do not declare getLayout as inline.
14334
14335         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14336
14337 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14338
14339         * lyxcursor.h (operator<): new func
14340         (operator>): new func
14341         (operator>=): new func
14342         (operator<=): new func
14343
14344         * text.C (changeCase): use selection.start and selection.end
14345         (changeRegionCase): require from to be <= to. Require par to be a
14346         valid paragraph.
14347
14348         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14349
14350 2001-06-27  Juergen Vigna  <jug@sad.it>
14351
14352         * text.C (cursorLeftOneWord): changed to return the cursor and added
14353         overlay with BufferView * parameter which calls this one.
14354         (getWord): added
14355         (selectWord): use new getWord function.
14356         (changeCase): renamed from changeWordCase as and extended to work
14357         also on selections.
14358
14359         * lyxtext.h: added enum word_location
14360
14361         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14362         changeCase as this operates now also on selections.
14363
14364 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14365
14366         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14367
14368         * many files: send debug output to Debug::INFO instead of
14369         Debug::ANY.
14370
14371         * converter.C (View):
14372         (Convert):
14373         (Move): send debug output to Debug::FILES instead of console.
14374
14375 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14376
14377         * lyxfunc.C (getStatus): use func_status
14378
14379         * func_status.h: new header, describing the results of
14380         LyXFunc::getStatus;
14381
14382         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14383         LFUN_MATH_HALIGN.
14384
14385 2001-06-25  The LyX Project  <jug@sad.it>
14386
14387         * buffer.C (sgmlOpenTag):
14388         (sgmlCloseTag):
14389         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14390
14391 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * text2.C: remove some dead code
14394
14395         * tabular.C (GetCellInset): store the last cell checked (gotten)
14396
14397         * tabular.h: add the helper for the speedup
14398
14399         * lyxtext.h: remove some dead code
14400
14401 2001-06-26  The LyX Project  <Asger>
14402
14403         * paragraph.C: Change export to LaTeX of alignment to
14404         \begin{center} and family for better roundtrip work with reLyX.
14405
14406         * Tune the math drawing a bit.
14407
14408 2001-06-25  The LyX Project  <Asger>
14409
14410         * LColor.C (LColor): New color for math background. New color
14411         for buttons.
14412
14413 2001-06-25  The LyX Project  <jug@sad.it>
14414
14415         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14416
14417         * lyxfunc.C (Open):
14418         * bufferlist.C (newFile): do not restrict to files ending with
14419         .lyx
14420
14421         * BufferView_pimpl.C (MenuInsertLyXFile):
14422
14423 2001-06-24  The LyX Project  <jug@sad.it>
14424
14425         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14426         of compare_no_case
14427
14428 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * lyxtext.h: rename most methods to begin with a small char.
14431         Lots of changes because of this.
14432
14433         * paragraph.C (Paragraph): do not call fitToSize
14434         (erase): call Pimpl::erase
14435         (insertChar): call Pimpl::insertChar
14436         (insertInset): call Pipl::insertInset
14437         (breakParagraph): do not call fitToSize
14438         (breakParagraphConservative): do not call fitToSize
14439         (fitToSize): remove method
14440
14441         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14442
14443 2001-06-24  The LyX Project  <Asger>
14444
14445         * Fix Qt compilation^2
14446
14447 2001-06-24  The LyX Project  <jug@sad.it>
14448
14449         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14450         depthHook(getDepth()-1).
14451
14452         * paragraph.h:
14453         * ParagraphParameters.h:
14454         * ParameterStruct.h: change type of depth to unsigned int ==
14455         depth_type. Many adaptations to other files before of that.
14456
14457 2001-06-24  The LyX Project  <Asger>
14458
14459         * Fix Qt compilation.
14460
14461 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * paragraph.h: renamed several methods to begin with small letter.
14464         several changes to many parts of the code because of this.
14465
14466 2001-06-23  The LyX Project  <jug@sad.it>
14467
14468         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14469         rewritten to discard all double spaces when KeepEmpty is off
14470         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14471         to only handle newlines but not fiddle with spaces and friends.
14472
14473         * lyxfunc.C (MenuNew): when doing 'new from template', use
14474         template_path as default directory
14475
14476 2001-06-23  The LyX Project  <Asger>
14477
14478         * Clean-up of header file includes all over
14479         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14480
14481 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * paragraph.h: renamed from lyxparagraph.h
14484
14485 2001-06-23  Asger  <lyx@violet.home.sad.it>
14486
14487         * Buffer.h: Removed Buffer::resize
14488         * BufferList.h: Removed BufferList::resize
14489         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14490         the document lazily when we change the width, or the font settings.
14491
14492 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14495
14496 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * buffer.h: remove out of date comment
14499
14500 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * lyxscreen.h:
14503         * screen.C: fix "theoretical" GC leak
14504
14505 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * LaTeX.C (scanAuxFile):
14508         (deplog): remove trailing \r when reading stream (useful under
14509         win32)
14510
14511 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14512
14513         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14514         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14515         and BufferView::theLockingInset(Inset*), so should use them and not
14516         access bv_->text->the_locking_inset directly.
14517
14518         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14519
14520 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * Makefile.am:
14523         * tex-defs.h: remove old unused file
14524
14525 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * BufferView_pimpl.C: fix typo, remove minibuffer message
14528           when buffer has loaded
14529
14530 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * lyxfunc.C (Dispatch): use stringstream
14533         (MenuNew): use stringstream
14534         (Open): use stringstream
14535
14536         * importer.C (Import): use stringstream
14537
14538         * bufferview_funcs.C (CurrentState): use stringstream
14539
14540         * LaTeX.C (run): use stringstream
14541
14542         * BufferView_pimpl.C (savePosition): use stringstream
14543         (restorePosition): use stringstream
14544         (MenuInsertLyXFile): use stringstream
14545
14546 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14547
14548         * BufferView.C:
14549         * Bullet.C:
14550         * ColorHandler.C:
14551         * FontInfo.C:
14552         * FontLoader.C:
14553         * LColor.C:
14554         * LaTeXFeatures.C:
14555         * Painter.C:
14556         * gettext.C:
14557         * lyx_gui_misc.C:
14558         * lyxserver.C:
14559         * vspace.C: removed // -*- C++ -*- as first line.
14560
14561         * lyxfind.h:
14562         * version.h: added // -*- C++ -*- as first line.
14563
14564 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14565
14566         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14567
14568         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14569         of string
14570
14571 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14574         of floats.
14575
14576 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * gettext.C: include LString.h even when --disable-nls is on.
14579
14580 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * converter.h (Get): changed argument type from int to
14583         FormatList::size_type to avoid unnecessary conversion.
14584
14585         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14586         before using it.
14587
14588 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14589
14590         * gettext.h: include LString.h even when --disable-nls is on.
14591
14592 2001-06-07  Juergen Vigna  <jug@sad.it>
14593
14594         * text.C (BreakAgain): subst spaces with tabs.
14595
14596         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14597         (resizeInsetsLyXText): set force on resizeLyXText.
14598
14599 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * gettext.h (gettext_init):
14602         (locale_init): use a real definition instead of a macro
14603
14604 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * Bufferview_pimpl.C:
14607         * LColor.h:
14608         * LColor.C: further lcolor tidies
14609
14610 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * BufferView_pimpl.C (updateScrollbar): simplify.
14613
14614         * BufferView2.C: don't include insets/insetinfo.h, change
14615         prototype for insertInset and call the Pimpl version. let
14616         updateInset call Pimpl version.
14617
14618         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14619         gotoInset to BufferView::Pimpl
14620
14621 2001-06-01  Juergen Vigna  <jug@sad.it>
14622
14623         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14624         inside a LockingInset (is the update needed at all?).
14625
14626 2001-05-31  Juergen Vigna  <jug@sad.it>
14627
14628         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14629         here not the old one otherwise how should we compare it afterwards
14630         if it's the same!
14631
14632 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14633
14634         * lyxfont.C:
14635         * tabular.C:
14636         * tabular-old.C:
14637         * FontInfo.C: bring C functions into global namespace when
14638         necessary
14639
14640 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14641
14642         * LString.h: make sure config.h has been loaded before LString.h.
14643
14644         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14645         (one for each char read by EatLine!).
14646
14647         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14648         variables.
14649
14650 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14653         to the same as the par we break from
14654
14655 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14658
14659         * MenuBackend.C (expand): also create menu entries for wide
14660         versions of the floats.
14661
14662         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14663
14664         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14665
14666         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14667         frontends/Makefile.am
14668
14669         * text2.C: adjust
14670         * text.C: adjust
14671
14672
14673         * tabular.C (getTokenValue): add std::
14674
14675         * tabular-old.C (getTokenValue): add std::
14676         (getTokenValue): ditto
14677         (getTokenValue): ditto
14678
14679         * screen.C (ToggleSelection): adjust
14680
14681         * lyxtext.h: put selection cursors inside a Selection struct.
14682
14683         * lyxfunc.C (moveCursorUpdate): adjust
14684
14685         * lyxfont.C (latexWriteStartChanges): add std::
14686
14687         * lyxfind.C: adjust
14688
14689         * font.h: delete with(char const *, LyXFont const &)
14690
14691         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14692
14693         * FontInfo.C (getFontname): add std::
14694
14695         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14696         (workAreaButtonPress): adjust
14697         (tripleClick): adjust
14698         (update): adjust
14699         (moveCursorUpdate): adjust
14700         (Dispatch): adjust
14701
14702         * BufferView2.C (gotoInset): adjust
14703
14704 2001-05-30  Juergen Vigna  <jug@sad.it>
14705
14706         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14707         to check pspell I add this as default as I now have new pspell
14708         libraries and they seem to use this.
14709
14710 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * text2.C (CutSelection): make the cursor valid before the call to
14713         ClearSelection.
14714
14715 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14716
14717         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14718         relied on 0 terminated strings and other horrors. Bug found due to
14719         the new assert in lyxstring!
14720
14721         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14722         KP_ keys.
14723
14724 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14727         to latinkeys.bind.
14728
14729         * lyxfunc.C (processKeySym): change method of getting to the
14730         self-insert char.
14731
14732         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14733         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14734         * BufferView_pimpl.[Ch]: here as private methods.
14735
14736 2001-05-28  Juergen Vigna  <jug@sad.it>
14737
14738         * text.C (SetHeightOfRow): added the update() call again as it is
14739         needed to initialize inset dimensions!
14740
14741 2001-05-16  Juergen Vigna  <jug@sad.it>
14742
14743         * text2.C (SetCharFont): Add new function with BufferView * and
14744         bool toggleall parameters for setting insets internal fonts.
14745         (SetFont): Freeze the undo as we may change fonts in Insets and
14746         all this change should be inside only one Undo!
14747
14748         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14749         setting font's in insets as for them we have the SetFont function!
14750
14751 2001-05-15  Juergen Vigna  <jug@sad.it>
14752
14753         * text2.C (ClearSelection): to be sure we REALLY don't have any
14754         selection anymore!
14755
14756         * tabular.C (TeXCellPreamble): fixed the left border problem for
14757         multicolumn cells.
14758
14759 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14762         dependancy file
14763
14764 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14767         LFUN_BREAKPARAGRAPH.
14768
14769         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14770         help test to "internal only", similar for LFUN_INSERT_URL
14771
14772         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14773         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14774         auto_region_delete and deadkeys.
14775
14776 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * LColor.h:
14779         * LColor.C: remove some dead entries, tidy a little
14780
14781 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14784         commented code.
14785         (Dispatch): implement LFUN_ESCAPE
14786
14787         * commandtags.h: add LFUN_ESCAPE
14788
14789         * LyXAction.C (init): add entry for LFUN_ESCAPE
14790
14791         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14792         Remove commented code.
14793         (insertNote): moved here
14794         (open_new_inset): moved here
14795
14796         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14797         BufferView_pimpl
14798
14799 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * kbmap.C (findbinding): clean it up and make it work correctly.
14802
14803         * lyx_main.C (init): do not pass argc and argv as parameters
14804
14805 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14806
14807         * buffer.C: fix path for OS/2 & Win32
14808
14809         * lyx_gui.C:
14810         * lyx_main:
14811         * lyx_main.C: Added os:: class.
14812
14813         * os2_defines.h: update
14814
14815 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14818         better by trying again with reduced state.
14819
14820 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * lyxrc.C (read): print error about invalid key sequence only when
14823         debugging (because not all latinX keysyms are known to some X
14824         servers)
14825
14826         * kbsequence.C (getiso): add a few std:: qualifiers
14827         (getiso): comment out extra return statement.
14828
14829 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14832         handling.
14833         (Dispatch): enhance the accent inset a bit. (not perfect)
14834
14835 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14838
14839 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * bufferlist.C (emergencyWrite): fix assert() call
14842
14843 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14844
14845         * text.C (InsertChar): Added trivial patch to only send the "you
14846         can not do multiple spaces this way" message once during a
14847         session.
14848
14849 2001-05-08  Baruch Even  <baruch@lyx.org>
14850
14851         * Makefile.am: Changed order of libraries to get LyX to link properly
14852         with the gnome frontend.
14853
14854 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * LaTeXFeatures.h: add a std:: qualifier
14857
14858 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * paragraph.C (String): use stringstream
14861
14862 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * paragraph.C (writeFile): remove footflag arg
14865
14866         * buffer.C (makeLaTeXFile): use stringstream
14867         (latexParagraphs): remove footnot gurba
14868
14869         * LaTeXFeatures.C (getPackages): use stringstream
14870         (getMacros): likewise
14871         (getTClassPreamble): likewise
14872         (getFloatDefinitions): new method
14873
14874         * paragraph.C (writeFile): reindent
14875         (Erase): reindent
14876
14877         * WorkArea.h: revert the xpos + etc changes.
14878
14879         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14880
14881         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14882
14883         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14884         (pasteSelection): likewise
14885         * text2.C (CreateUndo): likewise
14886
14887 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * minibuffer.C (peek_event): temporarily reduce the functionality
14890         of the minibuffer (to allow args on lfuns)
14891
14892         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14893         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14894
14895         * buffer.C (readInset): add compability reading of old float
14896         lists, add reading of new style float list.
14897         (readInset): avoid reevaluation of inscmd.getCmdName()
14898         (getLists): reindent
14899
14900         * MenuBackend.C (MenuItem): implement parsing of
14901         md_floatlistinsert and md_floatinsert.
14902         (expand::LastFiles): move initalizaton of iterators out of loop,
14903         avoid reevaluation.
14904         (expand::Documents): introduce typdedef vector<string> Strings,
14905         and use it.
14906         (expand::ExportFormats): introduce typedef vector<Format const *>
14907         Formats, and use it.
14908         (expand): implement FloatListInsert and FloatInsert.
14909
14910         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14911         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14912         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14913
14914         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14915         handling.
14916         (Dispatch::LFUN_FLOAT_LIST): implement
14917
14918 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14919
14920         * LaTeX.C (run): Fix problem with --export code.
14921
14922 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14923
14924         * BufferView.[Ch] (workarea): removed.
14925         (getClipboard) new method; wrapper for workarea()->getClipboard()
14926
14927         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14928         bug.
14929
14930         * WorkArea.h (width, height, xpos, ypos): These methods all
14931         returned the dimensions of the work_area sub-area of WorkArea,
14932         resulting in a position error if the WorkArea were resized. Now
14933         return the dimensions of the entire WorkArea.
14934
14935         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14936
14937 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * LaTeX.C (deplog): correct the syntax of regex reg1
14940
14941 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14942
14943         * undo.C: remove !NEW_INSETS cruft
14944
14945 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * text2.C: remove !NEW_INSETS cruft
14948
14949         * text.C: remove !NEW_INSETS cruft
14950
14951         * tabular.C: remove !NEW_INSETS cruft
14952
14953         * spellchecker.C: remove !NEW_INSETS cruft
14954
14955         * lyxtext.h: remove !NEW_INSETS cruft
14956
14957         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14958
14959         * lyxfunc.C: remove !NEW_INSETS cruft
14960
14961         * lyxfind.C: remove !NEW_INSETS cruft
14962
14963         * lyx_cb.C: remove !NEW_INSETS cruft
14964
14965         * figureForm.C: remove  !NEW_INSETS cruft
14966
14967         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14968
14969         * buffer.[Ch]: remove !NEW_INSETS cruft
14970
14971         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14972
14973         * CutAndPaste.C: remove !NEW_INSETS cruft
14974
14975         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14976
14977         * BufferView2.C: remove !NEW_INSETS cruft
14978
14979         * BufferView.h: remove !NEW_INSETS cruft
14980
14981 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * Lsstream.h: include LString.h before the sstream headers to
14984         fix problem with gcc 2.95.3 and lyxstring
14985
14986 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * lyx_main.C: add using directives when needed for C functions
14989         declared in std:: namespace.
14990
14991 2001-04-27  Juergen Vigna  <jug@sad.it>
14992
14993         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14994         (SetHeightOfRow): comment out the update call should not be needed!
14995
14996 2001-04-13  Juergen Vigna  <jug@sad.it>
14997
14998         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14999         (LyXTabular): tried to minimize operator= operations (and realized
15000         hopfully Lars wish).
15001
15002 2001-04-27  Juergen Vigna  <jug@sad.it>
15003
15004         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15005
15006 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15009
15010         * buffer.C (readInset): hack to make listof algorithm work
15011
15012         * BufferView_pimpl.C: hack to make listof algorithm work
15013
15014 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * LyXAction.C: removed all !NEW_INSETS cruft
15017         (init): moved lfun_item in method
15018
15019         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15020
15021 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15022
15023         * BufferView2.C (theLockingInset): white space.
15024
15025 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15026
15027         * minibuffer.C: include <iostream>
15028
15029         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15030
15031         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15032
15033         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15034
15035         * text.[Ch] (TransposeChars): new method
15036
15037 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15038
15039         * call message directly through LyXView instead of through LyXFunc
15040         * BufferView2.C: adjust
15041         * BufferView_pimpl.C: adjust
15042         * FontLoader.C: adjust
15043         * buffer.C: adjust
15044         * bufferview_funcs.C: adjust
15045         * converter.C: adjust
15046         * figureForm.C: adjust
15047         * importer.C: adjust
15048         * lyx_cb.C: adjust
15049         * lyx_gui_misc.C: adjust
15050         * lyxfunc.C: adjust
15051         * lyxvc.C: adjust
15052         * text2.C: adjust
15053         + more files in subdirs
15054
15055         * lyxparagraph.h (size): move up int file
15056         (GetLayout): ditto
15057
15058         * adjust all uses of Assert to lyx::Assert.
15059
15060         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15061         lyxfunctional in namespace lyx
15062         * layout.C (hasLayout): ditto
15063         (GetLayout): ditto
15064         (GetLayout): ditto
15065         (delete_layout): ditto
15066         (NumberOfClass): ditto
15067         * converter.C (GetFormat): ditto
15068         (GetNumber): ditto
15069         (Add): ditto
15070         (Delete): ditto
15071         (SetViewer): ditto
15072         * bufferlist.C (getFileNames): ditto
15073         (emergencyWriteAll): ditto
15074         (exists): ditto
15075         (getBuffer): ditto
15076         * MenuBackend.C (hasSubmenu): ditto
15077         (hasMenu): ditto
15078         (getMenu): ditto
15079         * BufferView_pimpl.C (getInsetByCode): ditto
15080
15081 2001-04-18  Juergen Vigna  <jug@sad.it>
15082
15083         * vspace.C (asLatexString): fixed the 100% problem.
15084
15085 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15086
15087         * lyxfunc.C (Dispatch):
15088         * minibuffer.C:
15089         * minibuffer.h: add a few std:: qualifiers
15090
15091 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * minibuffer.[Ch]: reimplement so that commands is initiated and
15094         run from lyxfunc, simplified som handling, and made the completion
15095         and history code for complete. wip.
15096
15097         * lyxfunc.C (processKeySym): call message
15098         (miniDispatch): new temporary method
15099         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15100         (LFUN_MESSAGE): implement
15101         (LFUN_MESSAGE_PUSH): implement
15102         (LFUN_MESSAGE_POP): implement
15103         (initMiniBuffer): the initial/defualt minibuffer message.
15104
15105         * lyxfont.[Ch]: inline some more getters
15106
15107         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15108
15109         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15110
15111         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15112         (AutoSave): use LFUN_MESSAGE
15113         (Reconfigure): ditto
15114
15115         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15116
15117         * figureForm.C: use LFUN_MESSAGE
15118
15119         * converter.C (runLaTeX): use LFUN_MESSAGE
15120
15121         * bufferview_funcs.C: use LFUN_MESSAGE
15122         (Melt): ditto
15123         (changeDepth): ditto
15124
15125         * bufferparams.h: use boost::
15126
15127         * bufferlist.h: inherit privately from noncopyable
15128
15129         * bufferlist.C (loadLyXFile): remove some commented code.
15130
15131         * buffer.C (runChktex): use LFUN_MESSAGE
15132
15133         * ShareContainer.h: inherit privately from noncopyable
15134
15135         * ParagraphParameters.[hC] (depth): inline it.
15136
15137         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15138         methods.
15139         (message): new method
15140         (messagePush): ditto
15141         (messagePop): ditto
15142         (show): init minibuffer
15143         (showState): direct call
15144
15145         * LaTeX.[Ch]: inherit privately from noncopyable
15146         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15147         instead of WriteStatus.
15148
15149         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15150
15151         * BufferView_pimpl.C (buffer): don't init minibuffer
15152         (workAreaButtonPress): use LFUN_MESSAGE
15153         (workAreaButtonRelease): ditto
15154         (savePosition): ditto
15155         (restorePosition): ditto
15156         (MenuInsertLyXFile): ditto
15157         (workAreaExpose): don't init minibuffer
15158         (update): remove commented code, simplify
15159
15160         * BufferView2.C (openStuff): use LFUN_MESSAGE
15161         (toggleFloat): ditto
15162         (menuUndo): ditto
15163         (menuRedo): ditto
15164         (copyEnvironment): ditto
15165         (pasteEnvironment): ditto
15166         (copy): ditto
15167         (cut): ditto
15168         (paste): ditto
15169         (gotoInset): ditto
15170         (updateInset): remove some commented code
15171
15172         * lastfiles.h: inherit privately from noncopyable
15173         * layout.h: ditto
15174         * lyx_gui.h: ditto
15175         * lyx_main.h: ditto
15176         * lyxlex.h: ditto
15177         * lyxlex_pimpl.h: ditto
15178
15179         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15180         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15181         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15182
15183         * LyXAction.h: inherit privately from noncopyable, add methods
15184         func_begin, func_end, returning iterators to the func map.
15185
15186         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15187         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15188         (func_begin): new method
15189         (func_end): new method
15190
15191         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15192         and not)
15193         (copySelection): ditto
15194         (pasteSelection): ditto
15195
15196         * BufferView.C: whitespace change
15197         * BufferView.h: inherit privately from noncopyable
15198
15199 2001-04-16  Allan Rae  <rae@lyx.org>
15200
15201         * tabular-old.C (l_getline):
15202         * spellchecker.C (sc_check_word):
15203         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15204         an unrecognised preprocessor directive.  So ensure they're wrapped.
15205
15206 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * src/exporter.C (Export): Give an error message when path to file
15209         contains spaces.
15210
15211 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15212
15213         * LaTeX.C (deplog): Always check that foundfile exists.
15214
15215 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * lyx_main.h:
15218         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15219
15220 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15221
15222         * tabular.[Ch] (getLabelList): implement new method
15223
15224         * minibuffer.h: comment ouf setTiimer
15225
15226         * minibuffer.C (ExecutingCB): constify res
15227         (peek_event): constify s
15228         (Set): constify ntext
15229         (Init): constify nicename
15230
15231         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15232
15233         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15234         (savePosition): use two params to Minibuffer::Set
15235         (restorePosition): ditto
15236
15237 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * lyx_main.C: include language.h
15240
15241         * Makefile.am (lyx_main.o): add language.h
15242
15243 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * exporter.C:
15246         * paragraph.C:
15247         * screen.C:
15248         * tabular.C:
15249         * CutAndPaste.C: include gettext.h
15250
15251         * lyxfont.h: remove old hack with ON and OFF.
15252
15253         * lyxparagraph.h:
15254         * lyxfont.h: do not include language.h...
15255
15256         * BufferView2.C:
15257         * LaTeXFeatures.C:
15258         * Painter.C:
15259         * bufferview_funcs.C:
15260         * font.C:
15261         * lyxfont.C:
15262         * text.C:
15263         * text2.C:
15264         * trans_mgr.C:
15265         * paragraph.C: ... but do it here instead
15266
15267 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15268
15269         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15270
15271         * tabular.C: small reformat
15272
15273         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15274         NEW_INSETS version
15275         (GetChar): ditto
15276         (BreakParagraph): ditto
15277         (SetOnlyLayout): ditto
15278         (SetLayout): ditto
15279
15280         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15281         with one arg less.
15282
15283         * lastfiles.C: removed most using decl, add std:: where needed
15284
15285         * buffer.C: ws changes
15286
15287         * MenuBackend.C (class compare_format): put into anon namespace
15288         (expand): constify label, names, action, action2
15289         (expand):
15290
15291         * text.C (SingleWidth): constify font
15292         (IsBoundary): constify rtl2
15293         (GetVisibleRow): constify ww
15294
15295         * LaTeX.C (deplog): constify logfile
15296
15297         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15298         start_x, end_x
15299         (workAreaExpose): constify widthChange, heightChange
15300
15301         * lyxrow.C (par): moved
15302         (height): moved
15303         (next): moved
15304         * lyxrow.h: as inlines here
15305
15306         * lyxfont.h (shape): moved from lyxfont.C
15307         (emph): moved from lyxfont.C
15308
15309         * lyxfont.C (LyXFont): use initialization list for all
15310         constructors
15311         (shape): move to lyxfont.h as inline
15312         (emph): move to lyxfont.h as inline
15313
15314
15315 2001-04-04  Juergen Vigna  <jug@sad.it>
15316
15317         * vspace.C: had to include stdio.h for use of sscanf
15318
15319 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * BufferView.h:
15322         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15323         independent of xforms.
15324
15325 2001-04-02  Juergen Vigna  <jug@sad.it>
15326
15327         * spellchecker.C: fixed namespace placing!
15328
15329 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15332         the LyXParagraph * is 0.
15333
15334 2001-03-29  Juergen Vigna  <jug@sad.it>
15335
15336         * vspace.C: added support for %, c%, p%, l%.
15337         (stringFromUnit): added helper function.
15338         (asLatexString): changed to give right results for the %-values.
15339
15340         * buffer.C: convert the widthp in a width%.
15341
15342 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15343
15344         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15345         figureForm.[Ch].
15346
15347         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15348         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15349
15350         * lyx_cb.[Ch]: see above.
15351
15352         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15353         form1.[Ch].
15354
15355         * form1.[Ch]:
15356         * lyx.[Ch]: replaced by figure_form.[Ch].
15357
15358         * lyx_gui.C:
15359         * lyx_gui_misc.C:
15360         * lyxfunc.C: changed headers associated with above changes.
15361
15362 2001-03-27  Juergen Vigna  <jug@sad.it>
15363
15364         * BufferView_pimpl.C: set the temporary cursor right!
15365
15366 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15369
15370 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15371
15372         * LString.h: removed "using std::getline"!
15373
15374         * BufferView_pimpl.C (Dispatch): changes due to changes in
15375         InsetInclude::Params.
15376
15377         * buffer.C (tag_name): removed redundant break statements as they were
15378         producing lots of warnings with my compiler.
15379
15380 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * LString.h: add "using std::getline" when using the real <string>.
15383
15384 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15385
15386         * buffer.C: removed bitset usage.
15387         PAR_TAG moved to an anonymous name space.
15388         (tag_name): new funtion, also in the anonymous namespace.
15389         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15390         (makeDocBookFile): clean code. Completed transition from string arrays
15391         to string vectors.
15392         (SimpleDocBookOnePar): code clean.
15393
15394 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15395
15396         * tabular.C: add some comments.
15397
15398 2001-03-22  Juergen Vigna  <jug@sad.it>
15399
15400         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15401         compatibility read a bit and fixed bug with minipage in different
15402         depth.
15403
15404 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15405
15406         * buffer.C (pop_tag): removed.
15407         (push_tag): removed.
15408         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15409         array replaced with vector. Added support for CDATA sections.
15410         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15411         at any nest level.
15412         (makeDocBookFile): XML conformant declaration of CDATA section,
15413         fixed bug related to <emphasis> in the first paragraph char.
15414         (sgmlOpenTag): exclude empty tags.
15415         (sgmlCloseTag): ditto.
15416
15417         * buffer.h (pop_tag): removed.
15418         (push_tag): removed.
15419
15420 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15421
15422         * language.h (Languages): added size_type and size().
15423
15424 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15425
15426         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15427         response on compability reading of minipages. One probliem is that
15428         the old usage of minipages was «flertydig»
15429
15430         * several files here and in subdirs: don't use static at file
15431         scope use anon namespaces instead.
15432
15433 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15434
15435         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15436         LaTeX output. This is necessary for Literate document
15437         processing.
15438
15439 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15440
15441         * buffer.C: insert hfill when needed.
15442
15443         * tabular.C (l_getline): use string::erase, small whitespace change.
15444
15445         * BufferView_pimpl.C: try the anon namespace.
15446         * WorkArea.C: ditto
15447
15448 2001-03-16  Juergen Vigna  <jug@sad.it>
15449
15450         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15451         otherwise it won't open options-dialogs.
15452
15453         * buffer.C: honor pextraWidth(p) on converting minipages.
15454
15455         * tabular.C (l_getline): changed the functions to strip trailing \r.
15456
15457 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15458
15459         * BufferView_pimpl.C:
15460         * minibuffer..C: added "using SigC::slot" declaration.
15461
15462 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15463
15464         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15465
15466         * text2.C: ditto
15467
15468         * text.C: ditto
15469
15470         * paragraph.C: ditto
15471
15472         * lyxtext.h: NO_PEXTRA
15473
15474         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15475
15476         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15477         * ParameterStruct.h: ditto
15478         * ParagraphParameters.h: ditto
15479         * lyxparagraph.h: ditto
15480
15481 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15482
15483         * buffer.C: add compability for minipage alignment.
15484         (latexParagraphs): remove unwanted pextra check.
15485
15486         * several files: remove CXX_WORKING_NAMESPACES
15487
15488         * buffer.C (pop_tag): tie is in namespace boost
15489
15490         * BufferView.h: noncopyable is in namespace boost
15491         * lyxlex.h: ditto
15492         * lyx_main.h: ditto
15493         * lyx_gui.h: ditto
15494         * layout.h: ditto
15495         * lastfiles.h: ditto
15496         * bufferlist.h: ditto
15497         * ShareContainer.h: ditto
15498         * LyXView.h: ditto
15499         * LyXAction.h: ditto
15500         * LaTeX.h: ditto
15501
15502 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15503
15504         * Merging changes from BRANCH_MVC back into HEAD.
15505
15506         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15507
15508 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * BufferView_pimpl.C: change from intl.C
15511
15512         * combox.h:
15513         * combox.C:
15514         * Makefile.am: move combox.*
15515
15516         * form1.h:
15517         * form1.C:
15518         * lyx_gui.C:
15519         * intl.h:
15520         * intl.C: remove dialog (covered by prefs)
15521
15522 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15523
15524         * lyxfunc.C (Dispatch): removed redundant break statement.
15525
15526 2001-03-14  Juergen Vigna  <jug@sad.it>
15527
15528         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15529
15530 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15531
15532         * buffer.C: add hack to fix compability reading of minipages.
15533
15534 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15535
15536         * buffer.C (getLists): Cleanup.
15537
15538 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * lyxfont.C (update): don't honor toggleall on font size.
15541
15542 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15543
15544         * bmtable.c:
15545         * bmtable.h:
15546         * Makefile.am: moved to frontends/xforms/
15547
15548         * lyx_gui_misc.C:
15549         * lyxfunc.C:
15550         * BufferView_pimpl.C: changes for moved mathpanel
15551
15552 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15553
15554         * gettext.h: fix gettext_init() in --disable-nls
15555
15556 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15557
15558         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15559
15560 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15561
15562         * lyx.C:
15563         * lyx.h: strip external form
15564
15565 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * BufferView_pimpl.C: add comment, destroySplash()
15568
15569 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15570
15571         * BufferView_pimpl.C:
15572         * LyXAction.C:
15573         * buffer.C:
15574         * commandtags.h:
15575         * lyxfunc.C: use re-worked insetinclude
15576
15577 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15578
15579         * buffer.C: add using std::stringstream.
15580
15581         * lyx_cb.C: readd using std::ios.
15582
15583         * buffer.C: add using std::map.
15584
15585         * BufferView_pimpl.C: add using std::vector.
15586
15587         * ShareContainer.h: add std:: to swap.
15588
15589         * buffer.h: add some typedefs
15590         * buffer.C (getLists): use them
15591         (getLists): renamed from getTocList.
15592         add a counter for the different float types and use it in the
15593         generated string.
15594         (getLists): use the same counter for the NEW_INSETS and the "non"
15595         NEW_INSETS
15596
15597         * lyx_cb.h: remove unused items, includes, using etc.
15598
15599         * ShareContainer.h: remove some commented code, add more comments
15600         and "documentation".
15601
15602 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15603
15604         * buffer.C (getTocList): make the list also when NEW_INSETS is
15605         defined.
15606
15607         * buffer.h: remove TocType
15608
15609         * buffer.C (getTocList): change to return a map<string,
15610         vector<TocItem> >, implement for dynamic number of list.
15611
15612         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15613         * text2.C (PasteSelection): adjust
15614         * CutAndPaste.C (pasteSelection): adjust
15615
15616         * FloatList.C (FloatList): update from the new_insets branch.
15617         * Floating.[Ch]: ditto
15618         * LaTeXFeatures.C: ditto
15619         * buffer.C: ditto
15620         * lyxlex_pimpl.C: ditto
15621
15622         * paragraph.C (Last): remove when NEW_INSETS is defined.
15623
15624         * other file: changes because of the above.
15625
15626 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15627
15628         * lyxparagraph.h: rename next to next_, previous to previous_,
15629         make them private for NEW_INSETS. Rename Next() to next(),
15630         Previous() to previous().
15631
15632         * other files: changes because of the above.
15633
15634 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * BufferView.h:
15637         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15638         problem.
15639
15640 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15641
15642         * main.C (main): pass lyx_localedir to gettext_init().
15643
15644         * gettext.h: remove locale_init and gettext_init macros
15645
15646         * gettext.C (locale_init): new function
15647         (gettext_init): new function
15648
15649         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15650         setlocale().
15651
15652 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15653
15654         * Moved credits to frontends:
15655         * credits.[Ch]: removed
15656         * credits_form.[Ch]: removed
15657         * lyx_gui_misc.C: remove credits stuff
15658         * Makefile.am:
15659
15660 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15661
15662         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15663
15664         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15665         unneeded destructor.
15666
15667         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15668         a standalone pointer again.
15669
15670         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15671
15672 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15673
15674         * Makefile.am:
15675         * filedlg.h:
15676         * filedlg.C:
15677         * LyXAction.C:
15678         * ToolbarDefaults.C:
15679         * bufferlist.C:
15680         * commandtags.h:
15681         * form1.C:
15682         * form1.h:
15683         * lyx_cb.C:
15684         * lyx_cb.h:
15685         * lyxfunc.h:
15686         * lyxfunc.C:
15687         * BufferView_pimpl.C: use new file dialog in GUII
15688
15689         * lyx_cb.h:
15690         * lyx_cb.C: remove LayoutsCB to Toolbar
15691
15692 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * ShareContainer.h (get): add std:: qualifier
15695
15696 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * ShareContainer.h: define a proper ShareContainer::value_type
15699         type (and use typename to please compaq cxx)
15700
15701 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15702
15703         * lyxparagraph.h: move serveral local vars to
15704         ParameterStruct/ParagraphParameters., use ShareContainer in
15705         FontTable., make vars in FontTable private and add getter and
15706         setter.
15707
15708         * paragraph.C: changes because of the above.
15709
15710         * lyxfont.h: remove copy constructor and copy assignment. (the
15711         default ones is ok), move number inside FontBits. move inlines to
15712         lyxfont.C
15713
15714         * lyxfont.C: add number to initializaton of statics, move several
15715         inlines here. constify several local vars. some whitespace
15716         cleanup. Dont hide outerscope variables.
15717
15718         * Spacing.h: add two new constructors to match the set methods.
15719
15720         * ShareContainer.h: new file, will perhaps be moved to support
15721
15722         * ParameterStruct.h: new file
15723
15724         * ParagraphParameters.h: new file
15725
15726         * ParagraphParameters.C: new file
15727
15728         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15729         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15730
15731         * BufferView_pimpl.C: ParagraphParameter changes.
15732         * buffer.C: Likewise.
15733         * bufferview_funcs.C: Likewise.
15734         * text.C: Likewise.
15735         * text2.C: Likewise.
15736
15737 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15738
15739         * lyxfind.C (LyXReplace): do not redefine default argument in
15740         implementation.
15741         (IsStringInText): ditto
15742         (SearchForward): ditto
15743         (SearchBackward): ditto
15744
15745 2001-03-06  Juergen Vigna  <jug@sad.it>
15746
15747         * lyxfind.C (IsStringInText): put parentes around expressions.
15748
15749 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15750
15751         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15752
15753 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15754
15755         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15756
15757         * stl_string_fwd.h: add comment
15758
15759         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15760
15761         * tabular.h:
15762         * tabular.C: remove unused DocBook methods
15763
15764         * intl.C:
15765         * language.C:
15766         * paragraph.C:
15767         * buffer.C:
15768         killed DO_USE_DEFAULT_LANGUAGE
15769
15770 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15771
15772         * lyx_gui.C: do not include language.h.
15773
15774         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15775         arguments in function implementation.
15776
15777 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15778
15779         * BufferView_pimpl.C: add <ctime>
15780
15781 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15782
15783         * BufferView_pimpl.C: add using std::find_if
15784
15785 2001-02-27  José Matos  <jamatos@fep.up.pt>
15786
15787         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15788         by OnlyPath.
15789
15790 2001-02-11  José Matos  <jamatos@fep.up.pt>
15791
15792         * buffer.C (makeDocBookFile): command styles now have a parameter as
15793         "title" by default.
15794
15795 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15796
15797         * layout_forms.[Ch]: removed
15798         * lyx_cb.[Ch]: out character
15799         * lyx_gui.C: out character
15800         * lyx_gui_misc.C: out character
15801         * bufferview_funcs.C: : out character,
15802         added toggleall as parameter in ToggleAndShow
15803
15804 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15807
15808         * text2.C (SetCurrentFont): Disable number property at boundary.
15809
15810 2001-02-26  Juergen Vigna  <jug@sad.it>
15811
15812         * lyxfunc.C (getStatus): added a string argument override function so
15813         that this is correctly called from LyXFunc::Dispatch if it contains a
15814         do_not_use_argument which is used!
15815         (Dispatch): added check for "custom" export and call appropriate func.
15816
15817 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15818
15819         * lyxrc.C: Add language_command_local, language_use_babel and
15820         language_global_options.
15821
15822         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15823
15824         * buffer.C (makeLaTeXFile): Use language_use_babel and
15825         language_global_options.
15826
15827 2001-02-23  Juergen Vigna  <jug@sad.it>
15828
15829         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15830         which works with LyXText and putted it inside BufferView. Here now we
15831         only call for that part the BufferView::Dispatch() function.
15832
15833         * BufferView.C (Dispatch): added.
15834
15835         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15836         functions which needs to use a LyXText over from LyXFunc.
15837         (MenuInsertLyXFile): added
15838         (getInsetByCode): added
15839         (moveCursorUpdate): added
15840         (static TEXT): added
15841
15842 2001-02-22  Juergen Vigna  <jug@sad.it>
15843
15844         * BufferView_pimpl.C (update): call a status update to see if LyXText
15845         needs it.
15846
15847 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15848
15849         * vc-backend.C (revert): implement for CVS
15850         (getLog): implement for CVS
15851
15852 2001-02-20  Juergen Vigna  <jug@sad.it>
15853
15854         * text2.C (ClearSelection): added BufferView param for inset_owner call
15855
15856         * lyxfunc.C (TEXT): added this function and use it instead of
15857         directly owner->view()-text of getLyXText().
15858
15859 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15860
15861         * src/layout_forms.C: out preamble
15862         * src/layout_forms.h: out preamble
15863         * src/lyx_cb.C: out preamble
15864         * src/lyx_cb.h: out preamble
15865         * src/lyx_gui.C: out preamble
15866         * src/lyx_gui_misc.C: out preamble
15867         * src/lyxfunc.C: connect with guii preamble
15868
15869 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15870
15871         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15872
15873 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15874
15875         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15876         whether to run bibtex.
15877
15878 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15879
15880         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15881
15882 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15883
15884         * Makefile.am (lyx_SOURCES): removed bibforms.h
15885
15886         * vspace.h: doxygen
15887
15888         * text.C (GetVisibleRow): make several local vars const
15889
15890         * tabular.C: small cleanup.
15891
15892         * lyxserver.C (callback): use compare instead of strncmp
15893
15894         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15895         inlines to after class or to paragraph.C
15896
15897         * lyxfont.h: remove friend operator!=
15898
15899         * converter.h: move friend bool operator< to non friend and after
15900         class def.
15901
15902         * combox.h: small cleanup
15903
15904         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15905         to inlines after class def.
15906
15907         * buffer.C (pop_tag): use string operations instead of strcmp
15908
15909         * bmtable.c: doxygen, small cleanup
15910
15911         * LaTeX.h: remove friend operator==
15912
15913 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15914
15915         * screen.C:
15916         * lyxrc.[Ch]:
15917         * lyxfunc.C:
15918         * lyxfont.[Ch]:
15919         * lyx_cb.C:
15920         * intl.[Ch]:
15921         * commandtags.h:
15922         * buffer.C:
15923         * WorkArea.[Ch]:
15924         * LyXAction.C:
15925         * BufferView_pimpl.C:
15926         * BufferView.[Ch]: remove cruft
15927
15928 2001-02-14  Juergen Vigna  <jug@sad.it>
15929
15930         * lyxfunc.C: removed #if 0 unused code
15931
15932         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15933
15934         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15935
15936         * text2.C (SetSelection): added a BufferView * parameter
15937
15938 2001-02-13  Juergen Vigna  <jug@sad.it>
15939
15940         * lyxfunc.C (Dispatch): fixed protected blank problem.
15941         * BufferView2.C (protectedBlank): added LyxText * parameter.
15942
15943         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15944         (AppendColumn): same as above for column_info.
15945
15946         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15947         (moveCursorUpdate): use a LyXText param for support of InsetText.
15948
15949         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15950         (tripleClick): ditto
15951
15952         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15953
15954         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15955
15956         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15957
15958         * text2.C (SetSelection): set correct update status if inset_owner
15959         (ToggleFree): ditto
15960
15961 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15962
15963         * tabular.C: remove some commented code.
15964
15965 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15966
15967         * BufferView_pimpl.C: call hideSplash()
15968
15969         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15970
15971         * include_form.h:
15972         * bibforms.h: remove
15973
15974         * lyxfunc.C:
15975         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15976           add LFUN_CHILD_CREATE
15977
15978         * counters.h: fix tiny typo
15979
15980         * lyx_cb.C:
15981         * lyx.h:
15982         * lyx_gui.C:
15983         * lyx.C: move splash to frontends/xforms/
15984
15985         * lyx_gui_misc.C: move Include and Bibform to frontends
15986
15987         * lyxvc.h: clarify comment
15988
15989         * vspace.C: tiny housekeeping
15990
15991 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15992
15993         * text.C (PrepareToPrint): RTL Fix.
15994
15995         * paragraph.C (GetUChar): New method.
15996         (String):  Use GetUChar.
15997
15998         * buffer.C (asciiParagraph): Use GetUChar.
15999
16000 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16003
16004 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * buffer.h:
16007         * buffer.C: rename to getLogName(), handle
16008           build log / latex log nicely
16009
16010 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * MenuBackend.C:
16013         * MenuBackend.h: remove support for reference menuitem type.
16014
16015 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16016
16017         * BufferView_pimpl.C: housekeeping
16018         * BufferView_pimpl.h:
16019         * LyXView.h:
16020         * Makefile.am:
16021         * Timeout.C:
16022         * Timeout.h:
16023         * minibuffer.h: move Timeout GUI-I
16024
16025 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16026
16027         * lyxrc.C (read): Update converters data-structures.
16028
16029 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16030
16031         * LaTeX.h (operator!=): add operator != for Aux_Info
16032
16033 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16036
16037         * LaTeXLog.C: deleted, useful code moved to Buffer
16038
16039         * buffer.h:
16040         * buffer.C: new function getLatexLogName()
16041
16042         * lyx_gui_misc.C:
16043         * lyx_gui.C:
16044         * lyxvc.C:
16045         * lyxvc.h:
16046         * lyxfunc.C: use frontends for LaTeX and VC logs
16047
16048 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16049
16050         * LaTeX.h: yet another std:: that Allan forgot.
16051
16052         * Variables.C (set): renamed from isset(), because this clashes
16053         with some HP-UX macros (grr).
16054
16055 2001-02-06  Allan Rae  <rae@lyx.org>
16056
16057         * LaTeX.h: Another bug fix.  Missing std:: this time.
16058
16059 2001-02-04  Allan Rae  <rae@lyx.org>
16060
16061         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16062         floats problem. I've left it commented out because it's not quite
16063         correct.  It should also test that the current object is a table or
16064         figure inset.  But I haven't gotten around to figuring out how to do
16065         that.  I *think* it'll be something like: "table" == inset.type()
16066
16067         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16068         bool.
16069
16070 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16071
16072         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16073         all the citation/databases/styles in the auxilary file.
16074         (run): Rerun latex if there was a babel language error.
16075
16076 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16077
16078         * text.C (Backspace): Preserve the font when changing newline char
16079         with a space.
16080         (BreakParagraph): If the cursor is before a space, delete the space.
16081
16082         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16083
16084 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16087         new argument (code).
16088         (ChangeCitationsIfUnique): New method.
16089
16090         * paragraph.C (GetPositionOfInset): Handle bibkey.
16091
16092 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * BufferView_pimpl.h: change type of Position::par_pos to
16095         LyXParagraph::size_type.
16096
16097 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16098
16099         * BufferView_pimpl.C (savePosition, restorePosition): Write
16100         messages to minibuffer.
16101
16102 2001-01-28  José Matos  <jamatos@fep.up.pt>
16103
16104         * buffer.C (makeDocBookFile): adds support for document language.
16105         A silly restriction on the name of LatexCommand types where removed.
16106         Added support for CDATA sections, allows to chars unescaped, used
16107         among others in code, to avoid escape < and >.
16108
16109 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16112         saved positions instrad of a stack. Furthermore, a position is
16113         stored using paragraph id/paragraph position.
16114
16115         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16116         Remove LFUN_REF_BACK.
16117
16118 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16119
16120         * converter.C (dvipdfm_options): New method.
16121
16122 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16123
16124         * vspace.C (isValidLength): Fix for empty input string.
16125
16126 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16127
16128         * LyXAction.C (init): change description of LFUN_FIGURE to
16129         "Insert Graphics"
16130
16131 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16132
16133         * LaTeX.C: add using directive
16134
16135 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16136
16137         * MenuBackend.C (expand): Fix the sorting of the formats.
16138
16139 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16140
16141         * lyx_main.C: tiny error message fix
16142
16143 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16146         calling fl_initialize(). This fixes the problem with ',' as
16147         decimal separator in text files.
16148
16149 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16150
16151         * trans.C (process): Fix the keymap bug.
16152
16153 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16154
16155         * LaTeX.C (scanAuxFiles): New method. Provides support for
16156         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16157         (scanLogFile) Scan for "run BibTeX" messages.
16158
16159         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16160         OT1 font encoding. Also, load the aecompl package if the ae
16161         package is loaded.
16162
16163         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16164
16165 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * texrow.C (increasePos): turn two error messages into debug
16168         messages.
16169
16170 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16171
16172         * LaTeX.C (scanAux): Handle the \@input macro.
16173         (runBibTeX): Use scanAux().
16174
16175         * language.C (latex_options_): New field.
16176
16177         * LaTeXFeatures.C (getMacros): Add language macros.
16178
16179         * buffer.C (makeLaTeXFile): Small fix.
16180
16181 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16182
16183         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16184
16185         * text2.C: add a using directive.
16186
16187 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16188
16189         * BufferView2.C:
16190         * lyx_gui_misc.h:
16191         * lyxfr1.C:
16192         * lyxfunc.C: kill LyXBell.
16193
16194 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16195
16196         * text.C (IsBoundary): Remove the error message
16197
16198         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16199
16200         * lyxrc.C (setDefaults): Correct initialization value for
16201         font_norm_type.
16202
16203 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16204
16205         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16206         gotoError().
16207
16208         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16209         and GotoNextNote().
16210
16211         * src/LyXAction.C: Added reference-next.
16212
16213         * text.C (InsertChar): Use contains instead of strchr.
16214
16215         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16216
16217 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16218
16219         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16220         alignment commands (when needed).
16221
16222         * text.C (InsertChar): Add ':' to number separator chars.