]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
16edfe0062ab803c4702cede73a28db1cfdfe6a5
[lyx.git] / src / ChangeLog
1 2004-10-30  José Matos  <jamatos@lyx.org>
2
3         * paragraph.C (getFirstWord): the content should always be escaped there.
4         (simpleDocBookOnePar):
5         * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
6
7 2004-10-30  José Matos  <jamatos@lyx.org>
8
9         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
10
11 2004-10-30  José Matos  <jamatos@lyx.org>
12
13         * output_docbook.C (makeParagraphs):
14         * paragraph.[Ch] (emptyTag): for docbook and company, if the
15         standard paragraph has only a given type of content drop the wrapper.
16
17 2004-10-29  José Matos  <jamatos@lyx.org>
18
19         * output_docbook.C (makeEnvironment):
20         * sgml.C (openTag):
21         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
22
23 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
24
25         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
26         (cleanID): sanitize any id.
27
28 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * buffer.C, lyxlex_pimpl.C:
31         * lyxlex_pimpl.C (setFile):
32         s/getExtFromContents/getFormatFromContents/
33
34 2004-10-28  José Matos  <jamatos@lyx.org>
35
36         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
37
38         * sgml.C (openTag): apply substitution of <> for all attribuites.
39
40 2004-10-28  José Matos  <jamatos@lyx.org>
41
42         * buffer.C (makeLinuxDocFile, makeDocBookFile):
43         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
44         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
45
46         * sgml.[Ch]: new version for open and closeTag for paragraph and
47         for strings. Now they handle the ids of paragraphs.
48
49 2004-10-26  Angus Leeming  <leeming@lyx.org>
50
51         * Makefile.am: add mover.[Ch].
52
53         * converter.C (convert, move): use the new Movers to move external
54         files to the temp directory.
55
56         * lyx_main.C (init): ensure that the global system_movers data
57         is initialised.
58
59         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
60         preferences file.
61
62         * mover.[Ch]: new files, defining a Mover as a utility to move an
63         external file between directories and, if necessary, manipulate this
64         file using a helper script.
65
66 2004-10-25  José Matos  <jamatos@lyx.org>
67
68         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
69
70 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * sgml.C (escapeString): fix warning in a better way
73
74 2004-10-25  José Matos  <jamatos@lyx.org>
75
76         * sgml.C (escapeString): import the require boosts header file for
77         tie, and avoid a signed unsigned comparison.
78
79 2004-10-25  José Matos  <jamatos@lyx.org>
80
81         * sgml.h: add #include <string>
82
83 2004-10-25  José Matos  <jamatos@lyx.org>
84
85         * sgml.[Ch] (escapeString): new function to escape all the string.
86
87 2004-10-24  José Matos  <jamatos@lyx.org>
88
89         * paragraph.[Ch] (getFirstWord): new function to get the first
90         word. Useful for description.
91         (simpleDocBookOnePar): remove depth argument, add another that
92         says where to start the paragraph.
93
94         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
95         use the new functions to fix cleanly the support for descriptions.
96
97 2004-10-24  José Matos  <jamatos@lyx.org>
98
99         * buffer.C (makeLinuxDocFile, makeDocBookFile):
100         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
101         * output_linuxdoc.C (linuxdocParagraphs):
102         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
103         add buffer as argument.
104
105 2004-10-24  José Matos  <jamatos@lyx.org>
106
107         * output_docbook.C (makeEnvironment, searchEnvironment): place
108         CDATA inside paragraphs and fix scope for listitems.
109
110 2004-10-24  José Matos  <jamatos@lyx.org>
111
112         * output_docbook.C: remove using statement for stack.
113
114 2004-10-23  José Matos  <jamatos@lyx.org>
115
116         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
117         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
118         docbook. The new scheme is recursive and makes use of iterators, the
119         same as latex export works.
120         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
121         directly with the paragraph contents. This code was moved up to
122         output_docbook.C (docbookParagraphs).
123         * sgml.C (openTag, closeTag): removed unneeded newlines.
124         (closeEnvTags) removed.
125
126 2003-10-23  André Pönitz  <poenitz@gmx.net>
127
128         * undo.C (textUndoOrRedo):
129         * dociterator.C (asDocIterator): work around crash
130
131         * cursor.C (getStatus): replace ASSERT by more verbose error message
132           and manual correction of the problem. Should increase stability
133           while providing more sensible information.
134
135 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
138
139         * bufferlist.C (previous, next): new methods
140
141         * lfuns.h:
142         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
143
144 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
145
146         * buffer.C (makeDocBookFile): add dsssl stylesheet control
147         entities to preamble.
148
149 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * messages.C (Pimpl): strip off translation context information
152
153 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
156         the cursor is correct (bug 1694)
157
158 2004-10-13  José Matos  <jamatos@lyx.org>
159
160         * output_docbook.C (docbookParagraphs): fix closing tags in the
161         end of the document.
162
163 2004-10-09  José Matos  <jamatos@lyx.org>
164
165         * buffer.C: format up to 237.
166         * bufferparams.C (write): use tostr to convert booleans to strings.
167
168 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
169
170         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
171
172 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
173
174         * LaTeX.C: implement use of babel language in xindy.
175
176 2004-10-05  José Matos  <jamatos@lyx.org>
177
178         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
179         Add new translators to help reading and writing the lyx file.
180
181 2004-10-05  José Matos  <jamatos@lyx.org>
182
183         * ParagraphParameters.C (read):
184         * text.C (readParToken): replace nexToken by more appropriate lex
185         methods.
186
187 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
188
189         * LaTeX.C (runMakeIndex):
190         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
191         (usually 'makeindex') configurable.
192
193         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
194         with a variable rather than with a number.
195
196 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * output_latex.C (TeXOnePar): make sure font setting is the first
199         thing that gets output (and the last at the end). Should fix bug
200         1404.
201
202 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
203
204         * pch.h: use proper signal include
205
206         * LaTeX.h: Use preferred calling of Boost.Signal
207         * buffer.h: ditto
208
209 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
210
211         * pch.h: dont include <boost/function/function0.hpp>
212
213         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
214
215         * paragraph_pimpl.h: remove usage of ShareContainer
216
217         * paragraph_pimpl.C: remove initialization of ShareContainer.
218
219 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         Fix bug #1666
222
223         * BufferView.C (putSelectionAt): change the semantics when
224         backwards == true: now, this just swaps cursor and anchor wrt the
225         forward case
226
227         * BufferView.h (putSelectionAt): add some documentation
228
229         * lyxfind.C (findBackwards): rewrite using while(). In particular,
230         make sure backwardChar is done at least once (to avoid getting
231         stuck)
232         (findNextChange): use putSelectionAt in the forward direction
233         (operator()): use Paragraph::isWord
234
235 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * Spacing.C (set): c_str fix
238
239 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * lyx_cb.C (Reconfigure): quote the name of configure script in
242         case it contains spaces
243
244 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
245
246         * client: new dir
247
248         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
249         (BOOST_LIBS): use top_buildir when looking for the file
250
251 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
252
253         * pch.h: do not use include boost/format.hpp, multiple symbols
254                 will result (gcc bug)
255
256
257 2004-08-23  José Matos  <jamatos@lyx.org>
258
259         * bufferparams.C (readToken): fix reading of the author field.
260
261 2004-08-20  José Matos  <jamatos@lyx.org>
262
263         * lyxrc.C: remove support/translator.h inclusion since it is not used.
264
265 2004-08-20  José Matos  <jamatos@lyx.org>
266
267         * lyxlex.[Ch] (findToken): remove function.
268
269         * ParagraphParameters.C (findToken):
270         * bufferparams.C (findToken): replace call for previous function
271         with local copy. This local function has one more argument, the
272         read string argument.
273
274 2004-08-16  José Matos  <jamatos@lyx.org>
275
276         * ParagraphParameters.C (write):
277         * Spacing.C (writeFile):
278         * bufferparams.C (writeLaTeX):
279         * lyx_cb.C (Reconfigure):
280         * paragraph.C (write):
281         * tabular.C (write): remove unnecessary space at end of line.
282
283
284 2004-08-16  José Matos  <jamatos@lyx.org>
285
286         * text.C (readParagraph): remove debug message.
287
288 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
291         crash
292
293         * output_plaintext.C (asciiParagraph): set depth correctly
294
295         * outputparams.h: add member depth
296
297         * paragraph_funcs.C (ownerPar): remove.
298
299         * text2.C (setCounter): remove first_pit; comment out some
300         non-working code that uses ownerPar
301
302         * BufferView.C (getParentLanguage): remove. Not used anymore, and
303         uses ownerPar
304
305 2004-08-16  José Matos  <jamatos@lyx.org>
306
307         * text.C (readParToken, readParagraph, read): report all unknown tokens.
308         For the same level of importance use the same chanel to report problems.
309         (read): add code to deal with \begin_body and \end_body.
310
311
312 2004-08-15  José Matos  <jamatos@lyx.org>
313
314         * lyxlex.C (getString): fix comment, buffer::readBody is now
315         buffer:readDocument.
316
317         * tex-strings.C (string_papersize): Default -> default,
318         Custom -> custom, for consistency with other options.
319
320 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
321
322         * pch.h: new file
323
324         * Makefile.am: support pch
325
326 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * text.C (readParToken): remove the static LyXFont variable and
329         pass it as a parameter instead. This fixes a nasty bug where an
330         inset will be inserted with a bad font in some situations
331         (readParagraph): adapt
332
333         * text2.C (setCounter): reduce number of calls to pars_[pit]
334
335         * text.C (singleWidth): add an assert, fix a test
336
337         * rowpainter.C (paintText): reduce number of calls to singleWidth
338
339         * paragraph.C (isHfill):
340         (isNewline): ws only
341
342 2004-08-14  André Pönitz  <poenitz@gmx.net>
343
344         * text.C:
345         * text2.C:
346         * rowpainter.C:
347         * lyxtext.h (several functions): use a Paragraph & argument
348         instead of par_type
349
350 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * metricsinfo.h: add a new field ltr_pos to PainterInfo
353
354         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
355
356         * text.C (singleWidth): remove useless test
357
358 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * tabular.h: remove bogus comments
361
362         * tabular.C (getDescentOfRow):
363         (isPartOfMultiColumn): add assertions
364
365         * lyxlength.C (inPixels): remove #warning
366
367 2004-08-14  André Pönitz  <poenitz@gmx.net>
368
369         * paragraph.h: inline getChar()
370
371         * BufferView.h: remove unused declarations
372
373 2004-08-14  José Matos  <jamatos@lyx.org>
374
375         * Buffer.[Ch] (readDocument): new name for old readBody.
376         * Buffer.C: new file format, new keywords: \begin_document,
377         \begin_header, \begin_body, \end_body.
378
379         * bufferparams.C (readToken): replace all calls to lex.nextToken
380         by lex.next(). Do the same to eatLine except where really needed.
381
382         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
383         line when writing to the lyx file.
384
385         * output_plaintext.C (asciiParagraph): fix Bibliography style
386         handling.
387
388         * text.C (read): fix end of file handling.
389
390 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * MenuBackend.C (Menu::operator[]): new method to access
393         individual menu items
394         (Menu::hasFunc): new method. search for an item that corresponds
395         to a given func
396         (MenuBackend::specialMenu): new method
397         (MenuBackend::expand): if a special menu has been set, skip
398         entries whose func() appears in this menu
399
400 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
401
402         * text3.C: use Debug::DEBUG a bit more
403
404         * text.C (leftMargin): try to simplify a tiny bit change var x to
405         l_margin. Dont output the wide margins always.
406         (rightMargin): no margin in inner texts
407
408         * rowpainter.h (nestMargin): new func
409         (changebarMargin): new func
410         (rightMargin): new func
411
412         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
413         now functions.
414         (paintLast): ditto
415
416         * factory.C (createInset): modify setDrawFrame
417
418         * cursor.C: use Debug::DEBUG a bit more
419
420 2004-08-14  André Pönitz  <poenitz@gmx.net>
421
422         * coordcache.[Ch]:
423         * Makefile.am: new files to accomodate an 'external' (x,y)-position
424         cache for all insets in (at least partially) visible (top-level)
425         paragraphs.
426
427         * BufferView_pimpl.C: reset external coord cache before every update.
428         This means the coord cache only contains valid entries.
429
430 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
431
432         bug 1096
433         * BufferView_pimpl.C (getInsetByCode): move function out of class
434         and change in to a template in anon namespace. Also fix to do what
435         suits us better.
436
437 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
438
439         bug 1305
440         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
441         of char
442         (breakParagraph): rename par to par_offset and use a local
443         reference. Add code to keep the language over a rebreak.
444         (breakParagraphConservative): rename par to par_offset, use a
445         local reference
446         (mergeParagraph): ditto
447         (outerHook): ditto
448         (isFirstInSequence): ditto
449         (outerFont): rename pit to par_offset
450
451         * paragraph.C: ws change
452         * paragraph.h: ditto
453         * text3.C: ditto
454         * text.C: ditto
455
456 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
459         treatment for ']'
460
461         * paragraph.C (simpleTeXOnePar): when we have a \item with
462         optional argument, enclose the argument with curly brackets (in
463         case it contains a closing square bracket)
464
465         * text2.C (editXY):
466         * text2.C (editXY):
467         * text3.C (checkInsetHit): constify
468
469 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
472         documents (bug 1629)
473
474 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         Fix toggling of collapsable insets with the mouse (bug 1558)
477
478         * lyxfunc.C (dispatch): adapt to LCursor changes
479
480         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
481         make sure that dispatch is not invoked twice
482
483         * cursor.C (needsUpdate): new method
484         (dispatch): return void
485         (result): new method, to access the DispatchResult of the cursor.
486
487 2004-08-13  José Matos  <jamatos@lyx.org>
488
489         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
490
491 2004-08-13  André Pönitz  <poenitz@gmx.net>
492
493         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
494
495         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
496           multiple cells
497
498 2004-08-12  André Pönitz  <poenitz@gmx.net>
499
500         * text3.C: take out the 'cursor right' form insertInset and only
501         do it in those places when it is really needed. Fixes crash on
502         C-m...
503
504 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
507
508         * BufferView_pimpl.C (setBuffer): initialize the current font of
509         the underlying LyXText
510
511 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * kbsequence.C (print): use UI native formatting for menu
514         shortcuts
515
516         * text.C (insertChar): call Paragraph::insertChar with a font
517         argument (cosmetic)
518
519         * paragraph.C (insertInset, insertChar): the version that takes a
520         LyXFont argument is now a wrapper around the other one (the
521         opposite used to be true).
522
523         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
524         argument. Font setting is done in Paragraph now.
525
526 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * outputparams.h: add new members intitle and lang.
529
530         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
531         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
532
533 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
534
535         * text3.C (dispatch): remove special handling of button 4 and 5,
536         it is now taken care of in the frontend code.
537
538 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
539
540         * Spacing.h: add <string> (STLPort compile fix)
541
542 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
543
544         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
545
546 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
547
548         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
549         to bool.
550
551         * converter.C (showMessage): inherit from unary_function, make
552         operator() const.
553
554         * buffer.C (writeFile): initialize retval
555
556         * InsetList.h: rename private variable list to list_
557         * InsetList.[Ch]: adjust accordingly.
558
559 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
560
561         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
562         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
563         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
564         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
565         * ParagraphParameters.C, LaTeXFeatures.C: replace
566         "support/std_sstream.h" with <sstream>
567
568 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
571         * lyxsocket.C (LyXServerSocket): ditto
572         (serverCallback): ditto
573
574 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
575
576         * LaTeXFeatures.C: check release date when loading jurabib.
577
578 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
579
580         * lyxserver.C (startPipe): call register_socket_callback
581         (endPipe): call unregister_socket_callback
582
583 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
584
585         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
586         (LyXServerSocket): register the callback
587         (LyXServerSocket): unregister the callback
588         (fd): delete function
589         (serverCallback): improve error checking and setup the callbacks.
590         (dataCallback): change arg to fd.
591         (writeln): new func (copied fro the client socket) used for server
592         write to client.
593         (LyXDataSocket): simplify
594         (~LyXDataSocket): close ann unregiser callback
595         (server): delete function
596         (fd): delete function
597         (readln): small changes, improve some std::string usage
598         (writeln): constify a bit
599
600 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
603         Qt frontend
604
605 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * BufferView_pimpl.C (setBuffer): set the layout combox value only
608         after it has been populated
609
610 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * text2.C (insertInset): move cursor when inserting inset.
613
614 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * kbmap.C (findbindings): a couple of new methods. returns a
617         container of kb_sequence objects. The real work is done by the
618         private recursive version
619         (printbindings): uses findbindings to print out a bracketed list
620         of bindings (renamed from findbinding).
621
622         * MenuBackend.C (binding): use kb_keymap::findbindings
623
624         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
625
626 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
629
630 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * paragraph.C (isWord): return true on insets that report
633         isLetter().
634
635         * text.C (getWord): use Paragraph::isWord to decide what is in a
636         word and what is not; fix bug 1609.
637
638 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
639
640         * tex-strings.C: add "none" to string_paperpackages[], fixes
641         off-by-one-error in the paperpackage selection.
642
643         * lyxlex.[Ch]:
644         * tex-strings.[Ch]: char const * string[n]
645         -> char const * const string[]
646
647 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
650         command, return early.
651
652 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
653
654         * debug.h: add DEBUG to enum and fix size of ANY.
655
656         * debug.C: add support for Debug::DEBUG
657         (showTags): cast errorTags.level to unsigned int
658
659         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
660         (redoCurrentBuffer): ditto
661         (updateScrollbar): ditto
662         * cursor.C (dispatch): ditto
663         * text2.C (setLayout): ditto
664         (setFont): ditto
665         (updateCounters): ditto
666         (editXY): ditto
667         (deleteEmptyParagraphMechanism): ditto
668
669 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
670
671         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
672         annotations to cleanup the Makefile slightly.
673
674 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * lyxrc.C: do not set user_email to a default value but use empty
677         instead. The entry used to be translated, which does not work
678         since at the point where lyxrc is constructed there is no
679         translation service available
680
681         * messages.C (getLocaleDir): remove and use directly
682         lyx_localedir() instead
683
684 2004-06-02  Angus Leeming  <leeming@lyx.org>
685
686         Fix crash caused by dereferencing null pointer 'exportdata' in
687         OutputParams by creating a new ExportData variable on the heap,
688         storing it in a boost::shared_ptr.
689         The crash was triggered when generating an Instant Preview
690         of an external inset.
691
692         * Makefile.am: add outputparams.C
693
694         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
695         (c-tor): allocate memory to it.
696
697         * exporter.C (c-tor): associated changes.
698
699 2004-06-01  Angus Leeming  <leeming@lyx.org>
700
701         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
702         contains data before calling isInset(0). (Bug 1513.)
703
704 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * exporter.C (checkOverwrite): new method
707         * exporter.C (copyFile): new method
708         * exporter.C (Export): copy referenced files to the document dir
709         * exporter.[Ch]: new class ExportedFile
710         * exporter.[Ch]: new class ExportData. Contains currently the
711         names of referenced external files
712         * outputparams.h: add exportdata member.
713
714 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
715
716         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
717         version.C-tmp
718
719 2004-05-19  Angus Leeming  <leeming@lyx.org>
720
721         * LaTeXFeatures.C:
722         * ToolbarBackend.C:
723         * bufferparams.C:
724         * lyxfunc.C: small changes due to the introduction of namespace
725         lyx::frontend and the moving of namespace biblio to lyx::biblio.
726
727 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * text3.C (dispatch): supress update when only moving the cursor
730         * cursor.C (selHandle): remove commented code
731
732 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
733
734         * paragraph.C (startTeXParParams): correct column count
735         * CutAndPaste.C (pasteSelection): remove const_cast
736         * output_docbook.C (docbookParagraphs): remove const_cast
737         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
738         const_cast and return ParagraphList::const_iterator
739         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
740         * output_plaintext.C (writeFileAscii): remove const_cast
741         * paragraph.[Ch] (simpleTeXOnePar): make const
742         * paragraph_funcs.C (outerPar): use const iterators
743         * paragraph_pimpl.C (validate): use const iterators
744         * text.C (setHeightOfRow): use const iterators
745
746 2004-05-17  Angus Leeming  <leeming@lyx.org>
747
748         * lfuns.h:
749         * LyXAction.C (init): new LFUN_INSET_REFRESH.
750
751         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
752         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
753         if the citation engine has changed.
754
755 2004-05-14  José Matos  <jamatos@lyx.org>
756
757         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
758         if the textclass does not provide it. Have it different for sgml and
759         xml.
760         support the language of document.
761         * output_docbook.C (docbookParagraphs):
762         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
763         first anchor as the id of the paragraph, remove special case code.
764         * sgml.C (escapeChar): escape only < & >.
765
766 2004-05-14  Angus Leeming  <leeming@lyx.org>
767
768         * bufferparams.h: move biblio::CiteEngine enum here to minimize
769         dependencies on src/frontends/controllers/biblio.h. Define a
770         CiteEngine_enum wrapper class to enable the enum to be forward
771         declared.
772
773 2004-05-12  Angus Leeming  <leeming@lyx.org>
774
775         * buffer.C: up LYX_FORMAT to 234.
776         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
777         use_numerical_citations with a single biblio::CiteEngine cite_engine
778         variable.
779         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
780
781 2004-05-13  José Matos  <jamatos@lyx.org>
782
783         * converter.h:
784         * converter.C (Converter, readFlags): add xml member.
785         * outputparams.h: add XML flavor.
786         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
787
788 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * lyxfunc.C (dispatch):
791         (getStatus): fix handling of LFUN_SEQUENCE
792
793 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * debug.C (showLevel): do not forget the end-of-line marker
796
797 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * kbmap.C (read): do not stop parsing a bind file when an error
800         occurs (bug 1575)
801
802 2004-04-29  Angus Leeming  <leeming@lyx.org>
803
804         * cursor.C:
805         * factory.C:
806         * pariterator.C:
807         * text2.C: wrap a bunch of #warning statements
808         inside #ifdef WITH_WARNINGS blocks.
809
810 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
811
812         * buffer.C: increment format to 233.
813
814 2004-04-28  Angus Leeming  <leeming@lyx.org>
815
816         * BufferView_pimpl.C:
817         * lyxfunc.C:
818         * text3.C:
819         s/updateToolbar()/updateToolbars()/
820         s/Toolbar.h/Toolbars.h/
821
822 2004-04-28  Angus Leeming  <leeming@lyx.org>
823
824         * BufferView.[Ch] (c-tor):
825         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
826         No longer passes these data to the WorkArea generator.
827
828 2004-04-28  Angus Leeming  <leeming@lyx.org>
829
830         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
831
832 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
833
834         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
835
836 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * output_latex.C (TeXEnvironment): make sure that there is a line
839         break before \end{foo} for the last paragraph of a document
840         (TeXOnePar): if the paragraph is at the end of the document (or
841         inset) and the language has to be reset, then make sure that the
842         line break is _before_ the language command, not after (fixes bug
843         1225); also make sure that the language reset command is the first
844         thing after the paragraph (to ensure proper nesting of
845         environments and thus fix bug 1404)
846
847 2004-04-21  John Levon  <levon@movementarian.org>
848
849         * ToolbarBackend.h:
850         * ToolbarBackend.C: make "name" be a programmatic name
851         and a gui_name field.
852
853         * lyxfunc.C: display the minibuffer on M-x
854
855 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
858         (bug 1526)
859
860 2004-04-19  Angus Leeming  <leeming@lyx.org>
861
862         * BufferView_pimpl.C (setBuffer): changed preview interface.
863
864         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
865         possible values.
866
867 2004-04-19  John Levon  <levon@movementarian.org>
868
869         * BufferView_pimpl.C:
870         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
871
872 2004-04-05  Angus Leeming  <leeming@lyx.org>
873
874         * text.C (redoParagraphs): add call to updateCounters(), thereby
875         fixing the missing "Figure #:" label from the caption of a
876         figure float.
877
878 2004-04-13  Angus Leeming  <leeming@lyx.org>
879
880         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
881         cursor is clicked out of an inset.
882
883 2004-04-13  Angus Leeming  <leeming@lyx.org>
884
885         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
886         than an InsetOld one.
887
888 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
889
890         * format.[Ch]: add editor to Format
891         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
892         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
893
894 2004-04-08  André Pönitz  <poenitz@gmx.net>
895
896         * metricsinfo.h: remove PainterInfo::width member
897
898 2004-04-08  Angus Leeming  <leeming@lyx.org>
899
900         * lyx_sty.C (boldsymbol_def): modify so that it outputs
901         "\providecommand" rather than "\newcommand", thereby preventing
902         clashes with packages that define "\boldsymbol" themselves.
903         Eg, beamer.
904
905 2004-04-08  Angus Leeming  <leeming@lyx.org>
906
907         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
908         thereby squashing an unnecessary warning.
909
910 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
913         setBuffer()
914
915 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * BufferView.C (setCursor): call redoParagraph (some insets could
918         have been opened)
919         (putSelectionAt): remove the 'double update' trick
920
921         * BufferView_pimpl.C (fitCursor): call refreshPar
922         (workAreaDispatch): remove an uneeded update call
923         (dispatch): remove some manual update calls
924
925         * cursor.[Ch]: remove cached_y_, updatePos
926         (selHandle): set noUpdate when appropriate
927
928         * lyxfunc.C (dispatch): track if we need an update
929
930         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
931
932         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
933         (paintSelection): cheap optimization, do not call cursorX when not
934         needed
935         (paintPars): change signature
936         (refreshPar): add
937         (paintText): adjust
938         (paintTextInset): adjust
939
940         * text.C: adjust
941
942 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * lengthcommon.C: compilation fix: remove explicit array size from
945         unit_name[] and friends
946
947 2004-04-05  Angus Leeming  <leeming@lyx.org>
948
949         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
950
951         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
952         present only for the preferences dialog.
953         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
954
955 2004-04-05  Angus Leeming  <leeming@lyx.org>
956
957         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
958         to enable the frontends to export changes to lyxrc correctly.
959
960         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
961
962 2004-04-07  André Pönitz  <poenitz@gmx.net>
963
964         * cursor.[Ch] (selClear, adjust): remove math
965
966         * cursor_slice.C: more agressive assert
967
968         * lyxfunc.C:
969         * BufferView_pimpl.C: rework mouse event dispatch
970
971         * dociterator.C:
972         * paragraph.C:
973         * text2.C:
974         * text3.C: adjust
975
976 2004-04-05  André Pönitz  <poenitz@gmx.net>
977
978         * cursor.[Ch] (valign, halign...): remove unneeded functions
979
980 2004-04-05  Angus Leeming  <leeming@lyx.org>
981
982         * lyxlength.[Ch] (unit_name et al.): const-correct.
983
984 2004-04-05  Angus Leeming  <leeming@lyx.org>
985
986         * BufferView_pimpl.C:
987         * buffer.C:
988         * counters.C:
989         * cursor.C:
990         * lyxfunc.C
991         * paragraph.C:
992         * pariterator.C:
993         * text.C:
994         * text2.C:
995         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
996
997 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1000
1001 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1004         * BufferView_pimpl.[Ch] (getStatus)
1005         * BufferView.[Ch] (getStatus): add
1006         * lyxfunc.C (getStatus): move lfuns handled in
1007         BufferView::dispatch to te function above
1008         * Cursor.C (setSelection): set selection() = true
1009
1010 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1011
1012         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1013
1014 2004-03-31  Angus Leeming  <leeming@lyx.org>
1015
1016         * lyxfunc.C (dispatch): Fall through to the generic
1017         Dialogs::show("preamble").
1018
1019 2004-03-31  Angus Leeming  <leeming@lyx.org>
1020
1021         * lyxfunc.C (dispatch): Fall through to the generic
1022         Dialogs::show("spellchecker").
1023
1024 2004-03-31  Angus Leeming  <leeming@lyx.org>
1025
1026         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1027         preferences dialog.
1028
1029 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * BufferView.C
1032         * cursor.[Ch]
1033         * dociterator.[Ch]:
1034         * insetiterator.[Ch]:
1035         * lyxfind.C:
1036         * lyxfunc.C:
1037         * pariterator.[Ch]:
1038         * text2.C:
1039         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1040
1041 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1042
1043         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1044         insets where we are putting the cursor.
1045
1046 2004-03-31  Angus Leeming  <leeming@lyx.org>
1047
1048         * lfuns.h:
1049         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1050
1051         * lyxrc.[Ch] (read, write): overloaded member functions taking
1052         a std::[io]stream arguments.
1053
1054         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1055
1056 2004-03-31  Angus Leeming  <leeming@lyx.org>
1057
1058         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1059         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1060
1061         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1062         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1063
1064 2004-03-31  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1067         the LFUN_ALL_INSETS_TOGGLE code.
1068
1069 2004-03-30  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1072         has died. Fall through to the generic Dialogs::show("document").
1073
1074 2004-03-30  Angus Leeming  <leeming@lyx.org>
1075
1076         * lfuns.h:
1077         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1078         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1079
1080         * lyxfunc.C (getStatus, dispatch): define the actions for these
1081         lfuns. Little more than a cut and pste job from ControlDocument.C
1082
1083         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1084
1085 2004-03-30  Angus Leeming  <leeming@lyx.org>
1086
1087         * lfuns.h:
1088         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1089         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1090
1091         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1092         open/closed state of ollapsable insets. Usage:
1093
1094         all-inset-toggle <state> <name>, where
1095         <state> == "open" || "closed" || "toggle" and
1096         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1097
1098         * lyxtext.h, text2.C (toggleInset): removed.
1099
1100         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1101         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1102         now passes LFUN_INSET_TOGGLE to the found inset.
1103
1104         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1105         is now invoked as "all-insets-toggle toggle branch".
1106
1107 2004-03-30  Angus Leeming  <leeming@lyx.org>
1108
1109         * dociterator.C:
1110         * insetiterator.C:
1111         * pariterator.[Ch]: added/corrected header blurb.
1112
1113 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1114
1115         * dociterator.[Ch]: add an inset_ member
1116         (backwardPos): implemented
1117         (backwardPos, forwardPos): use inset_ when the stack is empty.
1118         (doc_iterator_begin, doc_iterator_end): implemented
1119         * pariterator.[Ch]: adjust, add begin, end
1120         * insetiterator.[Ch]: adjust, add begin, end
1121         * cursor.C:
1122         * document.C:
1123         * BufferView.C:
1124         * BufferView_pimpl.C:
1125         * CutAndPaste.C: adjust
1126
1127 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1128
1129         * buffer.C: increment file format to 232.
1130         * LaTeXFeatures.C: add bibtopic package.
1131         * bufferparams.[Ch]: param \use_bibtopic.
1132
1133         * lyxrc.[Ch]: add lyxrc bibtex_command
1134         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1135
1136         * buffer.C: increment file format to 231.
1137
1138 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * dociterator.C: implement forwardPar
1141         * iterators.[Ch]: remove, replaced by
1142         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1143         * BufferView.C:
1144         * BufferView_pimpl.C:
1145         * CutAndPaste.C:
1146         * buffer.C:
1147         * bufferview_funcs.C:
1148         * cursor.C:
1149         * lyxfind.C
1150         * lyxfunc.C
1151         * paragraph_funcs.C
1152         * toc.C:
1153         * Makefile.am: adjust
1154
1155 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * CutAndPaste.C (pasteSelection): fix 2 crashes
1158         (eraseSelection): fix a crash
1159         * paragraph_funcs.C: remove a warning
1160
1161 2004-03-28  Angus Leeming  <leeming@lyx.org>
1162
1163         * lfuns.h:
1164         * LyXAction.C (init): new LFUN_PRINT.
1165
1166         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1167
1168 2004-03-27  Angus Leeming  <leeming@lyx.org>
1169
1170         * lfuns.h:
1171         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1172
1173         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1174
1175 2004-03-27  Angus Leeming  <leeming@lyx.org>
1176
1177         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1178         insetlist always contains non-null pointers to insets.
1179
1180 2004-03-26  Angus Leeming  <leeming@lyx.org>
1181
1182         * src/BufferView_pimpl.C:
1183         * src/CutAndPaste.C:
1184         * src/buffer.C:
1185         * src/iterators.C:
1186         * src/output_plaintext.C:
1187         * src/outputparams.h:
1188         * src/paragraph_funcs.C:
1189         * src/rowpainter.C:
1190         * src/text.C:
1191         * src/text2.C:
1192         * src/frontends/controllers/ControlErrorList.C:
1193         * src/frontends/gtk/FileDialogPrivate.C:
1194         * src/frontends/gtk/GPainter.C:
1195         * src/frontends/gtk/GToolbar.C:
1196         * src/frontends/qt2/QRef.C:
1197         * src/mathed/math_scriptinset.C: squash compiler warnings.
1198
1199 2004-03-26  Angus Leeming  <leeming@lyx.org>
1200
1201         * ispell.C (LaunchIspell::start):
1202         * lyx_cb.C (AutoSaveBuffer::start):
1203         invoke run(DontWait) rather than runNonBlocking().
1204
1205 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1206
1207         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1208
1209 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * kbsequence.C (print): adjust
1212
1213         * kbmap.C (printKeySym): rename and change signature
1214         (printKey): use LyXKeySym::print()
1215
1216 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * undo.C: add using std::advance to compile for stlport
1219
1220 2004-03-24  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1223         it leads to a crash when no buffer is present.
1224
1225 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226             Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * lyxfunc.C (dispatch):
1229         * bufferparams.C (readToken): use the new LColor::setColor
1230
1231         * LColor.[Ch] (setColor): new version that takes two strings as
1232         argument and creates a new color entry if necessary
1233
1234 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1235
1236         * buffer.C (makeLaTeXFile): if the main latex file that is
1237         processed is usually a subdocument of some master, then pretend
1238         for a while that it is actually the master
1239
1240 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1241
1242         * buffer.C (getLabelList):
1243         (getBibkeyList): use getMasterBuffer()
1244         (getMasterBuffer): new method. Returns the main document in the
1245         case where one is using included documents.
1246
1247 2004-03-25  André Pönitz  <poenitz@gmx.net>
1248
1249         * Makefile.am:
1250         * iterators.[Ch]:
1251         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1252
1253         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1254
1255         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1256         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1257
1258         * ParameterStruct.h: merge with ParagraphParameters
1259
1260         * lyxtext.h: remove LyXText::parOffset() and getPar()
1261
1262         * text3.C: Remove all 'manual' update calls. We do now one per user
1263         interaction which is completely sufficient.
1264
1265         * Bidi.C:
1266         * BufferView.[Ch]:
1267         * BufferView_pimpl.C:
1268         * FontIterator.[Ch]:
1269         * MenuBackend.C:
1270         * ParagraphParameters.[Ch]:
1271         * buffer.C:
1272         * buffer.h:
1273         * bufferlist.C:
1274         * cursor.[Ch]:
1275         * cursor_slice.[Ch]:
1276         * dociterator.[Ch]:
1277         * errorlist.[Ch]:
1278         * factory.C:
1279         * lfuns.h:
1280         * lyxfind.C:
1281         * lyxfunc.C:
1282         * output_docbook.[Ch]:
1283         * output_latex.[Ch]:
1284         * output_linuxdoc.[Ch]:
1285         * output_plaintext.[Ch]:
1286         * paragraph.[Ch]:
1287         * paragraph_funcs.[Ch]:
1288         * paragraph_pimpl.[Ch]:
1289         * rowpainter.C:
1290         * tabular.[Ch]:
1291         * text.C:
1292         * text2.C:
1293         * toc.C:
1294         * undo.[Ch]: adjust
1295
1296         * frontends/controllers/ControlDocument.C:
1297         * frontends/controllers/ControlErrorList.C:
1298         * frontends/controllers/ControlSpellchecker.C:
1299         * insets/inset.C:
1300         * insets/inset.h:
1301         * insets/insetbase.h:
1302         * insets/insetbibitem.C:
1303         * insets/insetbox.C:
1304         * insets/insetbranch.C:
1305         * insets/insetcaption.C:
1306         * insets/insetcharstyle.C:
1307         * insets/insetcharstyle.h:
1308         * insets/insetcollapsable.C:
1309         * insets/insetcollapsable.h:
1310         * insets/insetert.C:
1311         * insets/insetfloat.C:
1312         * insets/insetfoot.C:
1313         * insets/insetmarginal.C:
1314         * insets/insetnote.C:
1315         * insets/insetoptarg.C:
1316         * insets/insettabular.C:
1317         * insets/insettext.C:
1318         * insets/insettext.h:
1319         * insets/insetwrap.C:
1320         * mathed/math_mboxinset.C:
1321         * mathed/math_nestinset.C:
1322         * mathed/math_scriptinset.C:
1323         * mathed/math_scriptinset.h:
1324         * support/types.h:
1325
1326 2004-03-24  Angus Leeming  <leeming@lyx.org>
1327
1328         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1329         deal with any child processes that have finished but are waiting to
1330         communicate this fact to the rest of LyX.
1331
1332 2004-03-24  Angus Leeming  <leeming@lyx.org>
1333
1334         64-bit compile fixes.
1335
1336         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1337         (c-tor): pass lyx::pos_types rather than ints.
1338
1339         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1340         lyx::pos_type.
1341
1342         * text.C (Delete): compile fix.
1343         (getPar): ensure that function declaration is the same as that in
1344         the header file.
1345
1346 2004-03-23  Angus Leeming  <leeming@lyx.org>
1347
1348         * ispell.C (LaunchIspell):
1349         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1350         a boost::shred_ptr rather than a std::auto_ptr.
1351
1352 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1353
1354         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1355         handle LFUN_FILE_INSERT_*
1356
1357         * lyxrc.C (setDefaults, getDescription, output, read):
1358         * lyxrc.h: remove ps_command
1359
1360 2004-03-22  Angus Leeming  <leeming@lyx.org>
1361
1362         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1363         Ensure that error_handler is processed once only and that all data
1364         is saved before attempting to output any warning messages.
1365
1366         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1367
1368 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1371
1372 2004-03-19  André Pönitz  <poenitz@gmx.net>
1373
1374         * cursor.[Ch] (reset): take main text inset as argument
1375
1376         * BufferView: adjust
1377         * BufferView_pimpl.C: adjust
1378
1379         * paragraph.[Ch]: fix completely broken operator=()
1380
1381 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * LColor.C (getFromLyXName): make sure that the color name is used
1384         as lowercase.
1385
1386 2004-03-17  Angus Leeming  <leeming@lyx.org>
1387
1388         * lfuns.h:
1389         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1390
1391         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1392         dialog and to kill a forked process.
1393
1394 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text2.C (setCursorFromCoordinates): fix font problem
1397
1398 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1401         bogus "rebuild cursor" code
1402
1403 2004-03-11  André Pönitz  <poenitz@gmx.net>
1404
1405         * buffer.[Ch]: use InsetText instead of LyXText as container for
1406         the main lyx text.
1407
1408         * dociterator.[Ch]: drop the BufferView * member which is not needed
1409         anymore after the change to buffer.C
1410
1411         * paragraph_funcs.C:
1412         * text.C:
1413         * text2.C:
1414         * BufferView.[Ch]:
1415         * BufferView_pimpl.[Ch]:
1416         * cursor.[Ch]:
1417         * cursor_slice.[Ch]: adjust
1418
1419         * text3.C: fix bug in mathDispatch
1420
1421 2004-03-08  André Pönitz  <poenitz@gmx.net>
1422
1423         * undo.[Ch]: use 'StableDocumentIterator' as base for
1424         the Undo struct.
1425
1426 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1427
1428         * LaTeXFeatures.C:
1429         * bufferparams.[Ch]: add jurabib support and param.
1430
1431         * LaTeX.C: add FIXME/comment.
1432
1433 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1434
1435         * buffer.C: increment file format to 230.
1436
1437 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * cursor.C (dispatch): avoid infinite loops
1440
1441 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1442
1443         * rowpainter.C (paintSelection): fix x coordinates
1444
1445 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * text.C (rowBreakPoint): fix breaking before displayed insets
1448
1449 2004-03-01  André Pönitz  <poenitz@gmx.net>
1450
1451         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1452
1453         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1454
1455         * Makefile.am:
1456         * BufferView.C:
1457         * BufferView_pimpl.C:
1458         * buffer.C:
1459         * lyxfind.C:
1460         * lyxfunc.C:
1461         * text.C:
1462         * text2.C:
1463         * text3.C: adjust
1464
1465 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * lyxtext.h:
1468         * text.C:
1469         * text2.C:
1470         * rowpainter.C:
1471         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1472         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1473
1474 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * Bidi.[Ch] (computeTables): const correctness
1477         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1478         fill_hfill, fill_label_hfill and x from Row
1479         * lyxtext.h: prepareToPrint returns a RowMetrics
1480         * rowPainter.C: adjust
1481         * text.C (prepareToPrint): use width, not textWidth. adjust
1482         (redoParagraphInternal, cursorX): adjust
1483         * text2.C (getColumnNearX): adjust
1484         (init): put a default value to the top LyXText::width
1485
1486 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1489
1490 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1491
1492         * lyxtext.h: add FontIterator class
1493
1494         * text.C (FontIterator, operator*, operator->, operator++): add
1495         (rowBreakPoint, setRowWidth): adjust (fixing a
1496         rebreaking bug)
1497
1498 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * BufferView_pimpl.C (workAreaDispatch): allow also
1501         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1502
1503 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1504
1505         * text.C (rowBreakPoint): fix a bug showing with very large insets
1506
1507 2004-02-25  André Pönitz  <poenitz@gmx.net>
1508
1509         * text3.C:
1510         * cursor.[Ch]: move some mathed specific code to mathed
1511
1512 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1513
1514         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1515         use_tempdir in preferences
1516         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1517         tempfile creation
1518         * lyx_main.C: ensure that tempdir is valid
1519         * lyxlex.h: correct typo
1520         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1521         * paragraph.[Ch] (isMultiLingual): make const
1522         * cursor.[Ch] (openable): make const
1523
1524 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1525
1526         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1527
1528 2004-02-20  André Pönitz  <poenitz@gmx.net>
1529
1530         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1531
1532         * cursor.[Ch]: prepare for localized getStatus()
1533
1534         * lyxtext.h:
1535         * tabular.C:
1536         * text.C:
1537         * text2.C:
1538         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1539
1540 2004-02-20  André Pönitz  <poenitz@gmx.net>
1541
1542         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1543
1544 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * text2.C (setCursorFromCoordinates): switch to absolute coords
1547         (cursorUp): adjust
1548         (cursorDown): adjust
1549         * text3.C (dispatch): adjust
1550
1551 2004-02-16  André Pönitz  <poenitz@gmx.net>
1552
1553         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1554           insets/ChangeLog)
1555
1556         * cursor_slice.[Ch]: remove unneeded acessor function
1557
1558         * lyxtext.h: rename rtl() to isRTL()
1559
1560         * rowpainter.C:
1561         * tabular.C:
1562         * text.C:
1563         * text2.C:
1564         * text3.C: adjust
1565
1566 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * rowpainter.C (paintSelection): coord fix
1569
1570 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1571
1572         * Spacing.C: compile fix
1573
1574 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * cursor.C (dispatch): restore current_ before returning
1577
1578 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * text2.C (cursorUp, cursorDown): fix coords
1581         (moveUp): fix crash
1582
1583 2004-02-12  André Pönitz  <poenitz@gmx.net>
1584
1585         * lyxtext.h:
1586         * text.C:
1587         * text2.C:
1588         * text3.C: add LCursor & parameter to most cursor movement functions
1589           remove usage of LyXText::cursorRow() and cursorPar()
1590
1591         * cursor.[Ch]: add textRow() needed members
1592
1593         * BufferView.C:
1594         * BufferView_pimpl.C:
1595         * paragraph.[Ch]:
1596         * BufferView.C:
1597         * BufferView_pimpl.C: adjust
1598
1599 2004-02-11  André Pönitz  <poenitz@gmx.net>
1600
1601         * lyxfunc.C:
1602         * BufferView.[Ch]:
1603         * BufferView_pimpl.C: shift undo/redo handling
1604
1605         * cursor.[Ch]: fix mathed crash
1606
1607         * lyxfind.C:
1608         * lyxtext.h: move selectionAsText to LCursor
1609
1610         * output_latex.C:
1611         * paragraph.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C: adjust
1615
1616         * rowpainter.C: fix excessive drawing
1617
1618 2004-02-06  André Pönitz  <poenitz@gmx.net>
1619
1620         * BufferView.[Ch]:
1621         * BufferView_pimpl.[Ch]:
1622         * text3.C: move some text specific LFUN handling
1623
1624 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * text3.C (checkInsetHit): adjust coords
1627         * text2.C (getColumnNearX): adjust coords
1628         (edit): adjust coords
1629         * text.C (getRowNearY): add two asserts
1630
1631 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1632
1633         * converter.C:
1634         * format.C: add using std::distance to compile on gcc 2.95/stlport
1635
1636 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1637
1638         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1639
1640 2004-02-04  André Pönitz  <poenitz@gmx.net>
1641
1642         * BufferView.[Ch] (insertInset):
1643         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1644
1645         * text2.C:
1646         * text3.C: adjust
1647
1648 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1649
1650         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1651         on the default clause of the switch
1652         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1653         wasn't catched by LCursor::dispatch
1654
1655 2004-02-03  André Pönitz  <poenitz@gmx.net>
1656
1657         * BufferView.C:
1658         * cursor.[Ch]: some additional asserts
1659
1660         * undo.[Ch]: remove LyXText dependency in interface
1661
1662         * lyxfunc.C: adjust
1663
1664         * lyxtext.h (firstPar, lastPar): remove dead functions
1665
1666         * text.C:
1667         * text2.C:
1668         * text3.C:
1669         * paragraph.[Ch]: adjust
1670
1671 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * lyxfind.C (find): fix argument order in call to ::find
1674
1675 2004-02-02  André Pönitz  <poenitz@gmx.net>
1676
1677         * cursor.[Ch]: remove direct access to anchor
1678
1679         * text.C: remove findText() hack
1680
1681 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1682
1683         * iterators.[Ch] (lockPath): remove in favour of...
1684         * BufferView.[Ch] (setCursor): this addition
1685         * BufferView.C (putSelectionAt): adjust
1686         * undo.C (performUndoOrRedo): adjust
1687         * lyxfunc.C (dispatch): adjust
1688
1689 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1690
1691         * iterators.C (lockPath): add a missing slice
1692         * undo.C (performUndoOrRedo): remove redundant positioning code
1693
1694 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1695
1696         * vc-backend.C (scanMaster): ";" -> ';'
1697
1698 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1699
1700         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1701         std::binary_function
1702
1703         * lyxtextclass.C (compare_name): rename to...
1704         (LayoutNamesEqual): ...this
1705
1706         * lyxlex_pimpl.C (compare_tags): inherit from
1707         std::binary_function, put back into anon namespace
1708
1709         * lyxfind.C (MatchString): inherig from std::binary_function
1710         (findChange): use empty() istead of !size()
1711
1712         * format.C (FormatNamesEqual): new functor
1713         (getFormat): use it
1714         (getNumber): use it
1715         (add): use it
1716         (erase): use it
1717         (setViewer): use it
1718
1719         * converter.C (compare_Converter): rename to...
1720         (ConverterEqual): ...this, and fixup a bit.
1721         (getConverter): use it, and make function const
1722         (getNumber): use it, and make function const
1723         (add): use it
1724         (erase): use it:
1725
1726         * bufferlist.C: add using boost::bind
1727
1728         * MenuBackend.C (MenuNamesEqual): new functor
1729         (hasMenu): use it, and make function const
1730         (hasSubmenu): use nested bind to get rid of compare_memfun.
1731
1732 2004-01-30  André Pönitz  <poenitz@gmx.net>
1733
1734         * BufferView_pimpl.C:
1735         * cursor.C:
1736         * cursor.h:
1737         * cursor_slice.[Ch]:
1738         * lyxfunc.C:
1739         * lyxtext.h:
1740         * paragraph_funcs.C:
1741         * paragraph_funcs.h:
1742         * rowpainter.C:
1743         * text.C:
1744         * text2.C:
1745         * text3.C: move some of the edit(x,y) handling to the insets
1746         some coordinate changes.
1747
1748 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1749
1750         * text.C: add using statements for std::advance and std::distance
1751
1752         * paragraph.C: add using statement for std::distance
1753
1754         * lyxfind.C: add using statement for std::advance
1755
1756         * cursor.C (region): remove std:: from swap
1757         (openable): use nucleus in stead of operator->
1758
1759         * BufferView.C: add using statements for std::distance and std::swap
1760
1761 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1762
1763         * iterators.C: Remove the pimple, move the needed structures to
1764         the header file. Create accessor for the positions stack.
1765         (asPosIterator): remove function
1766
1767         * PosIterator.C (PosIterator): move constructors to top of file
1768         (PosIterator): reimplement the constructor taking a ParIterator in
1769         terms of setFrom.
1770         (setFrom): new function
1771         (operator!=): inline it
1772
1773 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1774
1775         * lyxfind.C (replaceAll): use std::advance
1776
1777         * iterators.h: inherit from std::iterator.
1778
1779         * PosIterator.C (advance, distance): remove
1780         * PosIterator.h: interit from std::iterator.
1781
1782 2004-01-26  André Pönitz  <poenitz@gmx.net>
1783
1784         * BufferView.[Ch]:
1785         * BufferView_pimpl.[Ch]:
1786         * InsetList.[Ch]:
1787         * PosIterator.[Ch]:
1788         * buffer.h:
1789         * bufferview_funcs.C:
1790         * cursor.[Ch]:
1791         * cursor_slice.h:
1792         * factory.[Ch]:
1793         * iterators.[Ch]:
1794         * lyxfind.C:
1795         * lyxfunc.C:
1796         * lyxtext.h:
1797         * output_docbook.C:
1798         * output_latex.C:
1799         * output_linuxdoc.C:
1800         * output_plaintext.C:
1801         * paragraph.[Ch]:
1802         * paragraph_funcs.[Ch]:
1803         * paragraph_pimpl.[Ch]:
1804         * rowpainter.C:
1805         * tabular.C:
1806         * tabular.h:
1807         * text.C:
1808         * text2.C:
1809         * text3.C: more IU:  dumps most of the rest of the mathcursor
1810     implementation into cursor.[Ch]; "globalize" a bit of it.
1811
1812 2004-01-25  Angus Leeming  <leeming@lyx.org>
1813
1814         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1815
1816 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1817
1818         * LaTeXFeatures.h: add nice_ and nice() const
1819         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1820
1821 2004-01-20  André Pönitz  <poenitz@gmx.net>
1822
1823         * BufferView.[Ch]:
1824         * BufferView_pimpl.C:
1825         * PosIterator.C:
1826         * bufferview_funcs.C:
1827         * cursor.[Ch]:
1828         * cursor_slice.[Ch]:
1829         * factory.C:
1830         * iterators.C:
1831         * lyx_cb.C:
1832         * lyxfind.C:
1833         * lyxfunc.C:
1834         * lyxtext.h:
1835         * rowpainter.C:
1836         * text.C:
1837         * text2.C:
1838         * text3.C:
1839         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1840           LCursor and mathcursor parts to LCursor and InsetBase.
1841
1842 2004-01-15  André Pönitz  <poenitz@gmx.net>
1843
1844         * cursor_slice.[Ch]: add a few covienience functions
1845
1846         * funcrequest.[Ch]: remove BufferView * member
1847
1848         * BufferView_pimpl.C:
1849         * cursor.C:
1850         * factory.[Ch]:
1851         * lyxfind.[Ch]:
1852         * lyxfunc.C:
1853         * lyxtext.h:
1854         * text3.C:
1855         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1856
1857 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1860         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1861
1862 2004-01-13  André Pönitz  <poenitz@gmx.net>
1863
1864         * textcursor.[Ch]:
1865         * lyxtext.h: hide cursor and selection anchor behind accessor function
1866
1867         * BufferView.C:
1868         * BufferView_pimpl.[Ch]:
1869         * PosIterator.C:
1870         * bufferview_funcs.C:
1871         * cursor.h:
1872         * lyxfind.C:
1873         * lyxfunc.C:
1874         * text.C:
1875         * text2.C:
1876         * text3.C:
1877         * undo.C: adjust
1878
1879         * cursor.h:
1880         * cursor_slice.[Ch]: some integer type changes for inset unification
1881
1882         * lyxcursor.[hC]: remove, it's CursorSlice now.
1883
1884         * Makefile.am:
1885         * BufferView_pimpl.[Ch]:
1886         * bufferview_funcs.C:
1887         * cursor_slice.C:
1888         * lyxtext.h:
1889         * text.C:
1890         * text2.C:
1891         * text3.C:
1892         * textcursor.[Ch]: adjust
1893
1894 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * text2.C (undoSpan): add and use
1897         * text.C (breakParagraph): use undoSpan (fix bug 578)
1898         * lyxtext.h: adjust
1899
1900 2004-01-08  Angus Leeming  <leeming@lyx.org>
1901
1902         * BufferView_pimpl.C (MenuInsertLyXFile):
1903         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1904         * lyxfunc.C (menuNew, open, doImport):
1905         FileFilterList change to the FileDialog open and save functions.
1906
1907 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1908
1909         * ShareContainer.h: make isEqual and isUnique adaptable
1910
1911         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1912
1913 2004-01-07  Angus Leeming  <leeming@lyx.org>
1914
1915         * LyXAction.C:
1916         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1917
1918         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1919
1920         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1921         functions replacing find, replace and replaceAll.
1922
1923         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1924         LFUN_WORDFIND(FORWARD|BACKWARD).
1925
1926 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * text.C (breakParagraph): remove an outdated #warning
1929
1930 2004-01-07  André Pönitz  <poenitz@gmx.net>
1931
1932         * lyxfind.C: somewhat clearer logic
1933
1934         * text.C: prevent crash in cursorX on unitialized row cache
1935
1936 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1937
1938         * lyxcursor.[Ch] (operator>): add
1939         * textcursor.C (selStart, selEnd): use std::min and std::max
1940
1941 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1942
1943         * Chktex.C: include boost/format.hpp
1944
1945 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1946
1947         * InsetList.C: replace functor MathcIt with adaptable functor
1948         InsetTablePosLess
1949         (insetIterator): modify accordingly
1950
1951         * BranchList.h: move the BranchNamesEqual functor here from...
1952         * BranchList.C: ... to here
1953
1954         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1955         SameName and match.
1956         (add): replace a finding loop with std::find_if.
1957
1958 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1959
1960         * output_docbook.C: moving LatexParam functionality into
1961         .layout files
1962
1963 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1964
1965         * buffer.C: increment format to 229.
1966
1967 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1968
1969         * LaTeXFeatures.C:
1970         * lyx_sty.[Ch]: remove minipageindent_def
1971
1972         * LyXAction.C:
1973         * factory.C:
1974         * lfuns.h:
1975         * lyxfunc.C:
1976         * text3.C: remove LFUN_INSET_MINIPAGE
1977
1978 2003-12-28  Angus Leeming  <leeming@lyx.org>
1979
1980         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1981
1982 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * text2.C (setParagraph): fix off-by-one crash
1985
1986 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1987
1988         * output_docbook.C: header stuff for AGU
1989
1990 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1991
1992         * text2.C (redoCursor): remove
1993         * text.C:
1994         * text3.C:
1995         * BufferView_pimpl.C: remove calls to redoCursor and
1996         setCursor(cursor.par(), cursor.pos()) all around
1997
1998 2003-12-15  Angus Leeming  <leeming@lyx.org>
1999
2000         * buffer.C: up the format to 228.
2001
2002 2003-12-15  André Pönitz  <poenitz@gmx.net>
2003
2004         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2005         slices
2006
2007         * Makefile.am:
2008
2009         * BufferView_pimpl.C:
2010         * cursor.[Ch]:
2011         * lyxcursor.[Ch]:
2012         * rowpainter.[Ch]:
2013         * lyxtext.h:
2014         * text.C:
2015         * text2.C:
2016         * text3.C: adjust
2017
2018 2003-12-15  Angus Leeming  <leeming@lyx.org>
2019
2020         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2021         than getFromGUIName to manipulate the color.
2022
2023 2003-12-14  Angus Leeming  <leeming@lyx.org>
2024
2025         * BranchList.[Ch]: minimize the API.
2026         (Branch::getBranch, getColor): now return a 'const &'.
2027         (Branch::setSelected) now returns a bool set to true if the
2028         selection status changes.
2029         (BranchList::clear, size, getColor, setColor, setSelected,
2030         allBranches, allSelected, separator): removed.
2031         (BranchList::find): new functions, returning the Branch with
2032         the given name.
2033         (BranchList::add, remove): return a bool indicating that
2034         the operation was successful.
2035
2036         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2037         new InsetBranch::isBranchSlected member function.
2038
2039         * LColor.[Ch]: mimimize the API.
2040         (fill): renamed as addColor and made private.
2041         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2042         versions of these functions taking a string arg have been removed.
2043
2044         * bufferparams.C (readToken):
2045         * lyxfunc.C (dispatch):
2046         * lyxrc.C (read): changes due to the altered BranchList and
2047         LColor APIs.
2048
2049         * factory.C (createInset, readInset): changes due to altered
2050         InsetBranch c-tor.
2051
2052 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2053
2054         * factory.C:
2055         * lyxfunc.C: remove insetminipage. "minipage-insert"
2056         now produces a frameless minipage box inset.
2057
2058 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * textcursor.[Ch] (selStart,selEnd): add new methods
2061         remove selection::start, end, use LyXCursor::operator<
2062         * lyxcursor.[Ch] (operator<): add
2063         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2064         * BufferView.[Ch] (unsetXSel): add
2065         * text2.C (clearSelection): use unsetXSel,adjust
2066         * text.C: adjust
2067         * text3.C: adjust
2068         * rowpainter.C: adjust
2069         * bufferview_funcs.C (put_selection_at): adjust
2070
2071 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * BufferView_pimpl.C: small coord. correction
2074
2075 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2076
2077         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2078         dragging over the splash screen.
2079
2080 2003-12-11  Angus Leeming  <leeming@lyx.org>
2081
2082         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2083         as it is now handled in LyXText::dispatch.
2084
2085         * text3.C (doInsertInset): remove a level of nesting.
2086
2087 2003-12-11  Angus Leeming  <leeming@lyx.org>
2088
2089         * factory.C (createInset): changes due to the changed interface to
2090         InsetCommandMailer::string2params.
2091
2092 2003-12-10  Angus Leeming  <leeming@lyx.org>
2093
2094         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2095         'dialog-show-new-inset <inset name>'
2096
2097 2003-12-10  Angus Leeming  <leeming@lyx.org>
2098
2099         * buffer.C: up the format to 227.
2100
2101         * factory.C: the box inset is now identified simply by 'Box'.
2102
2103 2003-12-10  Angus Leeming  <leeming@lyx.org>
2104
2105         * buffer.C: up the format to 226.
2106
2107         * factory.C: the note inset is now identified simply by 'Note'.
2108
2109 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2110
2111         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2112         when a pit is enough. Standarize a couple of loops.
2113
2114 2003-12-05  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2117         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2118         data to the re-worked "log" dialog.
2119
2120 2003-12-03  André Pönitz  <poenitz@gmx.net>
2121
2122         * PosIterator.C:
2123         * iterators.C:
2124         * lyxtext.h:
2125         * output_latex.C:
2126         * paragraph_funcs.C:
2127         * text.C:
2128         * text2.C: use Inset::getText instead of Inset::getParagraph
2129
2130 2003-12-03  André Pönitz  <poenitz@gmx.net>
2131
2132         * buffer.[Ch]:
2133         * lyxtext.h:
2134         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2135         InsetText::read() as LyXText::read()
2136
2137 2003-12-02  Angus Leeming  <leeming@lyx.org>
2138
2139         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2140         type. Add a comment in the implementation that the function uses
2141         the stream's bad() function rather than fail() as the std::streams
2142         would do.
2143
2144 2003-12-02  André Pönitz  <poenitz@gmx.net>
2145
2146         * lyxlex.[Ch]: make interface more similar to std::stream
2147
2148         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2149
2150 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2151
2152         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2153
2154 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2155
2156         * vspace.[Ch]: remove VSpace::NONE
2157
2158 2003-12-01  André Pönitz  <poenitz@gmx.net>
2159
2160         * buffer.[Ch]:
2161         * lyxtext.h: move ParagraphList member to LyXText
2162         rename LyXText::ownerParagraphs to LyXText::paragraph
2163
2164         * CutAndPaste.C:
2165         * bufferview_funcs.C:
2166         * iterators.[Ch]:
2167         * lyx_cb.C:
2168         * paragraph.C:
2169         * rowpainter.C:
2170         * tabular.C:
2171         * text.C:
2172         * text2.C:
2173         * text3.C: adjust
2174
2175         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2176
2177         * undo.C: fix cursor positioning
2178
2179 2003-12-01  John Levon  <levon@movementarian.org>
2180
2181         * BufferView_pimpl.C: fix a crash on exit with
2182         a buffer open
2183
2184 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2185
2186         * BranchList.C: fix setSelected() method.
2187
2188 2003-11-28  André Pönitz  <poenitz@gmx.net>
2189
2190         * ParagraphParameters.[Ch]:
2191         * ParameterStruct.h: remove space above/below from Paragraph to
2192          InsetVSpace
2193
2194         * BufferView_pimpl.C:
2195         * factory.C:
2196         * lyxfunc.C:
2197         * lyxtext.h:
2198         * output_latex.C:
2199         * paragraph.C:
2200         * paragraph_funcs.C:
2201         * rowpainter.[Ch]:
2202         * text.C:
2203         * text2.C:
2204         * text3.C: adjust
2205
2206 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * factory.C: Syntax change for CharStyles
2209
2210 2003-11-28  André Pönitz  <poenitz@gmx.net>
2211
2212         * BufferView.[Ch]:
2213         * BufferView.[Ch]:
2214         * buffer.[Ch]:
2215         * buffer.[Ch]: move LyXText member
2216
2217 2003-11-28  André Pönitz  <poenitz@gmx.net>
2218
2219         * BufferView.[Ch]: make LyXText * text a private member
2220
2221         * BufferView_pimpl.C:
2222         * cursor.C:
2223         * iterators.C:
2224         * lyx_cb.C:
2225         * lyxfind.C:
2226         * lyxtext.h:
2227         * rowpainter.[Ch]:
2228         * text.C:
2229         * text2.C:
2230         * undo.C: adjust
2231
2232         * output_plaintext.C: cleanup
2233
2234 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2235
2236         * buffer.C:
2237         * lyxtextclass.[Ch]: parametrize SGML document header
2238
2239 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2240
2241         * converter.[Ch]:
2242         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2243         getFlavor().
2244
2245 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * text2.C (setFont): rework using PosIterator (no more recursive)
2248         (setCharFont): no more needed
2249         (setLayout): no more selection cursors fiddling (done by redoCursor)
2250         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2251         destroy remaining ones)
2252
2253 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2254
2255         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2256         * lyxtext.h: ditto
2257         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2258         selection cursors
2259         * lyxfunc.C: adjust
2260         * text3.C: adjust + re-allow multi par depth changes
2261         * textcursor.C: simplify a bit
2262
2263 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2264
2265         * src/buffer.C:
2266         * src/lyxlayout.C:
2267         * src/lyxlayout.h:
2268         * src/lyxtext.h:
2269         * src/output_docbook.C:
2270         * src/output_latex.C:
2271         * src/paragraph.C:
2272         * src/paragraph.h:
2273         * src/sgml.C:
2274         * src/sgml.h:
2275         * src/text2.C: Introducing a number of tags parametrizing various
2276         XML formats that we may want to support
2277
2278 2003-11-25  André Pönitz  <poenitz@gmx.net>
2279
2280         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2281
2282         * lyxtext.h (leftMargin/rightMargin): simplify interface
2283
2284         * rowpainter.C:
2285         * text.C:
2286         * text2.C:
2287         * text3.C: adjust
2288
2289 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2290
2291         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2292         master file to any child files. Fixes bug 546.
2293
2294 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2295
2296         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2297
2298 2003-11-24  André Pönitz  <poenitz@gmx.net>
2299
2300         * rowpainter.C: simplification
2301
2302         * text2.C (updateCounters): remove call to redoParagraph on
2303         changed labels as this is far too expensive.
2304
2305 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * converter.C (convert): fix a crash: this function gets
2308         called with buffer == 0 from importer code.
2309
2310 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2311
2312         * text3.C (cursorPrevious): make sure that we do not compare
2313         iterators form different containers.
2314         (cursorNext): ditto
2315
2316         * rowpainter.C (paintSelection): make sure that we do not compare
2317         iterators from different containers.
2318
2319         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2320         iterators from different ParagraphList containers.
2321         [NEXT] ditto
2322
2323         * text2.C (LyXText): change order of initialization slightly
2324         (operator=): new function. copy all variables except cache_par_
2325         (moveUp): make sure that we do not compare iterators from
2326         different ParagraphList constainers.
2327         (moveDown): ditto
2328
2329         * text.C (firstPar): new function
2330         (lastPar): new function
2331         (endPar): new function
2332
2333         * lyxtext.h: move things around and group public functions, public
2334         variables, private functions, private variables
2335
2336 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2337
2338         * factory.C: change call to InsetERT constructor to avoid
2339         additional invocation of method status
2340         * text2.C (toggleInset): remove redundant update() call
2341         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2342         instead of a Bufferview pointer
2343
2344 2003-11-21  André Pönitz  <poenitz@gmx.net>
2345
2346         * rowpainter.C: simplification
2347
2348 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2349
2350         * text3.C (dispatch): make possible to extend a word/row selection
2351         with the mouse
2352
2353 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * lyxtext.h: x0_,y0_ -> xo_,yo_
2356         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2357         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2358         * rowpainter.C (paintRows): paint full paragraphs
2359
2360 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2361
2362         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2363         screen coordinates)
2364
2365 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2366
2367         * lyxtext.h: add x0_, y0_
2368         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2369         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2370
2371 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * text2.C (setCursorIntern): move the x_target update here *
2374         * text3.C: change some bv() to true/false in calls to
2375         cursorUp/Down/Right/Left
2376         * cursor.C: use helper function.
2377
2378 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2381         * paragraph_funcs.[Ch]: correct comment
2382         * rowpainter.C: do not paint selections away from bv->cursor()
2383         Fix a long standing selection painting bug.
2384         * text3.C: generalize mouse-selection code to LyXTexts other that
2385         top one
2386         * textcursor.C: do not use y coords if we can use par offsets
2387
2388 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2391         cursor position after e.g. inset insert)
2392
2393 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * lyxfind.C (replace): adjust to locking removal + some
2396         code simplification
2397
2398 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2399
2400         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2401         of the path
2402
2403 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * lyxlayout.[Ch]:
2406         * output_docbook.C: XML sanitation: new layout
2407         parameters InnerTag and CommandDepth
2408
2409 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2410
2411         * BufferView_pimpl.C:
2412         * factory.C:
2413         * text3.C: Fix the insertion and modification of button-style
2414         insets
2415
2416 2003-11-13  André Pönitz  <poenitz@gmx.net>
2417
2418         * InsetList.[Ch]: remove deleteLyXText
2419
2420         * paragraph.[Ch]: cache beginOfBody position
2421
2422         * Bidi.C:
2423         * text.C:
2424         * text2.C:
2425         * text3.C: remove superfluous update() calls
2426
2427         * vspace.C: cleanup
2428
2429 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2430
2431         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2432         * BufferView.C (fitLockedInsetCursor): remove
2433         * cursor.[Ch] (getDim): add
2434         * text.C (getRowNearY): add faster version
2435         * text3.C: remove some update calls
2436
2437 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2438
2439         * LaTeXFeatures.C:
2440         * LyXAction.C:
2441         * MenuBackend.C:
2442         * MenuBackend.h:
2443         * dispatchresult.h:
2444         * factory.C:
2445         * lfuns.h:
2446         * lyxfunc.C:
2447         * lyxtextclass.C:
2448         * lyxtextclass.h:
2449         * text3.C: The Character Style /XML short element patch.
2450
2451 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2452
2453         * text3.C:
2454         * factory.C: Small step to solving 'unable to insert some insets'
2455         problem
2456
2457 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * cursor.[Ch] (updatePos): new function for updating the y
2460         position of the tip inset
2461         * bufferview_funcs.C (put_selection_at):
2462         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2463
2464 2003-11-11  André Pönitz  <poenitz@gmx.net>
2465
2466         * text.C: remove big comment on invalid Paragraph pointers as it is
2467         not valid anymore
2468
2469 2003-11-11  André Pönitz  <poenitz@gmx.net>
2470
2471         * text_funcs.[Ch]: merge with ...
2472
2473         * text.C: ... this
2474
2475         * lyxtext.h:
2476         * text2.C:
2477         * text3.C: adjust
2478
2479         * Makefile.am: remove text_funcs.[Ch]
2480
2481 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2482
2483         * cursor.C (getPos): return absolute cached y coord
2484
2485         * BufferView_pimpl.C (fitCursor): new simplistic code
2486         (workAreaDispatch): add a fitCursor call
2487
2488 2003-11-10  André Pönitz  <poenitz@gmx.net>
2489
2490         * BufferView.[Ch]:
2491         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2492
2493 2003-11-10  André Pönitz  <poenitz@gmx.net>
2494
2495         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2496         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2497         indicate that the cursor needs to leave an inset
2498
2499         * lyxtext.h: remove inset locking
2500
2501         * cursor.[Ch]: re-implement functionality provided by inset locking
2502
2503         * BufferView.[Ch]:
2504         * BufferView_pimpl.[Ch]:
2505         * LyXAction.C:
2506         * bufferview_funcs.[Ch]:
2507         * factory.C:
2508         * funcrequest.[Ch]:
2509         * iterators.C:
2510         * lyx_cb.C:
2511         * lyxfind.C:
2512         * lyxfunc.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C:
2516         * undo.C: adjust
2517
2518 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2519
2520         * PosIterator.[Ch]: replace the stack with a vector, add inset
2521         accesor
2522         * iterators.[C]: adjust
2523
2524 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2527         replaced
2528         * paragraph_funcs.C (readParToken): put the correct id in the
2529         error item, not the id of the top paragraph
2530
2531 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2532
2533         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2534         * bufferview_funcs.C (put_selection_at): use the above
2535
2536 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2537
2538         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2539
2540 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541
2542         * output_linuxdoc.h:
2543         * output_plaintext.h:
2544         * output.h:
2545         * output_docbook.h: add #include statements
2546
2547 2003-11-05  José Matos  <jamatos@lyx.org>
2548
2549         * output_docbook.[Ch]:
2550         * output_latex.[Ch]:
2551         * output_linuxdoc.[Ch]:
2552         * output_plaintext.[Ch]: New files for output formats.
2553         * output.[Ch]: New file for helper functions.
2554
2555         * buffer.[Ch]:
2556         * paragraph_funcs.[Ch]: output functions moved to new files.
2557
2558         * outputparams.h: rename of latexrunparams.h
2559
2560         * LaTeX.[Ch]:
2561         * buffer.[Ch]:
2562         * bufferlist.[Ch]:
2563         * converter.[Ch]:
2564         * exporter.C:
2565         * paragraph.[Ch]:
2566         * paragraph_funcs.[Ch]:
2567         * paragraph_pimpl.[Ch]:
2568         * tabular.[Ch]: rename ascii to plaintext
2569         and LatexRunParams to OutputParams.
2570
2571 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2572
2573         * iterators.[Ch] (text): require bv argument
2574         * undo.C (recordUndo):
2575         * lyxfunc.C (dispatch):
2576         * bufferview_funcs.C (put_selection_at): adjust
2577
2578 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2579
2580         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2581
2582 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2583
2584         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2585         nestings
2586
2587 2003-11-04  André Pönitz  <poenitz@gmx.net>
2588
2589         * cursor.[Ch]: restructure
2590
2591         * BufferView.[Ch]:
2592         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2593
2594         * iterators.[Ch] (asCursor): remove
2595
2596         * lfuns.h: remove LFUN_INSET_EDIT
2597
2598         * lyxfunc.C:
2599         * tabular.C:
2600         * text.C:
2601         * text2.C:
2602         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2603
2604 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * lyxfind.[Ch]: complete overhaul
2607         * BufferView_pimpl.C:
2608         * lyxfunc.C: adjust
2609         * paragraph.[Ch] (insert): add
2610
2611 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * BufferView.[Ch]:
2614         * lyxtext.h:
2615         * text.C: remove dead spellcheck code
2616
2617 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * dispatchresult.h: add a val setter
2620
2621         * cursor.C (dispatch): use a tempvar for data_[i]
2622
2623 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2624
2625         * PosIterator.[Ch]: compile fix
2626
2627 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2628
2629         * text.C (cursorPar): deactivate the cursor cache
2630
2631 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2632
2633         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2634
2635 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * text3.C (dispatch): adjust for new DisptchResult semantics.
2638
2639         * lyxfunc.C (dispatch): handle update when return from
2640         Cursor::dispatch, adjust for new DispatchResult semantics.
2641
2642         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2643         DispatchResult(true) mean to not update. Add class functions for
2644         setting dispatched and update, as well as reading.
2645
2646         * cursor.C (dispatch): don't handle update here
2647
2648 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2651         * trans_mgr.C: adjust
2652
2653         * paragraph_funcs.C (readParToken): exception safety
2654
2655         * lyxvc.h: store the vcs pointer in a scoped_ptr
2656         * lyxvc.C: adjust
2657
2658         * lyxsocket.C (serverCallback): exception safety
2659
2660         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2661
2662         * ispell.C (clone): make it return a auto_ptr
2663
2664         * factory.C (createInset): exception safety
2665         (readInset): exception safety
2666
2667         * bufferlist.C (newBuffer): exception safety
2668
2669         * Thesaurus.C (Thesaurus): use initialization for aik_
2670
2671         * MenuBackend.C (expandToc): exception safety.
2672
2673 2003-11-03  André Pönitz  <poenitz@gmx.net>
2674
2675         * buffer.C:
2676         * buffer.h:
2677         * bufferview_funcs.C: remove getInsetFromId()
2678
2679         * lyxcursor.[Ch]:
2680         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2681
2682         * lyxfunc.C:
2683         * text2.C:
2684         * text3.C: adjust
2685
2686 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2687
2688         * PosIterator.C (distance, advance): new
2689         * bufferview_funcs.[Ch] (put_selection_at): new
2690         * iterators.[Ch] (lockPath): new
2691
2692 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * iterators.[Ch] (asPosIterator): added
2695         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2696         * PosIterator.[Ch]: added
2697
2698 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2699
2700         * text3.C:
2701         * lyxfunc.C:
2702         * cursor.C (dispatch):
2703         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2704
2705         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2706         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2707         contructor, add a class function dispatched. Remove operator>=
2708
2709 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2710
2711         * debug.C: only use the default constructor for debugstream
2712         (lyxerr) here.
2713
2714         * main.C (main): include debug.h and setup the lyxerr streambuf
2715         here.
2716
2717 2003-10-31  José Matos  <jamatos@lyx.org>
2718
2719         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2720
2721         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2722         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2723         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2724         * paragraph_pimpl.C (simpleTeXSpecialC):
2725         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2726         add LatexRunParams argument.
2727
2728         * exporter.C (Export): change call accordingly.
2729
2730         * latexrunparams.h: add new member to take care of the other backends.
2731 2003-10-30  José Matos  <jamatos@lyx.org>
2732
2733         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2734         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2735         factorise code for paragraph output.
2736         * buffer.[Ch]:
2737         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2738         move functions.
2739
2740 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2741
2742         * text3.C (dispatch):
2743         * lyxfunc.C (dispatch):
2744         * cursor.C (dispatch):
2745         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2746
2747         * dispatchresult.h: make the dispatch_result_t ctor explicit
2748
2749 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2750
2751         * sgml.[Ch]:
2752         * buffer.C: small refactoring of docbook stuff
2753
2754 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2757         meaning.
2758
2759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2762         operator dispatch_result_t, and operators for == != and >=
2763
2764         * cursor.C (dispatch): adjust for operator dispatch_result_t
2765         removal. comment out call to update
2766
2767         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2768
2769 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * text3.C:
2772         * text2.C:
2773         * text.C:
2774         * lyxtext.h:
2775         * lyxfunc.C:
2776         * cursor.C:
2777         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2778         (dispatch):
2779
2780         * dispatchresult.h: new file, DispatchResult broken out of
2781         insets/insetbase.h
2782
2783         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2784
2785 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * text.C (rowBreakPoint): put a hack inside #if 0
2788
2789 2003-10-28  André Pönitz  <poenitz@gmx.net>
2790
2791         * lyxtext.h:
2792         * metricsinfo.C:
2793         * paragraph_funcs.C:
2794         * rowpainter.C:
2795         * text.C:
2796         * text2.C: general cleanup (lots of small stuff)
2797
2798 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * text2.C (cursorEnd): simple fix to the "end key goes to one
2801         before the end on last row" bug
2802
2803 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2804
2805         * text.C (backspace): fix the "zombie characters"
2806
2807 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2808
2809         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2810
2811 2003-10-27  André Pönitz  <poenitz@gmx.net>
2812
2813         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2814
2815         * factory.C: handle new InsetPagebreak, InsetLine
2816
2817         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2818         and move handling into new InsetPagebreak, InsetLine
2819
2820         * BufferView_pimpl.C:
2821         * LyXAction.C:
2822         * ParagraphParameters.C:
2823         * ParameterStruct.h:
2824         * lyxfunc.C:
2825         * lyxtext.h:
2826         * paragraph.C:
2827         * paragraph.h:
2828         * paragraph_funcs.C:
2829         * paragraph_pimpl.C:
2830         * rowpainter.C:
2831         * text.C:
2832         * text2.C:
2833         * text3.C: adjust
2834
2835 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2836
2837         * text.C:
2838         * lyxrow_funcs.[Ch]:
2839         * Bidi.C:
2840         * paragraph.C:
2841         * lyxtext.h:
2842         * rowpainter.C:
2843         * text2.C:
2844         * text3.C: remove lastPos uses in favour of Row::endpos
2845
2846 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2847
2848         * undo.C (performUndoOrRedo): fix two crashes by setting a
2849         cursor by hand and reordering some calls. Use bv->lockInset instead
2850         of inset->edit because the latter loses cursor information
2851
2852 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2855         by Martin
2856         (rowBreakPoint): fix width. change point to point + 1.
2857         Add a missing check.
2858
2859 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2860
2861         * MenuBackend.C:
2862         * lyxfunc.C: fix (at least partly) the problems
2863         with the Nav menu and headers inside branch insets
2864         reported by Kayvan
2865
2866 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2867
2868         * paragraph.C (getChar): add strong asserts
2869
2870         * lyxrow_funcs.C (lastPos): remove hideous hack
2871
2872         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2873         (fill): adjust to that (avoid an infinite loop)
2874
2875 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2878
2879 2003-10-23  André Pönitz  <poenitz@gmx.net>
2880
2881         * RowList_fwd.h: change list<> to vector<> to gain speed
2882         after suggestion from Alfredo
2883
2884 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * lyxtext.h: move the bidi stuff from here...
2887         * text.C: and here
2888         * text2.C: and here
2889         * Bidi.[Ch]: ... to here
2890
2891 2003-10-23  André Pönitz  <poenitz@gmx.net>
2892
2893         * lyxtext.h:
2894         * text.C (isLastRow, isFirstRow): new functions
2895
2896         * paragraph.h: new width cache member
2897
2898         * rowpainter.C: replace RowList::iterator with Row & where possible
2899
2900         * lyxfunc.C: replace several view()->text with a single call
2901
2902         * toc.C: fix 'unused' warning
2903
2904 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2907         when woring with stream::pos_type
2908         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2909
2910 2003-10-22  André Pönitz  <poenitz@gmx.net>
2911
2912         * lyxtext.h:
2913         * text.C: use Row & instead of RowList::iterator
2914
2915         * lyxrow.h: rename end() to endpos()
2916
2917         * rowpainter.C:
2918         * text.C:
2919         * text2.C: adjust
2920
2921 2003-10-22  Angus Leeming  <leeming@lyx.org>
2922
2923         * buffer.[Ch] (fully_loaded): new member function, returning true
2924         only when the file has been loaded fully.
2925         Used to prevent the premature generation of previews and by the
2926         citation inset to prevent computation of the natbib-style label.
2927
2928         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2929         templates are all set up.
2930
2931         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2932
2933 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2934
2935         * text.C: fixed an "oops" in the "is a bit silly"
2936         bug fix
2937
2938 2003-10-21  André Pönitz  <poenitz@gmx.net>
2939
2940         * FuncStatus.[Ch]: small stuff, whitespace
2941
2942         * lyxfont.[Ch]: operator<<() for debug reasons
2943
2944         * lyxfunc.C:
2945         * lyxrow_funcs.C:
2946         * lyxtext.h: whitespace, spelling
2947
2948         * paragraph.C: naming of variables
2949
2950         * text.C:
2951         * text2.C: small stuff
2952
2953
2954 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2955
2956         * text.C: (1) finish off the inset display() work;
2957         (2) fix the "is a bit silly" bug (accessing char
2958         past end of par).
2959
2960 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2961
2962         * text.C: re-introduce display() for insets, fixing the
2963         various bugs (stretch of line above, math inset
2964         positioning, ...)
2965
2966 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2967
2968         * text.C (rightMargin): remove spurious semicolon
2969
2970         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2971         1415)
2972
2973 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2974
2975         * text3.C: fix one crash due to wrong cursor def
2976
2977 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * vc-backend.C (scanMaster): make the regex static
2980
2981         * LaTeX.C (scanAuxFile): make the regexs static
2982
2983         * text3.C (doInsertInset, dispatch, dispatch):
2984         * text2.C (cursorUp, cursorDown):
2985         * text.C (selectNextWordToSpellcheck):
2986         * BufferView_pimpl.C (dispatch):
2987         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2988
2989 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2990
2991         * lyxsocket.C: include <cerrno>
2992
2993 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * lyxfunc.C (dispatch): remove textcache stuff
2996
2997         * bufferlist.C (release): remove textcache stuff
2998         (closeAll): ditto
2999
3000         * TextCache.C: delete file
3001         * TextCache.h: delete file
3002
3003         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3004
3005         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3006         delete of the bv_->text.
3007         (resizeCurrentBuffer): remove texcache stuff
3008         (workAreaResize): ditto
3009
3010 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3013         action.
3014
3015 2003-10-16  André Pönitz  <poenitz@gmx.net>
3016
3017         * lyxrow.[Ch]:
3018         * paragraph.h:
3019         * rowpainter.C:
3020         * text.C:
3021         * text2.C:
3022         * text3.C: speed up by storing y positions per paragraph plus per-row
3023         offset instead of having a 'full' y position in the row.
3024
3025 2003-10-15  André Pönitz  <poenitz@gmx.net>
3026
3027         * iterators.[Ch]:
3028         * iterators.[Ch]:
3029         * undo.[Ch]: make undo aware of inner insets
3030
3031 2003-10-14  Angus Leeming  <leeming@lyx.org>
3032
3033         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3034         static member functions LyX::ref() and LyX::cref.
3035         (lastfiles): new accessor functions for the new lastfiles_ member var.
3036         (addLyXView, views_): add a new LyXView to the list of views_.
3037         (updateInset): loop over all LyXViews to call their own updateInset
3038         member function, returning a pointer to the Buffer owning the inset.
3039
3040         * BufferView_pimpl.C (loadLyXFile):
3041         * MenuBackend.C (expandLastfiles):
3042         * bufferlist.C (MenuWrite, QuitLyX):
3043         lastfiles is no longer a global variable.
3044         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3045
3046         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3047         static function. Access through LyX::cref().emergencyCleanup().
3048
3049 2003-10-14  André Pönitz  <poenitz@gmx.net>
3050
3051         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3052
3053         * undo.[Ch]: restoring part of 'undo in insets'
3054
3055         * Makefile.am:
3056         * undo_funcs.[Ch]: merge with undo.[Ch]
3057
3058         * tabular.C: small cleansing stuff
3059
3060 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * paragraph_funcs.C (readParToken): report unknown insets as error
3063         boxes. Use the outer paragraph as location (also for unknown
3064         tokens).
3065
3066         * factory.C (readInset): do not abort on reading an unknown inset.
3067         Eat it and return 0.
3068
3069 2003-10-13  Angus Leeming  <leeming@lyx.org>
3070
3071         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3072
3073         * lyxrc.C: displayTranslator is now a function,
3074         declared in GraphicsTypes.h.
3075
3076 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3077
3078         * format.C: new placeholder $$a to pass the socket address.
3079
3080         * bufferlist.[Ch]: new function getBufferFromTmp.
3081
3082         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3083           files in the temporary dir.
3084
3085 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3086
3087         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3088
3089         * Makefile.am: add lyxsocket.[Ch].
3090
3091         * lyx_main.C (error_handler): handle SIGPIPE.
3092
3093 2003-10-13  André Pönitz  <poenitz@gmx.net>
3094
3095         * BufferView_pimpl.C:
3096         * lyxtext.h:
3097         * text.C:
3098         * text2.C:
3099         * text3.C:
3100         * undo_funcs.[Ch]: use paroffset_type instead of
3101           ParagraphList::iterators to prevent multiple conversion
3102           (and get a more robust interface)
3103
3104 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3107         * lyxtext.h: ditto
3108         * text3.C (dispatch): ditto
3109
3110 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3113         move the onlyfile, use onlyfile instead of foundfile in a couple
3114         of places.
3115
3116         * DepTable.C (update): flush the error stream a bit more
3117
3118 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * lyxserver.C (callback): adjust
3121
3122         * lyxfunc.C (getStatus): add a missing brace in commented code
3123         (ensureBufferClean): reindent
3124         (dispatch): delete version taking a string
3125
3126 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * LaTeX.C (deplog): move found file handlig from here...
3129         (handleFoundFile): .. to new function here.
3130         (deplog): make sure to discover several files mentioned on the
3131         same log line.
3132
3133 2003-10-10  André Pönitz  <poenitz@gmx.net>
3134
3135         * lyxfunc.C:
3136         * lyxtext.h:
3137         * tabular.C:
3138         * text.C:
3139         * text2.C:
3140         * text3.C: fix some of the tabular crashes
3141
3142 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3143
3144         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3145
3146         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3147
3148 2003-10-09  André Pönitz  <poenitz@gmx.net>
3149
3150         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3151
3152         * BufferView.C:
3153         * BufferView_pimpl.C:
3154         * bufferview_funcs.C:
3155         * lyx_cb.C:
3156         * lyxcursor.C:
3157         * lyxfind.C:
3158         * lyxfunc.C:
3159         * lyxtext.h:
3160         * text.C:
3161         * text2.C:
3162         * text3.C:
3163         * text_funcs.[Ch]:
3164         * textcursor.[Ch]:
3165         * undo_funcs.C: adjust
3166
3167 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * text2.C (incrementItemDepth): new function, use a backtracking
3170         algorithm to discover the correct item depth.
3171         (resetEnumCounterIfNeeded): new function, use a backtracking
3172         algorithm to discover if counter reset is needed.
3173         (setCounter): use them. Simplify a bit. Add different labels for
3174         different item depths for itemize.
3175
3176         * paragraph.C (Paragraph): remove initialization of enumdepth
3177         (operator=): ditto
3178
3179         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3180         enumerate and itemize. Change the type of itemdepth to signed char.
3181
3182 2003-10-08  André Pönitz  <poenitz@gmx.net>
3183
3184         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3185           thing assignable.
3186         * text.C:
3187         * text2.C: adjust
3188
3189         * tabular.[Ch]: fix crash after 'row-insert'
3190
3191 2003-10-08  Angus Leeming  <leeming@lyx.org>
3192
3193         Fix doxygen warnings.
3194
3195         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3196         Remove CutAndPaste:: prefix from header file declaration.
3197
3198         * LColor.h (fill): remove LColor:: prefix from declaration.
3199
3200         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3201         use lyx::depth_type rather than Paragraph::depth_type so that
3202         header file and .C file match.
3203
3204         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3205
3206         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3207         * aspell.C: \file aspell_local.C -> \file aspell.C
3208         * gettext.C: \file gettext.C -> \file src/gettext.C
3209         * gettext.h: \file gettext.h -> \file src/gettext.h
3210         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3211         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3212         * text.C: \file text.C -> \file src/text.C
3213
3214         * toc.C: move comment so that doxygen is not confused.
3215
3216 2003-10-07  Angus Leeming  <leeming@lyx.org>
3217
3218         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3219
3220 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3221
3222         * aspell.C:
3223         * aspell_local.h: add forgotten std::string's.
3224
3225 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3226
3227         * LaTeXFeatures.C:
3228         * LyXAction.C:
3229         * factory.C:
3230         * lfuns.h:
3231         * lyxfunc.C:
3232         * text3.C: The Box patch. Fancybox support, minipage, parbox
3233
3234 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3235
3236         * CutAndPaste.h:
3237         * DepTable.h:
3238         * FloatList.h:
3239         * LaTeXFeatures.h:
3240         * ParagraphParameters.h:
3241         * TextCache.h:
3242         * Thesaurus.h:
3243         * bufferlist.h:
3244         * exporter.h:
3245         * importer.h:
3246         * lastfiles.h:
3247         * lyxfind.h:
3248         * lyxfont.h:
3249         * lyxlex.h:
3250         * lyxtextclasslist.h:
3251         * messages.h:
3252         * paragraph.h:
3253         * paragraph_pimpl.C:
3254         * textcursor.h: add <string> and other small fixes to make Lars'
3255         std::string patch compile with STLport.
3256
3257 2003-10-06  Angus Leeming  <leeming@lyx.org>
3258
3259         * LColor.h: Add missing #include <string>.
3260
3261 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * All most all file in all subdirs: Make <string> be the prefered
3264         way of getting to std::string, add using declarations.
3265
3266 2003-10-06  André Pönitz  <poenitz@gmx.net>
3267
3268         * metricsinfo.C: initialize LyXFont before changing attribute.
3269         (fixes the 'math in \emph is upright' bug)
3270
3271 2003-10-06  André Pönitz  <poenitz@gmx.net>
3272
3273         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3274
3275 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3276
3277         * graph.C:
3278         * paragraph_pimpl.C: Small fixes to build using STLport
3279
3280 2003-10-02  André Pönitz  <poenitz@gmx.net>
3281
3282         * lyxfunc.C:
3283         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3284
3285 2003-10-01  André Pönitz  <poenitz@gmx.net>
3286
3287         * factory.C: assert early
3288
3289 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * lyx_main.C: remove the global debug object
3292
3293         * debug.h: adjust for new debugstream
3294
3295         * debug.C: adjust for new debugstream and keep the global debug
3296         object here.
3297
3298 2003-09-22  Angus Leeming  <leeming@lyx.org>
3299
3300         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3301         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3302         an incomplete class LyXFont.
3303
3304 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3305
3306         * factory.C: bug fix in branches
3307
3308 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * lyxfunc.C (processKeySym): adjust
3311         (dispatch): adjust
3312         (dispatch): change arg name from ev to func, adjust
3313         (sendDispatchMessage): ditto
3314
3315         * lyx_main.C (defaultKeyBindings): adjust keybindings
3316         (deadKeyBindings): ditto
3317
3318         * kbsequence.C (addkey): return a FuncRequest
3319
3320         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3321
3322         * kbmap.C (bind): take a FuncRequest as arg, adjust
3323         (read): adjust
3324         (lookup): adjust
3325         (defkey): change to take a FuncRequest as arg, adjust
3326         (findbinding): take a FuncRequest as arg, adjust.
3327
3328         * funcrequest.h (operator=): added
3329
3330         * funcrequest.C (FuncRequest): default kb_action changed from
3331         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3332
3333         * buffer.C (dispatch): simplify
3334         (dispatch): adjust to take a FuncRequest as arg, adjust
3335
3336         * boost.C (assertion_failed): change assertion message slightly
3337
3338         * ToolbarBackend.C (read): simplify
3339
3340         * MenuBackend.C (binding): adjust call to findbinding, add a
3341         message if no binding is found.
3342         (read): simplify
3343         (expandToc): correct by adding a empty FuncRequest
3344
3345         * LyXAction.C: include <boost/assert.hpp>
3346         (isPseudoAction): delete function
3347         (LookupFunc): change name to...
3348         (lookupFunc): this. change return type to FuncRequest.
3349         (getActionName): take kb_action as arg, simplify
3350         (funcHasFlag): add an assert, simplify.
3351
3352 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * toc.C (action): return a FuncRequest, simplify
3355
3356         * lyxfunc.C (processKeySym): adjust
3357         (getStatus): delete version that takes an int.
3358         (getStatus): adjust
3359         (dispatch): delete version that takes action as int
3360         (dispatch): adjust
3361         (sendDispatchMessage): simplify and adjust
3362
3363         * funcrequest.C (getArg): take unsigned int as arg
3364
3365         * ToolbarBackend.C (read): adjust
3366         (add): delete version that takes func as a string.
3367         (getIton): take a FuncRequest as arg
3368
3369         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3370         action.
3371
3372         * MenuBackend.C (MenuItem): add a new construct that only takes a
3373         Kind, simplify the constructor use for submenus.
3374         (add): adjust
3375         (expandLastfiles): adjust
3376         (expandDocuments): adjust
3377         (expandFormats): adjust
3378         (expandFloatListInsert): adjust
3379         (expandFloatInsert): adjust
3380         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3381
3382         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3383         Remove class variables lyx_pseudo_map and lyx_arg_map
3384
3385         * LyXAction.C (searchActionArg): delete function
3386         (getPseudoAction): delete function
3387         (retrieveActionArg): delete function
3388         (LookupFunc): make it return kb_action, simplify.
3389         (getActionName): simplify
3390
3391         * factory.C (createInset): fix new bug
3392
3393 2003-09-19  Angus Leeming  <leeming@lyx.org>
3394
3395         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3396         masterFilename_ parameter in the include inset.
3397
3398         * factory.C (createInset): changes due to the changes to InsetInclude.
3399
3400 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3401
3402         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3403
3404 2003-09-18  Angus Leeming  <leeming@lyx.org>
3405
3406         * buffer.C:
3407         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3408         Inset::fillWithBibKeys.
3409         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3410
3411 2003-09-18  Angus Leeming  <leeming@lyx.org>
3412
3413         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3414         variables.
3415         (ctor): pass and store a 'Buffer const &'
3416         (buffer): new member function.
3417
3418         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3419         '*this' to the LaTeXFeatures ctor.
3420
3421 2003-09-18  Angus Leeming  <leeming@lyx.org>
3422
3423         * LColor.h:
3424         * lyxfont.C:
3425         * lyxfont.h:
3426         * lyxtext.h:
3427         * text.C: rename EnumLColor as LColor_color.
3428
3429 2003-09-18  Angus Leeming  <leeming@lyx.org>
3430
3431         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3432         remove #include "insets/insetbase.h" from cursor.h.
3433
3434 2003-09-18  Angus Leeming  <leeming@lyx.org>
3435
3436         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3437         InsetOld_code to remove #include "inset.h".
3438
3439         * iterators.C: add #include "insets/inset.h"
3440
3441 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * BufferView.C: remove more locking stuff that apparently doesn't
3444         do anything sensible.
3445
3446 2003-09-16  André Pönitz  <poenitz@gmx.net>
3447
3448         * paragraph.[Ch]:
3449         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3450           performance boost.
3451
3452 2003-09-16  Angus Leeming  <leeming@lyx.org>
3453
3454         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3455
3456         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3457         arg/return type.
3458
3459         * paragraph.h: remove #include "lyxfont.h". Forward declare
3460         LyXFont_size.
3461
3462 2003-09-16  Angus Leeming  <leeming@lyx.org>
3463
3464         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3465         of support/textutils.h.
3466         (isWord): move the contents of support/textutils.h's IsWordChar here.
3467
3468         * buffer.C:
3469         * lyxfind.C:
3470         * rowpainter.C:
3471         * text.C:
3472         * text2.C: add #include "paragraph.h".
3473
3474         * rowpainter.C:
3475         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3476
3477 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * main.C:
3480         * lyx_main.C:
3481         * lyx_cb.C:
3482         * buffer.C:
3483         * LaTeX.C: use namespace alias for lyx::support::os
3484
3485 2003-09-16  Angus Leeming  <leeming@lyx.org>
3486
3487         * bufferparams.C:
3488         * bufferview_funcs.C:
3489         * factory.C:
3490         * lyxfunc.C:
3491         * paragraph_pimpl.C:
3492         * rowpainter.C:
3493         * text.C: add #include "LColor.h".
3494
3495 2003-09-16  Angus Leeming  <leeming@lyx.org>
3496
3497         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3498         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3499         return LyXFont &.
3500         Store the FontBits::color variable as an int rather than as an
3501         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3502         file.
3503
3504         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3505         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3506         string calls together.
3507
3508         * lyxrc.C: add #include "LColor.h".
3509
3510 2003-09-15  Angus Leeming  <leeming@lyx.org>
3511
3512         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3513         a cow_ptr.
3514
3515 2003-09-15  Angus Leeming  <leeming@lyx.org>
3516
3517         * LColor.h: add an EnumLColor wrapper for LColor::color.
3518
3519         * lyxfont.[Ch] (color, setColor, realColor):
3520         * lyxtext.h, text.C (backgroundColor):
3521         pass EnumLColor args to/from the functions, rather than LColor::color
3522         ones.
3523
3524         * lyxfont.h:
3525         * lyxtext.h: forward declare EnumLColor.
3526
3527         * lyx_main.C: add #include "LColor.h".
3528
3529 2003-09-15  Angus Leeming  <leeming@lyx.org>
3530
3531         * .cvsignore: add lyx-gtk.
3532
3533 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * Chktex.C
3536         * LaTeX.C
3537         * LaTeXFeatures.C
3538         * ParagraphParameters.C
3539         * Spacing.C
3540         * buffer.C
3541         * bufferparams.C
3542         * bufferview_funcs.C
3543         * chset.C
3544         * counters.C
3545         * funcrequest.C
3546         * lyxfont.C
3547         * lyxgluelength.C
3548         * lyxlength.C
3549         * paragraph.C
3550         * paragraph_funcs.C
3551         * text3.C
3552         * vc-backend.C: remove usage of STRCONV
3553
3554 2003-09-15  Angus Leeming  <leeming@lyx.org>
3555
3556         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3557         explicitly define the color passed to the painter.
3558
3559 2003-09-15  Angus Leeming  <leeming@lyx.org>
3560
3561         * bufferparams.C (BufferParams): reorder member initializers to avoid
3562         compiler warning.
3563
3564 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3567         * text.C (updateRowPositions): remove an unusual nop
3568
3569 2003-09-12  André Pönitz  <poenitz@gmx.net>
3570
3571         * BufferView_pimpl.C:
3572         * Bullet.C:
3573         * layout.h:
3574         * lyxfunc.C:
3575         * lyxlayout.[Ch]:
3576         * lyxtextclass.C:
3577         * rowpainter.C:
3578         * text.C:
3579         * text2.C:
3580         * Counters.[Ch]: finish the 'automatic counters' job
3581
3582 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3583
3584         * aspell.C: include <boost/assert.cpp> (compile fix)
3585
3586 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3587
3588         * boost.C (assertion_failed): use lyx::support::abort instead of
3589         assert.
3590
3591 2003-09-10  Angus Leeming  <leeming@lyx.org>
3592
3593         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3594         with their _fwd progeny.
3595
3596 2003-09-09  Angus Leeming  <leeming@lyx.org>
3597
3598         134 files throughtout the source tree: replace 'using namespace abc;'
3599         directives with the appropriate 'using abc::xyz;' declarations.
3600
3601 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3602
3603         * boost.C (emergencyCleanup): moved here from LAssert.c
3604         (assertion_failed): new function, called by BOOST_ASSERT
3605
3606         * several files: change Assert to BOOST_ASSERT
3607
3608 2003-09-09  Angus Leeming  <leeming@lyx.org>
3609
3610         * buffer.[Ch]: Add an Impl class and move Buffer's member
3611         variables into it. As a result move several header files out of
3612         buffer.h.
3613
3614         Add header files to lots of .C files all over the tree as a result.
3615
3616 2003-09-09  Angus Leeming  <leeming@lyx.org>
3617
3618         * buffer.[Ch]: make Buffer's member variables private. Add
3619         accessor functions.
3620
3621         Lots of changes all over the tree as a result.
3622
3623 2003-09-08  Angus Leeming  <leeming@lyx.org>
3624
3625         * graph.C: #include <config.h>.
3626
3627 2003-09-08  Angus Leeming  <leeming@lyx.org>
3628
3629         * BranchList.C:
3630         * BufferView.C:
3631         * BufferView_pimpl.C:
3632         * CutAndPaste.C:
3633         * DepTable.C:
3634         * LaTeX.C:
3635         * LaTeXFeatures.C:
3636         * LyXAction.C:
3637         * MenuBackend.C:
3638         * TextCache.C:
3639         * aspell.C:
3640         * buffer.C:
3641         * bufferlist.C:
3642         * changes.C:
3643         * chset.C:
3644         * converter.C:
3645         * counters.C:
3646         * debug.C:
3647         * graph.C:
3648         * ispell.C:
3649         * lyx_cb.C:
3650         * lyxfind.C:
3651         * lyxfunc.C:
3652         * lyxlex_pimpl.C:
3653         * lyxrc.C:
3654         * lyxrow.C:
3655         * paragraph.C:
3656         * rowpainter.C:
3657         * texrow.C:
3658         * text.C:
3659         * text2.C:
3660         * toc.C: remove redundant using directives.
3661
3662 2003-09-07  Angus Leeming  <leeming@lyx.org>
3663
3664         * LaTeXFeatures.h: remove #include "support/types.h".
3665         * ToolbarBackend.h: remove #include <algorithm>.
3666         * changes.h: remove #include <ctime>.
3667         * debug.h: remove #include <iosfwd>.
3668         * graph.h: remove #include "support/std_string.h".
3669         * lyx_main.h: remove #include <csignal>.
3670         * lyxlex_pimpl.h: remove #include <fstream>.
3671         * sgml.h: remove #include <algorithm>, <utility>.
3672         * toc.h: remove #include "support/std_ostream.h".
3673         Add #include <iosfwd>.
3674
3675 2003-09-07  Angus Leeming  <leeming@lyx.org>
3676
3677         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3678
3679         * converter.h: forward declare LatexRunParams.
3680         * encoding.h: remove #include "lyxrc.h".
3681         * lyxtext.h: remove #include "LColor.h".
3682         * lyxtextclass.h: remove #include "support/types.h".
3683         * trans.h: remove #include "tex-accent.h".
3684         * trans_mgr.h: remove #include "tex-accent.h".
3685         * insets/inset.h: remove #include "support/types.h", <vector>.
3686         * insets/insetcollapsable.h: remove #include "LColor.h".
3687         * insets/insetinclude.h: remove #include "dimension.h".
3688         * insets/insetlatexaccent.h: remove #include "dimension.h".
3689         * insets/insetoptarg.h:: remove #include "insettext.h".
3690         * insets/insettext.h: remove #include "dimension.h",
3691         <boost/shared_ptr.hpp>
3692
3693         * insets/renderers.h: add #include "dimension.h".
3694         * insets/updatableinset.h: add #include "support/types.h".
3695
3696         * many .C files: Associated changes.
3697
3698 2003-09-06  Angus Leeming  <leeming@lyx.org>
3699
3700         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3701         one, inside testInvariant.
3702
3703         * PrinterParams.C: new file.
3704         * PrinterParams.[Ch]: move the function bodies out of line.
3705
3706 2003-09-06  Angus Leeming  <leeming@lyx.org>
3707
3708         * ParagraphParameters.h: forward declare ParameterStruct rather than
3709         including its header file.
3710         (depth): moved out-of-line.
3711
3712 2003-09-06  Angus Leeming  <leeming@lyx.org>
3713
3714         * BufferView_pimpl.h:
3715         * kbmap.h:
3716         * kbsequence.h:
3717         * lyxfunc.h: forward declare LyXKeySym rather than
3718         #include "frontends/LyXKeySym.h".
3719
3720         * BufferView_pimpl.C:
3721         * kbmap.C:
3722         * kbsequence.C:
3723         * lyxfunc.C: associated changes.
3724
3725 2003-09-06  Angus Leeming  <leeming@lyx.org>
3726
3727         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3728         As a result, can remove the #include "insets/inset.h" from BufferView.h
3729
3730 2003-09-06  Angus Leeming  <leeming@lyx.org>
3731
3732         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3733         As a result, can remove the #include "insets/inset.h" from BufferView.h
3734
3735 2003-09-06  Angus Leeming  <leeming@lyx.org>
3736
3737         * buffer_funcs.C:
3738         * buffer.h:
3739         * bufferlist.C:
3740         * BufferView.C:
3741         * bufferview_funcs.C:
3742         * BufferView_pimpl.C:
3743         * CutAndPaste.C:
3744         * lyx_cb.C:
3745         * lyxfunc.C:
3746         * paragraph.h:
3747         * ParagraphParameters.C:
3748         * tabular.C:
3749         * text3.C:
3750         * toc.C:
3751         * undo_funcs.C:
3752         * frontends/controllers/ControlDocument.C:
3753         * insets/insetcaption.C: rearrange the #includes into some sort of
3754         coherent order.
3755
3756         * buffer.h: remove #includes ErrorList.h, undo.h
3757
3758 2003-09-06  Angus Leeming  <leeming@lyx.org>
3759
3760         * support/types.h: add a 'depth_type' typedef, used to store the
3761         nesting depth of a paragraph.
3762
3763         * paragraph.h:
3764         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3765         defining explicitly.
3766
3767         * buffer.h:
3768         * paragraph_funcs.h:
3769         * ParagraphParameters.h:
3770         * sgml.h: use lyx::depth_type rather than Paragraph or
3771         ParameterStruct's depth_type.
3772
3773         * buffer.h
3774         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3775
3776         * BufferView.C:
3777         * BufferView_pimpl.C:
3778         * CutAndPaste.C:
3779         * ParagraphParameters.C:
3780         * buffer_funcs.C:
3781         * bufferlist.C:
3782         * bufferview_funcs.C:
3783         * lyx_cb.C:
3784         * lyxfunc.C:
3785         * tabular.C:
3786         * text3.C:
3787         * toc.C:
3788         * undo_funcs.C:
3789         * frontends/LyXView.C:
3790         * frontends/controllers/ControlDocument.C:
3791         * frontends/controllers/ControlErrorList.C:
3792         * insets/insetbibitem.C:
3793         * insets/insetbranch.C:
3794         * insets/insetcaption.C:
3795         * insets/insetcollapsable.C:
3796         * insets/insetenv.C:
3797         * insets/insetert.C:
3798         * insets/insetfloat.C:
3799         * insets/insetfoot.C:
3800         * insets/insetfootlike.C:
3801         * insets/insetnewline.C:
3802         * insets/insetquotes.C:
3803         * insets/insettabular.C:
3804         * insets/insettext.C:
3805         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3806
3807         * frontends/controllers/ControlChanges.C: #include "changes.h".
3808
3809 2003-09-06  Angus Leeming  <leeming@lyx.org>
3810
3811         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3812         than #including paragraph.h.
3813
3814         * ParagraphList.h:
3815         * RowList.h: deleted. Superfluous.
3816
3817         * CutAndPaste.h:
3818         * iterators.h:
3819         * lyxcursor.h:
3820         * lyxtext.h:
3821         * text_funcs.h:
3822         * undo.h:
3823         * undo_funcs.h:
3824         * insets/inset.h:
3825         * insets/insettext.h: use ParagraphList_fwd.h rather than
3826         ParagraphList.h.
3827
3828         * paragraph.h: don't forward declare ParagraphList.
3829
3830         * buffer.h:
3831         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3832         rather than ParagraphList.h. paragraph.h is still needed for the
3833         Paragraph::depth_type parameters.
3834
3835         * textcursor.h: enable it to compile stand-alone in light of the
3836         above changes.
3837
3838         * bufferview_funcs.C:
3839         * iterators.C:
3840         * lyxfunc.C:
3841         * lyxrow_funcs.C:
3842         * paragraph.C:
3843         * rowpainter.C:
3844         * text.C:
3845         * text2.C:
3846         * text3.C:
3847         * text_funcs.C:
3848         * textcursor.C:
3849         * undo.C:
3850         * frontends/controllers/ControlParagraph.C:
3851         * frontends/controllers/ControlTabular.C:
3852         * insets/insetmarginal.C:
3853         * insets/insetminipage.C:
3854         * insets/insetnote.C:
3855         * insets/insetoptarg.C: add header files needed to compile again.
3856
3857 2003-09-06  Angus Leeming  <leeming@lyx.org>
3858
3859         * RowList_fwd.h: new file, forward-declaring Row rather than
3860         #including lyxrow.h.
3861
3862         * lyxrow_funcs.h:
3863         * lyxtext.h:
3864         * paragraph.h:
3865         * insets/insettext.h: use it instead of RowList.h
3866
3867         * bufferview_funcs.C:
3868         * lyxfunc.C:
3869         * lyxrow_funcs.C:
3870         * paragraph.C:
3871         * rowpainter.C:
3872         * text.C:
3873         * text2.C:
3874         * text3.C: #include "RowList.h".
3875
3876 2003-09-05  Angus Leeming  <leeming@lyx.org>
3877
3878         * factory.C (createInset):
3879         * vspace.C (c-tor): replace sscanf call with an istringstream.
3880         * ispell.C: re-add missing HP/UX headers.
3881         * lyxserver.C: re-add missing  os2 headers.
3882
3883 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3884
3885         * BranchList.C:
3886         * graph.C:
3887         * ispell.C:
3888         * lastfiles.C:
3889         * lyx_cb.C:
3890         * lyxserver.C:
3891         * texrow.C:
3892         * text3.C: re-add missing system headers, needed for 2.95.2.
3893
3894 2003-09-05  Angus Leeming  <leeming@lyx.org>
3895
3896         Changes most place everywhere due to the removal of using directives
3897         from support/std_sstream.h.
3898
3899 2003-09-05  Angus Leeming  <leeming@lyx.org>
3900
3901         Replace LString.h with support/std_string.h,
3902         Lsstream.h with support/std_sstream.h,
3903         support/LIstream.h with support/std_istream.h,
3904         support/LOstream.h with support/std_ostream.h.
3905
3906         Changes resulting throughout the tree.
3907
3908 2003-09-05  Angus Leeming  <leeming@lyx.org>
3909
3910         * sgml.h: ensure that the header file can be compiled stand-alone.
3911         * *.C: strip out redundant #includes. (320 in total.)
3912
3913 2003-09-04  Angus Leeming  <leeming@lyx.org>
3914
3915         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3916         here (from getPackages).
3917
3918         * debug.[Ch]: add a new EXTERNAL tag.
3919
3920 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3921
3922         * text2.C (cursorEnd): simplify
3923         (setCursor): adjust
3924         (getColumnNearX): adjust
3925
3926         * text.C (computeBidiTables): adjust
3927         (fill): adjust
3928
3929         * rowpainter.C (paintChars): adjust
3930         (paintSelection): adjust
3931         (paintChangeBar): adjust
3932         (paintText): adjust
3933
3934         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3935         lastPos instead.
3936         (numberOfSeparators): adjust
3937
3938 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3939
3940         * LyXAction.C:
3941         * box.[Ch]:
3942         * lfuns.h:
3943         * lyxfunc.C:
3944         * text3.C: Restricts the mouse click functionality
3945         of insets like bibtex, include, toc and floatlist to the visible
3946         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3947         up the dialogs. Cursor has to be in front of the inset (i.e.
3948         start of row) for this to function.
3949
3950 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3951
3952         * bufferview_funcs.C (currentState): output row information
3953
3954 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3955
3956         * bufferview_funcs.C (currentState): output paragraph position
3957
3958 2003-09-04  Angus Leeming  <leeming@lyx.org>
3959
3960         * FloatList.h: move out #include "Floating.h".
3961         * LaTeX.h: move out #include "DepTable.h".
3962         * LyXAction.h: move out #include "funcrequest.h".
3963         * buffer.h: move out #include "author.h", "iterators.h".
3964         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3965         * lyx_main.h: move out #include "errorlist.h".
3966         * lyxfunc.h: move out #include "FuncStatus.h".
3967         * lyxtext: move out #include "lyxcursor.h".
3968         * paragraph_pimpl.h: move out #include "counters.h".
3969
3970 2003-09-03  Angus Leeming  <leeming@lyx.org>
3971
3972         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3973         preamble_snippets list, enabling us to add snippets to the preamble
3974         only if the snippet was not there already.
3975
3976 2003-09-04  Angus Leeming  <leeming@lyx.org>
3977
3978         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3979
3980 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3983         update
3984
3985 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3986
3987         * BranchList.C: point fix, earlier forgotten
3988
3989 2003-09-02  Angus Leeming  <leeming@lyx.org>
3990
3991         * box.C (contains): renamed from 'contained' after a fantastic
3992         amount of hot air.
3993
3994 2003-09-02  John Levon  <levon@movementarian.org>
3995
3996         * BufferView.C:
3997         * lyxcursor.h:
3998         * lyxcursor.C:
3999         * lyxfunc.C:
4000         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4001
4002 2003-09-02  John Levon  <levon@movementarian.org>
4003
4004         * text2.C: simplification of cursorEnd(), including partial
4005         fix for bug 1376
4006
4007 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * buffer.C (readFile): add a space
4010
4011 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4014
4015 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * buffer.C (readFile): new function, take a filename and a
4018         ParagraphList::iterator
4019         (readFile): adjust
4020         (readFile): adjust, make it private. don't use setStream, make
4021         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4022         always contain the filename.
4023
4024         * BufferView.C (insertLyXFile): simplify and make it work for
4025         gzipped files.
4026
4027 2003-08-30  John Levon  <levon@movementarian.org>
4028
4029         * Makefile.am: fix dist (from Kayvan)
4030
4031 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * most files: change to use const Buffer refs
4034
4035 2003-08-27  André Pönitz  <poenitz@gmx.net>
4036
4037         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4038         on top of ownerPar().
4039
4040 2003-08-27  John Levon  <levon@movementarian.org>
4041
4042         * funcrequest.C: properly initialise POD members
4043
4044 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4045
4046         * lyxtext.h (top_y): move top_y from here
4047         * text.C:
4048         * text2.C:
4049         * text3.C:
4050         * BufferView.[Ch]:
4051         * BufferView_pimpl.[Ch]: to here
4052         * frontends/screen.C:
4053         * insets/insettabular.C:
4054         * insets/insettext.C: adjust
4055         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4056
4057 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4058
4059         * BufferView.[Ch]:
4060         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4061
4062 2003-08-26  André Pönitz  <poenitz@gmx.net>
4063
4064         * paragraph_func.[Ch] (outerPar): new function
4065
4066         * paragraph.C:
4067         * paragraph_funcs.C:
4068         * paragraph_funcs.h:
4069         * paragraph_pimpl.C:
4070         * text2.C: remove Inset::par_owner
4071
4072 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4073
4074         * lyxrow_funcs.C:
4075         * lyxtext.h:
4076         * text.C:
4077         * text2.C: eliminates the needFullRow/display() stuff
4078         altogether, putting the logic in metrics/draw in the insets.
4079
4080 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * text2.C (redoParagraphInternal, redoParagraphs):
4083         * text.C (redoParagraph): add a call to updateRowPositions at the
4084         end of each 'metrics-like' call. Remove all others.
4085         (getRow): remove the 'y-computing' version.
4086         (getRowNearY): do not compute nor return the real y. Solve the
4087         'y < 0' problem and simplify.
4088
4089 2003-08-22  Angus Leeming  <leeming@lyx.org>
4090
4091         * *.[Ch]: clean-up of licence and author blurbs.
4092         Also move config.h out of a few .h files and into a few .C files.
4093
4094 2003-08-22  André Pönitz  <poenitz@gmx.net>
4095
4096         * lyxrow.[Ch]: add x_ and *fill_ members
4097
4098         * lyxtext.h:
4099         * text.C:
4100         * rowpainter.C:
4101         * text2.C: adjust/remove prepareToPrint() calls
4102
4103 2003-08-22  André Pönitz  <poenitz@gmx.net>
4104
4105         * lyxrow.[Ch]: add  end_ member
4106
4107         * lyxrow_funcs.C: use LyXRow::end_
4108
4109         * lyxtext.h (singleWidth): add LyXFont parameter
4110
4111         * rowpainter.C:
4112         * text2.C: adjust LyXText::singleWidth() calls
4113
4114         * text.C (redoParagraph): simplify row breaking logic
4115
4116
4117 2003-08-19  André Pönitz  <poenitz@gmx.net>
4118
4119         * funcrequest.C: initialize button_ member
4120
4121         * text3.C:
4122         * rowpainter.[Ch]: interface consolidation
4123
4124 2003-08-18  André Pönitz  <poenitz@gmx.net>
4125
4126         * BufferView.C:
4127         * BufferView_pimpl.C:
4128         * lyxfind.C:
4129         * paragraph_funcs.C:
4130         * rowpainter.C:
4131         * text3.C: remove LyXScreen::draw() and fitCursor calls
4132
4133         * BranchList.h: remove spurious semicolons
4134
4135         * MenuBackend.C: fix branchlist related crash
4136
4137 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4138
4139         * BranchList.[Ch]:
4140         * InsetList.[Ch]:
4141         * LColor.[Ch]:
4142         * LyXAction.C:
4143         * Makefile.am:
4144         * MenuBackend.[Ch]:
4145         * bufferparams.[Ch]:
4146         * factory.C:
4147         * lfuns.h:
4148         * lyxfunc.C:
4149         * text3.C: implements the 'branch inset'
4150         idea. This allows the output of various versions of a document
4151         from a single source version, selectively outputing or suppressing
4152         output of parts of the text.
4153         This implementation contains a 'branch list editor' in a separate
4154         tab of the document settings dialog. Branches are user definable
4155         and have a "display colour" to distinguish them on-screen.
4156
4157         ColorHandler was somewhat cleaned up.
4158         (1) make possible a dynamically growing LColor list by allowing
4159         the graphic context cache to grow along (vector);
4160         (2) eliminate an IMHO unnecessary step in colour allocation.
4161
4162 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4163
4164         * BufferView_pimpl.C: compile fix
4165
4166 2003-08-15  André Pönitz  <poenitz@gmx.net>
4167
4168         * rowpainter.C: remove extra metrics calls
4169
4170         * lyxtext.h: merge the two constructors into a single one,
4171           pass reference to owner's par list
4172
4173         * BufferView_pimpl.C:
4174         * text.C:
4175         * text2.C: adjust
4176
4177 2003-08-15  André Pönitz  <poenitz@gmx.net>
4178
4179         * lyxrow_funcs.[Ch]:
4180         * lyxtext.h:
4181         * paragraph.h:
4182         * paragraph_funcs.C:
4183         * rowpainter.C:
4184         * text.C:
4185         * text2.C:
4186         * text3.C:
4187         * text_funcs.C: split LyXText::rowlist_ into individual
4188         Paragraph::rows_ chunks
4189
4190         * BufferView.[Ch]:
4191         * BufferView_pimpl.[Ch]:
4192         * lyxfind.C:
4193         * lyxtext.h:
4194         * text3.C: remove toggleSelection()
4195
4196 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4197
4198         * bufferlist.C: beautify two alerts (shorter text of buttons)
4199         * buffer.C: Remove redundant ' ' from message
4200         * tabular.h:
4201         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4202         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4203         rename VALIGN_CENTER to VALIGN_MIDDLE
4204
4205 2003-08-11  André Pönitz  <poenitz@gmx.net>
4206
4207         * lyxtext.h (getPar):
4208         * text.C: new function
4209
4210 2003-08-11  André Pönitz  <poenitz@gmx.net>
4211
4212         * Makefile.am:
4213         * tracer.[Ch]: remove unneeded files
4214
4215         * InsetList.[Ch]: remove resizeInsetsLyXText()
4216
4217         * lyxtext.h:
4218         * text.C:
4219         * text2.C:
4220         * text3.C: merge insertParagraphs() and appendParagraph()
4221         remove breakAgain(), update()
4222
4223         * BufferView_pimpl.[Ch]:
4224         * bufferview_funcs.[Ch]:
4225         * lyxfunc.C:
4226         * paragraph.[Ch]:
4227         * rowpainter.C:
4228         * tabular.C: adjust after text & InsetList changes.
4229
4230 2003-08-08  André Pönitz  <poenitz@gmx.net>
4231
4232         * text.C (insertChar, backspace): replace rowlist fiddling
4233         with rebreak of full par
4234
4235         * lyxtext.h:
4236         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4237         checkParagraph, updateInset): removed
4238
4239 2003-08-07  André Pönitz  <poenitz@gmx.net>
4240
4241         * paragraph.C:
4242         * text3.C: merge some LFUN handlers, remove dead code
4243
4244 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4245
4246         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4247
4248 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4249
4250         * text2.C (DEPM): fix part of bug 1255 and 1256
4251
4252 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4253
4254         * BufferView_pimpl.C (workAreaDispatch): change to use
4255         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4256         that are no mouse related.
4257
4258 2003-08-05  André Pönitz  <poenitz@gmx.net>
4259
4260         * BufferView.[Ch]:
4261         * BufferView_pimpl.[Ch]:
4262         * bufferview_funcs.C:
4263         * text2.C:
4264         * text3.C: rip out "deep update"
4265
4266         * textcursor.[Ch] (last_sel_cursor): remove unused member
4267
4268 2003-08-04  André Pönitz  <poenitz@gmx.net>
4269
4270         * BufferView.[Ch]:
4271         * BufferView_pimpl.[Ch]:
4272         * ParagraphParameters.C:
4273         * bufferview_funcs.C:
4274         * lyx_cb.C:
4275         * lyxfind.C:
4276         * lyxfunc.C:
4277         * text.C:
4278         * text2.C:
4279         * text3.C: replace "complicated" BufferView::update(...) calls with
4280         simpler ones.
4281
4282         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4283
4284 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4285
4286         * Makefile.am (lyx_SOURCES): add paper.h
4287
4288 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4289
4290         * Makefile.am: move things around so that both lyx-qt and
4291         lyx-xforms can be built (according to --with-frontend). Then lyx
4292         is a symbolic link to lyx-[firstfrontend]
4293
4294 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4295
4296         * Always use std::endl with lyxerr
4297
4298 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4299
4300         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4301
4302 2003-08-01  André Pönitz  <poenitz@gmx.net>
4303
4304         * BufferView.[Ch]:
4305         * BufferView_pimpl.[Ch]:
4306         * lyxfunc.C:
4307         * text3.C: merge BufferView::repaint() and BufferView::update()
4308
4309 2003-08-01  José Matos  <jamatos@lyx.org>
4310
4311         * buffer.[Ch]: file_format is no longer a buffer data element.
4312
4313 2003-08-01  André Pönitz  <poenitz@gmx.net>
4314
4315         * BufferView.C:
4316         * lyxtext.h:
4317         * text.C:
4318         * text2.C: make redoParagraph more independent of current cursor
4319
4320         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4321         * text.C:
4322         * text2.C: remove unneeded members
4323
4324 2003-07-30  André Pönitz  <poenitz@gmx.net>
4325
4326         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4327
4328         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4329           create a single function...
4330
4331         * paragraph_funcs.C (moveItem): ... here.
4332
4333         * text.C:
4334           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4335
4336 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * LColor.[Ch]: Add comment and greyedout logical colors.
4339
4340 2003-07-30  André Pönitz  <poenitz@gmx.net>
4341
4342         * tabular.C: don't use Assert too heavily. This crashes where it
4343           shouldn't
4344
4345 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4348         is disabled (bug 1232)
4349
4350 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4351
4352         * factory.C: limited 'arg' scope
4353
4354 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4355
4356         * factory.C: fixed Note submenu issues
4357
4358 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * factory.C: submenu for Note/Comment/Greyedout
4361
4362 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * lyx_main.C (LyX):
4365         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4366
4367 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4368
4369         * LaTeXFeatures.C:
4370         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4371         greyedout. Patch provided by Jürgen Spitzmüller.
4372
4373 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4374
4375         * kbmap.C (read): fix error message when reading bind files
4376
4377 2003-07-29  Angus Leeming  <leeming@lyx.org>
4378
4379         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4380         certainly does not do what it purports to do. I am doing it, and
4381         us, a favour by killing it.
4382
4383 2003-07-28  José Matos  <jamatos@lyx.org>
4384
4385         * buffer.C (readBody, do_writeFile):
4386         * paragraph.C(readParagraph): \end_document replaces \the_end.
4387
4388 2003-07-29  André Pönitz  <poenitz@gmx.net>
4389
4390         * BufferView.[Ch]:
4391         * BufferView_pimpl.[Ch]:
4392         * lyxfunc.C:
4393         * text2.C:
4394         * text3.C:
4395         * textcursor.[Ch]: remove toggleToggle & Co
4396
4397 2003-07-28  José Matos  <jamatos@fep.up.pt>
4398
4399         * buffer.C (readParagraph):
4400         * params_func (readParToken, readParagraph):
4401         * paragraph.C (write): \layout -> \begin_layout.
4402
4403 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * lyxlex_pimpl.C (setFile): clean up slightly.
4406
4407         * bufferparams.h: add compressed var
4408
4409         * buffer_funcs.C (readFile): adjust for LyXLex change
4410         (newFile): ditto + simplify
4411
4412         * buffer.C (writeFile): handle writing of compressed files
4413
4414         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4415         Check if the file is compressed and set a bufferparm if so.
4416
4417         * Makefile.am (lyx_LDADD): remove explicit -lz
4418
4419 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4420
4421         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4422         makeDocBookFile): put the real LyX version in the first line of
4423         the file
4424
4425         * version.h:
4426         * version.C.in: remove lyx_docversion
4427
4428         * tabular.C (write_attribute): add a template-based version to
4429         write enums properly
4430
4431 2003-07-28  André Pönitz  <poenitz@gmx.net>
4432
4433         * lyxtext.h:
4434         * text.C:
4435         * text2.C:
4436         * text3.C: use doubles again for x-coordinates. They are needed.
4437
4438 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * messages.C (getLocaleDir): use lyx_localedir()
4441
4442         * lyxlex_pimpl.C (setFile): compress stuff
4443
4444         * buffer.C (writeFile): add some compression stuff
4445         (do_writeFile): new func, dont call expliti close... will this
4446         breake anything?
4447
4448         * Makefile.am (lyx_LDADD): add -lz
4449
4450 2003-07-28  José Matos  <jamatos@fep.up.pt>
4451
4452         * buffer.C: increment file format.
4453         * paragraph_funcs (readParagraph, readParToken):
4454         * paragraph.C (readParagraph): add \end_layout.
4455
4456 2003-07-27  Angus Leeming  <leeming@lyx.org>
4457
4458         * Makefile.am: remove special casing for configure-time setting of
4459         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4460
4461         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4462         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4463
4464 2003-07-26  André Pönitz  <poenitz@gmx.net>
4465
4466         * paragraph_func.[Ch]:
4467         * paragraph.C (realizeFont): inline it whereever it is used
4468
4469         * rowpainter.C:
4470         * text.C:
4471         * text2.C:
4472         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4473
4474
4475 2003-07-26  André Pönitz  <poenitz@gmx.net>
4476
4477         *       lyxtext.h:
4478         * text.C:
4479         * text2.C: get rid of LyXText::need_break_row
4480
4481 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * toc.[Ch]: put namespace toc inside namespace lyx
4484
4485         * MenuBackend.C (expandToc2): adjust for lyx::toc
4486         (expandToc): ditto
4487
4488         * lyxfunc.C (dispatch): adjust for lyx::find
4489
4490         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4491         lyx::find instead. Reorganize a bit.
4492         (LyXReplace): rename to replace
4493         (LyXFind): rename to find
4494
4495         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4496         (dispatch): ditto
4497
4498 2003-07-26  André Pönitz  <poenitz@gmx.net>
4499
4500         * text.C (setHeightOfRow): restrict scope of temporary variable
4501
4502         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4503           code (never has been used?)
4504
4505 2003-07-27  Asger Alstrup  <alstrup@local>
4506
4507         * text.C (fill): Optimise algorithm to exploit that we can reuse
4508         the LyXFont for many characters.
4509         (setHeightOfRow): Same thing.
4510         (rowBreakPoint): Same thing.
4511
4512 2003-07-26  Asger Alstrup  <alstrup@local>
4513
4514         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4515
4516         * text.C (singleWidth): Spurious font copying in hot-spot
4517         singleWidth avoided. Reorder tests for arabic for efficiency.
4518
4519         * text.C (fill): handle empty paragraphs better.
4520
4521 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4522
4523         * ispell.C:
4524         * encoding.h: add includes
4525
4526         * lyxrc.C: remove reading of bind files
4527
4528         * lyx_main.C (init): setup bindings and menus only if we have a
4529         gui.
4530
4531         * kbmap.C (read): new method. Do the actual reading of bind
4532         files.
4533
4534         * converter.C (dvipdfm_options):
4535         * bufferparams.C:
4536         * lyxrc.C (read):
4537         (output): adapt PAPER_* enums.
4538
4539         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4540
4541         * bufferparams.h: remove paper-related enums from there
4542
4543         * paper.h: New file. A trivial header file to hold paper-related
4544         enums. It should later expand to contain many paper-related
4545         horrors access.
4546
4547         * lyxrc.C: declare extern displayTranslator
4548
4549 2003-07-27  José Matos  <jamatos@fep.up.pt>
4550
4551         * tabular.[Ch] (linuxdoc): add support for tables and figures
4552         (linuxdoc).
4553
4554 2003-07-27  José Matos  <jamatos@fep.up.pt>
4555
4556         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4557         consistency in both functions.
4558         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4559
4560 2003-07-26  Asger Alstrup  <alstrup@local>
4561
4562         * rowpainter.C (paintRows): Change algorithm to work directly on
4563         the insets rather than asking every character in the document
4564         whether its an inset.
4565
4566 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * buffer.C (openFileWrite): factorize some code
4569
4570 2003-07-26  Angus Leeming  <leeming@lyx.org>
4571
4572         * lyx_cb.C:
4573         * lyx_main.[Ch]: replace occurances of system_tempdir with
4574         os::getTmpDir().
4575
4576 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * rename Inset to InsetOld
4579
4580 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4581
4582         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4583         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4584         which I think is a bit clearer. EDIT is gone, since it was
4585         premature optimisation, and broken for mathed anyway.
4586         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4587         with cursor positioning in insets as well (math insets still do not
4588         work, but that's a different story anyway.) It mysteriously
4589         crashes sometimes with undo in the first paragraph, but I'm fairly
4590         confident that this is a compiler bug.
4591
4592 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * paragraph.C (Paragraph): adjust for new clone return type
4595         (operator==): ditto
4596         (copyIntoMinibuffer): ditto
4597
4598 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4599
4600         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4601         by not having a special case, and always doing a full rebreak of
4602         the document after undo.
4603
4604 2003-07-23  Angus Leeming  <leeming@lyx.org>
4605
4606         * factory.C (createInset): InsetExternal::setParams now takes a
4607         Buffer const * arg.
4608
4609 2003-07-23  Angus Leeming  <leeming@lyx.org>
4610
4611         * factory.C (createInset): changed interface to the external and
4612         graphics mailers' string2params functions.
4613
4614 2003-07-23  Angus Leeming  <leeming@lyx.org>
4615
4616         * factory.C (createInset): pass a
4617         Buffer const * parameter to InsetExternalMailer's string2params.
4618
4619 2003-07-22  John Levon  <levon@movementarian.org>
4620
4621         * Thesaurus.h: include the right aiksaurus header
4622
4623 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4624
4625         * MenuBackend.C (expand): check menu shortcuts unconditionally
4626
4627 2003-07-21  Angus Leeming  <leeming@lyx.org>
4628
4629         * factory.C (createInset): pass a
4630         buffer_path parameter to InsetGraphicsMailer's string2params.
4631
4632 2003-07-21  Angus Leeming  <leeming@lyx.org>
4633
4634         * BufferView_pimpl.C (buffer):
4635         * buffer.C (d-tor):
4636         * lyx_main.C (LyX):
4637         * lyxfunc.C (dispatch):
4638         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4639         rather than the grfx shortcut.
4640
4641 2003-07-21  André Pönitz  <poenitz@gmx.net>
4642
4643         * rowpainter.C: remove unused variables
4644
4645         * tabular_funcs.C:
4646         * tabular_funcs.h: move to tabular.C
4647         * Makefile.am: adjust
4648
4649         * tabular.[Ch]: basic optical cleaning
4650
4651         * author.h: pass references, not values
4652
4653 2003-07-18  André Pönitz  <poenitz@gmx.net>
4654
4655         * lyxtext.h:
4656         * metricsinfo.C:
4657         * metricsinfo.h:
4658         * rowpainter.C:
4659         * text.C:
4660         * text2.C:
4661         * text3.C: two-phase drawing for InsetText and InsetTabular
4662         some float -> int changes.
4663
4664 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * lyx_main.C: fix the fix
4667
4668 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * lyx_main.C: fix a crash in batch mode if no files specified
4671         * converter.C: ws
4672
4673 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * format.[Ch] (papersize): moved to BufferParams
4676         * converter.[Ch] (dvips_options): moved to BufferParams
4677         (dvipdfm_options): moved to anon namespace
4678         * bufferparams.[Ch]: added above functions.
4679
4680 2003-07-17  André Pönitz  <poenitz@gmx.net>
4681
4682         * lyxtext.h:
4683         * rowpainter.C:
4684         * text2.C: don't call inset->update() anymore
4685
4686         * metricsinfo.[Ch]: add convenience constructor
4687
4688 2003-07-16  André Pönitz  <poenitz@gmx.net>
4689
4690         * lyxcursor.[Ch]:
4691         * lyxfunc.[Ch]:
4692         * text.C:
4693         * text2.C: replace the LyXCursor::irow_ member with
4694          on-demand computation of the value
4695
4696 2003-07-16  John Levon  <levon@movementarian.org>
4697
4698         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4699
4700 2003-07-15  André Pönitz  <poenitz@gmx.net>
4701
4702         * text.C:
4703         * text2.C: remove no more needed refresh_row
4704
4705 2003-07-15  André Pönitz  <poenitz@gmx.net>
4706
4707         * lyxtext.h:
4708         * rowpainter.C:
4709         * text2.C:
4710         * text3.C: refresh_status tristate -> need_update bool
4711
4712 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * lyxtext.h (init): remove reinit argument (act as if always true)
4715         * text2.C: adjust to that
4716
4717 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4718
4719         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4720         * text3.C: use it to delete selections in some cases
4721         (bugs 441, 673, 702, 954).
4722
4723 2003-07-14  André Pönitz  <poenitz@gmx.net>
4724
4725         * rowpainter.[Ch]: reduce interface
4726
4727 2003-07-14  André Pönitz  <poenitz@gmx.net>
4728
4729         * BufferView_pimpl.C:
4730         * text2.C: adjust after removing unused BufferView * argument
4731
4732 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4733
4734         * text2.C (init): fix a crash fired on resize
4735
4736 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * buffer.[Ch]: added new closing signal
4739         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4740         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4741         BufferView::Pimpl via the closing the signal
4742
4743 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4744
4745         * buffer.[Ch]: take out all bv-related from buffer
4746         * BufferView.C:
4747         * BufferView_pimpl.[Ch]: connect to new signals
4748         * CutAndPaste.C: removed useless asserts
4749         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4750         * lyxvc.[Ch]:
4751         * vc-backend.[Ch]:
4752         * lyxfunc.C: moved view-related funciontality from vc here
4753         * paragraph.C: removed outdated comments
4754         * text.C: ws
4755
4756 2003-07-10  André Pönitz  <poenitz@gmx.net>
4757
4758         * BufferView_pimpl.C:
4759         * tabular.h:
4760         * tabular_funcs.C:
4761         * text.C:
4762         * text2.C: remove InsetText::InnerCache, clean up consequences
4763
4764 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4765
4766         * ispell.C: fix two typos in error messages
4767
4768 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4769
4770         * Extend Note inset to other forms of annotation like Comment
4771         and Greyedout. Right button click gives dialog.
4772
4773         Files modified or added (+):
4774
4775         * insetnote.[Ch]
4776         * FormNote.[Ch]      +
4777         * ControlNote.[Ch]   +
4778         * form_note.fd       +
4779         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4780         frontends/controllers
4781         * xforms/Dialogs.C
4782         * factory.C
4783
4784 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4785
4786         * aspell.C: add missing namespace lyx::support
4787
4788 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * BufferView.[Ch] (newFile): Add
4791         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4792         * LaTeX.[Ch] (message): added this signal and use it
4793         * buffer.[Ch] (busy, message): added these signals and use them
4794         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4795         * converter.C:
4796         * exporter.C:
4797         * format.C:
4798         * importer.C: use buffer signals instead of direct bv calling
4799         * lyx_cb.[Ch] (ShowMessage): removed
4800         * lyx_main.C:
4801         * lyxfunc.C:
4802         * paragraph_funcs.C:
4803         * text2.C: use buffer signals
4804
4805 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * introduce namespace lyx::graphics
4808
4809 2003-07-02  André Pönitz  <poenitz@gmx.net>
4810
4811         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4812
4813 2003-07-01  André Pönitz  <poenitz@gmx.net>
4814
4815         * text.C:
4816         * text2.C:
4817         * text3.C:
4818         * text_funcs.[Ch]:
4819         * textcursor.h:
4820         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4821           text*.C to text_func.C
4822
4823 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4824
4825         * introduce namespace lyx::support
4826
4827 2003-06-30  André Pönitz  <poenitz@gmx.net>
4828
4829         * Chktex.C:
4830         * funcrequest.C:
4831         * lyxtext.h:
4832         * text.C: re-enable --with-included-string
4833
4834 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * textcursor.C: add <config.h>
4837
4838         * text.C (getWord): remove const from word_location arg
4839
4840         * lyxvc.C (getLogFile): fix const type order
4841
4842         * lyxtext.h: remove const from word_location arg, add arg name
4843
4844         * lyxlayout.h: currect type on labeltype.
4845
4846         * importer.C: correct \file
4847
4848         * converter.C (intToFormat): use std:: on ret val, ws changes
4849
4850         * bufferlist.h: correct \file
4851
4852         * buffer.C (makeLinuxDocFile): fix const type order
4853         (makeDocBookFile): ditto
4854         (fillWithBibKeys): use std:: on stdlib args.
4855
4856         * CutAndPaste.C: fix authors.
4857         (availableSelections): use std:: on return vector
4858
4859 2003-06-27  André Pönitz  <poenitz@gmx.net>
4860
4861         * BufferView_pimpl.C:
4862         * bufferview_funcs.C:
4863         * lyxcursor.C:
4864         * lyxcursor.h:
4865         * lyxfunc.C:
4866         * lyxtext.h:
4867         * rowpainter.C:
4868         * text.C:
4869         * text2.C:
4870         * text3.C: remove LyXCursor::row_ member
4871
4872         * lyxtext.h:
4873         * text.C: rename fullRebreak() to partialRebreak() and implement
4874           a fullRebreak() that really bereks fully
4875
4876         * textcursor.h: new struct for cursor-related data
4877
4878 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4879
4880         * lyx_main.C (LyX): get full path of document loaded on the
4881         command line
4882
4883 2003-06-26  André Pönitz  <poenitz@gmx.net>
4884
4885         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4886           remove unused/broken operator>,<,>=.
4887
4888         *       text.C: remove only use of broken operator<= in an Assert().
4889
4890 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4891
4892         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4893         moved errorlist_.clear to showErrorList
4894
4895 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4896
4897         * converter.C (scanLog, runLaTeX):
4898         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4899         move the bv->showErrorList call to the callers
4900         * lyxfunc.C: i.e. here...
4901         * text2.C: and here
4902         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4903         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4904         namespace, the second to...
4905         * buffer_funcs (BufferFormat, parseErrors): added
4906         * errorlist.C (ErrorList(TeXErrors const &)): removed
4907
4908 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4909
4910         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4911
4912 2003-06-24  "Garst R. Reese" <reese@isn.net>
4913
4914         * debug.C: fix typo
4915
4916 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4917
4918         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4919
4920         * version.C.in: change docversion to 1.4
4921
4922 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * buffer.C: fix a bug just introduced
4925
4926 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * buffer.[Ch]: added the parseError signal and use it, removed
4929         sgmlError
4930         * BufferView.[Ch] (addError): moved to ...
4931         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4932         to the Buffer::parseError signal to catch (guess what) parse errors
4933         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4934
4935 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4938         ability to create a buffer and to return an existing one from
4939         the list. Moved these functions to...
4940         * buffer_funcs.[Ch]: added
4941         * BufferView.[Ch] (loadLyXFile): added
4942         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4943         job removed from bufferlist::loadLyXFile.
4944         * buffer.C (setReadOnly): make it work without view
4945         (i.e added an if (users))
4946
4947 2003-06-19  Angus Leeming  <leeming@lyx.org>
4948
4949         * lfuns.h:
4950         * LyXAction.C (init):
4951         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4952         with LFUN_DIALOG_SHOW <name> <data>.
4953
4954 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4955
4956         * CutAndPaste.C (availableSelections): small compilation fix for
4957         ancient (gcc 2.9x) compilers
4958
4959 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * text3.C (cursorNext): add tmp var
4962
4963         * text2.C (updateCounters): for function calling out of for clause
4964         (replaceSelectionWithString): ditto
4965         (insertStringAsParagraphs): ditto
4966         (getColumnNearX): add tmp var
4967         (setCursorFromCoordinates): add tmp var
4968         (cursorDownParagraph): add tmp var
4969         (deleteEmptyParagraphMechanism): add tmp var
4970
4971         * text.C (insertChar): add tmp var
4972
4973         * rowpainter.C (paintDepthBar): add tmp var
4974
4975         * CutAndPaste.C (availableSelections): potentially check all
4976         paragraphs in a cut to fill the shown strings.
4977
4978 2003-06-18  André Pönitz  <poenitz@gmx.net>
4979
4980         * kbmap.[Ch]: use vector<> instead of list<>
4981
4982 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4983
4984         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4985         pasteSelection with index
4986
4987         * text2.C (pasteSelection): modify, call pasteSelection with index
4988
4989         * paragraph.C (asString): reimplement version with no interval to
4990         call the one with interval.
4991
4992         * lyxtext.h: add index arg to pasteSelection
4993
4994         * MenuBackend.C (MenuItem): handle PasteRecent
4995         (Menu::read::Menutags): add md_pasterecent
4996         (read): handle it
4997         (expandPasteRecent): new function
4998         (expand): use it
4999
5000         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5001
5002         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5003         the limited stack
5004         (availableSelections): new function
5005
5006 2003-06-17  Angus Leeming  <leeming@lyx.org>
5007
5008         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5009
5010 2003-06-17  Angus Leeming  <leeming@lyx.org>
5011
5012         * lfuns.h:
5013         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5014
5015         * lyxfunc.C (dispatch): invoke it.
5016
5017 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5018
5019         * iterators.C (operator++, ParPosition): reintroduce some
5020         const_cast for the benefit of older compilers.
5021
5022 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5023
5024         * text3.C (dispatch): do not modify clipboard when doing
5025         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5026         LFUN_DELETE_SKIP on a selection selection
5027
5028 2003-06-16  André Pönitz  <poenitz@gmx.net>
5029
5030         * BufferView.C:
5031         * buffer.C:
5032         * buffer.h:
5033         * paragraph.C:
5034         * tabular.[Ch]: IU of clone() and getLabelList();
5035
5036 2003-06-13  André Pönitz  <poenitz@gmx.net>
5037
5038         * tabular.h: compactification
5039
5040 2003-06-12  André Pönitz  <poenitz@gmx.net>
5041
5042         * tabular.C:
5043         * tabular.h:
5044         * tabular_funcs.h: some renaming plus whitespace
5045
5046 2003-06-12  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView.C:
5049         * BufferView_pimpl.C:
5050         * CutAndPaste.C:
5051         * buffer.C:
5052         * iterators.[Ch]:
5053         * lyxfunc.C:
5054         * text.C:
5055         * toc.C: Return a Paragraph & for ParIterator::operator*()
5056
5057 2003-06-11  John Levon  <levon@movementarian.org>
5058
5059         * lyx_main.C:
5060         * ToolbarBackend.h:
5061         * ToolbarBackend.C: add "Toolbars" section and
5062         put the flags there
5063
5064 2003-06-10  Angus Leeming  <leeming@lyx.org>
5065
5066         * lfuns.h:
5067         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5068
5069         * lyxfunc.C (dispatch): invoke it.
5070
5071 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * main.C: protect <ios> with HAVE_IOS
5074         (main): protect sync_with_stdio with HAVE_IOS
5075
5076 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5077
5078         * text2.C (cutSelection): adjust
5079         (pasteSelection): adjust
5080
5081         * messages.C: handle get of empty string
5082
5083         * main.C (main): use sync_with_stdio(false)
5084
5085         * lyxfunc.C (dispatch): adjust
5086
5087         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5088         (WriteAs): remove unneeded BufferView arg.
5089
5090         * bufferparams.h: use correct types on papersize, papersize2 and
5091         paperpackage.
5092
5093         * bufferparams.C (readToken): adjust for type
5094         (writeLaTeX): add missing cases to switch.
5095
5096         * bufferlist.C (quitWriteBuffer): adjust
5097         (close): adjust
5098
5099         * buffer.C (asciiParagraph): remove some commented code.
5100
5101         * CutAndPaste.C: remove current_view extern variable.
5102         (cutSelection): add BufferParams arg.
5103         (eraseSelection): add BufferParams arg.
5104         (pasteSelection): add Buffer const & arg
5105
5106 2003-06-07  John Levon  <levon@movementarian.org>
5107
5108         * buffer.C:
5109         * paragraph_funcs.C:
5110         * paragraph_pimpl.C:
5111         * text.C:
5112         * text2.C:
5113         * paragraph.h:
5114         * paragraph.C: allow InsetERT to freely space lines,
5115         and some consolidation of code
5116
5117 2003-06-06  José Matos  <jamatos@fep.up.pt>
5118
5119         * buffer.C (makeDocBookFile): fix bug #821
5120
5121 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5124
5125 2003-06-04  Angus Leeming  <leeming@lyx.org>
5126
5127         * buffer.C: bump format to 224.
5128
5129 2003-06-05  André Pönitz  <poenitz@gmx.net>
5130
5131         * text2.C (redoParagraphs): remove two const_cast<>
5132
5133 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5134
5135         * ParagraphList.h: remove last remnants of NO_STD_LIST
5136
5137 2003-06-03  Angus Leeming  <leeming@lyx.org>
5138
5139         * factory.C (createInset): small change to the way InsetExternal's params
5140         are set.
5141
5142 2003-06-04  André Pönitz  <poenitz@gmx.net>
5143
5144         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5145
5146         * paragraph_pimpl.h:
5147         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5148
5149         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5150
5151         * undo_funcs.C: make some simple cases of undo work again
5152
5153 2003-06-03  John Levon  <levon@movementarian.org>
5154
5155         * ispell.C: HPUX doesn't have sys/select.h
5156         (from Albert Chin)
5157
5158 2003-06-03  John Levon  <levon@movementarian.org>
5159
5160         * CutAndPaste.C: update tabular and include inset
5161         buffer references
5162
5163         * buffer.h:
5164         * paragraph.h:
5165         * paragraph.C: remove owningBuffer(), don't pass Buffer
5166         to clone()
5167
5168         * factory.C: insetGraphicsParams changed
5169
5170 2003-06-02  John Levon  <levon@movementarian.org>
5171
5172         * LyXAction.C:
5173         * factory.C:
5174         * lfuns.h:
5175         * lyxfunc.C:
5176         * text3.C: remove insetparent
5177
5178 2003-06-02  John Levon  <levon@movementarian.org>
5179
5180         * buffer.h:
5181         * buffer.C: fix inset_iterator.end(), move out of line
5182         (bug 1149)
5183
5184 2003-06-01  John Levon  <levon@movementarian.org>
5185
5186         * text3.C: use a proper cut/paste when doing inset
5187         insert (from Jürgen Spitzmüller)
5188
5189 2003-06-01  John Levon  <levon@movementarian.org>
5190
5191         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5192
5193 2003-05-30  André Pönitz  <poenitz@gmx.net>
5194
5195         * rowpainter.C: unify second drawing phase
5196
5197 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * trans_mgr.C: remove one case of current_view
5200
5201         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5202
5203         * paragraph_funcs.h: remove paragraph.h include
5204
5205         * paragraph.h: delete NO_STD_LIST stuff
5206
5207         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5208
5209         * buffer.h: remove paragraph.h include
5210
5211         * ParagraphList.C: delete file
5212
5213         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5214
5215         * toc.C (getTocList): adjust
5216
5217         * paragraph_pimpl.C (validate): adjust
5218
5219         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5220
5221         * paragraph.C (Paragraph): adjust
5222         (getPositionOfInset): use const_iterator, adjust
5223         (bibitem): use const_iterator, adjust
5224         (setInsetOwner): adjust
5225
5226         * iterators.C (operator++): adjust
5227
5228         * InsetList.[Ch]: Replace selfmade iterator with standard
5229         vector::iterator also introduce const_iterator. Remove getPos,
5230         getInset and setInset from InsetTable. Adjust accordingly.
5231
5232         * BufferView.C (lockInset): adjust
5233         (ChangeInsets): adjust
5234
5235         * tabular.[Ch]: delete commented same_id functions
5236
5237 2003-05-28  John Levon  <levon@movementarian.org>
5238
5239         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5240
5241 2003-05-28  André Pönitz  <poenitz@gmx.net>
5242
5243         * metricsinfo.[Ch]: remove 'fullredraw' member
5244
5245 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5246
5247         * lyxtextclass.C (operator): remove caching.
5248
5249 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * text3.C: adjust
5252
5253         * text2.C (cursorBottom): adjust
5254         (setCounter): use ParagraphList::find, adjust
5255
5256         * text.C (workWidth): use ParagraphList::find, adjust
5257
5258         * lyxcursor.C (LyXCursor): adjust
5259
5260         * buffer.C (inset_iterator): adjust
5261
5262         * ParagraphList.h: make iterator(value_type) private, make
5263         ParagraphList a friend of iterator.
5264
5265         * ParagraphList.C (find): new function
5266
5267         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5268
5269 2003-05-27  André Pönitz  <poenitz@gmx.net>
5270
5271         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5272
5273 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5274
5275         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5276
5277 2003-05-26  John Levon  <levon@movementarian.org>
5278
5279         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5280
5281 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * remove same_id from function signatures, adjust.
5284
5285 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5288
5289         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5290
5291         * paragraph.C (Paragraph): get rid of same_ids parameter
5292
5293         * ParagraphList.C (insert): adjust
5294         (push_back): adjust
5295
5296 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * paragraph_funcs.C (breakParagraph): adjust
5299         (breakParagraphConservative): adjust
5300
5301         * buffer.C (readParagraph): adjust
5302
5303         * ParagraphList.C (insert): take a reference instead of a pointer
5304         (insert): adjust
5305
5306         * paragraph.[Ch] (id): new function
5307
5308         * bufferlist.C (newFile): adjust
5309
5310         * ParagraphList.C (ParagraphList): adjust
5311         (assign): adjust
5312         (push_back): take a reference instead of a pointer.
5313
5314         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5315
5316         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5317         instead.
5318
5319         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5320         set else use old code.
5321
5322         * ParagraphList.C: remove all NO_NEXT code and only compile this
5323         code of NO_STD_LIST is set.
5324
5325 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * BufferView_pimpl.C:
5328         * TextCache.C:
5329         * TextCache.h:
5330         * bufferlist.C:
5331         * errorlist.h:
5332         * format.C:
5333         * format.h:
5334         * graph.C:
5335         * lyxfunc.C:
5336         * lyxrc.C:
5337         * graphics/GraphicsConverter.C:
5338         * graphics/PreviewLoader.C: header adjustment
5339
5340 2003-05-23  Angus Leeming  <leeming@lyx.org>
5341
5342         * LaTeXFeatures.[Ch] (useBabel): new method.
5343         * bufferparams.C (writeLaTeX): use it.
5344
5345 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * ParagraphList.h (set): remove unused function.
5348
5349 2003-05-23  André Pönitz  <poenitz@gmx.net>
5350
5351         * BufferView.C:
5352         * BufferView_pimpl.C:
5353         * buffer.C:
5354         * buffer.h:
5355         * lyxfunc.C:
5356         * undo_funcs.C: setUndo reworked
5357
5358         * iterators.[Ch]: add access to topmost ParagraphList
5359
5360         * lyxtext.[Ch] (workWidth): add a const
5361
5362 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5363
5364         * texrow.[Ch] (increasePos): remove function
5365         * exporter.C (export): removed unused var and outdated comment
5366
5367 2003-05-23  Angus Leeming  <leeming@lyx.org>
5368
5369         * latexrunparams.h: rename fragile as moving_arg.
5370         * paragraph.C (simpleTeXOnePar): ditto.
5371         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5372
5373 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5376         (createUndo): ditto
5377         (textUndoOrRedo): comment out a currently unused var.
5378
5379         * paragraph.h (NO_NEXT): enable NO_NEXT
5380
5381         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5382
5383         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5384
5385         * exporter.C (Export): adjust for removeAutoInsets removal.
5386
5387         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5388
5389         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5390
5391         * BufferView.[Ch] (removeAutoInsets): delete function
5392
5393 2003-05-22  Angus Leeming  <leeming@lyx.org>
5394
5395         * latexrunparams.h: add a free_spacing variable.
5396
5397         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5398         to pass moving_arg, as the data is stored in runparams.fragile.
5399
5400         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5401         to Inset::latexOptional or to simpleTeXOnePar.
5402
5403         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5404         free_spacing arg to Inset::latexOptional.
5405
5406         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5407         free_spacing arg.
5408
5409 2003-05-22  Angus Leeming  <leeming@lyx.org>
5410
5411         * latexrunparams.h: add fragile and use_babel variables.
5412
5413         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5414         * buffer.C (makeLaTeXFile): store this returned value in
5415         runparams.use_babel, thus passing it to the inset::latex methods.
5416
5417         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5418         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5419
5420         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5421         longer has a fragile arg, as it is stored in runparams.fragile.
5422
5423         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5424         moving_arg parameter as the data is stored in runparams.fragile.
5425
5426         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5427         a fragile parameter as the data is stored in runparams.fragile.
5428
5429 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5432
5433 2003-05-22  Angus Leeming  <leeming@lyx.org>
5434
5435         * latexrunparams.h: add a 'bool nice' which defaults to false.
5436
5437         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5438         now encapsulated within runparams.
5439
5440         * bufferlist.C (updateIncludedTeXfiles):
5441         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5442
5443 2003-05-22  Angus Leeming  <leeming@lyx.org>
5444
5445         * latexrunparams.h: new file containing struct LatexRunParams.
5446         * Makefile.am: add new file.
5447
5448         * LaTeX.[Ch] (c-tor, run):
5449         * buffer.[Ch] (makeLaTeXFile):
5450         * bufferlist.[Ch] (updateIncludedTeXfiles):
5451         * converter.C (convert, scanLog):
5452         * converter.[Ch] (runLaTeX):
5453         * exporter.C (Export):
5454         * paragraph.[Ch] (simpleTeXOnePar):
5455         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5456         * paragraph_funcs.[Ch] (latexParagraphs):
5457         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5458         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5459         pass around a LatexRunParams parameter.
5460
5461 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * paragraph.[Ch]: remove unused constructor
5464
5465         * ParagraphList.C (erase): new function, taking two iterators
5466
5467 2003-05-22  André Pönitz  <poenitz@gmx.net>
5468
5469         * undo_funcs.C: remove duplicated code
5470
5471         * iterator.[Ch]: operator=
5472
5473 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * tabular.C (SetMultiColumn): ws changes
5476
5477         * rowpainter.C (paintFirst): get rid of a ->previous
5478
5479         * lyx_cb.C (getPossibleLabel): parlist simplification
5480
5481         * BufferView.C (ChangeInsets): simplify slightly.
5482
5483 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5484
5485         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5486         * lfuns.h: new LFUN_SPACE
5487         * lyxfunc.C: protected space has a new lfun
5488         * paragraph_funcs.C: read new space insets
5489         * text3.C:
5490         * factory.C: handle new space insets
5491
5492 2003-05-22  André Pönitz  <poenitz@gmx.net>
5493
5494         * BufferView.C:
5495         * BufferView_pimpl.C:
5496         * buffer.[Ch]:
5497         * lyxfunc.C:
5498         * undo_funcs.C: return a ParIterator from getParFromID.
5499
5500         * iterators.[Ch]: add two const's
5501
5502 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * toc.C (getTocList): adjust
5505
5506         * iterators.[Ch]: rework for parlist
5507
5508         * buffer.C (par_iterator_begin): adjust
5509         (par_iterator_end): adjust
5510
5511         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5512
5513         * BufferView.C (removeAutoInsets): adjust
5514         (ChangeInsets): adjust
5515
5516 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5517
5518         * text.C (top_y): fix bug 1110
5519
5520 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * errorlist.[Ch]: added
5523         * buffer.C:
5524         * BufferView.[Ch]:
5525         * BufferView_pimpl.C:
5526         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5527         instead
5528
5529 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * Makefile.am: ensure that lyx is relinked upon changes to the
5532         various "convenience" libs.
5533
5534 2003-05-20  Angus Leeming  <leeming@lyx.org>
5535
5536         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5537         files are compiled in alphabetical order again.
5538
5539         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5540
5541 2003-05-19  Angus Leeming  <leeming@lyx.org>
5542
5543         * gettext.[Ch]: remove "char const * _(char const *)".
5544
5545 2003-05-19  André Pönitz  <poenitz@gmx.net>
5546
5547         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5548
5549         * Makefile.am:
5550         * BufferView.C:
5551         * DepTable.h:
5552         * LaTeXFeatures.C:
5553         * buffer.C:
5554         * lyxfont.C:
5555         * lyxlex.h:
5556         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5557
5558 2003-05-19  André Pönitz  <poenitz@gmx.net>
5559
5560         * buffer.C:
5561         * lyxlayout.[Ch]:
5562         * lyxtextclass.[Ch]:
5563         * paragraph.C:
5564         * paragraph_funcs.[Ch]:
5565         * text2.C:
5566         * text3.C: more insetenv work
5567
5568 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * ParagraphParameters.C (params2string): small bug fixed
5571
5572 2003-05-16  André Pönitz  <poenitz@gmx.net>
5573
5574         * debug.C:
5575         * bufferview_funcs.C: patch from Kornel Benko to prevent
5576           crash when _(...) is called twice in a statement
5577
5578 2003-05-16  André Pönitz  <poenitz@gmx.net>
5579
5580         * BufferView.C:
5581         * lyxfunc.C:
5582         * text.C:
5583         * text2.C:
5584         * text3.C:
5585         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5586
5587 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5588
5589         * lyx_main.C (init): remove spurious static_cast
5590
5591 2003-05-14  André Pönitz  <poenitz@gmx.net>
5592
5593         * BufferView.C: fix format string
5594
5595 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5596
5597         * BufferView.[Ch] (insertErrors): removed
5598         * BufferView.[Ch] (showErrorList): added
5599         * buffer.C (runChkTeX):
5600         * converter.C (scanLog): call showErrorList instead of inserterrors
5601
5602 2003-05-13  André Pönitz  <poenitz@gmx.net>
5603
5604         * BufferView_pimpl.C:
5605         * buffer.C:
5606         * bufferview_func.C:
5607         * MenuBackend.C:
5608         * lyxfunc.C:
5609         * lyxrc.C:
5610         * tex-accent.C:
5611         * text3.C:
5612         * toc.C:
5613         * tabular_funcs.h: tostr() from its own header
5614
5615         * ParagraphParameters.C:
5616         * ToolbarBackend.C:
5617         * bufferparams.C:
5618         * format.C:
5619         * lyxlex_pimpl.C:
5620         * text3.C: STRCONV()
5621
5622 2003-05-12  André Pönitz  <poenitz@gmx.net>
5623
5624         * BufferView.C:
5625         * BufferView_pimpl.C:
5626         * CutAndPaste.C:
5627         * LaTeX.C:
5628         * LaTeXFeatures.C:
5629         * ParagraphParameters.C:
5630         * buffer.C:
5631         * bufferlist.C:
5632         * bufferparams.C:
5633         * bufferview_funcs.C:
5634         * converter.C:
5635         * counters.C:
5636         * debug.C:
5637         * exporter.C:
5638         * format.C:
5639         * importer.C:
5640         * lyx_cb.C:
5641         * lyx_main.C:
5642         * lyxfont.C:
5643         * lyxfunc.C:
5644         * lyxvc.C:
5645         * paragraph.C:
5646         * paragraph_funcs.C:
5647         * tabular.C:
5648         * tabular_funcs.C:
5649         * text2.C:
5650         * text3.C:  boost::format -> bformat  all over the place
5651
5652
5653 2003-05-09  André Pönitz  <poenitz@gmx.net>
5654
5655         * LColor.[Ch]: Pimpl the #include <map> away
5656
5657 2003-05-09  John Levon  <levon@movementarian.org>
5658
5659         * bufferlist.C: never remove emergency saves
5660
5661 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * Makefile.am: better lib building
5664
5665 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5668         instead.
5669         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5670         (simpleTeXSpecialChars): adjust
5671         (simpleTeXSpecialChars): adjust
5672         * paragraph.C (simpleTeXOnePar): adjust
5673         * buffer.C (makeLaTeXFile): adjust
5674
5675         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5676
5677         * text2.C (changeDepth): parlist cleanup
5678         (getColumnNearX): ditto
5679
5680         * rowpainter.C (getLabelFont): parlist cleanup
5681
5682         * bufferlist.C (newFile): parlist cleanup
5683
5684         * CutAndPaste.C (eraseSelection): parlist cleanup
5685
5686         * BufferView_pimpl.C (trackChanges): parlist cleanup
5687         (dispatch): ditto
5688
5689         * BufferView.C (lockInset): parlist cleanup.
5690         (ChangeInsets): ditto
5691
5692 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * CutAndPaste.h: Update file header.
5695
5696         * CutAndPaste.C: Update file header.
5697         Store the parts cut out of the Document in a limited_stack.
5698         (copySelection): adjust
5699         (pasteSelection): new function, takes the index in the limited stack.
5700         (nrOfParagraphs): adjust
5701         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5702         simplify error inset insertion.
5703         (checkPastePossible): adjust
5704
5705 2003-05-06  John Levon  <levon@movementarian.org>
5706
5707         * text2.C: don't cast wrap inset to float
5708
5709 2003-05-05  André Pönitz  <poenitz@gmx.net>
5710
5711         * iterator.C:
5712         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5713
5714         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5715           few naked Paragraph *.
5716
5717 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5718
5719         * bufferparams.C: Output warning if a document with missing
5720         TeX document class is loaded
5721         * exporter.C: Disable TeX exports if the document class is missing
5722         * lyxtextclass.C:
5723         * lyxtextclass.h:
5724         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5725         isTeXClassAvailable()
5726
5727 2003-05-03  John Levon  <levon@movementarian.org>
5728
5729         * BufferView.h:
5730         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5731         explicit cursor show/hide
5732
5733         * BufferView_pimpl.h:
5734         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5735         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5736
5737         * lyxfunc.C: hide cursor before dispatching.
5738
5739         * lyx_cb.C:
5740         * lyxfind.C:
5741         * text.C:
5742         * text3.C: remove explicit cursor hides
5743
5744 2003-05-02  André Pönitz  <poenitz@gmx.net>
5745
5746         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5747
5748         * undo_funcs.C:
5749         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5750           linked lists
5751
5752         * text2.C: tiny whitespace
5753
5754 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * undo_funcs.C: almost only ws changes.
5757
5758         * ParagraphList.C (splice): just return if pl is empty.
5759
5760 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * ParagraphList.C (splice): new function.
5763
5764         * CutAndPaste.C (pasteSelection): use it
5765
5766 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * CutAndPaste.C (pasteSelection): remove the last next and
5769         previous from this file.
5770
5771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * CutAndPaste.C (pasteSelection): more clean up, user proper
5774         ParagraphList functions for pasteing.
5775
5776         * ParagraphList.C (insert): new function, three arg insert
5777
5778 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * ParagraphList.C (insert): new function, three arg insert
5781
5782         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5783         not on paragraphs.
5784
5785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5788
5789 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5792
5793 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5796         (copySelection): clean up a bit.
5797         (pasteSelection): use make_pair
5798
5799         * ParagraphList.C (ParagraphList): implement copy constructor
5800         (operator=): implement, base on copy constructor.
5801         (assign): new func
5802
5803         * paragraph.C (erase): return a bool
5804
5805         * paragraph_pimpl.C (erasePos): remove function, move contents...
5806         (erase): ... here. Return a bool.
5807         (erase): call erase instead of erasePos.
5808
5809 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5810
5811         * ParagraphList.h: define PitPosPair
5812         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5813         ParagraphList, fix a bug on pasting multiple pars
5814         * text2.C: change interface to C&P
5815
5816 2003-04-30  André Pönitz  <poenitz@gmx.net>
5817
5818         * undo_func.C: revert part of yesterday's patch 2
5819
5820 2003-04-30  John Levon  <levon@movementarian.org>
5821
5822         * LColor.C: s/tabular/table/
5823
5824 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * text3.C (dispatch): do not convert iterator -> pointer
5827         * undo_funcs.C (setCursorParUndo): ditto
5828         * text_funcs.C (transposeChars): ditto
5829
5830         * text2.C (setLayout): ws changes only
5831
5832         * text.C (breakParagraph): do not convert iterator -> pointer
5833         (insertChar): ditto
5834         (acceptChange): ditto
5835         (rejectChange): ditto
5836         (changeCase): ditto
5837         (Delete): ditto
5838         (backspace): ditto
5839
5840         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5841         pointer
5842
5843 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5844
5845         * text3.C (gotoInset): YABG (yet another bad getChar)
5846
5847 2003-04-29  André Pönitz  <poenitz@gmx.net>
5848
5849         * paragraph.h: make operator= private unimplemented as long as
5850           it is unusable
5851
5852         * ParagraphList.C: whitespace
5853
5854         * paragraph.[Ch]:
5855         * paragraph_pimpl.[Ch]:
5856         * paragraph_funcs.C:
5857         * CutAndPaste.C:
5858         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5859
5860         * text2.C:
5861           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5862
5863 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5866         * paragraph.[Ch] (erase):
5867         * paragraph_pimpl.[Ch] (erase): change return type and value
5868         * text2.C (cutSelection): some rework
5869
5870 2003-04-28  John Levon  <levon@movementarian.org>
5871
5872         * bufferlist.C: changes for unsaved changes dialog
5873
5874 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * bufferlist.C (newFile): set language (messages_) for new
5877         documents also.
5878
5879         * buffer.C (readFile): ws changes only.
5880
5881 2003-04-28  André Pönitz  <poenitz@gmx.net>
5882
5883         * undo_funcs.C:
5884         * lyxfunc.C:
5885         * buffer.[Ch]:
5886         * BufferView_pimpl.C:
5887         * BufferView.C: getParFromID related ParagraphList::iterator changes
5888
5889 2003-04-28  André Pönitz  <poenitz@gmx.net>
5890
5891         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5892           Changes
5893
5894 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * messages.C: remove one more localedir class variable.
5897
5898 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * messages.C (getLocaleDir): singleton generation function
5901         (Pimpl): use it.
5902         (Messages): add a default constructor.
5903
5904         * main.C (main): do not setup localedir here, do not call
5905         gettext_init.
5906
5907         * gettext.C (_): use it.
5908         (gettext_init): delete funciton
5909
5910 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * gettext.C (getLyXMessages): new singleton generating function.
5913
5914         * buffer.C (updateDocLang): adjust
5915
5916         * Makefile.am (messages.o): add target
5917         (main.o): remove target
5918
5919 2003-04-27  John Levon  <levon@movementarian.org>
5920
5921         * bufferlist.C:
5922         * lyx_cb.C:
5923         * lyxfunc.C:
5924         * lyxvc.C: specify cancel button in Alert::prompt
5925
5926 2003-04-26  John Levon  <levon@movementarian.org>
5927
5928         * text3.C:
5929         * lyxfunc.C:
5930         * lfuns.h:
5931         * LyXAction.C: add LFUN_INSET_SETTINGS
5932
5933         * lyxfunc.C: don't enable tabular-feature when there's
5934         just any locking inset
5935
5936 2003-04-26  John Levon  <levon@movementarian.org>
5937
5938         * bufferlist.C: re-add Cancel to buffer close question
5939
5940         * lyxfunc.C: fix import UI a bit
5941
5942 2003-04-25  John Levon  <levon@movementarian.org>
5943
5944         * gettext.C: remove the broken asserts for now
5945
5946 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * messages.C: make case where setlocale cannot comply work better.
5949
5950         * buffer.C (updateDocLang): new function
5951         (changeLanguage): use it
5952         (readFile): use it
5953
5954         * text2.C (setCounter): use B_ a bit.
5955
5956         * lyxlayout.C (Read): be sure to trim the label strings.
5957
5958         * messages.C (Messages): fix typo in comment
5959
5960         * buffer.C (readFile): set message_ after file is loaded.
5961         (makeDocBookFile): remove double return
5962         (changeLanguage): reset message_ upon language change.
5963         (B_): new func, use this to get translated buffer strings.
5964
5965         * main.C: add myself and Jean Marc as authors.
5966
5967 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * messages.[hC]: pimplify Messages, and three different pimpls to be
5970         used in different circumstances.
5971
5972         * gettext.[Ch]: change for use with new message code.
5973
5974 2003-04-24 André Pönitz <poenitz@gmx.net>
5975
5976         * factory.C: support for eqref
5977
5978 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * messages.[Ch]: add missing char
5981
5982         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5983
5984         * messages.[Ch]: New files
5985
5986 2003-04-18  John Levon  <levon@movementarian.org>
5987
5988         * BufferView.h:
5989         * BufferView.C:
5990         * BufferView_pimpl.C:
5991         * lfuns.h:
5992         * LyXAction.C:
5993         * lyxtext.h:
5994         * text2.C: remove layout-copy/paste (bug 778)
5995
5996 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5997
5998         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5999
6000 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6001
6002         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6003         if they succeed. Act accordingly.
6004
6005 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * text2.C (setCharFont): adjust
6008         (setCounter): adjust
6009         (insertStringAsLines): adjust
6010
6011         * text.C (leftMargin): adjust
6012         (setHeightOfRow): adjust
6013
6014         * rowpainter.C (paintFirst): adjust
6015         (paintLast): adjust
6016
6017         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6018         (outerHook): ditto
6019         (isFirstInSequence): ditto
6020         (getEndLabel): ditto
6021         (outerFont): adjust
6022
6023         * paragraph.C (getParLanguage): comment out some hard stuff.
6024
6025         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6026         (sgmlError): ditto
6027         (simpleDocBookOnePar): ditto
6028         (makeDocBookFile): use ParagraphList::iterator
6029
6030         * CutAndPaste.C (pasteSelection): adjust
6031
6032 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * text2.C (getFont): adjust
6035         (getLayoutFont): adjust
6036         (getLabelFont): adjust
6037
6038         * paragraph_funcs.C (TeXOnePar): adjust
6039
6040         * buffer.C (simpleLinuxDocOnePar): adjust
6041         (simpleDocBookOnePar): adjust
6042
6043         * CutAndPaste.C (pasteSelection): adjust
6044
6045         * BufferView.C (getEncoding): adjust
6046
6047         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6048
6049 2003-04-16  John Levon  <levon@movementarian.org>
6050
6051         * lyxfind.C: use parlist stuff for search/changes
6052
6053 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6056
6057         * text2.C (deleteEmptyParagraphMechanism): adjust
6058
6059         * text2.[Ch] (ownerParagraph): delete func (both of them
6060
6061 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6064
6065 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * ParagraphList.C: prepare for NO_NEXT
6068
6069 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * text2.C (getFont): adjust
6072         (getLayoutFont): adjust
6073         (getLabelFont): adjust
6074
6075         * paragraph.C (getFont): adjust
6076         (getLabelFont): adjust
6077         (getLayoutFont): adjust
6078
6079         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6080
6081 2003-04-15  John Levon  <levon@movementarian.org>
6082
6083         From Angus Leeming
6084
6085         * lyx_main.C: handle Include in .ui files
6086
6087 2003-04-15  John Levon  <levon@movementarian.org>
6088
6089         * MenuBackend.C: make the doc files length shorter
6090
6091         * ToolbarBackend.h:
6092         * ToolbarBackend.C: handle toolbar placement flags,
6093         Minibuffer
6094
6095 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6098         adjust
6099
6100         * paragraph_funcs.C (TeXOnePar): adjust
6101
6102         * paragraph.C (getLabelFont): add outerfont arg, adjust
6103         (getLayoutFont): ditto
6104         (simpleTeXOnePar): adjust
6105
6106         * paragraph_pimpl.C (realizeFont): delete func
6107
6108 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6109
6110         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6111         row argument, constify cur argument.
6112
6113 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * text2.C (getFont): adjust
6116         (getLayoutFont): adjust
6117         (getLabelFont): adjust
6118
6119         * paragraph_funcs.C (TeXOnePar): adjust
6120         (outerFont): new func...
6121         (realizeFont): ...moved out from here, changed this to facilitate
6122         transition
6123
6124         * paragraph.C (getFont): take outerfont as arg, adjust
6125         (simpleTeXOnePar): add outerfont arg, adjust
6126
6127         * buffer.C (simpleLinuxDocOnePar): adjust
6128         (simpleDocBookOnePar): adjust
6129
6130         * CutAndPaste.C (pasteSelection): adjust
6131
6132         * BufferView.C (getEncoding): adjust
6133
6134 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * text2.C (setCharFont): adjust
6137         (setCounter): adjust
6138
6139         * text.C (leftMargin): adjust
6140         (setHeightOfRow): adjust
6141
6142         * rowpainter.C (paintFirst): adjust
6143         (paintLast): adjust
6144
6145         * paragraph_pimpl.C (realizeFont): adjust
6146
6147         * paragraph.C (isFirstInSequence): move from here...
6148         * paragraph_funcs.C (isFirstInSequence): ...to here
6149
6150         * paragraph.C (outerHook): move from here...
6151         * paragraph_funcs.C (outerHook): ...to here
6152
6153         * paragraph.C (depthHook): move from here...
6154         * paragraph_funcs.C (depthHook): ...to here
6155
6156         * paragraph.C (getEndLabel): move from here...
6157         * paragraph_funcs.C (getEndLabel): ...to here
6158
6159         * text2.C (realizeFont): move from here...
6160         * paragraph_funcs.C (realizeFont): ...to here
6161
6162 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6165
6166 2003-04-14  Angus Leeming  <leeming@lyx.org>
6167
6168         * LColor.[Ch]: scrap LColor mathcursor.
6169
6170 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * lyxlex.[Ch] (text): delete function
6173         * trans.C (Load): adjust
6174         * paragraph_funcs.C (readParToken): adjust
6175
6176 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6179         vector<char> instead of a char[].
6180
6181         * lyxlex_pimpl.C (getString): adjust
6182         (next): adjust
6183         (lex): use getString
6184         (eatLine): adjust
6185         (nextToken): adjust
6186
6187         * lyxlex.C (text): use pimpl_->getString()
6188         (getBool): ditto
6189         (findToken): ditto
6190
6191 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6194         (makeFontEntriesLayoutSpecific): temp var for par.size()
6195         (setLayout): temp var for ownerParagraphs().end()
6196         (fullRebreak): temp var for rows().end()
6197         (selectionAsString): temp var for boost::next(startpit), realize
6198         that the while really is a regular for loop.
6199         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6200         setCursor in one place.
6201         (setParagraph): temp vr for ownerParagraphs().end()
6202         (updateCounters): make the while loop a for loop
6203         (cutSelection): temp var for ownerParagraphs().end()
6204         (updateInset): make the do {} while() a regular for loop
6205         (getCursorX): use temp vars
6206         (setCurrentFont): use temp vars
6207         (getColumnNearX): use temp vars
6208
6209 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * text.C (transformChar): use temp var for getChar
6212         (computeBidiTables): use temp var for row->par()
6213         (fill): move temp vars for row->par() and pit->layout() earlier in
6214         the function.
6215         (labelFill): use temp var for row->par()
6216         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6217         asc and desc, realize that pit never changes and that firstpit is
6218         just a duplicate and not needed. Exchange rit->par() with pit in a
6219         lot of places.
6220         (breakAgain): use a temp var for boost::next(rit)
6221         (breakAgainOneRow): ditto
6222         (breakParagraph): use a temp var for rows().begin()
6223         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6224         (cursorRightOneWord): use temp var for cursor.par() and
6225         cursor.pos(), remove usage of tmpcursor.
6226         (cursorLeftOneWord): use temp var for cursor.par() and
6227         cursor.pos() only set cur at end of function.
6228
6229 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * text.C, text2.C: exchange all usage of Paragraph::next with
6232         boost::next(ParagraphList::iterator)
6233
6234         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6235
6236         * text2.C (cursorTop): simplify implementation
6237         (cursorBottom): ditto
6238         (setParagraph): use ParagraphList::iterator
6239         (setCurrentFont): adjust
6240         (getColumnNearX): adjust
6241         (cursorRight): adjust
6242         (cursorLeft): remove usage of Paragraph::previous
6243         (cursorUpParagraph): ditto
6244         (deleteEmptyParagraphMechanism): slight cleanup
6245
6246         * text.C (isBoundary): take a Paragraph const & instead of a
6247         pointer as arg.
6248         (addressBreakPoint): ditto
6249         (leftMargin): remove usage of Paragraph::previous.
6250         (setHeightOfRow): ditto
6251         (cursorLeftOneWord): ditto
6252         (selectNextWordToSpellcheck): ditto
6253         (Delete): ditto
6254         (backspace): ditto
6255         (breakParagraph): remove one usage of Paragraph::next
6256         (redoParagraph): ditto
6257         (acceptChange): ditto
6258         (insertChar): adjust
6259         (rowBreakPoint): adjust
6260
6261         * bufferview_funcs.C (toggleAndShow): adjust
6262
6263 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6264
6265         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6266         methods to access it.
6267         * lyxtext.h:
6268         * text.C: Added updateRowPositions to compute all row positions.
6269         Make top_y and getRowNearY() to use the cached y position
6270
6271 2003-04-11  John Levon  <levon@movementarian.org>
6272
6273         * text.C (rowBreakPoint): reintroduce the labelEnd
6274         checks, code copied from the row fill stuff. Deep voodoo.
6275
6276         * text.C (fill): add a comment and debugging for the
6277         next poor soul.
6278
6279 2003-04-11  John Levon  <levon@movementarian.org>
6280
6281         * text.C: make sure fullrow insets get wrapped to the next line,
6282         even when they're in a manual label
6283
6284 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * text2.C (insertParagraph): make it take ParagraphList::iterator
6287         as arg.
6288         (setLayout): make it return ParagraphList::iterator
6289         (redoParagraphs): ditto
6290         (setCounter): ditto
6291         (checkParagraph): ditto
6292
6293         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6294
6295         * text2.C: adjust several funcs.
6296         (realizeFont): take a ParagraphList::iterator as arg.
6297         (getLayoutFont): ditto
6298         (getLabelFont): ditto
6299         (setCharFont): ditto
6300
6301         * text.C: adjust several funcs.
6302
6303 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * text.C (selectNextWordToSpellcheck): don't accidentally
6306         skip insets
6307
6308 2003-04-10  John Levon  <levon@movementarian.org>
6309
6310         * ToolbarBackend.C (getIcon): special handling for
6311         LFUN_MATH_DELIM
6312
6313 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * text2.C (cursorRight): a getChar assert fixed
6316
6317 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * text2.C (getFont): change to take a ParagraphList::iterator
6320         instead of Paragraph*
6321         Adjust several functions.
6322
6323         * text.C (transformChar): change to take a ParagraphList::iterator
6324         instead of Paragraph*
6325         (singleWidth): ditto
6326         Adjust several functions.
6327
6328         * rowpainter.C: adjust several functions
6329         * rowpainter.h:store a ParagraphList::iterator and not a
6330         Paragraph&.
6331
6332
6333 2003-04-09  John Levon  <levon@movementarian.org>
6334
6335         * lyxfunc.C:
6336         * lfuns.h:
6337         * LyXAction.h:
6338         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6339         and the "help" bits as well
6340
6341 2003-04-09  John Levon  <levon@movementarian.org>
6342
6343         * ToolbarBackend.h:
6344         * ToolbarBackend.C: allow multiple toolbars
6345
6346 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * undo_funcs.C (setCursorParUndo): adjust
6349
6350         * text_funcs.C (transposeChars): adjust
6351
6352         * text3.C (gotoNextInset): adjust
6353         (dispatch): adjust
6354
6355         * text2.C (setLayout): adjust
6356         (changeDepth): adjust
6357         (setFont): adjust
6358         (redoParagraphs): adjust
6359         (selectionAsString): adjust
6360         (setParagraph): adjust
6361         (insertInset): adjust
6362         (cutSelection): adjust
6363         (copySelection): adjust
6364         (pasteSelection): adjust
6365         (insertStringAsLines): adjust
6366         (updateInset): adjust
6367         (setCursor): change to take a ParagraphList::iterator parameter
6368         (setCursorIntern): change to take a ParagraphList::iterator parameter
6369         (setCurrentFont): adjust
6370         (cursorLeft): adjust
6371         (cursorRight): adjust
6372         (deleteEmptyParagraphMechanism): adjust
6373
6374         * text.C (breakParagraph): adjust
6375         (insertChar): adjust
6376         (acceptChange): adjust
6377         (rejectChange): adjust
6378         (selectNextWordToSpellcheck): adjust
6379         (changeCase): adjust
6380         (Delete): adjust
6381         (backspace): adjust
6382
6383         * lyxfind.C (SearchForward): adjust
6384         (SearchBackward): adjust
6385         (nextChange): adjust
6386
6387         * lyxcursor.C (par): adjust
6388
6389         * lyxcursor.h: store a ParagraphList::iterator instead of a
6390         Paragraph*
6391
6392         * lyx_cb.C (getPossibleLabel): adjust
6393
6394         * bufferview_funcs.C (toggleAndShow): adjust
6395
6396         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6397         (dispatch): adjust
6398
6399         * BufferView.C (removeAutoInsets): adjust
6400         (lockedInsetStoreUndo): adjust
6401
6402 2003-04-09  John Levon  <levon@movementarian.org>
6403
6404         * ToolbarBackend.C: try icon without argument
6405         if with argument fails
6406
6407 2003-04-08  John Levon  <levon@movementarian.org>
6408
6409         * ToolbarBackend.h:
6410         * ToolbarBackend.C: add getIcon(), handle tooltip,
6411         and change from "Icon" to "Item".
6412
6413 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6414
6415         * BufferView.C (lockInset): another bad getchar crunched
6416
6417 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6418
6419         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6420         again)
6421
6422 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6423
6424         * lyxfind.C (searchForward, searchBackwards): bug 782
6425
6426 2003-04-07  John Levon  <levon@movementarian.org>
6427
6428         * paragraph.C: remove dead comment
6429
6430         * text.C: remove troublesome depth-fiddling code
6431         in leftMargin() and rightMargin() (bug 1017)
6432
6433         * text.C: fix breaking of rows in nested lists
6434         (bug 1004)
6435
6436         * text2.C (updateCounters): fix up depth values
6437         (bug 1013)
6438
6439 2003-04-07  John Levon  <levon@movementarian.org>
6440
6441         * BufferView_pimpl.C: clear message when doc finishes resizing,
6442         and after a mouse event
6443
6444         * lyxfunc.C: clear message after exiting inset
6445
6446 2003-04-07  John Levon  <levon@movementarian.org>
6447
6448         * bufferview_funcs.C: show math status not outside
6449         status in the statusbar
6450
6451 2003-04-07  John Levon  <levon@movementarian.org>
6452
6453         * lyxfunc.C: note status changed after a depth change
6454
6455 2003-04-04  Angus Leeming  <leeming@lyx.org>
6456
6457         * LaTeX.h: move AuxInfo operator==, != out of line.
6458         Remove LaTeX virtual destructor; nothing derives from it.
6459         Move operator()() out of public area and rename it startscript().
6460         Change protected for private.
6461
6462 2003-04-04  Angus Leeming  <leeming@lyx.org>
6463
6464         * lyxfunc.C:
6465         * text2.C: remove unneeded #includes.
6466
6467 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6468
6469         * text2.C (dEPM): fix the heigth of the next row
6470
6471 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6472
6473         * text.C: squashed an invalid getChar requester + some ws changes
6474
6475 2003-04-03  John Levon  <levon@movementarian.org>
6476
6477         * bufferview_funcs.h:
6478         * bufferview_funcs.C:
6479         * lyxfunc.C:
6480         * lyxtext.h:
6481         * text2.C: make getStatus work for the env depth lfuns
6482
6483 2003-04-03  John Levon  <levon@movementarian.org>
6484
6485         * bufferview_funcs.h:
6486         * bufferview_funcs.C:
6487         * lyxfunc.C:
6488         * lyxtext.h:
6489         * text2.C: parlistize decDepth(), by merging it with incDepth()
6490
6491 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * lyxrow.h: store a ParagraphList::iterator instead of a
6494         Paragraph* and adjust other class functions to suit.
6495
6496         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6497         above.
6498
6499 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6500
6501         * text2.C (setCursor): do not anchor to cursor row for the time being
6502
6503 2003-04-02  John Levon  <levon@movementarian.org>
6504
6505         * LyXAction.C:
6506         * lfuns.h:
6507         * lyx_main.C:
6508         * lyxtext.h:
6509         * text.C:
6510         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6511
6512 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * paragraph.h: make ParagraphList and ParagraphList::iterator
6515         friends of Paragraph.
6516
6517         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6518
6519         * ParagraphList.C: Use the private next_ and previous_ from
6520         Paragraph.
6521
6522 2003-04-01  John Levon  <levon@movementarian.org>
6523
6524         * ToolbarBackend.h:
6525         * ToolbarBackend.C:
6526         * Makefile.am: rename, remove defaults gunk
6527
6528         * MenuBackend.h:
6529         * MenuBackend.C: remove defaults gunk
6530
6531         * Languages.h:
6532         * Languages.C: remove defaults gunk
6533
6534         * lyx_main.h:
6535         * lyx_main.C: error out if files couldn't be found.
6536
6537 2003-04-02  John Levon  <levon@movementarian.org>
6538
6539         * text2.C: make incDepth() use parlist
6540
6541 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * undo_funcs.C (firstUndoParagraph): adjust
6544
6545         * text3.C (gotoInset): adjust
6546         (dispatch): adjust, and rewrite loop.
6547
6548         * text2.C (init): adjust, and rewrite loop.
6549         (redoParagraphs): adjust
6550         (updateInset): adjust, and rewrite loop.
6551         (deleteEmptyParagraphMechanism): adjust
6552
6553         * tabular.C (LyXTabular): adjust
6554         (SetMultiColumn): adjust
6555         (TeXRow): adjust
6556
6557         * lyxtext.[Ch] (ownerParagraph): delete function
6558         (ownerParagraphs): new function returns a ParagraphList.
6559
6560         * BufferView.C (removeAutoInsets): adjust
6561         (insertErrors): adjust
6562         (setCursorFromRow): adjust
6563
6564 2003-04-01  Angus Leeming  <leeming@lyx.org>
6565
6566         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6567         in the frontends.
6568
6569 2003-04-02  John Levon  <levon@movementarian.org>
6570
6571         * lyxtext.h:
6572         * text.C:
6573         * Makefile.am:
6574         * text_funcs.h:
6575         * text_funcs.C: make transposeChars a free function
6576
6577         * lyxrow_funcs.C: remove wrong comment
6578
6579 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * lyxtext.h: adjust
6582         * rowpainter.C: adjust
6583         * text.C: adjust
6584         * text2.C: adjust
6585         * text3.C: adjust
6586
6587         * lyxrow_funcs. [Ch]: new files
6588
6589         * lyxrow.[Ch]: remove next and previous pointers
6590         (next,previous): remove accessor functions
6591         (isParEnd): move to lyxrow_funcs
6592         (lastPos): move to lyxrow_funcs
6593         (nextRowIsAllInset): move to lyxrow_funcs
6594         (lastPrintablePos): move to lyxrow_funcs
6595         (numberOfSeparators): move to lyxrow_funcs
6596         (numberOfHfills): move to lyxrow_funcs
6597         (numberOfLabelHfills): move to lyxrow_funcs
6598         (hfillExpansion): move to lyxrow_funcs
6599
6600         * lyxfunc.C: adjust
6601
6602         * bufferview_funcs.C (toggleAndShow): adjust
6603
6604         * RowList.h: Remove class RowList from file leave just a
6605         std::list<Row>.
6606
6607         * RowList.C: delete file
6608
6609         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6610         and lyxrow_funcs.h
6611
6612 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * text3.C (cursorPrevious): adjust
6615         (cursorNext): adjust
6616         (dispatch): adjust
6617
6618         * text2.C (redoHeightOfParagraph): adjust
6619         (redoDrawingOfParagraph): adjust
6620         (setCursor): adjust
6621
6622         * text.C (breakParagraph): adjust
6623         (insertChar): adjust
6624         (backspace): adjust
6625
6626         * rowpainter.C (RowPainter): adjust
6627         (leftMargin): simplify and adjust
6628         (most rowpainter functions): adjust.
6629
6630         * rowpainter.h: store the row as RowList::iterator not as Row*
6631
6632         * lyxcursor.C (row): taka RowList::iterator as arg
6633         (irow): ditto
6634
6635         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6636         of Row*.
6637
6638 2003-04-01  Angus Leeming  <leeming@lyx.org>
6639
6640         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6641         stuff like bool Bool.
6642
6643 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6644
6645         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6646         rewrite a loop
6647
6648 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6651         RowList::iterator.
6652
6653         * lyxtext.h (rows): drop one version and leve a const variant that
6654         returns a RowList::iterator.
6655
6656 2003-03-31  Angus Leeming  <leeming@lyx.org>
6657
6658         * text.C (fill): ensure that the signature is the same as that in the
6659         header file.
6660
6661 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * text2.C (redoParagraphs): adjust
6664         (updateCounters): adjust
6665         (checkParagraph): adjust
6666         (getColumnNearX): adjust and reformat a bit.
6667
6668         * text.C (top_y): adjust
6669         (workWidth): adjust
6670         (leftMargin): adjust
6671         (prepareToPrint): adjust
6672         (getRow): adjust
6673         (getRowNearY): adjust
6674
6675         * lyxtext.h: make rowlist_ mutable.
6676
6677         * RowList.h: add const_iterator
6678         * RowList.C: adjust for RowList::const_iterator.
6679
6680         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6681         adjust.
6682
6683 2003-03-31  John Levon  <levon@movementarian.org>
6684
6685         * lyxrc.h:
6686         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6687
6688         * lyx_main.C: set default fonts from using lyx_gui funcs
6689
6690         * exporter.C: pdf_mode moved from lyxrc
6691
6692         * lyx_cb.C:
6693         * lyxfunc.C: changes from above
6694
6695 2003-03-31  John Levon  <levon@movementarian.org>
6696
6697         * lyx_main.C: fix to the last fix
6698
6699 2003-03-31  John Levon  <levon@movementarian.org>
6700
6701         * bufferlist.C: "Load original" -> "Load Original"
6702
6703         * converter.C:
6704         * exporter.C:
6705         * importer.C:
6706         * lyx_main.C:
6707         * format.C: more Alert cleanups
6708
6709 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * text2.C (removeParagraph): make it take a RowList::iterator as
6712         arg, adjust.
6713         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6714         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6715
6716         * text.C (anchor_row): make it take a RowList::iterator as arg,
6717         adjust.
6718         (computeBidiTables): make it take a const reference to Row instead
6719         of Row pointer, adjust.
6720         (leftMargin): make it take a RowList::iterator as arg, adjust.
6721         (rowBreakPoint): adjust
6722         (breakAgainOneRow): make it take a RowList::iterator as arg,
6723         adjust.
6724         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6725
6726         * bufferview_funcs.C (toggleAndShow): adjust
6727
6728 2003-03-30  John Levon  <levon@movementarian.org>
6729
6730         * Makefile.am:
6731         * BoostFormat.h:
6732         * boost-inst.C: moved to support
6733
6734         * several files: changes as a result
6735
6736 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text2.C (LyXText): adjust.
6739         (init): adjust
6740         (removeRow): make it take a RowList::iterator as arg, adjust.
6741         (fullRebreak): adjust
6742         (deleteEmptyParagraphMechanism): adjust
6743         (clearPaint): adjust
6744         (postPaint): adjust
6745
6746         * text.C (top_y): adjust
6747         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6748         (breakAgain): make it take a RowList::iterator as arg, adjust.
6749         (breakParagraph): adjust
6750         (insertChar): adjust
6751         (backspace): adjust
6752
6753         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6754         need_break_row, and refresh_row.
6755
6756         * text3.C (dispatch): adjust
6757
6758         * text2.C (checkParagraph): adjust
6759         (setCursor): adjust
6760         (setCursorFromCoordinates): adjust
6761
6762         * text.C (top_y): adjust
6763         (workWidth): adjust
6764         (getRow): make it return a RowList::iterator, adjust
6765         (getRowNearY): make it return a RowList::iterator, adjust
6766
6767         * text2.C (init): adjust
6768         (insertRow): remove function
6769         (insertParagraph): adjust
6770         (redoParagraphs): adjust
6771         (fullRebreak): adjust
6772         (updateCounters): adjust
6773
6774         * text.C (top_y): rewrite to use RowList iterators.
6775         (top_y): adjust
6776         (setHeightOfRow): rewrite to sue RowList iterators.
6777         (appendParagraph): adjust
6778         (breakAgain): adjust
6779         (breakAgainOneRow): adjust
6780         (breakParagraph): adjust
6781         (getRow): adjust
6782         (getRowNearY): adjust, and remove commented code.
6783
6784         * lyxtext.h (firstRow): delete function
6785         (lastRow): delete function
6786         (rows): new function (const and non-const versions.)
6787         (insertRow): delete function
6788
6789         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6790
6791 2003-03-29  John Levon  <levon@movementarian.org>
6792
6793         * BufferView_pimpl.C: always update scrollbar top
6794         because pasting text when we're anchored could mean we
6795         miss an update altogether
6796
6797 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * text2.C (init): use rowlist_.end() and not 0.
6800         (insertRow): change to take a RowList::iterator as arg, adjust
6801         for this.
6802         (insertParagraph): change to take a RowList::iterator as arg,
6803         adjust for this.
6804         (redoParagraphs): remove some debug msgs.
6805
6806         * text.C (appendParagraph): change to take a RowList::iterator
6807         arg, adjust for this.
6808         (breakAgain): add an assert
6809         (breakAgainOneRow): ditto
6810
6811 2003-03-29  John Levon  <levon@movementarian.org>
6812
6813         * text2.C: do not clear selection after inc/decDepth
6814         (bug 550)
6815
6816 2003-03-29  John Levon  <levon@movementarian.org>
6817
6818         * BufferView.C:
6819         * buffer.C: fix broken strerrors according to Lars
6820
6821 2003-03-29  John Levon  <levon@movementarian.org>
6822
6823         * converters.C: more Alert cleanups
6824
6825 2003-03-29  John Levon  <levon@movementarian.org>
6826
6827         * bufferview_funcs.C: remove pointless Alert
6828
6829         * buffer.C: fix confusing error message when
6830         a template is chmoded 000
6831
6832 2003-03-29  John Levon  <levon@movementarian.org>
6833
6834         * BufferView.C:
6835         * BufferView.h:
6836         * BufferView_pimpl.C: Alert fixes
6837
6838         * Makefile.am:
6839         * tabular.C:
6840         * tabular-old.C: remove unused table compat reading
6841
6842 2003-03-29  John Levon  <levon@movementarian.org>
6843
6844         * BufferView.C:
6845         * buffer.C:
6846         * lyx_cb.h:
6847         * lyx_cb.C: more Alert cleanups
6848
6849         * lyxfunc.C: don't allow chktex if not latex document
6850
6851 2003-03-29  John Levon  <levon@movementarian.org>
6852
6853         * lyx_cb.C:
6854         * BufferView.C:
6855         * buffer.C: warnings pushed down from support/,
6856         kill err_alert
6857
6858 2003-03-29  John Levon  <levon@movementarian.org>
6859
6860         * lyxfunc.C: safety check for C-r (revert)
6861
6862 2003-03-29  John Levon  <levon@movementarian.org>
6863
6864         * bufferlist.h:
6865         * bufferlist.C: several UI fixes using Alert::prompt.
6866         Fix the pointless looping quit code. Fix stupid revert
6867         behaviour (bug 938)
6868
6869         * lyxvc.h:
6870         * lyxvc.C:
6871         * lyx_cb.C: use Alert::prompt
6872
6873         * lyx_main.C: remove a silly question
6874
6875         * lyxfunc.C: remove a couple of silly questions,
6876         use Alert::prompt
6877
6878 2003-03-28  John Levon  <levon@movementarian.org>
6879
6880         * text2.C: fix bug 974 (End on empty par)
6881
6882 2003-03-28  John Levon  <levon@movementarian.org>
6883
6884         * BufferView_pimpl.C:
6885         * LyXAction.C:
6886         * lfuns.h: remove do-nothing math greek lfuns
6887
6888 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * lyxgluelength.h (isValidGlueLength): add default arg on
6891         parameter 2. Remove default arg from friend in class.
6892
6893         * lyxlength.h (isValidLength): add default arg on parameter 2.
6894         Remove default arg from friend in class.
6895
6896         * text2.C (LyXText): adjust, initialize refresh_row.
6897         (init): adjust
6898         (removeRow): adjust
6899         (insertRow): adjust
6900         (insertParagraph): adjst
6901         (redoParagraphs): adjust
6902         (fullRebreak): adjust
6903         (updateCounters): adjust
6904         (deleteEmptyParagraphMechanism): first attempt at fixing a
6905         crashing bug.
6906
6907         * text.C (top_y): adjust
6908         (setHeightOfRow): adjust
6909         (getRow): adjust
6910         (getRowNearY): adjust
6911
6912         * lyxtext.h: include RowList.h
6913         (~LyXText): not needed anymore, deleted.
6914         (firstRow): modify for RowList
6915         (lastRow): new function
6916         Delete firstrow and lastrow class variables, add a Rowlist
6917         rowlist_ class variable.
6918
6919         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6920         paragraph is empty.
6921
6922         * RowList.C (insert): fix case where it == begin().
6923
6924 2003-03-26  Angus Leeming  <leeming@lyx.org>
6925
6926         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6927         the thesaurus dialog.
6928
6929 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6932
6933         * RowList.[Ch]: new files
6934
6935         * ParagraphList.C (erase): handle the case where it == begin
6936         correctly.
6937
6938 2003-03-25  John Levon  <levon@movementarian.org>
6939
6940         * Makefile.am:
6941         * aspell_local.h:
6942         * aspell.C: add new aspell support
6943
6944         * lyxrc.h:
6945         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6946         have it accessible.
6947
6948 2003-03-25  Angus Leeming  <leeming@lyx.org>
6949
6950         * lfuns.h:
6951         * LyXAction.C (init): new LFUN_INSET_INSERT.
6952
6953         * BufferView_pimpl.C (dispatch): split out part of the
6954         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6955
6956         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6957         LFUN_INSET_APPLY.
6958
6959 2003-03-25  Angus Leeming  <leeming@lyx.org>
6960
6961         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6962
6963 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * text2.C:
6966         * text3.C: remove useless row->height(0)
6967
6968 2003-03-25  John Levon  <levon@movementarian.org>
6969
6970         * lyxtext.h:
6971         * text2.C:
6972         * text3.C: rename the refreshing stuff to better names
6973
6974 2003-03-24  John Levon  <levon@movementarian.org>
6975
6976         * BufferView_pimpl.h:
6977         * BufferView_pimpl.C: update layout choice on a mouse
6978         press/release
6979
6980 2003-03-23  John Levon  <levon@movementarian.org>
6981
6982         * Makefile.am: fix commandtags.h reference
6983
6984 2003-03-22  John Levon  <levon@movementarian.org>
6985
6986         * BufferView_pimpl.C:
6987         * lyxtext.h:
6988         * rowpainter.C:
6989         * rowpainter.h:
6990         * text.C:
6991         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6992
6993 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6994
6995         * lyxtext.h:
6996         * text.C: take the rtl methods out of line
6997
6998 2003-03-21 André Pönitz <poenitz@gmx.net>
6999
7000         * metricsinfo.[Ch]: new files containing structures to be passed around
7001         during the two-phase-drawing...
7002
7003 2003-03-21 André Pönitz <poenitz@gmx.net>
7004
7005         * lyxtextclass.C: read 'environment' tag.
7006
7007 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * text2.C (removeRow): fix bug 964
7010
7011 2003-03-20  John Levon  <levon@movementarian.org>
7012
7013         * rowpainter.C:
7014         * text.C:
7015         * text2.C: paint cleanups. Inset::update() dropped font
7016         parameter
7017
7018 2003-03-19  John Levon  <levon@movementarian.org>
7019
7020         * lyxfunc.C: only fitcursor/markDirty if available()
7021
7022 2003-03-19  John Levon  <levon@movementarian.org>
7023
7024         * commandtags.h: rename to ...
7025
7026         * lfuns.h: ... this, and renumber / cleanup
7027
7028 2003-03-19  John Levon  <levon@movementarian.org>
7029
7030         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7031         fit the cursor after an lfun
7032
7033         * BufferView.h:
7034         * BufferView.C:
7035         * BufferView_pimpl.h:
7036         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7037
7038         * LyXAction.C: layout-character should have ReadOnly
7039
7040         * ParagraphParameters.C:
7041         * buffer.C:
7042         * bufferview_funcs.C:
7043         * lyx_cb.C:
7044         * lyxfind.C:
7045         * lyxtext.h:
7046         * text.C:
7047         * text2.C:
7048         * text3.C:
7049         * undo_funcs.C: changes from above
7050
7051 2003-03-18  John Levon  <levon@movementarian.org>
7052
7053         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7054         remove it from update()
7055
7056         * lyxfunc.C: update layout choice after an lfun
7057
7058         * text3.C: remove extra updateLayoutChoice()s
7059
7060 2003-03-18  John Levon  <levon@movementarian.org>
7061
7062         * text.C: top_y change means full repaint, fix
7063         a drawing bug with cursor movement
7064
7065 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7066
7067         * lyxtext.h:
7068         * text.C:
7069         * text2.C: anchor row on setCursor
7070
7071 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * lyxtext.h: remove almost all mutable keywords
7074         * text.C:
7075         * text2.C:
7076         * text3.C: remove const keywords accordingly
7077
7078 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7081         anon namespace
7082         (TeXEnvironment): ditto
7083         (TeXOnePar): ditto
7084
7085 2003-03-17  John Levon  <levon@movementarian.org>
7086
7087         * text.C (rowBreakPoint): remove attempt to fix displayed
7088         math insets inside a manual label
7089
7090 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * lyxtext.h: remove BufferView* as first arg from almost all class
7093         functions.
7094         * other files: adjust.
7095
7096 2003-03-17  John Levon  <levon@movementarian.org>
7097
7098         * lyxtext.h:
7099         * undo_funcs.C:
7100         * text2.C: more paint cleanups
7101
7102         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7103
7104         * rowpainter.h:
7105         * rowpainter.C: remove "smart" background painting code
7106
7107 2003-03-16  John Levon  <levon@movementarian.org>
7108
7109         * lyxtext.h:
7110         * text.C:
7111         * text2.C:
7112         * text3.C: add helper functions for setting refresh_row/y
7113
7114 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7115
7116         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7117         newline inset which *can* get inserted in the pass_thru layouts.
7118         This is primarily for literate documents.
7119
7120 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7121
7122         * buffer.C: increment LYX_FORMAT to 223
7123
7124 2003-03-14 André Pönitz <poenitz@gmx.net>
7125
7126         * textclass.h: prepare for environment handling, ws changes
7127         * lyxlayout.C: read latexheader and latexfooter tags
7128
7129 2003-03-14  John Levon  <levon@movementarian.org>
7130
7131         * text2.C: rewrite ::status() a bit
7132
7133 2003-03-13  John Levon  <levon@movementarian.org>
7134
7135         * lyxtext.h: add some docs
7136
7137 2003-03-13  John Levon  <levon@movementarian.org>
7138
7139         * lyxtext.h:
7140         * text.C:
7141         * text2.C:
7142         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7143
7144 2003-03-13  John Levon  <levon@movementarian.org>
7145
7146         * text3.C: fix appendix redrawing
7147
7148 2003-03-13  John Levon  <levon@movementarian.org>
7149
7150         * text.C (setHeightOfRow):
7151         * rowpainter.h:
7152         * rowpainter.C: make appendix mark have the text
7153           "Appendix" so the user knows what it is
7154
7155         * LColor.h:
7156         * LColor.C: s/appendixline/appendix/ from above
7157
7158 2003-03-13  John Levon  <levon@movementarian.org>
7159
7160         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7161
7162         * text.C: fix a getChar(pos) bug properly
7163
7164 2003-03-13  Angus Leeming  <leeming@lyx.org>
7165
7166         * commandtags.h:
7167         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7168         Probably only temporary. Let's see how things pan out.
7169
7170         * BufferView.C (unlockInset):
7171         * BufferView_pimpl.C (fitCursor):
7172         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7173
7174         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7175         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7176
7177         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7178         new functions that convert ParagraphParameters to and from a string.
7179
7180         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7181         BufferView::Pimpl's dispatch.
7182         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7183
7184 2003-03-13 André Pönitz <poenitz@gmx.net>
7185
7186         * lyxfunc.C:
7187         * text3.C:
7188         * factory.C: make it aware of InsetEnv
7189
7190 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * text2.C (setCursor): never ask for one past last
7193         (setCursor): add some debugging messages.
7194
7195         * text.C (singleWidth): never ask for one past last
7196         (singleWidth): ditto
7197         (leftMargin): ditto
7198         (rightMargin): ditto
7199         (rowBreakPoint): ditto
7200         (setHeightOfRow): ditto
7201         (prepareToPrint): ditto
7202
7203         * rowpainter.C (paintBackground): never ask for one past last
7204         (paintText): never ask for one past last
7205
7206         * paragraph_pimpl.C (getChar): make the assert stricter, never
7207         allow the one past last pos to be taken
7208
7209         * paragraph.C (getChar): ws changes only
7210
7211         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7212         (numberOfSeparators): ditto
7213         (numberOfHfills): ditto
7214
7215 2003-03-12  John Levon  <levon@movementarian.org>
7216
7217         * author.h:
7218         * author.C:
7219         * bufferparams.h:
7220         * bufferparams.C:
7221         * paragraph_funcs.C: fix per-buffer authorlists
7222
7223 2003-03-12  John Levon  <levon@movementarian.org>
7224
7225         * text.C: fix newline in right address
7226
7227 2003-03-12  Angus Leeming  <leeming@lyx.org>
7228
7229         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7230         duplicate those in LyXFunc::dispatch.
7231
7232         * commandtags.h:
7233         * LyXAction.C:
7234         * ToolbarDefaults.C:
7235         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7236         Add LFUN_FONTFREE_UPDATE.
7237
7238         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7239         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7240
7241         * bufferview_func.[Ch]: several new functions to facilliate
7242         transfer of data to and from the character dialog.
7243
7244 2003-03-12  John Levon  <levon@movementarian.org>
7245
7246         * buffer.C:
7247         * paragraph.h:
7248         * paragraph.C:
7249         * paragraph_funcs.C:
7250         * paragraph_pimpl.C:
7251         * sgml.C:
7252         * tabular.C:
7253         * text.C:
7254         * text3.C: remove META_NEWLINE in favour of an inset
7255
7256         * rowpainter.h:
7257         * rowpainter.C: remove paintNewline (done by inset)
7258
7259 2003-03-12  John Levon  <levon@movementarian.org>
7260
7261         * paragraph_pimpl.C: complain about bad getChar()s
7262         for a while at least
7263
7264 2003-03-12  John Levon  <levon@movementarian.org>
7265
7266         * buffer.h:
7267         * buffer.C: move paragraph read into a separate function,
7268         a little renaming to reflect that.
7269
7270         * bufferparams.h:
7271         * bufferparams.C: remove the author_ids map, not necessary now
7272
7273         * factory.h:
7274         * factory.C: moved Buffer::readInset to here
7275
7276         * paragraph_funcs.h:
7277         * paragraph_funcs.C: readParagraph free function moved from
7278         buffer.C
7279
7280         * tabular.C: name change
7281
7282 2003-03-12  John Levon  <levon@movementarian.org>
7283
7284         * buffer.C:
7285         * ParagraphParameters.C: move par params input to
7286         a read() method
7287
7288         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7289         behave like a normal read from the stream wrt reading
7290         a line vs. a \\token
7291
7292 2003-03-12  John Levon  <levon@movementarian.org>
7293
7294         * paragraph.C:
7295         * ParagraphParameters.h:
7296         * ParagraphParameters.C: move output code to a
7297         ::write() method
7298
7299 2003-03-12  John Levon  <levon@movementarian.org>
7300
7301         * BufferView.C (insertLyXFile):
7302         * buffer.h:
7303         * buffer.C:
7304         * tabular.C: use a parlist iterator for creating the
7305           document.
7306
7307 2003-03-12  John Levon  <levon@movementarian.org>
7308
7309         * buffer.C: make current_change static local not
7310           static file-scope
7311
7312 2003-03-12  John Levon  <levon@movementarian.org>
7313
7314         * buffer.C: fix insertStringAsLines for change tracking
7315
7316 2003-03-12  John Levon  <levon@movementarian.org>
7317
7318         * BufferView.C:
7319         * tabular.C:
7320         * buffer.h:
7321         * buffer.C:
7322         * bufferparams.h:
7323         * bufferparams.C: move author list into params. Rename some
7324           functions. Move the header reading into a separate token
7325           loop. Move the header token reading into BufferParams.
7326
7327 2003-03-12  John Levon  <levon@movementarian.org>
7328
7329         * changes.C: put debug inside lyxerr.debugging() checks
7330
7331 2003-03-11 André Pönitz <poenitz@gmx.net>
7332
7333         * factory.C: make it aware of InsetHFill
7334
7335 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7336
7337         * buffer.C (latexParagraphs): move function from here...
7338         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7339         args.
7340
7341 2003-03-10  Angus Leeming  <leeming@lyx.org>
7342
7343         * LyXAction.C (init): fix bug in poplating array with multiple entries
7344         with the same LFUN (spotted by JMarc).
7345
7346 2003-03-10  John Levon  <levon@movementarian.org>
7347
7348         * text.C:
7349         * text2.C: move getColumnNearX() near its
7350         only call site
7351
7352 2003-03-10  John Levon  <levon@movementarian.org>
7353
7354         * text.C: fix break before a minipage
7355
7356 2003-03-10  John Levon  <levon@movementarian.org>
7357
7358         * text.C: fix the last commit
7359
7360 2003-03-09  John Levon  <levon@movementarian.org>
7361
7362         * lyxtext.h:
7363         * text.C:
7364         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7365         bug 365 (don't break before insets unless needed). Don't
7366         return a value > last under any circumstances.
7367
7368 2003-03-09  Angus Leeming  <leeming@lyx.org>
7369
7370         * BufferView_pimpl.C (trackChanges, dispatch): call
7371         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7372
7373 2003-03-09  Angus Leeming  <leeming@lyx.org>
7374
7375         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7376         than Dialogs::showAboutlyx().
7377
7378 2003-03-09  Angus Leeming  <leeming@lyx.org>
7379
7380         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7381         than Dialogs::showTabularCreate().
7382
7383 2003-03-09  John Levon  <levon@movementarian.org>
7384
7385         * lyxtext.h:
7386         * text.C:
7387         * text2.C: 3rd arg to nextBreakPoint was always the same.
7388           Use references.
7389
7390 2003-03-08  John Levon  <levon@movementarian.org>
7391
7392         * lyxrow.C:
7393         * paragraph.C:
7394         * paragraph.h:
7395         * rowpainter.C:
7396         * text.C:
7397         * text2.C: Remove the "main" bit from the "main body"
7398           notion.
7399
7400 2003-03-08  John Levon  <levon@movementarian.org>
7401
7402         * text.C (leftMargin): The left margin of an empty
7403         manual label paragraph should not include the label width
7404         string length.
7405
7406         * text.C (prepareToPrint): don't attempt to measure hfills
7407         for empty manual label paragraphs - the answer should be 0
7408
7409 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * CutAndPaste.C: remove commented code and reindent.
7412
7413 2003-03-08  John Levon  <levon@movementarian.org>
7414
7415         * lyxfunc.h:
7416         * lyxfunc.C: move reloadBuffer()
7417
7418         * BufferView.h:
7419         * BufferView.C: to here
7420
7421         * lyxvc.C: add comment
7422
7423         * vc-backend.h:
7424         * vc-backend.C: call bv->reload() to avoid
7425           getStatus() check on MENURELOAD
7426
7427 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7428
7429         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7430         to an old format .dep file.
7431
7432 2003-03-07  Angus Leeming  <leeming@lyx.org>
7433
7434         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7435         when the LFUN_MOUSE_RELEASE should have been handled by
7436         inset->localDispatch.
7437
7438 2003-03-07  Angus Leeming  <leeming@lyx.org>
7439
7440         * BufferView_pimpl.C (dispatch):
7441         * LyXAction.C (init):
7442         * ToolbarDefaults.C (init):
7443         * commandtags.h:
7444         * lyxfunc.C (getStatus):
7445         remove LFUN_INSET_GRAPHICS.
7446
7447         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7448
7449 2003-03-07  Angus Leeming  <leeming@lyx.org>
7450
7451         * commandtags.h:
7452         * LyXAction.C (init):
7453         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7454
7455         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7456
7457         * commandtags.h:
7458         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7459
7460         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7461         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7462
7463 2003-03-07  Angus Leeming  <leeming@lyx.org>
7464
7465         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7466         remove "ert".
7467
7468 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * ParagraphList.C (front): new function
7471         (back): implement
7472
7473 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7474
7475         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7476         and top_row_offset_. removed var first_y.
7477         * text.C (top_y):
7478         * text2.C (LyXText, removeRow):
7479         * text3.C:
7480         * BufferView_pimpl.C:
7481         use these methods instead of using first_y
7482
7483 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * text2.C (pasteSelection): adjust for checkPastePossible
7486
7487         * CutAndPaste.C: remove Paragraph * buf and replace with
7488         ParagraphList paragraphs.
7489         (DeleteBuffer): delete
7490         (cutSelection): change the tc type to textclass_type
7491         (copySelection): change the tc type to textclass_type
7492         (copySelection): adjust for ParagraphList
7493         (pasteSelection): change the tc type to textclass_type
7494         (pasteSelection): adjust for Paragraphlist
7495         (nrOfParagraphs): simplify for ParagraphList
7496         (checkPastePossible): simplify for ParagraphList
7497         (checkPastePossible): remove unused arg
7498
7499         * ParagraphList.C (insert): handle the case where there are no
7500         paragraphs yet.
7501
7502         * CutAndPaste.h: make CutAndPaste a namespace.
7503
7504         * text3.C (dispatch): adjust
7505
7506         * text.C (breakParagraph): add a ParagraphList as arg
7507
7508         * paragraph_funcs.C (breakParagraph): change to take a
7509         BufferParams and a ParagraphList as args.
7510         (breakParagraphConservative): ditto
7511         (mergeParagraph): ditto
7512         (TeXDeeper): add a ParagraphList arg
7513         (TeXEnvironment): ditto
7514         (TeXOnePar): ditto
7515
7516         * buffer.C (readLyXformat2): adjust
7517         (insertStringAsLines): adjust
7518         (latexParagraphs): adjust
7519
7520         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7521         (cutSelection): adjust
7522         (pasteSelection): adjust
7523
7524         * BufferView_pimpl.C (insertInset): adjust
7525
7526 2003-03-05  Angus Leeming  <leeming@lyx.org>
7527
7528         * commandtags.h:
7529         * LyXAction.C (init):
7530         * BufferView_pimpl.C (dispatch):
7531         * lyxfunc.C (getStatus):
7532         remove LFUN_CHILD_INSERT.
7533
7534         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7535
7536 2003-03-05  Angus Leeming  <leeming@lyx.org>
7537
7538         * commandtags.h:
7539         * LyXAction.C (init):
7540         * src/factory.C (createInset):
7541         * lyxfunc.C (getStatus):
7542         * text3.C (dispatch):
7543         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7544
7545         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7546
7547 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7548
7549         * ParagraphList.C (insert): handle insert right before end()
7550         (erase): fix cases where it can be first or last paragraph.
7551
7552 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7555         Paragraph::next and Paragraph::previous
7556         (TeXOnePar): ditto
7557
7558         * text.C (breakParagraph): adjust
7559
7560         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7561         BufferParams& as arg.
7562         (breakParagraph): use ParagraphList::insert
7563         (breakParagraphConservative): take a Buffer* instead of a
7564         BufferParams& as arg.
7565         (breakParagraphConservative): use ParagraphList::insert.
7566
7567         * buffer.C (insertStringAsLines): un-const it
7568         (insertStringAsLines): adjust
7569
7570         * ParagraphList.C (insert): new function
7571
7572         * CutAndPaste.C (pasteSelection): adjust
7573
7574         * text.C (backspace): adjust
7575
7576         * tabular.C (SetMultiColumn): adjust
7577
7578         * CutAndPaste.C (cutSelection): adjust
7579         (pasteSelection): adjust
7580
7581         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7582         Buffer const * as arg
7583
7584         * ParagraphList.C (erase): new function
7585         * paragraph_funcs.C (mergeParagraph): use it
7586         (mergeParagraph): make it take a Buffer* instead of a
7587         BufferParams* as arg
7588
7589         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7590         as arg
7591         (breakParagraphConservative): ditto
7592
7593         * paragraph.h: remove the breakParagraph friend
7594
7595         * paragraph.C (eraseIntern): new function
7596         (setChange): new function
7597
7598         * paragraph_funcs.C (mergeParagraph): make it take a
7599         ParagraphList::iterator instead of a Paragraph *, adjust
7600         accordingly.
7601
7602         * paragraph.h: move an #endif so that the change tracking stuff
7603         also works in the NO_NEXT case.
7604
7605 2003-03-04  Angus Leeming  <leeming@lyx.org>
7606
7607         * commandtags.h:
7608         * LyXAction.C: new LFUN_INSET_MODIFY.
7609
7610         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7611         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7612
7613 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * several files: ws changes only
7616
7617         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7618         (TeXEnvironment): ditto
7619         (TeXDeeper): ditto
7620
7621         * buffer.C (makeLaTeXFile): adjust
7622         (latexParagraphs): make it take ParagraphList::iterator as args
7623
7624 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * buffer.C (latexParagraphs): adjust
7627
7628         * paragraph.C (TeXOnePar): move function...
7629         (optArgInset): move function...
7630         (TeXEnvironment): move function...
7631         * paragraph_pimpl.C (TeXDeeper): move function...
7632         * paragraph_funcs.C: ...here
7633
7634         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7635
7636 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * buffer.C (readInset): remove compability code for old Figure and
7639         InsetInfo insets
7640
7641 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * buffer.C: ws changes
7644         (readInset):
7645
7646         * BufferView_pimpl.C: ditto
7647         * author.C: ditto
7648         * buffer.h: ditto
7649         * bufferlist.h: ditto
7650         * changes.h: ditto
7651         * lyxfunc.C: ditto
7652
7653 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7654
7655         * converter.[Ch]: split into itself +
7656         * graph.[Ch]
7657         * format.[Ch]
7658         * Makefile.am: += graph.[Ch] + format.[Ch]
7659         * MenuBackend.C
7660         * buffer.C
7661         * exporter.C
7662         * importer.C
7663         * lyx_main.C
7664         * lyxfunc.C
7665         * lyxrc.C: added #include "format.h"
7666
7667 2003-02-27  Angus Leeming  <leeming@lyx.org>
7668
7669         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7670           a label.
7671
7672         * factory.C (createInset): add "label" to the factory.
7673
7674         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7675           string and do no more.
7676
7677 2003-02-27  Angus Leeming  <leeming@lyx.org>
7678
7679         * commandtags.h:
7680         * LyXAction.C (init):
7681         * factory.C (createInset):
7682         * BufferView_pimpl.C (dispatch):
7683           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7684
7685         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7686
7687         * lyxfunc.C (dispatch):
7688         * text3.C (dispatch): pass name to params2string.
7689
7690 2003-02-26  Angus Leeming  <leeming@lyx.org>
7691
7692         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7693           blocks together.
7694           Rearrange the ~includes. Strip out the unnecessary ones.
7695
7696         * factory.C (createInset): reformat.
7697           create new insets for the various LFUN_XYZ_APPLY lfuns.
7698
7699 2003-02-26  John Levon  <levon@movementarian.org>
7700
7701         * lyxrow.h:
7702         * lyxrow.C: add isParStart,isParEnd helpers
7703
7704         * paragraph.h: make isInserted/DeletedText take refs
7705
7706         * paragraph_funcs.h:
7707         * paragraph_funcs.C: remove #if 0'd code
7708
7709         * lyxtext.h:
7710         * text3.C:
7711         * text2.C:
7712         * text.C: use lyxrow helpers above.
7713           Move draw and paint routines to RowPainter.
7714           Make several methods use refs not pointers.
7715           Make backgroundColor() const.
7716           Add markChangeInDraw(), isInInset().
7717           Merge changeRegionCase into changeCase.
7718           Make workWidth() shouldn't-happen code into an Assert.
7719
7720         * rowpainter.h:
7721         * rowpainter.C: new class for painting a row.
7722
7723         * vspace.h:
7724         * vspace.C: make inPixels take a ref
7725
7726 2003-02-26  Angus Leeming  <leeming@lyx.org>
7727
7728         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7729         LFUN_REF_APPLY.
7730
7731 2003-02-25  John Levon  <levon@movementarian.org>
7732
7733         * ispell.C: give the forked command a more accurate name
7734
7735 2003-02-22  John Levon  <levon@movementarian.org>
7736
7737         * toc.h:
7738         * toc.C: make TocItem store an id not a Paragraph *
7739           (bug #913)
7740
7741 2003-02-21  Angus Leeming  <leeming@lyx.org>
7742
7743         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7744           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7745           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7746           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7747           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7748           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7749
7750         * BufferView_pimpl.C (dispatch):
7751         * LyXAction.C (init):
7752         * factory.C (createInset):
7753         * lyxfunc.C (getStatus, dispatch):
7754         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7755
7756 2003-02-21  Angus Leeming  <leeming@lyx.org>
7757
7758         * BufferView_pimpl.C (MenuInsertLyXFile):
7759         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7760         * lyxfunc.C (menuNew, open, doImport):
7761           no longer pass a LyXView & to fileDlg.
7762
7763 2003-02-21  Angus Leeming  <leeming@lyx.org>
7764
7765         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7766         * LyXAction.C: change, BIBKEY to BIBITEM.
7767         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7768         Change InsetBibKey to InsetBibitem.
7769         Change BIBKEY_CODE to BIBITEM_CODE.
7770         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7771         * factory.C: replace insetbib.h with insetbibitem.h.
7772         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7773         * paragraph.C: replace insetbib.h with insetbibitem.h.
7774         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7775         Change bibkey() to bibitem().
7776         * text.C: remove insetbib.h.
7777         * text2.C: replace insetbib.h with insetbibitem.h.
7778         change bibkey() to bibitem().
7779         * text3.C: remove insetbib.h.
7780         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7781
7782 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7783
7784         * lyxrc.C (output): enclose user email in quotes (in case there are
7785         several words)
7786
7787 2003-02-18  John Levon  <levon@movementarian.org>
7788
7789         * buffer.h: add std::
7790
7791 2003-02-17  John Levon  <levon@movementarian.org>
7792
7793         * SpellBase.h:
7794         * ispell.h:
7795         * ispell.C:
7796         * pspell.h:
7797         * pspell.C: reworking. Especially in ispell, a large
7798           number of clean ups and bug fixes.
7799
7800         * lyxfunc.C: fix revert to behave sensibly
7801
7802 2003-02-17 André Pönitz <poenitz@gmx.net>
7803
7804         * LyXAction.C:
7805         * commandtags.h: new LFUN_INSERT_BIBKEY
7806
7807         * layout.h:
7808         * lyxlayout.C:
7809         * buffer.C:
7810         * factory.C:
7811         * text.C:
7812         * text2.C:
7813         * text3.C:
7814         * paragraph.[Ch]:
7815         * paragraph_func.C: remove special bibkey handling
7816
7817 2003-02-17  John Levon  <levon@movementarian.org>
7818
7819         * text.C (Delete): fix case where delete at the end of
7820           the very first paragraph would not merge the pars
7821
7822 2003-02-17  John Levon  <levon@movementarian.org>
7823
7824         * lyxrow.C: fix lastPrintablePos()
7825
7826 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * bufferparams.C (writeLaTeX): add a std:here
7829
7830         * buffer.C: and remove a using directive there
7831
7832 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7833
7834         * buffer.C (makeLaTeXFile): move the code that generates the
7835           preamble...
7836
7837         * bufferparams.C (writeLaTeX): ... in this new method
7838
7839         * LaTeXFeatures.C (getEncodingSet): make const
7840           (getLanguages): make const
7841
7842         * MenuBackend.C (binding): returns the binding associated to this
7843           action
7844           (add): sets the status of each item by calling getStatus. Adds
7845           some intelligence.
7846           (read): add support for OptSubMenu
7847           (expand): remove extra separator at the end of expanded menu
7848
7849 2003-02-15  John Levon  <levon@movementarian.org>
7850
7851         * BufferView.C:
7852         * BufferView_pimpl.C:
7853         * bufferlist.h:
7854         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7855           inset code that had no actual effect. Remove unneeded status
7856           code.
7857
7858 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7859
7860         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7861           in preamble
7862
7863 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7864
7865         * text.C (drawLengthMarker): also draw an arrow marker for
7866           symbolic lengths (medskip...)
7867
7868 2003-02-14  John Levon  <levon@movementarian.org>
7869
7870         * tabular.h:
7871         * tabular.C: better method names
7872
7873 2003-02-14  John Levon  <levon@movementarian.org>
7874
7875         * BufferView_pimpl.C:
7876         * bufferlist.C:
7877         * buffer.C:
7878         * converter.C:
7879         * lyx_cb.C:
7880         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7881           it's a more accurate name. Remove some pointless uses.
7882
7883 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7884
7885         * text2.C (LyXText): change order of initilizers to shut off
7886           warnings
7887
7888 2003-02-14  John Levon  <levon@movementarian.org>
7889
7890         * buffer.C: use ParIterator for getParFromID()
7891
7892         * paragraph.h:
7893         * paragraph.C:
7894         * paragraph_pimpl.h:
7895         * paragraph_pimpl.C: remove unused getParFromID()
7896
7897 2003-02-14  John Levon  <levon@movementarian.org>
7898
7899         * buffer.C: remove some very old #if 0'd parse code
7900
7901 2003-02-13  John Levon  <levon@movementarian.org>
7902
7903         * text.h:
7904         * text.C:
7905         * text2.C: move hfillExpansion(), numberOfSeparators(),
7906           rowLast(), rowLastPrintable(), numberofHfills(),
7907           numberOfLabelHfills() ...
7908
7909         * lyxrow.h:
7910         * lyxrow.C: ... to member functions here.
7911
7912         * paragraph.h:
7913         * paragraph.C:
7914         * lyxtext.h:
7915         * text.C: remove LyXText::beginningOfMainBody(), and call
7916           p->beginningOfMainBody() directly. Move the check for
7917           LABEL_MANUAL into the latter.
7918
7919         * text.h:
7920         * text.C:
7921         * text2.C:
7922         * vspace.C:
7923         * BufferView.h:
7924         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7925
7926         * text.h:
7927         * text.C:
7928         * text2.C:
7929         * text3.C:
7930         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7931           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7932
7933 2003-02-13  John Levon  <levon@movementarian.org>
7934
7935         * CutAndPaste.C: remove debug
7936
7937 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7938
7939         * paragraph.C (asString): remove two unused variables
7940
7941         * lyxtextclass.C (readTitleType):
7942           (Read):
7943           (LyXTextClass): handle new members titletype_ and titlename_
7944
7945         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7946
7947 2003-02-09  John Levon  <levon@movementarian.org>
7948
7949         * buffer.h:
7950         * buffer.C: replace hand-coded list with a map for the dep clean
7951
7952 2003-02-08  John Levon  <levon@movementarian.org>
7953
7954         * LaTeX.C: consolidate code into showRunMessage() helper
7955
7956 2003-02-08  John Levon  <levon@movementarian.org>
7957
7958         * lyxfind.C:
7959         * lyxtext.h:
7960         * text2.C:
7961         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7962           and pass the size in explicitly
7963
7964         * BufferView_pimpl.h:
7965         * BufferView_pimpl.C:
7966         * BufferView.h:
7967         * BufferView.C: add getCurrentChange()
7968
7969         * BufferView_pimpl.h:
7970         * BufferView_pimpl.C: handle change lfuns
7971
7972         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7973           for changes. Mark pasted paragraphs as new.
7974
7975         * support/lyxtime.h:
7976         * support/lyxtime.C:
7977         * DepTable.C: abstract time_t as lyx::time_type
7978
7979         * LColor.h:
7980         * LColor.C: add colours for new text, deleted text, changebars
7981
7982         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7983           package use "usenames" option.
7984
7985         * commandtags.h:
7986         * lyxfunc.C:
7987         * LyXAction.C: add change lfuns
7988
7989         * Makefile.am:
7990         * author.h:
7991         * author.C: author handling
7992
7993         * buffer.h:
7994         * buffer.C: add a per-buffer author list, with first entry as
7995           current author. Handle new .lyx tokens for change tracking. Output
7996           author list to .lyx file. Output dvipost stuff to .tex preamble.
7997           Bump lyx format to 222.
7998
7999         * bufferlist.h:
8000         * bufferlist.C: add setCurrentAuthor() to reset current author details
8001           in all buffers.
8002
8003         * bufferparams.h:
8004         * bufferparams.C: add param for tracking
8005
8006         * bufferview_funcs.C: output change info in minibuffer
8007
8008         * Makefile.am:
8009         * changes.h:
8010         * changes.C: add change-tracking structure
8011
8012         * debug.h:
8013         * debug.C: add CHANGES debug flag
8014
8015         * lyxfind.h:
8016         * lyxfind.C: add code for finding the next change piece
8017
8018         * lyxrc.h:
8019         * lyxrc.C: add user_name and user_email
8020
8021         * lyxrow.h:
8022         * lyxrow.C: add a metric for the top of the text line
8023
8024         * lyxtext.h:
8025         * text.C: implement accept/rejectChange()
8026
8027         * lyxtext.h:
8028         * text.C: paint changebars. Paint new/deleted text in the chosen
8029         colours. Strike through deleted text.
8030
8031         * paragraph.h:
8032         * paragraph.C:
8033         * paragraph_pimpl.h:
8034         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8035           in the current change to the insert functions. Rework erase to
8036           mark text as deleted, adding an eraseIntern() and a range-based
8037           erase(). Implement per-paragraph change lookup and
8038           accept/reject.
8039
8040         * paragraph_funcs.C: Fixup paste for change tracking.
8041
8042         * tabular.C: mark added row/columns as new.
8043
8044         * text.C: fix rowLast() to never return -1. Don't allow
8045           spellchecking of deleted text. Track transpose changes. Don't
8046           allow paragraph break or merge where appropriate.
8047
8048         * text2.C: leave cursor at end of selection after a cut.
8049
8050 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8051
8052         * text.C (getLengthMarkerHeight):
8053         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8054         visible on screen too.
8055
8056 2003-02-07  John Levon  <levon@movementarian.org>
8057
8058         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8059
8060 2003-02-05  Angus Leeming  <leeming@lyx.org>
8061
8062         * lyxserver.C (read_ready): revert my patch of 11 September last year
8063         as it sends PC cpu through the roof. Presumably this means that
8064         the lyxserver will no longer run on an Alpha...
8065
8066 2003-01-30  Angus Leeming  <leeming@lyx.org>
8067
8068         * factory.C (createInset): create an InsetCommandParam of type "index"
8069         and use it to 'do the right thing'.
8070
8071         * text2.C (getStringToIndex): ensure that cursor position is always
8072         reset to the reset_cursor position.
8073
8074 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8075
8076         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8077         disabled.
8078
8079 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8080
8081         * bufferview.C:
8082         * lyxcb.C:
8083         * lyxfunc.C: Output messages with identical spelling, punctuation,
8084         and spaces
8085
8086 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8087
8088         * MenuBackend.C (expandFormats): List only viewable export formats
8089         in "View" menu
8090
8091         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8092         message
8093
8094         * lyxfunc.C (getStatus): Make sure that formats other than
8095         "fax" can also be disabled
8096
8097 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8098
8099         * text3.C (dispatch): put the lfuns that insert insets in 3
8100         groups, and call doInsertInset with appropriate arguments.
8101         (doInsertInset): new function, that creates an inset and inserts
8102         it according to some boolean parameters.
8103
8104 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8105
8106         * buffer.C (readFile): remember to pass on 'par' when calling
8107         readFile recursively.
8108
8109 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8110
8111         * MenuBackend.C (expandFormats): add "..." to import formats.
8112
8113 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8114
8115         * paragraph.C (asString): Remove XForms RTL hacks.
8116
8117 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8118         * buffer.C: fix typo
8119
8120 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * Makefile.am (LIBS): delete var
8123         (lyx_LDADD): add @LIBS@ here instead.
8124
8125 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8126
8127         * Clarify the meaning of "wheel mouse jump"
8128
8129 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8132         tabular in a float
8133
8134 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8135
8136         * importer.C (Loaders): do not preallocate 3 elements in the
8137         vector, since one ends up with 6 elements otherwise
8138
8139 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8140
8141         * DepTable.C (write): write the file name as last element of the
8142         .dep file (because it may contain spaces)
8143         (read): read info in the right order
8144
8145 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8146
8147         * paragraph_pimpl.C (simpleTeXBlanks):
8148         (simpleTeXSpecialChars):
8149         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8150
8151         * tabular.C (latex): add some missing case statements. Reindent.
8152
8153         * MenuBackend.C (expandToc): remove unused variable.
8154
8155 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8156
8157         * LColor.C:
8158         * LaTeX.C:
8159         * LyXAction.C:
8160         * MenuBackend.C:
8161         * buffer.C:
8162         * exporter.C:
8163         * lyxfunc.C:
8164         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8165         and the like.
8166
8167 2003-01-05  John Levon  <levon@movementarian.org>
8168
8169         * BufferView.h:
8170         * BufferView.C: add getEncoding()
8171
8172         * kbsequence.h:
8173         * kbsequence.C: do not store last keypress
8174
8175         * lyxfunc.h:
8176         * lyxfunc.C: store last keypress here instead. Pass encoding
8177           to getISOEncoded()
8178
8179 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8180
8181         * lyx_main.C (init): remove annoying error message when following
8182         symbolic links (bug #780)
8183
8184 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8185
8186         * text.C (insertChar):
8187         * lyxrc.C (getDescription): remove extra spaces
8188
8189 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8190
8191         * lyxrc.C (getDescription): remove extra spaces
8192
8193 2002-12-20  John Levon  <levon@movementarian.org>
8194
8195         * text3.C: hack fix for page up/down across tall rows
8196
8197 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8198
8199         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8200         not been invoked
8201
8202 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8203
8204         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8205         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8206         thesaurus is not compiled in
8207
8208 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8209
8210         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8211
8212 2002-12-16  Angus Leeming  <leeming@lyx.org>
8213
8214         * lyxrc.[Ch]:
8215         * lyx_main.C (init): remove override_x_deadkeys stuff.
8216
8217 2002-12-12  John Levon  <levon@movementarian.org>
8218
8219         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8220           insert. Only remove shift modifier under strict
8221           circumstances.
8222
8223 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * MenuBackend.C (expandToc): fix crash.
8226
8227 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * MenuBackend.C (expandToc): gettext on float names.
8230
8231 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8232
8233         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8234         implement bool empty() [bug 490]
8235
8236 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8239
8240 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * several files: ws changes
8243
8244 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * text2.C (setCounter): clean up a bit, use boost.format.
8247         (updateCounters): initialize par upon declaration.
8248
8249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8250         if the layout exists. We do not just store the layout any more.
8251         (SwitchLayoutsBetweenClasses): use boost.format
8252
8253 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8254
8255         * converter.C (convert): if from and to files are the same, use a
8256         temporary files as intermediary
8257
8258 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8259
8260         * commandtags.h:
8261         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8262
8263 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8266
8267 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * tabular.C (asciiPrintCell): use string(size, char) instead of
8270         explicit loop.
8271
8272         * sgml.C (openTag): fix order of arguments to string constructor
8273         (closeTag): ditto
8274
8275         * lyxfunc.C (dispatch): use boost.format
8276
8277         * lots of files: change "c" -> 'c'
8278
8279 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8280
8281         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8282
8283 2002-11-25  Angus Leeming  <leeming@lyx.org>
8284
8285         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8286
8287         * lyx_main.C (init): compile fix.
8288
8289 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * lyx_cb.C (start): boost.formatify
8292         do not include <iostream>
8293
8294         * lengthcommon.C: ws only
8295
8296         * boost-inst.C,BoostFormat.h: add more explict instantations
8297
8298 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * lots of files: handle USE_BOOST_FORMAT
8301
8302 2002-11-21  John Levon  <levon@movementarian.org>
8303
8304         * pspell.C: fix compile
8305
8306 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * lyxfunc.C (dispatch): use boost::format
8309         (open): ditto
8310         (doImport): ditto
8311
8312         * lyxfont.C (stateText): use boost::format
8313
8314         * lyx_main.C (LyX): use boost::format
8315         (init): ditto
8316         (queryUserLyXDir): ditto
8317         (readRcFile): ditto
8318         (parse_dbg): ditto
8319         (typedef boost::function): use the recommened syntax.
8320
8321         * importer.C (Import): use boost::format
8322
8323         * debug.C (showLevel): use boost::format
8324
8325         * converter.C (view): use boost::format
8326         (convert): ditto
8327         (move): ditto
8328         (scanLog): ditto
8329
8330         * bufferview_funcs.C (currentState): use boost::format
8331
8332         * bufferlist.C (emergencyWrite): use boost::format
8333
8334         * buffer.C (readLyXformat2): use boost::format
8335         (parseSingleLyXformat2Token): ditto
8336
8337         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8338
8339         * LaTeX.C (run): use boost::format
8340
8341         * Chktex.C (scanLogFile): use boost::format
8342
8343         * BufferView_pimpl.C (savePosition): use boost::format
8344         (restorePosition): ditto
8345         (MenuInsertLyXFile): ditto
8346
8347         * BoostFormat.h: help file for explicit instation.
8348
8349 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * tabular.C (latex): Support for block alignment in fixed width
8352         columns.
8353
8354 2002-11-17  John Levon  <levon@movementarian.org>
8355
8356         * BufferView_pimpl.C:
8357         * lyx_cb.C:
8358         * lyxfunc.C: split filedialog into open/save
8359
8360 2002-11-08  Juergen Vigna  <jug@sad.it>
8361
8362         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8363         by my last patch (hopefully).
8364
8365 2002-11-08  John Levon  <levon@movementarian.org>
8366
8367         * iterators.h:
8368         * iterators.C:
8369         * buffer.h:
8370         * buffer.C:
8371         * paragraph.h:
8372         * paragraph.C:
8373         * toc.h:
8374         * toc.C: ParConstIterator, and use it (from Lars)
8375
8376 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8377
8378         * lyxtextclass.[Ch]: revise and add doxygen comments
8379
8380 2002-11-07  John Levon  <levon@movementarian.org>
8381
8382         * text.C: fix progress value for spellchecker
8383
8384         * toc.C: fix navigate menu for insetwrap inside minipage
8385
8386         * paragraph_funcs.C: added FIXME for suspect code
8387
8388 2002-11-07  John Levon  <levon@movementarian.org>
8389
8390         * BufferView_pimpl.C: fix redrawing of insets
8391           on buffer switch
8392
8393 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * text2.C (updateCounters): fix bug 668
8396
8397 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8398
8399         * text3.C (dispatch): Do not make the buffer dirty when moving the
8400         cursor.
8401
8402 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * vc-backend.C: STRCONV
8405         (scanMaster): ditto
8406
8407         * text2.C (setCounter): STRCONV
8408
8409         * paragraph.C (asString): STRCONV
8410
8411         * lyxlength.C (asString): STRCONV
8412         (asLatexString): ditto
8413
8414         * lyxgluelength.C (asString): STRCONV
8415         (asLatexString): ditto
8416
8417         * lyxfunc.C (dispatch): STRCONV
8418         (open): ditto
8419
8420         * lyxfont.C (stateText): STRCONV
8421
8422         * importer.C (Import): STRCONV
8423
8424         * counters.C (labelItem): STRCONV
8425         (numberLabel): ditto
8426         (numberLabel): remove unused ostringstream o
8427
8428         * chset.C: STRCONV
8429         (loadFile): ditto
8430
8431         * bufferview_funcs.C (currentState): STRCONV
8432
8433         * buffer.C (readFile): STRCONV
8434         (asciiParagraph): ditto
8435         (makeLaTeXFile): ditto
8436
8437         * Spacing.C (writeEnvirBegin): STRCONV
8438
8439         * LaTeXFeatures.C (getLanguages): STRCONV
8440         (getPackages): ditto
8441         (getMacros): ditto
8442         (getBabelOptions): ditto
8443         (getTClassPreamble): ditto
8444         (getLyXSGMLEntities): ditto
8445         (getIncludedFiles): ditto
8446
8447         * LaTeX.C: STRCONV
8448         (run): ditto
8449         (scanAuxFile): ditto
8450         (deplog): ditto
8451
8452         * LString.h: add the STRCONV macros
8453
8454         * BufferView_pimpl.C (savePosition): STRCONV
8455         (restorePosition): ditto
8456         (MenuInsertLyXFile): ditto
8457
8458         * vc-backend.C (scanMaster): change from submatch[...] to
8459         submatch.str(...)
8460
8461         * funcrequest.C: include config.h
8462
8463         * factory.C: include config.h
8464
8465         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8466
8467         * box.C: include config.h
8468
8469         * LaTeX.C (scanAuxFile): change from submatch[...] to
8470         submatch.str(...)
8471         (deplog): ditto
8472
8473 2002-10-25  Angus Leeming  <leeming@lyx.org>
8474
8475         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8476
8477         * ispell.[Ch] (setError): new method.
8478         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8479         Use setError() insetead of goto END.
8480
8481         * lyx_cb.C (AutoSave): move out child process into new class
8482         AutoSaveBuffer.
8483
8484 2002-10-30  John Levon  <levon@movementarian.org>
8485
8486         * text3.C: make start appendix undoable
8487
8488 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8489
8490         * lyxlength.C (inPixels): Fix returned value.
8491
8492         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8493         environment.
8494
8495 2002-10-24  Angus Leeming  <leeming@lyx.org>
8496
8497         * lyxgluelength.h: no need to forward declare BufferParams
8498         or BufferView, so don't.
8499
8500 2002-10-21  John Levon  <levon@movementarian.org>
8501
8502         * BufferView.C: menuUndo ->undo, redo
8503
8504         * BufferView.h: document, remove dead, make some methods private
8505
8506         * paragraph_funcs.h:
8507         * paragraph_funcs.C:
8508         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8509
8510         * buffer.h:
8511         * buffer.C:
8512         * sgml.h:
8513         * sgml.C: move sgml open/close tag into sgml.C
8514
8515         * bufferview_funcs.h: unused prototype
8516
8517         * lyxfunc.h:
8518         * lyxfunc.C: remove unused
8519
8520         * lyxtext.h:
8521         * text.C: remove unused
8522
8523 2002-10-21  John Levon  <levon@movementarian.org>
8524
8525         * BufferView.h:
8526         * BufferView.C:
8527         * BufferView_pimpl.h:
8528         * BufferView_pimpl.C: fix mouse wheel handling based on
8529           patch from Darren Freeman
8530
8531 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8532
8533         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8534
8535 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8536
8537         * lyxlength.C (inPixels): Fix hanfling of negative length.
8538         Fix LyXLength::MU case.
8539
8540 2002-10-16  John Levon  <levon@movementarian.org>
8541
8542         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8543
8544 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8545
8546         * converter.C (view): add support for $$i (file name) and $$p
8547         (file path) for the viewer command. If $$i is not specified, then
8548         it is appended to the command (for compatibility with old syntax)
8549
8550 2002-10-14  Juergen Vigna  <jug@sad.it>
8551
8552         * undo_funcs.C (textHandleUndo): alter the order in which the
8553         new undopar is added to the LyXText, as we have to set first
8554         the right prev/next and then add it as otherwise the rebuild of
8555         LyXText is not correct. Also reset the cursor to the right paragraph,
8556         with this IMO we could remove the hack in "redoParagraphs()".
8557
8558 2002-10-09  Angus Leeming  <leeming@lyx.org>
8559
8560         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8561         to turn off an optimisation if a new inset is to be inserted.
8562
8563 2002-10-11 André Pönitz <poenitz@gmx.net>
8564
8565         * lyxtext.h: make some functions public to allow access
8566         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8567
8568 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8569
8570         * text3.C (dispatch): when changing layout, avoid an infinite loop
8571         [bug #652]
8572
8573 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * lyxrc.C (read): treat a viewer or converter command of "none" as
8576         if it were empty.
8577
8578         * MenuBackend.C (expandFormats): for an update, also allow the
8579         formats that are not viewable
8580
8581         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8582         script if it is newer than the lyxrc.defaults in user directory
8583
8584 2002-10-07 André Pönitz <poenitz@gmx.net>
8585
8586         * text.C: Vitaly Lipatov's small i18n fix
8587
8588 2002-09-25  Angus Leeming  <leeming@lyx.org>
8589
8590         * ispell.h: doxygen fix.
8591
8592 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8593
8594         * buffer.h (readFile): Add a new argument to the method, to allow
8595         reading of old-format templates.
8596
8597 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8598
8599         * toc.C (getTocList): Get TOC from InsetWrap.
8600
8601 2002-09-16  John Levon  <levon@movementarian.org>
8602
8603         * lyxfunc.C: check tabular for cut/copy too
8604
8605 2002-09-12  John Levon  <levon@movementarian.org>
8606
8607         * LyXAction.C: tidy
8608
8609         * factory.h:
8610         * factory.C: add header
8611
8612         * paragraph_funcs.h:
8613         * paragraph_funcs.C: cleanup
8614
8615 2002-09-11  John Levon  <levon@movementarian.org>
8616
8617         * PrinterParams.h: odd/even default to true
8618
8619 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8620
8621         * PrinterParams.h: update printer parameters for new xforms dialog
8622
8623 2002-09-11  Angus Leeming  <leeming@lyx.org>
8624
8625         * lyxserver.C (read_ready): re-write to make it more transparent
8626         and to make it work in coherent fashion under Tru64 Unix.
8627
8628 2002-09-11  André Pönitz <poenitz@gmx.net>
8629
8630         * commandtags.h:
8631         * LyXAction.C:
8632         * text3.C: implement LFUN_WORDSEL
8633
8634 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8637         make floatlist_ a boost::shared_ptr<FloatList>
8638
8639         * lyxtextclass.C: include FloatList.h
8640         (LyXTextClass): initialize floatlist_
8641         (TextClassTags): add TC_NOFLOAT
8642         (Read): match "nofloat" to TC_NOFLOAT and use it.
8643         (readFloat): modify call to floatlist_
8644         (floats): ditto
8645         (floats): ditto
8646
8647         * FloatList.[Ch] (FloatList): remove commented out float
8648         initialization.
8649         (erase): new function
8650
8651 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8652
8653         * MenuBackend.C (expandToc): fix crash when there is no document
8654         open
8655
8656 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8657
8658         * many files: Add insetwrap.
8659
8660 2002-09-09  John Levon  <levon@movementarian.org>
8661
8662         * text2.C: remove confusing and awkward depth wraparound
8663
8664 2002-09-09  John Levon  <levon@movementarian.org>
8665
8666         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8667
8668         * buffer.h:
8669         * buffer.C: remove getIncludeonlyList()
8670
8671         * paragraph.C:
8672         * lyxfunc.C: remove headers
8673
8674 2002-09-09  Juergen Vigna  <jug@sad.it>
8675
8676         * text.C (getColumnNearX): fix form Michael this is most
8677         probably a cut&paste bug.
8678
8679 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8682
8683         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8684         references, ws changes.
8685
8686         * text2.C (init): update counters after init
8687         (insertParagraph): no need to set counter on idividual paragraphs.
8688         (setCounter): access the counters object in the textclass object
8689         on in the buffer object.
8690         (updateCounters): ditto
8691
8692         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8693         shared_ptr<Counters> to avoid loading counters.h in all
8694         compilation units.
8695         (LyXTextClass): initialize ctrs_
8696         (TextClassTags): add TC_COUNTER, and ...
8697         (Read): use it here.
8698         (CounterTags): new tags
8699         (readCounter): new function
8700         (counters): new funtion
8701         (defaultLayoutName): return a const reference
8702
8703         * counters.C (Counters): remove contructor
8704         (newCounter): remove a couple of unneeded statements.
8705         (newCounter): simplify a bit.
8706         (numberLabel): some small formatting changes.
8707
8708         * buffer.[Ch]: remove all traces of counters, move the Counters
8709         object to the LyXTextClass.
8710
8711 2002-09-06  Alain Castera  <castera@in2p3.fr>
8712
8713         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8714         package to set the horizontal alignment on fixed width columns.
8715
8716         * lyx_sty.C:
8717         * lyx_sty.h: added tabularnewline macro def.
8718
8719         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8720
8721 2002-09-06  John Levon  <levon@movementarian.org>
8722
8723         * LyXAction.C: tooltips for sub/superscript
8724
8725         * MenuBackend.C: a bit more verbose
8726
8727         * lyxfunc.C: tiny clean
8728
8729         * undo_funcs.C: document undo_frozen
8730
8731 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * counters.C (Counters): add missing algorithm counter.
8734
8735         * text2.C (setCounter): lookup the counter with layouts latexname
8736         instead of by section number.
8737         (setCounter): use a hackish way to lookup the correct enum
8738         counter.
8739         a float name->type change
8740         reset enum couners with counter name directly instead of depth value.
8741
8742         * counters.C (Counters): remove the push_backs, change to use the
8743         float type not the float name.
8744         (labelItem): remove unused string, float name->type change
8745
8746         * counters.h: don't include vector, loose the enums and sects vectors
8747
8748 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8751         (Read): add float->TC_FLOAT to textclassTags
8752         (Read): and handle it in the switch
8753         (readFloat): new function
8754
8755         * FloatList.C (FloatList): comment out the hardcoded float
8756         definitions.
8757
8758         * lyxlayout.h: ws change.
8759
8760 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8761
8762         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8763
8764 2002-09-03  Angus Leeming  <leeming@lyx.org>
8765
8766         * BufferView_pimpl.h: qualified name is not allowed in member
8767         declaration: WorkArea & Pimpl::workarea() const;
8768
8769         * factory.C: added using std::endl directive.
8770
8771         * text3.C: added using std::find and std::vector directives.
8772
8773 2002-08-29  André Pönitz <poenitz@gmx.net>
8774
8775         * lyxtext.h:
8776         * text2.C: remove unused member number_of_rows
8777
8778         * Makefile.am:
8779         * BufferView2.C: remove file, move contents to...
8780         * BufferView.C: ... here
8781
8782         * BufferView_pimpl.C:
8783         * factory.C: move more inset creation to factory
8784
8785         * vspace.C: avoid direct usage of LyXText, ws changes
8786
8787         * BufferView.[Ch]:
8788                 don't provide direct access to WorkArea, use two simple
8789                 acessors haveSelction() and workHeight() instead
8790
8791
8792 2002-08-29  John Levon  <levon@movementarian.org>
8793
8794         * BufferView_pimpl.C (dispatch): do not continue when
8795           no buffer
8796
8797 2002-08-28  André Pönitz <poenitz@gmx.net>
8798
8799         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8800
8801         * BufferView.h:
8802         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8803
8804 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8805
8806         * buffer.C: increment LYX_FORMAT to 221
8807
8808         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8809         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8810
8811         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8812
8813         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8814
8815 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * factory.C (createInset): use LyXTextClass::floats
8818
8819         * MenuBackend.C (expandFloatListInsert):
8820         (expandFloatInsert):
8821         (expandToc):
8822
8823         * text2.C (setCounter):
8824
8825         * LaTeXFeatures.C (useFloat):
8826         (getFloatDefinitions):
8827
8828         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8829
8830         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8831         floatlist_, with accessor floats().
8832
8833         * FloatList.h: remove global FloatList
8834
8835 2002-08-26  André Pönitz <poenitz@gmx.net>
8836
8837         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8838
8839         * BufferView.h:
8840         * BufferView2.C:
8841         * BufferView_pimpl.C:
8842         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8843
8844 2002-08-25  John Levon  <levon@movementarian.org>
8845
8846         * LyXAction.C: fix margin note description
8847
8848 2002-08-24  John Levon  <levon@movementarian.org>
8849
8850         * buffer.C:
8851         * bufferlist.C:
8852         * bufferview_funcs.C:
8853         * lyxfont.C:
8854         * undo_funcs.C: cleanups
8855
8856         * lyxfunc.C: disable CUT/COPY when no selection
8857
8858 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8859
8860         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8861         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8862
8863         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8864         Add backward compatibility to "mono", "gray" and "no".
8865
8866 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8867
8868         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8869         (and file_format >= 200).
8870
8871 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8872
8873         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8874
8875 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8878
8879 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8880
8881         * BufferView_pimpl.C:
8882         * LyXAction.C:
8883         * buffer.C:
8884         * commandtags.h:
8885         * lyxfunc.C:
8886         * paragraph.[Ch]:
8887         * text2.C:
8888         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8889         inset and code to make it  work with the paragraph code. The inset
8890         can be anywhere in the paragraph, but will only do the expected
8891         thing in LaTeX if the layout file contains the parameter line
8892                         OptionalArgs    1
8893         (or more generally, a nonzero value) for that layout.
8894
8895 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * paragraph.h: remove the declaration of undefined counters class
8898         function.
8899
8900 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8901
8902         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8903         Dr. Richard Hawkins.
8904
8905 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8906
8907         * paragraph_funcs.h: remove some unneeded includes
8908
8909         * text.C (backspace): pasteParagraph now in global scipe
8910
8911         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8912         (pasteSelection): ditto
8913
8914         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8915         * paragraph_funcs.C (pasteParagraph): ... here
8916
8917 2002-08-20  André Pönitz <poenitz@gmx.net>
8918
8919         * commandtags.h: new LFUNs for swapping/copying table row/colums
8920
8921         * LyXAction.C:
8922         * lyxfunc.C: support for new lfuns
8923
8924 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * tabular.C:
8927         * buffer.[Ch]: remove NO_COMPABILITY stuff
8928
8929 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8930
8931         * boost.C (throw_exception): new file, with helper function for
8932         boost compiled without exceptions.
8933
8934         * paragraph.h:
8935         * lyxlength.C:
8936         * buffer.C:
8937         * ParameterStruct.h:
8938         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8939
8940         * bufferlist.C (emergencyWriteAll): use boost bind
8941
8942         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8943
8944         * text.C: include paragraph_funcs.h
8945         (breakParagraph): breakParagraph is now in global scope
8946
8947         * paragraph_funcs.[Ch]: new files
8948
8949         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8950         global scope
8951
8952         * buffer.C: include paragraph_funcs.h
8953         (insertStringAsLines): breakParagraph is now in global scope
8954
8955         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8956         paragraph_funcs.C
8957
8958         * CutAndPaste.C: include paragraph_funcs.h
8959         (cutSelection): breakParagraphConservative is now in global scope
8960         (pasteSelection): ditto
8961
8962         * buffer.h: declare oprator== and operator!= for
8963         Buffer::inset_iterator
8964
8965         * bufferlist.C (emergencyWrite): don't use fmt(...)
8966
8967         * text3.C: add using std::endl
8968
8969         * BufferView.C (moveCursorUpdate): remove default arg
8970
8971 2002-08-20  André Pönitz <poenitz@gmx.net>
8972
8973         * buffer.[Ch]: move inline functions to .C
8974
8975         * BufferView2.C:
8976         * BufferView_pimpl.C:
8977         * text.C:
8978         * buffer.[Ch]: use improved inset_iterator
8979
8980         * buffer.C:
8981         * paragraph.[Ch]: write one paragraph at a time
8982
8983 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8984
8985         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8986         style if style is not specified.
8987
8988 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * text2.C (setCounter): when searching for right label for a
8991         caption, make sure to recurse to parent insets (so that a caption
8992         in a minipage in a figure float works) (bug #568)
8993
8994 2002-08-20  André Pönitz <poenitz@gmx.net>
8995
8996         * text3.C: new file for LyXText::dispatch() and helpers
8997
8998         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8999
9000         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9001
9002 2002-08-19  André Pönitz <poenitz@gmx.net>
9003
9004         * lyxtext.h:
9005         * text.C: new LyXText::dispatch()
9006
9007         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9008
9009 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9010
9011         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9012
9013         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9014         Hebrew text.
9015
9016 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9017
9018         * Makefile.am: use $(variables) instead of @substitutions@
9019
9020 2002-08-15  André Pönitz <poenitz@gmx.net>
9021
9022         * lyxfunc.C:
9023         * BufferView_pimpl.C: streamlining mathed <-> outer world
9024         interaction
9025
9026         * commandtags.h:
9027         * LyXAction.C: remove unused LFUN_MATH
9028
9029 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9030
9031         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9032
9033 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * paragraph.C (Paragraph): reformat a bit
9036         (cutIntoMinibuffer): use builtin InsetList function instad of
9037         doing it manually.
9038         (getInset): ditto
9039
9040         * buffer.C: include boost/bind.hpp, add using std::for_each
9041         (writeFileAscii): use ParagraphList iterators
9042         (validate): use for_each for validate traversal of paragraphs
9043         (getBibkeyList): use ParagraphList iterators
9044         (resizeInsets): use for_each to resizeInsetsLyXText for all
9045         paragraphs.
9046         (getParFromID): use ParagraphList iterators
9047
9048         * BufferView2.C (lockInset): use paragraph list and iterators
9049
9050 2002-08-14  John Levon  <levon@movementarian.org>
9051
9052         * lyxserver.C: remove spurious xforms include
9053
9054 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9055
9056         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9057
9058 2002-08-13  André Pönitz <poenitz@gmx.net>
9059
9060         * LyXAction.[Ch]:
9061         * lyxfunc.C: further cleaning
9062
9063 2002-08-13  André Pönitz <poenitz@gmx.net>
9064
9065         * funcrequest.h: new constructor
9066
9067         * funcrequest.C: move stuff here from .h
9068
9069         * Makefile.am:
9070         * BufferView_pimpl.C:
9071         * LyXAction.C:
9072         * toc.C:
9073         * lyxfunc.C: subsequent changes
9074
9075         * lyxfunc.h: new view() member function
9076
9077         * lyxfunc.C: subsequent changes
9078
9079 2002-08-13  Angus Leeming  <leeming@lyx.org>
9080
9081         * BufferView2.C:
9082         * BufferView_pimpl.C:
9083         * buffer.C:
9084         * converter.C:
9085         * importer.C:
9086         * lyxfunc.C:
9087         * lyxvc.C:
9088         * toc.C:
9089         * vc-backend.C:
9090         changes due to the changed LyXView interface that now returns references
9091         to member variables not pointers.
9092
9093 2002-08-13  Angus Leeming  <leeming@lyx.org>
9094
9095         * WordLangTuple (word, lang_code): return references to strings,
9096         not strings.
9097
9098         * BufferView.h:
9099         * SpellBase.h:
9100         * lyxtext.h: forward-declare WordLangTuple.
9101
9102         * BufferView2.C:
9103         * ispell.C:
9104         * pspell.C:
9105         * text.C: #include "WordLangTuple.h".
9106
9107         * lyxtext.h:
9108         * text.C: (selectNextWordToSpellcheck): constify return type.
9109
9110 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9111
9112         * buffer.C:
9113         * buffer.h:
9114         * lyxtext.h:
9115         * paragraph.C:
9116         * paragraph_pimpl.h:
9117         * text.C:
9118         * text2.C:
9119         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9120         suggested by Angus.
9121         Made updateCounter always count from start of buffer, and removed
9122         second argument (par).
9123         Reverted floats number display to '#'. Perhaps I'll try again when the
9124         code base is sanitized a bit.
9125
9126 2002-08-12  Angus Leeming  <leeming@lyx.org>
9127
9128         * buffer.[Ch] (getLabelList): constify.
9129
9130 2002-08-07  André Pönitz <poenitz@gmx.net>
9131
9132         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9133
9134         * funcrequest.h: extension to keep mouse (x,y) position
9135
9136 2002-08-12  Juergen Vigna  <jug@sad.it>
9137
9138         * BufferView2.C (insertErrors): forbid undo when inserting error
9139         insets.
9140
9141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9142
9143 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9144
9145         * ParagraphList.[Ch]: new files
9146
9147         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9148
9149         * BufferView2.C (lockInset): ParagraphList changes
9150         * toc.C: ditto
9151         * text2.C: ditto
9152         * bufferlist.C: ditto
9153         * buffer.h: ditto
9154         * buffer.C: ditto
9155
9156 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9159         unused class variable counter_,
9160
9161         * paragraph.[Ch] (getFirstCounter): delete unused function
9162
9163         * counters.C: include LAssert.h
9164         (reset): add a new function with no arg, change other version to
9165         not have def. arg and to not allow empty arg.
9166
9167         * text2.C (setCounter): remove empty arg from call to Counters::reset
9168
9169 2002-08-11  John Levon  <levon@movementarian.org>
9170
9171         * Makefile.am: add WordLangTuple.h
9172
9173 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9174
9175         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9176         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9177
9178         * insets/insettext.C: InsetList changes
9179
9180         * graphics/GraphicsSupport.C (operator()): InsetList changes
9181
9182         * toc.C (getTocList): InsetList changes
9183
9184         * paragraph_pimpl.[Ch]: InsetList changes
9185
9186         * paragraph.[Ch]: InsetList changes
9187
9188         * buffer.C (inset_iterator): InsetList changes
9189         (setParagraph): ditto
9190         * buffer.h (inset_iterator): ditto
9191         * iterators.C (operator++): ditto
9192         * iterators.h: ditto
9193
9194         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9195
9196         * InsetList.[Ch]: new files, most InsetList handling moved out of
9197         paragraph.C.
9198
9199         * BufferView2.C (removeAutoInsets): InsetList changes
9200         (lockInset): ditto
9201         (ChangeInsets): ditto
9202
9203 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9204
9205         * paragraph_pimpl.h (empty): new function
9206
9207         * paragraph.[Ch] (empty): new function
9208
9209         * other files: use the new Paragraph::empty function
9210
9211 2002-08-09  John Levon  <levon@movementarian.org>
9212
9213         * lyxtext.h: remove unused refresh_height
9214
9215 2002-08-09  John Levon  <levon@movementarian.org>
9216
9217         * Makefile.am:
9218         * sgml.h:
9219         * sgml.C:
9220         * buffer.C:
9221         * paragraph.h:
9222         * paragraph.C: move sgml char escaping out of paragraph
9223
9224         * paragraph.h:
9225         * paragraph.C: remove id setter
9226
9227         * buffer.C:
9228         * paragraph.C:
9229         * paragraph_pimpl.C: remove dead tex_code_break_column
9230
9231         * bufferview_funcs.C: small cleanup
9232
9233         * lyxfunc.C: remove dead proto
9234
9235         * lyxtext.h: make some stuff private. Remove some dead stuff.
9236
9237         * lyxgluelength.C: make as[LyX]String() readable
9238
9239 2002-08-08  John Levon  <levon@movementarian.org>
9240
9241         * LyXAction.h:
9242         * LyXAction.C:
9243         * MenuBackend.C:
9244         * ToolbarDefaults.C:
9245         * lyxfunc.C:
9246         * lyxrc.C:
9247         * toc.C: lyxaction cleanup
9248
9249 2002-08-08  John Levon  <levon@movementarian.org>
9250
9251         * BufferView2.C: small cleanup
9252
9253         * lyxfind.h:
9254         * lyxfind.C: move unnecessary header into the .C
9255
9256 2002-08-08  John Levon  <levon@movementarian.org>
9257
9258         * funcrequest.h: just tedious nonsense
9259
9260         * lyx_main.h:
9261         * lyx_main.C: cleanups
9262
9263         * buffer.C:
9264         * vspace.C: remove dead header lyx_main.h
9265
9266 2002-08-07  Angus Leeming  <leeming@lyx.org>
9267
9268         * Paragraph.[Ch]:
9269         * paragraph_pimpl.h:
9270         Forward declare class Counters in paragraph.h by moving the ctrs member
9271         variable into Paragraph::Pimpl.
9272         (counters): new method, returning a reference to pimpl_->ctrs.
9273
9274         * text2.C: ensuing changes.
9275
9276 2002-08-07  John Levon  <levon@movementarian.org>
9277
9278         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9279
9280         * BufferView_pimpl.C: announce X selection on double/triple
9281           click
9282
9283         * lyx_main.C: use correct bool in batch dispatch
9284
9285         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9286
9287 2002-08-07  André Pönitz <poenitz@gmx.net>
9288
9289         * funcrequest.h: new class to wrap a kb_action and its argument
9290
9291         * BufferView.[Ch]:
9292         * BufferView_pimpl[Ch]:
9293         * LaTeX.C:
9294         * LyXAction.[Ch]:
9295         * lyxfunc.[Ch]:
9296         * lyxrc.C: subsequent changes
9297
9298
9299 2002-08-07  John Levon  <levon@movementarian.org>
9300
9301         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9302           document options change.
9303
9304 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9305
9306         * counters.[Ch]
9307         * text2.C
9308         * paragraph.[Ch]
9309         * makefile.am: move counters functionality over from
9310         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9311
9312 2002-08-06  John Levon  <levon@movementarian.org>
9313
9314         * WordLangTuple.h: new file for word + language code tuple
9315
9316         * SpellBase.h:
9317         * pspell.h:
9318         * pspell.C:
9319         * ispell.h:
9320         * ispell.C:
9321         * lyxtext.h:
9322         * text.C:
9323         * text2.C:
9324         * BufferView.h:
9325         * BufferView2.C: use WordLangTuple
9326
9327         * layout.h:
9328         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9329
9330 2002-08-06  John Levon  <levon@movementarian.org>
9331
9332         * lyx_main.C: fix cmdline batch handling
9333
9334 2002-08-06  André Pönitz <poenitz@gmx.net>
9335
9336         * lyxrc.C: set default for show_banner to true
9337
9338 2002-08-06  John Levon  <levon@movementarian.org>
9339
9340         * pspell.C: fix a crash, and allow new aspell to work
9341
9342 2002-08-06  John Levon  <levon@movementarian.org>
9343
9344         * lyxfunc.C:
9345         * kbmap.C: small cleanup
9346
9347         * vspace.h:
9348         * vspace.C: add const
9349
9350 2002-08-05  John Levon  <levon@movementarian.org>
9351
9352         * LyXAction.C: back to tabular-insert
9353
9354 2002-08-04  John Levon  <levon@movementarian.org>
9355
9356         * BufferView.h:
9357         * BufferView.C: cosmetic change
9358
9359         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9360
9361         * bufferlist.C:
9362         * buffer.h:
9363         * buffer.C:
9364         * lyxcb.h:
9365         * lyxcb.C:
9366         * lyxserver.C:
9367         * lyxvc.C:
9368         * vc-backend.C:
9369         * BufferView2.C: purge all "Lyx" not "LyX" strings
9370
9371         * lyxcursor.h:
9372         * lyxcursor.C: attempt to add some documentation
9373
9374         * lyxfunc.C:
9375         * commandtags.h:
9376         * LyXAction.C:
9377         * ToolbarDefaults.C:
9378         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9379           merge with LFUN_TABULAR_INSERT
9380
9381         * Makefile.am:
9382         * SpellBase.h:
9383         * ispell.h:
9384         * ispell.C:
9385         * pspell.h:
9386         * pspell.C: split up i/pspell implementations into separate
9387           files, many cleanups
9388
9389         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9390
9391         * text2.C: some cleanup
9392
9393         * lyxfunc.C: don't check for isp_command == "none" any more, it
9394           didn't make any sense
9395
9396 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9397
9398         * counters.[Ch]
9399         * text2.C
9400         * paragraph.[Ch]
9401         * makefile.am: move counters functionality over
9402         from text2.C/paragraph.[Ch] to counters.[Ch], and
9403         make proper C++.
9404 2002-08-02  John Levon  <levon@movementarian.org>
9405
9406         * buffer.C: s/lyxconvert/lyx2lyx/
9407
9408 2002-08-02  Angus Leeming  <leeming@lyx.org>
9409
9410         * lyxlex.C: revert John's change as it breaks reading of the user
9411         preamble.
9412
9413 2002-08-02  Angus Leeming  <leeming@lyx.org>
9414
9415         * importer.C (Import):
9416         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9417         changes due to LyXView::view() now returning a boost::shared_ptr.
9418
9419 2002-08-02  John Levon  <levon@movementarian.org>
9420
9421         * lyxlex.C: small cleanup
9422
9423 2002-08-02  John Levon  <levon@movementarian.org>
9424
9425         * text2.C (status): small cleanup, no logic change
9426
9427 2002-08-01  John Levon  <levon@movementarian.org>
9428
9429         * buffer.h:
9430         * buffer.C (writeFile): don't output alerts, caller
9431           handles this
9432
9433         * bufferlist.C:
9434         * lyx_cb.C: from above
9435
9436         * lyxfunc.C: allow to open non-existent files
9437
9438 2002-07-31  John Levon  <levon@movementarian.org>
9439
9440         * lyxserver.C: don't let incidental errors get
9441           in the way (errno)
9442
9443 2002-07-30  John Levon  <levon@movementarian.org>
9444
9445         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9446
9447 2002-07-30  John Levon  <levon@movementarian.org>
9448
9449         * lyxserver.h:
9450         * lyxserver.C: remove I/O callback too
9451
9452 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9455         log.
9456
9457 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9458
9459         * many files: strip,frontStrip -> trim,ltrim,rtrim
9460
9461 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9462
9463         * PrinterParams.h: remove extern containsOnly, and include
9464         support/lstrings.h instead.
9465
9466         * LaTeX.C (scanAuxFile): modify because of strip changes
9467         (deplog): ditto
9468         * buffer.C (makeLaTeXFile): ditto
9469         * bufferparams.C (writeFile): ditt
9470         * lyxfont.C (stateText): ditto
9471         * lyxserver.C (read_ready): ditto
9472         * vc-backend.C (scanMaster): ditto
9473
9474         * BufferView_pimpl.h: ws changes
9475
9476         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9477
9478 2002-07-26  André Pönitz <poenitz@gmx.net>
9479
9480         * kb_sequence.C: remove unnedred usings
9481
9482 2002-07-26  Juergen Vigna  <jug@sad.it>
9483
9484         * lyxfind.C (LyXReplace): we have to check better if the returned
9485         text is not of theLockingInset()->getLockingInset().
9486
9487 2002-07-25  Juergen Vigna  <jug@sad.it>
9488
9489         * lyxfind.C (LyXReplace): don't replace if we don't get the
9490         right LyXText.
9491
9492         * undo_funcs.C (createUndo): remove debugging code.
9493
9494 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9495
9496         * buffer.C (parseSingleLyXformat2Token): Use default placement
9497         when reading old floats.
9498
9499         * FloatList.C (FloatList): Change the default placement of figure
9500         and tables to "tbp".
9501
9502 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * MenuBackend.C: using std::max
9505
9506 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * MenuBackend.C (expandToc):
9509         (expandToc2): code moved from xforms menu frontend. It is now
9510         generic and TOCs are transparent to menu frontends.
9511
9512 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * toc.C (getTocList): protect against buf=0
9515
9516         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9517         Menu as first parameter. Now, this calls itself recursively to
9518         expand a whole tree (this will be useful for TOC handling)
9519         (expandFloatInsert): remove 'wide' version of floats
9520
9521         * MenuBackend.h (submenuname): returns the name of the submenu.
9522         (submenu): returns the submenu itself, provided it has been
9523         created by MenuBackend::expand
9524
9525 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9528         insets which have noFontChange == true. (bug #172)
9529
9530 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * BufferView_pimpl.C: add connection objects and use them...
9533         (Pimpl): here.
9534
9535 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * MenuBackend.C (expandLastfiles):
9538         (expandDocuments):
9539         (expandFormats):
9540         (expandFloatListInsert):
9541         (expandFloatInsert):
9542         (expand): split expand in parts
9543
9544 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * lyx_gui.C: use lyx_gui::exit()
9547
9548 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * LyXAction.C: show the failing pseudo action
9551
9552 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9553
9554         * buffer.C (readFile): Run the lyxconvert script in order to read
9555         old files.
9556
9557 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * LyXAction.C:
9560         * commandtags.h:
9561         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9562
9563 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9564
9565         * LyXAction.C:
9566         * commandtags.h:
9567         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9568
9569 2002-07-22  Herbert Voss  <voss@lyx.org>
9570
9571         * lengthcommon.C:
9572         * lyxlength.[Ch]: add support for the vertical lengths
9573
9574 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * toc.[Ch]: std:: fixes
9577
9578 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * lyxrc.C: do not include lyx_main.h
9581
9582         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9583         for layouts
9584
9585         * lyxrc.C:
9586         * encoding.C:
9587         * bufferlist.C:
9588         * BufferView2.C: include "lyxlex.h"
9589
9590         * tabular.h:
9591         * bufferparams.h: do not #include "lyxlex.h"
9592
9593         * lyxtextclasslist.C (Add): remove method
9594         (classlist): renamed to classlist_
9595
9596         * paragraph_pimpl.C:
9597         * paragraph.C:
9598         * text2.C:
9599         * CutAndPaste.C:
9600         * bufferview_funcs.C:
9601         * bufferlist.C:
9602         * text.C:
9603         * LaTeXFeatures.C:
9604         * buffer.C:
9605         * toc.C (getTocList): use BufferParams::getLyXTextClass
9606
9607         * toc.C (getTocList): use InsetFloat::addToToc
9608
9609         * toc.[Ch]: new files, containing helper functions to handle table
9610         of contents
9611
9612         * lyxfunc.C (dispatch): no need to remove spaces around command
9613         given as a string
9614         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9615         first command of the sequence; it is not very clever, but I do not
9616         have a better idea, actually
9617
9618         * LyXAction.C (LookupFunc): make sure to remove space at the
9619         beginning and end of the command
9620
9621 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * MenuBackend.C (getMenubar): new method: return the menubar of
9624         this menu set
9625         (read): treat differently reading of menu and menubar (in
9626         particular, the menubar has no name now)
9627         (Menu::menubar): remove
9628
9629         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9630         saving is finished
9631
9632 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9633
9634         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9635         a bibitem inset in a RTL paragraph.
9636
9637 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * paragraph_pimpl.C: constify
9640
9641         * BufferView_pimpl.C:
9642         * LaTeX.C:
9643         * lyxfunc.C: fix dispatch in a nicer way
9644
9645 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * lyxfunc.C (dispatch):
9648         * BufferView_pimpl.C:
9649         * BufferView_pimpl.h:
9650         * BufferView.C:
9651         * BufferView.h: rename Dispatch() to dispatch()
9652
9653         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9654
9655         * lyxlayout.C (Read): honor DependsOn tag
9656
9657         * lyxlayout.[Ch] (depends_on): new method
9658
9659         * version.C.in: update lyx_docversion
9660
9661         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9662
9663         * paragraph.C (validate): remove from here...
9664         * paragraph_pimpl.C (validate): ... and move here
9665         (isTextAt): make it const
9666
9667         * buffer.C (getLists): ws cleanup
9668
9669 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9670
9671         * language.C (read): Use iso8859-1 encoding in latex_lang
9672         (this prevents LyX from crashing when using iso10646-1 encoding).
9673
9674 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * text2.C (toggleInset): if cursor is inside an inset, close the
9677         inset and leave cursor _after_ it
9678
9679 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * lyxfunc.C: move minibuffer completion handling out of here
9682
9683 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * BufferView_pimpl.C:
9686         * LaTeX.C: fix dispatch calls
9687
9688 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9689
9690         * text.C (drawChars): Fix Arabic text rendering.
9691
9692 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * LyXAction.C:
9695         * commandtags.h:
9696         * lyxfunc.C: remove message-push/pop
9697
9698         * lyxserver.C:
9699         * lyxfunc.h:
9700         * lyxfunc.C: rationalise some code by removing verboseDispatch
9701           in favour of a bool argument to dispatch()
9702
9703 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * lyx_main.C (init): make sure to read symlinks as absolute paths
9706
9707 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyxfunc.h:
9710         * lyxfunc.C: no need for commandshortcut to be a member
9711
9712 2002-07-15  André Pönitz <poenitz@gmx.net>
9713
9714         * converter.C: add support for $$s (scripts from lib/scripts dir)
9715         * lyx_main.C: white space
9716
9717 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9718
9719         * bufferlist.C:
9720         * lyxrc.h:
9721         * lyxrc.C: remove second exit confirmation
9722
9723 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * BufferView.h:
9726         * BufferView.C:
9727         * BufferView2.C:
9728         * BufferView_pimpl.h:
9729         * BufferView_pimpl.C:
9730         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9731
9732 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * MenuBackend.C (expand): add numeric shortcuts to document menu
9735
9736         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9737
9738 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9739
9740         * lyxfont.C (setLyXFamily):
9741         (setLyXSeries):
9742         (setLyXShape):
9743         (setLyXSize):
9744         (setLyXMisc):
9745         (lyxRead):
9746         * debug.C (value):
9747         * buffer.C (asciiParagraph): use ascii_lowercase
9748
9749 2002-07-15  Mike Fabian  <mfabian@suse.de>
9750
9751         * lyxlex_pimpl.C (search_kw):
9752         * lyxlex.C (getLongString):
9753         * converter.h (operator<):
9754         * converter.C (operator<):
9755         * buffer.C (parseSingleLyXformat2Token):
9756         (asciiParagraph):
9757         * ToolbarDefaults.C (read):
9758         * MenuBackend.C (checkShortcuts):
9759         (read):
9760         * LColor.C (getFromGUIName):
9761         (getFromLyXName): use the compare_ascii_no_case instead of
9762         compare_no_case, because in turkish, 'i' is not the lowercase
9763         version of 'I', and thus turkish locale breaks parsing of tags.
9764
9765 2002-07-16  Angus Leeming  <leeming@lyx.org>
9766
9767         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9768         now takes a Buffer const & argument.
9769
9770 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * BufferView.C (resize): check there's a buffer to resize
9773
9774 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * lyxfunc.C: remove dead code
9777
9778         * lyxserver.h:
9779         * lyxserver.C: use lyx_guii::set_read_callback
9780
9781 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9782
9783         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9784         an inset in a RTL paragraph.
9785
9786 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * lyxfunc.C: repaint after a font size update
9789
9790 2002-07-15  André Pönitz <poenitz@gmx.net>
9791
9792         * lyxlength.C: inBP should be able to return negative values
9793
9794 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * lyxfunc.C: use lyx_gui::update_fonts()
9797
9798 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9799
9800         * lyxfunc.C: use lyx_gui::update_color()
9801
9802 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * bufferlist.C:
9805         * lyxfunc.h:
9806         * lyxfunc.C:
9807         * lyxrc.h:
9808         * lyxrc.C: remove file->new asks for name option, and let
9809           buffer-new take an argument
9810
9811 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView_pimpl.C: remove unneeded extra repaint()
9814
9815 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * LyXAction.C: allow command-sequence with NoBuffer
9818
9819         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9820
9821 2002-07-10  Angus Leeming  <leeming@lyx.org>
9822
9823         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9824
9825 2002-07-09  Angus Leeming  <leeming@lyx.org>
9826
9827         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9828
9829 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * lengthcommon.h: whitespace
9832
9833         * lyxfunc.C: update scrollbar after goto paragraph
9834
9835         * lyxtext.h: factor out page break drawing, and fix it so
9836           page break/added space paints as selected nicely
9837
9838 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * BufferView_pimpl.C: add FIXMEs, clean up a little
9841
9842 2002-07-09  André Pönitz <poenitz@gmx.net>
9843
9844         * lyxfont.[Ch]: support for wasy symbols
9845
9846 2002-07-08  André Pönitz <poenitz@gmx.net>
9847
9848         * BufferView_pimpl.C: apply John's patch for #93.
9849
9850 2002-07-05  Angus Leeming  <leeming@lyx.org>
9851
9852         * BufferView_pimpl.C (buffer): generate previews if desired.
9853
9854         * LColor.h: add "preview" to the color enum.
9855
9856         * LColor.C (LColor): add a corresponding entry to the items array.
9857
9858         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9859         with this buffer.
9860
9861 2002-07-05  Angus Leeming  <leeming@lyx.org>
9862
9863         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9864         The body of the code is now in the method that is passed an ostream &
9865         rather than a file name.
9866         Pass an additional only_preamble parameter, useful for the forthcoming
9867         preview stuff.
9868
9869 2002-07-03  André Pönitz <poenitz@gmx.net>
9870
9871         * lyxfunc.C: simplify getStatus() a bit for math stuff
9872
9873 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9876
9877 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * text.C (changeRegionCase): do not change case of all the
9880         document when region ends at paragraph end (bug #461)
9881
9882 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * paragraph.C (startTeXParParams):
9885         (endTeXParParams): add \protect when necessary
9886
9887 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9888
9889         * BufferView_pimpl.C (workAreaExpose): remove warning
9890
9891 2002-06-27  Angus Leeming  <leeming@lyx.org>
9892
9893         * Makefile.am: add lyxlayout_ptr_fwd.h.
9894
9895 2002-06-26  André Pönitz <poenitz@gmx.net>
9896
9897         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9898
9899 2002-06-25  Angus Leeming  <leeming@lyx.org>
9900
9901         * lyxfunc.C (dispatch): Comment out the call to
9902         grfx::GCache::changeDisplay. The method no longer exists now that the
9903         pixmap generation part of the graphics loader has been moved into
9904         InsetGraphics.
9905
9906 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * text2.C: layout as layout
9909
9910         * text.C: layout as layout
9911
9912         * tabular.C (OldFormatRead): layout as layout
9913
9914         * paragraph_pimpl.C (TeXDeeper): layout as layout
9915         (realizeFont): layout as layout
9916
9917         * paragraph.C (writeFile): layout as layout
9918         (validate): layout as layout
9919         (getFont): layout as layout
9920         (getLabelFont): layout as layout
9921         (getLayoutFont): layout as layout
9922         (breakParagraph): layout as layout
9923         (stripLeadingSpaces): layout as layout
9924         (getEndLabel): layout as layout
9925         (getMaxDepthAfter): layout as layout
9926         (applyLayout): layout as layout
9927         (TeXOnePar): layout as layout
9928         (simpleTeXOnePar): layout as layout
9929         (TeXEnvironment): layout as layout
9930         (layout): layout as layout
9931         (layout): layout as layout
9932
9933         * lyxtextclass.C (compare_name): new functor to work with
9934         shared_ptr, layout as layout
9935         (Read): layout as layout
9936         (hasLayout): layout as layout
9937         (operator): layout as layout
9938         (delete_layout): layout as layout
9939         (defaultLayout): layout as layout
9940
9941         * lyxlayout_ptr_fwd.h: new file
9942
9943         * lyxlayout.C (Read): layout as layout
9944
9945         * lyx_cb.C (MenuInsertLabel): layout as layout
9946
9947         * bufferlist.C (newFile): layout as layout
9948
9949         * buffer.C (readLyXformat2): layout as layout
9950         (parseSingleLyXformat2Token): layout as layout
9951         (insertStringAsLines): layout as layout
9952         (asciiParagraph): layout as layout
9953         (latexParagraphs): layout as layout
9954         (makeLinuxDocFile): layout as layout
9955         (simpleLinuxDocOnePar): layout as layout
9956         (makeDocBookFile): layout as layout
9957         (simpleDocBookOnePar): layout as layout
9958         (getLists): layout as layout
9959
9960         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9961
9962         * CutAndPaste.C (cutSelection): layout as layout
9963         (pasteSelection): layout as layout
9964         (SwitchLayoutsBetweenClasses): layout as layout
9965
9966         * BufferView_pimpl.C (Dispatch): layout as layout
9967         (smartQuote): layout as layout
9968
9969         * BufferView2.C (unlockInset): layout as layout
9970
9971 2002-06-24  André Pönitz <poenitz@gmx.net>
9972
9973         * lyxfunc.C: fix #487
9974
9975 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * lyxrc.h:
9978         * lyxrc.C:
9979         * lyxfunc.C: remove display_shortcuts, show_banner
9980
9981 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * Buffer_pimpl.C: oops, update on resize
9984
9985 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * buffer.C:
9988         * converter.C:
9989         * exporter.C:
9990         * lyxfunc.C:
9991         * BufferView.h:
9992         * BufferView.C: use repaint()
9993
9994         * BufferView_pimpl.h:
9995         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9996           as it's a clearer description. Remove superfluous
9997           redraws.
9998
9999 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * text.C: fix bug 488. Not ideal, but getting
10002           getWord() to work properly for the insets that
10003           matter is more difficult ...
10004
10005 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10006
10007         * BufferView_pimpl.C:
10008         * LyXAction.C:
10009         * commandtags.h:
10010         * lyxfunc.C: remove the six million index lyxfuncs to just
10011           one, and DTRT (bug 458)
10012
10013 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * BufferView.h:
10016         * BufferView.C:
10017         * BufferView_pimpl.h:
10018         * BufferView_pimpl.C: clean up resize() stuff,
10019           and unnecessary updateScreen()s
10020
10021 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * BufferView.h:
10024         * BufferView.C:
10025         * BufferView_pimpl.h:
10026         * BufferView_pimpl.C:
10027         * lyxfind.h:
10028         * lyxfind.C:
10029         * minibuffer.C: remove focus management of workarea,
10030           not needed. Use screen's greyOut()
10031
10032 2002-06-17  Herbert Voss  <voss@lyx.org>
10033
10034         * converter.C: (convert) do not post a message, when converting
10035         fails, let the calling function decide what to do in this case
10036
10037 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * lyxfunc.C: tidy up a little
10040
10041 2002-06-16    <alstrup@diku.dk>
10042
10043         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10044         Got rid of FORMS_H_LOCATION include. Now we are
10045         GUII.
10046
10047 2002-06-15  LyX Development team  <lyx@rilke>
10048
10049         * buffer.[Ch] (sgmlOpenTag):
10050         (sgmlCloseTag): Added support for avoiding pernicious mixed
10051         content. Return number of lines written.
10052
10053         (makeLinuxDocFile):
10054         (makeDocBookFile): Fixed calls to sgml*Tag.
10055         Simple white space clean.
10056
10057         (simpleDocBookOnePar): Simple white space clean.
10058
10059         * tabular.[Ch] (docBook): Renamed to docbook and got another
10060         argument to related with the pernicious mixed content.
10061
10062         (docbookRow): Fixed calls for docbook inset method.
10063
10064 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10065
10066         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10067         so it's X11 independent.
10068
10069         * kb*.[Ch]: ditto.
10070
10071         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10072
10073 2002-06-15  Lyx Development team  <lyx@electronia>
10074
10075         * intl.h: Renamed getTrans to getTransManager.
10076
10077 2002-06-14  Angus Leeming  <leeming@lyx.org>
10078
10079         * Makefile.am: nuke forgotten stl_string_fwd.h.
10080
10081 2002-06-12  Angus Leeming  <leeming@lyx.org>
10082
10083         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10084
10085 2002-06-13  Angus Leeming  <leeming@lyx.org>
10086
10087         * LaTeX.C:
10088         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10089
10090 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10091
10092         * kbmap.C (getiso): add support for cyrillic and greek
10093
10094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * BufferView.h:
10097         * BufferView.C:
10098         * BufferView_pimpl.h:
10099         * BufferView_pimpl.C: move bogus scrolling logic
10100           to xforms
10101
10102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * lyxfunc.C:
10105         * BufferView_pimpl.C: view->resize() change
10106
10107 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10108
10109         * BufferView_pimpl.C: topCursorVisible
10110           prototype change
10111
10112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * Makefile.am:
10115         * lyx_gui.h:
10116         * lyx_gui.C: move to frontends/
10117
10118         * main.C:
10119         * lyx_main.h:
10120         * lyx_main.C: changes from above
10121
10122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * intl.C:
10125         * intl.h:
10126         * kbmap.C:
10127         * kbsequence.C:
10128         * lyx_cb.C:
10129         * lyx_main.C: minor tidy
10130
10131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * BufferView_pimpl.h:
10134         * BufferView_pimpl.C:
10135         * BufferView.h:
10136         * BufferView.C: make painter() const,
10137           remove dead code
10138
10139         * BufferView2.C: use screen() accessor
10140
10141         * lyx_main.h:
10142         * lyx_main.C: some minor cleanup
10143
10144 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * BufferView_pimpl.h:
10147         * BufferView_pimpl.C: remove enter/leaveView,
10148           use workHeight()
10149
10150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * BufferView.h:
10153         * BufferView.C:
10154         * BufferView2.C:
10155         * BufferView_pimpl.h:
10156         * BufferView_pimpl.C: only construct screen once,
10157           rename
10158
10159         * lyxrc.C: remove pointless comment
10160
10161 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * BufferView.h:
10164         * BufferView.C: remove active() and belowMouse()
10165
10166         * BufferView_pimpl.h:
10167         * BufferView_pimpl.C: use workarea() not workarea_,
10168           and make it use a scoped_ptr instead
10169
10170 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * lyx_gui.C: add debug message on BadWindow
10173
10174 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10175
10176         * sp_spell.C: fdopen is not part of the C++ standard.
10177
10178         * paragraph.C (InsetIterator): use >= instead of ==
10179
10180 2002-06-07  Angus Leeming  <leeming@lyx.org>
10181
10182         Fixes needed to compile with Compaq cxx 6.5.
10183         * BufferView_pimpl.C:
10184         * DepTable.C:
10185         * buffer.C:
10186         * converter.C:
10187         * encoding.C:
10188         * lyx_gui.C:
10189         * lyx_main.C:
10190         * lyxtextclasslist.C:
10191         * minibuffer.C:
10192         * sp_spell.C:
10193         * tabular_funcs.C:
10194         * vc-backend.C:
10195         all c-library variables have been moved into namespace std. Wrap
10196         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10197
10198         * lyxlength.C:
10199         * tabular-old.C:
10200         * tabular.C:
10201         Add a using std::abs declaration.
10202
10203         * kbmap.h (modifier_pair):
10204         * paragraph.h (InsetTable, InsetList):
10205         * lyxfont.h (FontBits):
10206         type definition made public.
10207
10208         * bufferlist.C (emergencyWriteAll): the compiler complains that
10209         there is more than one possible lyx::class_fun template to choose from.
10210         I re-named the void specialisation as lyx::void_class_fun.
10211
10212         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10213
10214         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10215         the compiler is is unable to find tostr in write_attribute.
10216
10217 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * buffer.C (sgmlError): hide #warning
10220
10221 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * xtl/*: get rid of xtl, which is not in use anyway
10224
10225         * LyXAction.C (init):
10226         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10227         were unimplemented xtl experimentation
10228
10229 2002-06-04  André Pönitz <poenitz@gmx.net>
10230
10231         * lyxfunc.C: disable array operation on simple formulae
10232
10233 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * converter.C: constify a bit
10236
10237 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * lyx_gui.C: check xforms version correctly
10240
10241 2002-04-30  Herbert Voss  <voss@lyx.org>
10242
10243         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10244         "keep" option
10245
10246 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10249           attempt to register it with a VCS)
10250
10251 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * lyx_main.C (init): honor variables LYX_DIR_13x and
10254         LYX_USERDIR_13x
10255
10256 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * buffer.h:
10259         * buffer.C:
10260         * lyx_main.C: fix a crash on bad command line,
10261           and give a useful exit status on error
10262
10263         * lyxfunc.C (doImport): allow -i lyx to work
10264
10265 2002-03-30  André Pönitz <poenitz@gmx.net>
10266
10267         * lyxfunc.C: mathed font changes
10268
10269 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10270
10271         * LaTeX.C:
10272         * importer.h:
10273         * importer.C:
10274         * lyx_sty.h:
10275         * lyx_sty.C:
10276         * lyxlex.C:
10277         * lyxrow.h:
10278         * lyxtext.h:
10279         * paragraph.h:
10280         * paragraph.C:
10281         * texrow.h:
10282         * texrow.C:
10283         * text.C:
10284         * trans_mgr.h: srcdocs, and some minor cleanups
10285
10286 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10289         call getFont all the time)
10290
10291 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * switch from SigC signals to boost::signals
10294
10295 2002-05-29  André Pönitz <poenitz@gmx.net>
10296
10297         * paragraph_pimpl.C (getChar): don't call size() too often...
10298
10299 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * paragraph_pimpl.C (insertChar): do not try to update tables when
10302         appending (pos == size())
10303
10304         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10305         in order to reduce drastically the number of comparisons needed to
10306         parse a large document
10307
10308 2002-05-29  André Pönitz <poenitz@gmx.net>
10309
10310         * text.C:
10311         * text2.C:
10312         * lyxtextclass.C:
10313         * sp_pspell.h:
10314         * textclasslist.[Ch]:
10315         * sp_ispell.h: whitespace change
10316
10317 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10320         lyxaction directly now.
10321
10322 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * trans.C:
10325         * lyxfont.C:
10326         * lyxvc.C: remove unused headers
10327
10328 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * Makefile.am:
10331         * buffer.h:
10332         * undostack.h:
10333         * undostack.C:
10334         * undo_funcs.h:
10335         * undo_funcs.C: some cleanups. Use shared_ptr
10336           and a template for the undo stacks.
10337
10338 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10339
10340         * BufferView_pimpl.h:
10341         * BufferView_pimpl.C:
10342         * kbmap.h:
10343         * kbmap.C:
10344         * kbsequence.h:
10345         * kbsequence.C:
10346         * lyxfunc.h:
10347         * lyxfunc.C:
10348         * text2.C: use key_state/mouse_state
10349
10350 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10353         and LSubstring
10354
10355         * chset.C: change include order
10356         (loadFile): use boost regex and get rid of LRegex and LSubstring
10357
10358         * Makefile.am (BOOST_LIBS): new variable
10359         (lyx_LDADD): use it
10360
10361         * LaTeX.C: change include order.
10362         (scanAuxFile): use boost regex and get rid of LRegex and
10363         LSubstring
10364         (deplog): ditto
10365
10366 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * ColorHandler.h:
10369         * ColorHandler.C:
10370         * FontInfo.h:
10371         * FontInfo.C: moved to frontends/xforms/
10372
10373         * FontLoader.h:
10374         * FontLoader.C: moved into frontends for GUIIzation
10375
10376         * Makefile.am:
10377         * lyx_gui.C:
10378         * lyxfont.C:
10379         * lyxfunc.C: changes from above
10380
10381 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * LColor.C: remove spurious X include
10384
10385         * BufferView_pimpl.C:
10386         * Makefile.am:
10387         * font.h:
10388         * font.C:
10389         * text.C:
10390         * text2.C: move font metrics to frontends/
10391
10392 2002-05-24  Juergen Vigna  <jug@sad.it>
10393
10394         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10395         setting the undo_cursor.
10396
10397         * ParagraphParameters.h: include local includes first.
10398
10399 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * BufferView_pimpl.C:
10402         * BufferView_pimpl.h:
10403         * Makefile.am:
10404         * WorkArea.h:
10405         * WorkArea.C:
10406         * screen.C: move WorkArea into frontends/
10407
10408         * lyxscreen.h:
10409         * screen.C:
10410         * text.C:
10411         * BufferView.C:
10412         * BufferView2.C: move LyXScreen into frontends/
10413
10414         * lyxlookup.h:
10415         * lyxlookup.C:
10416         * lyx_gui.C: move lyxlookup into frontends/xforms/
10417
10418 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * BufferView2.C:
10421         * BufferView_pimpl.C:
10422         * FontLoader.C:
10423         * LyXView.h:
10424         * LyXView.C:
10425         * Makefile.am:
10426         * WorkArea.C:
10427         * XFormsView.h:
10428         * XFormsView.C:
10429         * buffer.C:
10430         * bufferlist.C:
10431         * bufferview_funcs.C:
10432         * converter.C:
10433         * importer.C:
10434         * lyx_cb.C:
10435         * lyx_gui.C:
10436         * lyx_main.C:
10437         * lyx_find.C:
10438         * lyxfunc.C:
10439         * lyxvc.C:
10440         * minibuffer.C:
10441         * text.C:
10442         * text2.C:
10443         * trans.C:
10444         * vc-backend.C: move LyX/XFormsView into frontends/
10445
10446 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * Makefile.am:
10449         * PainterBase.C:
10450         * PainterBase.h:
10451         * Painter.C:
10452         * Painter.h:
10453         * WorkArea.C:
10454         * WorkArea.h:
10455         * screen.C:
10456         * tabular.C:
10457         * text.C:
10458         * text2.C: move Painter to frontends/
10459
10460 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10461
10462         * buffer.C: comment out some some code that depend upon lyx_format
10463         < 220
10464
10465         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10466         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10467
10468         * buffer.h (NO_COMPABILITY): turn off compability
10469
10470         * ColorHandler.C: include scoped_array.hpp
10471
10472         * font.C: Use more specific smart_ptr header.
10473         * Painter.C: ditto
10474         * gettext.C: ditto
10475         * ShareContainer.h: ditto
10476         * lyx_main.h: ditto
10477         * kbmap.h: ditto
10478         * FontInfo.h: ditto
10479         * BufferView_pimpl.h: ditto
10480         * ColorHandler.h: ditto
10481
10482         * kbmap.C (defkey): change call to shared_ptr::reset
10483
10484 2002-05-21  Juergen Vigna  <jug@sad.it>
10485
10486         * buffer.C (insertErtContents): fix to insert ert asis if it is
10487         non empty. Skip it completely if it contains only whitespaces.
10488
10489 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * BufferView_pimpl.C:
10492         * BufferView2.C: clear selection on paste (bug 393)
10493
10494 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * DepTable.C: include ctime
10497
10498 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10501
10502 2002-05-14  Juergen Vigna  <jug@sad.it>
10503
10504         * text.C (breakParagraph): fixed function to honor the keepempty
10505         layout in the right maner and also to permit the right breaking
10506         algorithm on empty or non empyt keepempty paragraphs.
10507
10508         * paragraph.C (breakParagraph): we have to check also if the par
10509         is really empty (!size()) for isempty otherwise we do the wrong
10510         paragraph break.
10511
10512 2002-05-10  Juergen Vigna  <jug@sad.it>
10513
10514         * buffer.[Ch] : The following are only changes to the ert
10515         compatibility read reading old LaTeX layout and font stuff and
10516         convert it to ERTInsets.
10517
10518         * buffer.h: added isErtInset().
10519
10520         * buffer.C (struct ErtComp): add a fromlayout bool to check
10521         if we're inside a LaTeX layout.
10522         (isErtInset): new helper function.
10523         (insertErtContents): look for other ert insets before this one
10524         and insert the contents there, so that we don't have subsequent
10525         ERT insets with nothing between them. This way we create only one
10526         inset with multiple paragraphs. Also check if we don't insert only
10527         spaces ' ' as they are ignored anyway afterwards in the .tex file
10528         so if we have only spaces we will ignore this latex part in the
10529         new file.
10530         (parseSingleLyXformat2Token \\layout): better compatibility when
10531         reading layout-latex stuff.
10532         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10533         language tag.
10534         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10535         stuff after reading the inset only get the information back from
10536         the stack.
10537
10538 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10539
10540         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10541
10542         * LaTeXFeatures.C (getBabelOptions): New method.
10543
10544 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * BufferView_pimpl.C (Dispatch): work around missing argument for
10547         'layout'
10548
10549 2002-05-08  Juergen Vigna  <jug@sad.it>
10550
10551         * text.C (leftMargin): handle paragraph leftindent.
10552
10553         * paragraph.C (writeFile): write the new \\leftindent tag.
10554         (validate): handle leftindent code.
10555         (TeXEnvironment): handle paragraphleftindent code again.
10556
10557         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10558
10559         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10560         for paragrap_extra indent code and new token \\leftindent.
10561         (latexParagraphs): handle the leftindent as environment.
10562
10563         * ParameterStruct.h: added leftindent support.
10564
10565         * ParagraphParameters.C (leftIndent): added support functions for
10566         the paragraph left indent.
10567
10568         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10569         more appropriate.
10570
10571 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10574         inside insetERT.
10575
10576         * text.C (computeBidiTables): No bidi in insetERT.
10577
10578         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10579         in RTL documents.
10580
10581 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10582
10583         * version.C.in: pre 5
10584
10585 2002-05-02  José Matos  <jamatos@fep.up.pt>
10586         * buffer.C (makeDocBookFile): white space changes, add newline to
10587         command styles.
10588         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10589
10590         * tabular.C (docBook): fix typo.
10591
10592 2002-05-03  Juergen Vigna  <jug@sad.it>
10593
10594         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10595         change in LyXText as we can not be sure it was not freed.
10596         (drawOneRow): remove unused code.
10597
10598         * text.C (drawInset): redo the calculation of the need_break_row as
10599         it could have a row which was already freed.
10600         (draw): look at the return value of drawInset and return false if
10601         it also returned false.
10602         (paintRowText): look at the return value of draw and return false if
10603         it also returned false.
10604
10605         * lyxtext.h: added bool return type to drawInset() and draw() so that
10606         if we have a change in the row so that the rowbreak has to be redone
10607         we abort drawing as it will be called again.
10608
10609 2002-05-02  Juergen Vigna  <jug@sad.it>
10610
10611         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10612         a change in the maintext also if we're inside an inset.
10613         (Dispatch): set the cursor again after a break line and after the
10614         screen has been updated as it could be we're in a different row.
10615
10616         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10617         to set the cursor behind the pargraph with > size().
10618         (setCursor): check also for the same paragraph when checking where
10619         to put the cursor if we have a NFR inset.
10620
10621         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10622         parts of layout read further up as it still was in the wrong
10623         position.
10624
10625 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * screen.C (drawFromTo): change sine fullRebreak always return
10628         true.
10629
10630         * buffer.C (parseSingleLyXformat2Token): reindent some
10631
10632         * BufferView_pimpl.C (update): change since fullRebreak always
10633         return true.
10634         (Dispatch): git rid of the last hardcoded "Standard"s.
10635
10636 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10637
10638         * text2.[Ch] (fullRebreak): make it return void now that we always
10639         returned true.
10640
10641 2002-04-30  Juergen Vigna  <jug@sad.it>
10642
10643         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10644         ert compatibility check for "latex" layout.
10645
10646 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10649         minipages: use col% instead of p%, and also use the current font.
10650         (makeLaTeXFile): Fix use babel condition.
10651         (parseSingleLyXformat2Token): Correct font when reading old floats.
10652
10653 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10654
10655         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10656         inserting list of floats.
10657
10658 2002-04-25  Herbert Voss  <voss@lyx.org>
10659
10660         * MenuBackend.C (expand): don't add the graphics extensions to the
10661         export menu
10662
10663 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10666         non-existing layout, do not complain if it was the default layout
10667         of the original class (bug #342)
10668
10669 2002-04-24  Juergen Vigna  <jug@sad.it>
10670
10671         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10672         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10673
10674 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * buffer.C (getBibkeyList): If using \bibliography, return the
10677         option field with the reference itself. Enables us to provide natbib
10678         support when using \bibliography.
10679
10680 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10681
10682         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10683
10684         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10685         natbib is provided by the LaTeX class.
10686
10687 2002-04-23  Juergen Vigna  <jug@sad.it>
10688
10689         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10690         Wakeup functions.
10691
10692         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10693
10694 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10697
10698         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10699         ensuremath around textordmasculine, textordfeminine and
10700         textdegree.
10701
10702 2002-04-19  Juergen Vigna  <jug@sad.it>
10703
10704         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10705         reinitializing the buffer otherwise row-dimensions may be wrong.
10706         (update): reset also the selection cursors if they do exits otherwise
10707         their x/y positions may be wrong.
10708
10709         * text2.C (cursorDown): don't enter the inset if we came from a row
10710         above and are one row over the inset.
10711
10712         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10713         really leaving an inset.
10714
10715 2002-04-18  Juergen Vigna  <jug@sad.it>
10716
10717         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10718         of the selected paragraph does not have the selected layout also if
10719         the last one had!
10720
10721         * text2.C (setLayout): fixed bug which did not change last selected
10722         paragraph.
10723
10724         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10725         changed the read and substituted \\end_float with \\end_inset!
10726
10727         * BufferView_pimpl.C (cursorPrevious):
10728         (cursorNext): fixed to make it work with rows heigher than the work
10729         area without moving the cursor only the draw of the row.
10730         (workAreaMotionNotify): fix jumping over high rows.
10731
10732 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10735         Ressler.
10736
10737 2002-04-16  Juergen Vigna  <jug@sad.it>
10738
10739         * text2.C (setCursor): set also the irow().
10740         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10741         (cursorUp):
10742         (cursorDown): support for locking an inset if the x_fix value goes
10743         inside it. That way I can transverse insets too with cursor up/down.
10744
10745         * lyxrow.h: added irow helper function same as other (i) functions.
10746
10747         * BufferView_pimpl.C (cursorPrevious):
10748         (cursorNext): fixed for insets!
10749
10750 2002-04-15  Juergen Vigna  <jug@sad.it>
10751
10752         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10753         position otherwise it is wrong in some cases.
10754
10755         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10756         inside the inset before the call.
10757
10758 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10759
10760         * buffer.[Ch] (getBibkeyList): make it const.
10761
10762 2002-04-12  Juergen Vigna  <jug@sad.it>
10763
10764         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10765
10766         * text2.C (getCursorX): new helper function
10767         (setCursor): compute also ix_
10768         (setCursorFromCoordinates): set also ix.
10769
10770         * lyxcursor.h: added ix_ and helper functions.
10771
10772         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10773
10774         * buffer.C (insertStringAsLines): dont break paragraph if the this
10775         paragraph is inside an inset which does not permit it!
10776
10777         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10778         also with no chars on this paragraph.
10779         (paintRowText): only paint stuff if it's inside the workarea!
10780
10781         * paragraph.C (breakParagraph): honor keepempty flag and break the
10782         paragraph always below not above.
10783
10784         * BufferView2.C (unlockInset): update the paragraph layout on inset
10785         unlock as we changed paragraph in such a case.
10786
10787         * lyxfind.C (LyXFind): clear the former selection if not found!
10788
10789         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10790         again called in insertChar().
10791
10792         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10793         an inset which uses the whole row!
10794         (rightMargin): ditto.
10795         (insertChar): force a rebreak if we inserted an inset!
10796
10797 2002-03-28  Herbert Voss  <voss@lyx.org>
10798
10799         * lyxlength.[Ch]: add inBP() to get the right PS-point
10800         units (BigPoint). With inPixels we have rounding errors
10801
10802 2002-04-11  Juergen Vigna  <jug@sad.it>
10803
10804         * text2.C (setCursorFromCoordinates): set iy to the right value.
10805         (setCursor): add check if row->previous exists!
10806
10807         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10808         an old float_type as this was the case in the old code!
10809
10810         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10811
10812         * BufferView2.C (showLockedInsetCursor): use iy
10813         (fitLockedInsetCursor): ditto
10814
10815         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10816         locked insets as there we have the right value now.
10817
10818         * lyxcursor.C: added iy_ variable and iy functions to set to the
10819         baseline of cursor-y of the locked inset.
10820
10821         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10822         (setCursor): fixed for insets which need a full row.
10823
10824         * text.C (rowLastPrintable): don't ignore the last space when before
10825         an inset which needs a full row.
10826         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10827         as last character of a row when before a inset which needs a full row.
10828
10829 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10830
10831         * version.C.in: update date
10832
10833         * text2.C (fullRebreak): try to always return true and see what
10834         happens...
10835
10836 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * MenuBackend.C (expand): use Floating::listName
10839
10840         * FloatList.C (FloatList): add listName argument to the built-in
10841         floats
10842
10843         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10844         text associated with the float.
10845
10846 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10849
10850 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * ShareContainer.h: add a couple of missing typenames.
10853
10854 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10855
10856         * lyxrc.C (getDescription): use _() correctly rather than N_().
10857
10858 2002-03-28  Herbert Voss  <voss@lyx.org>
10859
10860         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10861         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10862
10863 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10866         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10867
10868 2002-03-29  Juergen Vigna  <jug@sad.it>
10869
10870         * lyxfunc.C (dispatch): add a missing fitCursor call.
10871
10872         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10873         it was scrolled by a cursor move, so return the bool status.
10874
10875         * BufferView.C (fitCursor): return the bool flag also to the outside
10876         world as this is needed.
10877
10878         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10879
10880         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10881         call the edit() as it is not needed (and wrong) IMO.
10882         (workAreaButtonPress): set the screen_first variable before evt.
10883         unlock the inset as this may change screen_first and then we have
10884         a wrong y position for the click!
10885
10886 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10887
10888         * MenuBackend.C (expand): another translation that I missed
10889
10890 2002-03-28  Juergen Vigna  <jug@sad.it>
10891
10892         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10893
10894         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10895
10896 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10897
10898         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10899
10900         * MenuBackend.C (expand): fix export/view/update when there is no
10901         document open.
10902
10903 2002-03-27  Herbert Voss  <voss@lyx.org>
10904
10905         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10906         and text%
10907
10908 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * bufferview_funcs.C (currentState): only show paragraph number
10911         for is DEVEL_VERSION is set.
10912
10913         * lyxfunc.C (dispatch): put warning in INFO channel
10914
10915         * MenuBackend.C (expand): translate the name of floats
10916
10917         * FloatList.C (FloatList): mark the float names for translation
10918
10919         * converter.C (convert): use LibScriptSearch
10920
10921 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10922
10923         * MenuBackend.C (defaults): fix default menu (we might as well get
10924         rid of it...)
10925
10926 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10927
10928         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10929         directory.
10930
10931 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * lyxvc.C: reorder includes.
10934
10935 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10938           properly
10939
10940 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * CutAndPaste.C: change layouts earlier on paste
10943           to avoid crashing when calling getFont()
10944
10945 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10948         irritating #error.
10949
10950 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * WorkArea.C: remove 'Pending' debug message.
10953
10954         * most files: ws cleanup
10955
10956         * buffer.[Ch]: ws changes
10957
10958         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10959
10960 2002-03-21  Juergen Vigna  <jug@sad.it>
10961
10962         * tabular.C (SetMultiColumn): collapse also the contents of the
10963         cells and set the last border right. Added a Buffer const * param.
10964
10965 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10968         linking or not.
10969
10970 2002-03-19  Juergen Vigna  <jug@sad.it>
10971
10972         * text2.C (clearSelection): reset also xsel_cache.
10973
10974         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10975         where it needs to be called (John tells us to do so too :)
10976         (selectionLost): reset sel_cache.
10977
10978         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10979
10980 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10981
10982         * text2.C (setCursorIntern): put debuging code in INSETS channel
10983
10984 2002-03-19  André Pönitz <poenitz@gmx.net>
10985
10986         * lyxfunc.C: tiny whitespace change
10987
10988 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10989
10990         * ToolbarDefaults.C (init):
10991         * LyXAction.C (init):
10992         * commandtags.h:
10993         * BufferView_pimpl.C (Dispatch):
10994         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10995
10996 2002-03-19  Allan Rae  <rae@lyx.org>
10997
10998         * exporter.C (Export): removeAutoInsets before doing anything else.
10999         While I've just introduced a dependency on BufferView this really is
11000         the best place to clean the buffer otherwise you need to cleanup in
11001         a dozen places before calling export or cleanup in a dozen functions
11002         that export calls.
11003
11004         * converter.C (runLaTeX):
11005         (scanLog): Better handling of removeAutoInsets and screen updates.
11006
11007         * lyxfunc.C (dispatch): small whitespace changes
11008
11009 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * WorkArea.C (C_WorkAreaEvent): return a value.
11012         (event_cb): return 1 if we handled the event, 0 otherwise.
11013
11014         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11015
11016 2002-03-18  Juergen Vigna  <jug@sad.it>
11017
11018         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11019         (GetAdditionalWidth): ditto.
11020         (RightLine): ditto.
11021         (LeftLine): ditto.
11022
11023         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11024         inset if we're there actually (probably not used right now but this
11025         is the direction to go for unifying code).
11026         (paste): disable code to clear the selection.
11027
11028         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11029         inside an InsetText and move the check further up as it is in the
11030         wrong place.
11031
11032         * text2.C (pasteSelection): set a selection over the pasted text.
11033
11034 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11035
11036         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11037         and libgraphics to build on Cygwin.
11038
11039 2002-03-15  Juergen Vigna  <jug@sad.it>
11040
11041         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11042         inserting an Inset into the paragraph. I know this is not the best
11043         fix but we already use current_view in CutAndPaste so we will remove
11044         all of it's using at the same time.
11045
11046         * buffer.C (sgmlError): deactivated function till it is rewritten in
11047         the right mode, now it can create problems.
11048
11049         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11050         before accessing it.
11051
11052 2002-03-14  Juergen Vigna  <jug@sad.it>
11053
11054         * undo_funcs.C (textHandleUndo): do the right thing when updating
11055         the inset after the undo/redo.
11056
11057         * text2.C (setCursor): just some testcode for #44 not ready yet.
11058
11059         * undo_funcs.C (textHandleUndo): set the next() and previous()
11060         pointers of the paragraph to 0 before deleting otherwise we have
11061         problems with the Paragraph::[destructor].
11062
11063         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11064         on a paragraph insertion.
11065
11066 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * buffer.C (asciiParagraph): use += operator for char append to
11069         string.
11070
11071         * paragraph.C (getFontSettings): compare >= not just >
11072         (highestFontInRange): ditto
11073         (setFont): ditto
11074
11075 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11076
11077         * paragraph.C: change several algorithm to be more appripriate for
11078         the problem domain. This is lookip in FontList and in the InsetList.
11079
11080 2002-03-13  André Pönitz <poenitz@gmx.net>
11081
11082         * commandtags.h:
11083         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11084
11085 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * commandtags.h:
11088         * LyXAction.C:
11089         * lyxfunc.C:
11090         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11091
11092 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * Painter.C (display): anon helper function, adjust code for this
11095         change.
11096         (pixmap): remove function.
11097
11098         * Painter.h: remove private display variable.
11099
11100         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11101
11102 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11103
11104         * WorkArea.[Ch]: remove figinset_canvas cruft.
11105
11106 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11107
11108         * lyxtextclass.C (operator): add one item cache optimization.
11109
11110         * bufferlist.h: doxy changes
11111
11112         * bufferlist.C: ws changes
11113
11114         * DepTable.[Ch] (ext_exist): place const in the right spot.
11115
11116         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11117         call resizeInsets.
11118         (workAreaExpose): call resizeInsets when the with BufferView changes.
11119         (Dispatch): adjust for protectedBlank removal
11120         (specialChar): call updateInset if the insert went ok.
11121
11122         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11123         specialChar instead.
11124
11125         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11126
11127         * BufferView.h: doxy change
11128
11129         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11130
11131         * lyxtextclass.C (operator[]): remove non-const version
11132         (defaultLayout): remove non-const version
11133
11134 2002-03-12  Juergen Vigna  <jug@sad.it>
11135
11136         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11137         did resize the LyXText too.
11138
11139         * buffer.C (readLyXformat2): set layout information on newly allocated
11140         paragraphs.
11141
11142         * tabular.C (OldFormatRead): set layout information on the paragraph.
11143
11144 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11145
11146         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11147
11148 2002-03-11  Juergen Vigna  <jug@sad.it>
11149
11150         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11151         plainly wrong.
11152         (resizeCurrentBuffer): force also the insets to resize themselfes.
11153         (moveCursorUpdate): fixed up for InsetText.
11154
11155 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11156
11157         * commandtags.h:
11158         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11159         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11160         value of Dialogs::tooltipsEnabled().
11161         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11162
11163 2002-03-08  Juergen Vigna  <jug@sad.it>
11164
11165         * BufferView_pimpl.C (updateInset): update inset inside inset also
11166         if it isn't inside theLockingInset().
11167
11168 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * buffer.C (asciiParagraph): redo some of the word and line length
11171         handling.
11172         (getLists): look for Caption instead of caption.
11173
11174 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * buffer.C (Buffer): initialize niceFile to true
11177         (makeLaTeXFile):
11178         (makeLinuxDocFile):
11179         (makeDocBookFile): make sure niceFile is true on exit
11180
11181 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11182
11183         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11184
11185 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * LyXSendto.C: remove.
11188         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11189         * lyx_gui.C: remove now-redundant comment.
11190         * ColorHandler.h: remove forward declaration of class WorkArea.
11191         * lyxfunc.C: remove #include "WorkArea.h".
11192
11193 2002-03-07  Juergen Vigna  <jug@sad.it>
11194
11195         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11196         got moved away with the DEPM and also set the inset_owner always
11197         right which before could have been omitted.
11198
11199 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11202         wanted layout is not found.
11203
11204 2002-03-07  Juergen Vigna  <jug@sad.it>
11205
11206         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11207
11208 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * paragraph.C (breakParagraph): use default layout not layout of
11211         prev paragraph.
11212         (Paragraph): clear ParagraphParameters.
11213
11214 2002-03-06  Juergen Vigna  <jug@sad.it>
11215
11216         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11217         otherwise it would not be a valid lenght. Fixed a special case in
11218         the minipage compatibility read where we end the document with a
11219         minipage.
11220
11221         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11222         was set as it could be 0 for InsetTexts first entry.
11223
11224 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * paragraph.C (writeFile): if layout is empty write out
11227         defaultLayoutName().
11228
11229         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11230         file without named layout we set layout to defaultLayoutName().
11231
11232 2002-03-06  Juergen Vigna  <jug@sad.it>
11233
11234         * CutAndPaste.C (copySelection): set layout for new paragraph.
11235
11236         * text.C (prepareToPrint): leave ERT inset left aligned
11237         (leftMargin): don't indent paragraphs inside ERT insets
11238
11239 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * paragraph.C (breakParagraph): dont call clear do the work manually
11242
11243         * paragraph.[Ch] (clear): remove function
11244
11245 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * paragraph.C (Paragraph): dont call clear, the work has already
11248         been done.
11249
11250         * lyxtextclass.C (operator): assert if n is empty
11251
11252         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11253         work manually instead.
11254
11255 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * BufferView_pimpl.C: protect selectionLost against text == 0
11258
11259 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * text.C (breakParagraph): fix a setting layout to '0' problem.
11262
11263 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11264
11265         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11266         final location of file, for the included files, and graphics.
11267
11268 2002-03-05  Juergen Vigna  <jug@sad.it>
11269
11270         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11271
11272 2002-03-04  Juergen Vigna  <jug@sad.it>
11273
11274         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11275
11276         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11277         last column of multicolumn cells.
11278         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11279
11280 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11281
11282         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11283         file if it doesn't go to a temporary file.
11284
11285         * buffer.C (sgmlOpenTag):
11286         (sgmlCloseTag):  remove extra newline insertion.
11287
11288 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * text.C (getRowNearY): comment out debug msg
11291
11292 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * text2.C: first -> first_y
11295
11296         * text.C (getRowNearY): add some attemts at a possible
11297         optimization, not working.
11298
11299         * tabular.[Ch]: add BufferParams to several function so that newly
11300         created paragraph can be initialized to he default layotu for the
11301         buffers textclass.
11302
11303         * tabular-old.C (ReadOld): add buf->params to call of Init
11304
11305         * screen.C: rename text->first to text->first_y
11306
11307         * paragraph.C (breakParagraph): always set layout in the broken
11308         paragraph
11309
11310         * lyxtextclass.C (Read): remove lowercase
11311         (hasLayout): ditto
11312         (operator): ditto
11313         (delete_layout): ditto
11314
11315         * lyxtext.h: rename first -> first_y
11316
11317         * lyxlayout.C (Read): remove lowercase
11318         (name): ditto
11319         (setName): ditto
11320         (obsoleted_by): ditto
11321
11322         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11323
11324         * buffer.C (insertErtContents): add params are to InsetERT
11325         (parseSingleLyXformat2Token): add code to check if a paragraphs
11326         layout really exist.
11327         (parseSingleLyXformat2Token): add params to several inset
11328         constructors
11329         (asciiParagraph): remove lowercase, do the layout comparisons with
11330         no_case
11331
11332         * BufferView_pimpl.C (cursorNext): first -> first_y
11333         (resizeCurrentBuffer): first -> first_y
11334         (updateScrollbar): first -> first_y
11335         (scrollCB): first -> first_y
11336         (workAreaMotionNotify): first -> first_y
11337         (workAreaButtonPress): first -> first_y
11338         (checkInsetHit): first -> first_y
11339         (cursorPrevious): first -> first_y
11340         (cursorNext): first -> first_y
11341         (Dispatch): add buffer_->params to severl inset contructors
11342
11343 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * lyxlayout.C (Read): remove some debug info that I forgot.
11346
11347         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11348         clean up the code slightly.
11349         (makeLinuxDocFile): ditto
11350         (makeDocBookFile): ditto
11351
11352         * text2.C: layout as string
11353
11354         * text.C: layout as string
11355
11356         * paragraph_pimpl.C: layout as string
11357
11358         * paragraph.[Ch]: layout as string
11359
11360         * lyxtextclasslist.[Ch]: layout as string
11361
11362         * lyxtextclass.[Ch]: layout as string
11363
11364         * lyxtext.h: layout as string
11365
11366         * lyxlayout.[Ch]: layout as string
11367
11368         * lyx_cb.C: layout as string
11369
11370         * bufferview_funcs.C: layout as string
11371
11372         * bufferparams.C: layout as string
11373
11374         * buffer.C: layout as string
11375
11376         * LyXView.[Ch]: layout as string
11377
11378         * LaTeXFeatures.[Ch]: layout as string
11379
11380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11381
11382         * BufferView_pimpl.C: change current_layout to string, remove
11383         lyx::layout_type.
11384         (Dispatch):
11385         (smartQuote):
11386         (insertInset):
11387         (workAreaButtonRelease): layout as string
11388
11389         * BufferView2.C (unlockInset): adjust
11390
11391         * vspace.C (asLatexCommand): use an explict temp variable.
11392
11393 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * Makefile.am: use FRONTEND_*
11396
11397 2002-03-01  Juergen Vigna  <jug@sad.it>
11398
11399         * tabular.C (SetWidthOfMulticolCell): changed to something better
11400         I hope but still work in progress.
11401         (recalculateMulticolumnsOfColumn): renamed function from
11402         recalculateMulticolCells as it is more appropriate now.
11403         (SetWidthOfCell): calculate multicols better.
11404
11405 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11406
11407         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11408
11409         * lyxfunc.C (processKeySym): print sequence also if it is
11410         `deleted' (complete)
11411
11412         * kbsequence.C (print): print sequence even if it is deleted
11413         (complete would be a better word, actually).
11414
11415         * lyxfunc.C (dispatch): print complete options after a prefix key
11416
11417         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11418
11419 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11420
11421         * text2.C (setCharFont): eliminate setCharFont code duplication.
11422
11423 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11426         LFUN_TABULAR_FEATURE (bug #177)
11427
11428 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11429
11430         * Makefile.am: remove figure.h
11431
11432 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11433
11434         * Bufferview_pimpl.C:
11435         * CutAndPasteC:
11436         * LaTeX.C:
11437         * LyXSendto.C:
11438         * buffer.C:
11439         * bufferlist.C:
11440         * converter.C:
11441         * language.C:
11442         * lyxfunc.C:
11443         * lyxvc.C:
11444         * paragraph.C:
11445         * text.C:
11446         * text2.C: remove #include "lyx_gui_misc.h".
11447
11448         * LaTeX.C: added #include <cstdio>
11449
11450 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11453         that the paragraph following this one can have.
11454
11455         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11456
11457         * vspace.C (asLatexCommand): fix bogus gcc warning
11458
11459         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11460
11461 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11462
11463         * text2.C (setLayout): get rid of redundant code
11464
11465 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11466
11467         * text2.C (incDepth): make sure depth cannot be increased beyond
11468         reasonable values.
11469
11470 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11473         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11474
11475         * PainterBase.h (image):
11476         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11477         a LyXImage const *.
11478
11479 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * BufferView.C:
11482         * BufferView.h:
11483         * BufferView_pimpl.C:
11484         * BufferView_pimpl.h:
11485         * LaTeXFeatures.C:
11486         * LyXAction.C:
11487         * LyXView.C:
11488         * Makefile.am:
11489         * UpdateList.h:
11490         * UpdateList.C:
11491         * buffer.C:
11492         * figure.h:
11493         * figureForm.C:
11494         * figureForm.h:
11495         * figure_form.C:
11496         * figure_form.h:
11497         * lyx_cb.C:
11498         * lyx_gui.C:
11499         * lyx_gui_misc.C:
11500         * lyxfunc.C:
11501         * sp_base.h:
11502         * sp_ispell.h:
11503         * sp_pspell.h:
11504         * sp_spell.C: remove fig inset, and the crap house of
11505           cards that follows it
11506
11507 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * Makefile.am:
11510         * lyxserver.C:
11511         * os2_defines.h:
11512         * os2_errortable.h:
11513         * nt_defines.h: move .h into support/
11514
11515         * vms_defines.h: remove
11516
11517         * WorkArea.C: add space in debug output
11518
11519         * text2.C:
11520         * paragraph.C:
11521         * buffer.C: add WITH_WARNINGS
11522
11523         * vc-backend.h:
11524         * vc-backend.C:
11525         * bufferlist.C: s/retrive/retrieve/, add docs
11526
11527         * vspace.h:
11528         * vspace.C:
11529         * kbmap.h:
11530         * lyxlength.h:
11531         * lyxgluelength.h:
11532         * length_common.h:
11533         * chset.h:
11534         * chset.C: add docs
11535
11536         * lyxgui.C: add ID to X error handler
11537
11538         * lyxtestclass.c: fix typo
11539
11540 2002-02-26  Juergen Vigna  <jug@sad.it>
11541
11542         * tabular_funcs.C (write_attribute): changed so that some default
11543         attributes are not written at all.
11544         (getTokenValue): set default values before trying to read the
11545         value so we have the return value always set as default if we don't
11546         find the token we search for.
11547
11548         * tabular.C (Write): write bools as bools not as strings!
11549
11550 2002-02-22  Juergen Vigna  <jug@sad.it>
11551
11552         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11553         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11554
11555         * text.C (leftMargin): don't add an indent for paragraphs inside
11556         tabular cells (fix #208).
11557
11558 2002-02-21  José Matos  <jamatos@fep.up.pt>
11559
11560         * tabular.C (docBook): fixed support for long tables.
11561
11562 2002-02-20  Juergen Vigna  <jug@sad.it>
11563
11564         * text2.C (getFont): get the drawing font of the Inset if this
11565         paragraph is inside an inset (only important for InsetERT for now).
11566
11567         * buffer.C (insertErtContents): use new lanugage params in ERT
11568         constructor.
11569
11570         * CutAndPaste.C: commenting out seemingly uneeded code.
11571
11572 2002-02-19  Allan Rae  <rae@lyx.org>
11573
11574         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11575         Iterators might be simple to use but they also get invalidated.
11576         (removeAutoInsets): renamed saved cursor tracking variables and added
11577         some comments to clarify what everything does.
11578
11579 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11580
11581         * Chktex.C:
11582         * LaTeX.C:
11583         * LyXSendto.C:
11584         * converter.C:
11585         * lyx_cb.C:
11586         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11587         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11588
11589         * lyxfunc.C:
11590         * vc-backend.h: remove #include "support/syscall.h"
11591
11592         * LaTeX.C:
11593         * LyXSendto.C:
11594         * converter.C: rearrange #includes in Lars' approved fashion.
11595
11596         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11597         forward declare class Timeout in the header file.
11598
11599         * XFormsView.C: changes due to the above.
11600
11601         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11602         similar to LyXView.
11603
11604         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11605         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11606
11607 2002-02-18  José Matos  <jamatos@fep.up.pt>
11608
11609         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11610         insets contents.
11611
11612 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11613
11614         * a lot of small ws changes
11615         * add a lot of using std::XXX
11616         * use std construcs some places where approp.
11617         * use some exisint stuff from lyxfunctional where approp.
11618         * Make file changes to use partial linking (lets test this now...)
11619
11620 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11621
11622         * Chktex.C:
11623         * buffer.C:
11624         remove #include "support/syscontr.h" as it's redundant. Always has been.
11625
11626         * Chktex.C:
11627         * LaTeX.C:
11628         * LyXSendto.C:
11629         * converter.C:
11630         * lyx_cb.C:
11631         * vc-backend.C:
11632         change Systemcalls::System to Systemcalls::Wait and
11633         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11634         No change of functionality, just reflects the stripped down Systemcalls
11635         class.
11636
11637 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11638
11639         * debug.[Ch]: add a GRAPHICS type to the enum.
11640
11641 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11642
11643         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11644
11645         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11646         there is an inset.
11647
11648 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11649
11650         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11651         match the changes below.
11652
11653         * text2.C (toggleInset): if there is not editable inset at cursor
11654         position, try to see if cursor is _inside_ a collapsable inset
11655         and close it.
11656
11657 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11660         document menu has a nice checkbox
11661
11662 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11663
11664         * lyxlength.C (asLatexString): change PW to output as percent of
11665         \textwidth.
11666
11667         * lengthcommon.C: change '%' to 't%'
11668
11669         * lyxfunc.C (dispatch): a few comments from Martin
11670
11671 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * WorkArea.h:
11674         * WorkArea.C:
11675         * BufferView_pimpl.h:
11676         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11677           the X selection.
11678
11679 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * vspace.C (inPixels): fix compiler warning
11682
11683 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * lyxfunc.C (getStatus): fix status message for disabled commands.
11686
11687 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * BufferView_pimpl.C: fix crash on close buffer
11690         during selection (#227)
11691
11692 2002-01-27  Herbert Voss  <voss@lyx.org>
11693
11694         * buffer.C: link old Figure to new graphic inset
11695
11696 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11697
11698         * FontLoader.C (getFontinfo): Change the latex font names in order
11699         to match the names of type1inst.
11700
11701 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11702
11703         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11704
11705         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11706         (extchanged): ditto
11707         (ext_exist): ditto
11708         (remove_files_with_extension): ditto
11709         (remove_file): ditto
11710         (write): ditto
11711
11712         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11713         document is smaller than the work area height. Do not initialize
11714         static variables to 0.
11715
11716 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11717
11718         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11719
11720         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11721         LFUN_LAYOUT_PARAGRAPHS.
11722
11723         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11724         tabular. It is possible to provide a possible cell, which will
11725         typically be the actcell from the corresponding insettabular
11726
11727         * lyxfunc.C (getStatus): small cleanup; disable
11728         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11729         true
11730
11731 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11734
11735         * paragraph.C (startTeXParParams):
11736         (endTeXParParams): new methods. The LaTeX code to
11737         start/end paragraph formatting
11738         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11739         empty (fixes bug #200)
11740
11741         * vspace.C (inPixels): adapt to the change below
11742         (inPixels): [later] more cleanups (remove unused variables)
11743
11744         * lyxlength.C (inPixels): change to use a width and a height as
11745         parameter.
11746
11747 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11748
11749         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11750         Replaced with \paperwidth
11751
11752         * DepTable.C (insert): add std:: qualifier
11753
11754 2002-01-18  Allan Rae  <rae@lyx.org>
11755
11756         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11757         updated also?
11758
11759         * text.C (drawInset): Turned out I didn't know enough about how
11760         rebreaking worked.  This fixes most of the redraw problems.  I see
11761         an occasional cursor trail when a line is broken now and the cursor
11762         placement can seem out by a few pixels also after a rebreak.
11763
11764 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11765
11766         * buffer.C (parseSingleLyXformat2Token): update because minipage
11767         width is now a LyXLength
11768
11769         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11770
11771         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11772         math insets
11773
11774 2002-01-17  Juergen Vigna  <jug@sad.it>
11775
11776         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11777
11778         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11779         is set correctly and the inset is updated correctly.
11780
11781 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11782
11783         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11784         the beginning of the loop.
11785
11786 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxrc.C: improve help for use_scalable_fonts
11789
11790 2002-01-17  Allan Rae  <rae@lyx.org>
11791
11792         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11793
11794 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11797         make sure to set their inset_owner to the right value (bug #171)
11798
11799 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11800
11801         * DepTable.h
11802         * DepTable.C: Implement mtime checking to reduce time spent doing
11803         CRCs.
11804
11805 2002-01-16  Juergen Vigna  <jug@sad.it>
11806
11807         * tabular.C (GetAdditionalHeight): one of error fixed.
11808
11809         * lyxrc.C (output): small fix in writing use_pspell.
11810
11811 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11812
11813         * sp_base.h: #include LString.h
11814
11815 2002-01-16  Allan Rae  <rae@lyx.org>
11816
11817         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11818         Can someone check this please?
11819
11820         * text.C (drawInset): It was possible that p.row would be removed by
11821         breakAgainOneRow upsetting a few other settings.  There may be another
11822         small tweak possible by setting need_break_row = 0 when p.row has been
11823         removed but I don't know enough about the logic here.
11824
11825 2002-01-15  Allan Rae  <rae@lyx.org>
11826
11827         * text.C (insertChar): removed conditional truism.
11828
11829         * BufferView2.C (removeAutoInsets): More tweaks.
11830         cur_par_prev could be a stray pointer.  Check for trailing empty line
11831         in case last line was cur_par and only had an error inset on it.
11832
11833 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11836         absolute
11837
11838         * vc-backend.C (most methods):
11839         * exporter.C (Export):
11840         * converter.C (convert):
11841         (runLaTeX):
11842         * LyXSendto.C (SendtoApplyCB):
11843         * lyxfunc.C (dispatch):
11844         (menuNew):
11845         (open):
11846         (doImport):
11847         * lyx_cb.C (AutoSave):
11848         (InsertAsciiFile):
11849         * BufferView_pimpl.C (MenuInsertLyXFile):
11850         * buffer.C (runChktex): use Buffer::filePath().
11851
11852         * buffer.h: rename filename to filename_; rename filepath to
11853         filepath_ and make it private
11854         (filePath): new method
11855
11856         * buffer.C (writeFile): use fileName()
11857         (getLatexName):
11858
11859         * lyx_main.C (init): fix starting  of LyX when the binary is a
11860         link from so,ewhere else.
11861
11862         * minibuffer.C: include <cctype> for isprint
11863
11864 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11867         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11868         name clash with InsetCollapsable's width function.
11869
11870 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * lastfiles.C: include <iterator>
11873
11874 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11875
11876         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11877         std::count.
11878
11879         * buffer.C (makeLaTeXFile): ditto.
11880         Also make loop operation more transparent.
11881
11882 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11883
11884         * ToolbarDefaults.C: remove trailing comma closing namespace.
11885
11886         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11887
11888         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11889         as in WorkArea.
11890
11891         * trans.C (Load): comment out unused variable, allowed.
11892
11893 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * minibuffer.[Ch] (append_char): new method to recieve input from the
11896         drop-down completion browser. If a key was pressed, then recieve this
11897         char and append it to the existing string.
11898         (peek_event): modify the positioning data passed to the completion
11899         browser so that it can be placed above the minibuffer rather than below.
11900 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * LyXAction.C (init): alloe error-next for readonly documents.
11903
11904         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11905         count.
11906
11907 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * bufferlist.C (readFile): create the buffer _after_ checking that
11910         the file exists.
11911
11912         * lyxfunc.C (verboseDispatch): fix handling of arguments
11913
11914         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11915
11916         * lyxrc.C: use string::erase() instead of initializing to "".
11917
11918
11919 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * BufferView_pimpl.h:
11922         * BufferView_pimpl.C:
11923         * WorkArea.h:
11924         * WorkArea.C:
11925         * text2.C: tell X when we have made a selection for copying
11926
11927 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * BufferView_pimpl.C (MenuInsertLyXFile):
11930         * lyxfunc.C (menuNew):
11931         (open):
11932         (doImport): add shortcuts to directory buttons
11933
11934         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11935         open a float)
11936
11937         * lyxfunc.C (setStatusMessage):
11938         (getStatusMessage): new methods
11939         (getStatus):use setStatusMessage instead of setErrorMessage
11940         (dispatch): when function is disabled, set error message here
11941         [instead of in getStatus previously]
11942
11943         * BufferView_pimpl.C (workAreaButtonRelease): update
11944         toolbar/menubar here too.
11945
11946 2002-01-13  Allan Rae  <rae@lyx.org>
11947
11948         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11949         Now seems indestructible.  Remaining task is to audit all other
11950         code affected by deleteEmptyParagraphMechanism.  One small quirk
11951         left is that an empty document with an error in the preamble can
11952         be made to report an error but no error box appears.  I don't know
11953         where it goes.
11954         (removeAutoInsets): Improved comments.
11955
11956 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * Thesaurus.h:
11959         * Thesaurus.C: update for Aiksaurus 0.14
11960
11961 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * text2.C (firstParagraph): removed member function, all uses
11964         replaces with ownerParagraph
11965         (redoParagraphs): here
11966         (updateInset): here
11967         (toggleAppendix): here
11968         * BufferView2.C (insertErrors): here
11969         (setCursorFromRow): here
11970
11971 2002-01-13  Allan Rae  <rae@lyx.org>
11972
11973         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11974         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11975         There is still a way to segfault this although you may have to do this
11976         multiple times: Have an InsetERT with an unknown command in it.
11977         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11978         <down-arrow>, <Enter> again, View->DVI, BANG!
11979
11980         * text2.C (setCursor):
11981         (deleteEmptyParagraphMechanism):
11982         * lyxtext.h (setCursor):
11983         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11984         Making use of the return value may help fix other bugs.
11985
11986 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11987
11988         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11989
11990         * LyXView.C (updateMenubar): call MenuBar::update here
11991         (updateToolbar): but not here
11992         (showState): do not update toolbar/menubar
11993
11994         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11995         should need to care about that.
11996
11997         * lyxfunc.C (verboseDispatch): simplify a bit
11998         (getStatus): have a version which takes a pseudoaction, and
11999         another which requires a (kb_action,string).
12000
12001         * LyXAction.C (retrieveActionArg): make it work also when action
12002         is not a pseudo-action.
12003         (getActionName): simplify a bit
12004         (helpText):
12005
12006 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12007
12008         * lyxfunc.C (verboseDispatch): new families of methods with
12009         several ways to specify a command and a bool to indicate whether
12010         the command name and shortcut should be displayed in minibuffer
12011         (eventually, we could extend that to a finer bitmask like
12012         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12013         (dispatch): the pristine dispatch command which just, well,
12014         dispatchs! Note it still sets its result to minibuffer; I'm not
12015         sure we want that.
12016
12017         * lyxfunc.h: remove setHintMessage
12018
12019         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12020
12021 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * BufferView_pimpl.C (specialChar): delete new inset if we have
12024         not been able to insert it.
12025
12026         * kbmap.C: revert to using int instead of kb_action, since all we
12027         are dealing with is pseudo-actions.
12028
12029         * LyXAction.C (searchActionArg): change to return int instead of
12030         kb_action, since the result is a pseudoaction.
12031
12032 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12033
12034         * buffer.C (insertErtContents): Fix (partially) the font bug.
12035
12036 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12037
12038         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12039         as the other one is broken on my machine!
12040
12041 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12042
12043         * commandtags.h:
12044         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12045
12046 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12047
12048         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12049         reflect their actual use. Provide compatibility code for older lyxrc
12050         files.
12051
12052         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12053         FL_NORMAL_STYLE.
12054         change names of popup font variables in line with the changes to lyxrc.C
12055
12056 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * buffer.C (asciiParagraph): avoid outputing a word twice after
12059         an inset.
12060
12061         * lyxrc.C (getDescription): document that document_path and
12062         template_path can be empty.
12063
12064 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12065
12066         * LaTeXFeatures.C (getMacros):
12067         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12068
12069         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12070
12071         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12072         getPackages.
12073         (getPackages): rename feature "floats" to "float". Use an array to
12074         iterate over 'simple' features (i.e. just a \usepackage). Add
12075         handling of "amsmath" (renamed from "amsstyle").
12076
12077 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12078
12079         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12080         features list.
12081
12082 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12083
12084         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12085         FuncStaus::FuncStatus & FuncStaus::some_method().
12086
12087 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12088
12089         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12090         of the func_satus stuff. Edited and massaged in various ways by
12091         JMarc.
12092
12093         * lyxfunc.C (getStatus): use FuncStatus
12094
12095 2002-01-08  Juergen Vigna  <jug@sad.it>
12096
12097         * text.C (nextBreakPoint): use function Inset::isChar().
12098
12099         * paragraph.C (TeXOnePar): use function
12100         Inset::forceDefaultParagraphs.
12101
12102         * buffer.C (latexParagraphs): use function
12103         Inset::forceDefaultParagraphs.
12104
12105 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12106
12107         * lyx_gui.C (init): set the style of the menu popups to
12108         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12109
12110 2002-01-07  Juergen Vigna  <jug@sad.it>
12111
12112         * text.C (setHeightOfRow): small fix
12113         (prepareToPrint): don't look at alignment if we don't have the place
12114         for doing it.
12115
12116 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * box.C: New file. Move the Box methods and functions out of box.h,
12119         following Lars' suggestion.
12120
12121 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * box.h: #include "support/LOstream.h", needed for inlined function.
12124
12125         * lyxtextclass.C:
12126         * lyxtextclasslist.C: added some using std declarations.
12127
12128 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * box.h: make signed dimensions to allow insets wider than
12131           the screen (bug #162)
12132
12133         * BufferView_pimpl.C: add some insetHit debug
12134
12135 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * vc-backend.C: add FIXME
12138
12139 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * lyxfunc.C (getStatus): enable code for showing math font status
12142         in toolbar/menu.
12143
12144 2002-01-07  Juergen Vigna  <jug@sad.it>
12145
12146         * text.C (nextBreakPoint): removed debug output not needed anymore.
12147
12148 2002-01-06  Juergen Vigna  <jug@sad.it>
12149
12150         * text.C (nextBreakPoint): fixed up this function we had this bug
12151         since ever but now hopefully we break row better.
12152         (insertChar): we have to check if an inset is the next char as it
12153         could now happen that a large inset is causing a break.
12154
12155 2002-01-05  Juergen Vigna  <jug@sad.it>
12156
12157         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12158         if it doesn't like to be drawed.
12159
12160 2002-01-04  Juergen Vigna  <jug@sad.it>
12161
12162         * BufferView2.C (lockInset): forgot to set a cursor.
12163
12164         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12165
12166 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12167
12168         * FormMathsPanel.C:
12169         * FormMathsPanel.h
12170         * MathsSymbols.C:
12171         * form_maths_panel.C:
12172         * form_maths_panel.h:
12173         * form_maths_panel.fd: implemented sub- and super- buttons in math
12174         panel.
12175
12176         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12177         (or ^ space) to be used as in TeX (req'd by André).
12178
12179         * lyxfunc.C: Allow ^ and _ again to be used both as
12180         super/subscript (mathed) and as themselves (in text).
12181
12182 2002-01-03  Allan Rae  <rae@lyx.org>
12183
12184         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12185         "LyX" or the filename of the current buffer if it has one.  This is a
12186         modified form of John Levon's patch.
12187
12188         * XFormsView.C (setWindowTitle): also set icon title.
12189
12190         * LyXView.h (setWindowTitle): signature changed.
12191         * XFormsView.h (setWindowTitle): ditto.
12192
12193 2002-01-02  Juergen Vigna  <jug@sad.it>
12194
12195         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12196
12197 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * screen.C (topCursorVisible): introduce a temp var for
12200         text->cursor.row(), handle the case where this row is null. (kindo
12201         hachish)
12202
12203         * text2.C (setCursor): add a couple of asserts.
12204
12205         * paragraph.h (inset_iterator): add -> operator
12206
12207         * paragraph.[Ch] (autoDeleteInsets): remove member function
12208
12209         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12210         cursor pos correctly and handle inset deletion by itself.
12211         (insertErrors): move iterator declaration out of for expression
12212
12213         * lyxtextclass.C: add <algorithm>
12214
12215         * Makefile.am: added the new files to sources, removed layout.C
12216
12217         * layout.C: removed file
12218
12219         * layout.h: remove LYX_DUMMY_LAYOUT
12220
12221         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12222         layout.
12223
12224         * lyxlayout.[Ch]:
12225         * lyxtextclass.[Ch]:
12226         * lyxtextclasslist.[Ch]: new files
12227
12228         * include order changes to a lot of files, also changes because of
12229         the six new files.
12230
12231 2001-12-27  Juergen Vigna  <jug@sad.it>
12232
12233         * buffer.C (asciiParagraph): more fixes.
12234
12235         * tabular.C (ascii): make ascii export support export of only the
12236         data separated by a column-delimiter.
12237         (ascii): better support for ascii export.
12238
12239         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12240
12241 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * tabular_funcs.C: use a "using std::getline" instead of the
12244         previous fix from Angus (necessary for cxx + lyxstring)
12245
12246 2001-12-24  Juergen Vigna  <jug@sad.it>
12247
12248         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12249
12250         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12251         problems. First check a minipage also if we have some ert-contents
12252         (not only on par->size(), second set the right depth of the paragraph
12253         on the relink to the root-paragraph-list!
12254
12255         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12256         which then did not anymore update the main paragraphs on undo/redo!
12257
12258 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12261         code. Support all font-changing funcs (even those which are not in
12262         menu currently). Support for reporting font settings in
12263         mathed (disabled until Andre provides a function on mathed's side).
12264
12265         * func_status.h (toggle): small helper function to set toggle
12266         state on a flag.
12267
12268 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * tabular_funcs.C: getline -> std::getline
12271
12272 2001-12-21  Juergen Vigna  <jug@sad.it>
12273
12274         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12275         accessed and could be 0 (I couldn't generate this but it seems
12276         Michael could!).
12277
12278 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12281         * tabular_funcs.h: here and include iosfwd
12282
12283 2001-12-20  Juergen Vigna  <jug@sad.it>
12284
12285         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12286         inside inset but undo_par was.
12287
12288 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12289
12290         * Thesaurus.C: always include <config.h> in sources.
12291
12292         * Painter.h:
12293         * lyxlookup.h:
12294         * box.h: do not include <config.h> in header files
12295
12296         * text.C (paintLastRow): remove unused variable
12297
12298         * text.C (transformChar):
12299         (insertChar):
12300         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12301
12302         * Painter.C (text):
12303         * font.C (width): rewrite to use uppercase() instead of
12304         islower/toupper.
12305
12306         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12307
12308 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * lyxfind.C: clean up of find failure position change
12311
12312 2001-12-20  Juergen Vigna  <jug@sad.it>
12313
12314         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12315
12316         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12317         (TeXRow): added to LaTeX a single tabular row.
12318         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12319         (Latex): simplified and finally good LT-h/f support.
12320         (various_functions): just small adaptions for LT-h/f support.
12321
12322         * tabular_funcs.[hC]: added and moved here all not classfunctions
12323         of LyXTabular.
12324
12325 2001-12-19  Juergen Vigna  <jug@sad.it>
12326
12327         * tabular.[Ch]: better support for longtabular options (not finished
12328         yet!)
12329
12330 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12331
12332         * text.C (paintLastRow): use the label font instead of the font of
12333         the last character to compute the size of *_BOX. This makes more
12334         sense and avoids a crash with empty paragraphs.
12335         Use Painter::rectangle to draw EMPTY_BOX.
12336
12337 2001-12-19  Juergen Vigna  <jug@sad.it>
12338
12339         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12340         the paragraphs if the replaced paragraph is not the first one!
12341         Tried to delete not used paragraphs but does not work yet so for
12342         now it's inside #ifdef's and by default off!
12343
12344 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * MenuBackend.C: include "lyx_main.h" instead of declaring
12347         lastfiles (actually was declared as LastFiles* instead of a
12348         scoped_ptr).
12349
12350 2001-12-17  Juergen Vigna  <jug@sad.it>
12351
12352         * tabular.C (AppendColumn): applied John's fix
12353
12354 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView.h:
12357         * BufferView.C:
12358         * BufferView_pimpl.h:
12359         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12360
12361         * Makefile.am:
12362         * box.h: new start of class for above
12363
12364         * lyxfunc.C: ignore space-only minibuffer dispatches.
12365           Show the command name when it doesn't exist
12366
12367         * minibuffer.C: don't add empty lines to the history
12368
12369         * minibuffer.C: add a space on dropdown completion
12370
12371 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * text.C: fix line above/below drawing in insets
12374
12375 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * lyxlength.C (LyXLength): Initialize private variables.
12378
12379 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12380
12381         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12382         when inserting error insets.
12383
12384 2001-12-13  Juergen Vigna  <jug@sad.it>
12385
12386         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12387         actually sometimes the before-paragraph.
12388         (setUndo): don't clear the redostack if we're not actually undoing!
12389
12390 2001-12-06  Juergen Vigna  <jug@sad.it>
12391
12392         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12393         and fixed redoing of main paragraph, so we can use it now ;)
12394
12395         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12396
12397 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12398
12399         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12400         Juergen's request
12401
12402 2001-12-13  André Pönitz <poenitz@gmx.net>
12403
12404         * undostack.[Ch]:
12405         * undo_func.C: minor cleanup
12406
12407 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12410         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12411         font in urw-fonts package which is marked as -urw-fontspecific and
12412         does not work (incidentally, changing the encoding in the
12413         fonts.dir of this package to -adobe-fontspecific fixes the
12414         problem).
12415
12416         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12417         is a crash when undoing first paragraph (Juergen, please take a
12418         look). THis does not mean the undo fix is wrong, just that it
12419         uncovers problems.
12420
12421         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12422         the (Paragraph*) version when needed instead of duplicating the
12423         code.
12424
12425         * text.C (workWidth): use Inset::parOwner to find out where the
12426         inset has been inserted. This is a huge performance gain for large
12427         documents with lots of insets. If Inset::parOwner is not set, fall
12428         back on the brute force method
12429
12430         * paragraph_pimpl.C (insertInset):
12431         * paragraph.C (Paragraph):
12432         (cutIntoMinibuffer): set parOwner of insets when
12433         inserting/removing them
12434
12435         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12436
12437 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12438
12439         * commandtags.h:
12440         * LyXAction.C:
12441         * lyx_main.C:
12442         * lyxfunc.C:
12443         * mathed/formulabase.C:
12444         * mathed/math_cursor.[Ch]:
12445         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12446
12447
12448 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * lyxlength.[Ch] (operator!=): new function
12451
12452 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * text.C (workWidth): use Inset::parOwner to find out where the
12455         inset has been inserted. This is a huge performance gain for large
12456         documents with lots of insets. If Inset::parOwner is not set, fall
12457         back on the brute force method
12458
12459         * paragraph_pimpl.C (insertInset):
12460         * paragraph.C (Paragraph):
12461         (cutIntoMinibuffer): set parOwner of insets when
12462         inserting/removing them
12463
12464         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12465
12466 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * tabular-old.C (getTokenValue):
12469         * tabular.C (getTokenValue):
12470         (write_attribute): new versions for LyXLength
12471         (everywhere): adjust the use of widths
12472
12473         * tabular.h: change the type of widths from string to LyXLength
12474
12475 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12476
12477         * paragraph.C: fixed missing line number count when exporting
12478         Environments to LaTeX file
12479
12480         * buffer.C: added informational message for checking line numbers.
12481
12482 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12485         paragraph, do the 'double space' part, but not the 'empty
12486         paragraph' one.
12487
12488         * text.C (workWidth): small optimization
12489         (getLengthMarkerHeight): use minimal size for negative lengths.
12490
12491 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12492
12493         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12494
12495         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12496
12497 2001-12-11  André Pönitz <poenitz@gmx.net>
12498
12499         * FontLoader.C:
12500         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12501
12502 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * text2.C: keep selection on a setFont()
12505
12506 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * lyx_cb.C: another bv->text misuse, from insert label
12509
12510 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * kbsequence.h:
12513         * kbsequence.C: re-instate nmodifier mask
12514
12515 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12516
12517         * lyx_main.h: make lyxGUI private.
12518
12519 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * lyxfind.C: place the cursor correctly on failed search
12522
12523 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * text.C (getLengthMarkerHeight): for small heights, the arrows
12526         are not always on top/bottom of the text
12527         (drawLengthMarker): smaller arrows; take the left margin in
12528         account; draw also vfills.
12529         (paintFirstRow):
12530         (paintLastRow): remove special code for vfill and standard spaces,
12531         since everything is handled in drawLengthMarker now.
12532
12533 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * buffer.C (insertErtContents): try to handle font and language
12536         interaction a bit better.g
12537
12538         * ColorHandler.C (updateColor): change the hash to cover the whole
12539         LColor enum, ws cleanup
12540         (getGCLinepars): ditto
12541         (getGCLinepars): only lookup in the linecache once.
12542
12543 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * iterators.C (operator++): Make the iterator more robust
12546
12547         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12548         (John's patch)
12549         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12550
12551 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * lyxtext.h:
12554         * text.C: better added space drawing
12555
12556 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * LyXView.C:
12559         * BufferView2.C: fix layout combo update on inset unlock
12560
12561 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * Makefile.am: don't compile unused files
12564
12565 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * lyxfunc.C:
12568         * commandtags.h:
12569         * LyXAction.C: remove old LFUN_LAYOUTNO
12570
12571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * paragraph_pimpl.h:
12574         * paragraph_pimpl.C: isTextAt() doesn't need font param
12575
12576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxlex.h:
12579         * lyxlex.C: little cleanup
12580
12581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * BufferView_pimpl.C: fix insertAscii for insets
12584
12585 2001-12-05  Juergen Vigna  <jug@sad.it>
12586
12587         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12588         set the right font on the "multi" paragraph paste!
12589
12590 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * trans_decl.h:
12593         * trans_mgr.[Ch]:
12594         * trans.[Ch]:
12595         * lyxgluelength.C:
12596         * lyxlength.C: remove out-commented code.
12597
12598         * BufferView_pimpl:
12599         * CutAndPaste.C:
12600         * DepTable.C:
12601         * buffer.C:
12602         * chset.C:
12603         * lastfiles.C:
12604         * lyxlex.C:
12605         * lyxlex_pimpl.C:
12606         * lyxserver.C:
12607         * screen.C:
12608         * tabular-old.C:
12609         * tabular.C:
12610         * text.C:
12611         * trans_mgr.C:
12612         * vc-backend.C: change "while(" to "while ("
12613
12614         * lyxlength.[Ch]: add zero function to check if length is zero or
12615         not
12616         * lyxgluelength.C: use it
12617
12618 2001-12-05  Allan Rae  <rae@lyx.org>
12619
12620         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12621         Works for 2.95.3, from what I understand of Garst's reports this should
12622         work for other g++ versions.  We're screwed if the abs(int) definition
12623         changed between bugfix releases of gcc.
12624
12625 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * text.C: fix chapter label offset !
12628
12629 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * lyxtext.h:
12632         * text.C: fix hfill at end of line, clean up
12633
12634 2001-12-04  Juergen Vigna  <jug@sad.it>
12635
12636         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12637         that we force an update of the inset and it's owners if neccessary.
12638
12639 2001-12-03  Juergen Vigna  <jug@sad.it>
12640
12641         * text.C (rowLast): simplified code
12642
12643 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * lyxfunc.C: fix show options on timeout
12646
12647 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * screen.C (topCursorVisible): scroll half a page when the cursor
12650         reached top of bottom of screen
12651
12652 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * minibuffer.C: deactivate on loss of focus
12655
12656 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * vspace.[Ch] (operator!=): add operator.
12659
12660 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * BufferView_pimpl.C: refuse to open an inset when
12663         there's a selection.
12664
12665 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * BufferView_pimpl.C: allow to click on RHS of full row insets
12668
12669 2001-11-30  Juergen Vigna  <jug@sad.it>
12670
12671         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12672         insets for undo reasons.
12673
12674 2001-11-28  André Pönitz <poenitz@gmx.net>
12675
12676         * vspace.[Ch]: cosmetical changes
12677
12678 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * LyXAction.h:
12681         * LyXAction.C:
12682         * lyxfunc.h:
12683         * lyxfunc.C:
12684         * kbmap.h:
12685         * kbmap.C:
12686         * lyxrc.C:
12687         * kbsequence.h:
12688         * kbsequence.C: part re-write of old kb code
12689
12690         * Painter.C:
12691         * WorkArea.C: remove Lgb_bug_find_hack
12692
12693 2001-11-30  José Matos <jamatos@fep.up.pt>
12694
12695         * buffer.C (makeDocBookFile): add a comment to point a hack.
12696         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12697         Fixed a double write of labels.
12698
12699 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12700
12701         * LaTeX.C:
12702         * LaTeX.h Fixed bug in LaTeX class where it would not
12703         re-run latex if no depfiles were changed, but the .dvi was removed.
12704
12705 2001-11-28  André Pönitz <poenitz@gmx.net>
12706
12707         * all the files from the change on 2001/11/26:
12708         use lyx::layout_type instead of LyXTextClass::size_type
12709         use lyx::textclass_type instead of LyXTextClassList::size_type
12710
12711 2001-11-29  Juergen Vigna  <jug@sad.it>
12712
12713         * text.C: added support for paragraph::isFreeSpacing()
12714
12715         * buffer.C: same as above
12716
12717         * paragraph.h: inserted isFreeSpacing() function to enable
12718         FreeSpacing inside InsetERT.
12719
12720         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12721         of the paragraph's in the cut/copy buffer to 0!
12722
12723         * text2.C (removeRow): remove the assert as it can!
12724
12725         * lyxtext.h: added helper function firstRow returning firstrow and
12726         made firstrow private again.
12727
12728         * BufferView2.C (lockInset): don't relock if we're already locked!
12729
12730         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12731         the only paragraph.
12732         (removeRow): added Assert::(firstrow)
12733
12734         * debug.C: forgot to add INSETTEXT here.
12735
12736 2001-11-28  Juergen Vigna  <jug@sad.it>
12737
12738         * sp_spell.C (initialize): changed error text to more general
12739         spellchecker command use (not only ispell!)
12740
12741         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12742
12743         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12744
12745 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * vspace.C: initialise lyxgluelength on failure
12748
12749 2001-11-28  Allan Rae  <rae@lyx.org>
12750
12751         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12752         declaration & definition that looks like a function declaration.
12753
12754 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12755
12756         * BufferView2.C (copy):
12757         (copyEnvironment): do not clear the selection when doing a copy.
12758
12759         * text.C (paintFirstRow): compilation fix
12760
12761 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12762
12763         * tabular.C (Latex): correct line count when writing latex.
12764
12765 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * paragraph_pimpl.h:
12768         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12769           bug a bit
12770
12771 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * text.C:
12774         * LColor.h:
12775         * LColor.C: change vfillline->added_space
12776
12777         * text.C: add markers and text for added space
12778
12779         * vspace.C: fix comment
12780
12781 2001-11-28  André Pönitz <poenitz@gmx.net>
12782
12783         * paragraph.C: whitespace changes
12784         * all the other files from the change on 2001/11/26:
12785         change *::pos_type into lyx::pos_type
12786
12787 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12788
12789         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12790         language of the document when inserting error insets.
12791
12792 2001-11-26  André Pönitz <poenitz@gmx.net>
12793
12794         * BufferView_pimpl.[Ch]:
12795         *       CutAndPaste.C:
12796         * buffer.[Ch]:
12797         * lyxcursor.[Ch]:
12798         * lyxfind.C:
12799         * lyxfunc.C:
12800         * lyxrow.[Ch]:
12801         * paragraph.[Ch]:
12802         * paragraph_pimpl.[Ch]:
12803         * sp_spell.C:
12804         * text.C:
12805         * text2.C: reduce header dependencies, introduce type for positions
12806
12807 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * <various>: change to use Alert.h
12810
12811 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12814         when encountering an unknown token.
12815         (readLyXformat2): Show an error message if there were unknown tokens.
12816
12817 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * BufferView2.C:
12820         * BufferView_pimpl.C:
12821         * buffer.C:
12822         * paragraph.h:
12823         * text.C:
12824         * text2.C: use par->isInset()
12825
12826 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * paragraph_pimpl.h:
12829         * paragraph_pimpl.C: cleanup
12830
12831 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * text2.C (removeRow):
12834         * text.C (setHeightOfRow): remove useless (and costly) call to
12835         getRow.
12836
12837 2001-11-20  Allan Rae  <rae@lyx.org>
12838
12839         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12840         Now need Inset*::checkInsertChar() to return true for appropriate
12841         cases so that the characters in the minibuffer will actually be
12842         inserted.
12843
12844 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * text.C: change the order of the includes.
12847         (workWidth): initialize it at once.
12848         (workWidth): make maxw unsigned
12849         (setHeightOfRow): remove unused variable (inset)
12850         (selectSelectedWord): remove unused variable (inset)
12851         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12852
12853 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12856         server is not running.
12857         (openConnection):
12858         (closeConnection): add debug info when server is disabled.
12859
12860         * ColorHandler.C (getGCForeground): send debug message to GUI
12861         channel.
12862
12863         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12864
12865         * kbmap.C (bind): modify because return conventions of
12866         kb_sequence::parse have changed.
12867
12868         * kbsequence.C (parse): only ignore spaces and not any stupid
12869         control character. This avoids tests like s[i] <= ' ', which are
12870         guaranteed to fail with 8bit characters and signed chars.
12871         Change return code to string::npos when there have been no error
12872         (0 was a bad idea when error is at first character)
12873
12874 2001-11-14  José Matos  <jamatos@fep.up.pt>
12875
12876         * buffer.h:
12877         * buffer.C (simpleDocBookOnePar): removed unused argument.
12878
12879 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12882         insets which are part of a word. Paragraph::isLetter takes care of
12883         that now. Use Paragraph::isInset to identify insets.
12884         (selectSelectedWord): do not test for hyphenation break.
12885
12886         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12887         that protected spaces are considered as spaces.
12888
12889         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12890         Inset::isLetter.
12891
12892 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * lyxserver.h:
12895         * lyxserver.C: fix it. and small cleanup.
12896
12897 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * BufferView_pimpl.C: use inline helpers
12900
12901         * LaTeXFeatures.h:
12902         * LaTeXFeatures.C: fix typos
12903
12904         * Spacing.h:
12905         * Spacing.C: move spacing_string into class
12906
12907         * ToolbarDefaults.C: move stuff into namespace anon
12908
12909         * layout.h: update enum
12910
12911         * lyxfunc.C: use better debug
12912
12913         * minibuffer.h: fix typo
12914
12915         * debug.h:
12916         * debug.C:
12917         * WorkArea.C: add and use Debug::WORKAREA
12918
12919         * lyxtext.h:
12920         * text.C:
12921         * text2.C: code re-organisation, inline helpers
12922
12923 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12924
12925         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12926         std::vector.empty().
12927
12928 2001-11-09  Allan Rae  <rae@lyx.org>
12929
12930         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12931         '\n's after tables.  Tabular and ERT inset work now makes this no
12932         longer necessary.
12933
12934 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * minibuffer.h:
12937         * minibuffer.C: fix crash, improve drop-down completion
12938
12939 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * lyxserver.h:
12942         * lyxserver.C: invalidate fd's when doing endPipe()
12943
12944 2001-11-08  José Matos  <jamatos@fep.up.pt>
12945
12946         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12947         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12948
12949         * paragraph.h:
12950         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12951
12952 2001-11-07  José Matos  <jamatos@fep.up.pt>
12953
12954         * buffer.h:
12955         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12956         const qualifier.
12957
12958         * buffer.C (sgmlOpenTag):
12959         * buffer.C (sgmlCloseTag): removed debug info.
12960
12961         * buffer.h (sgmlOpenTag):
12962         * buffer.h (sgmlCloseTag): made public.
12963
12964 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12965
12966         * buffer.C (saveParamsAsDefaults):
12967         * lyx_cb.C (MenuLayoutSave): remove
12968
12969         * LyXAction.C (init):
12970         * commandtags.h:
12971         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12972
12973 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12974
12975         * buffer.C (setPaperStuff): removed from here...
12976
12977         * bufferparams.C (setPaperStuff): ... and moved there.
12978
12979 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * minibuffer.h:
12982         * minibuffer.C:
12983         * XFormsView.C: add support for drop-down completion
12984
12985 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12988         commands.
12989
12990 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12991
12992         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12993         disabled.
12994
12995 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * lyx_main.C: change ref to known bugs
12998
12999 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13000
13001         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13002         to work around older babel problems.
13003
13004 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13005
13006         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13007
13008 2001-10-24  Juergen Vigna  <jug@sad.it>
13009
13010         * tabular-old.C (ReadOld): below variable changes reflected.
13011
13012         * tabular.[Ch]: added ltType struct for longtable header/footer
13013         defines and changed all instances where they are used. Added
13014         future support for double top/bottom rows.
13015
13016 2001-10-24  José Matos  <jamatos@fep.up.pt>
13017
13018         * buffer.h (docbookHandleCaption):
13019         * buffer.C (docbookHandleCaption): removed unused function.
13020         (makeDocBookFile): moved docbook supported version to v4.1.
13021
13022 2001-10-24  José Matos  <jamatos@fep.up.pt>
13023
13024         * tabular.h:
13025         * tabular.C (docbookRow): new function to export docbook code of a row.
13026         (DocBook): now honors the longtable flags.
13027
13028 2001-10-23  José Matos  <jamatos@fep.up.pt>
13029
13030         * LaTeXFeatures.h:
13031         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13032         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13033
13034         * buffer.C (makeLinuxDocFile):
13035         (makeDocBookFile): reworked the preamble, more clean, and with
13036         support for lyx defined entities. Changed the document declaration
13037         to be more XML friendly.
13038
13039         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13040         if we need to output XML that should be done with a filter.
13041
13042 2001-10-22  Juergen Vigna  <jug@sad.it>
13043
13044         * sp_pspell.h (class PSpell): add alive function needed in the
13045         controller to see if the spellchecker could be started.
13046
13047 2001-10-22  Juergen Vigna  <jug@sad.it>
13048
13049         * buffer.C (insertStringAsLines): modify the font for inserting
13050         chars in certain conditions by calling checkInsertChar(font).
13051
13052 2001-10-19  Juergen Vigna  <jug@sad.it>
13053
13054         * text.C (workWidth): use getRow instead of wrong algorithm.
13055         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13056
13057 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * lyxserver.h:
13060         * lyxserver.C:
13061         * lyx_main.h:
13062         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13063
13064 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * text.C (workWidth): do not search for the exact row when
13067         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13068         optimization for big documents.
13069
13070 2001-10-18  Juergen Vigna  <jug@sad.it>
13071
13072         * text.C (workWidth): new function with added Inset * parameter.
13073
13074 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13077
13078         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13079         change return type of getColumnNearX.
13080
13081
13082         * text.C (changeRegionCase): use uppercase/lowercase instead of
13083         toupper/tolower.
13084         (leftMargin):
13085         (rightMargin): simplify code by factoring out the uses of
13086         textclasslist.
13087         (labelFill):
13088         (numberOfHfills):
13089         (setHeightOfRow):
13090         (appendParagraph): use Paragraph::size_type
13091
13092 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * vspace.C (asLatexString): add a missing break
13095
13096 2001-10-15  Herbert Voss  <voss@perce.de>
13097
13098         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13099
13100 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13103         is not available.
13104
13105 2001-10-10  André Pönitz <poenitz@gmx.net>
13106
13107         * lyxfunc.C: removed greek_kb_flag.
13108
13109 2001-10-10  Herbert Voss  <voss@perce.de>
13110
13111         * lyx_main.C: delete global string help_lyxdir.
13112
13113 2001-10-09  Herbert Voss  <voss@perce.de>
13114
13115         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13116
13117         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13118
13119         * lyx_main.C: added global string help_lyxdir.
13120
13121         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13122
13123 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13124
13125         * lyxrc.C (set_font_norm_type): support iso8859-4
13126
13127 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13128
13129         * LaTeX.C (deplog): add another regex for MikTeX
13130
13131 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13132
13133         * lyxrc.C (set_font_norm_type): support iso8859-3
13134
13135 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13138
13139         * LaTeXFeatures.C: remove special case of french and index
13140
13141         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13142         before \begin{document}). This solves several incompatibilities.
13143
13144 2001-10-03  Garst Reese  <reese@isn.net>
13145
13146         * lyx_cb.C: change CheckTex error msg.
13147
13148 2001-10-03  José Matos  <jamatos@fep.up.pt>
13149
13150         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13151
13152 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * .cvsignore: update
13155
13156         * lyx_main.C (commandLineVersionInfo): use new style version info.
13157
13158         * buffer.C (writeFile):
13159         (makeLaTeXFile):
13160         (makeLinuxDocFile):
13161         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13162
13163         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13164
13165         * version.h: update to use stuff in version.C
13166
13167         * version.C.in: new file. Contains version information determined
13168         at compile time. This is a merging of version.h and
13169         version_info.h.in.
13170
13171 2001-10-03  Juergen Vigna  <jug@sad.it>
13172
13173         * BufferView_pimpl.C (update): don't change "dirty" status in
13174         updateInset call.
13175
13176 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13177
13178         * WorkArea.C (c-tor): re-position version string slightly.
13179
13180 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13181
13182         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13183         revert to previous code.
13184
13185         WorkArea.[Ch]: (show, destroySplash): methods removed.
13186
13187         WorkArea.C: rework code so that it's an amalgam of the codes before and
13188         after the splash screen was moved to WorkArea.
13189
13190 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * lyxrc.C (read):
13193         * vspace.C (inPixels):
13194         (lyx_advance):
13195         * kbmap.C (bind):
13196         * buffer.C (insertStringAsLines):
13197         (asciiParagraph): fix types to be large enough
13198
13199         * lyxlex_pimpl.h: change member status from short to int
13200
13201         * layout.h: fix type of endlabeltype
13202
13203         * kbmap.C (bind):
13204         * kbsequence.C (parse): change return type to string::size_type
13205
13206         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13207         variable
13208
13209         * Bullet.C (bulletSize):
13210         (bulletEntry): do not use short ints as parameters
13211
13212         * BufferView2.C (insertLyXFile): change a char to an int.
13213
13214         * WorkArea.C (WorkArea): remove unneeded floats in computation
13215
13216 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13217
13218         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13219
13220         * paragraph.C (asString): Do not ignore newline/hfill chars when
13221         copying to the clipboard.
13222
13223 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13224
13225         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13226         after a multi-line inset.
13227
13228 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * paragraph.C (validate): Set NeedLyXFootnoteCode
13231
13232 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13235         and decrease-error to decrease.
13236
13237 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13238
13239         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13240         it more readable (should be equivalent)
13241
13242 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13243
13244         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13245
13246 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13249         of a cursor (row, etc.) after a character has been deleted
13250         (deleteEmptyParagraphMechanism): call the method above on _all_
13251         cursors held by the LyXText when a double space has been
13252         detected/deleted.
13253
13254 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13257         pixmap.
13258         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13259
13260         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13261         background. Use greyOut() and the new show() methods to toggle between
13262         the foreground and background. Add code to remove the splash after
13263         its initial showing.
13264
13265         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13266         (create_forms): no longer call Dialogs::showSplash.
13267
13268 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * .cvsignore: add version_info.h
13271
13272 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * version_info.h.in: new file
13275
13276         * Makefile.am: add version_info.h.in
13277
13278         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13279         version_info.h instead of VERSION_INFO
13280
13281 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13282
13283         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13284         The ERT inset now returns string().
13285
13286 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13287
13288         * lyxtext.h, text.C (selectNextWord): renamed as
13289         selectNextWordToSpellcheck.
13290
13291         * text.C (selectNextWordToSpellcheck): Modified to not select
13292         words inside an ERT inset.
13293
13294 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * lyx_cb.C (MenuLayoutSave): change a bit the question
13297
13298         * sp_base.h: include <sys/types.h>
13299
13300 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13301
13302         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13303
13304 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13305
13306         * several files: fix typos in user-visible strings
13307
13308 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * text2.C (pasteSelection): do not set the selection, since it
13311         will be cleared later. Actually, the intent was to fix the way the
13312         selection was set, but I figured rmoving the code was just as good.
13313
13314 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * FontLoader.C (available): Check if font is available without
13317         loading the font.
13318
13319 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13320
13321         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13322
13323 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * lyxrc.[Ch]: added display_graphics variable and associated code.
13326
13327 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13328
13329         * bufferparams.C (hasClassDefaults): new method. Returns true if
13330         the buffer parameters correspond to known class defaults
13331
13332 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * XFormsView.C (show): set minimum size to the main window.
13335
13336 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * text2.C (copySelection):
13339         (cutSelection):
13340         * lyxfind.C (LyXReplace):
13341         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13342         LyXText::selectionAsString.
13343
13344         * paragraph.C (asString): add "label" argument to the second form
13345
13346         * text2.C (selectionAsString): add "label" argument and pass it to
13347         Paragraph::asString.
13348
13349 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13350
13351         * lyx_main.C (commandLineHelp): remove version information
13352
13353 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13354
13355         * lyx_main.C: add -version commandline option
13356
13357 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * paragraph.h: make the optional constructor arg required instead.
13360         some modifications to other files because of this.
13361
13362         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13363
13364         * lyxserver.C (C_LyXComm_callback): make it static
13365
13366         * lyx_main.C (error_handler): make it static
13367
13368         * lyx_gui.C (LyX_XErrHandler): make it static
13369
13370         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13371
13372         * WorkArea.C: make the extern "C" methods static.
13373
13374         * Makefile.am (lyx_LDADD): simplify
13375
13376 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13379         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13380
13381         * LyXAction.C (init):
13382         * lyxfunc.C (dispatch): associated code removal.
13383
13384 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * lyxfont.h (isSymbolFont): shut off warning
13387
13388         * text.C (setHeightOfRow):
13389         (getVisibleRow): fix crash with empty paragraphs which have a
13390         bottom line
13391
13392 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13393
13394         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13395         code.
13396
13397 2001-09-04  José Matos  <jamatos@fep.up.pt>
13398         * buffer.C
13399         * buffer.h
13400         * tabular.C (docbook): rename docBook method to docbook.
13401
13402 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * Makefile.am: add dependencies to main.o.
13405
13406 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13407
13408         * FontLoader.C (available): Return false if !lyxrc.use_gui
13409
13410 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13411
13412         * FontInfo.C (query):
13413         * converter.C (view):
13414         * importer.C (Import):
13415         * exporter.C (Export): Can not -> cannot.
13416
13417 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * BufferView_pimpl.C: allow to create index inset even if
13420           string is empty
13421
13422 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * buffer.C (getLists): replace boost::tie code with an explicit pair
13425         as boost::tie can break some compilers.
13426
13427         * iterators.h: Added a std:: declaration to the return type of
13428         ParIterator::size.
13429
13430 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13431
13432         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13433           case.
13434
13435 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13436
13437         * iterators.[Ch]: New files. Provide paragraph iterators.
13438
13439         * buffer.C (changeLanguage): Use paragraph iterators.
13440         (isMultiLingual): ditto
13441
13442         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13443
13444 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13445
13446         * FontLoader.C: Support for cmr font.
13447
13448 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13449
13450         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13451         (available): New method.
13452
13453         * FontInfo.C (getFontname): Use scalable fonts even when
13454         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13455         found.
13456
13457 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13458
13459         * converter.C (Formats::view): reverted! Incorrect fix.
13460
13461 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13462
13463         * converter.C (Formats::view): only output the -paper option
13464         if the dvi viewer is xdvi, thereby fixing bug #233429.
13465
13466 2001-08-23  Herbert Voss  <voss@perce>
13467
13468         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13469
13470 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13471
13472         * Spacing.h (Spacing): Set space to Default on in the default
13473         constructor.
13474
13475 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * vc-backend.h (RCS::versionString): add RCS to version
13478         (CVS::versionString): add CVS to version
13479
13480         * vc-backend.C (scanMaster): do not add CVS to version.
13481         (scanMaster): do not add RCS to version
13482
13483         * lyxvc.C (versionString): new method
13484
13485         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13486
13487 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * Spacing.C (set): initialize fval
13490
13491 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13492
13493         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13494         " or \.
13495
13496 2001-08-16  Juergen Vigna  <jug@sad.it>
13497
13498         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13499
13500 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * BufferView_pimpl.C:
13503         * figureForm.C:
13504         * lyxtext.h:
13505         * text2.C: setParagraph takes linespacing now
13506
13507 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * LyxAction.C: add internal LFUN_CITATION_INSERT
13510
13511         * LyXView.C: actually apply fix
13512
13513         * bufferlist.C: fix open non-existent file
13514
13515         * lyxfind.C: fix indentation
13516
13517         * lyxfunc.C: remove unneeded assert, fix typo
13518
13519 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13520
13521         * MenuBackend.C: use "Floatname List"
13522
13523 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13524
13525         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13526         when converting LaTeX layout to insetERT.
13527         Generate a non-collapsed float when reading old float
13528
13529 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13530
13531         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13532         ERT insets.
13533
13534 2001-08-13  Juergen Vigna  <jug@sad.it>
13535
13536         * text.C (fill): return 0 instead of 20 as this seems to be the more
13537         correct value.
13538
13539 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13540
13541         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13542         lyxrc.font_norm.
13543
13544 2001-08-13  Juergen Vigna  <jug@sad.it>
13545
13546         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13547         casesensitive off.
13548         (SearchBackward): comment out the unlocking of the inset_owner this
13549         should not be needed!
13550
13551 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13552
13553         * Many files: Remove inherit_language, and add latex_language
13554
13555         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13556         collapsible insets.
13557
13558 2001-08-10  Juergen Vigna  <jug@sad.it>
13559
13560         * text.C (prepareToPrint): fixed hfill-width in draw!
13561
13562         * BufferView2.C (selectLastWord): save the selection cursor as this
13563         now is cleared in the function LyXText::clearSelection!
13564
13565 2001-08-08  Juergen Vigna  <jug@sad.it>
13566
13567         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13568         BACKSPACE type functions.
13569
13570         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13571         is only cutted from the document but not put in the cut-buffer, where
13572         still the old stuff should be.
13573
13574         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13575
13576         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13577
13578         * tabular.C (SetWidthOfCell): fixed special case where the width
13579         was not updated!
13580         (LeftLine): handle '|' in align_special.
13581         (RightLine): ditto
13582         (LeftAlreadyDrawed): ditto
13583         (SetWidthOfCell): ditto
13584
13585 2001-08-07  Juergen Vigna  <jug@sad.it>
13586
13587         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13588
13589 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13592         * lyxlex.[hC]: ditto
13593
13594 2001-08-06  Juergen Vigna  <jug@sad.it>
13595
13596         * text.C (getVisibleRow): fix up row clearing a bit.
13597
13598 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * minibuffer.C: make sure the X server sees the changes in the input.
13601
13602 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * paragraph.C (getFont): split into...
13605         (getLabelFont): this
13606         (getLayoutFont): and this
13607         * paragraph_pimpl.C (realizeFont): calling this
13608
13609         * text2.C (getFont): split into...
13610         (getLayoutFont): this
13611         (getLabelFont): and this
13612         (realizeFont): all three calling this
13613
13614         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13615         files where used.
13616
13617 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13620
13621 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13622
13623         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13624         layouts from the Quote inset insertion.
13625
13626 2001-08-03  Juergen Vigna  <jug@sad.it>
13627
13628         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13629
13630         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13631         only if status not is already CHANGED_IN_DRAW (second level).
13632
13633         * text.C (draw): don't set the need_break_row when inside an
13634         InsetText LyXText.
13635
13636 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13637
13638         * buffer.C (parseSingleLyXformat2Token): handle more latex
13639         conversion cases.
13640
13641         * bufferview_funcs.[hC]: change function names to
13642         begin with small char, adjust other files.
13643
13644 2001-08-02  André Pönitz <poenitz@gmx.net>
13645
13646         * lyxfunc.C:
13647         BufferView_pimpl.C: remove broken special code for math-greek
13648
13649 2001-08-02  Juergen Vigna  <jug@sad.it>
13650
13651         * BufferView_pimpl.C (update): redone this function so that we
13652         update the text again if there was a CHANGE_IN_DRAW.
13653
13654         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13655         (drawFromTo): added a new internal bool which is used by draw() and
13656         redraw() function.
13657         (general): some cursor drawing problems fixed.
13658
13659 2001-08-01  Juergen Vigna  <jug@sad.it>
13660
13661         * lyxfind.C (LyXFind): fixed
13662         (SearchForward): ditto
13663         (SearchBackward): ditto
13664
13665         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13666         spurius drawing of the cursor in the main area.
13667
13668         * text2.C (status): small fix which could lead to a segfault!
13669         (clearSelection): remove unneeded BufferView param.
13670
13671 2001-08-01  André Pönitz <poenitz@gmx.net>
13672
13673         * lyxfunc.C: small change due to changed mathed interface
13674
13675 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13678
13679 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13680
13681         * lyxfunc.c: fail gracefully if file doesn't exist
13682
13683         * LyXSendto.C:
13684         * buffer.C:
13685         * lyxfunc.C:
13686         * BufferView_pimpl.C: IsDirWriteable() proto changed
13687
13688         * LyXView.C: fix updateWindowTitle() to store the last title
13689
13690 2001-07-31  Juergen Vigna  <jug@sad.it>
13691
13692         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13693         the font (wrong since using of Paragraph::highestFontInRange).
13694
13695         * paragraph.C (highestFontInRange): added a default_size parameter.
13696
13697         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13698         (setHeightOfRow): reformat
13699
13700 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * converter.[hC] + affected files: move to (inital-char)lowercase
13703         function names.
13704
13705         * ParagraphParameters.C (ParagraphParameters): remove commented code
13706
13707         * PainterBase.[Ch]: remove commented code
13708
13709         * LaTeXFeatures.h: add "bool floats" for float.sty
13710
13711         * LaTeXFeatures.C (LaTeXFeatures): init floats
13712         (require): handle float
13713         (getPackages): do it with floats
13714
13715 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * BufferView_pimpl.C (Dispatch): improve handling of
13718         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13719
13720         * commandtags.h: #include lyxfont.h here temporarily to avoid
13721         keybinding bug.
13722
13723         * bufferlist.h: include LString.h here.
13724
13725 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * text2.C (getStringToIndex): new method.
13728
13729 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13730
13731         * *: Reduced header file dependencies all over.
13732
13733 2001-07-30  Baruch Even  <baruch@lyx.org>
13734
13735         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13736
13737 2001-07-29  Baruch Even  <baruch@lyx.org>
13738
13739         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13740
13741 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13742
13743         * ParameterStruct.h (endif): add a default constructor to make
13744         sure that all variables is initialized.
13745
13746         * ParagraphParameters.C (ParagraphParameters): adjust
13747
13748 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13751         index; also, check that there is something to index, and that it
13752         does not span over several paragraphs.
13753         (doubleClick): use WHOLE_WORD_STRICT for double click.
13754
13755         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13756
13757         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13758         scheme.
13759
13760 2001-07-26  Baruch Even  <baruch@lyx.org>
13761
13762         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13763         an InsetFig figure, backwards compatible reading of old figure code.
13764
13765 2001-07-27  Juergen Vigna  <jug@sad.it>
13766
13767         * text2.C: font.realize function adaption.
13768
13769         * text.C (draw): add a warnings lyxerr text if needed.
13770
13771         * layout.C: font.realize function adaption.
13772
13773         * language.C: add inherit_language and implement it's handlings
13774
13775         * bufferview_funcs.C (StyleReset): remove language parameter from
13776         font creation (should be language_inherit now).
13777
13778         * bufferparams.C (writeFile): handle ignore_language.
13779
13780         * paragraph.C (getFontSettings): the language has to be resolved
13781         otherwise we have problems in LyXFont!
13782
13783         * lyxfont.C (lyxWriteChanges): added document_language parameter
13784         (update): removed unneeded language parameter
13785
13786         * paragraph.C (validate): fixed wrong output of color-package when
13787         using interface colors for certain fonts in certain environments,
13788         which should not seen as that on the final output.
13789
13790 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13791
13792         * BufferView_pimpl.C:
13793         * Thesaurus.h:
13794         * Thesaurus.C:
13795         * Makefile.am:
13796         * commandtags.h:
13797         * LyXAction.C: add thesaurus support
13798
13799         * lyxfind.h:
13800         * lyxfind.C: add "once" parameter, for thesaurus, to not
13801           move to the next match
13802
13803 2001-07-26  Juergen Vigna  <jug@sad.it>
13804
13805         * lyxfont.C (realize): honor ignore_language too!
13806         (resolved): ditto.
13807
13808         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13809
13810         * text.C (draw): one place more for ignore_language to not draw
13811         itself!
13812
13813 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13814
13815         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13816
13817 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13820         the minipage conversion problem.
13821
13822 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13825         insert an inset.
13826
13827 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * BufferView.h: don't forward declare WorkArea
13830
13831         * BufferView.C: don't include WorkArea.h
13832
13833 2001-07-25  André Pönitz <poenitz@gmx.net>
13834
13835         * commandtags.h:
13836         * LyXAction.C:
13837         * lyxfunc.C:  new LFUN 'math-space'
13838
13839         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13840
13841 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * text2.C (toggleInset): call open/close
13844
13845 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * lyxfunc.C (dispatch): add debug for the disabled case
13848
13849         * font.C (buttonText): make similar to rectText
13850
13851         * buffer.C (readInset): comment out parsing of insetlist and
13852         insttheorem
13853
13854         * PainterBase.C (rectText): small correction
13855
13856         * BufferView_pimpl.C: comment out insettheorem and insetlist
13857         * LyXAction.C: ditto
13858         * commandtags.h: ditto
13859
13860 2001-07-24  Juergen Vigna  <jug@sad.it>
13861
13862         * text.C (draw): honor the ignore_language.
13863
13864         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13865
13866 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13869         char inset.
13870
13871 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13872
13873         * lyxtext.h: remove unused (and unimplemented) methods
13874
13875 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13876
13877         * text.C (getVisibleRow): honor background color
13878
13879         * PainterBase.h:
13880         * Painter.h: remove default color argument for fillRectangle
13881
13882         * text.C (backgroundColor): new method
13883
13884 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * text.C (getVisibleRow): adjust
13887
13888         * font.[Ch] (rectText): new method, metrics
13889         (buttonText): new method, metrics
13890
13891         * PainterBase.[hC]: make rectText and buttonText always draw and take
13892         fewer paramteres.
13893
13894 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13895
13896         * ToolbarDefaults.C (read):
13897         * MenuBackend.C (read): allow escaping in all strings
13898
13899         * BufferView_pimpl.C (insertAndEditInset): new method.
13900         (Dispatch): use insertAndEditInset whenever appropriate.
13901
13902         * BufferView_pimpl.C (insertNote): removed
13903
13904         * BufferView_pimpl.C (smartQuote): new method, moved from
13905         BufferView; if an insetquote cannot be inserted, insert a '"'
13906         character instead.
13907
13908         * BufferView2.C: remove insertCorrectQuote();
13909
13910         * lyxfunc.C (getStatus): Add support for all remaingin
13911         inset-insert lfuns.
13912
13913         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13914
13915         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13916         command (necessary to pass " as parameter of self-insert.
13917
13918         * text.C (selectWordWhenUnderCursor):
13919         (selectWord): add word_location parameter
13920         (selectWordWhenUnderCursor): same + remove special code for word
13921         boundary.
13922         (selectNextWord): use kind() to guess type of insetspecialchar,
13923         not latex().
13924
13925         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13926         (insertErtContents): create ert insets as collapsed.
13927         (readInset): better compatibility code for Info inset.
13928
13929 2001-07-20  Juergen Vigna  <jug@sad.it>
13930
13931         * lyxfunc.C (dispatch): use always LyXFind now!
13932
13933         * text2.C (init): add a reinit flag so that the LyXText can be
13934         reinited instead of deleted and reallocated (used in InsetText).
13935
13936         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13937
13938         * text.C: ditto
13939
13940         * text2.C: ditto
13941
13942 2001-07-18  Juergen Vigna  <jug@sad.it>
13943
13944         * text.C (selectNextWord): handle insets inside inset by calling
13945         always the bv->text functions so that we can go up the_locking_inset!
13946
13947         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13948         in strange locations when inside an inset!
13949
13950         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13951         handling to include insets.
13952
13953         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13954
13955 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * LyXAction.C (init):
13958         * commandtags.h:
13959         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13960         LIGATURE_BREAK, since the name is so stupid.
13961
13962 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13963
13964         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13965         InsetInfos.
13966
13967         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13968
13969         * sp_form.[Ch]: remove.
13970
13971         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13972
13973         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13974         InsetInfo.
13975
13976         * src/buffer.C (readInset): ditto.
13977
13978 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13979
13980         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13981         menuSeparator(), endOfSentenceDot(), ldots() and
13982         hyphenationPoint(), which are therefore removed.
13983         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13984
13985         * LyXAction.C (init):
13986         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13987
13988         * paragraph.C (getWord): removed.
13989
13990         * BufferView_pimpl.C (Dispatch): use last word or selection for
13991         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13992
13993         * lyx_main.C (queryUserLyXDir): do not ask before creating
13994         user_dir, except if it has been named explicitely.
13995
13996 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13999         a document of zero size.
14000
14001 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14004         approriately in the c-tor and in require().
14005         (getPackages): output the appropriate LaTeX for natbib support.
14006
14007         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14008         variables "use_natbib" and "use_numerical_citations" when reading the
14009         LyX file.
14010         (readInset): read the various natbib cite commands.
14011         (validate): white-space change.
14012
14013         * bufferparams.[Ch]: new variables "bool use_natbib" and
14014         "bool use_numerical_citations".
14015         (writeFile): output them in the LyX file.
14016
14017 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14018
14019         * lyxfunc.C (getStatus): add support for all the inset insertion
14020         commands.
14021
14022         * text2.C (insertInset):
14023         * paragraph.C (insetAllowed):
14024         * BufferView_pimpl.C (insertInset): update to take in account the
14025         renaming of insertInsetAllowed
14026
14027         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14028
14029         * text2.C (getInset): new method. returns inset at cursor position.
14030
14031         * BufferView_pimpl.C (Dispatch): changes because of this.
14032
14033         * LyXAction.C (init): rename open-stuff to inset-toggle.
14034
14035         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14036
14037         * text2.C (toggleInset): renamed from openStuff; use
14038         Inset::open().
14039
14040 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14041
14042         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14043
14044         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14045
14046 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * buffer.C (readLyXformat2): Add filename to the error dialog
14049
14050 2001-07-18  Juergen Vigna  <jug@sad.it>
14051
14052         * tabular.C (GetCellNumber): put an assert here instead of the check!
14053
14054 2001-07-17  Juergen Vigna  <jug@sad.it>
14055
14056         * BufferView_pimpl.C (toggleSelection): adapted too.
14057
14058         * text.C (selectNextWord): adapted for use with insets.
14059         (selectSelectedWord): ditto
14060
14061 2001-07-17  Juergen Vigna  <jug@sad.it>
14062
14063         * sp_spell.C (PSpell): fix initialitation order.
14064
14065 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * paragraph.C: spacing
14068
14069 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14070
14071         * sp_spell.C: repair language selection for pspell
14072
14073 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074
14075         * lyxfunc.h: change more methods to begin with lower char.
14076
14077 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14078
14079         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14080         for unknown layouts.
14081
14082 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14083
14084         * buffer.C (readLyXformat2): Generate an error dialog if there are
14085         unknown layouts.
14086
14087 2001-07-16  Juergen Vigna  <jug@sad.it>
14088
14089         * sp_spell.C: always compile ISpell part.
14090
14091         * lyxrc.C: added use_pspell entry and it's handling.
14092
14093 2001-07-13  Juergen Vigna  <jug@sad.it>
14094
14095         * sp_spell.C: removed double includes.
14096
14097 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         Consistent use of Lsstream.h:
14100         * Lsstream.h: added using std::stringstream for consistencies sake.
14101
14102         * buffer.C: removed using std::stringstream
14103
14104         * lyxfont.C (stateText):
14105         * paragraph.C (asString):
14106         * text.C (selectNextWord, selectSelectedWord):
14107         * text2.C (setCounter):
14108         * vspace.C (asString, asLatexString):
14109         std::ostringstream -> ostringstream.
14110
14111 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14112
14113         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14114         * commandtags.h: add LFUN_HELP_ABOUTLYX
14115         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14116
14117 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14118
14119         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14120         cursorToggle()
14121         * lyx_gui_misc.C: remove spellchecker
14122         * lyxfunc.C: showSpellchecker
14123         * sp_base.h: added
14124         * sp_ispell.h: added
14125         * sp_pspell.h: added
14126         * sp_spell.C: added
14127         * sp_form.[Ch]: removed
14128         * spellchecker.[Ch]: removed
14129
14130 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14131
14132         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14133         is set.
14134         (simpleTeXSpecialChars): Simply print the input character without
14135         any special translation if pass_thru is set.
14136
14137         * layout.h: Added bool pass_thru to layout class for being able to
14138         implement pass through of a paragraph for Literate Programming.
14139
14140         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14141         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14142         * layout.C (Read): add "passthru" to list of layout tags and add
14143         code to set the pass_thru boolean when it is read.
14144
14145 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14146
14147         * trans_decl.h: remove allowed from KmodInfo
14148
14149         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14150         remove allowed code
14151         (Load): adjust
14152
14153         * paragraph_pimpl.C (erase): use boost::prior
14154
14155         * Painter.C (text): use data() instead of c_str() when length is
14156         also provided.
14157         * WorkArea.C (putClipboard): ditto
14158         * font.h (width): ditto
14159
14160         * BufferView2.C: use it-> instead of (*it). for iterators
14161         * texrow.C: ditto
14162         * paragraph_pimpl.C: ditto
14163         * paragraph.C: ditto
14164         * minibuffer.C: ditto
14165         * language.C: ditto
14166         * kbmap.C: ditto
14167         * encoding.C: ditto
14168         * counters.C: ditto
14169         * converter.C: ditto
14170         * chset.C: ditto
14171         * Variables.C: ditto
14172         * TextCache.C: ditto
14173         * MenuBackend.C: ditto
14174         * LyXAction.C: ditto
14175         * LColor.C: ditto
14176         * FloatList.C: ditto
14177         * DepTable.C: ditto
14178         * ColorHandler.C (LyXColorHandler): ditto
14179
14180 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14183
14184         * text2.C (openStuff): reintroduce this method (which had been
14185         nuked in NEW_INSETS frenzy).
14186
14187         * lyxfunc.C (Dispatch): when an action has not been handled, use
14188         its name in the error message, not its number.
14189
14190         * paragraph.C (inInset): change method name to begin with lowercase.
14191
14192         * undo_funcs.C:
14193         * text2.C: updates because of this.
14194
14195 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14196
14197         * ToolbarDefaults.C (add): add spaces in error message
14198
14199 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14202         (readLyXformat2): rename return_par to first_par, use lyxlex's
14203         pushToken and remove the manual push handling.
14204         (parseSingleLyXformat2Token): add another ert comp. variable:
14205         in_tabular, rename return_par to first_par. handle newlines better
14206
14207 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14208
14209         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14210
14211 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14212
14213         * text2.C (getParFromID): removed
14214
14215         * buffer.C (getParFromID): new method moved form lyxtext.
14216         * BufferView2.C (insertErrors): adjust
14217         (setCursorFromRow): adjust
14218         * BufferView_pimpl.C (restorePosition): adjust
14219         * lyxfunc.C (Dispatch): adjust
14220         * undo_funcs.C (textUndo): adjust
14221         (textRedo): adjust
14222         (textHandleUndo): adjust
14223         (textHandleUndo): adjust
14224
14225 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * buffer.C: up' the LYX_FORMAT
14228
14229         * lyxfont.h: turn NO_LATEX on as default
14230
14231         * buffer.C (insertErtContents): new methods of tex style compability.
14232         (parseSingleLyXformat2Token): use it several places.
14233         * tabular.C (OldFormatRead): and here
14234
14235 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * text2.C: remove some commented code.
14238         reindent file.
14239
14240         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14241         * trans.C: changes because of the above.
14242
14243 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * text2.C (setCounter): Fix counters bug with bibliography layout.
14246
14247 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14248
14249         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14250         own member functions
14251         (simpleTeXSpecialChars): ditto
14252
14253 2001-07-06  Juergen Vigna  <jug@sad.it>
14254
14255         * a lot of files: changed the access to LyXText::status and the
14256         call of undo-functions.
14257
14258         * undo.[Ch]: added a inset_id to the undo informations.
14259
14260         * undo_funcs.[Ch]: added and moved here all undo functions.
14261
14262         * lyxtext.h: give the status enum a weight, made status_ a private
14263         variable and made accessor functions for it, removed the whole bunch
14264         of undo-functions as they are now in their own file, make some
14265         functions publically available. Added function ownerParagraph with
14266         int parameter.
14267
14268         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14269         made InInset() a const function, added getParFromID() function.
14270
14271         * buffer.[Ch]: added const version for inset_iterator functions,
14272         added getInsetFromID() function.
14273
14274         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14275         changed undo functions for new version.
14276
14277 2001-07-05  Juergen Vigna  <jug@sad.it>
14278
14279         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14280         unknow mechanism does not call the proper constructor but only this
14281         one also if I request the other!?
14282
14283 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14284
14285         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14286
14287         * text2.C (LyXText): use initialization lists.
14288
14289         * lyxtext.h (Selection): initialize set_ and mark_
14290         (init): remove method
14291
14292 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14295
14296 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * screen.[Ch]: change method names to begin with lowercase
14299
14300         * BufferView_pimpl.C (updateScrollbar): simplify further and
14301         hopefully make it a bit faster.
14302
14303 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14306         calling directly xforms functions.
14307
14308         * Painter.C (Painter):
14309         * lyx_cb.C (MenuWrite):
14310         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14311         fl_display.
14312
14313         * lyx_gui.C: remove bogus guiruntime extern declaration.
14314
14315 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14318         in NEW_INSETS
14319         (redoDrawingOfParagraph): ditto
14320         (redoParagraphs): ditto
14321         (cutSelection): don't create a object for CutAndPaste use the
14322         static method directly
14323         (pasteSelection): ditto
14324
14325         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14326         LyXview (+ rename)
14327
14328 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * modifications to some other files because of this.
14331
14332         * Makefile.am (lyx_SOURCES): add XFormsView
14333
14334         * XFormsView.[Ch]: new files
14335
14336         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14337         the main window. Move the gui dependent stuff to XFormsView
14338
14339 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14340
14341         * tabular.C (GetCellInset): update cur_cell also in the row/col
14342         version of this function.
14343
14344         * lyxfunc.C: no need to include figure_form.h here.
14345
14346         * FontLoader.h:
14347         * lyxfunc.h:
14348         * lyxscreen.h:
14349         * text2.C:
14350         * lyxvc.C: no need to include forms.h here.
14351
14352 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14353
14354         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14355
14356         * lyxfunc.C (Dispatch):
14357         * Spacing.C (set):
14358         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14359         constructor argument.
14360
14361 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * paragraph.C (Paragraph): dont't clear, and just set layout.
14364         (makeSameLayout): use params's copy contructor.
14365
14366         * ParagraphParameters.[Ch] (makeSame): delete method
14367
14368 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * Variables.[Ch]: fix indentation, rename set to isSet
14371
14372 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * lyxfunc.C (Dispatch): fix typo
14375
14376 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14379         upper_bound.
14380
14381         * bufferlist.C: include assert.h for emergencyWrite().
14382
14383 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14386           give up at last (bug #425202) !
14387
14388 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * lyx_gui_misc.C:
14391         * sp_form.h:
14392         * sp_form.C:
14393         * spellchecker.h:
14394         * spellchecker.C: strip spellchecker options and bring up
14395           preferences tab instead
14396
14397 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14400         the istringstream constructor
14401
14402 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * paragraph.C (getLayout): fix return value
14405
14406         * paragraph.h: do not declare getLayout as inline.
14407
14408         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14409
14410 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * lyxcursor.h (operator<): new func
14413         (operator>): new func
14414         (operator>=): new func
14415         (operator<=): new func
14416
14417         * text.C (changeCase): use selection.start and selection.end
14418         (changeRegionCase): require from to be <= to. Require par to be a
14419         valid paragraph.
14420
14421         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14422
14423 2001-06-27  Juergen Vigna  <jug@sad.it>
14424
14425         * text.C (cursorLeftOneWord): changed to return the cursor and added
14426         overlay with BufferView * parameter which calls this one.
14427         (getWord): added
14428         (selectWord): use new getWord function.
14429         (changeCase): renamed from changeWordCase as and extended to work
14430         also on selections.
14431
14432         * lyxtext.h: added enum word_location
14433
14434         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14435         changeCase as this operates now also on selections.
14436
14437 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14438
14439         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14440
14441         * many files: send debug output to Debug::INFO instead of
14442         Debug::ANY.
14443
14444         * converter.C (View):
14445         (Convert):
14446         (Move): send debug output to Debug::FILES instead of console.
14447
14448 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14449
14450         * lyxfunc.C (getStatus): use func_status
14451
14452         * func_status.h: new header, describing the results of
14453         LyXFunc::getStatus;
14454
14455         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14456         LFUN_MATH_HALIGN.
14457
14458 2001-06-25  The LyX Project  <jug@sad.it>
14459
14460         * buffer.C (sgmlOpenTag):
14461         (sgmlCloseTag):
14462         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14463
14464 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * text2.C: remove some dead code
14467
14468         * tabular.C (GetCellInset): store the last cell checked (gotten)
14469
14470         * tabular.h: add the helper for the speedup
14471
14472         * lyxtext.h: remove some dead code
14473
14474 2001-06-26  The LyX Project  <Asger>
14475
14476         * paragraph.C: Change export to LaTeX of alignment to
14477         \begin{center} and family for better roundtrip work with reLyX.
14478
14479         * Tune the math drawing a bit.
14480
14481 2001-06-25  The LyX Project  <Asger>
14482
14483         * LColor.C (LColor): New color for math background. New color
14484         for buttons.
14485
14486 2001-06-25  The LyX Project  <jug@sad.it>
14487
14488         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14489
14490         * lyxfunc.C (Open):
14491         * bufferlist.C (newFile): do not restrict to files ending with
14492         .lyx
14493
14494         * BufferView_pimpl.C (MenuInsertLyXFile):
14495
14496 2001-06-24  The LyX Project  <jug@sad.it>
14497
14498         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14499         of compare_no_case
14500
14501 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * lyxtext.h: rename most methods to begin with a small char.
14504         Lots of changes because of this.
14505
14506         * paragraph.C (Paragraph): do not call fitToSize
14507         (erase): call Pimpl::erase
14508         (insertChar): call Pimpl::insertChar
14509         (insertInset): call Pipl::insertInset
14510         (breakParagraph): do not call fitToSize
14511         (breakParagraphConservative): do not call fitToSize
14512         (fitToSize): remove method
14513
14514         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14515
14516 2001-06-24  The LyX Project  <Asger>
14517
14518         * Fix Qt compilation^2
14519
14520 2001-06-24  The LyX Project  <jug@sad.it>
14521
14522         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14523         depthHook(getDepth()-1).
14524
14525         * paragraph.h:
14526         * ParagraphParameters.h:
14527         * ParameterStruct.h: change type of depth to unsigned int ==
14528         depth_type. Many adaptations to other files before of that.
14529
14530 2001-06-24  The LyX Project  <Asger>
14531
14532         * Fix Qt compilation.
14533
14534 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * paragraph.h: renamed several methods to begin with small letter.
14537         several changes to many parts of the code because of this.
14538
14539 2001-06-23  The LyX Project  <jug@sad.it>
14540
14541         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14542         rewritten to discard all double spaces when KeepEmpty is off
14543         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14544         to only handle newlines but not fiddle with spaces and friends.
14545
14546         * lyxfunc.C (MenuNew): when doing 'new from template', use
14547         template_path as default directory
14548
14549 2001-06-23  The LyX Project  <Asger>
14550
14551         * Clean-up of header file includes all over
14552         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14553
14554 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * paragraph.h: renamed from lyxparagraph.h
14557
14558 2001-06-23  Asger  <lyx@violet.home.sad.it>
14559
14560         * Buffer.h: Removed Buffer::resize
14561         * BufferList.h: Removed BufferList::resize
14562         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14563         the document lazily when we change the width, or the font settings.
14564
14565 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14568
14569 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * buffer.h: remove out of date comment
14572
14573 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * lyxscreen.h:
14576         * screen.C: fix "theoretical" GC leak
14577
14578 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * LaTeX.C (scanAuxFile):
14581         (deplog): remove trailing \r when reading stream (useful under
14582         win32)
14583
14584 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14585
14586         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14587         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14588         and BufferView::theLockingInset(Inset*), so should use them and not
14589         access bv_->text->the_locking_inset directly.
14590
14591         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14592
14593 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14594
14595         * Makefile.am:
14596         * tex-defs.h: remove old unused file
14597
14598 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * BufferView_pimpl.C: fix typo, remove minibuffer message
14601           when buffer has loaded
14602
14603 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14604
14605         * lyxfunc.C (Dispatch): use stringstream
14606         (MenuNew): use stringstream
14607         (Open): use stringstream
14608
14609         * importer.C (Import): use stringstream
14610
14611         * bufferview_funcs.C (CurrentState): use stringstream
14612
14613         * LaTeX.C (run): use stringstream
14614
14615         * BufferView_pimpl.C (savePosition): use stringstream
14616         (restorePosition): use stringstream
14617         (MenuInsertLyXFile): use stringstream
14618
14619 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14620
14621         * BufferView.C:
14622         * Bullet.C:
14623         * ColorHandler.C:
14624         * FontInfo.C:
14625         * FontLoader.C:
14626         * LColor.C:
14627         * LaTeXFeatures.C:
14628         * Painter.C:
14629         * gettext.C:
14630         * lyx_gui_misc.C:
14631         * lyxserver.C:
14632         * vspace.C: removed // -*- C++ -*- as first line.
14633
14634         * lyxfind.h:
14635         * version.h: added // -*- C++ -*- as first line.
14636
14637 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14640
14641         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14642         of string
14643
14644 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14645
14646         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14647         of floats.
14648
14649 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14650
14651         * gettext.C: include LString.h even when --disable-nls is on.
14652
14653 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14654
14655         * converter.h (Get): changed argument type from int to
14656         FormatList::size_type to avoid unnecessary conversion.
14657
14658         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14659         before using it.
14660
14661 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * gettext.h: include LString.h even when --disable-nls is on.
14664
14665 2001-06-07  Juergen Vigna  <jug@sad.it>
14666
14667         * text.C (BreakAgain): subst spaces with tabs.
14668
14669         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14670         (resizeInsetsLyXText): set force on resizeLyXText.
14671
14672 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * gettext.h (gettext_init):
14675         (locale_init): use a real definition instead of a macro
14676
14677 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14678
14679         * Bufferview_pimpl.C:
14680         * LColor.h:
14681         * LColor.C: further lcolor tidies
14682
14683 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * BufferView_pimpl.C (updateScrollbar): simplify.
14686
14687         * BufferView2.C: don't include insets/insetinfo.h, change
14688         prototype for insertInset and call the Pimpl version. let
14689         updateInset call Pimpl version.
14690
14691         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14692         gotoInset to BufferView::Pimpl
14693
14694 2001-06-01  Juergen Vigna  <jug@sad.it>
14695
14696         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14697         inside a LockingInset (is the update needed at all?).
14698
14699 2001-05-31  Juergen Vigna  <jug@sad.it>
14700
14701         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14702         here not the old one otherwise how should we compare it afterwards
14703         if it's the same!
14704
14705 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * lyxfont.C:
14708         * tabular.C:
14709         * tabular-old.C:
14710         * FontInfo.C: bring C functions into global namespace when
14711         necessary
14712
14713 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * LString.h: make sure config.h has been loaded before LString.h.
14716
14717         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14718         (one for each char read by EatLine!).
14719
14720         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14721         variables.
14722
14723 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14726         to the same as the par we break from
14727
14728 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14729
14730         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14731
14732         * MenuBackend.C (expand): also create menu entries for wide
14733         versions of the floats.
14734
14735         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14736
14737         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14738
14739         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14740         frontends/Makefile.am
14741
14742         * text2.C: adjust
14743         * text.C: adjust
14744
14745
14746         * tabular.C (getTokenValue): add std::
14747
14748         * tabular-old.C (getTokenValue): add std::
14749         (getTokenValue): ditto
14750         (getTokenValue): ditto
14751
14752         * screen.C (ToggleSelection): adjust
14753
14754         * lyxtext.h: put selection cursors inside a Selection struct.
14755
14756         * lyxfunc.C (moveCursorUpdate): adjust
14757
14758         * lyxfont.C (latexWriteStartChanges): add std::
14759
14760         * lyxfind.C: adjust
14761
14762         * font.h: delete with(char const *, LyXFont const &)
14763
14764         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14765
14766         * FontInfo.C (getFontname): add std::
14767
14768         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14769         (workAreaButtonPress): adjust
14770         (tripleClick): adjust
14771         (update): adjust
14772         (moveCursorUpdate): adjust
14773         (Dispatch): adjust
14774
14775         * BufferView2.C (gotoInset): adjust
14776
14777 2001-05-30  Juergen Vigna  <jug@sad.it>
14778
14779         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14780         to check pspell I add this as default as I now have new pspell
14781         libraries and they seem to use this.
14782
14783 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * text2.C (CutSelection): make the cursor valid before the call to
14786         ClearSelection.
14787
14788 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14791         relied on 0 terminated strings and other horrors. Bug found due to
14792         the new assert in lyxstring!
14793
14794         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14795         KP_ keys.
14796
14797 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14800         to latinkeys.bind.
14801
14802         * lyxfunc.C (processKeySym): change method of getting to the
14803         self-insert char.
14804
14805         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14806         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14807         * BufferView_pimpl.[Ch]: here as private methods.
14808
14809 2001-05-28  Juergen Vigna  <jug@sad.it>
14810
14811         * text.C (SetHeightOfRow): added the update() call again as it is
14812         needed to initialize inset dimensions!
14813
14814 2001-05-16  Juergen Vigna  <jug@sad.it>
14815
14816         * text2.C (SetCharFont): Add new function with BufferView * and
14817         bool toggleall parameters for setting insets internal fonts.
14818         (SetFont): Freeze the undo as we may change fonts in Insets and
14819         all this change should be inside only one Undo!
14820
14821         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14822         setting font's in insets as for them we have the SetFont function!
14823
14824 2001-05-15  Juergen Vigna  <jug@sad.it>
14825
14826         * text2.C (ClearSelection): to be sure we REALLY don't have any
14827         selection anymore!
14828
14829         * tabular.C (TeXCellPreamble): fixed the left border problem for
14830         multicolumn cells.
14831
14832 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14835         dependancy file
14836
14837 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14838
14839         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14840         LFUN_BREAKPARAGRAPH.
14841
14842         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14843         help test to "internal only", similar for LFUN_INSERT_URL
14844
14845         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14846         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14847         auto_region_delete and deadkeys.
14848
14849 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14850
14851         * LColor.h:
14852         * LColor.C: remove some dead entries, tidy a little
14853
14854 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14857         commented code.
14858         (Dispatch): implement LFUN_ESCAPE
14859
14860         * commandtags.h: add LFUN_ESCAPE
14861
14862         * LyXAction.C (init): add entry for LFUN_ESCAPE
14863
14864         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14865         Remove commented code.
14866         (insertNote): moved here
14867         (open_new_inset): moved here
14868
14869         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14870         BufferView_pimpl
14871
14872 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14873
14874         * kbmap.C (findbinding): clean it up and make it work correctly.
14875
14876         * lyx_main.C (init): do not pass argc and argv as parameters
14877
14878 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14879
14880         * buffer.C: fix path for OS/2 & Win32
14881
14882         * lyx_gui.C:
14883         * lyx_main:
14884         * lyx_main.C: Added os:: class.
14885
14886         * os2_defines.h: update
14887
14888 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14889
14890         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14891         better by trying again with reduced state.
14892
14893 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * lyxrc.C (read): print error about invalid key sequence only when
14896         debugging (because not all latinX keysyms are known to some X
14897         servers)
14898
14899         * kbsequence.C (getiso): add a few std:: qualifiers
14900         (getiso): comment out extra return statement.
14901
14902 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14905         handling.
14906         (Dispatch): enhance the accent inset a bit. (not perfect)
14907
14908 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14911
14912 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * bufferlist.C (emergencyWrite): fix assert() call
14915
14916 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14917
14918         * text.C (InsertChar): Added trivial patch to only send the "you
14919         can not do multiple spaces this way" message once during a
14920         session.
14921
14922 2001-05-08  Baruch Even  <baruch@lyx.org>
14923
14924         * Makefile.am: Changed order of libraries to get LyX to link properly
14925         with the gnome frontend.
14926
14927 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14928
14929         * LaTeXFeatures.h: add a std:: qualifier
14930
14931 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14932
14933         * paragraph.C (String): use stringstream
14934
14935 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14936
14937         * paragraph.C (writeFile): remove footflag arg
14938
14939         * buffer.C (makeLaTeXFile): use stringstream
14940         (latexParagraphs): remove footnot gurba
14941
14942         * LaTeXFeatures.C (getPackages): use stringstream
14943         (getMacros): likewise
14944         (getTClassPreamble): likewise
14945         (getFloatDefinitions): new method
14946
14947         * paragraph.C (writeFile): reindent
14948         (Erase): reindent
14949
14950         * WorkArea.h: revert the xpos + etc changes.
14951
14952         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14953
14954         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14955
14956         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14957         (pasteSelection): likewise
14958         * text2.C (CreateUndo): likewise
14959
14960 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * minibuffer.C (peek_event): temporarily reduce the functionality
14963         of the minibuffer (to allow args on lfuns)
14964
14965         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14966         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14967
14968         * buffer.C (readInset): add compability reading of old float
14969         lists, add reading of new style float list.
14970         (readInset): avoid reevaluation of inscmd.getCmdName()
14971         (getLists): reindent
14972
14973         * MenuBackend.C (MenuItem): implement parsing of
14974         md_floatlistinsert and md_floatinsert.
14975         (expand::LastFiles): move initalizaton of iterators out of loop,
14976         avoid reevaluation.
14977         (expand::Documents): introduce typdedef vector<string> Strings,
14978         and use it.
14979         (expand::ExportFormats): introduce typedef vector<Format const *>
14980         Formats, and use it.
14981         (expand): implement FloatListInsert and FloatInsert.
14982
14983         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14984         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14985         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14986
14987         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14988         handling.
14989         (Dispatch::LFUN_FLOAT_LIST): implement
14990
14991 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14992
14993         * LaTeX.C (run): Fix problem with --export code.
14994
14995 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14996
14997         * BufferView.[Ch] (workarea): removed.
14998         (getClipboard) new method; wrapper for workarea()->getClipboard()
14999
15000         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15001         bug.
15002
15003         * WorkArea.h (width, height, xpos, ypos): These methods all
15004         returned the dimensions of the work_area sub-area of WorkArea,
15005         resulting in a position error if the WorkArea were resized. Now
15006         return the dimensions of the entire WorkArea.
15007
15008         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15009
15010 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * LaTeX.C (deplog): correct the syntax of regex reg1
15013
15014 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * undo.C: remove !NEW_INSETS cruft
15017
15018 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * text2.C: remove !NEW_INSETS cruft
15021
15022         * text.C: remove !NEW_INSETS cruft
15023
15024         * tabular.C: remove !NEW_INSETS cruft
15025
15026         * spellchecker.C: remove !NEW_INSETS cruft
15027
15028         * lyxtext.h: remove !NEW_INSETS cruft
15029
15030         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15031
15032         * lyxfunc.C: remove !NEW_INSETS cruft
15033
15034         * lyxfind.C: remove !NEW_INSETS cruft
15035
15036         * lyx_cb.C: remove !NEW_INSETS cruft
15037
15038         * figureForm.C: remove  !NEW_INSETS cruft
15039
15040         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15041
15042         * buffer.[Ch]: remove !NEW_INSETS cruft
15043
15044         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15045
15046         * CutAndPaste.C: remove !NEW_INSETS cruft
15047
15048         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15049
15050         * BufferView2.C: remove !NEW_INSETS cruft
15051
15052         * BufferView.h: remove !NEW_INSETS cruft
15053
15054 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * Lsstream.h: include LString.h before the sstream headers to
15057         fix problem with gcc 2.95.3 and lyxstring
15058
15059 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * lyx_main.C: add using directives when needed for C functions
15062         declared in std:: namespace.
15063
15064 2001-04-27  Juergen Vigna  <jug@sad.it>
15065
15066         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15067         (SetHeightOfRow): comment out the update call should not be needed!
15068
15069 2001-04-13  Juergen Vigna  <jug@sad.it>
15070
15071         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15072         (LyXTabular): tried to minimize operator= operations (and realized
15073         hopfully Lars wish).
15074
15075 2001-04-27  Juergen Vigna  <jug@sad.it>
15076
15077         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15078
15079 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15082
15083         * buffer.C (readInset): hack to make listof algorithm work
15084
15085         * BufferView_pimpl.C: hack to make listof algorithm work
15086
15087 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * LyXAction.C: removed all !NEW_INSETS cruft
15090         (init): moved lfun_item in method
15091
15092         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15093
15094 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15095
15096         * BufferView2.C (theLockingInset): white space.
15097
15098 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * minibuffer.C: include <iostream>
15101
15102         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15103
15104         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15105
15106         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15107
15108         * text.[Ch] (TransposeChars): new method
15109
15110 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15111
15112         * call message directly through LyXView instead of through LyXFunc
15113         * BufferView2.C: adjust
15114         * BufferView_pimpl.C: adjust
15115         * FontLoader.C: adjust
15116         * buffer.C: adjust
15117         * bufferview_funcs.C: adjust
15118         * converter.C: adjust
15119         * figureForm.C: adjust
15120         * importer.C: adjust
15121         * lyx_cb.C: adjust
15122         * lyx_gui_misc.C: adjust
15123         * lyxfunc.C: adjust
15124         * lyxvc.C: adjust
15125         * text2.C: adjust
15126         + more files in subdirs
15127
15128         * lyxparagraph.h (size): move up int file
15129         (GetLayout): ditto
15130
15131         * adjust all uses of Assert to lyx::Assert.
15132
15133         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15134         lyxfunctional in namespace lyx
15135         * layout.C (hasLayout): ditto
15136         (GetLayout): ditto
15137         (GetLayout): ditto
15138         (delete_layout): ditto
15139         (NumberOfClass): ditto
15140         * converter.C (GetFormat): ditto
15141         (GetNumber): ditto
15142         (Add): ditto
15143         (Delete): ditto
15144         (SetViewer): ditto
15145         * bufferlist.C (getFileNames): ditto
15146         (emergencyWriteAll): ditto
15147         (exists): ditto
15148         (getBuffer): ditto
15149         * MenuBackend.C (hasSubmenu): ditto
15150         (hasMenu): ditto
15151         (getMenu): ditto
15152         * BufferView_pimpl.C (getInsetByCode): ditto
15153
15154 2001-04-18  Juergen Vigna  <jug@sad.it>
15155
15156         * vspace.C (asLatexString): fixed the 100% problem.
15157
15158 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * lyxfunc.C (Dispatch):
15161         * minibuffer.C:
15162         * minibuffer.h: add a few std:: qualifiers
15163
15164 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * minibuffer.[Ch]: reimplement so that commands is initiated and
15167         run from lyxfunc, simplified som handling, and made the completion
15168         and history code for complete. wip.
15169
15170         * lyxfunc.C (processKeySym): call message
15171         (miniDispatch): new temporary method
15172         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15173         (LFUN_MESSAGE): implement
15174         (LFUN_MESSAGE_PUSH): implement
15175         (LFUN_MESSAGE_POP): implement
15176         (initMiniBuffer): the initial/defualt minibuffer message.
15177
15178         * lyxfont.[Ch]: inline some more getters
15179
15180         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15181
15182         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15183
15184         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15185         (AutoSave): use LFUN_MESSAGE
15186         (Reconfigure): ditto
15187
15188         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15189
15190         * figureForm.C: use LFUN_MESSAGE
15191
15192         * converter.C (runLaTeX): use LFUN_MESSAGE
15193
15194         * bufferview_funcs.C: use LFUN_MESSAGE
15195         (Melt): ditto
15196         (changeDepth): ditto
15197
15198         * bufferparams.h: use boost::
15199
15200         * bufferlist.h: inherit privately from noncopyable
15201
15202         * bufferlist.C (loadLyXFile): remove some commented code.
15203
15204         * buffer.C (runChktex): use LFUN_MESSAGE
15205
15206         * ShareContainer.h: inherit privately from noncopyable
15207
15208         * ParagraphParameters.[hC] (depth): inline it.
15209
15210         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15211         methods.
15212         (message): new method
15213         (messagePush): ditto
15214         (messagePop): ditto
15215         (show): init minibuffer
15216         (showState): direct call
15217
15218         * LaTeX.[Ch]: inherit privately from noncopyable
15219         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15220         instead of WriteStatus.
15221
15222         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15223
15224         * BufferView_pimpl.C (buffer): don't init minibuffer
15225         (workAreaButtonPress): use LFUN_MESSAGE
15226         (workAreaButtonRelease): ditto
15227         (savePosition): ditto
15228         (restorePosition): ditto
15229         (MenuInsertLyXFile): ditto
15230         (workAreaExpose): don't init minibuffer
15231         (update): remove commented code, simplify
15232
15233         * BufferView2.C (openStuff): use LFUN_MESSAGE
15234         (toggleFloat): ditto
15235         (menuUndo): ditto
15236         (menuRedo): ditto
15237         (copyEnvironment): ditto
15238         (pasteEnvironment): ditto
15239         (copy): ditto
15240         (cut): ditto
15241         (paste): ditto
15242         (gotoInset): ditto
15243         (updateInset): remove some commented code
15244
15245         * lastfiles.h: inherit privately from noncopyable
15246         * layout.h: ditto
15247         * lyx_gui.h: ditto
15248         * lyx_main.h: ditto
15249         * lyxlex.h: ditto
15250         * lyxlex_pimpl.h: ditto
15251
15252         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15253         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15254         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15255
15256         * LyXAction.h: inherit privately from noncopyable, add methods
15257         func_begin, func_end, returning iterators to the func map.
15258
15259         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15260         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15261         (func_begin): new method
15262         (func_end): new method
15263
15264         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15265         and not)
15266         (copySelection): ditto
15267         (pasteSelection): ditto
15268
15269         * BufferView.C: whitespace change
15270         * BufferView.h: inherit privately from noncopyable
15271
15272 2001-04-16  Allan Rae  <rae@lyx.org>
15273
15274         * tabular-old.C (l_getline):
15275         * spellchecker.C (sc_check_word):
15276         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15277         an unrecognised preprocessor directive.  So ensure they're wrapped.
15278
15279 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15280
15281         * src/exporter.C (Export): Give an error message when path to file
15282         contains spaces.
15283
15284 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15285
15286         * LaTeX.C (deplog): Always check that foundfile exists.
15287
15288 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * lyx_main.h:
15291         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15292
15293 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * tabular.[Ch] (getLabelList): implement new method
15296
15297         * minibuffer.h: comment ouf setTiimer
15298
15299         * minibuffer.C (ExecutingCB): constify res
15300         (peek_event): constify s
15301         (Set): constify ntext
15302         (Init): constify nicename
15303
15304         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15305
15306         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15307         (savePosition): use two params to Minibuffer::Set
15308         (restorePosition): ditto
15309
15310 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * lyx_main.C: include language.h
15313
15314         * Makefile.am (lyx_main.o): add language.h
15315
15316 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * exporter.C:
15319         * paragraph.C:
15320         * screen.C:
15321         * tabular.C:
15322         * CutAndPaste.C: include gettext.h
15323
15324         * lyxfont.h: remove old hack with ON and OFF.
15325
15326         * lyxparagraph.h:
15327         * lyxfont.h: do not include language.h...
15328
15329         * BufferView2.C:
15330         * LaTeXFeatures.C:
15331         * Painter.C:
15332         * bufferview_funcs.C:
15333         * font.C:
15334         * lyxfont.C:
15335         * text.C:
15336         * text2.C:
15337         * trans_mgr.C:
15338         * paragraph.C: ... but do it here instead
15339
15340 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15341
15342         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15343
15344         * tabular.C: small reformat
15345
15346         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15347         NEW_INSETS version
15348         (GetChar): ditto
15349         (BreakParagraph): ditto
15350         (SetOnlyLayout): ditto
15351         (SetLayout): ditto
15352
15353         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15354         with one arg less.
15355
15356         * lastfiles.C: removed most using decl, add std:: where needed
15357
15358         * buffer.C: ws changes
15359
15360         * MenuBackend.C (class compare_format): put into anon namespace
15361         (expand): constify label, names, action, action2
15362         (expand):
15363
15364         * text.C (SingleWidth): constify font
15365         (IsBoundary): constify rtl2
15366         (GetVisibleRow): constify ww
15367
15368         * LaTeX.C (deplog): constify logfile
15369
15370         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15371         start_x, end_x
15372         (workAreaExpose): constify widthChange, heightChange
15373
15374         * lyxrow.C (par): moved
15375         (height): moved
15376         (next): moved
15377         * lyxrow.h: as inlines here
15378
15379         * lyxfont.h (shape): moved from lyxfont.C
15380         (emph): moved from lyxfont.C
15381
15382         * lyxfont.C (LyXFont): use initialization list for all
15383         constructors
15384         (shape): move to lyxfont.h as inline
15385         (emph): move to lyxfont.h as inline
15386
15387
15388 2001-04-04  Juergen Vigna  <jug@sad.it>
15389
15390         * vspace.C: had to include stdio.h for use of sscanf
15391
15392 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15393
15394         * BufferView.h:
15395         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15396         independent of xforms.
15397
15398 2001-04-02  Juergen Vigna  <jug@sad.it>
15399
15400         * spellchecker.C: fixed namespace placing!
15401
15402 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15403
15404         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15405         the LyXParagraph * is 0.
15406
15407 2001-03-29  Juergen Vigna  <jug@sad.it>
15408
15409         * vspace.C: added support for %, c%, p%, l%.
15410         (stringFromUnit): added helper function.
15411         (asLatexString): changed to give right results for the %-values.
15412
15413         * buffer.C: convert the widthp in a width%.
15414
15415 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15416
15417         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15418         figureForm.[Ch].
15419
15420         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15421         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15422
15423         * lyx_cb.[Ch]: see above.
15424
15425         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15426         form1.[Ch].
15427
15428         * form1.[Ch]:
15429         * lyx.[Ch]: replaced by figure_form.[Ch].
15430
15431         * lyx_gui.C:
15432         * lyx_gui_misc.C:
15433         * lyxfunc.C: changed headers associated with above changes.
15434
15435 2001-03-27  Juergen Vigna  <jug@sad.it>
15436
15437         * BufferView_pimpl.C: set the temporary cursor right!
15438
15439 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15440
15441         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15442
15443 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15444
15445         * LString.h: removed "using std::getline"!
15446
15447         * BufferView_pimpl.C (Dispatch): changes due to changes in
15448         InsetInclude::Params.
15449
15450         * buffer.C (tag_name): removed redundant break statements as they were
15451         producing lots of warnings with my compiler.
15452
15453 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * LString.h: add "using std::getline" when using the real <string>.
15456
15457 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15458
15459         * buffer.C: removed bitset usage.
15460         PAR_TAG moved to an anonymous name space.
15461         (tag_name): new funtion, also in the anonymous namespace.
15462         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15463         (makeDocBookFile): clean code. Completed transition from string arrays
15464         to string vectors.
15465         (SimpleDocBookOnePar): code clean.
15466
15467 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15468
15469         * tabular.C: add some comments.
15470
15471 2001-03-22  Juergen Vigna  <jug@sad.it>
15472
15473         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15474         compatibility read a bit and fixed bug with minipage in different
15475         depth.
15476
15477 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15478
15479         * buffer.C (pop_tag): removed.
15480         (push_tag): removed.
15481         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15482         array replaced with vector. Added support for CDATA sections.
15483         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15484         at any nest level.
15485         (makeDocBookFile): XML conformant declaration of CDATA section,
15486         fixed bug related to <emphasis> in the first paragraph char.
15487         (sgmlOpenTag): exclude empty tags.
15488         (sgmlCloseTag): ditto.
15489
15490         * buffer.h (pop_tag): removed.
15491         (push_tag): removed.
15492
15493 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15494
15495         * language.h (Languages): added size_type and size().
15496
15497 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15498
15499         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15500         response on compability reading of minipages. One probliem is that
15501         the old usage of minipages was «flertydig»
15502
15503         * several files here and in subdirs: don't use static at file
15504         scope use anon namespaces instead.
15505
15506 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15507
15508         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15509         LaTeX output. This is necessary for Literate document
15510         processing.
15511
15512 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15513
15514         * buffer.C: insert hfill when needed.
15515
15516         * tabular.C (l_getline): use string::erase, small whitespace change.
15517
15518         * BufferView_pimpl.C: try the anon namespace.
15519         * WorkArea.C: ditto
15520
15521 2001-03-16  Juergen Vigna  <jug@sad.it>
15522
15523         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15524         otherwise it won't open options-dialogs.
15525
15526         * buffer.C: honor pextraWidth(p) on converting minipages.
15527
15528         * tabular.C (l_getline): changed the functions to strip trailing \r.
15529
15530 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * BufferView_pimpl.C:
15533         * minibuffer..C: added "using SigC::slot" declaration.
15534
15535 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15536
15537         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15538
15539         * text2.C: ditto
15540
15541         * text.C: ditto
15542
15543         * paragraph.C: ditto
15544
15545         * lyxtext.h: NO_PEXTRA
15546
15547         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15548
15549         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15550         * ParameterStruct.h: ditto
15551         * ParagraphParameters.h: ditto
15552         * lyxparagraph.h: ditto
15553
15554 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15555
15556         * buffer.C: add compability for minipage alignment.
15557         (latexParagraphs): remove unwanted pextra check.
15558
15559         * several files: remove CXX_WORKING_NAMESPACES
15560
15561         * buffer.C (pop_tag): tie is in namespace boost
15562
15563         * BufferView.h: noncopyable is in namespace boost
15564         * lyxlex.h: ditto
15565         * lyx_main.h: ditto
15566         * lyx_gui.h: ditto
15567         * layout.h: ditto
15568         * lastfiles.h: ditto
15569         * bufferlist.h: ditto
15570         * ShareContainer.h: ditto
15571         * LyXView.h: ditto
15572         * LyXAction.h: ditto
15573         * LaTeX.h: ditto
15574
15575 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * Merging changes from BRANCH_MVC back into HEAD.
15578
15579         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15580
15581 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15582
15583         * BufferView_pimpl.C: change from intl.C
15584
15585         * combox.h:
15586         * combox.C:
15587         * Makefile.am: move combox.*
15588
15589         * form1.h:
15590         * form1.C:
15591         * lyx_gui.C:
15592         * intl.h:
15593         * intl.C: remove dialog (covered by prefs)
15594
15595 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15596
15597         * lyxfunc.C (Dispatch): removed redundant break statement.
15598
15599 2001-03-14  Juergen Vigna  <jug@sad.it>
15600
15601         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15602
15603 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15604
15605         * buffer.C: add hack to fix compability reading of minipages.
15606
15607 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15608
15609         * buffer.C (getLists): Cleanup.
15610
15611 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * lyxfont.C (update): don't honor toggleall on font size.
15614
15615 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * bmtable.c:
15618         * bmtable.h:
15619         * Makefile.am: moved to frontends/xforms/
15620
15621         * lyx_gui_misc.C:
15622         * lyxfunc.C:
15623         * BufferView_pimpl.C: changes for moved mathpanel
15624
15625 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15626
15627         * gettext.h: fix gettext_init() in --disable-nls
15628
15629 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15632
15633 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15634
15635         * lyx.C:
15636         * lyx.h: strip external form
15637
15638 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15639
15640         * BufferView_pimpl.C: add comment, destroySplash()
15641
15642 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15643
15644         * BufferView_pimpl.C:
15645         * LyXAction.C:
15646         * buffer.C:
15647         * commandtags.h:
15648         * lyxfunc.C: use re-worked insetinclude
15649
15650 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15651
15652         * buffer.C: add using std::stringstream.
15653
15654         * lyx_cb.C: readd using std::ios.
15655
15656         * buffer.C: add using std::map.
15657
15658         * BufferView_pimpl.C: add using std::vector.
15659
15660         * ShareContainer.h: add std:: to swap.
15661
15662         * buffer.h: add some typedefs
15663         * buffer.C (getLists): use them
15664         (getLists): renamed from getTocList.
15665         add a counter for the different float types and use it in the
15666         generated string.
15667         (getLists): use the same counter for the NEW_INSETS and the "non"
15668         NEW_INSETS
15669
15670         * lyx_cb.h: remove unused items, includes, using etc.
15671
15672         * ShareContainer.h: remove some commented code, add more comments
15673         and "documentation".
15674
15675 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15676
15677         * buffer.C (getTocList): make the list also when NEW_INSETS is
15678         defined.
15679
15680         * buffer.h: remove TocType
15681
15682         * buffer.C (getTocList): change to return a map<string,
15683         vector<TocItem> >, implement for dynamic number of list.
15684
15685         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15686         * text2.C (PasteSelection): adjust
15687         * CutAndPaste.C (pasteSelection): adjust
15688
15689         * FloatList.C (FloatList): update from the new_insets branch.
15690         * Floating.[Ch]: ditto
15691         * LaTeXFeatures.C: ditto
15692         * buffer.C: ditto
15693         * lyxlex_pimpl.C: ditto
15694
15695         * paragraph.C (Last): remove when NEW_INSETS is defined.
15696
15697         * other file: changes because of the above.
15698
15699 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15700
15701         * lyxparagraph.h: rename next to next_, previous to previous_,
15702         make them private for NEW_INSETS. Rename Next() to next(),
15703         Previous() to previous().
15704
15705         * other files: changes because of the above.
15706
15707 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15708
15709         * BufferView.h:
15710         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15711         problem.
15712
15713 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * main.C (main): pass lyx_localedir to gettext_init().
15716
15717         * gettext.h: remove locale_init and gettext_init macros
15718
15719         * gettext.C (locale_init): new function
15720         (gettext_init): new function
15721
15722         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15723         setlocale().
15724
15725 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15726
15727         * Moved credits to frontends:
15728         * credits.[Ch]: removed
15729         * credits_form.[Ch]: removed
15730         * lyx_gui_misc.C: remove credits stuff
15731         * Makefile.am:
15732
15733 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15734
15735         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15736
15737         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15738         unneeded destructor.
15739
15740         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15741         a standalone pointer again.
15742
15743         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15744
15745 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15746
15747         * Makefile.am:
15748         * filedlg.h:
15749         * filedlg.C:
15750         * LyXAction.C:
15751         * ToolbarDefaults.C:
15752         * bufferlist.C:
15753         * commandtags.h:
15754         * form1.C:
15755         * form1.h:
15756         * lyx_cb.C:
15757         * lyx_cb.h:
15758         * lyxfunc.h:
15759         * lyxfunc.C:
15760         * BufferView_pimpl.C: use new file dialog in GUII
15761
15762         * lyx_cb.h:
15763         * lyx_cb.C: remove LayoutsCB to Toolbar
15764
15765 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * ShareContainer.h (get): add std:: qualifier
15768
15769 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * ShareContainer.h: define a proper ShareContainer::value_type
15772         type (and use typename to please compaq cxx)
15773
15774 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15775
15776         * lyxparagraph.h: move serveral local vars to
15777         ParameterStruct/ParagraphParameters., use ShareContainer in
15778         FontTable., make vars in FontTable private and add getter and
15779         setter.
15780
15781         * paragraph.C: changes because of the above.
15782
15783         * lyxfont.h: remove copy constructor and copy assignment. (the
15784         default ones is ok), move number inside FontBits. move inlines to
15785         lyxfont.C
15786
15787         * lyxfont.C: add number to initializaton of statics, move several
15788         inlines here. constify several local vars. some whitespace
15789         cleanup. Dont hide outerscope variables.
15790
15791         * Spacing.h: add two new constructors to match the set methods.
15792
15793         * ShareContainer.h: new file, will perhaps be moved to support
15794
15795         * ParameterStruct.h: new file
15796
15797         * ParagraphParameters.h: new file
15798
15799         * ParagraphParameters.C: new file
15800
15801         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15802         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15803
15804         * BufferView_pimpl.C: ParagraphParameter changes.
15805         * buffer.C: Likewise.
15806         * bufferview_funcs.C: Likewise.
15807         * text.C: Likewise.
15808         * text2.C: Likewise.
15809
15810 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * lyxfind.C (LyXReplace): do not redefine default argument in
15813         implementation.
15814         (IsStringInText): ditto
15815         (SearchForward): ditto
15816         (SearchBackward): ditto
15817
15818 2001-03-06  Juergen Vigna  <jug@sad.it>
15819
15820         * lyxfind.C (IsStringInText): put parentes around expressions.
15821
15822 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15823
15824         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15825
15826 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15827
15828         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15829
15830         * stl_string_fwd.h: add comment
15831
15832         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15833
15834         * tabular.h:
15835         * tabular.C: remove unused DocBook methods
15836
15837         * intl.C:
15838         * language.C:
15839         * paragraph.C:
15840         * buffer.C:
15841         killed DO_USE_DEFAULT_LANGUAGE
15842
15843 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * lyx_gui.C: do not include language.h.
15846
15847         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15848         arguments in function implementation.
15849
15850 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15851
15852         * BufferView_pimpl.C: add <ctime>
15853
15854 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15855
15856         * BufferView_pimpl.C: add using std::find_if
15857
15858 2001-02-27  José Matos  <jamatos@fep.up.pt>
15859
15860         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15861         by OnlyPath.
15862
15863 2001-02-11  José Matos  <jamatos@fep.up.pt>
15864
15865         * buffer.C (makeDocBookFile): command styles now have a parameter as
15866         "title" by default.
15867
15868 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15869
15870         * layout_forms.[Ch]: removed
15871         * lyx_cb.[Ch]: out character
15872         * lyx_gui.C: out character
15873         * lyx_gui_misc.C: out character
15874         * bufferview_funcs.C: : out character,
15875         added toggleall as parameter in ToggleAndShow
15876
15877 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15878
15879         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15880
15881         * text2.C (SetCurrentFont): Disable number property at boundary.
15882
15883 2001-02-26  Juergen Vigna  <jug@sad.it>
15884
15885         * lyxfunc.C (getStatus): added a string argument override function so
15886         that this is correctly called from LyXFunc::Dispatch if it contains a
15887         do_not_use_argument which is used!
15888         (Dispatch): added check for "custom" export and call appropriate func.
15889
15890 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15891
15892         * lyxrc.C: Add language_command_local, language_use_babel and
15893         language_global_options.
15894
15895         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15896
15897         * buffer.C (makeLaTeXFile): Use language_use_babel and
15898         language_global_options.
15899
15900 2001-02-23  Juergen Vigna  <jug@sad.it>
15901
15902         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15903         which works with LyXText and putted it inside BufferView. Here now we
15904         only call for that part the BufferView::Dispatch() function.
15905
15906         * BufferView.C (Dispatch): added.
15907
15908         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15909         functions which needs to use a LyXText over from LyXFunc.
15910         (MenuInsertLyXFile): added
15911         (getInsetByCode): added
15912         (moveCursorUpdate): added
15913         (static TEXT): added
15914
15915 2001-02-22  Juergen Vigna  <jug@sad.it>
15916
15917         * BufferView_pimpl.C (update): call a status update to see if LyXText
15918         needs it.
15919
15920 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15921
15922         * vc-backend.C (revert): implement for CVS
15923         (getLog): implement for CVS
15924
15925 2001-02-20  Juergen Vigna  <jug@sad.it>
15926
15927         * text2.C (ClearSelection): added BufferView param for inset_owner call
15928
15929         * lyxfunc.C (TEXT): added this function and use it instead of
15930         directly owner->view()-text of getLyXText().
15931
15932 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15933
15934         * src/layout_forms.C: out preamble
15935         * src/layout_forms.h: out preamble
15936         * src/lyx_cb.C: out preamble
15937         * src/lyx_cb.h: out preamble
15938         * src/lyx_gui.C: out preamble
15939         * src/lyx_gui_misc.C: out preamble
15940         * src/lyxfunc.C: connect with guii preamble
15941
15942 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15943
15944         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15945
15946 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15947
15948         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15949         whether to run bibtex.
15950
15951 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15952
15953         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15954
15955 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15956
15957         * Makefile.am (lyx_SOURCES): removed bibforms.h
15958
15959         * vspace.h: doxygen
15960
15961         * text.C (GetVisibleRow): make several local vars const
15962
15963         * tabular.C: small cleanup.
15964
15965         * lyxserver.C (callback): use compare instead of strncmp
15966
15967         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15968         inlines to after class or to paragraph.C
15969
15970         * lyxfont.h: remove friend operator!=
15971
15972         * converter.h: move friend bool operator< to non friend and after
15973         class def.
15974
15975         * combox.h: small cleanup
15976
15977         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15978         to inlines after class def.
15979
15980         * buffer.C (pop_tag): use string operations instead of strcmp
15981
15982         * bmtable.c: doxygen, small cleanup
15983
15984         * LaTeX.h: remove friend operator==
15985
15986 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15987
15988         * screen.C:
15989         * lyxrc.[Ch]:
15990         * lyxfunc.C:
15991         * lyxfont.[Ch]:
15992         * lyx_cb.C:
15993         * intl.[Ch]:
15994         * commandtags.h:
15995         * buffer.C:
15996         * WorkArea.[Ch]:
15997         * LyXAction.C:
15998         * BufferView_pimpl.C:
15999         * BufferView.[Ch]: remove cruft
16000
16001 2001-02-14  Juergen Vigna  <jug@sad.it>
16002
16003         * lyxfunc.C: removed #if 0 unused code
16004
16005         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16006
16007         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16008
16009         * text2.C (SetSelection): added a BufferView * parameter
16010
16011 2001-02-13  Juergen Vigna  <jug@sad.it>
16012
16013         * lyxfunc.C (Dispatch): fixed protected blank problem.
16014         * BufferView2.C (protectedBlank): added LyxText * parameter.
16015
16016         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16017         (AppendColumn): same as above for column_info.
16018
16019         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16020         (moveCursorUpdate): use a LyXText param for support of InsetText.
16021
16022         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16023         (tripleClick): ditto
16024
16025         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16026
16027         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16028
16029         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16030
16031         * text2.C (SetSelection): set correct update status if inset_owner
16032         (ToggleFree): ditto
16033
16034 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16035
16036         * tabular.C: remove some commented code.
16037
16038 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16039
16040         * BufferView_pimpl.C: call hideSplash()
16041
16042         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16043
16044         * include_form.h:
16045         * bibforms.h: remove
16046
16047         * lyxfunc.C:
16048         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16049           add LFUN_CHILD_CREATE
16050
16051         * counters.h: fix tiny typo
16052
16053         * lyx_cb.C:
16054         * lyx.h:
16055         * lyx_gui.C:
16056         * lyx.C: move splash to frontends/xforms/
16057
16058         * lyx_gui_misc.C: move Include and Bibform to frontends
16059
16060         * lyxvc.h: clarify comment
16061
16062         * vspace.C: tiny housekeeping
16063
16064 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16065
16066         * text.C (PrepareToPrint): RTL Fix.
16067
16068         * paragraph.C (GetUChar): New method.
16069         (String):  Use GetUChar.
16070
16071         * buffer.C (asciiParagraph): Use GetUChar.
16072
16073 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16074
16075         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16076
16077 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * buffer.h:
16080         * buffer.C: rename to getLogName(), handle
16081           build log / latex log nicely
16082
16083 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16084
16085         * MenuBackend.C:
16086         * MenuBackend.h: remove support for reference menuitem type.
16087
16088 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * BufferView_pimpl.C: housekeeping
16091         * BufferView_pimpl.h:
16092         * LyXView.h:
16093         * Makefile.am:
16094         * Timeout.C:
16095         * Timeout.h:
16096         * minibuffer.h: move Timeout GUI-I
16097
16098 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16099
16100         * lyxrc.C (read): Update converters data-structures.
16101
16102 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16103
16104         * LaTeX.h (operator!=): add operator != for Aux_Info
16105
16106 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16107
16108         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16109
16110         * LaTeXLog.C: deleted, useful code moved to Buffer
16111
16112         * buffer.h:
16113         * buffer.C: new function getLatexLogName()
16114
16115         * lyx_gui_misc.C:
16116         * lyx_gui.C:
16117         * lyxvc.C:
16118         * lyxvc.h:
16119         * lyxfunc.C: use frontends for LaTeX and VC logs
16120
16121 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16122
16123         * LaTeX.h: yet another std:: that Allan forgot.
16124
16125         * Variables.C (set): renamed from isset(), because this clashes
16126         with some HP-UX macros (grr).
16127
16128 2001-02-06  Allan Rae  <rae@lyx.org>
16129
16130         * LaTeX.h: Another bug fix.  Missing std:: this time.
16131
16132 2001-02-04  Allan Rae  <rae@lyx.org>
16133
16134         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16135         floats problem. I've left it commented out because it's not quite
16136         correct.  It should also test that the current object is a table or
16137         figure inset.  But I haven't gotten around to figuring out how to do
16138         that.  I *think* it'll be something like: "table" == inset.type()
16139
16140         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16141         bool.
16142
16143 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16146         all the citation/databases/styles in the auxilary file.
16147         (run): Rerun latex if there was a babel language error.
16148
16149 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16150
16151         * text.C (Backspace): Preserve the font when changing newline char
16152         with a space.
16153         (BreakParagraph): If the cursor is before a space, delete the space.
16154
16155         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16156
16157 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16160         new argument (code).
16161         (ChangeCitationsIfUnique): New method.
16162
16163         * paragraph.C (GetPositionOfInset): Handle bibkey.
16164
16165 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * BufferView_pimpl.h: change type of Position::par_pos to
16168         LyXParagraph::size_type.
16169
16170 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16171
16172         * BufferView_pimpl.C (savePosition, restorePosition): Write
16173         messages to minibuffer.
16174
16175 2001-01-28  José Matos  <jamatos@fep.up.pt>
16176
16177         * buffer.C (makeDocBookFile): adds support for document language.
16178         A silly restriction on the name of LatexCommand types where removed.
16179         Added support for CDATA sections, allows to chars unescaped, used
16180         among others in code, to avoid escape < and >.
16181
16182 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16183
16184         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16185         saved positions instrad of a stack. Furthermore, a position is
16186         stored using paragraph id/paragraph position.
16187
16188         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16189         Remove LFUN_REF_BACK.
16190
16191 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16192
16193         * converter.C (dvipdfm_options): New method.
16194
16195 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16196
16197         * vspace.C (isValidLength): Fix for empty input string.
16198
16199 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16200
16201         * LyXAction.C (init): change description of LFUN_FIGURE to
16202         "Insert Graphics"
16203
16204 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * LaTeX.C: add using directive
16207
16208 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16209
16210         * MenuBackend.C (expand): Fix the sorting of the formats.
16211
16212 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * lyx_main.C: tiny error message fix
16215
16216 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16217
16218         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16219         calling fl_initialize(). This fixes the problem with ',' as
16220         decimal separator in text files.
16221
16222 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16223
16224         * trans.C (process): Fix the keymap bug.
16225
16226 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * LaTeX.C (scanAuxFiles): New method. Provides support for
16229         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16230         (scanLogFile) Scan for "run BibTeX" messages.
16231
16232         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16233         OT1 font encoding. Also, load the aecompl package if the ae
16234         package is loaded.
16235
16236         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16237
16238 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * texrow.C (increasePos): turn two error messages into debug
16241         messages.
16242
16243 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16244
16245         * LaTeX.C (scanAux): Handle the \@input macro.
16246         (runBibTeX): Use scanAux().
16247
16248         * language.C (latex_options_): New field.
16249
16250         * LaTeXFeatures.C (getMacros): Add language macros.
16251
16252         * buffer.C (makeLaTeXFile): Small fix.
16253
16254 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16257
16258         * text2.C: add a using directive.
16259
16260 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16261
16262         * BufferView2.C:
16263         * lyx_gui_misc.h:
16264         * lyxfr1.C:
16265         * lyxfunc.C: kill LyXBell.
16266
16267 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16268
16269         * text.C (IsBoundary): Remove the error message
16270
16271         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16272
16273         * lyxrc.C (setDefaults): Correct initialization value for
16274         font_norm_type.
16275
16276 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16277
16278         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16279         gotoError().
16280
16281         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16282         and GotoNextNote().
16283
16284         * src/LyXAction.C: Added reference-next.
16285
16286         * text.C (InsertChar): Use contains instead of strchr.
16287
16288         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16289
16290 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16291
16292         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16293         alignment commands (when needed).
16294
16295         * text.C (InsertChar): Add ':' to number separator chars.